Compare commits

...

30 commits
main ... main

Author SHA1 Message Date
千住柱間 06f11bf2fc
fix goldendict-ng
the previous patch for goldendict-ng couldn't get rid of the wrapper, it still relies heavily on environment variables to find other components
2024-11-05 21:42:04 -04:00
千住柱間 62de66de84
fix gi-gdkpixbuf 2024-10-30 16:40:38 -04:00
千住柱間 1ef999efd5
fix gi-gsk 2024-10-30 15:41:34 -04:00
千住柱間 b736987a8e
fix gi-gdk by removing unnecessary dependency 2024-10-30 15:05:18 -04:00
千住柱間 caec685586
add gi-gtksource 2024-10-24 22:15:05 -04:00
千住柱間 f110f41626
fix gi-gtk build 2024-10-24 19:05:03 -04:00
千住柱間 b470e21a06
start working on gi-gdk 2024-10-24 17:02:14 -04:00
千住柱間 471a8d7bb5
add gi-freetype2 2024-10-24 15:55:08 -04:00
千住柱間 adb196cb2d
fix haskell-gi and ghc-glib 2024-10-24 13:31:50 -04:00
千住柱間 40c2bd9f25
update contributors 2024-10-23 23:41:01 -04:00
千住柱間 68bc0aa356
update rules for gitignore 2024-10-23 22:25:43 -04:00
千住柱間 5a8f1f3273
remove wrapper from goldendict-ng
expliciting telling the path of qt-webengine should be enough, along with other env vars.
2024-10-23 22:22:54 -04:00
千住柱間 d05c97eaf8
fix typo 2024-10-23 22:09:22 -04:00
千住柱間 2e0dad0fe5
add haskell-gi
this is a huge commit, it's all thanks to aathn
2024-10-23 22:08:10 -04:00
千住柱間 701a389473
fix dictpopup
perl is a runtime dependency, added to propagated-inputs
2024-10-23 22:06:51 -04:00
千住柱間 cc3c1af453
mxml 2024-10-09 08:08:00 -04:00
千住柱間 13d275d1c8
update goldendict
this adds the large icon feature
2024-09-30 09:51:55 -04:00
千住柱間 e49d51994e
vvdec as a shared lib is now called vvdec-lib 2024-09-23 11:58:50 -04:00
千住柱間 a7795a0dab
add vvdec as standalone encoder 2024-09-23 11:57:56 -04:00
千住柱間 11884850c6
fix module 2024-09-22 22:52:31 -04:00
千住柱間 6ca241ed06
fix wrong phase 2/2 2024-09-22 22:27:10 -04:00
千住柱間 13e7a00cfd
fix wrong phase (wrap doesn't exist in cmake) 2024-09-22 22:26:47 -04:00
千住柱間 c64e503f36
add ncnn 2024-09-22 12:03:47 -04:00
千住柱間 437ea3acaa
fix uvg266 2024-09-19 14:41:28 -04:00
千住柱間 5d40bc5eb7
add gpac
MP4box and gpac are a amend for the usage of uvg266, which needs to be passed to a mp4 container after encode.
2024-09-19 14:34:11 -04:00
千住柱間 804ea51c6d
update goldendict
this gives support for high-quality dictionary icons
2024-09-09 16:35:16 -04:00
千住柱間 2d7f4c454f
start working on uvg266 2024-09-08 13:59:04 -04:00
千住柱間 2dcd8bb92c
update goldendict-ng
this update fixes the UI preservation and other issues related to how goldendict-ng interprets different unix signals , such as SIGTERM.
2024-08-25 08:45:06 -04:00
千住柱間 99bb531fd6
clean log 2024-07-31 22:36:39 -04:00
千住柱間 ecdff19830
give the author the corresponding signature 2024-07-31 22:34:35 -04:00
8 changed files with 1527 additions and 13 deletions

8
.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
# .gitignore
# Ignore files that end with ~
*~
pinentry*
*rej
*orig
*#

View file

@ -31,4 +31,4 @@ To update Ajatt Tools along with Guix via guix pull, insert the following into ~
<br></br> <br></br>
### Contributors ### Contributors
<!-- contributors --> <a href="https://codeberg.org/hashirama"><img src="https://codeberg.org/avatars/cc776cef25c95b3e4c031cd4459b06be7f099a518dc60f4168dec79041eb3f71?size=512" width="60px" alt="" /></a> <a href="https://codeberg.org/anemofilia"><img src="https://codeberg.org/avatars/f30eb0cfbceeb010bbaf205d635916c1?size=512" width="60px" alt="" /></a> <a href="https://codeberg.org/crzjp"><img src="https://codeberg.org/avatars/55cf7daa6e277d5a1c7190901396f8be36130a9286a922b5ac24c4814161db14?size=512" width="60px" alt="" /></a> <a href="https://gitlab.vulnix.sh/spacecadet"><img src="https://git.ajattix.org/hashirama/ajattix/raw/branch/main/misc/contributors/spacecadet.jpg" width="60px" alt="" /></a> <!-- contributors --> <!-- contributors --> <a href="https://codeberg.org/hashirama"><img src="https://git.ajattix.org/hashirama/ajattix/raw/branch/main/misc/contributors/hashirama.png" width="60px" alt="" /></a> <a href="https://codeberg.org/anemofilia"><img src="https://git.ajattix.org/hashirama/ajattix/raw/branch/main/misc/contributors/anemofilia.png" width="60px" alt="" /></a> <a href="https://codeberg.org/crzjp"><img src="https://git.ajattix.org/hashirama/ajattix/raw/branch/main/misc/contributors/crzjp.jpg" width="60px" alt="" /></a> <a href="https://gitlab.vulnix.sh/spacecadet"><img src="https://git.ajattix.org/hashirama/ajattix/raw/branch/main/misc/contributors/spacecadet.jpg" width="60px" alt="" /></a> <!-- contributors -->

View file

@ -0,0 +1,41 @@
(define-module (ajatt packages deep-learning)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages version-control)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module ((guix licenses) #:prefix license:))
(define-public ncnn
(package
(name "ncnn")
(version "20240820")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/Tencent/ncnn.git")
(commit "80c78a0e40d2c8843cdbb3917fd00387a0e33ce1")))
(sha256
(base32 "1ksqp7a7wbxsm8d7qpffxiifjrl3v10zqjy3b8mak00gcyjsfdv0"))))
(build-system cmake-build-system)
(arguments
(list #:cmake cmake
#:tests? #f ))
(synopsis "ncnn is a high-performance neural network inference framework optimized for the mobile platform.")
(description
"ncnn is a high-performance neural network inference computing framework optimized for mobile platforms. ncnn is deeply considerate about deployment and uses on mobile phones from the beginning of design. ncnn does not have third-party dependencies. It is cross-platform and runs faster than all known open-source frameworks on mobile phone cpu.")
(home-page "https://github.com/Tencent/ncnn")
(license
(list license:bsd-2
license:zlib))))
ncnn

View file

@ -51,16 +51,16 @@
(define-public goldendict-ng (define-public goldendict-ng
(package (package
(name "goldendict-ng") (name "goldendict-ng")
(version "24.05.14.1") (version "24.11")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (uri
(git-reference (git-reference
(url "https://github.com/xiaoyifang/goldendict-ng.git") (url "https://github.com/xiaoyifang/goldendict-ng.git")
(commit "6486e7b57c3bd39b9ec63e2b34e2f5e8f17bf499"))) (commit "4a0124de3bb78ed0153eb9415b079a9c72a6bd32")))
(sha256 (sha256
(base32 "0li7zvxivgyffjm4gjlaw8syyqiaczn3778q1rl2ncp9l8008gxp")))) (base32 "1mx3llhgfhcx6zflzp9x84z5c2ilf77dqp331f8zwrpd2hmzn9j7"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list #:tests? #f (list #:tests? #f
@ -74,7 +74,7 @@
"/include/qt6/QtPrintSupport")) "/include/qt6/QtPrintSupport"))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'wrap 'wrap-qt-process-path (add-after 'install 'wrap-qt-process-path
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/goldendict") (wrap-program (search-input-file outputs "bin/goldendict")
`("QTWEBENGINE_RESOURCES_PATH" = `("QTWEBENGINE_RESOURCES_PATH" =
@ -87,6 +87,8 @@
(list hunspell (list hunspell
icu4c icu4c
libeb libeb
qtwebengine
qtsvg
libtiff libtiff
libvorbis libvorbis
libxkbcommon libxkbcommon
@ -111,12 +113,15 @@
(list ao (list ao
bzip2 bzip2
ffmpeg ffmpeg
qtsvg
xapian xapian
qtmultimedia qtmultimedia
qtwebengine
gstreamer gstreamer
qtbase qtbase
qtsvg
xproto)) xproto))
(propagated-inputs
(list qtsvg))
(synopsis "A feature-rich dictionary lookup program") (synopsis "A feature-rich dictionary lookup program")
(description (description
"GoldenDict is a feature-rich dictionary lookup program, "GoldenDict is a feature-rich dictionary lookup program,
@ -149,9 +154,11 @@ to type in words without any accents or correct case.")
libx11 libx11
font-google-noto-sans-cjk font-google-noto-sans-cjk
libxinerama libxinerama
perl
sdcv sdcv
sselp)) sselp))
(propagated-inputs
(list
perl))
(arguments (arguments
(list #:tests? #f (list #:tests? #f
#:make-flags #:make-flags
@ -359,4 +366,30 @@ the popup and sdcv for the dictionary lookup.")
(license (license
(list license:expat)))) (list license:expat))))
(define-public mxml
(package
(name "mxml")
(version "4.0.3")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/michaelrsweet/mxml.git")
(commit "95445118c262d7e9a921c2773b59872fc2eccd16")))
(sha256
(base32 "0pi6awl67rh9679wac8bk3x1lkr4c75a790z68gp6b29j6406805"))))
(build-system gnu-build-system)
(arguments
(list
#:tests? #f ))
(synopsis " Tiny XML library.")
(description
"Mini-XML is a small XML parsing library that you can use to read XML data files or strings in your application without requiring large non-standard libraries. Mini-XML only requires a make program and a C99 compatible compiler - GCC works, as do most vendors' C compilers.")
(home-page "https://www.msweet.org/mxml")
(license
(list license:asl2.0))))
goldendict-ng goldendict-ng

1335
ajatt/packages/haskell.scm Normal file

File diff suppressed because it is too large Load diff

View file

@ -151,9 +151,9 @@
#:use-module ((guix licenses) #:prefix license:)) #:use-module ((guix licenses) #:prefix license:))
(define-public vvdec (define-public vvdec-lib
(package (package
(name "vvdec") (name "vvdec-lib")
(version "2.3.1") (version "2.3.1")
(source (source
(origin (origin
@ -171,7 +171,7 @@
#~(list "-DBUILD_SHARED_LIBS=1") #~(list "-DBUILD_SHARED_LIBS=1")
#:cmake cmake #:cmake cmake
#:tests? #f )) #:tests? #f ))
(synopsis "VVdeC, the Fraunhofer Versatile Video Decoder.") (synopsis "(Library) VVdeC, the Fraunhofer Versatile Video Decoder.")
(description (description
"VVdeC, the Fraunhofer Versatile Video Decoder, is a fast software H.266/VVC decoder implementation supporting all features of the VVC Main10 profile.") "VVdeC, the Fraunhofer Versatile Video Decoder, is a fast software H.266/VVC decoder implementation supporting all features of the VVC Main10 profile.")
(home-page "https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html") (home-page "https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html")
@ -180,6 +180,37 @@
(define-public vvdec-app
(package
(name "vvdec-app")
(version "2.3.1")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/fraunhoferhhi/vvdec.git")
(commit "a1996a8c12593c5ce116243bed7a65dd59489a8d")))
(sha256
(base32 "0ka74689s0hmw68gnm6vi8fah43ppabmbc9fjbv7bfjd728vnnv0"))))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags
#~(list "-DCMAKE_BUILD_TYPE=Release"
"-DVVENC_INSTALL_FULLFEATURE_APP=ON")
#:cmake cmake
#:tests? #f ))
(synopsis "(Standalone Encoder) VVdeC, the Fraunhofer Versatile Video Decoder.")
(description
"VVdeC, the Fraunhofer Versatile Video Decoder, is a fast software H.266/VVC decoder implementation supporting all features of the VVC Main10 profile.")
(home-page "https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html")
(license
(list license:bsd-3))))
(define-public ffmpeg-vvdec (define-public ffmpeg-vvdec
(package (package
@ -205,7 +236,7 @@
freetype freetype
frei0r-plugins frei0r-plugins
gnutls gnutls
vvdec vvdec-lib
opus opus
ladspa ladspa
lame lame
@ -391,5 +422,71 @@ audio/video codec library.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public uvg266
(package
(name "uvg266")
(version "0.8.1")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/ultravideo/uvg266.git")
(commit "6999e4484143091067b0d631b624aea7554a46db")
(recursive? #t)))
(sha256
(base32 "0pc8r5dj6zrbiacx759acgxlfh05hxywz09i2zzcqg832d9srmfr"))))
(build-system cmake-build-system)
(arguments
(list #:cmake cmake
#:tests? #f ))
(synopsis "An open-source VVC encoder based on Kvazaar.")
(description
"An open-source VVC encoder licensed under 3-clause BSD.")
(home-page "https://ultravideo.fi/uvg266.html")
(license
(list license:bsd-3))))
ffmpeg-vvdec
(define-public gpac
(package
(name "gpac")
(version "2.4")
(source
(origin
(method git-fetch)
(uri
(git-reference
(url "https://github.com/gpac/gpac.git")
(commit "ccc6a76a67e08814e20ca678b84899653102b1f5")))
(sha256
(base32 "03lzg7q0kc4wdwfrh7kbrlml4kmx8nsp3zh6dsmby7q53wdwa7c6"))))
(build-system gnu-build-system)
(inputs (append (list zlib pkg-config)))
(arguments
(list #:tests? #f
#:configure-flags #~(list "--static-bin" )
#:phases
#~(modify-phases %standard-phases
;; this is very weird, but absolutely needed.
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(invoke "make" "install")
)))))
(native-inputs
(list (list zlib "static")
(list zstd "lib")
pkg-config
cmake
yasm
))
(synopsis "GPAC Ultramedia OSS for Video Streaming & Next-Gen Multimedia Transcoding, Packaging & Delivery.")
(description
"GPAC is an open-source multimedia framework focused on modularity and standards compliance. GPAC provides tools to process, inspect, package, stream, playback and interact with media content. Such content can be any combination of audio, video, subtitles, metadata, scalable graphics, encrypted media, 2D/3D graphics and ECMAScript. GPAC is best-known for its wide MP4/ISOBMFF capabilities and is popular among video enthusiasts, academic researchers, standardization bodies, and professional broadcasters.")
(home-page "https://gpac.io/")
(license
(list license:lgpl2.1))))
vvdec-app

BIN
misc/contributors/crzjp.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 KiB

After

Width:  |  Height:  |  Size: 234 KiB