Update and unbundle josm
java-svg-salamander-Fix-non-det.patch unknown status 1
1 | + | From c812efa9fcbfb49a571cc73af83c8da5cb951bcf Mon Sep 17 00:00:00 2001 | |
2 | + | From: Julien Lepiller <julien@lepiller.eu> | |
3 | + | Date: Thu, 2 May 2019 19:05:33 +0200 | |
4 | + | Subject: [PATCH] Fix non determinism and installation | |
5 | + | ||
6 | + | --- | |
7 | + | svg-core/build.xml | 22 ---------------------- | |
8 | + | svg-core/nbproject/build-impl.xml | 1 - | |
9 | + | 2 files changed, 23 deletions(-) | |
10 | + | ||
11 | + | diff --git a/svg-core/build.xml b/svg-core/build.xml | |
12 | + | index cc72eb7..0f9c3e6 100755 | |
13 | + | --- a/svg-core/build.xml | |
14 | + | +++ b/svg-core/build.xml | |
15 | + | @@ -102,7 +102,6 @@ | |
16 | + | <jar destfile="${maven-javadoc-jar}" update="false"> | |
17 | + | <manifest> | |
18 | + | <attribute name="Version" value="${version}"/> | |
19 | + | - <attribute name="Date" value="${TODAY}"/> | |
20 | + | </manifest> | |
21 | + | ||
22 | + | <fileset dir="dist/javadoc"> | |
23 | + | @@ -112,7 +111,6 @@ | |
24 | + | <jar destfile="${maven-sources-jar}" update="false"> | |
25 | + | <manifest> | |
26 | + | <attribute name="Version" value="${version}"/> | |
27 | + | - <attribute name="Date" value="${TODAY}"/> | |
28 | + | </manifest> | |
29 | + | ||
30 | + | <fileset dir="src/main/java"> | |
31 | + | @@ -126,7 +124,6 @@ | |
32 | + | <manifest> | |
33 | + | <attribute name="Main-Class" value="com.kitfox.svg.app.SVGPlayer"/> | |
34 | + | <attribute name="Version" value="${version}"/> | |
35 | + | - <attribute name="Date" value="${TODAY}"/> | |
36 | + | </manifest> | |
37 | + | ||
38 | + | <fileset dir="build/classes"> | |
39 | + | @@ -203,7 +200,6 @@ | |
40 | + | <manifest> | |
41 | + | <attribute name="Main-Class" value="com.kitfox.svg.app.SVGPlayer"/> | |
42 | + | <attribute name="Version" value="${version}"/> | |
43 | + | - <attribute name="Date" value="${TODAY}"/> | |
44 | + | </manifest> | |
45 | + | ||
46 | + | <fileset dir="build/classes"> | |
47 | + | @@ -213,24 +209,6 @@ | |
48 | + | </fileset> | |
49 | + | </jar> | |
50 | + | ||
51 | + | - <delete file="${key.location}"/> | |
52 | + | - <genkey alias="${key.user}" storepass="${key.password}" keystore="${key.location}" validity="1000" verbose="true"> | |
53 | + | - <dname> | |
54 | + | - <param name="CN" value="Mark McKay, mark@kitfox.com"/> | |
55 | + | - <param name="OU" value="kitfox.com"/> | |
56 | + | - <param name="O" value="kitfox"/> | |
57 | + | - <param name="L" value="Toronto"/> | |
58 | + | - <param name="S" value="Ontario"/> | |
59 | + | - <param name="C" value="CA"/> | |
60 | + | - </dname> | |
61 | + | - </genkey> | |
62 | + | - | |
63 | + | - <copy file="${dist.jar}" toFile="${project.www.jar}"/> | |
64 | + | - <signjar jar="${project.www.jar}" | |
65 | + | - alias="${key.user}" | |
66 | + | - storepass="${key.password}" | |
67 | + | - keystore="${key.location}"/> | |
68 | + | - | |
69 | + | <delete file="${project.tiny.jar}"/> | |
70 | + | <jar destfile="${project.tiny.jar}" update="true"> | |
71 | + | <manifest> | |
72 | + | diff --git a/svg-core/nbproject/build-impl.xml b/svg-core/nbproject/build-impl.xml | |
73 | + | index b448d8a..37725ad 100755 | |
74 | + | --- a/svg-core/nbproject/build-impl.xml | |
75 | + | +++ b/svg-core/nbproject/build-impl.xml | |
76 | + | @@ -1045,7 +1045,6 @@ is divided into following sections: | |
77 | + | </manifest> | |
78 | + | </target> | |
79 | + | <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.mkdist" name="-do-jar-copylibs"> | |
80 | + | - <j2seproject3:copylibs manifest="${tmp.manifest.file}"/> | |
81 | + | <echo level="info">To run this application from the command line without Ant, try:</echo> | |
82 | + | <property location="${dist.jar}" name="dist.jar.resolved"/> | |
83 | + | <echo level="info">java -jar "${dist.jar.resolved}"</echo> | |
84 | + | -- | |
85 | + | 2.21.0 | |
86 | + |
more/packages/java.scm
612 | 612 | (inputs | |
613 | 613 | `(("java-guava" ,java-guava) | |
614 | 614 | ("java-jboss-javassist" ,java-jboss-javassist) | |
615 | - | ("java-jsonp" ,java-jsonp))) | |
615 | + | ("java-jsonp-api" ,java-jsonp-api))) | |
616 | 616 | (native-inputs | |
617 | 617 | `(("javacc" ,javacc) | |
618 | 618 | ("java-hamcrest-core" ,java-hamcrest-core) | |
… | |||
1584 | 1584 | (description "") | |
1585 | 1585 | (license license:bsd-2))) | |
1586 | 1586 | ||
1587 | + | (define-public java-xmp | |
1588 | + | (package | |
1589 | + | (name "java-xmp") | |
1590 | + | (version "5.1.3") | |
1591 | + | (source (origin | |
1592 | + | (method url-fetch) | |
1593 | + | (uri (string-append "http://download.macromedia.com/pub/developer" | |
1594 | + | "/xmp/sdk/XMPCoreJava-" version ".zip")) | |
1595 | + | (sha256 | |
1596 | + | (base32 | |
1597 | + | "14nai2mmsg7l5ya2y5mx4w4lr1az3sk2fjz6hiy4zdrsavgvl1g7")))) | |
1598 | + | (build-system ant-build-system) | |
1599 | + | (arguments | |
1600 | + | `(#:build-target "build" | |
1601 | + | #:tests? #f; no tests | |
1602 | + | #:phases | |
1603 | + | (modify-phases %standard-phases | |
1604 | + | (add-after 'unpack 'chdir | |
1605 | + | (lambda _ | |
1606 | + | (chdir "XMPCore") | |
1607 | + | #t)) | |
1608 | + | (replace 'install | |
1609 | + | (install-jars ".")) | |
1610 | + | (add-after 'install 'install-doc | |
1611 | + | (lambda* (#:key outputs #:allow-other-keys) | |
1612 | + | (copy-recursively | |
1613 | + | "docs" | |
1614 | + | (string-append (assoc-ref outputs "out") "/share/doc/java-xmp")) | |
1615 | + | #t))))) | |
1616 | + | (native-inputs | |
1617 | + | `(("unzip" ,unzip))) | |
1618 | + | (home-page "") | |
1619 | + | (synopsis "") | |
1620 | + | (description "") | |
1621 | + | (license license:bsd-3))) | |
1622 | + | ||
1623 | + | (define-public java-metadata-extractor | |
1624 | + | (package | |
1625 | + | (name "java-metadata-extractor") | |
1626 | + | (version "2.11.0") | |
1627 | + | (source (origin | |
1628 | + | (method git-fetch) | |
1629 | + | (uri (git-reference | |
1630 | + | (url "https://github.com/drewnoakes/metadata-extractor") | |
1631 | + | (commit version))) | |
1632 | + | (file-name (git-file-name name version)) | |
1633 | + | (sha256 | |
1634 | + | (base32 | |
1635 | + | "06yrq0swrl1r40yjbk5kqzjxr04jlkq9lfi711jvfgjf5kp2qinj")))) | |
1636 | + | (build-system ant-build-system) | |
1637 | + | (arguments | |
1638 | + | `(#:jar-name "metadata-extractor.jar" | |
1639 | + | #:source-dir "Source" | |
1640 | + | #:test-dir "Tests" | |
1641 | + | #:phases | |
1642 | + | (modify-phases %standard-phases | |
1643 | + | (add-before 'check 'fix-test-dir | |
1644 | + | (lambda _ | |
1645 | + | (substitute* "build.xml" | |
1646 | + | (("/java\">") "\">")) | |
1647 | + | #t))))) | |
1648 | + | (propagated-inputs | |
1649 | + | `(("java-xmp" ,java-xmp))) | |
1650 | + | (native-inputs | |
1651 | + | `(("java-hamcrest-core" ,java-hamcrest-core) | |
1652 | + | ("java-junit" ,java-junit))) | |
1653 | + | (home-page "https://github.com/drewnoakes/metadata-extractor") | |
1654 | + | (synopsis "") | |
1655 | + | (description "") | |
1656 | + | (license license:asl2.0))) | |
1657 | + | ||
1658 | + | (define-public java-signpost-core | |
1659 | + | (package | |
1660 | + | (name "java-signpost-core") | |
1661 | + | (version "1.2.1.2") | |
1662 | + | (source (origin | |
1663 | + | (method git-fetch) | |
1664 | + | (uri (git-reference | |
1665 | + | (url "https://github.com/mttkay/signpost") | |
1666 | + | (commit version))) | |
1667 | + | (file-name (git-file-name name version)) | |
1668 | + | (sha256 | |
1669 | + | (base32 | |
1670 | + | "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h")))) | |
1671 | + | (build-system ant-build-system) | |
1672 | + | (arguments | |
1673 | + | `(#:jar-name "signpost-core.jar" | |
1674 | + | #:source-dir "signpost-core/src/main/java" | |
1675 | + | #:test-dir "signpost-core/src/test" | |
1676 | + | ;; Tests all fail with InstantiationException from mockito | |
1677 | + | #:tests? #f)) | |
1678 | + | (propagated-inputs | |
1679 | + | `(("java-commons-codec" ,java-commons-codec))) | |
1680 | + | ;(native-inputs | |
1681 | + | ; `(("java-cglib" ,java-cglib) | |
1682 | + | ; ("java-hamcrest-core" ,java-hamcrest-core) | |
1683 | + | ; ("java-junit" ,java-junit) | |
1684 | + | ; ("java-mockito-1" ,java-mockito-1))) | |
1685 | + | (home-page "https://github.com/mttkay/signpost") | |
1686 | + | (synopsis "") | |
1687 | + | (description "") | |
1688 | + | (license license:asl2.0))) | |
1689 | + | ||
1690 | + | (define-public java-svg-salamander | |
1691 | + | (package | |
1692 | + | (name "java-svg-salamander") | |
1693 | + | (version "1.1.2") | |
1694 | + | (source (origin | |
1695 | + | (method git-fetch) | |
1696 | + | (uri (git-reference | |
1697 | + | (url "https://github.com/blackears/svgSalamander") | |
1698 | + | (commit (string-append "v" version)))) | |
1699 | + | (file-name (git-file-name name version)) | |
1700 | + | (sha256 | |
1701 | + | (base32 | |
1702 | + | "1zv3kjdkf6iqf02x6ln76254y634j2ji448y706a65lsbfjmmicf")) | |
1703 | + | (modules '((guix build utils))) | |
1704 | + | (snippet | |
1705 | + | `(for-each delete-file (find-files "." ".*.jar"))) | |
1706 | + | (patches | |
1707 | + | (search-patches "java-svg-salamander-Fix-non-det.patch")))) | |
1708 | + | (build-system ant-build-system) | |
1709 | + | ;(arguments | |
1710 | + | ; `(#:jar-name "svg-core.jar" | |
1711 | + | ; #:source-dir "svg-core/src/main/java" | |
1712 | + | ; #:tests? #f; no tests | |
1713 | + | ; #:phases | |
1714 | + | ; (modify-phases %standard-phases | |
1715 | + | ; (add-before 'build 'copy-res | |
1716 | + | ; (lambda _ | |
1717 | + | ; (copy-recursively "src/main/res" "build/classes") | |
1718 | + | ; #t))))) | |
1719 | + | (arguments | |
1720 | + | `(#:tests? #f; no tests | |
1721 | + | #:phases | |
1722 | + | (modify-phases %standard-phases | |
1723 | + | (add-after 'unpack 'chdir | |
1724 | + | (lambda _ | |
1725 | + | (chdir "svg-core") | |
1726 | + | #t)) | |
1727 | + | (add-before 'build 'copy-jars | |
1728 | + | (lambda* (#:key inputs #:allow-other-keys) | |
1729 | + | (copy-file (car (find-files (assoc-ref inputs "java-javacc") "\\.jar$")) | |
1730 | + | "../libraries/javacc.jar") | |
1731 | + | (copy-file (car (find-files (assoc-ref inputs "ant") "ant\\.jar$")) | |
1732 | + | "../libraries/ant.jar") | |
1733 | + | #t)) | |
1734 | + | (replace 'install | |
1735 | + | (install-jars "dist"))))) | |
1736 | + | (native-inputs | |
1737 | + | `(("java-javacc" ,java-javacc))) | |
1738 | + | (home-page "https://github.com/blackears/svgSalamander") | |
1739 | + | (synopsis "") | |
1740 | + | (description "") | |
1741 | + | (license license:bsd-2))) | |
1742 | + | ||
1587 | 1743 | (define-public java-josm | |
1588 | 1744 | (package | |
1589 | 1745 | (name "java-josm") | |
1590 | - | (version "14824") | |
1746 | + | (version "15031") | |
1591 | 1747 | (source (origin | |
1592 | 1748 | (method git-fetch) | |
1593 | 1749 | (uri (git-reference | |
1594 | 1750 | (url "https://github.com/openstreetmap/josm.git") | |
1595 | - | (commit "4b30f7f925343c90f40d02a350645c890eb7af9e"))) | |
1596 | - | ;(method svn-fetch) | |
1597 | - | ;(uri (svn-reference | |
1598 | - | ; (url "https://svn.openstreetmap.org/applications/editors/josm") | |
1599 | - | ; (revision (string->number version)))) | |
1751 | + | (commit "04d4c64b1b5698c0f9af40938f32194bc25bf75f"))) | |
1600 | 1752 | (sha256 | |
1601 | 1753 | (base32 | |
1602 | - | "0psjf9xjvhn1zz8d6sp0jhdzcxk3nwvj16bz6lkyknb8zwc22xds")) | |
1754 | + | "0dgxa0yqh2sxl6nvpzw9507y5rdfxvmy54bhk2gfk1hxh3hvgmxh")) | |
1603 | 1755 | (file-name (git-file-name name version)) | |
1604 | 1756 | (modules '((guix build utils))) | |
1605 | 1757 | (snippet | |
1606 | 1758 | `(begin | |
1607 | 1759 | (for-each delete-file (find-files "." ".*.jar")) | |
1608 | - | ;(with-directory-excursion "core" | |
1609 | - | ; (delete-file-recursively "test/lib") | |
1610 | - | ; (delete-file-recursively "windows")) | |
1760 | + | (for-each delete-file-recursively | |
1761 | + | '("src/org/apache" | |
1762 | + | "src/org/glassfish" | |
1763 | + | "src/org/tukaani" | |
1764 | + | "src/javax" | |
1765 | + | "src/oauth" | |
1766 | + | "src/com")) | |
1611 | 1767 | #t)))) | |
1612 | 1768 | (build-system ant-build-system) | |
1613 | 1769 | (native-inputs | |
1614 | 1770 | `(("java-javacc" ,java-javacc))) | |
1615 | - | (propagated-inputs | |
1616 | - | `(("java-jmapviewer" ,java-jmapviewer) | |
1617 | - | ("java-tomcat" ,java-tomcat) | |
1618 | - | ("java-brotli-dec" ,java-brotli-dec) | |
1619 | - | ("java-xz" ,java-xz) | |
1620 | - | ("java-velocity" ,java-velocity) | |
1771 | + | (inputs | |
1772 | + | `(("java-commons-jcs" ,java-commons-jcs) | |
1773 | + | ("java-commons-compress" ,java-commons-compress-latest) | |
1774 | + | ("java-jmapviewer" ,java-jmapviewer) | |
1775 | + | ("java-jsonp-api" ,java-jsonp-api) | |
1776 | + | ("java-jsonp-impl" ,java-jsonp-impl); runtime dependency | |
1777 | + | ("java-metadata-extractor" ,java-metadata-extractor) | |
1621 | 1778 | ("java-openjfx" ,java-openjfx) | |
1622 | 1779 | ("java-openjfx-base" ,java-openjfx-base) | |
1623 | 1780 | ("java-openjfx-media" ,java-openjfx-media) | |
1624 | 1781 | ("java-openjfx-graphics" ,java-openjfx-graphics) | |
1625 | - | ("java-avalon-framework-api" ,java-avalon-framework-api) | |
1626 | - | ("java-httpcomponents-httpclient" ,java-httpcomponents-httpclient) | |
1627 | - | ("java-httpcomponents-httpcore" ,java-httpcomponents-httpcore) | |
1628 | - | ("java-commons-jcs" ,java-commons-jcs) | |
1629 | - | ("java-commons-collections" ,java-commons-collections) | |
1630 | - | ("java-commons-logging-minimal" ,java-commons-logging-minimal) | |
1631 | - | ("java-commons-compress" ,java-commons-compress-latest) | |
1782 | + | ("java-signpost-core" ,java-signpost-core) | |
1783 | + | ("java-svg-salamander" ,java-svg-salamander) | |
1632 | 1784 | ("java-zstd" ,java-zstd))) | |
1633 | 1785 | (arguments | |
1634 | 1786 | `(#:tests? #f | |
1635 | 1787 | #:jar-name "josm.jar" | |
1636 | 1788 | #:phases | |
1637 | 1789 | (modify-phases %standard-phases | |
1638 | - | ;(add-after 'unpack 'chdir | |
1639 | - | ; (lambda _ | |
1640 | - | ; (chdir "core") | |
1641 | - | ; #t)) | |
1642 | 1790 | (add-after 'unpack 'rm-build.xml | |
1643 | 1791 | (lambda* _ | |
1644 | 1792 | (delete-file "build.xml") | |
… | |||
2854 | 3002 | #t))))) | |
2855 | 3003 | (inputs | |
2856 | 3004 | `(("java-jboss-modules" ,java-jboss-modules) | |
2857 | - | ("java-jsonp" ,java-jsonp))) | |
3005 | + | ("java-jsonp-api" ,java-jsonp-api))) | |
2858 | 3006 | ;("java-wildfly-common" ,java-wildfly-common))) | |
2859 | 3007 | (home-page "") | |
2860 | 3008 | (synopsis "") | |
… | |||
2876 | 3024 | #t))))) | |
2877 | 3025 | (inputs | |
2878 | 3026 | `(("java-jboss-modules" ,java-jboss-modules) | |
2879 | - | ("java-jsonp" ,java-jsonp) | |
3027 | + | ("java-jsonp-api" ,java-jsonp-api) | |
2880 | 3028 | ("java-wildfly-common" ,java-wildfly-common))))) | |
2881 | 3029 | ||
2882 | 3030 | (define-public java-jboss-logging | |
… | |||
4663 | 4811 | (define-public java-commons-pool2 | |
4664 | 4812 | (package | |
4665 | 4813 | (name "java-commons-pool2") | |
4666 | - | (version "2.4.2") | |
4814 | + | (version "2.6.2") | |
4667 | 4815 | (source (origin | |
4668 | 4816 | (method url-fetch) | |
4669 | 4817 | (uri (string-append "mirror://apache/commons/pool/source/" | |
4670 | 4818 | "commons-pool2-" version "-src.tar.gz")) | |
4671 | 4819 | (sha256 | |
4672 | 4820 | (base32 | |
4673 | - | "11hbkh9djzm2v486ypykmawf92li7z20xazpk5dp9zsl937s024f")))) | |
4821 | + | "1fi1hgqmq01bs6azbj3sfswxzadp2r8sjjfiq6ryilz1m50kvrv6")))) | |
4674 | 4822 | (arguments | |
4675 | - | `(#:build-target "build-jar" | |
4676 | - | #:test-target "test" | |
4677 | - | #:phases | |
4678 | - | (modify-phases %standard-phases | |
4679 | - | (replace 'install | |
4680 | - | (lambda* (#:key outputs #:allow-other-keys) | |
4681 | - | (let ((target (string-append (assoc-ref outputs "out") | |
4682 | - | "/share/java"))) | |
4683 | - | (install-file (string-append "dist/commons-pool2-" ,version ".jar") | |
4684 | - | target))))))) | |
4823 | + | `(#:jar-name "common-pool.jar" | |
4824 | + | #:source-dir "src/main/java" | |
4825 | + | #:test-exclude | |
4826 | + | (list "**/PerformanceTest.java"))) | |
4685 | 4827 | (build-system ant-build-system) | |
4686 | 4828 | (inputs | |
4687 | 4829 | `(("java-cglib" ,java-cglib))) | |
… | |||
4698 | 4840 | (define-public java-commons-dbcp2 | |
4699 | 4841 | (package | |
4700 | 4842 | (name "java-commons-dbcp2") | |
4701 | - | (version "2.1") | |
4843 | + | (version "2.6.0") | |
4702 | 4844 | (source (origin | |
4703 | 4845 | (method url-fetch) | |
4704 | 4846 | (uri (string-append "mirror://apache/commons/dbcp/source/" | |
4705 | 4847 | "commons-dbcp2-" version "-src.tar.gz")) | |
4706 | 4848 | (sha256 | |
4707 | 4849 | (base32 | |
4708 | - | "023p6qlwyj8i75gcycxqi6i9b3rxpzq5pim0l37i8lrsvhhm19z1")))) | |
4850 | + | "0axbvcbnf2l70fc3ybrlp3siw2w4ka9mia2pnx4py8gz54cpw3rc")))) | |
4709 | 4851 | (arguments | |
4710 | 4852 | `(#:source-dir "src/main/java" | |
4711 | 4853 | #:jar-name "java-commons-dbcp.jar" | |
… | |||
4748 | 4890 | (define-public java-commons-jcs | |
4749 | 4891 | (package | |
4750 | 4892 | (name "java-commons-jcs") | |
4751 | - | (version "2.1") | |
4893 | + | (version "2.2.1") | |
4752 | 4894 | (source (origin | |
4753 | 4895 | (method url-fetch) | |
4754 | 4896 | (uri (string-append "mirror://apache/commons/jcs/source/" | |
4755 | 4897 | "commons-jcs-dist-" version "-src.tar.gz")) | |
4756 | 4898 | (sha256 | |
4757 | 4899 | (base32 | |
4758 | - | "17l78mpxx1qkgp213b91sl69wawv6xzgllr479mygbg76ygwpffv")))) | |
4900 | + | "0syhq2npjbrl0azqfjm0gvash1qd5qjy4qmysxcrqjsk0nf9fa1q")))) | |
4759 | 4901 | (build-system ant-build-system) | |
4760 | 4902 | (arguments | |
4761 | 4903 | `(#:jar-name "commons-jcs.jar" | |
… | |||
4769 | 4911 | (substitute* "commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/disk/jdbc/dsfactory/SharedPoolDataSourceFactory.java" | |
4770 | 4912 | (("commons.dbcp") "commons.dbcp2") | |
4771 | 4913 | ((".*\\.setMaxActive.*") "")) | |
4772 | - | ;; Remove dependency on velocity-tools | |
4773 | - | (delete-file "commons-jcs-core/src/main/java/org/apache/commons/jcs/admin/servlet/JCSAdminServlet.java")))))) | |
4914 | + | ;;; Remove dependency on velocity-tools | |
4915 | + | (delete-file "commons-jcs-core/src/main/java/org/apache/commons/jcs/admin/servlet/JCSAdminServlet.java") | |
4916 | + | #t))))) | |
4774 | 4917 | (propagated-inputs | |
4775 | - | `(("java-commons-logging-minimal" ,java-commons-logging-minimal) | |
4918 | + | `(("java-classpathx-servletapi" ,java-classpathx-servletapi) | |
4919 | + | ("java-commons-logging-minimal" ,java-commons-logging-minimal) | |
4776 | 4920 | ("java-commons-httpclient" ,java-commons-httpclient) | |
4777 | - | ("java-commons-dbcp" ,java-commons-dbcp2) | |
4778 | - | ("java-velocity" ,java-velocity))) | |
4921 | + | ("java-commons-dbcp" ,java-commons-dbcp2))) | |
4779 | 4922 | (native-inputs | |
4780 | 4923 | `(("java-junit" ,java-junit))) | |
4781 | 4924 | (home-page "https://commons.apache.org/proper/commons-jcs/") | |
… | |||
6230 | 6373 | (description "") | |
6231 | 6374 | (license license:bsd-2))) | |
6232 | 6375 | ||
6233 | - | (define-public java-jsonp | |
6376 | + | (define-public java-jsonp-api | |
6234 | 6377 | (package | |
6235 | - | (name "java-jsonp") | |
6378 | + | (name "java-jsonp-api") | |
6236 | 6379 | (version "1.1.3") | |
6237 | 6380 | (source (origin | |
6238 | 6381 | (method url-fetch) | |
… | |||
6244 | 6387 | "15d7rp4xb482h8r0j3j83wa34bmz84q89s9n8ydfgz6l492syfhc")))) | |
6245 | 6388 | (build-system ant-build-system) | |
6246 | 6389 | (arguments | |
6247 | - | `(#:jar-name "jsonp.jar" | |
6390 | + | `(#:jar-name "jsonp-api.jar" | |
6248 | 6391 | #:tests? #f | |
6249 | 6392 | #:source-dir "api/src/main/java" | |
6250 | 6393 | #:test-dir "api/src/test")) | |
… | |||
6254 | 6397 | (license (list license:gpl2 | |
6255 | 6398 | license:epl2.0)))) | |
6256 | 6399 | ||
6400 | + | (define-public java-jsonp-impl | |
6401 | + | (package | |
6402 | + | (inherit java-jsonp-api) | |
6403 | + | (name "java-jsonp-impl") | |
6404 | + | (arguments | |
6405 | + | `(#:jar-name "jsonp-impl.jar" | |
6406 | + | #:tests? #f | |
6407 | + | #:source-dir "impl/src/main/java" | |
6408 | + | #:test-dir "impl/src/test")) | |
6409 | + | (propagated-inputs | |
6410 | + | `(("java-jsonp-api" ,java-jsonp-api))))) | |
6411 | + | ||
6257 | 6412 | (define-public ant-junit | |
6258 | 6413 | (package | |
6259 | 6414 | (inherit ant) |