mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-07-09 07:04:05 +02:00
Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 91bda669ab | |||
| f384e4f25a | |||
| 86330b7344 | |||
| d3a0108415 | |||
| 1a7e8d47e3 | |||
| 927469313c | |||
| 5043ec49c5 | |||
| 5660474bfa | |||
| 5bef6564ba | |||
| c781426226 | |||
| 3699c4a4fe | |||
| d1011b548f | |||
| 3814cc1da9 | |||
| 746add3f1b | |||
| 2fbb82a8a5 |
+10
-13
@@ -396,7 +396,6 @@ displays a histogram of the roundtrip time jitter.")
|
|||||||
"webrtc-audio-processing-x86-no-sse.patch"))))))
|
"webrtc-audio-processing-x86-no-sse.patch"))))))
|
||||||
#~%standard-phases)))
|
#~%standard-phases)))
|
||||||
(native-inputs (list pkg-config))
|
(native-inputs (list pkg-config))
|
||||||
(propagated-inputs (list abseil-cpp))
|
|
||||||
(inputs (list abseil-cpp))
|
(inputs (list abseil-cpp))
|
||||||
(synopsis "WebRTC's Audio Processing Library")
|
(synopsis "WebRTC's Audio Processing Library")
|
||||||
(description "WebRTC-Audio-Processing library based on Google's
|
(description "WebRTC-Audio-Processing library based on Google's
|
||||||
@@ -547,17 +546,15 @@ synth (like DX7) or FM chip.")
|
|||||||
(define-public libgme
|
(define-public libgme
|
||||||
(package
|
(package
|
||||||
(name "libgme")
|
(name "libgme")
|
||||||
(version "0.6.5")
|
(version "0.6.3")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method git-fetch)
|
(uri (string-append "https://bitbucket.org/mpyne/game-music-emu/"
|
||||||
(uri
|
"downloads/game-music-emu-" version
|
||||||
(git-reference
|
".tar.xz"))
|
||||||
(url "https://github.com/libgme/game-music-emu")
|
(sha256
|
||||||
(commit version)))
|
(base32
|
||||||
(file-name (git-file-name name version))
|
"07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"))))
|
||||||
(sha256
|
|
||||||
(base32 "093pz3avnj6a230bqbwwzqlzcjxnxidfxipnn7zirwp3h396szff"))))
|
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ;no check target
|
'(#:tests? #f ;no check target
|
||||||
@@ -566,7 +563,7 @@ synth (like DX7) or FM chip.")
|
|||||||
;; header file names in libgme.so, meaning that libgme retains a
|
;; header file names in libgme.so, meaning that libgme retains a
|
||||||
;; reference to GCC. Disable UBSAN to avoid that.
|
;; reference to GCC. Disable UBSAN to avoid that.
|
||||||
#:configure-flags '("-DENABLE_UBSAN=OFF")))
|
#:configure-flags '("-DENABLE_UBSAN=OFF")))
|
||||||
(home-page "https://github.com/libgme/game-music-emu/wiki")
|
(home-page "https://bitbucket.org/mpyne/game-music-emu")
|
||||||
(synopsis "Video game music file playback library")
|
(synopsis "Video game music file playback library")
|
||||||
(description
|
(description
|
||||||
"Game-music-emu is a collection of video game music file emulators that
|
"Game-music-emu is a collection of video game music file emulators that
|
||||||
|
|||||||
@@ -341,7 +341,7 @@ runtime.")
|
|||||||
("java-jgit" ,java-jgit-4.2)
|
("java-jgit" ,java-jgit-4.2)
|
||||||
("axoloti-runtime" ,axoloti-runtime)))
|
("axoloti-runtime" ,axoloti-runtime)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ant zip ; for repacking the jar
|
(list ant/java7 zip ; for repacking the jar
|
||||||
unzip))
|
unzip))
|
||||||
(description
|
(description
|
||||||
"The Axoloti patcher offers a “patcher” environment similar to Pure Data
|
"The Axoloti patcher offers a “patcher” environment similar to Pure Data
|
||||||
@@ -647,7 +647,7 @@ This package provides the runtime.")
|
|||||||
("java-slf4j-api" ,java-slf4j-api)
|
("java-slf4j-api" ,java-slf4j-api)
|
||||||
("ksoloti-runtime" ,ksoloti-runtime)))
|
("ksoloti-runtime" ,ksoloti-runtime)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ant zip ;for repacking the jar
|
(list ant/java7 zip ;for repacking the jar
|
||||||
unzip))
|
unzip))
|
||||||
(description
|
(description
|
||||||
"Ksoloti is an environment for generating and processing digital audio.
|
"Ksoloti is an environment for generating and processing digital audio.
|
||||||
|
|||||||
@@ -9283,7 +9283,7 @@ VCF.")
|
|||||||
;; [testng] Exception in thread "main" java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException
|
;; [testng] Exception in thread "main" java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:jdk ,icedtea-8
|
#:jdk ,icedtea-8
|
||||||
#:ant ,ant/java8
|
#:ant ,ant
|
||||||
;; This is only used for tests.
|
;; This is only used for tests.
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "-Dsamjdk.intel_deflater_so_path=lib/jni/libIntelDeflater.so")
|
(list "-Dsamjdk.intel_deflater_so_path=lib/jni/libIntelDeflater.so")
|
||||||
@@ -9353,11 +9353,10 @@ VCF.")
|
|||||||
(list java-snappy-1
|
(list java-snappy-1
|
||||||
java-commons-jexl-2
|
java-commons-jexl-2
|
||||||
java-cofoja
|
java-cofoja
|
||||||
ant/java8 ;for bzip2 support at runtime
|
ant ;for bzip2 support at runtime
|
||||||
zlib))
|
zlib))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("ant-apache-bcel" ,ant-apache-bcel)
|
`(("ant-apache-bcel" ,ant-apache-bcel)
|
||||||
("ant-junit" ,ant-junit)
|
|
||||||
("java-testng" ,java-testng)
|
("java-testng" ,java-testng)
|
||||||
("java-commons-bcel" ,java-commons-bcel)
|
("java-commons-bcel" ,java-commons-bcel)
|
||||||
("java-jcommander" ,java-jcommander)
|
("java-jcommander" ,java-jcommander)
|
||||||
|
|||||||
@@ -412,7 +412,7 @@ similar to javadoc."))))
|
|||||||
(inherit base)
|
(inherit base)
|
||||||
(arguments
|
(arguments
|
||||||
`(;#:tests? #f;Requires spock-framework which is a circular dependency
|
`(;#:tests? #f;Requires spock-framework which is a circular dependency
|
||||||
#:ant ,ant/java8; ant is actually a dependency of this package, and we need 1.10
|
#:ant ,ant; ant is actually a dependency of this package, and we need 1.10
|
||||||
,@(substitute-keyword-arguments arguments
|
,@(substitute-keyword-arguments arguments
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
`(modify-phases ,phases
|
`(modify-phases ,phases
|
||||||
@@ -431,8 +431,7 @@ similar to javadoc."))))
|
|||||||
("java-asm-analysis" ,java-asm-analysis-8)
|
("java-asm-analysis" ,java-asm-analysis-8)
|
||||||
,@(package-inputs base)))
|
,@(package-inputs base)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("ant-junit" ,ant-junit)
|
`(("groovy-bootstrap" ,groovy-bootstrap)
|
||||||
("groovy-bootstrap" ,groovy-bootstrap)
|
|
||||||
("groovy-xml" ,groovy-xml)
|
("groovy-xml" ,groovy-xml)
|
||||||
("groovy-test" ,groovy-test)
|
("groovy-test" ,groovy-test)
|
||||||
("groovy-tests-bootstrap" ,groovy-tests-bootstrap)
|
("groovy-tests-bootstrap" ,groovy-tests-bootstrap)
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
(inputs
|
(inputs
|
||||||
(list openblas))
|
(list openblas))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("ant" ,ant)
|
`(("ant" ,ant/java7)
|
||||||
("ruby" ,ruby) ; for configure script
|
("ruby" ,ruby) ; for configure script
|
||||||
("gfortran" ,gfortran)
|
("gfortran" ,gfortran)
|
||||||
("jdk" ,icedtea "jdk")))
|
("jdk" ,icedtea "jdk")))
|
||||||
|
|||||||
+134
-166
@@ -1964,8 +1964,7 @@ OpenJDK.")
|
|||||||
(home-page "https://www.jetbrains.com/")
|
(home-page "https://www.jetbrains.com/")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
|
(define-public ant
|
||||||
(define-public ant/java8
|
|
||||||
(package
|
(package
|
||||||
(name "ant")
|
(name "ant")
|
||||||
(version "1.10.15")
|
(version "1.10.15")
|
||||||
@@ -1980,15 +1979,12 @@ OpenJDK.")
|
|||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
(for-each delete-file
|
(for-each delete-file
|
||||||
(find-files "lib/optional" "\\.jar$"))
|
(find-files "lib/optional" "\\.jar$"))))))
|
||||||
#t))))
|
(build-system ant-build-system)
|
||||||
(build-system gnu-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:modules '((srfi srfi-1)
|
#:ant ant/java7
|
||||||
(guix build gnu-build-system)
|
#:test-target "test"
|
||||||
(guix build utils))
|
|
||||||
#:tests? #f ;no "check" target
|
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'remove-scripts
|
(add-after 'unpack 'remove-scripts
|
||||||
@@ -1998,11 +1994,100 @@ OpenJDK.")
|
|||||||
(for-each delete-file
|
(for-each delete-file
|
||||||
(find-files "src/script"
|
(find-files "src/script"
|
||||||
"(.*\\.(bat|cmd)|runant.*|antRun.*)"))))
|
"(.*\\.(bat|cmd)|runant.*|antRun.*)"))))
|
||||||
|
(add-after 'unpack 'link-test-dependencies
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(for-each (lambda (file)
|
||||||
|
(symlink file
|
||||||
|
(string-append "lib/optional/"
|
||||||
|
(basename file))))
|
||||||
|
(append
|
||||||
|
(find-files (assoc-ref inputs "java-hamcrest-core")
|
||||||
|
"\\.jar$")
|
||||||
|
(find-files (assoc-ref inputs "java-hamcrest-library")
|
||||||
|
"\\.jar$")
|
||||||
|
(find-files (assoc-ref inputs "java-junit")
|
||||||
|
"\\.jar$")))))
|
||||||
|
(add-before 'build 'fix-test-failures
|
||||||
|
(lambda _
|
||||||
|
;; Failure because the directory does not exist
|
||||||
|
(substitute* "src/etc/testcases/taskdefs/exec/exec-with-redirector.xml"
|
||||||
|
(("/usr/bin") (getcwd)))
|
||||||
|
;; Failure because it cannot read root's name in the build
|
||||||
|
;; container
|
||||||
|
(delete-file "src/tests/junit/org/apache/tools/ant/types/selectors/OwnedBySelectorTest.java")
|
||||||
|
;; Cause timestamp issue when trying to rollback time by a few
|
||||||
|
;; seconds.
|
||||||
|
(for-each (lambda (file) (utime file 5000))
|
||||||
|
(find-files "src/etc/testcases/taskdefs" "" #:directories? #t))))
|
||||||
(delete 'bootstrap)
|
(delete 'bootstrap)
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
|
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
|
||||||
|
(invoke "bash" "bootstrap.sh"
|
||||||
|
(string-append "-Ddist.dir=" #$output))))
|
||||||
|
(add-after 'build 'fix-executables-paths
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(wrap-script (string-append #$output "/bin/ant")
|
||||||
|
`("PATH" suffix
|
||||||
|
(,(dirname (search-input-file inputs "/bin/sed"))
|
||||||
|
,(dirname (search-input-file inputs "/bin/uname"))
|
||||||
|
,(dirname (search-input-file inputs "/bin/which")))))
|
||||||
|
(patch-shebang
|
||||||
|
(string-append #$output "/bin/complete-ant-cmd.pl")
|
||||||
|
(list (dirname (search-input-file inputs "/bin/perl"))))))
|
||||||
|
(delete 'install))))
|
||||||
|
(inputs
|
||||||
|
(list coreutils-minimal
|
||||||
|
guile-3.0/pinned
|
||||||
|
java-hamcrest-core
|
||||||
|
java-hamcrest-library
|
||||||
|
java-junit
|
||||||
|
perl
|
||||||
|
sed
|
||||||
|
which))
|
||||||
|
(home-page "https://ant.apache.org")
|
||||||
|
(synopsis "Build tool for Java")
|
||||||
|
(description
|
||||||
|
"Ant is a platform-independent build tool for Java. It is similar to
|
||||||
|
make but is implemented using the Java language, requires the Java platform,
|
||||||
|
and is best suited to building Java projects. Ant uses XML to describe the
|
||||||
|
build process and its dependencies, whereas Make uses Makefile format.")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
;; The 1.9.x series is the last that can be built with GCJ. The 1.10.x series
|
||||||
|
;; requires Java 8.
|
||||||
|
(define-public ant/java7
|
||||||
|
(package
|
||||||
|
(name "ant")
|
||||||
|
(version "1.9.15")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://apache/ant/source/apache-ant-"
|
||||||
|
version "-src.tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1xy30f1w5gaqk6g3f0vw7ygix4rb6032qkcw42y4z8wd9jihgygd"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:modules ((srfi srfi-1)
|
||||||
|
(guix build gnu-build-system)
|
||||||
|
(guix build utils))
|
||||||
|
#:tests? #f ; no "check" target
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(delete 'bootstrap)
|
||||||
|
(delete 'configure)
|
||||||
|
(add-after 'unpack 'remove-scripts
|
||||||
|
;; Remove bat / cmd scripts for DOS as well as the antRun and runant
|
||||||
|
;; wrappers.
|
||||||
|
(lambda _
|
||||||
|
(for-each delete-file
|
||||||
|
(find-files "src/script"
|
||||||
|
"(.*\\.(bat|cmd)|runant.*|antRun.*)"))))
|
||||||
|
(replace 'build
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
|
||||||
|
|
||||||
;; Disable tests to avoid dependency on hamcrest-core, which needs
|
;; Disable tests to avoid dependency on hamcrest-core, which needs
|
||||||
;; Ant to build. This is necessary in addition to disabling the
|
;; Ant to build. This is necessary in addition to disabling the
|
||||||
@@ -2011,9 +2096,10 @@ OpenJDK.")
|
|||||||
(substitute* "build.xml"
|
(substitute* "build.xml"
|
||||||
(("depends=\"jars,test-jar") "depends=\"jars"))
|
(("depends=\"jars,test-jar") "depends=\"jars"))
|
||||||
(invoke "bash" "bootstrap.sh"
|
(invoke "bash" "bootstrap.sh"
|
||||||
(string-append "-Ddist.dir=" #$output))))
|
(string-append "-Ddist.dir="
|
||||||
|
(assoc-ref outputs "out")))))
|
||||||
(add-after 'build 'strip-jar-timestamps ;based on ant-build-system
|
(add-after 'build 'strip-jar-timestamps ;based on ant-build-system
|
||||||
(lambda _
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(define (repack-archive jar)
|
(define (repack-archive jar)
|
||||||
(let* ((dir (mkdtemp "jar-contents.XXXXXX"))
|
(let* ((dir (mkdtemp "jar-contents.XXXXXX"))
|
||||||
(manifest (string-append dir "/META-INF/MANIFESTS.MF")))
|
(manifest (string-append dir "/META-INF/MANIFESTS.MF")))
|
||||||
@@ -2039,11 +2125,11 @@ OpenJDK.")
|
|||||||
(apply invoke command)))))
|
(apply invoke command)))))
|
||||||
(for-each repack-archive
|
(for-each repack-archive
|
||||||
(find-files
|
(find-files
|
||||||
(string-append #$output "/lib")
|
(string-append (assoc-ref %outputs "out") "/lib")
|
||||||
"\\.jar$"))))
|
"\\.jar$"))))
|
||||||
(delete 'install))))
|
(delete 'install))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("jdk" ,icedtea-8 "jdk")
|
`(("jdk" ,icedtea-7 "jdk")
|
||||||
("zip" ,zip)
|
("zip" ,zip)
|
||||||
("unzip" ,unzip)))
|
("unzip" ,unzip)))
|
||||||
(home-page "https://ant.apache.org")
|
(home-page "https://ant.apache.org")
|
||||||
@@ -2055,131 +2141,12 @@ and is best suited to building Java projects. Ant uses XML to describe the
|
|||||||
build process and its dependencies, whereas Make uses Makefile format.")
|
build process and its dependencies, whereas Make uses Makefile format.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
;; The 1.9.x series is the last that can be built with GCJ. The 1.10.x series
|
|
||||||
;; requires Java 8.
|
|
||||||
(define-public ant
|
|
||||||
(package (inherit ant/java8)
|
|
||||||
(version "1.9.15")
|
|
||||||
(source (origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (string-append "mirror://apache/ant/source/apache-ant-"
|
|
||||||
version "-src.tar.gz"))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1xy30f1w5gaqk6g3f0vw7ygix4rb6032qkcw42y4z8wd9jihgygd"))))
|
|
||||||
;; XXX: we do this to avoid a rebuild. This mess will be cleaned up
|
|
||||||
;; later.
|
|
||||||
(arguments
|
|
||||||
(substitute-keyword-arguments
|
|
||||||
`(#:modules ((srfi srfi-1)
|
|
||||||
(guix build gnu-build-system)
|
|
||||||
(guix build utils))
|
|
||||||
#:tests? #f ; no "check" target
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(delete 'bootstrap)
|
|
||||||
(delete 'configure)
|
|
||||||
(add-before 'build 'define-java-environment-variables
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
;; First, set environment variables (eases debugging on -K).
|
|
||||||
(setenv "JAVA_HOME" (assoc-ref inputs "jamvm"))
|
|
||||||
(setenv "JAVACMD" (search-input-file inputs "/bin/jamvm"))
|
|
||||||
(setenv "JAVAC" (search-input-file inputs "/bin/jikes"))
|
|
||||||
(setenv "CLASSPATH" (search-input-file inputs "/lib/rt.jar"))))
|
|
||||||
(replace 'build
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
;; Ant complains if this file doesn't exist.
|
|
||||||
(setenv "HOME" "/tmp")
|
|
||||||
(with-output-to-file "/tmp/.ant.properties"
|
|
||||||
(lambda _ (display "")))
|
|
||||||
|
|
||||||
;; Use jikes instead of javac for <javac ...> tags in build.xml
|
|
||||||
(setenv "ANT_OPTS" "-Dbuild.compiler=jikes")
|
|
||||||
|
|
||||||
;; jikes produces lots of warnings, but they are not very
|
|
||||||
;; interesting, so we silence them.
|
|
||||||
(setenv "$BOOTJAVAC_OPTS" "-nowarn")
|
|
||||||
|
|
||||||
;; Without these JamVM options the build may freeze.
|
|
||||||
(substitute* "bootstrap.sh"
|
|
||||||
(("^\"\\$\\{JAVACMD\\}\" " m)
|
|
||||||
,@(if (string-prefix? "armhf" (or (%current-system)
|
|
||||||
(%current-target-system)))
|
|
||||||
`((string-append m "-Xnocompact "))
|
|
||||||
`((string-append m "-Xnocompact -Xnoinlining ")))))
|
|
||||||
|
|
||||||
;; Disable tests because we are bootstrapping and thus don't have
|
|
||||||
;; any of the dependencies required to build and run the tests.
|
|
||||||
(substitute* "build.xml"
|
|
||||||
(("depends=\"jars,test-jar\"") "depends=\"jars\""))
|
|
||||||
(invoke "bash" "bootstrap.sh"
|
|
||||||
(string-append "-Ddist.dir="
|
|
||||||
(assoc-ref outputs "out")))))
|
|
||||||
(add-after 'build 'strip-jar-timestamps ;based on ant-build-system
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(define (repack-archive jar)
|
|
||||||
(let* ((dir (mkdtemp "jar-contents.XXXXXX"))
|
|
||||||
(manifest (string-append dir "/META-INF/MANIFESTS.MF")))
|
|
||||||
(with-directory-excursion dir
|
|
||||||
(invoke "unzip" jar))
|
|
||||||
(delete-file jar)
|
|
||||||
;; XXX: copied from (gnu build install)
|
|
||||||
(for-each (lambda (file)
|
|
||||||
(let ((s (lstat file)))
|
|
||||||
(unless (eq? (stat:type s) 'symlink)
|
|
||||||
(utime file 0 0 0 0))))
|
|
||||||
(find-files dir #:directories? #t))
|
|
||||||
;; It is important that the manifest appears first.
|
|
||||||
(with-directory-excursion dir
|
|
||||||
(let* ((files (find-files "." ".*" #:directories? #t))
|
|
||||||
;; To ensure that the reference scanner can
|
|
||||||
;; detect all store references in the jars
|
|
||||||
;; we disable compression with the "-0" option.
|
|
||||||
(command (if (file-exists? manifest)
|
|
||||||
`("zip" "-0" "-X" ,jar ,manifest
|
|
||||||
,@files)
|
|
||||||
`("zip" "-0" "-X" ,jar ,@files))))
|
|
||||||
(apply invoke command)))))
|
|
||||||
(for-each repack-archive
|
|
||||||
(find-files
|
|
||||||
(string-append (assoc-ref %outputs "out") "/lib")
|
|
||||||
"\\.jar$"))))
|
|
||||||
(delete 'install)))
|
|
||||||
((#:phases phases)
|
|
||||||
`(modify-phases ,phases
|
|
||||||
(delete 'define-java-environment-variables)
|
|
||||||
(add-after 'unpack 'remove-scripts
|
|
||||||
;; Remove bat / cmd scripts for DOS as well as the antRun and runant
|
|
||||||
;; wrappers.
|
|
||||||
(lambda _
|
|
||||||
(for-each delete-file
|
|
||||||
(find-files "src/script"
|
|
||||||
"(.*\\.(bat|cmd)|runant.*|antRun.*)"))
|
|
||||||
#t))
|
|
||||||
(replace 'build
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
|
|
||||||
|
|
||||||
;; Disable tests to avoid dependency on hamcrest-core, which needs
|
|
||||||
;; Ant to build. This is necessary in addition to disabling the
|
|
||||||
;; "check" phase, because the dependency on "test-jar" would always
|
|
||||||
;; result in the tests to be run.
|
|
||||||
(substitute* "build.xml"
|
|
||||||
(("depends=\"jars,test-jar") "depends=\"jars"))
|
|
||||||
(invoke "bash" "bootstrap.sh"
|
|
||||||
(string-append "-Ddist.dir="
|
|
||||||
(assoc-ref outputs "out")))))))))
|
|
||||||
(native-inputs
|
|
||||||
`(("jdk" ,icedtea-7 "jdk")
|
|
||||||
("zip" ,zip)
|
|
||||||
("unzip" ,unzip)))))
|
|
||||||
|
|
||||||
(define-public ant-apache-bcel
|
(define-public ant-apache-bcel
|
||||||
(package
|
(package
|
||||||
(inherit ant/java8)
|
(inherit ant)
|
||||||
(name "ant-apache-bcel")
|
(name "ant-apache-bcel")
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments ant/java8)
|
(substitute-keyword-arguments (package-arguments ant)
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
#~(modify-phases #$phases
|
#~(modify-phases #$phases
|
||||||
(add-after 'unpack 'link-bcel
|
(add-after 'unpack 'link-bcel
|
||||||
@@ -2200,37 +2167,11 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||||||
(delete-file-recursively bin)
|
(delete-file-recursively bin)
|
||||||
(delete-file-recursively lib))))))))
|
(delete-file-recursively lib))))))))
|
||||||
(inputs
|
(inputs
|
||||||
(modify-inputs (package-inputs ant/java8)
|
(modify-inputs (package-inputs ant)
|
||||||
(prepend java-commons-bcel)))))
|
(prepend java-commons-bcel)))))
|
||||||
|
|
||||||
(define-public ant-junit
|
(define-deprecated-package ant-junit
|
||||||
(package
|
ant)
|
||||||
(inherit ant/java8)
|
|
||||||
(name "ant-junit")
|
|
||||||
(arguments
|
|
||||||
(substitute-keyword-arguments (package-arguments ant/java8)
|
|
||||||
((#:phases phases)
|
|
||||||
#~(modify-phases #$phases
|
|
||||||
(add-after 'unpack 'link-junit
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(for-each (lambda (file)
|
|
||||||
(symlink file
|
|
||||||
(string-append "lib/optional/"
|
|
||||||
(basename file))))
|
|
||||||
(find-files (assoc-ref inputs "java-junit")
|
|
||||||
"\\.jar$"))))
|
|
||||||
(add-after 'build 'install
|
|
||||||
(lambda _
|
|
||||||
(let ((share (string-append #$output "/share/java"))
|
|
||||||
(bin (string-append #$output "/bin"))
|
|
||||||
(lib (string-append #$output "/lib")))
|
|
||||||
(mkdir-p share)
|
|
||||||
(install-file (string-append lib "/ant-junit.jar") share)
|
|
||||||
(delete-file-recursively bin)
|
|
||||||
(delete-file-recursively lib))))))))
|
|
||||||
(inputs
|
|
||||||
(modify-inputs (package-inputs ant/java8)
|
|
||||||
(prepend java-junit)))))
|
|
||||||
|
|
||||||
(define-public libantlr3c
|
(define-public libantlr3c
|
||||||
(package
|
(package
|
||||||
@@ -3337,6 +3278,9 @@ is implemented.")
|
|||||||
`(;; Tests require junit
|
`(;; Tests require junit
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:jar-name "qdox.jar"
|
#:jar-name "qdox.jar"
|
||||||
|
;; Explicitely use an ant version that includes the junit tasks, since
|
||||||
|
;; it is a dependency of junit.
|
||||||
|
#:ant ,ant/java7
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'unpack
|
(replace 'unpack
|
||||||
@@ -3445,6 +3389,9 @@ documentation tools.")
|
|||||||
`(;; Tests require junit, which ultimately depends on this package.
|
`(;; Tests require junit, which ultimately depends on this package.
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:build-target "jar"
|
#:build-target "jar"
|
||||||
|
;; Explicitely use an ant version that includes the junit tasks, since
|
||||||
|
;; it is a dependency of junit.
|
||||||
|
#:ant ,ant/java7
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'build 'do-not-use-bundled-asm
|
(add-before 'build 'do-not-use-bundled-asm
|
||||||
@@ -3543,6 +3490,9 @@ testing frameworks, mocking libraries and UI validation rules.")
|
|||||||
(build-system ant-build-system)
|
(build-system ant-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; Tests require junit
|
`(#:tests? #f ; Tests require junit
|
||||||
|
;; Explicitely use an ant version that includes the junit tasks, since
|
||||||
|
;; it is a dependency of junit.
|
||||||
|
#:ant ,ant/java7
|
||||||
#:modules ((guix build ant-build-system)
|
#:modules ((guix build ant-build-system)
|
||||||
(guix build java-utils)
|
(guix build java-utils)
|
||||||
(guix build utils)
|
(guix build utils)
|
||||||
@@ -3628,6 +3578,9 @@ testing frameworks, mocking libraries and UI validation rules.")
|
|||||||
(native-inputs '())
|
(native-inputs '())
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
`(#:tests? #f
|
||||||
|
;; Explicitely use an ant version that includes the junit tasks, since
|
||||||
|
;; it is a dependency of junit.
|
||||||
|
#:ant ,ant/java7
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
@@ -3669,7 +3622,7 @@ testing frameworks, mocking libraries and UI validation rules.")
|
|||||||
(define-public java-junit
|
(define-public java-junit
|
||||||
(package
|
(package
|
||||||
(name "java-junit")
|
(name "java-junit")
|
||||||
(version "4.12")
|
(version "4.13.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@@ -3678,7 +3631,7 @@ testing frameworks, mocking libraries and UI validation rules.")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1j8avi91px1z8rjc89cfikwrvfifdmmsarwiyrcnr59ynvpz0v8h"))
|
"1r7k4zzscc8019np3is3bzfigw8fxd6s3259cbhzzh02q6d5p9h3"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
@@ -3690,6 +3643,9 @@ testing frameworks, mocking libraries and UI validation rules.")
|
|||||||
`(#:jar-name "junit.jar"
|
`(#:jar-name "junit.jar"
|
||||||
#:source-dir "src/main/java"
|
#:source-dir "src/main/java"
|
||||||
#:test-dir "src/test"
|
#:test-dir "src/test"
|
||||||
|
;; Explicitely use an ant version that includes the junit tasks, so
|
||||||
|
;; we can run the tests.
|
||||||
|
#:ant ,ant/java7
|
||||||
#:test-exclude (list "**/SimpleTest.java" "**/StackTracesTest.java"
|
#:test-exclude (list "**/SimpleTest.java" "**/StackTracesTest.java"
|
||||||
"**/RuleChainTest.java" "**/TestWatchmanTest.java")
|
"**/RuleChainTest.java" "**/TestWatchmanTest.java")
|
||||||
#:phases
|
#:phases
|
||||||
@@ -3730,7 +3686,13 @@ sharing common test data, and test runners for running tests.")
|
|||||||
`(#:jar-name "junitparams.jar"
|
`(#:jar-name "junitparams.jar"
|
||||||
#:source-dir "src/main/java"
|
#:source-dir "src/main/java"
|
||||||
#:test-dir "src/test"
|
#:test-dir "src/test"
|
||||||
#:test-exclude (list "**/SuperclassTest.java")))
|
#:test-exclude (list
|
||||||
|
;; Abstract class: no tests
|
||||||
|
"**/SuperclassTest.java"
|
||||||
|
;; Incompatible tests with junit 4.13.2
|
||||||
|
"**/BeforeAfterClassTest.java"
|
||||||
|
"**/FilterableTest.java"
|
||||||
|
"**/RulesTest.java")))
|
||||||
(inputs
|
(inputs
|
||||||
(list java-junit))
|
(list java-junit))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
@@ -5199,6 +5161,9 @@ complex transformations and code analysis tools.")
|
|||||||
(build-system ant-build-system)
|
(build-system ant-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
`(#:tests? #f
|
||||||
|
;; Explicitely use an ant version that includes the junit tasks, since
|
||||||
|
;; it is a dependency of junit.
|
||||||
|
#:ant ,ant/java7
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'unpack)
|
(delete 'unpack)
|
||||||
@@ -5220,6 +5185,9 @@ including java-asm.")
|
|||||||
(properties '((hidden? . #t)))
|
(properties '((hidden? . #t)))
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments java-asm)
|
(substitute-keyword-arguments (package-arguments java-asm)
|
||||||
|
;; Explicitely use an ant version that includes the junit tasks, since
|
||||||
|
;; it is a dependency of junit.
|
||||||
|
((#:ant _ ant/java7) ant/java7)
|
||||||
((#:tests? _) #f)))
|
((#:tests? _) #f)))
|
||||||
(native-inputs `())))
|
(native-inputs `())))
|
||||||
|
|
||||||
|
|||||||
+58
-67
@@ -4266,16 +4266,15 @@ intercept and print the system calls executed by the program.")
|
|||||||
(define-public alsa-ucm-conf
|
(define-public alsa-ucm-conf
|
||||||
(package
|
(package
|
||||||
(name "alsa-ucm-conf")
|
(name "alsa-ucm-conf")
|
||||||
(version "1.2.15.3")
|
(version "1.2.11")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method git-fetch)
|
(uri (string-append
|
||||||
(uri (git-reference
|
"ftp://ftp.alsa-project.org/pub/lib/" name "-"
|
||||||
(url "https://github.com/alsa-project/alsa-ucm-conf")
|
version ".tar.bz2"))
|
||||||
(commit (string-append "v" version))))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32
|
||||||
(sha256
|
"10dfzvrmpp9swflw47nxf35an6gj3ilb4wlggdnng8g2637h2z1q"))))
|
||||||
(base32 "1mlvzvz7npdvprlq1ff9pg3awsdvv3czv7wchfm96jflhks3pnsm"))))
|
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:install-plan
|
'(#:install-plan
|
||||||
@@ -4284,24 +4283,23 @@ intercept and print the system calls executed by the program.")
|
|||||||
(home-page "https://www.alsa-project.org/wiki/Main_Page")
|
(home-page "https://www.alsa-project.org/wiki/Main_Page")
|
||||||
(synopsis "The Advanced Linux Sound Architecture Use Case Manager")
|
(synopsis "The Advanced Linux Sound Architecture Use Case Manager")
|
||||||
(description
|
(description
|
||||||
"This package contains @acronym{ALSA, Advanced Linux Sound Architecture}
|
"This package contains Advanced Linux Sound Architecture Use Case Manager
|
||||||
@acronym{UCM, Use Case Manager} configuration of audio input/output names and
|
configuration of audio input/output names and routing for specific audio
|
||||||
routing for specific audio hardware.")
|
hardware.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public alsa-topology-conf
|
(define-public alsa-topology-conf
|
||||||
(package
|
(package
|
||||||
(name "alsa-topology-conf")
|
(name "alsa-topology-conf")
|
||||||
(version "1.2.5.1")
|
(version "1.2.4")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method git-fetch)
|
(uri (string-append
|
||||||
(uri (git-reference
|
"ftp://ftp.alsa-project.org/pub/lib/" name "-"
|
||||||
(url "https://github.com/alsa-project/alsa-topology-conf")
|
version ".tar.bz2"))
|
||||||
(commit (string-append "v" version))))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32
|
||||||
(sha256
|
"01zdg6q4s6d01k39z96wi4vbhrfw1i2g4yi5dijwfk6a5vjfdq2m"))))
|
||||||
(base32 "150065nc5ksrxcay0ia0f8ad2s0gpp3xgn7gc5xsyf0k5dwdby49"))))
|
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:install-plan
|
'(#:install-plan
|
||||||
@@ -4309,23 +4307,22 @@ routing for specific audio hardware.")
|
|||||||
(home-page "https://www.alsa-project.org/wiki/Main_Page")
|
(home-page "https://www.alsa-project.org/wiki/Main_Page")
|
||||||
(synopsis "The Advanced Linux Sound Architecture libraries")
|
(synopsis "The Advanced Linux Sound Architecture libraries")
|
||||||
(description
|
(description
|
||||||
"This package contains @acronym{ALSA, Advanced Linux Sound Architecture}
|
"This package contains Advanced Linux Sound Architecture topology
|
||||||
topology configuration files that can be used for specific audio hardware.")
|
configuration files that can be used for specific audio hardware.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public alsa-lib
|
(define-public alsa-lib
|
||||||
(package
|
(package
|
||||||
(name "alsa-lib")
|
(name "alsa-lib")
|
||||||
(version "1.2.15.3")
|
(version "1.2.11")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method git-fetch)
|
(uri (string-append
|
||||||
(uri (git-reference
|
"https://www.alsa-project.org/files/pub/lib/"
|
||||||
(url "https://github.com/alsa-project/alsa-lib")
|
name "-" version ".tar.bz2"))
|
||||||
(commit (string-append "v" version))))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32
|
||||||
(sha256
|
"0kdvjlknc50fwfdkxj0z12xbz21skb3gnwlh6lvsvycmp5ljygwz"))))
|
||||||
(base32 "03h35rhyzks0m96zy94vipwbjbpp323bj7hhhh28qfs8jpbl3c7i"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
'(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
||||||
@@ -4357,24 +4354,22 @@ topology configuration files that can be used for specific audio hardware.")
|
|||||||
(home-page "https://www.alsa-project.org/wiki/Main_Page")
|
(home-page "https://www.alsa-project.org/wiki/Main_Page")
|
||||||
(synopsis "The Advanced Linux Sound Architecture libraries")
|
(synopsis "The Advanced Linux Sound Architecture libraries")
|
||||||
(description
|
(description
|
||||||
"@acronym{ALSA, Advanced Linux Sound Architecture} provides audio and
|
"The Advanced Linux Sound Architecture (ALSA) provides audio and
|
||||||
@acronym{MIDI, Musical Instrument Digital Interface} functionality to the
|
MIDI functionality to the Linux-based operating system.")
|
||||||
Linux-based operating system.")
|
|
||||||
(license license:lgpl2.1+)))
|
(license license:lgpl2.1+)))
|
||||||
|
|
||||||
(define-public alsa-utils
|
(define-public alsa-utils
|
||||||
(package
|
(package
|
||||||
(name "alsa-utils")
|
(name "alsa-utils")
|
||||||
(version "1.2.15.2")
|
(version "1.2.11")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method git-fetch)
|
(uri (string-append
|
||||||
(uri (git-reference
|
"https://www.alsa-project.org/files/pub/utils/"
|
||||||
(url "https://github.com/alsa-project/alsa-utils")
|
name "-" version ".tar.bz2"))
|
||||||
(commit (string-append "v" version))))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32
|
||||||
(sha256
|
"19r8qi6b7sd2p1mhxfqrp18wrgjw5s6rp5ygimb1w59zi0xcmils"))))
|
||||||
(base32 "1mlvzvz7npdvprlq1ff9pg3awsdvv3czv7wchfm96jflhks3pnsm"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
@@ -4398,9 +4393,8 @@ Linux-based operating system.")
|
|||||||
(home-page "http://www.alsa-project.org/")
|
(home-page "http://www.alsa-project.org/")
|
||||||
(synopsis "Utilities for the Advanced Linux Sound Architecture (ALSA)")
|
(synopsis "Utilities for the Advanced Linux Sound Architecture (ALSA)")
|
||||||
(description
|
(description
|
||||||
"@acronym{ALSA, Advanced Linux Sound Architecture} provides audio and
|
"The Advanced Linux Sound Architecture (ALSA) provides audio and
|
||||||
@acronym{MIDI, Musical Instrument Digital Interface} functionality to the
|
MIDI functionality to the Linux-based operating system.")
|
||||||
Linux-based operating system.")
|
|
||||||
|
|
||||||
;; This is mostly GPLv2+ but a few files such as 'alsactl.c' are
|
;; This is mostly GPLv2+ but a few files such as 'alsactl.c' are
|
||||||
;; GPLv2-only.
|
;; GPLv2-only.
|
||||||
@@ -4409,16 +4403,14 @@ Linux-based operating system.")
|
|||||||
(define-public alsa-plugins
|
(define-public alsa-plugins
|
||||||
(package
|
(package
|
||||||
(name "alsa-plugins")
|
(name "alsa-plugins")
|
||||||
(version "1.2.12")
|
(version "1.2.2")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method url-fetch)
|
||||||
(method git-fetch)
|
(uri (string-append "ftp://ftp.alsa-project.org/pub/plugins/"
|
||||||
(uri (git-reference
|
name "-" version ".tar.bz2"))
|
||||||
(url "https://github.com/alsa-project/alsa-plugins")
|
(sha256
|
||||||
(commit (string-append "v" version))))
|
(base32
|
||||||
(file-name (git-file-name name version))
|
"0z9k3ssbfk2ky2w13avgyf202j1drsz9sv3834bp33cj1i2hc3qw"))))
|
||||||
(sha256
|
|
||||||
(base32 "0izvzdvw3nj69l4a968p9d9xjxfxs7i3bdpj1r4cvm6b8w7j33z8"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
;; TODO: Split libavcodec and speex if possible. It looks like they can not
|
;; TODO: Split libavcodec and speex if possible. It looks like they can not
|
||||||
;; be split, there are references to both in files.
|
;; be split, there are references to both in files.
|
||||||
@@ -4470,12 +4462,11 @@ Linux-based operating system.")
|
|||||||
(home-page "http://www.alsa-project.org/")
|
(home-page "http://www.alsa-project.org/")
|
||||||
(synopsis "Plugins for the Advanced Linux Sound Architecture (ALSA)")
|
(synopsis "Plugins for the Advanced Linux Sound Architecture (ALSA)")
|
||||||
(description
|
(description
|
||||||
"@acronym{ALSA, Advanced Linux Sound Architecture} provides audio and
|
"The Advanced Linux Sound Architecture (ALSA) provides audio and
|
||||||
@acronym{MIDI, Musical Instrument Digital Interface} functionality to the
|
MIDI functionality to the Linux-based operating system. This package enhances ALSA
|
||||||
Linux-based operating system. This package enhances @acronym{ALSA} by
|
by providing additional plugins which include: upmixing, downmixing, jackd and
|
||||||
providing additional plugins which include: upmixing, downmixing, jackd and
|
pulseaudio support for native alsa applications, format conversion (s16 to a52), and
|
||||||
pulseaudio support for native alsa applications, format conversion (s16 to
|
external rate conversion.")
|
||||||
a52), and external rate conversion.")
|
|
||||||
(license (list license:gpl2+
|
(license (list license:gpl2+
|
||||||
;; `rate/rate_samplerate.c': LGPL v2.1 or later.
|
;; `rate/rate_samplerate.c': LGPL v2.1 or later.
|
||||||
license:lgpl2.1+))))
|
license:lgpl2.1+))))
|
||||||
|
|||||||
@@ -488,7 +488,7 @@ with different rules and mechanics.")
|
|||||||
(define-public luanti-mineclonia
|
(define-public luanti-mineclonia
|
||||||
(package
|
(package
|
||||||
(name "luanti-mineclonia")
|
(name "luanti-mineclonia")
|
||||||
(version "0.120.1")
|
(version "0.121.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@@ -497,7 +497,7 @@ with different rules and mechanics.")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"135xllkvdravry25y1f94wqn7nxb0pnrpn7xiagh2b5vjbajhdg4"))))
|
"1c3x59iq04vfc0fa09z6g8davrr2vhdywppdbgyw64n7vk4f6br9"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:install-plan
|
`(#:install-plan
|
||||||
|
|||||||
+4
-98
@@ -1,8 +1,4 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2014 Marek Benc <merkur32@gmail.com>
|
|
||||||
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
|
||||||
;;; Copyright © 2024 Herman Rimm <herman@rimm.ee>
|
|
||||||
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
@@ -20,98 +16,8 @@
|
|||||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(define-module (gnu packages nvi)
|
(define-module (gnu packages nvi)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages text-editors)
|
||||||
#:use-module (gnu packages autotools)
|
#:use-module (guix deprecation))
|
||||||
#:use-module (gnu packages dbm)
|
|
||||||
#:use-module (gnu packages ncurses)
|
|
||||||
#:use-module (guix packages)
|
|
||||||
#:use-module (guix download)
|
|
||||||
#:use-module (guix build-system gnu)
|
|
||||||
#:use-module (guix gexp)
|
|
||||||
#:use-module (guix licenses)
|
|
||||||
#:use-module (guix utils))
|
|
||||||
|
|
||||||
(define-public nvi
|
(define-deprecated/public-alias nvi
|
||||||
(package
|
(@ (gnu packages text-editors) nvi))
|
||||||
(name "nvi")
|
|
||||||
(version "1.81.6")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri ;; sites.google.coma/bostic.com/keithbostic/vi is stale.
|
|
||||||
(string-append "http://harrier.slackbuilds.org/misc/nvi-" version
|
|
||||||
".tar.bz2"))
|
|
||||||
(sha256
|
|
||||||
(base32 "0nbbs1inyrqds0ywn3ln5slv54v5zraq7lszkg8nsavv4kivhh9l"))
|
|
||||||
(patches (search-patches "nvi-assume-preserve-path.patch"
|
|
||||||
"nvi-dbpagesize-binpower.patch"
|
|
||||||
"nvi-add-function-prototypes.patch"
|
|
||||||
"nvi-db4.patch"))
|
|
||||||
(modules '((guix build utils)))
|
|
||||||
(snippet
|
|
||||||
;; Create a wrapper for the configure script, make it executable.
|
|
||||||
'(let ((conf-wrap (open-output-file "configure")))
|
|
||||||
(display "#!/bin/sh" conf-wrap)
|
|
||||||
(newline conf-wrap)
|
|
||||||
(display
|
|
||||||
"../nvi-1.81.6/dist/configure --srcdir=../nvi-1.81.6/dist $@"
|
|
||||||
conf-wrap)
|
|
||||||
(newline conf-wrap)
|
|
||||||
(close-output-port conf-wrap)
|
|
||||||
(chmod "configure" #o0755)
|
|
||||||
|
|
||||||
;; Glibc 2.30 removed the deprecated <sys/stropts.h>, so fall back
|
|
||||||
;; to the internal PTY allocation logic.
|
|
||||||
(substitute* "ex/ex_script.c"
|
|
||||||
(("#ifdef HAVE_SYS5_PTY")
|
|
||||||
"#if defined(HAVE_SYS5_PTY) && !defined(__GLIBC__)"))
|
|
||||||
#t))))
|
|
||||||
|
|
||||||
(build-system gnu-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:out-of-source? #t
|
|
||||||
#:configure-flags
|
|
||||||
#~'("--enable-widechar"
|
|
||||||
#$@(if (%current-target-system)
|
|
||||||
'("vi_cv_sprintf_count=yes")
|
|
||||||
'()))
|
|
||||||
#:make-flags
|
|
||||||
#~(list
|
|
||||||
;; Add CFLAGS to relax gcc-14's strictness.
|
|
||||||
;; nvi's configure chokes on passing CFLAGS and ignores
|
|
||||||
;; CFLAGS set in the environment.
|
|
||||||
(string-append "CFLAGS=-g -O2"
|
|
||||||
" -Wno-error=incompatible-pointer-types"))
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(add-before 'configure 'fix-configure
|
|
||||||
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
||||||
;; Replace outdated config.sub and config.guess:
|
|
||||||
(with-directory-excursion "dist"
|
|
||||||
(for-each
|
|
||||||
(lambda (file)
|
|
||||||
(chmod file #o755)
|
|
||||||
(install-file
|
|
||||||
(format #f "~a/share/automake-~a/~a"
|
|
||||||
(assoc-ref (or native-inputs inputs)
|
|
||||||
"automake")
|
|
||||||
#$(version-major+minor
|
|
||||||
(package-version automake))
|
|
||||||
file)
|
|
||||||
"."))
|
|
||||||
'("config.sub" "config.guess"))))))))
|
|
||||||
(inputs
|
|
||||||
(list bdb ncurses))
|
|
||||||
(native-inputs
|
|
||||||
(list automake)) ;Up to date 'config.guess' and 'config.sub'.
|
|
||||||
(synopsis "The Berkeley Vi Editor")
|
|
||||||
(description
|
|
||||||
"Vi is the original screen based text editor for Unix systems. It is
|
|
||||||
considered the standard text editor, and is available on almost all Unix
|
|
||||||
systems. Nvi is intended as a \"bug-for-bug compatible\" clone of the
|
|
||||||
original BSD vi editor. As such, it doesn't have a lot of snazzy features as
|
|
||||||
do some of the other vi clones such as elvis and vim. However, if all you
|
|
||||||
want is vi, this is the one to get.")
|
|
||||||
(home-page "https://sites.google.com/a/bostic.com/keithbostic/vi")
|
|
||||||
(license bsd-3)))
|
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ it.")
|
|||||||
(define-public trealla
|
(define-public trealla
|
||||||
(package
|
(package
|
||||||
(name "trealla")
|
(name "trealla")
|
||||||
(version "2.92.38")
|
(version "2.92.41")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
@@ -246,7 +246,7 @@ it.")
|
|||||||
(url "https://github.com/trealla-prolog/trealla")
|
(url "https://github.com/trealla-prolog/trealla")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "12nv54j7rgh784lszgynw50k9h3la8b0d2si2bskfvydmpyk45pm"))
|
(base32 "0ial37h0i9zjxgxvkai2vmaafn4djprliw0nzppnhwwy3jbcd14p"))
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
|
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
|
||||||
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
;;; Copyright © 2014 Marek Benc <merkur32@gmail.com>
|
||||||
;;; Copyright © 2015-2022, 2025 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2015-2022, 2025 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2016 José Miguel Sánchez García <jmi2k@openmailbox.org>
|
;;; Copyright © 2016 José Miguel Sánchez García <jmi2k@openmailbox.org>
|
||||||
;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
|
;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
|
||||||
@@ -42,6 +43,7 @@
|
|||||||
;;; Copyright © 2025 Andrew Wong <wongandj@icloud.com>
|
;;; Copyright © 2025 Andrew Wong <wongandj@icloud.com>
|
||||||
;;; Copyright © 2025 Junker <dk@junkeria.club>
|
;;; Copyright © 2025 Junker <dk@junkeria.club>
|
||||||
;;; Copyright © 2025 benjamin wil <hey@benjaminwil.info>
|
;;; Copyright © 2025 benjamin wil <hey@benjaminwil.info>
|
||||||
|
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;; Copyright © 2026 Ignatius Menzies <ignatius.menzies@gmail.com>
|
;;; Copyright © 2026 Ignatius Menzies <ignatius.menzies@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
@@ -92,6 +94,7 @@
|
|||||||
#:use-module (gnu packages crypto)
|
#:use-module (gnu packages crypto)
|
||||||
#:use-module (gnu packages curl)
|
#:use-module (gnu packages curl)
|
||||||
#:use-module (gnu packages datastructures)
|
#:use-module (gnu packages datastructures)
|
||||||
|
#:use-module (gnu packages dbm)
|
||||||
#:use-module (gnu packages documentation)
|
#:use-module (gnu packages documentation)
|
||||||
#:use-module (gnu packages enchant)
|
#:use-module (gnu packages enchant)
|
||||||
#:use-module (gnu packages fontutils)
|
#:use-module (gnu packages fontutils)
|
||||||
@@ -987,6 +990,90 @@ justifying, auto-indentation, bracket matching, interactive search-and-replace
|
|||||||
(with regular expressions), and the editing of multiple files.")
|
(with regular expressions), and the editing of multiple files.")
|
||||||
(license license:gpl3+))) ; some files are under GPLv2+
|
(license license:gpl3+))) ; some files are under GPLv2+
|
||||||
|
|
||||||
|
(define-public nvi
|
||||||
|
(package
|
||||||
|
(name "nvi")
|
||||||
|
(version "1.81.6")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
;; The home-page does not provide the latest version.
|
||||||
|
(uri (string-append "http://harrier.slackbuilds.org/misc/nvi-"
|
||||||
|
version ".tar.bz2"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0nbbs1inyrqds0ywn3ln5slv54v5zraq7lszkg8nsavv4kivhh9l"))
|
||||||
|
(patches (search-patches "nvi-assume-preserve-path.patch"
|
||||||
|
"nvi-dbpagesize-binpower.patch"
|
||||||
|
"nvi-add-function-prototypes.patch"
|
||||||
|
"nvi-db4.patch"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Create a wrapper for the configure script, make it executable.
|
||||||
|
#~(let ((conf-wrap (open-output-file "configure")))
|
||||||
|
(display "#!/bin/sh" conf-wrap)
|
||||||
|
(newline conf-wrap)
|
||||||
|
(display
|
||||||
|
"../nvi-1.81.6/dist/configure --srcdir=../nvi-1.81.6/dist $@"
|
||||||
|
conf-wrap)
|
||||||
|
(newline conf-wrap)
|
||||||
|
(close-output-port conf-wrap)
|
||||||
|
(chmod "configure" #o0755)
|
||||||
|
|
||||||
|
;; Glibc 2.30 removed the deprecated <sys/stropts.h>, so fall back
|
||||||
|
;; to the internal PTY allocation logic.
|
||||||
|
(substitute* "ex/ex_script.c"
|
||||||
|
(("#ifdef HAVE_SYS5_PTY")
|
||||||
|
"#if defined(HAVE_SYS5_PTY) && !defined(__GLIBC__)"))))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:out-of-source? #t
|
||||||
|
#:configure-flags
|
||||||
|
#~'("--enable-widechar"
|
||||||
|
#$@(if (%current-target-system)
|
||||||
|
'("vi_cv_sprintf_count=yes")
|
||||||
|
'()))
|
||||||
|
#:make-flags
|
||||||
|
#~(list
|
||||||
|
;; Add CFLAGS to relax gcc-14's strictness.
|
||||||
|
;; nvi's configure chokes on passing CFLAGS and ignores
|
||||||
|
;; CFLAGS set in the environment.
|
||||||
|
(string-append "CFLAGS=-g -O2"
|
||||||
|
" -Wno-error=incompatible-pointer-types"))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'fix-configure
|
||||||
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
||||||
|
;; Replace outdated config.sub and config.guess:
|
||||||
|
(with-directory-excursion "dist"
|
||||||
|
(for-each
|
||||||
|
(lambda (file)
|
||||||
|
(chmod file #o755)
|
||||||
|
(install-file
|
||||||
|
(format #f "~a/share/automake-~a/~a"
|
||||||
|
(assoc-ref (or native-inputs inputs)
|
||||||
|
"automake")
|
||||||
|
#$(version-major+minor
|
||||||
|
(package-version automake))
|
||||||
|
file)
|
||||||
|
"."))
|
||||||
|
'("config.sub" "config.guess"))))))))
|
||||||
|
(inputs (list bdb ncurses))
|
||||||
|
(native-inputs
|
||||||
|
(list automake)) ;Up to date 'config.guess' and 'config.sub'.
|
||||||
|
(synopsis "The Berkeley Vi Editor")
|
||||||
|
(description
|
||||||
|
"Vi is the original screen based text editor for Unix systems. It
|
||||||
|
is considered the standard text editor, and is available on almost all
|
||||||
|
Unix systems. Nvi is intended as a \"bug-for-bug compatible\" clone of
|
||||||
|
the original BSD vi editor. As such, it doesn't have a lot of snazzy
|
||||||
|
features as do some of the other vi clones such as elvis and vim.
|
||||||
|
However, if all you want is vi, this is the one to get.")
|
||||||
|
(home-page
|
||||||
|
(string-append "https://sites.google.com/a/bostic.com/keithbostic/"
|
||||||
|
"the-berkeley-vi-editor-home-page"))
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public qemacs
|
(define-public qemacs
|
||||||
(package
|
(package
|
||||||
(name "qemacs")
|
(name "qemacs")
|
||||||
|
|||||||
+2
-2
@@ -4535,7 +4535,7 @@ read and write, and compatible with JSON.")
|
|||||||
(define-public labwc
|
(define-public labwc
|
||||||
(package
|
(package
|
||||||
(name "labwc")
|
(name "labwc")
|
||||||
(version "0.9.6")
|
(version "0.9.7")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
@@ -4544,7 +4544,7 @@ read and write, and compatible with JSON.")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0v8gv539jl8qnzjh9d91gpk03gn1xkc8i8xl33gs9k2x46fx1jyy"))))
|
"12mm4w9djgh7q30lswhl1q1cxf6h0pf8xr744jkcyjcqqsavynpf"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config gettext-minimal scdoc))
|
(list pkg-config gettext-minimal scdoc))
|
||||||
|
|||||||
@@ -62,7 +62,6 @@
|
|||||||
#:use-module (gnu packages less)
|
#:use-module (gnu packages less)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
#:use-module (gnu packages man)
|
#:use-module (gnu packages man)
|
||||||
#:use-module (gnu packages nvi)
|
|
||||||
#:use-module (gnu packages package-management)
|
#:use-module (gnu packages package-management)
|
||||||
#:use-module (gnu packages pciutils)
|
#:use-module (gnu packages pciutils)
|
||||||
#:use-module (gnu packages texinfo)
|
#:use-module (gnu packages texinfo)
|
||||||
|
|||||||
Reference in New Issue
Block a user