diff options
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/Manifest.gz | bin | 8334 -> 8989 bytes | |||
-rw-r--r-- | dev-scheme/guile-json/Manifest | 4 | ||||
-rw-r--r-- | dev-scheme/guile-json/guile-json-4.7.2.ebuild (renamed from dev-scheme/guile-json/guile-json-4.5.2.ebuild) | 1 | ||||
-rw-r--r-- | dev-scheme/guile-lzlib/Manifest | 3 | ||||
-rw-r--r-- | dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild | 36 | ||||
-rw-r--r-- | dev-scheme/guile-lzlib/metadata.xml | 12 | ||||
-rw-r--r-- | dev-scheme/guile-ssh/Manifest | 4 | ||||
-rw-r--r-- | dev-scheme/guile-ssh/files/guile-ssh-0.16.0-tests.patch | 19 | ||||
-rw-r--r-- | dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild | 44 | ||||
-rw-r--r-- | dev-scheme/guile-ssh/metadata.xml | 13 | ||||
-rw-r--r-- | dev-scheme/guile-zlib/Manifest | 4 | ||||
-rw-r--r-- | dev-scheme/guile-zlib/files/guile-zlib-0.1.0-gentoo.patch | 13 | ||||
-rw-r--r-- | dev-scheme/guile-zlib/guile-zlib-0.1.0.ebuild | 43 | ||||
-rw-r--r-- | dev-scheme/guile-zlib/metadata.xml | 12 | ||||
-rw-r--r-- | dev-scheme/guile-zstd/Manifest | 3 | ||||
-rw-r--r-- | dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild | 48 | ||||
-rw-r--r-- | dev-scheme/guile-zstd/metadata.xml | 12 |
17 files changed, 268 insertions, 3 deletions
diff --git a/dev-scheme/Manifest.gz b/dev-scheme/Manifest.gz Binary files differindex 7b285b8b7d6f..99b5bd8a6ca2 100644 --- a/dev-scheme/Manifest.gz +++ b/dev-scheme/Manifest.gz diff --git a/dev-scheme/guile-json/Manifest b/dev-scheme/guile-json/Manifest index 3e5b9489a039..0627cef410a4 100644 --- a/dev-scheme/guile-json/Manifest +++ b/dev-scheme/guile-json/Manifest @@ -1,7 +1,7 @@ -DIST guile-json-4.5.2.tar.gz 159925 BLAKE2B 5324da707f8c2962d06b2375d7844de0d2eb2adb0db9b4f2c9103c1bc9f0258b0ac29e6828d03d725e964f92fb85c1a7358b002a9b054c040e0fa25e6b4faf25 SHA512 ed189d49b0529f36f76bf16ea371ca6b9651cd40dd86f755062cea9fd93f5a4d8ceb571cc62bf0f88c404a2ab86ea6f7ccb682e81cd5bcdb78f0bdf52a39502b DIST guile-json-4.7.0.tar.gz 164524 BLAKE2B 70edfa44622889d8cce85395e8b68aee4c696bee414d352866bae129ba803ed27a075d9b4273bc0cc9f6135a84062cc5f24ec1f08eb85f73e9475d5b19fd3e90 SHA512 5400fbd8a2c3bcdebec306808dad7c9e2e3401baea501dc9b50186f6f9dfcaf4f3fb8ee0c3662f08aff7dda7ba355a8cdb90cfd3457e0a575fff9884a8345b09 DIST guile-json-4.7.1.tar.gz 162507 BLAKE2B ea2fe55fb9ddb8783c6260ecb80f882c811fd313781d57b2ebe73f553c666996778d91bf7cd00725165540069763922317e4595b6c97fa7ac2f5c793c11d2a23 SHA512 f96ca819ffebf8e736cb4e28ee8c6e80c5a7f6f2a064897a4dd7094e3e4b879ba7cd5780778c4dce0db4a938b7603d3352f4a30aab9cd35f47d7ff1c1e3208ac -EBUILD guile-json-4.5.2.ebuild 684 BLAKE2B 5041aaf1542531b9f547ecd095c29e813c6dda2798b977be0ca85adc13f690af9e7f8fbb21a7ad3a484dc51322e3fa0c5b67792f0ee16af9ddabdedf7a9daec7 SHA512 67416e59bd8a3d36e990cb80ad0530f93b45e6d23a4325dab585ffd9dad14acc661d0ae7ce14a4bb81f70be0cf7766faa4c0395f4430494a0fac632528c8c5b0 +DIST guile-json-4.7.2.tar.gz 164331 BLAKE2B 82ebcddd8106cee6c8a6676fc6ffa82f77de90cb33df6f052a6f5448e79e99d1728046111a636cb876a255ddbec3e740b0e9b32c91efaedf53b169e878a1c9f9 SHA512 f717e4554a2c816bf5b62931a561181c693bb8ae460c2c12e08d4c2d2bf7eb5734b69c1e4b236a0ba685d0db734b510a4c3c3e8134f3def42be8841fdb684b57 EBUILD guile-json-4.7.0.ebuild 676 BLAKE2B bbc1431ec0ac575d8b7047d3ba6635ab61f015ebf8e828ff49b93cca06f4989a65c423c94210d73c58b4ea3d0e92db8eb765040a3d7a791193460c203429dce0 SHA512 a79f542359121e507fea32ebc201af02efe52dff44c97bea3d2c390293efaad75fe389683f8edad7c0eefccf40be570231bc2b9c81c8b85e523ad626e7e7eeea EBUILD guile-json-4.7.1.ebuild 676 BLAKE2B bbc1431ec0ac575d8b7047d3ba6635ab61f015ebf8e828ff49b93cca06f4989a65c423c94210d73c58b4ea3d0e92db8eb765040a3d7a791193460c203429dce0 SHA512 a79f542359121e507fea32ebc201af02efe52dff44c97bea3d2c390293efaad75fe389683f8edad7c0eefccf40be570231bc2b9c81c8b85e523ad626e7e7eeea +EBUILD guile-json-4.7.2.ebuild 676 BLAKE2B bbc1431ec0ac575d8b7047d3ba6635ab61f015ebf8e828ff49b93cca06f4989a65c423c94210d73c58b4ea3d0e92db8eb765040a3d7a791193460c203429dce0 SHA512 a79f542359121e507fea32ebc201af02efe52dff44c97bea3d2c390293efaad75fe389683f8edad7c0eefccf40be570231bc2b9c81c8b85e523ad626e7e7eeea MISC metadata.xml 252 BLAKE2B 4680544207c9b29a195f9784832d934535f9626ed11fba23b8a84848b28db674789a8e9f919915919e6d38b144a4636699ba4b07a7160a634b794baf1b619b22 SHA512 758f7ad6a8a1ce8ae164517d615b08bb069e3cf680296159d323d7d34457b990b4657bb14fa9803d9fc77d69f6818b0d06636bcf442ad1bfa22aa2528ec97635 diff --git a/dev-scheme/guile-json/guile-json-4.5.2.ebuild b/dev-scheme/guile-json/guile-json-4.7.2.ebuild index 4e926c52001c..d2e78a2618c3 100644 --- a/dev-scheme/guile-json/guile-json-4.5.2.ebuild +++ b/dev-scheme/guile-json/guile-json-4.7.2.ebuild @@ -10,7 +10,6 @@ SRC_URI="http://download.savannah.nongnu.org/releases/guile-json/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RESTRICT="strip" RDEPEND=">=dev-scheme/guile-2.0.0:=" diff --git a/dev-scheme/guile-lzlib/Manifest b/dev-scheme/guile-lzlib/Manifest new file mode 100644 index 000000000000..f56d4b835076 --- /dev/null +++ b/dev-scheme/guile-lzlib/Manifest @@ -0,0 +1,3 @@ +DIST guile-lzlib-0.0.2.tar.gz 13291 BLAKE2B 0f43292a4616cfb218e3a2cbc7ba5ebccc0825d8df9a0874a55764a0a0d2961c581689be1142d586ac6926d32fc9023b27905f52ed131057fac15ba69d7d0b41 SHA512 1cede0d0194b2a8839979600ce680850e6cc2405912dcc84265b1f920c4069e94a85e79de3d61e5e7ccabc8ad8719d3759e28b45c16e70cc7c696af40e09cf1a +EBUILD guile-lzlib-0.0.2.ebuild 804 BLAKE2B 3d6859c9f58394224ca958d9a9c5b05350ffb8323685cc6b3e8754c1005a676fd8a9bee7f52581fd0ee06a17e7f74290ceb802e5fb4a2c11ea6effa3942d59b1 SHA512 1351f441f4af5582d5bdc7052dc074681012ed54c993f39cef8ad6fe527c831a7294df7a35d286325ad98cb3f25bf19b5272916e3c8a427b33468af29c186ca0 +MISC metadata.xml 365 BLAKE2B 129cfdbc98decfeb950220492754bb19b5558264e8edc26ba45a63d930b5164c82bb89d665af4e0961aa565862234f34118f8ccc745c73812c6eca8bf37e5648 SHA512 947e9e40a7c9770bc67031c0d1c6614a9d9eb16be451f1ea7d39f131dfdcb3a4e477e67a5908bf4bdebc7ec9dd810f5ba1fa524c4092fe7e55d07a505c7525c0 diff --git a/dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild new file mode 100644 index 000000000000..390b88d1e1f5 --- /dev/null +++ b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="GNU Guile library providing bindings to lzlib" +HOMEPAGE="https://notabug.org/guile-lzlib/guile-lzlib/" +SRC_URI="https://notabug.org/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-scheme/guile-2.0.0:= + app-arch/lzlib +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog HACKING NEWS README.org ) + +# guile generates ELF files without use of C or machine code +# It's a portage's false positive. bug #677600 +QA_PREBUILT='*[.]go' + +src_prepare() { + default + + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 + find "${S}" -name "*.scm" -exec touch {} + || die + + eautoreconf +} diff --git a/dev-scheme/guile-lzlib/metadata.xml b/dev-scheme/guile-lzlib/metadata.xml new file mode 100644 index 000000000000..086fd3b4559f --- /dev/null +++ b/dev-scheme/guile-lzlib/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>scheme@gentoo.org</email> + <name>Gentoo Scheme Project</name> + </maintainer> + <upstream> + <bugs-to>https://notabug.org/guile-lzlib/guile-lzlib/issues/</bugs-to> + </upstream> +</pkgmetadata> diff --git a/dev-scheme/guile-ssh/Manifest b/dev-scheme/guile-ssh/Manifest new file mode 100644 index 000000000000..87b030c3a229 --- /dev/null +++ b/dev-scheme/guile-ssh/Manifest @@ -0,0 +1,4 @@ +AUX guile-ssh-0.16.0-tests.patch 360 BLAKE2B 53d3669dd31a78bd0203b872a28cefc1362a5282a31e575a68e44e631bad43b4113969d8fc481cd3b7f042a0f38b0c0466889550ce84ef9e817c94b0df09a21b SHA512 b77b466743e603c0c33f4e38a11b396110379a032307c05dafa5a9290589f6f49e758fc93a50fd22881df0fa5b4f08ffe765d164455b879121de2560e21bffa5 +DIST guile-ssh-0.16.0.tar.gz 522003 BLAKE2B dfa6011bb8b220b9a365fde832434eca0c26b58361a919b36228a95a7b042eb68ef7a0d5aa4b0360119983dc63fe65175ae67fe74da38e90ca19a3914f3d6b07 SHA512 195d763e49fd2506c50fea25606ec1873e3c950851f0be0f91fd73842acb9104c89baa1c69daccc7b28b6504a4aa1648a4c049991a63ecf7336c03c48d23e570 +EBUILD guile-ssh-0.16.0.ebuild 982 BLAKE2B 2959f8fdd58c7de64cbff93a53dcd90d47bda20fe1dd8345dac0eae7f196063d78babd52173b22ca65a13b599140a0251cd3e556920259760435739e62df3afd SHA512 ec76b0fdde10d8a5006b0ae0a82d49b1f2c3a1a7695044589923a9f4b0346ce9250bcf18252aff84a2e263a7b46a5e25a4cfa93ab015bef089ff3184a92449b2 +MISC metadata.xml 431 BLAKE2B ffc50f05ec61ce0379d33825d3a8a6785160b534f958ee50baf65a4724780c116a92802c35d58af7303a161c77cb330e304e9a0d4c67e7ce5287f7f9c727c8f2 SHA512 54b85f6747b45a37e792aed4a4ded07c9f9bdae0e48fcc3f9ba249007f9027018bb5831a872912eee73d834d0e42cbd9c130fb101755d9691e0dc0948738b4f0 diff --git a/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-tests.patch b/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-tests.patch new file mode 100644 index 000000000000..dc5bfdeaa058 --- /dev/null +++ b/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-tests.patch @@ -0,0 +1,19 @@ +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 8eaa33f..5eaad69 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -23,14 +23,12 @@ if !CROSS_COMPILING + + SCM_TESTS = \ + log.scm \ +- server.scm \ + session.scm \ + client-server.scm \ + popen.scm \ + shell.scm \ + server-client.scm \ + sssh-ssshd.scm \ +- key.scm \ + tunnel.scm \ + dist.scm + diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild new file mode 100644 index 000000000000..c578969e8004 --- /dev/null +++ b/dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library providing access to the SSH protocol for GNU Guile" +HOMEPAGE="https://memory-heap.org/~avp/projects/guile-ssh/ + https://github.com/artyom-poptsov/guile-ssh/" +SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-scheme/guile-2.0.0:= + net-libs/libssh:0=[server] +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) +PATCHES=( "${FILESDIR}"/${P}-tests.patch ) + +# guile generates ELF files without use of C or machine code +# It's a portage's false positive. bug #677600 +QA_PREBUILT='*[.]go' + +src_prepare() { + default + + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 + find "${S}" -name "*.scm" -exec touch {} + || die + + eautoreconf +} + +src_install() { + default + + find "${ED}" -name "*.la" -delete || die +} diff --git a/dev-scheme/guile-ssh/metadata.xml b/dev-scheme/guile-ssh/metadata.xml new file mode 100644 index 000000000000..66dcc502864b --- /dev/null +++ b/dev-scheme/guile-ssh/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>scheme@gentoo.org</email> + <name>Gentoo Scheme Project</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/artyom-poptsov/guile-ssh/issues/</bugs-to> + <remote-id type="github">artyom-poptsov/guile-ssh</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-scheme/guile-zlib/Manifest b/dev-scheme/guile-zlib/Manifest new file mode 100644 index 000000000000..036b1fd33a86 --- /dev/null +++ b/dev-scheme/guile-zlib/Manifest @@ -0,0 +1,4 @@ +AUX guile-zlib-0.1.0-gentoo.patch 379 BLAKE2B 02d2736a3eccc61d4999aeea3772fe453c5ca1f342b9cf7572440f99d49c9eb354ee54a3fca43573db7a26ef2ec010dcd339265e80850672c2f058b8700e8089 SHA512 bca1126732448a48dc0885cc372a5deb55e89b1aff3799a050a380ceef64d8e52d1a8db6004cb31280b1573fe461d247556cb64397aaa349f7267a26d6ee931c +DIST guile-zlib-0.1.0.tar.gz 14652 BLAKE2B 10f0c4d312b07415f3846927a3a1d59aa62106bf0e4a4446ba6764486104053da544fc994491af6611154edb459bba7c55e79095695b90c28ce4237e24e3b98b SHA512 bf9201c7c01324a44ae86a673f4d1b92fd6f346d0be9d5a6390cc8be11d79d00a1cdee88c28ceb7fc5b99215198cf3ac368884381933e40babc85a21cbd300e3 +EBUILD guile-zlib-0.1.0.ebuild 1021 BLAKE2B 4370630ccfba3ce0d660d102355c9c6ed10b8864d2839895c7379fb9fd135339ca40886277fc94c969a305abb1ccb25bb58375956c6deb1793ddf158146bd972 SHA512 f6189342a08da9f7496d8cef92b9822d6577bad56f97ddbb5cbfa0b05963497bcdb50d989a7b655ba10158bb81a91de554a5a9e6d28cb7960ff5a7ebe6716040 +MISC metadata.xml 356 BLAKE2B 00ef20bfe70a10b0072b2da74e20aeba0e5292c10b93d76ae9745dd470f1ed1b31cf4b76160d5556305985ad89468403a0f3449c7a87c9c977540eddc28a22c5 SHA512 677dba48d7789520b3f3b57b162e58258a587357885a70e5ff6d4f1a1aca93301b76c51cd51b0add254c2b588ef5b22423a74abaf37c59e7d18f63e0e491147e diff --git a/dev-scheme/guile-zlib/files/guile-zlib-0.1.0-gentoo.patch b/dev-scheme/guile-zlib/files/guile-zlib-0.1.0-gentoo.patch new file mode 100644 index 000000000000..9d63512f8499 --- /dev/null +++ b/dev-scheme/guile-zlib/files/guile-zlib-0.1.0-gentoo.patch @@ -0,0 +1,13 @@ +Not upstreamable hack. Gentoo installs /usr/${libdir}/libz.so +linker script that redirects to /${libdir}/libz.so.1 + +Let's use ELF file directly. It also requires guile to support +direct loading and enforces >=guile-3. +--- a/zlib/config.scm.in ++++ b/zlib/config.scm.in +@@ -20,4 +20,4 @@ + #:export (%libz)) + + (define %libz +- "@LIBZ_LIBDIR@/libz") ++ "@LIBZ_LIBDIR@/libz.so.1") diff --git a/dev-scheme/guile-zlib/guile-zlib-0.1.0.ebuild b/dev-scheme/guile-zlib/guile-zlib-0.1.0.ebuild new file mode 100644 index 000000000000..fb293dfdba44 --- /dev/null +++ b/dev-scheme/guile-zlib/guile-zlib-0.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="GNU Guile library providing bindings to zlib" +HOMEPAGE="https://notabug.org/guile-zlib/guile-zlib/" +SRC_URI="https://notabug.org/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-scheme/guile-2.0.0:= + sys-libs/zlib +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog HACKING NEWS README.org ) +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +# guile generates ELF files without use of C or machine code +# It's a portage's false positive. bug #677600 +QA_PREBUILT='*[.]go' + +src_prepare() { + default + + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 + find "${S}" -name "*.scm" -exec touch {} + || die + + eautoreconf +} + +src_configure() { + # Gentoo installs zlib to /${libdir} and to /usr/${libdir}. + # We need /${libdir} with shared library here. + econf LIBZ_LIBDIR="${EPREFIX}/$(get_libdir)" +} diff --git a/dev-scheme/guile-zlib/metadata.xml b/dev-scheme/guile-zlib/metadata.xml new file mode 100644 index 000000000000..fdc4b2dc1015 --- /dev/null +++ b/dev-scheme/guile-zlib/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>scheme@gentoo.org</email> + <name>Gentoo Scheme Project</name> + </maintainer> + <upstream> + <bugs-to>https://notabug.org/guile-zlib/guile-zlib/</bugs-to> + </upstream> +</pkgmetadata> diff --git a/dev-scheme/guile-zstd/Manifest b/dev-scheme/guile-zstd/Manifest new file mode 100644 index 000000000000..7186cb39018c --- /dev/null +++ b/dev-scheme/guile-zstd/Manifest @@ -0,0 +1,3 @@ +DIST guile-zstd-0.1.1.tar.gz 21402 BLAKE2B 995034f977649b31308690a5a53372cb80274b6457b6b0344bc31f4451d00e61cc33b6ef890e8b7a75cb6a656e8db506a2390bc2c5d29552af7c68788a6388ee SHA512 23bd4b201a427eb02ae32bcd81d05adefcac3b4446dcb8a91d8ad2bed389d4ea92ffd81dfb6b3e7427b891fd25b7466ca53a97b1a943e390f13de977986fcad0 +EBUILD guile-zstd-0.1.1.ebuild 1437 BLAKE2B bdf369148c9154ec2db90bec0981c17218d0845dd7cc8518bae1883ea37f073e485b2d7fcc635de463494239136d15633cf95d6b0faea1dfe81b267715daab8a SHA512 e415fa27e0819bcb168fb5ddbc84c59f8b6c2a5f8350547cc0c6b1a4676575bf2a334b2326463abe22195a446ecb9e14f9b9730cde1082231071e513d031feb8 +MISC metadata.xml 356 BLAKE2B 3976b42db1d89d5cb88ef463628a6636f15075b069d3189ee4f5132fec86f2dbc137d0f213dcc0acb2300f213338b9e1922da72d24b3c96c73278d8883c57e8d SHA512 5874174dd23fd3039132fca418e6f5bd6910884f93c7364afe8bf930559e60cc881761b48710f475366c65b76e1d254e2cb1389fda037e907a58deb222dfac0a diff --git a/dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild b/dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild new file mode 100644 index 000000000000..efd8811afedd --- /dev/null +++ b/dev-scheme/guile-zstd/guile-zstd-0.1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="GNU Guile bindings to the zstd compression library" +HOMEPAGE="https://notabug.org/guile-zstd/guile-zstd/" +SRC_URI="https://notabug.org/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# In zstd-1.5.2-r2 library was moved from /usr/lib to /lib +RDEPEND=" + >=dev-scheme/guile-2.0.0:= + >=app-arch/zstd-1.5.2-r2 +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +# guile generates ELF files without use of C or machine code +# It's a portage's false positive. bug #677600 +QA_PREBUILT='*[.]go' + +src_prepare() { + default + + # Workaround gentoo-specific deviation where + # /usr/lib64/libzstd.so is a linker script that points to: + # GROUP ( /lib64/libzstd.so.1 ) + # This confuses guile-zstd and fails to open the library: + # substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception: + # substitute: In procedure load-foreign-library: file: "/usr/lib64/libzstd.so.1", + # message: "file not found" + # guix environment: error: `/usr/bin/guix substitute' died unexpectedly + sed "s|@ZSTD_LIBDIR@/libzstd.so.1|/$(get_libdir)/libzstd.so.1|" \ + -i "${S}"/zstd/config.scm.in || die + + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 + find "${S}" -name "*.scm" -exec touch {} + || die + + eautoreconf +} diff --git a/dev-scheme/guile-zstd/metadata.xml b/dev-scheme/guile-zstd/metadata.xml new file mode 100644 index 000000000000..6ea5fe42c7a9 --- /dev/null +++ b/dev-scheme/guile-zstd/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>scheme@gentoo.org</email> + <name>Gentoo Scheme Project</name> + </maintainer> + <upstream> + <bugs-to>https://notabug.org/guile-zstd/guile-zstd/</bugs-to> + </upstream> +</pkgmetadata> |