From d5a9c1629fd79cf21701c1700ec1f42828e41cd4 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 28 Aug 2024 11:05:37 +0300 Subject: [PATCH 01/52] guile.eclass: change directory back exclicitly in guile_foreach_impl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit einstalldocs notably benefits from the PWD being the correct source directory. Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- eclass/guile.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/guile.eclass b/eclass/guile.eclass index 9310cd060da9a..323d04ef11524 100644 --- a/eclass/guile.eclass +++ b/eclass/guile.eclass @@ -190,8 +190,9 @@ _guile_multibuild_wrapper() { local -x SLOTTED_ED="${SLOTTED_D}${EPREFIX}/" local -x GUILE_EFFECTIVE_VERSION="${GUILE_CURRENT_VERSION}" mkdir -p "${BUILD_DIR}" || die - cd "${BUILD_DIR}" || die + pushd "${BUILD_DIR}" >/dev/null || die "$@" + popd >/dev/null || die } # @VARIABLE: SLOTTED_D From c9437d666bfe46a73cb14e59573b66fcc3df47a0 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 18:02:31 +0300 Subject: [PATCH 02/52] app-office/gnucash: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- app-office/gnucash/gnucash-5.8-r100.ebuild | 233 +++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 234 insertions(+) create mode 100644 app-office/gnucash/gnucash-5.8-r100.ebuild diff --git a/app-office/gnucash/gnucash-5.8-r100.ebuild b/app-office/gnucash/gnucash-5.8-r100.ebuild new file mode 100644 index 0000000000000..23341e4589661 --- /dev/null +++ b/app-office/gnucash/gnucash-5.8-r100.ebuild @@ -0,0 +1,233 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_REQ_USE="regex" +GUILE_COMPAT=( 2-2 3-0 ) +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake flag-o-matic gnome2-utils guile-single python-single-r1 + +# Please bump with app-doc/gnucash-docs +DESCRIPTION="A personal finance manager" +HOMEPAGE="https://www.gnucash.org/" +SRC_URI="https://github.com/Gnucash/gnucash/releases/download/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +IUSE="aqbanking debug doc examples gnome-keyring +gui mysql nls ofx postgres python quotes smartcard sqlite test" + +# Currently restricting due to the following: +# https://bugs.gnucash.org/show_bug.cgi?id=799159#c1 +# +# Tests can be run but must first unmerge any existing GnuCash installation. +RESTRICT="test" + +# Examples doesn't build unless GUI is also built +REQUIRED_USE=" + ${GUILE_REQUIRED_USE} + examples? ( gui ) + python? ( ${PYTHON_REQUIRED_USE} ) + smartcard? ( aqbanking ) +" + +# dev-libs/boost must always be built with nls enabled. +# net-libs/aqbanking dropped gtk with v6. So, to simplify the +# dependency, we just rely on that. +RDEPEND=" + ${GUILE_DEPS} + >=dev-libs/glib-2.56.1:2 + >=sys-libs/zlib-1.1.4 + dev-libs/boost:=[icu,nls] + dev-libs/icu:= + dev-libs/libxml2:2 + dev-libs/libxslt + aqbanking? ( + >=net-libs/aqbanking-6[ofx?] + >=sys-libs/gwenhywfar-5.6.0:= + smartcard? ( sys-libs/libchipcard ) + ) + gnome-keyring? ( >=app-crypt/libsecret-0.18 ) + gui? ( + >=x11-libs/gtk+-3.22.30:3 + gnome-base/dconf + net-libs/webkit-gtk:4.1= + aqbanking? ( sys-libs/gwenhywfar:=[gtk] ) + ) + mysql? ( + dev-db/libdbi + dev-db/libdbi-drivers[mysql] + ) + ofx? ( >=dev-libs/libofx-0.9.12:= ) + postgres? ( + dev-db/libdbi + dev-db/libdbi-drivers[postgres] + ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + ) + quotes? ( + >=dev-perl/Finance-Quote-1.11 + dev-perl/JSON-Parse + dev-perl/HTML-TableExtract + ) + sqlite? ( + dev-db/libdbi + dev-db/libdbi-drivers[sqlite] + ) +" + +# gtest is a required dep +# see https://bugs.gnucash.org/show_bug.cgi?id=795250 +DEPEND=" + ${RDEPEND} + >=sys-devel/gettext-0.20 + dev-lang/perl + dev-perl/XML-Parser + dev-build/libtool + >=dev-cpp/gtest-1.8.0 +" +# distutils is not available in python3.12, but it is still in setuptools +BDEPEND=" + dev-lang/swig + >=dev-build/cmake-3.10 + virtual/pkgconfig + python? ( + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ') + ) +" + +PDEPEND=" + doc? ( + ~app-doc/gnucash-docs-${PV} + gnome-extra/yelp + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-5.0-exclude-license.patch" + "${FILESDIR}/${PN}-4.12-drop-broken-test.patch" + "${FILESDIR}/${PN}-5.6-no-werror.patch" + + # This is only to prevent webkit2gtk-4 from being selected. + # https://bugs.gentoo.org/893676 + "${FILESDIR}/${PN}-5.0-webkit2gtk-4.1.patch" +) + +pkg_setup() { + guile-single_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + guile_bump_sources + + # ODR violation in libgnucash/engine/test/utest-Account.cpp and libgnucash/engine/test/utest-Split.cpp + # with Fixture struct + use test && filter-lto + + # Fix tests writing to /tmp + local fixtestfiles=( + gnucash/report/test/test-report-html.scm + gnucash/report/reports/standard/test/test-invoice.scm + gnucash/report/reports/standard/test/test-new-owner-report.scm + gnucash/report/reports/standard/test/test-owner-report.scm + gnucash/report/reports/standard/test/test-transaction.scm + gnucash/report/reports/standard/test/test-portfolios.scm + gnucash/report/reports/standard/test/test-charts.scm + gnucash/report/test/test-report.scm + gnucash/report/test/test-commodity-utils.scm + gnucash/report/test/test-report-extras.scm + libgnucash/backend/dbi/test/test-backend-dbi-basic.cpp + libgnucash/backend/xml/test/test-xml-pricedb.cpp + ) + for x in "${fixtestfiles[@]}"; do + sed -i -e "s|\"/tmp/|\"${T}/|g" "${S}/${x}" || die "sed of ${S}/${x} failed" + done +} + +src_configure() { + export GUILE_AUTO_COMPILE=0 + + local sql_on_off="OFF" + if use mysql || use postgres || use sqlite ; then + sql_on_off="ON" + fi + + local mycmakeargs=( + -DCOMPILE_GSCHEMAS=OFF + -DDISABLE_NLS=$(usex !nls) + -DWITH_AQBANKING=$(usex aqbanking) + -DWITH_GNUCASH=$(usex gui) + -DWITH_OFX=$(usex ofx) + -DWITH_PYTHON=$(usex python) + -DWITH_SQL=${sql_on_off} + ) + + cmake_src_configure +} + +src_test() { + LOCALE_TESTS= + if type locale >/dev/null 2>&1; then + MY_LOCALES="$(locale -a)" + if [[ "${MY_LOCALES}" != *en_US* || + "${MY_LOCALES}" != *en_GB* || + "${MY_LOCALES}" != *fr_FR* ]] ; then + ewarn "Missing one or more of en_US, en_GB, or fr_FR locales." + else + LOCALE_TESTS=true + fi + else + ewarn "'locale' not found." + fi + + if [[ ! "${LOCALE_TESTS}" ]]; then + ewarn "Disabling test-qof and test-gnc-numeric." + echo 'set(CTEST_CUSTOM_TESTS_IGNORE test-qof test-gnc-numeric)' \ + > "${BUILD_DIR}"/CTestCustom.cmake || die "Failed to disable test-qof and test-gnc-numeric!" + fi + + cd "${BUILD_DIR}" || die "Failed to enter ${BUILD_DIR}" + XDG_DATA_HOME="${T}/$(whoami)" eninja check + cmake_src_test +} + +src_install() { + cmake_src_install + guile_unstrip_ccache + + use examples && docompress -x /usr/share/doc/${PF}/examples + + if use python ; then + python_optimize + python_optimize "${ED}"/usr/share/gnucash/python + fi +} + +pkg_postinst() { + if use gui ; then + xdg_icon_cache_update + gnome2_schemas_update + fi + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + if use gui ; then + xdg_icon_cache_update + gnome2_schemas_update + fi + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/profiles/package.mask b/profiles/package.mask index b679768985449..859cf0498dc8c 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -356,6 +356,7 @@ dev-scheme/guile-commonmark dev-scheme/guile:2.2 dev-scheme/guile:3.0 >=dev-build/make-4.4.1-r100 +>=app-office/gnucash-5.8-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From baf6d0529f1ddd62fcabeb5f4febf14e03739494 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 19:18:14 +0300 Subject: [PATCH 03/52] app-shells/gash: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- app-shells/gash/gash-0.3.0-r100.ebuild | 29 ++++++++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 30 insertions(+) create mode 100644 app-shells/gash/gash-0.3.0-r100.ebuild diff --git a/app-shells/gash/gash-0.3.0-r100.ebuild b/app-shells/gash/gash-0.3.0-r100.ebuild new file mode 100644 index 0000000000000..2dc3bad3b8f1b --- /dev/null +++ b/app-shells/gash/gash-0.3.0-r100.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) + +inherit guile-single + +DESCRIPTION="POSIX-compatible shell written in Guile Scheme" +HOMEPAGE="https://savannah.nongnu.org/projects/gash/" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="strip" + +REQUIRED_USE="${QUILE_REQUIRED_USE}" + +RDEPEND="${GUILE_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND="sys-apps/texinfo" + +src_prepare() { + guile-single_src_prepare + + sed -i -e "s|guile|${GUILE}|" tests/temporary-assignments.org || die +} diff --git a/profiles/package.mask b/profiles/package.mask index 859cf0498dc8c..546a400e094d7 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -357,6 +357,7 @@ dev-scheme/guile:2.2 dev-scheme/guile:3.0 >=dev-build/make-4.4.1-r100 >=app-office/gnucash-5.8-r100 +>=app-shells/gash-0.3.0-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From bd3739bf8a2151db6bb549bd18a9737cabe8c3f5 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 19:31:49 +0300 Subject: [PATCH 04/52] dev-build/remake: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- dev-build/remake/remake-4.3.1.1.6-r100.ebuild | 58 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 59 insertions(+) create mode 100644 dev-build/remake/remake-4.3.1.1.6-r100.ebuild diff --git a/dev-build/remake/remake-4.3.1.1.6-r100.ebuild b/dev-build/remake/remake-4.3.1.1.6-r100.ebuild new file mode 100644 index 0000000000000..7a08d41b85420 --- /dev/null +++ b/dev-build/remake/remake-4.3.1.1.6-r100.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) + +inherit guile-single flag-o-matic + +MY_MAKE_BASE=$(ver_cut 1-2) +MY_REMAKE_PATCH=$(ver_cut 4-) +MY_P="${PN}-${MY_MAKE_BASE}+dbg-${MY_REMAKE_PATCH}" + +DESCRIPTION="Patched version of GNU Make with improved error reporting, tracing and debugging" +HOMEPAGE="http://bashdb.sourceforge.net/remake/" +SRC_URI="https://github.com/rocky/remake/releases/download/${MY_P}/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="guile readline" + +REQUIRED_USE="guile? ( ${GUILE_REQUIRED_USE} )" + +RDEPEND=" + guile? ( ${GUILE_DEPS} ) + readline? ( sys-libs/readline:0= ) +" +DEPEND="${RDEPEND}" + +pkg_setup() { + use guile && guile-single_pkg_setup +} + +src_prepare() { + default + + use guile && guile_bump_sources +} + +src_configure() { + # Fixed in upstream make/gnulib, just not yet propagated into remake (bug #863827) + filter-lto + + use readline || export vl_cv_lib_readline=no + econf $(use_with guile) +} + +src_install() { + default + + use guile && guile_unstrip_ccache + + # delete files GNU make owns and remake doesn't care about. + rm -r "${ED}"/usr/include || die + rm "${ED}"/usr/share/info/make.info* || die +} diff --git a/profiles/package.mask b/profiles/package.mask index 546a400e094d7..fb82a27d4efd7 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -358,6 +358,7 @@ dev-scheme/guile:3.0 >=dev-build/make-4.4.1-r100 >=app-office/gnucash-5.8-r100 >=app-shells/gash-0.3.0-r100 +>=dev-build/remake-4.3.1.1.6-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From c228a2e1ca646f2c29c44009747b34570d842954 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 19:38:41 +0300 Subject: [PATCH 05/52] dev-debug/gdb: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- dev-debug/gdb/gdb-15.1-r100.ebuild | 325 +++++++++++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 326 insertions(+) create mode 100644 dev-debug/gdb/gdb-15.1-r100.ebuild diff --git a/dev-debug/gdb/gdb-15.1-r100.ebuild b/dev-debug/gdb/gdb-15.1-r100.ebuild new file mode 100644 index 0000000000000..4d5d83a579f73 --- /dev/null +++ b/dev-debug/gdb/gdb-15.1-r100.ebuild @@ -0,0 +1,325 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging +# tips & notes. + +GUILE_COMPAT=( 2-2 3-0 ) +PYTHON_COMPAT=( python3_{10..12} ) +inherit flag-o-matic guile-single python-single-r1 strip-linguas toolchain-funcs + +export CTARGET=${CTARGET:-${CHOST}} + +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } + +case ${PV} in + 9999*) + # live git tree + EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git" + inherit git-r3 + SRC_URI="" + ;; + *.*.50_p2???????|*.*.90_p2???????) + # Weekly snapshots + MY_PV="${PV/_p/.}" + SRC_URI=" + https://sourceware.org/pub/gdb/snapshots/branch/gdb-weekly-${MY_PV}.tar.xz + https://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-${MY_PV}.tar.xz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-weekly-${MY_PV}.tar.xz + " + S="${WORKDIR}/${PN}-${MY_PV}" + + # e.g. 13.1.90_p20230325 is a snapshot on the stable branch, so it's fine + if [[ ${PV} == *.[123456789].9?_p2??????? ]] ; then + REGULAR_RELEASE=1 + fi + ;; + *.*.9?) + # Prereleases + MY_PV="${PV/_p/.}" + SRC_URI=" + https://sourceware.org/pub/gdb/snapshots/branch/gdb-${MY_PV}.tar.xz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/gdb-${MY_PV}.tar.xz + " + S="${WORKDIR}/${PN}-${MY_PV}" + ;; + *) + # Normal upstream release + SRC_URI=" + mirror://gnu/gdb/${P}.tar.xz + https://sourceware.org/pub/gdb/releases/${P}.tar.xz + " + + REGULAR_RELEASE=1 +esac + +PATCH_DEV="" +PATCH_VER="" +DESCRIPTION="GNU debugger" +HOMEPAGE="https://sourceware.org/gdb/" +SRC_URI=" + ${SRC_URI} + ${PATCH_DEV:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${CATEGORY}/${PN}/${P}-patches-${PATCH_VER}.tar.xz} + ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz} +" + +LICENSE="GPL-3+ LGPL-2.1+" +SLOT="0" +IUSE="cet debuginfod guile lzma multitarget nls +python +server sim source-highlight test vanilla xml xxhash zstd" +if [[ -n ${REGULAR_RELEASE} ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +fi +REQUIRED_USE=" + guile? ( ${GUILE_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/mpfr:= + dev-libs/gmp:= + >=sys-libs/ncurses-5.2-r2:= + >=sys-libs/readline-7:= + sys-libs/zlib + elibc_glibc? ( net-libs/libnsl:= ) + debuginfod? ( + dev-libs/elfutils[debuginfod(-)] + ) + lzma? ( app-arch/xz-utils ) + python? ( ${PYTHON_DEPS} ) + guile? ( ${GUILE_DEPS} ) + xml? ( dev-libs/expat ) + source-highlight? ( + dev-util/source-highlight + ) + xxhash? ( + dev-libs/xxhash + ) + zstd? ( app-arch/zstd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-arch/xz-utils + sys-apps/texinfo + app-alternatives/yacc + nls? ( sys-devel/gettext ) + source-highlight? ( virtual/pkgconfig ) + test? ( dev-util/dejagnu ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + MIN # gnulib FP (bug #898688) +) + +QA_PREBUILT="usr/share/gdb/guile/*" + +PATCHES=( + "${FILESDIR}"/${PN}-8.3.1-verbose-build.patch +) + +pkg_setup() { + use guile && guile-single_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + use guile && guile_bump_sources + + strip-linguas -u bfd/po opcodes/po + + # Avoid using ancient termcap from host on Prefix systems + sed -i -e 's/termcap tinfow/tinfow/g' \ + gdb/configure{.ac,} || die +} + +gdb_branding() { + printf "Gentoo ${PV} " + + if ! use vanilla && [[ -n ${PATCH_VER} ]] ; then + printf "p${PATCH_VER}" + else + printf "vanilla" + fi + + [[ -n ${EGIT_COMMIT} ]] && printf " ${EGIT_COMMIT}" +} + +src_configure() { + strip-unsupported-flags + + # See https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html + # Avoid really confusing logs from subconfigure spam, makes logs far + # more legible. + MAKEOPTS="--output-sync=line ${MAKEOPTS}" + + local myconf=( + # portage's econf() does not detect presence of --d-d-t + # because it greps only top-level ./configure. But not + # libiberty's or gdb's configure. + --disable-dependency-tracking + --disable-silent-rules + + --with-pkgversion="$(gdb_branding)" + --with-bugurl='https://bugs.gentoo.org/' + --disable-werror + # Disable modules that are in a combined binutils/gdb tree. bug #490566 + --disable-{binutils,etc,gas,gold,gprof,gprofng,ld} + + $(use_with debuginfod) + + $(use_enable test unit-tests) + + # Allow user to opt into CET for host libraries. + # Ideally we would like automagic-or-disabled here. + # But the check does not quite work on i686: bug #760926. + $(use_enable cet) + + # Helps when cross-compiling. Not to be confused with --with-sysroot. + --with-build-sysroot="${ESYSROOT}" + ) + + is_cross && myconf+=( + --with-sysroot="\${prefix}/${CTARGET}" + --includedir="\${prefix}/include/${CTARGET}" + --with-gdb-datadir="\${datadir}/gdb/${CTARGET}" + ) + + # gdbserver only works for native targets (CHOST==CTARGET). + # it also doesn't support all targets, so rather than duplicate + # the target list (which changes between versions), use the + # "auto" value when things are turned on, which is triggered + # whenever no --enable or --disable is given + if is_cross || use !server ; then + myconf+=( --disable-gdbserver ) + fi + + myconf+=( + --enable-64-bit-bfd + --disable-install-libbfd + --disable-install-libiberty + --enable-obsolete + # This only disables building in the readline subdir. + # For gdb itself, it'll use the system version. + --disable-readline + --with-system-readline + # This only disables building in the zlib subdir. + # For gdb itself, it'll use the system version. + --without-zlib + --with-system-zlib + --with-separate-debug-dir="${EPREFIX}"/usr/lib/debug + $(use_with xml expat) + $(use_with lzma) + $(use_enable nls) + $(use_enable sim) + $(use_enable source-highlight) + $(use multitarget && echo --enable-targets=all) + $(use_with python python "${EPYTHON}") + $(use_with xxhash) + $(use_with guile) + $(use_with zstd) + + # Find libraries using the toolchain sysroot rather than the configured + # prefix. Needed when cross-compiling. + # + # Check which libraries to apply this to with: + # "${S}"/gdb/configure --help | grep without-lib | sort + --without-lib{babeltrace,expat,gmp,iconv,ipt,lzma,mpfr,xxhash}-prefix + ) + + # source-highlight is detected with pkg-config: bug #716558 + export ac_cv_path_pkg_config_prog_path="$(tc-getPKG_CONFIG)" + + export CC_FOR_BUILD="$(tc-getBUILD_CC)" + + # ensure proper compiler is detected for Clang builds: bug #831202 + export GCC_FOR_TARGET="${CC_FOR_TARGET:-$(tc-getCC)}" + + econf "${myconf[@]}" +} + +src_test() { + # Run the unittests (nabbed invocation from Fedora's spec file) at least + emake -k -C gdb run GDBFLAGS='-batch -ex "maintenance selftest"' + + # Too many failures + # In fact, gdb's test suite needs some work to get passing. + # See e.g. https://sourceware.org/gdb/wiki/TestingGDB. + # As of 11.2, on amd64: "# of unexpected failures 8600" + # Also, ia64 kernel crashes when gdb testsuite is running. + #emake -k check +} + +src_install() { + emake DESTDIR="${D}" install + + find "${ED}"/usr -name libiberty.a -delete || die + + # Delete translations that conflict with binutils-libs. bug #528088 + # Note: Should figure out how to store these in an internal gdb dir. + if use nls ; then + find "${ED}" \ + -regextype posix-extended -regex '.*/(bfd|opcodes)[.]g?mo$' \ + -delete || die + fi + + # Don't install docs when building a cross-gdb + if [[ ${CTARGET} != ${CHOST} ]] ; then + rm -rf "${ED}"/usr/share/{doc,info,locale} || die + local f + for f in "${ED}"/usr/share/man/*/* ; do + if [[ ${f##*/} != ${CTARGET}-* ]] ; then + mv "${f}" "${f%/*}/${CTARGET}-${f##*/}" || die + fi + done + return 0 + fi + + # Install it by hand for now: + # https://sourceware.org/ml/gdb-patches/2011-12/msg00915.html + # Only install if it exists due to the twisted behavior (see + # notes in src_configure above). + [[ -e gdbserver/gdbreplay ]] && dobin gdbserver/gdbreplay + + docinto gdb + dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ + gdb/NEWS gdb/PROBLEMS + docinto sim + dodoc sim/{MAINTAINERS,README-HACKING} + + if use server ; then + docinto gdbserver + dodoc gdbserver/README + fi + + # Remove shared info pages + rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,ctf-spec,standards}.info* + + use guile && guile_unstrip_ccache + + if use python ; then + python_optimize "${ED}"/usr/share/gdb/python/gdb + fi +} + +pkg_postinst() { + # Portage doesn't unmerge files in /etc + rm -vf "${EROOT}"/etc/skel/.gdbinit + + if use prefix && [[ ${CHOST} == *-darwin* ]] ; then + ewarn "gdb is unable to get a mach task port when installed by Prefix" + ewarn "Portage, unprivileged. To make gdb fully functional you'll" + ewarn "have to perform the following steps:" + ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb" + ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb" + fi +} diff --git a/profiles/package.mask b/profiles/package.mask index fb82a27d4efd7..9b2e8c4c1718e 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -359,6 +359,7 @@ dev-scheme/guile:3.0 >=app-office/gnucash-5.8-r100 >=app-shells/gash-0.3.0-r100 >=dev-build/remake-4.3.1.1.6-r100 +>=dev-debug/gdb-15.1-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 74e9a383d52d805fca59bd4b730f1929b52caace Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 28 Aug 2024 11:02:30 +0300 Subject: [PATCH 06/52] dev-debug/gdb: update live to use new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- dev-debug/gdb/gdb-9999.ebuild | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/dev-debug/gdb/gdb-9999.ebuild b/dev-debug/gdb/gdb-9999.ebuild index c35dad1f342f9..90eaaa3ee62d4 100644 --- a/dev-debug/gdb/gdb-9999.ebuild +++ b/dev-debug/gdb/gdb-9999.ebuild @@ -6,8 +6,9 @@ EAPI=8 # See https://sourceware.org/gdb/wiki/DistroAdvice for general packaging # tips & notes. +GUILE_COMPAT=( 2-2 3-0 ) PYTHON_COMPAT=( python3_{10..12} ) -inherit flag-o-matic python-single-r1 strip-linguas toolchain-funcs +inherit flag-o-matic guile-single python-single-r1 strip-linguas toolchain-funcs export CTARGET=${CTARGET:-${CHOST}} @@ -76,7 +77,10 @@ IUSE="cet debuginfod guile lzma multitarget nls +python +server sim source-highl if [[ -n ${REGULAR_RELEASE} ]] ; then KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" fi -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +REQUIRED_USE=" + guile? ( ${GUILE_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) +" RESTRICT="!test? ( test )" RDEPEND=" @@ -91,7 +95,7 @@ RDEPEND=" ) lzma? ( app-arch/xz-utils ) python? ( ${PYTHON_DEPS} ) - guile? ( >=dev-scheme/guile-2.0 ) + guile? ( ${GUILE_DEPS} ) xml? ( dev-libs/expat ) source-highlight? ( dev-util/source-highlight @@ -115,17 +119,22 @@ QA_CONFIG_IMPL_DECL_SKIP=( MIN # gnulib FP (bug #898688) ) +QA_PREBUILT="usr/share/gdb/guile/*" + PATCHES=( "${FILESDIR}"/${PN}-8.3.1-verbose-build.patch ) pkg_setup() { + use guile && guile-single_pkg_setup use python && python-single-r1_pkg_setup } src_prepare() { default + use guile && guile_bump_sources + strip-linguas -u bfd/po opcodes/po # Avoid using ancient termcap from host on Prefix systems @@ -303,6 +312,8 @@ src_install() { # Remove shared info pages rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,ctf-spec,standards}.info* + use guile && guile_unstrip_ccache + if use python ; then python_optimize "${ED}"/usr/share/gdb/python/gdb fi From fcf92a71f36488459201e4bb85dd050beb5c9d78 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 20:00:34 +0300 Subject: [PATCH 07/52] dev-scheme/akku: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- dev-scheme/akku/akku-1.1.0-r100.ebuild | 49 ++++++++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 50 insertions(+) create mode 100644 dev-scheme/akku/akku-1.1.0-r100.ebuild diff --git a/dev-scheme/akku/akku-1.1.0-r100.ebuild b/dev-scheme/akku/akku-1.1.0-r100.ebuild new file mode 100644 index 0000000000000..f34a1d8afdf70 --- /dev/null +++ b/dev-scheme/akku/akku-1.1.0-r100.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +DESCRIPTION="Language package manager for Scheme" +HOMEPAGE="https://akkuscm.org/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/akkuscm/${PN}.git" +else + SRC_URI="https://gitlab.com/akkuscm/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-v${PV}" +fi + +LICENSE="GPL-3+" +SLOT="0" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +# tests require network access +RESTRICT="test" + +RDEPEND=" + ${GUILE_DEPS} + net-misc/curl[ssl] +" +DEPEND="${RDEPEND}" + +# Installs into its own path +# https://gitlab.com/akkuscm/akku/-/commit/d25da297fec2a2b16427359a2cbb0ec745dd8c58 +QA_PREBUILT="usr/*/${PN}/guile/*/site-ccache/*" + +src_prepare() { + guile_src_prepare + + eautoreconf +} + +src_compile() { + touch bootstrap.db || die + + guile_src_compile +} diff --git a/profiles/package.mask b/profiles/package.mask index 9b2e8c4c1718e..e665148184031 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -360,6 +360,7 @@ dev-scheme/guile:3.0 >=app-shells/gash-0.3.0-r100 >=dev-build/remake-4.3.1.1.6-r100 >=dev-debug/gdb-15.1-r100 +>=dev-scheme/akku-1.1.0-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 16dfd1b0a82474f491f19189f89956e03de8e691 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 20:01:44 +0300 Subject: [PATCH 08/52] dev-scheme/akku: use better compression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- dev-scheme/akku/Manifest | 1 + dev-scheme/akku/akku-1.1.0-r100.ebuild | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-scheme/akku/Manifest b/dev-scheme/akku/Manifest index f2de041e47b6d..f92298f6e8f67 100644 --- a/dev-scheme/akku/Manifest +++ b/dev-scheme/akku/Manifest @@ -1 +1,2 @@ +DIST akku-v1.1.0.tar.bz2 415934 BLAKE2B 71bed28261307e0bff9f0c277795c8b6b4621d13385dc21290408ee189467b15a6e9cd607522b5881328ab8c9e99331e76846d7cf1e2c655b7591dc06294de22 SHA512 8eb61db9196ba95aa6f45acab609e2daf31d52245907ce49c2d2e2d34ee9b2da91baefd3bb2600d0e215bbcefc5e08a0f51555e362d726d7b1fc988215df6ad6 DIST akku-v1.1.0.tar.gz 492996 BLAKE2B 7e3d549ed7f7fc0b6e84a41ff03d66398d2a464d6aa65dc92780a2b657d4476fef592543fba0fefe0da8ee429d97d4dcc0cf13ecd53c7be425b3f292b7b1c93d SHA512 e728bd80aaa21ca896e054e71a17ee519608b7c436f9613c688dba666f0120562174b7dca3156299528c1063a74e8faa8b8a77d1b7166d7506dec6b51d555825 diff --git a/dev-scheme/akku/akku-1.1.0-r100.ebuild b/dev-scheme/akku/akku-1.1.0-r100.ebuild index f34a1d8afdf70..e0757d0bb958a 100644 --- a/dev-scheme/akku/akku-1.1.0-r100.ebuild +++ b/dev-scheme/akku/akku-1.1.0-r100.ebuild @@ -13,7 +13,7 @@ if [[ "${PV}" == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://gitlab.com/akkuscm/${PN}.git" else - SRC_URI="https://gitlab.com/akkuscm/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz" + SRC_URI="https://gitlab.com/akkuscm/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" KEYWORDS="~amd64" S="${WORKDIR}/${PN}-v${PV}" fi From c4e2638d4c2dd26ac7f5b900d59e098a939bd764 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 20:28:01 +0300 Subject: [PATCH 09/52] dev-scheme/bytestructures: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../bytestructures-2.0.2-r100.ebuild | 26 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 27 insertions(+) create mode 100644 dev-scheme/bytestructures/bytestructures-2.0.2-r100.ebuild diff --git a/dev-scheme/bytestructures/bytestructures-2.0.2-r100.ebuild b/dev-scheme/bytestructures/bytestructures-2.0.2-r100.ebuild new file mode 100644 index 0000000000000..1739ac8b7c620 --- /dev/null +++ b/dev-scheme/bytestructures/bytestructures-2.0.2-r100.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +DESCRIPTION="Structured access to bytevector contents" +HOMEPAGE="https://github.com/TaylanUB/scheme-bytestructures/" +SRC_URI="https://github.com/TaylanUB/scheme-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/scheme-${P}" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND="${GUILE_DEPS}" +DEPEND="${RDEPEND}" + +src_prepare() { + guile_src_prepare + eautoreconf +} diff --git a/profiles/package.mask b/profiles/package.mask index e665148184031..11f9e3e761f2e 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -361,6 +361,7 @@ dev-scheme/guile:3.0 >=dev-build/remake-4.3.1.1.6-r100 >=dev-debug/gdb-15.1-r100 >=dev-scheme/akku-1.1.0-r100 +>=dev-scheme/bytestructures-2.0.2-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 210ac029a78b590cc3876613fb0259b081832857 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 20:39:02 +0300 Subject: [PATCH 10/52] dev-scheme/fibers: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../fibers/fibers-1.2.0_p20230522-r100.ebuild | 41 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 42 insertions(+) create mode 100644 dev-scheme/fibers/fibers-1.2.0_p20230522-r100.ebuild diff --git a/dev-scheme/fibers/fibers-1.2.0_p20230522-r100.ebuild b/dev-scheme/fibers/fibers-1.2.0_p20230522-r100.ebuild new file mode 100644 index 0000000000000..c27f6e424d588 --- /dev/null +++ b/dev-scheme/fibers/fibers-1.2.0_p20230522-r100.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +[[ ${PV} == *_p20230522 ]] && COMMIT=83712f630a976e3084329c9917c40bde19fcc7e5 + +DESCRIPTION="Lightweight concurrency facility for Guile Scheme" +HOMEPAGE="https://github.com/wingo/fibers/ + https://github.com/wingo/fibers/wiki/Manual/" +SRC_URI="https://github.com/wingo/${PN}/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${COMMIT} + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND="${GUILE_DEPS}" +DEPEND="${RDEPEND}" + +src_prepare() { + guile_src_prepare + + eautoreconf +} + +src_configure() { + guile_foreach_impl econf --disable-Werror +} + +src_install() { + guile_src_install + + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/profiles/package.mask b/profiles/package.mask index 11f9e3e761f2e..2d5e2423b59d3 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -362,6 +362,7 @@ dev-scheme/guile:3.0 >=dev-debug/gdb-15.1-r100 >=dev-scheme/akku-1.1.0-r100 >=dev-scheme/bytestructures-2.0.2-r100 +>=dev-scheme/fibers-1.2.0_p20230522-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 52815df155b9d8c8442bd358e4d8c4fb289b142b Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 20:45:29 +0300 Subject: [PATCH 11/52] dev-scheme/goosh: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- dev-scheme/goosh/goosh-1.3-r100.ebuild | 20 ++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 21 insertions(+) create mode 100644 dev-scheme/goosh/goosh-1.3-r100.ebuild diff --git a/dev-scheme/goosh/goosh-1.3-r100.ebuild b/dev-scheme/goosh/goosh-1.3-r100.ebuild new file mode 100644 index 0000000000000..a5bff0f6faef9 --- /dev/null +++ b/dev-scheme/goosh/goosh-1.3-r100.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit guile + +DESCRIPTION="Small process-control library for Guile" +HOMEPAGE="http://arglist.com/guile/" +SRC_URI="http://arglist.com/guile/${P}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND="${GUILE_DEPS}" +BDEPEND="${RDEPEND}" diff --git a/profiles/package.mask b/profiles/package.mask index 2d5e2423b59d3..8a798f77ae3ae 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -363,6 +363,7 @@ dev-scheme/guile:3.0 >=dev-scheme/akku-1.1.0-r100 >=dev-scheme/bytestructures-2.0.2-r100 >=dev-scheme/fibers-1.2.0_p20230522-r100 +>=dev-scheme/goosh-1.3-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 8bbb503e7be24fd9102e1aa580f7adce3399341e Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 20:58:27 +0300 Subject: [PATCH 12/52] dev-scheme/guile-colorized: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-colorized-0.1_p20191205-r100.ebuild | 42 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 43 insertions(+) create mode 100644 dev-scheme/guile-colorized/guile-colorized-0.1_p20191205-r100.ebuild diff --git a/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205-r100.ebuild b/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205-r100.ebuild new file mode 100644 index 0000000000000..d8f4c69f42d01 --- /dev/null +++ b/dev-scheme/guile-colorized/guile-colorized-0.1_p20191205-r100.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit guile + +DESCRIPTION="Colorized REPL for GNU Guile" +HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/NalaGinrut/${PN}.git" +else + # Latest release (before this commit from 2019) was in 2015 + COMMIT_SHA="1625a79f0e31849ebd537e2a58793fb45678c58f" + SRC_URI="https://gitlab.com/NalaGinrut/${PN}/-/archive/${COMMIT_SHA}.tar.bz2 -> ${P}.tar.bz2" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-${COMMIT_SHA}" +fi + +LICENSE="GPL-3" +SLOT="0" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND="${GUILE_DEPS}" +DEPEND="${RDEPEND}" + +src_install() { + my_install() { + local loadpath=$(${GUILE} -c '(display (string-append (car %load-path) "/ice-9"))') + mkdir -p "${SLOTTED_D}${loadpath}" || die + emake -C "${S}" TARGET="${SLOTTED_D}${loadpath}" install + } + guile_foreach_impl my_install + guile_merge_roots + guile_unstrip_ccache + + einstalldocs +} diff --git a/profiles/package.mask b/profiles/package.mask index 8a798f77ae3ae..e110690f94286 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -364,6 +364,7 @@ dev-scheme/guile:3.0 >=dev-scheme/bytestructures-2.0.2-r100 >=dev-scheme/fibers-1.2.0_p20230522-r100 >=dev-scheme/goosh-1.3-r100 +>=dev-scheme/guile-colorized-0.1_p20191205-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 735384bca968b8c7f06ec49861df30d636a0e206 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 28 Aug 2024 12:15:07 +0300 Subject: [PATCH 13/52] dev-scheme/guile-colorized: update live to use new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-colorized-9999.ebuild | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/dev-scheme/guile-colorized/guile-colorized-9999.ebuild b/dev-scheme/guile-colorized/guile-colorized-9999.ebuild index 79eef16351ba6..d8f4c69f42d01 100644 --- a/dev-scheme/guile-colorized/guile-colorized-9999.ebuild +++ b/dev-scheme/guile-colorized/guile-colorized-9999.ebuild @@ -1,8 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +GUILE_COMPAT=( 2-2 3-0 ) +inherit guile + DESCRIPTION="Colorized REPL for GNU Guile" HOMEPAGE="https://gitlab.com/NalaGinrut/guile-colorized/" @@ -20,20 +23,20 @@ fi LICENSE="GPL-3" SLOT="0" -RDEPEND=">=dev-scheme/guile-2.0.9:=" +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND="${GUILE_DEPS}" DEPEND="${RDEPEND}" -src_prepare() { - default - - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die -} - src_install() { - einstalldocs + my_install() { + local loadpath=$(${GUILE} -c '(display (string-append (car %load-path) "/ice-9"))') + mkdir -p "${SLOTTED_D}${loadpath}" || die + emake -C "${S}" TARGET="${SLOTTED_D}${loadpath}" install + } + guile_foreach_impl my_install + guile_merge_roots + guile_unstrip_ccache - local loadpath=$(guile -c '(display (string-append (car %load-path) "/ice-9"))') - mkdir -p "${D}${loadpath}" - emake TARGET="${D}${loadpath}" install + einstalldocs } From b058311db6d9989a3b3f697f2f10c4dc05f57604 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 21:01:32 +0300 Subject: [PATCH 14/52] dev-scheme/guile-config: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-config-0.5.1-r100.ebuild | 25 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 26 insertions(+) create mode 100644 dev-scheme/guile-config/guile-config-0.5.1-r100.ebuild diff --git a/dev-scheme/guile-config/guile-config-0.5.1-r100.ebuild b/dev-scheme/guile-config/guile-config-0.5.1-r100.ebuild new file mode 100644 index 0000000000000..3b2f6ea9a42a7 --- /dev/null +++ b/dev-scheme/guile-config/guile-config-0.5.1-r100.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +DESCRIPTION="Guile application configuration parsing library" +HOMEPAGE="https://gitlab.com/a-sassmannshausen/guile-config/" +SRC_URI="https://gitlab.com/a-sassmannshausen/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND="${GUILE_DEPS}" +DEPEND="${RDEPEND}" + +src_prepare() { + guile_src_prepare + eautoreconf +} diff --git a/profiles/package.mask b/profiles/package.mask index e110690f94286..8024b5f3e8f54 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -365,6 +365,7 @@ dev-scheme/guile:3.0 >=dev-scheme/fibers-1.2.0_p20230522-r100 >=dev-scheme/goosh-1.3-r100 >=dev-scheme/guile-colorized-0.1_p20191205-r100 +>=dev-scheme/guile-config-0.5.1-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From de45bcb51e5a7f4263e6ddb45ffc2616b6a52220 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 21:43:01 +0300 Subject: [PATCH 15/52] dev-scheme/guile-dbi: add 2.1.9 + switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- dev-scheme/guile-dbi/Manifest | 1 + ...uile-dbi-2.1.9-find-correct-site-dir.patch | 32 +++++++++++++++ dev-scheme/guile-dbi/guile-dbi-2.1.9.ebuild | 40 +++++++++++++++++++ profiles/package.mask | 1 + 4 files changed, 74 insertions(+) create mode 100644 dev-scheme/guile-dbi/files/guile-dbi-2.1.9-find-correct-site-dir.patch create mode 100644 dev-scheme/guile-dbi/guile-dbi-2.1.9.ebuild diff --git a/dev-scheme/guile-dbi/Manifest b/dev-scheme/guile-dbi/Manifest index c65f56f71ecbe..3a9066697cb9c 100644 --- a/dev-scheme/guile-dbi/Manifest +++ b/dev-scheme/guile-dbi/Manifest @@ -1 +1,2 @@ DIST guile-dbi-2.1.8.tar.gz 85842 BLAKE2B 6be2f559bd0b194153d3b6659a6f794227c7b0d5c4f9f9f927398fa5af59913a4a56ef12b6e69756c66275b5dbad6861eea7a92adf4e247ca14ad017aa1daa30 SHA512 f3bb94feebe472fc23e891634c5281bc7e7597574ab7acb4b9cdfa59ee6510723550b2cfb1df3f0d9adc919ce0000478e78a6c2f227ca5dc8b50f2804ec0e37a +DIST guile-dbi-2.1.9.tar.gz 90514 BLAKE2B f4adeb33636972c33f5bdb40c906713b35bec4b1d3afc9fbcd55d74d1d5a957b524bbefeb04e9e5ff1cd17e6a40e218d84220f8eaeeaee09bf67604fa1e87e18 SHA512 2f6ec4c792b487b2552eda06b3ee3e470ae0e603e30abafacfb597281a44c53838d7b16d447cf1ee35f9b994c5b0ed1bbf3497eb1e64e783017898e30d82d427 diff --git a/dev-scheme/guile-dbi/files/guile-dbi-2.1.9-find-correct-site-dir.patch b/dev-scheme/guile-dbi/files/guile-dbi-2.1.9-find-correct-site-dir.patch new file mode 100644 index 0000000000000..c188465575b33 --- /dev/null +++ b/dev-scheme/guile-dbi/files/guile-dbi-2.1.9-find-correct-site-dir.patch @@ -0,0 +1,32 @@ +https://github.com/opencog/guile-dbi/commit/56e12dcab139c373dafccdd72fa2a140d82f3910 +https://github.com/opencog/guile-dbi/issues/6 +https://github.com/opencog/guile-dbi/issues/7 + +From 56e12dcab139c373dafccdd72fa2a140d82f3910 Mon Sep 17 00:00:00 2001 +From: Linas Vepstas +Date: Mon, 17 Jul 2023 19:42:45 +0300 +Subject: [PATCH] Bug-fix for issues #6 and #7 + +Seems to work for me... +--- a/configure.ac ++++ b/configure.ac +@@ -53,13 +53,13 @@ LTDL_INIT + + # Checks for libraries. + PKG_CHECK_MODULES([GUILE], [guile-3.0]) +-#GUILE_PKG([3.0]) +-#GUILE_FLAGS +-#GUILE_SITE_DIR ++GUILE_PKG([3.0]) ++GUILE_FLAGS ++GUILE_SITE_DIR + #-- +-#CFLAGS="${CFLAGS} ${LTDLINCL} `$GUILECONFIG compile`" +-#LIBS="$LIBLTDL `$GUILECONFIG link`" +-#GUILE_SITE=`$GUILECONFIG info sitedir` ++CFLAGS="${CFLAGS} ${LTDLINCL} `$GUILE_CONFIG compile`" ++LIBS="$LIBLTDL `$GUILE_CONFIG link`" ++GUILE_SITE=`$GUILE_CONFIG info sitedir` + + # Check for makeinfo; avoid ugliness if not installed. + AC_CHECK_PROG(have_makeinfo,makeinfo,yes,no) diff --git a/dev-scheme/guile-dbi/guile-dbi-2.1.9.ebuild b/dev-scheme/guile-dbi/guile-dbi-2.1.9.ebuild new file mode 100644 index 0000000000000..0356148ea6669 --- /dev/null +++ b/dev-scheme/guile-dbi/guile-dbi-2.1.9.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 3-0 ) +inherit autotools guile + +DESCRIPTION="An SQL database interface for Guile" +HOMEPAGE="https://github.com/opencog/guile-dbi/" +SRC_URI="https://github.com/opencog/${PN}/archive/${P}.tar.gz" +S="${WORKDIR}"/${PN}-${P}/${PN} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-libs/libltdl +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/guile-dbi-2.1.9-find-correct-site-dir.patch +) + +src_prepare() { + guile_src_prepare + + eautoreconf +} + +src_install() { + guile_src_install + + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/profiles/package.mask b/profiles/package.mask index 8024b5f3e8f54..d2e5a4eaf48f4 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -366,6 +366,7 @@ dev-scheme/guile:3.0 >=dev-scheme/goosh-1.3-r100 >=dev-scheme/guile-colorized-0.1_p20191205-r100 >=dev-scheme/guile-config-0.5.1-r100 +>=dev-scheme/guile-dbi-2.1.9 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From ade101a329b0509c0b91555a12ea22076b55920b Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 21:50:27 +0300 Subject: [PATCH 16/52] dev-scheme/guile-dbd-postgresql: add 2.1.9 + switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- dev-scheme/guile-dbd-postgresql/Manifest | 1 + .../guile-dbd-postgresql-2.1.9.ebuild | 37 +++++++++++++++++++ profiles/package.mask | 1 + 3 files changed, 39 insertions(+) create mode 100644 dev-scheme/guile-dbd-postgresql/guile-dbd-postgresql-2.1.9.ebuild diff --git a/dev-scheme/guile-dbd-postgresql/Manifest b/dev-scheme/guile-dbd-postgresql/Manifest index c65f56f71ecbe..3a9066697cb9c 100644 --- a/dev-scheme/guile-dbd-postgresql/Manifest +++ b/dev-scheme/guile-dbd-postgresql/Manifest @@ -1 +1,2 @@ DIST guile-dbi-2.1.8.tar.gz 85842 BLAKE2B 6be2f559bd0b194153d3b6659a6f794227c7b0d5c4f9f9f927398fa5af59913a4a56ef12b6e69756c66275b5dbad6861eea7a92adf4e247ca14ad017aa1daa30 SHA512 f3bb94feebe472fc23e891634c5281bc7e7597574ab7acb4b9cdfa59ee6510723550b2cfb1df3f0d9adc919ce0000478e78a6c2f227ca5dc8b50f2804ec0e37a +DIST guile-dbi-2.1.9.tar.gz 90514 BLAKE2B f4adeb33636972c33f5bdb40c906713b35bec4b1d3afc9fbcd55d74d1d5a957b524bbefeb04e9e5ff1cd17e6a40e218d84220f8eaeeaee09bf67604fa1e87e18 SHA512 2f6ec4c792b487b2552eda06b3ee3e470ae0e603e30abafacfb597281a44c53838d7b16d447cf1ee35f9b994c5b0ed1bbf3497eb1e64e783017898e30d82d427 diff --git a/dev-scheme/guile-dbd-postgresql/guile-dbd-postgresql-2.1.9.ebuild b/dev-scheme/guile-dbd-postgresql/guile-dbd-postgresql-2.1.9.ebuild new file mode 100644 index 0000000000000..917fa07377281 --- /dev/null +++ b/dev-scheme/guile-dbd-postgresql/guile-dbd-postgresql-2.1.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 3-0 ) +inherit autotools guile + +DESCRIPTION="Guile DBI driver for PostgreSQL" +HOMEPAGE="https://github.com/opencog/guile-dbi/" +SRC_URI="https://github.com/opencog/guile-dbi/archive/guile-dbi-${PV}.tar.gz" +S="${WORKDIR}"/guile-dbi-guile-dbi-${PV}/${PN} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-db/postgresql:* + >=dev-scheme/guile-dbi-2.1.9[${GUILE_USEDEP}] +" +DEPEND="${RDEPEND}" + +src_prepare() { + guile_src_prepare + + eautoreconf +} + +src_install() { + guile_src_install + + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/profiles/package.mask b/profiles/package.mask index d2e5a4eaf48f4..4d3a038854cda 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -367,6 +367,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-colorized-0.1_p20191205-r100 >=dev-scheme/guile-config-0.5.1-r100 >=dev-scheme/guile-dbi-2.1.9 +>=dev-scheme/guile-dbd-postgresql-2.1.9 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From f6caa3e3bb453750377579a11977dc67754ee6fd Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 21:54:51 +0300 Subject: [PATCH 17/52] dev-scheme/guile-dbd-sqlite3: add 2.1.9 + switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- dev-scheme/guile-dbd-sqlite3/Manifest | 1 + .../guile-dbd-sqlite3-2.1.9.ebuild | 37 +++++++++++++++++++ profiles/package.mask | 1 + 3 files changed, 39 insertions(+) create mode 100644 dev-scheme/guile-dbd-sqlite3/guile-dbd-sqlite3-2.1.9.ebuild diff --git a/dev-scheme/guile-dbd-sqlite3/Manifest b/dev-scheme/guile-dbd-sqlite3/Manifest index c65f56f71ecbe..3a9066697cb9c 100644 --- a/dev-scheme/guile-dbd-sqlite3/Manifest +++ b/dev-scheme/guile-dbd-sqlite3/Manifest @@ -1 +1,2 @@ DIST guile-dbi-2.1.8.tar.gz 85842 BLAKE2B 6be2f559bd0b194153d3b6659a6f794227c7b0d5c4f9f9f927398fa5af59913a4a56ef12b6e69756c66275b5dbad6861eea7a92adf4e247ca14ad017aa1daa30 SHA512 f3bb94feebe472fc23e891634c5281bc7e7597574ab7acb4b9cdfa59ee6510723550b2cfb1df3f0d9adc919ce0000478e78a6c2f227ca5dc8b50f2804ec0e37a +DIST guile-dbi-2.1.9.tar.gz 90514 BLAKE2B f4adeb33636972c33f5bdb40c906713b35bec4b1d3afc9fbcd55d74d1d5a957b524bbefeb04e9e5ff1cd17e6a40e218d84220f8eaeeaee09bf67604fa1e87e18 SHA512 2f6ec4c792b487b2552eda06b3ee3e470ae0e603e30abafacfb597281a44c53838d7b16d447cf1ee35f9b994c5b0ed1bbf3497eb1e64e783017898e30d82d427 diff --git a/dev-scheme/guile-dbd-sqlite3/guile-dbd-sqlite3-2.1.9.ebuild b/dev-scheme/guile-dbd-sqlite3/guile-dbd-sqlite3-2.1.9.ebuild new file mode 100644 index 0000000000000..34b6f8998c552 --- /dev/null +++ b/dev-scheme/guile-dbd-sqlite3/guile-dbd-sqlite3-2.1.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 3-0 ) +inherit autotools guile + +DESCRIPTION="Guile DBI driver for SQLite" +HOMEPAGE="https://github.com/opencog/guile-dbi/" +SRC_URI="https://github.com/opencog/guile-dbi/archive/guile-dbi-${PV}.tar.gz" +S="${WORKDIR}"/guile-dbi-guile-dbi-${PV}/${PN} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-db/sqlite:3= + >=dev-scheme/guile-dbi-2.1.9[${GUILE_USEDEP}] +" +DEPEND="${RDEPEND}" + +src_prepare() { + guile_src_prepare + + eautoreconf +} + +src_install() { + guile_src_install + + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/profiles/package.mask b/profiles/package.mask index 4d3a038854cda..c39a6d15ca15b 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -368,6 +368,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-config-0.5.1-r100 >=dev-scheme/guile-dbi-2.1.9 >=dev-scheme/guile-dbd-postgresql-2.1.9 +>=dev-scheme/guile-dbd-sqlite3-2.1.9 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 3d47cb716f05b8bbfefcf41b146cc0ea5ac974ee Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 23:30:47 +0300 Subject: [PATCH 18/52] dev-scheme/guile-gcrypt: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-gcrypt-0.4.0-r100.ebuild | 43 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 44 insertions(+) create mode 100644 dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0-r100.ebuild diff --git a/dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0-r100.ebuild b/dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0-r100.ebuild new file mode 100644 index 0000000000000..bfe2d620c8823 --- /dev/null +++ b/dev-scheme/guile-gcrypt/guile-gcrypt-0.4.0-r100.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +DESCRIPTION="Guile bindings of libgcrypt" +HOMEPAGE="https://notabug.org/cwebber/guile-gcrypt" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://notabug.org/cwebber/${PN}.git" +else + SRC_URI="https://notabug.org/cwebber/guile-gcrypt/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-libs/libgcrypt:0= +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +src_prepare() { + guile_src_prepare + eautoreconf +} diff --git a/profiles/package.mask b/profiles/package.mask index c39a6d15ca15b..62b3d40318e8a 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -369,6 +369,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-dbi-2.1.9 >=dev-scheme/guile-dbd-postgresql-2.1.9 >=dev-scheme/guile-dbd-sqlite3-2.1.9 +>=dev-scheme/guile-gcrypt-0.4.0-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 86a12ff6b6569b842e0c78a5e54cc9302a6eccdb Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Mon, 26 Aug 2024 23:54:55 +0300 Subject: [PATCH 19/52] dev-scheme/guile-git: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Restrict libgit2 dependency due to test failure. Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-git/guile-git-0.7.0-r100.ebuild | 53 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 54 insertions(+) create mode 100644 dev-scheme/guile-git/guile-git-0.7.0-r100.ebuild diff --git a/dev-scheme/guile-git/guile-git-0.7.0-r100.ebuild b/dev-scheme/guile-git/guile-git-0.7.0-r100.ebuild new file mode 100644 index 0000000000000..54a0136abb802 --- /dev/null +++ b/dev-scheme/guile-git/guile-git-0.7.0-r100.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +DESCRIPTION="Guile bindings of git" +HOMEPAGE="https://gitlab.com/guile-git/guile-git/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git" +else + SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" + S="${WORKDIR}/${PN}-v${PV}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-3+" +SLOT="0" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +# =dev-scheme/guile-dbd-postgresql-2.1.9 >=dev-scheme/guile-dbd-sqlite3-2.1.9 >=dev-scheme/guile-gcrypt-0.4.0-r100 +>=dev-scheme/guile-git-0.7.0-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From b686309aaf6113c412a7b5abefa321c23be03785 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 00:18:43 +0300 Subject: [PATCH 20/52] dev-scheme/guile-gnutls: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Restrict gnutls dependency due to test failure. Bug: https://bugs.gentoo.org/930665 Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-gnutls-4.0.0-r100.ebuild | 59 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 60 insertions(+) create mode 100644 dev-scheme/guile-gnutls/guile-gnutls-4.0.0-r100.ebuild diff --git a/dev-scheme/guile-gnutls/guile-gnutls-4.0.0-r100.ebuild b/dev-scheme/guile-gnutls/guile-gnutls-4.0.0-r100.ebuild new file mode 100644 index 0000000000000..c9746c80710e0 --- /dev/null +++ b/dev-scheme/guile-gnutls/guile-gnutls-4.0.0-r100.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +DESCRIPTION="Guile-GnuTLS provides Guile bindings for the GnuTLS library" +HOMEPAGE="https://gnutls.gitlab.io/guile/manual/ + https://gitlab.com/gnutls/guile/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://gitlab.com/gnutls/guile.git" +else + SRC_URI="https://gitlab.com/gnutls/guile/-/archive/v${PV}/guile-v${PV}.tar.bz2 + -> ${P}.tar.bz2" + S="${WORKDIR}/guile-v${PV}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +# =dev-scheme/guile-dbd-sqlite3-2.1.9 >=dev-scheme/guile-gcrypt-0.4.0-r100 >=dev-scheme/guile-git-0.7.0-r100 +>=dev-scheme/guile-gnutls-4.0.0-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From a6568c9f6325040a6c22119024a3a318bb4a52b8 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 00:42:12 +0300 Subject: [PATCH 21/52] dev-scheme/guile-hall: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-hall/guile-hall-0.4.1-r100.ebuild | 31 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 32 insertions(+) create mode 100644 dev-scheme/guile-hall/guile-hall-0.4.1-r100.ebuild diff --git a/dev-scheme/guile-hall/guile-hall-0.4.1-r100.ebuild b/dev-scheme/guile-hall/guile-hall-0.4.1-r100.ebuild new file mode 100644 index 0000000000000..eb5fc54a0b5ad --- /dev/null +++ b/dev-scheme/guile-hall/guile-hall-0.4.1-r100.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +DESCRIPTION="Guile tooling to create and publish projects" +HOMEPAGE="https://gitlab.com/a-sassmannshausen/guile-hall/" +SRC_URI="https://gitlab.com/a-sassmannshausen/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + >=dev-scheme/guile-config-0.5.1-r100[${GUILE_USEDEP}] +" +DEPEND="${RDEPEND}" + +src_prepare() { + guile_src_prepare + + sed -i -e "s|@verbatiminclude |@verbatiminclude ${S}/|" doc/hall.texi || die + + eautoreconf +} diff --git a/profiles/package.mask b/profiles/package.mask index 36c68d55ed182..b62c886d5ec22 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -372,6 +372,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-gcrypt-0.4.0-r100 >=dev-scheme/guile-git-0.7.0-r100 >=dev-scheme/guile-gnutls-4.0.0-r100 +>=dev-scheme/guile-hall-0.4.1-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 951f599a737e56ae845e97139530ec27c4121aaf Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 00:44:00 +0300 Subject: [PATCH 22/52] dev-scheme/guile-json: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-json/guile-json-4.7.3-r100.ebuild | 20 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 21 insertions(+) create mode 100644 dev-scheme/guile-json/guile-json-4.7.3-r100.ebuild diff --git a/dev-scheme/guile-json/guile-json-4.7.3-r100.ebuild b/dev-scheme/guile-json/guile-json-4.7.3-r100.ebuild new file mode 100644 index 0000000000000..545f1819973fb --- /dev/null +++ b/dev-scheme/guile-json/guile-json-4.7.3-r100.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit guile + +DESCRIPTION="JSON module for Guile" +HOMEPAGE="https://savannah.nongnu.org/projects/guile-json/" +SRC_URI="http://download.savannah.nongnu.org/releases/guile-json/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND="${GUILE_DEPS}" +DEPEND="${RDEPEND}" diff --git a/profiles/package.mask b/profiles/package.mask index b62c886d5ec22..c958f2dad253c 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -373,6 +373,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-git-0.7.0-r100 >=dev-scheme/guile-gnutls-4.0.0-r100 >=dev-scheme/guile-hall-0.4.1-r100 +>=dev-scheme/guile-json-4.7.3-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 5787b1ad11f3f241883f3ee8e1f296b4ec94e878 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 00:46:07 +0300 Subject: [PATCH 23/52] dev-scheme/guile-lib: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-lib/guile-lib-0.2.7-r100.ebuild | 30 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 31 insertions(+) create mode 100644 dev-scheme/guile-lib/guile-lib-0.2.7-r100.ebuild diff --git a/dev-scheme/guile-lib/guile-lib-0.2.7-r100.ebuild b/dev-scheme/guile-lib/guile-lib-0.2.7-r100.ebuild new file mode 100644 index 0000000000000..ad310a603dfe5 --- /dev/null +++ b/dev-scheme/guile-lib/guile-lib-0.2.7-r100.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit guile + +DESCRIPTION="An accumulation place for pure-scheme Guile modules" +HOMEPAGE="http://www.nongnu.org/guile-lib/" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRES_USE}" + +RDEPEND="${GUILE_DEPS}" +DEPEND="${RDEPEND}" + +src_prepare() { + guile_src_prepare + + sed -i -e 's/"guile"/(getenv "GUILE")/' unit-tests/os.process.scm || die +} + +src_configure() { + guile_foreach_impl econf --with-guile-site=yes +} diff --git a/profiles/package.mask b/profiles/package.mask index c958f2dad253c..93a4952c5d89f 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -374,6 +374,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-gnutls-4.0.0-r100 >=dev-scheme/guile-hall-0.4.1-r100 >=dev-scheme/guile-json-4.7.3-r100 +>=dev-scheme/guile-lib-0.2.7-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 415b5db762e2dd812d79b4f66baf5f567b42258d Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 01:44:39 +0300 Subject: [PATCH 24/52] dev-scheme/guile-libyaml: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-libyaml-20211124-r100.ebuild | 65 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 66 insertions(+) create mode 100644 dev-scheme/guile-libyaml/guile-libyaml-20211124-r100.ebuild diff --git a/dev-scheme/guile-libyaml/guile-libyaml-20211124-r100.ebuild b/dev-scheme/guile-libyaml/guile-libyaml-20211124-r100.ebuild new file mode 100644 index 0000000000000..8b6169d5bf4f6 --- /dev/null +++ b/dev-scheme/guile-libyaml/guile-libyaml-20211124-r100.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit edo guile + +[[ ${PV} == 20211124 ]] && COMMIT=2bdacb72a65ab63264b2edc9dac9692df7ec9b3e + +DESCRIPTION="Simple yaml module for Guile using the ffi-helper from nyacc" +HOMEPAGE="https://github.com/mwette/guile-libyaml/" +SRC_URI="https://github.com/mwette/${PN}/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${COMMIT} + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-libs/libyaml +" +DEPEND="${RDEPEND}" +BDEPEND="dev-scheme/guile-nyacc" + +src_compile() { + my_compile() { + guild() { + GUILE_LOAD_COMPILED_PATH="${BUILD_DIR}" GUILE_LOAD_PATH="${S}" edo "${GUILD}" "${@}" || die + } + # Generate bindings using NYACC + guild compile-ffi --no-exec "${S}"/yaml/libyaml.ffi + + # Compile modules + mkdir -p "${BUILD_DIR}"/ccache || die + guild compile -o "${BUILD_DIR}"/ccache/libyaml.go "${S}"/yaml/libyaml.scm + guild compile -o "${BUILD_DIR}"/ccache/yaml.go "${S}"/yaml.scm + } + + guile_foreach_impl my_compile +} + +src_install() { + my_install() { + local site_dir="$(${GUILE} -c '(display (%site-dir))')" + mkdir -p "${SLOTTED_D}/${site_dir}/yaml" || die + cp "${S}/yaml/libyaml.scm" "${SLOTTED_D}/${site_dir}/yaml/" || die + cp "${S}/yaml.scm" "${SLOTTED_D}/${site_dir}/" || die + + local site_ccache_dir="$(${GUILE} -c '(display (%site-ccache-dir))')" + mkdir -p "${SLOTTED_D}/${site_ccache_dir}/yaml" || die + cp "${BUILD_DIR}/ccache/libyaml.go" "${SLOTTED_D}/${site_ccache_dir}/yaml/" || die + cp "${BUILD_DIR}/ccache/yaml.go" "${SLOTTED_D}/${site_ccache_dir}/" || die + } + + guile_foreach_impl my_install + guile_merge_roots + guile_unstrip_ccache + + einstalldocs +} diff --git a/profiles/package.mask b/profiles/package.mask index 93a4952c5d89f..a20158e48b06f 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -375,6 +375,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-hall-0.4.1-r100 >=dev-scheme/guile-json-4.7.3-r100 >=dev-scheme/guile-lib-0.2.7-r100 +>=dev-scheme/guile-libyaml-20211124-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 33242f2b8381e6f9a0a5106aad95a9b7bee82671 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 01:47:11 +0300 Subject: [PATCH 25/52] dev-scheme/guile-lzlib: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-lzlib/guile-lzlib-0.0.2-r100.ebuild | 45 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 46 insertions(+) create mode 100644 dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r100.ebuild diff --git a/dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r100.ebuild b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r100.ebuild new file mode 100644 index 0000000000000..8d4f27a9c2c66 --- /dev/null +++ b/dev-scheme/guile-lzlib/guile-lzlib-0.0.2-r100.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +DESCRIPTION="GNU Guile library providing bindings to lzlib" +HOMEPAGE="https://notabug.org/guile-lzlib/guile-lzlib/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://notabug.org/${PN}/${PN}.git" +else + SRC_URI="https://notabug.org/${PN}/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + app-arch/lzlib +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +DOCS=( AUTHORS ChangeLog HACKING NEWS README.org ) + +src_prepare() { + guile_src_prepare + eautoreconf +} diff --git a/profiles/package.mask b/profiles/package.mask index a20158e48b06f..b343545fc72a3 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -376,6 +376,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-json-4.7.3-r100 >=dev-scheme/guile-lib-0.2.7-r100 >=dev-scheme/guile-libyaml-20211124-r100 +>=dev-scheme/guile-lzlib-0.0.2-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 59c7ac4e3cbafee9510ff2c1b15227079abc87e0 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 02:21:24 +0300 Subject: [PATCH 26/52] dev-scheme/guile-ncurses: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-ncurses-3.1-r100.ebuild | 72 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 73 insertions(+) create mode 100644 dev-scheme/guile-ncurses/guile-ncurses-3.1-r100.ebuild diff --git a/dev-scheme/guile-ncurses/guile-ncurses-3.1-r100.ebuild b/dev-scheme/guile-ncurses/guile-ncurses-3.1-r100.ebuild new file mode 100644 index 0000000000000..fb877bf6f9784 --- /dev/null +++ b/dev-scheme/guile-ncurses/guile-ncurses-3.1-r100.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +DESCRIPTION="Guile FFI to ncurses library for text-based console UI" +HOMEPAGE="https://www.gnu.org/software/guile-ncurses/" +SRC_URI="mirror://gnu/guile-ncurses/${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-libs/boehm-gc + dev-libs/libatomic_ops + dev-libs/libunistring + sys-libs/ncurses:= +" +DEPEND="${RDEPEND}" +BDEPEND="sys-apps/texinfo" + +PATCHES=( + "${FILESDIR}"/${PN}-3.0-slibtool.patch # bug #843416 +) + +src_prepare() { + guile_src_prepare + + # Remove bad tests + # > In procedure list-ref: Wrong type argument in position 1: #f + local -a bad_tests=( + curs_attr_attr_off_underline + curs_attr_attr_on_blink + curs_attr_attr_on_bold + curs_attr_attr_on_dim + curs_attr_attr_on_invis + curs_attr_attr_on_protect + curs_attr_attr_on_reverse + curs_attr_attr_on_standout + curs_attr_attr_on_underline + curs_attr_attr_set + curs_attr_attr_set_normal + curs_attr_standend + curs_attr_standout + curs_bkgd_bkgd + curs_bkgd_bkgdset + termios_speed + ) + local bad_test + for bad_test in "${bad_tests[@]}" ; do + echo "#t" > test/${bad_test}.scm || die + done + + eautoreconf # 843560 +} + +src_test() { + guile_foreach_impl emake check +} + +src_install() { + guile_src_install + + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/profiles/package.mask b/profiles/package.mask index b343545fc72a3..bdac54d06049b 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -377,6 +377,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-lib-0.2.7-r100 >=dev-scheme/guile-libyaml-20211124-r100 >=dev-scheme/guile-lzlib-0.0.2-r100 +>=dev-scheme/guile-ncurses-3.1-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 96c7ae14ca28bfa809c4ac9fde22375bc2763222 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 02:24:19 +0300 Subject: [PATCH 27/52] dev-scheme/guile-nyacc: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-nyacc-1.06.7-r100.ebuild | 29 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 30 insertions(+) create mode 100644 dev-scheme/guile-nyacc/guile-nyacc-1.06.7-r100.ebuild diff --git a/dev-scheme/guile-nyacc/guile-nyacc-1.06.7-r100.ebuild b/dev-scheme/guile-nyacc/guile-nyacc-1.06.7-r100.ebuild new file mode 100644 index 0000000000000..e00a69aa3bd52 --- /dev/null +++ b/dev-scheme/guile-nyacc/guile-nyacc-1.06.7-r100.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit guile + +DESCRIPTION="Guile modules for generating parsers and lexical analyzers" +HOMEPAGE="http://www.nongnu.org/nyacc/" +SRC_URI="mirror://nongnu/nyacc/nyacc-${PV}.tar.gz" +S="${WORKDIR}/nyacc-${PV}" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + ${GUILE_DEPS} + >=dev-scheme/bytestructures-2.0.2-r100[${GUILE_USEDEP}] +" +DEPEND="${RDEPEND}" + +src_install() { + guile_src_install + + # Fix docs location + mv "${ED}"/usr/share/doc/nyacc "${ED}"/usr/share/doc/${PF} || die +} diff --git a/profiles/package.mask b/profiles/package.mask index bdac54d06049b..8278897a0e893 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -378,6 +378,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-libyaml-20211124-r100 >=dev-scheme/guile-lzlib-0.0.2-r100 >=dev-scheme/guile-ncurses-3.1-r100 +>=dev-scheme/guile-nyacc-1.06.7-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From e45f19e583de4370458cdcea668e426044422c26 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 18 Sep 2024 15:12:23 +0300 Subject: [PATCH 28/52] dev-scheme/guile-sqlite3: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-sqlite3-0.1.3-r100.ebuild | 32 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 33 insertions(+) create mode 100644 dev-scheme/guile-sqlite3/guile-sqlite3-0.1.3-r100.ebuild diff --git a/dev-scheme/guile-sqlite3/guile-sqlite3-0.1.3-r100.ebuild b/dev-scheme/guile-sqlite3/guile-sqlite3-0.1.3-r100.ebuild new file mode 100644 index 0000000000000..1346542b5b64a --- /dev/null +++ b/dev-scheme/guile-sqlite3/guile-sqlite3-0.1.3-r100.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +DESCRIPTION="Guile bindings of sqlite3" +HOMEPAGE="https://notabug.org/guile-sqlite3/guile-sqlite3" +SRC_URI="https://notabug.org/guile-sqlite3/guile-sqlite3/archive/v${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="LGPL-3+ GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-db/sqlite:3= +" +DEPEND="${RDEPEND}" + +src_prepare() { + guile_src_prepare + + # upstream tag on top of source tree. has no autogenerated files + eautoreconf +} diff --git a/profiles/package.mask b/profiles/package.mask index 8278897a0e893..200ed91c0dfe6 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -379,6 +379,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-lzlib-0.0.2-r100 >=dev-scheme/guile-ncurses-3.1-r100 >=dev-scheme/guile-nyacc-1.06.7-r100 +>=dev-scheme/guile-sqlite3-0.1.3-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 790cca9c1fc4a659c31ef14d7b7ddae61ba384b7 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 02:45:15 +0300 Subject: [PATCH 29/52] dev-scheme/guile-ssh: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-ssh/guile-ssh-0.16.4-r100.ebuild | 64 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 65 insertions(+) create mode 100644 dev-scheme/guile-ssh/guile-ssh-0.16.4-r100.ebuild diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.4-r100.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.4-r100.ebuild new file mode 100644 index 0000000000000..2de52a2e3291c --- /dev/null +++ b/dev-scheme/guile-ssh/guile-ssh-0.16.4-r100.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +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/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/artyom-poptsov/${PN}.git" +else + SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-libs/boehm-gc + dev-libs/libatomic_ops + net-libs/libssh:0=[server,sftp] +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) + +PATCHES=( + "${FILESDIR}/${PN}-0.16.2-tests.patch" +) + +src_prepare() { + guile_src_prepare + eautoreconf +} + +src_configure() { + my_configure() { + econf guile_snarf=${GUILESNARF} + } + guile_foreach_impl my_configure +} + +src_install() { + guile_src_install + + find "${ED}" -name "*.la" -delete || die +} diff --git a/profiles/package.mask b/profiles/package.mask index 200ed91c0dfe6..5e583ba0630a8 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -380,6 +380,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-ncurses-3.1-r100 >=dev-scheme/guile-nyacc-1.06.7-r100 >=dev-scheme/guile-sqlite3-0.1.3-r100 +>=dev-scheme/guile-ssh-0.16.4-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 6aba24b612cd8895ba3ff1ba74e50939aa22569d Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 02:51:00 +0300 Subject: [PATCH 30/52] dev-scheme/guile-zlib: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-zlib/guile-zlib-0.1.0-r100.ebuild | 48 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 49 insertions(+) create mode 100644 dev-scheme/guile-zlib/guile-zlib-0.1.0-r100.ebuild diff --git a/dev-scheme/guile-zlib/guile-zlib-0.1.0-r100.ebuild b/dev-scheme/guile-zlib/guile-zlib-0.1.0-r100.ebuild new file mode 100644 index 0000000000000..f5d29da5871a8 --- /dev/null +++ b/dev-scheme/guile-zlib/guile-zlib-0.1.0-r100.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 3-0 ) +inherit autotools guile + +DESCRIPTION="GNU Guile library providing bindings to zlib" +HOMEPAGE="https://notabug.org/guile-zlib/guile-zlib/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://notabug.org/${PN}/${PN}.git" +else + SRC_URI="https://notabug.org/${PN}/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + >=sys-libs/zlib-1.3-r4 +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +DOCS=( AUTHORS ChangeLog HACKING NEWS README.org ) + +PATCHES=( "${FILESDIR}/${PN}-0.1.0-gentoo.patch" ) + +src_prepare() { + guile_src_prepare + + eautoreconf +} diff --git a/profiles/package.mask b/profiles/package.mask index 5e583ba0630a8..9d5dc045d555e 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -381,6 +381,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-nyacc-1.06.7-r100 >=dev-scheme/guile-sqlite3-0.1.3-r100 >=dev-scheme/guile-ssh-0.16.4-r100 +>=dev-scheme/guile-zlib-0.1.0-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 89844b38f532e1edb01c217fe1b484bec37a72c4 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 03:00:49 +0300 Subject: [PATCH 31/52] dev-scheme/guile-zstd: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../guile-zstd/guile-zstd-0.1.1-r100.ebuild | 46 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 47 insertions(+) create mode 100644 dev-scheme/guile-zstd/guile-zstd-0.1.1-r100.ebuild diff --git a/dev-scheme/guile-zstd/guile-zstd-0.1.1-r100.ebuild b/dev-scheme/guile-zstd/guile-zstd-0.1.1-r100.ebuild new file mode 100644 index 0000000000000..093c50da4eda1 --- /dev/null +++ b/dev-scheme/guile-zstd/guile-zstd-0.1.1-r100.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile + +DESCRIPTION="GNU Guile bindings to the zstd compression library" +HOMEPAGE="https://notabug.org/guile-zstd/guile-zstd/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://notabug.org/${PN}/${PN}.git" +else + SRC_URI="https://notabug.org/${PN}/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +REQUIRED_USED="${GUILE_REQUIRED_USE}" + +# In zstd-1.5.5-r1 library was moved back from "/lib" to "/usr/lib". +RDEPEND=" + ${GUILE_DEPS} + >=app-arch/zstd-1.5.5-r1 +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + guile_src_prepare + eautoreconf +} diff --git a/profiles/package.mask b/profiles/package.mask index 9d5dc045d555e..65ef9501f2c97 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -382,6 +382,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-sqlite3-0.1.3-r100 >=dev-scheme/guile-ssh-0.16.4-r100 >=dev-scheme/guile-zlib-0.1.0-r100 +>=dev-scheme/guile-zstd-0.1.1-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From a042780884d5b14c16990d4b4a9bf11be61acc55 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 12:48:09 +0300 Subject: [PATCH 32/52] dev-scheme/xdgdirs: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild | 34 ++++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 35 insertions(+) create mode 100644 dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild diff --git a/dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild b/dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild new file mode 100644 index 0000000000000..0dc3e304acd40 --- /dev/null +++ b/dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit guile-single + +DESCRIPTION="Displays names/values of XDG Basedir variables" +HOMEPAGE="https://www.gnuvola.org/software/xdgdirs/" +SRC_URI="https://www.gnuvola.org/software/xdgdirs/${P}.tar.xz" + +LICENSE="GPL-3+ FDL-1.3" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND="${GUILE_DEPS}" +DEPEND="${RDEPEND}" + +src_prepare() { + guile-single_src_prepare + + # fix shebang + sed -i -e "/exec/ s|guile|${GUILE}|" xdgdirs.in || die +} + +src_test() { + # breaks diffs for tests if not disabled + local -x GUILE_AUTO_COMPILE=0 + + emake check +} diff --git a/profiles/package.mask b/profiles/package.mask index 65ef9501f2c97..d9f8748e9d120 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -383,6 +383,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-ssh-0.16.4-r100 >=dev-scheme/guile-zlib-0.1.0-r100 >=dev-scheme/guile-zstd-0.1.1-r100 +>=dev-scheme/xdgdirs-2.2-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From f173e8d0dff137d4004d4ac845b557b8f754b0ea Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 13:10:28 +0300 Subject: [PATCH 33/52] media-gfx/graphviz: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../graphviz/graphviz-12.0.0-r100.ebuild | 230 ++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 231 insertions(+) create mode 100644 media-gfx/graphviz/graphviz-12.0.0-r100.ebuild diff --git a/media-gfx/graphviz/graphviz-12.0.0-r100.ebuild b/media-gfx/graphviz/graphviz-12.0.0-r100.ebuild new file mode 100644 index 0000000000000..d66128a9fbcf3 --- /dev/null +++ b/media-gfx/graphviz/graphviz-12.0.0-r100.ebuild @@ -0,0 +1,230 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +PYTHON_COMPAT=( python3_{10..13} ) +inherit guile-single libtool python-single-r1 + +DESCRIPTION="Open Source Graph Visualization Software" +HOMEPAGE="https://www.graphviz.org/ https://gitlab.com/graphviz/graphviz/" +# Unfortunately upstream uses an "artifact" store for the pre-generated +# tarball now, which makes predictable URLs impossible. +SRC_URI="https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/${PV}/${P}.tar.xz" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+cairo devil doc examples gtk2 gts guile lasi nls pdf perl postscript python qt5 ruby svg tcl webp X" + +REQUIRED_USE=" + !cairo? ( !X !gtk2 !postscript !lasi ) + guile? ( ${GUILE_REQUIRED_USE} ) + pdf? ( cairo ) + python? ( ${PYTHON_REQUIRED_USE} )" + +# Requires ksh, tests against installed package, missing files and directory +RESTRICT="test" + +RDEPEND=" + >=dev-libs/expat-2 + >=dev-libs/glib-2.11.1:2 + dev-libs/libltdl + >=media-libs/freetype-2.1.10 + >=media-libs/gd-2.0.34:=[fontconfig,jpeg,png,truetype,zlib] + media-libs/libjpeg-turbo:= + >=media-libs/libpng-1.2:= + sys-libs/zlib + virtual/libiconv + cairo? ( + >=x11-libs/cairo-1.1.10[svg(+)] + >=x11-libs/pango-1.12 + ) + devil? ( media-libs/devil[png,jpeg] ) + gtk2? ( + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + ) + gts? ( sci-libs/gts ) + guile? ( ${GUILE_DEPS} ) + lasi? ( media-libs/lasi ) + pdf? ( app-text/poppler ) + perl? ( dev-lang/perl:= ) + postscript? ( app-text/ghostscript-gpl ) + python? ( ${PYTHON_DEPS} ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 + ) + ruby? ( dev-lang/ruby:* ) + svg? ( gnome-base/librsvg ) + tcl? ( >=dev-lang/tcl-8.3:= ) + webp? ( media-libs/libwebp:= ) + X? ( x11-libs/libX11 )" +DEPEND="${RDEPEND} + X? ( x11-base/xorg-proto )" +BDEPEND=" + app-alternatives/lex + dev-build/libtool + virtual/pkgconfig + doc? ( + app-text/ghostscript-gpl + sys-apps/groff + ) + guile? ( + dev-lang/swig + ${GUILE_DEPS} + ) + nls? ( >=sys-devel/gettext-0.14.5 ) + perl? ( dev-lang/swig ) + python? ( dev-lang/swig ) + ruby? ( dev-lang/swig ) + tcl? ( dev-lang/swig )" + +# Dependency description / Maintainer info: + +# Rendering is done via the following plugins (/plugins): +# - core, dot_layout, neato_layout, gd , dot +# the ones which are always compiled in, depend on zlib, gd +# - gtk +# Directly depends on gtk-2. +# needs 'pangocairo' enabled in graphviz configuration +# gtk-2 depends on pango, cairo and libX11 directly. +# - gdk-pixbuf +# Directly depends on gtk-2 and gdk-pixbuf. +# needs 'pangocairo' enabled in graphviz configuration +# - ming +# flash plugin via -Tswf requires media-libs/ming-0.4. Disabled as it's +# incomplete. +# - cairo/pango: +# Needs pango for text layout, uses cairo methods to draw stuff +# - xlib: +# needs cairo+pango, +# can make use of gnomeui and inotify support (??? unsure), +# needs libXaw for UI +# UI also links directly against libX11, libXmu, and libXt +# and uses libXpm if available so we make sure it always is + +# There can be swig-generated bindings for the following languages (/tclpkg/gv): +# - c-sharp (disabled) +# - scheme (enabled via guile) ... no longer broken on ~x86 +# - go (disabled) +# - io (disabled) +# - lua (enabled via lua) +# - ocaml (enabled via ocaml) +# - perl (enabled via perl) *1 +# - php (enabled via php) *2 +# - python (enabled via python) *1 +# - ruby (enabled via ruby) *1 +# - tcl (enabled via tcl) +# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location +# *2 = Those bindings don't build because the paths for the headers/libs aren't +# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5) + +# There are several other tools in /tclpkg: +# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl +# tkspline, tkstubs ; enabled with: --with-tk + +# And the commands (/cmd): +# - dot, gvedit, gvpr, smyrna, tools/* :) +# sci-libs/gts can be used for some of these +# - gvedit (via 'qt5'): +# based on ./configure it needs qt-core and qt-gui only +# - smyrna : experimental opengl front-end (via 'smyrna') +# currently disabled -- it segfaults a lot +# needs x11-libs/gtkglext, gnome-base/libglade, media-libs/freeglut +# sci-libs/gts, x11-libs/gtk. Also needs 'gtk','glade','glut','gts' and 'png' +# with flags enabled at configure time + +pkg_setup() { + use guile && guile-single_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + if use guile; then + guile-single_src_prepare + else + default + fi + elibtoolize +} + +src_configure() { + local myconf=( + # Speeds up the libltdl configure + --cache-file="${S}"/config.cache + --enable-ltdl + $(use_enable doc man-pdfs) + $(use_with cairo pangocairo) + $(use_with examples demos '$(docdir)/examples') + $(use_with devil) + $(use_with gtk2 gdk) + $(use_with gtk2 gdk-pixbuf) + $(use_with gtk2) + $(use_with gts) + $(use_with qt5 qt) + $(use_with lasi) + $(use_with pdf poppler) + $(use_with postscript ghostscript) + $(use_with svg rsvg) + $(use_with webp) + $(use_with X x) + --with-digcola + --with-freetype2 + --with-ipsepcola + --with-libgd + --with-sfdp + --without-ming + # New/experimental features, to be tested, disable for now + --without-ipsepcola + --without-smyrna + # Bindings + $(use_enable guile) + $(use_enable perl) + $(use_enable python python3) + $(use_enable ruby) + $(use_enable tcl) + --disable-go + --disable-lua + --disable-java + --disable-ocaml + --disable-php + --disable-python + --disable-r + --disable-sharp + # libtool file collision, bug #276609 + --without-included-ltdl + --disable-ltdl-install + QMAKE=$(usev qt5 qmake5) + ) + # XXX: Temporary bash for bug #926600. It's been reverted upstream + # on master already: + # https://gitlab.com/graphviz/graphviz/-/merge_requests/3636 + CONFIG_SHELL="${BROOT}"/bin/bash econf "${myconf[@]}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die + + use guile && guile_unstrip_ccache + + use python && python_optimize \ + "${D}"$(python_get_sitedir) \ + "${ED}"/usr/$(get_libdir)/graphviz/python3 +} + +pkg_postinst() { + # We need to register all plugins before they become usable + dot -c || die +} + +pkg_postrm() { + # Remove cruft, bug #547344 + rm -rf "${EROOT}"/usr/$(get_libdir)/graphviz/config{,6} || die +} diff --git a/profiles/package.mask b/profiles/package.mask index d9f8748e9d120..e0c9b2ae7101a 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -384,6 +384,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-zlib-0.1.0-r100 >=dev-scheme/guile-zstd-0.1.1-r100 >=dev-scheme/xdgdirs-2.2-r100 +>=media-gfx/graphviz-12.0.0-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From b6bde3a36ed4ab6431c235816ca81e9c3bcccecb Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 13:39:49 +0300 Subject: [PATCH 34/52] media-sound/lilypond: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../lilypond/lilypond-2.24.4-r100.ebuild | 145 ++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 146 insertions(+) create mode 100644 media-sound/lilypond/lilypond-2.24.4-r100.ebuild diff --git a/media-sound/lilypond/lilypond-2.24.4-r100.ebuild b/media-sound/lilypond/lilypond-2.24.4-r100.ebuild new file mode 100644 index 0000000000000..63d46dcb3e068 --- /dev/null +++ b/media-sound/lilypond/lilypond-2.24.4-r100.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_REQ_USE="deprecated,regex" +GUILE_COMPAT=( 2-2 3-0 ) +PYTHON_COMPAT=( python3_{10..13} ) + +inherit elisp-common autotools guile-single python-single-r1 toolchain-funcs xdg-utils + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.savannah.gnu.org/git/lilypond.git" +else + MAIN_VER=$(ver_cut 1-2) + SRC_URI="https://lilypond.org/download/sources/v${MAIN_VER}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~x86" +fi + +DESCRIPTION="GNU Music Typesetter" +HOMEPAGE="http://lilypond.org/" + +LICENSE="GPL-3 FDL-1.3" +SLOT="0" +LANG_USE="l10n_ca l10n_cs l10n_de l10n_en l10n_fr l10n_hu l10n_it l10n_ja l10n_nl l10n_pt l10n_zh" +IUSE="debug doc emacs profile ${LANG_USE}" +unset LANG_USE +REQUIRED_USE="${GUILE_REQUIRED_USE} ${PYTHON_REQUIRED_USE}" + +BDEPEND=" + dev-texlive/texlive-metapost + sys-apps/texinfo + app-alternatives/yacc + app-alternatives/lex + virtual/pkgconfig + doc? ( app-text/texi2html ) +" +RDEPEND="app-text/ghostscript-gpl + dev-libs/boehm-gc + dev-libs/glib:2 + dev-libs/libatomic_ops + media-fonts/tex-gyre + media-libs/fontconfig + media-libs/freetype:2 + media-libs/harfbuzz + >=x11-libs/pango-1.40 + emacs? ( >=app-editors/emacs-23.1:* ) + ${GUILE_DEPS} + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + app-text/t1utils + dev-lang/perl + dev-libs/kpathsea + media-gfx/fontforge[png,python] + sys-devel/gettext + doc? ( + dev-texlive/texlive-langcyrillic + l10n_cs? ( dev-texlive/texlive-xetex ) + l10n_ja? ( dev-texlive/texlive-langjapanese ) + l10n_zh? ( dev-texlive/texlive-langchinese ) + ) +" +# Correct output data for tests isn't bundled with releases +RESTRICT="test" + +DOCS=( DEDICATION README.md ROADMAP ) + +QA_PREBUILT="usr/*/${PN}/${PV}/ccache/*" + +pkg_setup() { + guile-single_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + guile-single_src_prepare + + # respect CFLAGS + sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die + + eautoreconf + + xdg_environment_reset #586592 +} + +src_configure() { + # fix hardcoded `ar` + sed -i "s/AR=ar/AR=$(tc-getAR)/g" flower/GNUmakefile || die "Failed to fix ar command" + + local myeconfargs=( + --disable-optimising + --disable-pipe + $(use_enable debug debugging) + $(use_enable doc documentation) + $(use_enable profile profiling) + ) + + export VARTEXFONTS="${T}/fonts" # https://bugs.gentoo.org/692010 + + econf "${myeconfargs[@]}" AR="$(tc-getAR)" +} + +src_compile() { + default + + # http://lilypond.org/doc/v2.24/Documentation/changes/index#notes-for-source-compilation-and-packagers + emake bytecode + + use doc && emake LANGS="${L10N}" doc info + + if use emacs ; then + elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \ + || die "elisp-compile failed" + fi +} + +src_install() { + emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install install-bytecode + + use doc && emake DESTDIR="${D}" install-doc + + # remove elisp files since they are in the wrong directory + rm -r "${ED}"/usr/share/emacs || die + + if use emacs ; then + elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \ + || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el + fi + + guile_unstrip_ccache + + python_fix_shebang "${ED}" + + einstalldocs +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/profiles/package.mask b/profiles/package.mask index e0c9b2ae7101a..8d8c927319f61 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -385,6 +385,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-zstd-0.1.1-r100 >=dev-scheme/xdgdirs-2.2-r100 >=media-gfx/graphviz-12.0.0-r100 +>=media-sound/lilypond-2.24.4-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 55e92b7a6497c51403fa5b4017d79d1660eeb34b Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 28 Aug 2024 12:15:30 +0300 Subject: [PATCH 35/52] media-sound/lilypond: update live to use new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- media-sound/lilypond/lilypond-9999.ebuild | 25 ++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/media-sound/lilypond/lilypond-9999.ebuild b/media-sound/lilypond/lilypond-9999.ebuild index ae3457cd26553..63d46dcb3e068 100644 --- a/media-sound/lilypond/lilypond-9999.ebuild +++ b/media-sound/lilypond/lilypond-9999.ebuild @@ -3,9 +3,11 @@ EAPI=8 +GUILE_REQ_USE="deprecated,regex" +GUILE_COMPAT=( 2-2 3-0 ) PYTHON_COMPAT=( python3_{10..13} ) -inherit elisp-common autotools python-single-r1 toolchain-funcs xdg-utils +inherit elisp-common autotools guile-single python-single-r1 toolchain-funcs xdg-utils if [[ ${PV} == *9999* ]]; then inherit git-r3 @@ -24,7 +26,7 @@ SLOT="0" LANG_USE="l10n_ca l10n_cs l10n_de l10n_en l10n_fr l10n_hu l10n_it l10n_ja l10n_nl l10n_pt l10n_zh" IUSE="debug doc emacs profile ${LANG_USE}" unset LANG_USE -REQUIRED_USE="${PYTHON_REQUIRED_USE}" +REQUIRED_USE="${GUILE_REQUIRED_USE} ${PYTHON_REQUIRED_USE}" BDEPEND=" dev-texlive/texlive-metapost @@ -35,12 +37,16 @@ BDEPEND=" doc? ( app-text/texi2html ) " RDEPEND="app-text/ghostscript-gpl - >=dev-scheme/guile-3.0.7:12=[deprecated,regex] + dev-libs/boehm-gc + dev-libs/glib:2 + dev-libs/libatomic_ops media-fonts/tex-gyre media-libs/fontconfig media-libs/freetype:2 + media-libs/harfbuzz >=x11-libs/pango-1.40 emacs? ( >=app-editors/emacs-23.1:* ) + ${GUILE_DEPS} ${PYTHON_DEPS}" DEPEND="${RDEPEND} app-text/t1utils @@ -60,12 +66,15 @@ RESTRICT="test" DOCS=( DEDICATION README.md ROADMAP ) -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_PREBUILT='*[.]go' +QA_PREBUILT="usr/*/${PN}/${PV}/ccache/*" + +pkg_setup() { + guile-single_pkg_setup + python-single-r1_pkg_setup +} src_prepare() { - default + guile-single_src_prepare # respect CFLAGS sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die @@ -120,6 +129,8 @@ src_install() { elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el fi + guile_unstrip_ccache + python_fix_shebang "${ED}" einstalldocs From 1c669f2ad1d54ad5bdd9bd04d99a63c8c1f4cfa2 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 14:44:35 +0300 Subject: [PATCH 36/52] net-analyzer/alive: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- net-analyzer/alive/alive-2.0.5-r100.ebuild | 33 ++++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 34 insertions(+) create mode 100644 net-analyzer/alive/alive-2.0.5-r100.ebuild diff --git a/net-analyzer/alive/alive-2.0.5-r100.ebuild b/net-analyzer/alive/alive-2.0.5-r100.ebuild new file mode 100644 index 0000000000000..277a47bb198a6 --- /dev/null +++ b/net-analyzer/alive/alive-2.0.5-r100.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile-single unpacker + +DESCRIPTION="Periodic ping program" +HOMEPAGE="https://www.gnu.org/software/alive/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.lz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +DEPEND="${GUILE_DEPS}" +RDEPEND="${DEPEND} + dev-scheme/xdgdirs + net-misc/iputils" +BDEPEND="$(unpacker_src_uri_depends)" + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.2-ping-test.patch +) + +src_prepare() { + guile-single_src_prepare + + eautoreconf +} diff --git a/profiles/package.mask b/profiles/package.mask index 8d8c927319f61..1011e2fca1af1 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -386,6 +386,7 @@ dev-scheme/guile:3.0 >=dev-scheme/xdgdirs-2.2-r100 >=media-gfx/graphviz-12.0.0-r100 >=media-sound/lilypond-2.24.4-r100 +>=net-analyzer/alive-2.0.5-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From d2dc4949684e0bcbf1bb280ae037f019efe9c841 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 14:51:31 +0300 Subject: [PATCH 37/52] net-irc/weechat: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- net-irc/weechat/weechat-4.3.4-r100.ebuild | 202 ++++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 203 insertions(+) create mode 100644 net-irc/weechat/weechat-4.3.4-r100.ebuild diff --git a/net-irc/weechat/weechat-4.3.4-r100.ebuild b/net-irc/weechat/weechat-4.3.4-r100.ebuild new file mode 100644 index 0000000000000..bb40f10753ee6 --- /dev/null +++ b/net-irc/weechat/weechat-4.3.4-r100.ebuild @@ -0,0 +1,202 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +LUA_COMPAT=( lua5-{1..4} ) +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake guile-single lua-single python-single-r1 xdg + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/weechat/weechat.git" +else + inherit verify-sig + SRC_URI="https://weechat.org/files/src/${P}.tar.xz + verify-sig? ( https://weechat.org/files/src/${P}.tar.xz.asc )" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/weechat.org.asc + BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-weechat )" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos" +fi + +DESCRIPTION="Portable and multi-interface IRC client" +HOMEPAGE="https://weechat.org/" + +LICENSE="GPL-3+" +SLOT="0/${PV}" + +NETWORKS="+irc" +PLUGINS="+alias +buflist +charset +exec +fifo +fset +logger +relay +scripts +spell +trigger +typing +xfer" +# dev-lang/v8 was dropped from Gentoo so we can't enable javascript support +# dev-lang/php eclass support is lacking, php plugins don't work. bug #705702 +SCRIPT_LANGS="guile lua +perl +python ruby tcl" +LANGS=" cs de es fr it ja pl ru" +IUSE="doc enchant man nls relay-api selinux test +zstd ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}" + +REQUIRED_USE=" + enchant? ( spell ) + guile? ( ${GUILE_REQUIRED_USE} ) + lua? ( ${LUA_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) + test? ( nls ) + relay-api? ( relay ) +" + +RDEPEND=" + dev-libs/libgcrypt:0= + net-libs/gnutls:= + sys-libs/ncurses:0= + sys-libs/zlib:= + net-misc/curl[ssl] + charset? ( virtual/libiconv ) + guile? ( ${GUILE_DEPS} ) + lua? ( ${LUA_DEPS} ) + nls? ( virtual/libintl ) + perl? ( + dev-lang/perl:= + virtual/libcrypt:= + ) + python? ( ${PYTHON_DEPS} ) + relay-api? ( dev-libs/cJSON ) + ruby? ( + || ( + dev-lang/ruby:3.3 + dev-lang/ruby:3.2 + dev-lang/ruby:3.1 + ) + ) + selinux? ( sec-policy/selinux-irc ) + spell? ( + enchant? ( app-text/enchant:* ) + !enchant? ( app-text/aspell ) + ) + tcl? ( >=dev-lang/tcl-8.4.15:0= ) + zstd? ( app-arch/zstd:= ) +" + +DEPEND="${RDEPEND} + test? ( dev-util/cpputest ) +" + +BDEPEND+=" + virtual/pkgconfig + doc? ( >=dev-ruby/asciidoctor-1.5.4 ) + man? ( >=dev-ruby/asciidoctor-1.5.4 ) + nls? ( >=sys-devel/gettext-0.15 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.3-cmake_lua_version.patch +) + +DOCS="AUTHORS.adoc ChangeLog.adoc Contributing.adoc ReleaseNotes.adoc README.adoc" + +RESTRICT="!test? ( test )" + +pkg_setup() { + use guile && guile-single_pkg_setup + use lua && lua-single_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + use guile && guile_bump_sources + + # install only required translations + local i + for i in ${LANGS} ; do + if ! has ${i} ${LINGUAS-${i}} ; then + sed -i \ + -e "/${i}.po/d" \ + po/CMakeLists.txt || die + fi + done + + # install only required documentation ; en always + local j + for i in $(grep -e 'set(.*en.*)$' doc/CMakeLists.txt \ + | sed -e 's/.*set(\(\w\+\).*/\1/'); do + for j in $(grep set.${i} doc/CMakeLists.txt \ + | sed -e "s/.*${i}\(.*\)).*/\1/" -e 's/ en//'); do + if ! has ${j} ${LINGUAS-${j}} ; then + sed -i \ + -e "s/\(set(${i}.*\) ${j}/\1/" \ + doc/CMakeLists.txt || die + fi + done + done + + # install docs in correct directory + sed -i "s#\${DATAROOTDIR}/doc/\${PROJECT_NAME}#\0-${PVR}/html#" doc/CMakeLists.txt || die + + if [[ ${CHOST} == *-darwin* ]]; then + # fix linking error on Darwin + sed -i "s/+ get_config_var('LINKFORSHARED')//" \ + cmake/FindPython.cmake || die + # allow to find the plugins by default + sed -i 's/".so,.dll"/".bundle,.so,.dll"/' \ + src/core/wee-config.c || die + fi +} + +src_configure() { + local mycmakeargs=( + -DLIBDIR="${EPREFIX}/usr/$(get_libdir)" + -DENABLE_JAVASCRIPT=OFF + -DENABLE_LARGEFILE=ON + -DENABLE_NCURSES=ON + -DENABLE_PHP=OFF + -DENABLE_ALIAS=$(usex alias) + -DENABLE_BUFLIST=$(usex buflist) + -DENABLE_CHARSET=$(usex charset) + # -DENABLE_DOC requires all plugins (except javascript). + # https://github.com/weechat/weechat/blob/v4.0.2/CMakeLists.txt#L144 + # Impossible since php was dropped in net-irc/weechat-3.5.r1.ebuild. bug #705702 + -DENABLE_DOC=OFF + -DENABLE_DOC_INCOMPLETE=$(usex doc) + -DENABLE_ENCHANT=$(usex enchant) + -DENABLE_EXEC=$(usex exec) + -DENABLE_FIFO=$(usex fifo) + -DENABLE_FSET=$(usex fset) + -DENABLE_GUILE=$(usex guile) + -DENABLE_IRC=$(usex irc) + -DENABLE_LOGGER=$(usex logger) + -DENABLE_LUA=$(usex lua) + -DENABLE_MAN=$(usex man) + -DENABLE_NLS=$(usex nls) + -DENABLE_PERL=$(usex perl) + -DENABLE_PYTHON=$(usex python) + -DENABLE_RELAY=$(usex relay) + -DENABLE_CJSON=$(usex relay-api) + -DENABLE_RUBY=$(usex ruby) + -DENABLE_SCRIPT=$(usex scripts) + -DENABLE_SCRIPTS=$(usex scripts) + -DENABLE_SPELL=$(usex spell) + -DENABLE_TCL=$(usex tcl) + -DENABLE_TESTS=$(usex test) + -DENABLE_TRIGGER=$(usex trigger) + -DENABLE_TYPING=$(usex typing) + -DENABLE_XFER=$(usex xfer) + -DENABLE_ZSTD=$(usex zstd) + ) + cmake_src_configure +} + +src_test() { + if $(locale -a | grep -iq "en_US\.utf.*8"); then + cmake_src_test -V + else + eerror "en_US.UTF-8 locale is required to run ${PN}'s ${FUNCNAME}" + die "required locale missing" + fi +} + +src_install() { + cmake_src_install + + use guile && guile_unstrip_ccache +} diff --git a/profiles/package.mask b/profiles/package.mask index 1011e2fca1af1..662019ff857f5 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -387,6 +387,7 @@ dev-scheme/guile:3.0 >=media-gfx/graphviz-12.0.0-r100 >=media-sound/lilypond-2.24.4-r100 >=net-analyzer/alive-2.0.5-r100 +>=net-irc/weechat-4.3.4-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From c98e5ce2ab7341b172ea7e63cb4ac0ae0c810f79 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 28 Aug 2024 12:15:40 +0300 Subject: [PATCH 38/52] net-irc/weechat: update live to use new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- net-irc/weechat/weechat-9999.ebuild | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/net-irc/weechat/weechat-9999.ebuild b/net-irc/weechat/weechat-9999.ebuild index b35455cb8847c..51c44dccd8531 100644 --- a/net-irc/weechat/weechat-9999.ebuild +++ b/net-irc/weechat/weechat-9999.ebuild @@ -3,10 +3,11 @@ EAPI=8 +GUILE_COMPAT=( 2-2 3-0 ) LUA_COMPAT=( lua5-{1..4} ) PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake lua-single python-single-r1 xdg +inherit cmake guile-single lua-single python-single-r1 xdg if [[ ${PV} == "9999" ]] ; then inherit git-r3 @@ -36,6 +37,7 @@ IUSE="doc enchant man nls relay-api selinux test +zstd ${SCRIPT_LANGS} ${PLUGINS REQUIRED_USE=" enchant? ( spell ) + guile? ( ${GUILE_REQUIRED_USE} ) lua? ( ${LUA_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} ) test? ( nls ) @@ -49,7 +51,7 @@ RDEPEND=" sys-libs/zlib:= net-misc/curl[ssl] charset? ( virtual/libiconv ) - guile? ( >=dev-scheme/guile-2.0:12= ) + guile? ( ${GUILE_DEPS} ) lua? ( ${LUA_DEPS} ) nls? ( virtual/libintl ) perl? ( @@ -90,6 +92,7 @@ DOCS="AUTHORS.md CHANGELOG.md CONTRIBUTING.md UPGRADING.md README.md" RESTRICT="!test? ( test )" pkg_setup() { + use guile && guile-single_pkg_setup use lua && lua-single_pkg_setup use python && python-single-r1_pkg_setup } @@ -97,6 +100,8 @@ pkg_setup() { src_prepare() { cmake_src_prepare + use guile && guile_bump_sources + # install only required translations local i for i in ${LANGS} ; do @@ -185,3 +190,9 @@ src_test() { die "required locale missing" fi } + +src_install() { + cmake_src_install + + use guile && guile_unstrip_ccache +} From b509fcb2a15b2b52548cb191356245e6f52f5cba Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 14:56:27 +0300 Subject: [PATCH 39/52] net-mail/mailutils: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- net-mail/mailutils/mailutils-3.17-r100.ebuild | 161 ++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 162 insertions(+) create mode 100644 net-mail/mailutils/mailutils-3.17-r100.ebuild diff --git a/net-mail/mailutils/mailutils-3.17-r100.ebuild b/net-mail/mailutils/mailutils-3.17-r100.ebuild new file mode 100644 index 0000000000000..bc60b6d6cfa74 --- /dev/null +++ b/net-mail/mailutils/mailutils-3.17-r100.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +PYTHON_COMPAT=( python3_{10..12} ) + +inherit autotools elisp-common flag-o-matic guile-single python-single-r1 toolchain-funcs + +DESCRIPTION="A useful collection of mail servers, clients, and filters" +HOMEPAGE="https://mailutils.org/" +SRC_URI="mirror://gnu/mailutils/${P}.tar.xz" + +LICENSE="GPL-3+ LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos" +IUSE="berkdb bidi +clients emacs gdbm sasl guile kerberos kyotocabinet \ + ldap mysql nls pam postgres python servers split-usr ssl static-libs test +threads tcpd \ + tokyocabinet" +RESTRICT="!test? ( test )" + +RDEPEND=" + !mail-filter/libsieve + !mail-client/mailx + sys-libs/ncurses:= + sys-libs/readline:= + dev-libs/libltdl:0 + virtual/libcrypt:= + virtual/mta + berkdb? ( sys-libs/db:= ) + bidi? ( dev-libs/fribidi ) + emacs? ( >=app-editors/emacs-23.1:* ) + gdbm? ( sys-libs/gdbm:= ) + guile? ( ${GUILE_DEPS} ) + kerberos? ( virtual/krb5 ) + kyotocabinet? ( dev-db/kyotocabinet ) + ldap? ( net-nds/openldap:= ) + mysql? ( dev-db/mysql-connector-c:= ) + nls? ( sys-devel/gettext ) + pam? ( sys-libs/pam:= ) + postgres? ( dev-db/postgresql:= ) + python? ( ${PYTHON_DEPS} ) + sasl? ( >=net-misc/gsasl-2.0.0 ) + servers? ( virtual/libiconv dev-libs/libunistring:= ) + ssl? ( net-libs/gnutls:= ) + tcpd? ( sys-apps/tcp-wrappers ) + tokyocabinet? ( dev-db/tokyocabinet ) + " + +DEPEND="${RDEPEND}" + +BDEPEND=" + virtual/pkgconfig + test? ( dev-util/dejagnu ) +" + +REQUIRED_USE=" + guile? ( ${GUILE_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) + servers? ( tcpd ldap )" + +DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO ) +PATCHES=( + "${FILESDIR}"/${PN}-3.5-add-include.patch +) + +pkg_setup() { + use guile && guile-single_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + if use guile; then + guile_bump_sources + sed -i -e "s|guile|${GUILE}|" libmu_scm/tests/testsuite || die + fi + if use mysql; then + sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \ + sql/Makefile.am || die + fi + eautoreconf +} + +src_configure() { + append-flags -fno-strict-aliasing + + if use guile; then + export GUILE_SNARF="${GUILESNARF}" + export GUILE_TOOLS="${GUILE/guile/guile-tools}" + fi + + # maildir is the Gentoo default + econf \ + MU_DEFAULT_SCHEME=maildir \ + CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \ + $(use_with berkdb berkeley-db) \ + $(use_with bidi fribidi) \ + $(use_with gdbm) \ + $(use_with sasl gsasl) \ + $(use_with guile) \ + $(use_with kerberos gssapi) \ + $(use_with ldap) \ + $(use_with mysql) \ + $(use_enable nls) \ + $(use_enable pam) \ + $(use_with postgres) \ + $(use_enable python) \ + $(use_with ssl gnutls) \ + $(use_enable static-libs static) \ + $(use_enable threads pthread) \ + $(use_with tokyocabinet) \ + $(use_with kyotocabinet) \ + $(use_with tcpd tcp-wrappers) \ + $(use_enable servers build-servers) \ + $(use_with servers unistring ) \ + $(use_enable clients build-clients) \ + EMACS=$(usex emacs emacs no) \ + --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \ + --with-mail-spool=/var/spool/mail \ + --with-readline \ + --enable-ipv6 \ + --enable-sendmail \ + --disable-debug +} + +src_install() { + default + + insinto /etc + # bug 613112 + newins "${FILESDIR}/mailutils.rc" mailutils.conf + keepdir /etc/mailutils.d/ + insinto /etc/mailutils.d + doins "${FILESDIR}/mail" + + use guile && guile_unstrip_ccache + + if use python; then + python_optimize + if use static-libs; then + rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die + fi + fi + + if use servers; then + newinitd "${FILESDIR}"/imap4d.initd imap4d + newinitd "${FILESDIR}"/pop3d.initd pop3d + newinitd "${FILESDIR}"/comsatd.initd comsatd + fi + + # compatibility link + if use clients && use split-usr; then + dosym ../usr/bin/mail /bin/mail + fi + + if ! use static-libs; then + find "${D}" -name "*.la" -delete || die + fi +} diff --git a/profiles/package.mask b/profiles/package.mask index 662019ff857f5..b0dc7fe4b3754 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -388,6 +388,7 @@ dev-scheme/guile:3.0 >=media-sound/lilypond-2.24.4-r100 >=net-analyzer/alive-2.0.5-r100 >=net-irc/weechat-4.3.4-r100 +>=net-mail/mailutils-3.17-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From f515e7811144da2947bec066fa8e1ddb864a646b Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 17:12:01 +0300 Subject: [PATCH 40/52] sci-electronics/geda: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- profiles/package.mask | 1 + sci-electronics/geda/geda-1.10.2-r100.ebuild | 96 ++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 sci-electronics/geda/geda-1.10.2-r100.ebuild diff --git a/profiles/package.mask b/profiles/package.mask index b0dc7fe4b3754..27b90b371360d 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -389,6 +389,7 @@ dev-scheme/guile:3.0 >=net-analyzer/alive-2.0.5-r100 >=net-irc/weechat-4.3.4-r100 >=net-mail/mailutils-3.17-r100 +>=sci-electronics/geda-1.10.2-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of diff --git a/sci-electronics/geda/geda-1.10.2-r100.ebuild b/sci-electronics/geda/geda-1.10.2-r100.ebuild new file mode 100644 index 0000000000000..93666fb0cfa98 --- /dev/null +++ b/sci-electronics/geda/geda-1.10.2-r100.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +DOCS_DEPEND=" + media-gfx/graphviz + media-gfx/imagemagick + virtual/latex-base +" +GUILE_COMPAT=( 2-2 ) +inherit autotools docs guile-single xdg + +MY_PN=${PN}-gaf +MY_P=${MY_PN}-${PV} + +DESCRIPTION="GPL Electronic Design Automation (gEDA):gaf core package" +HOMEPAGE="http://geda-project.org/ http://wiki.geda-project.org/geda:gaf" +SRC_URI="http://ftp.geda-project.org/${MY_PN}/stable/v$(ver_cut 1-2)/${PV}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug fam nls" +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-libs/glib:2 + sci-electronics/electronics-menu + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/pango + nls? ( virtual/libintl ) + fam? ( app-admin/gamin ) +" + +DEPEND="${RDEPEND} + dev-util/desktop-file-utils + x11-misc/shared-mime-info" +BDEPEND=" + sys-apps/groff + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +PATCHES=( + # Xorn requires python2 + "${FILESDIR}/${P}-drop-xorn.patch" + + "${FILESDIR}/${PN}-1.10.2-fix-gtk-sheet.patch" +) + +pkg_setup() { + guile-single_pkg_setup +} + +src_prepare() { + guile-single_src_prepare + rm -r xorn || die + + # remove compressed files, compressed by portage in install phase + rm docs/wiki/media/geda/gsch2pcb-libs.tar.gz || die + rm docs/wiki/media/geda/pcb_plugin_template.tar.gz || die + rm docs/wiki/media/pcb/plugin_debug_window.tar.gz || die + + # -Wmaybe-uninitialized is made fatal, which is not ideal for building + # releases. Upstream is working on fixing these anyway. + sed -i '/Werror_maybe_uninitialized_IF_SUPPORTED/d' configure.ac || die + + eautoreconf +} + +src_configure() { + local myconf=( + --disable-rpath + --disable-update-xdg-database + $(use_enable doc doxygen) + $(use_enable debug assert) + $(use_enable nls) + $(use_with fam libfam) + ) + + local -x GUILE_SNARF="${GUILESNARF}" + + econf "${myconf[@]}" +} + +src_install() { + guile_src_install + + find "${D}" -name '*.la' -delete || die +} From 7a3daf8ba3750dda074458a780f42207125bc5a3 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 18:03:22 +0300 Subject: [PATCH 41/52] sci-electronics/gwave: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/886139 Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- profiles/package.mask | 1 + .../gwave/files/gwave-20190116-lfs-shim.patch | 14 +++++ .../gwave/gwave-20190116-r100.ebuild | 63 +++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch create mode 100644 sci-electronics/gwave/gwave-20190116-r100.ebuild diff --git a/profiles/package.mask b/profiles/package.mask index 27b90b371360d..508f5abed5287 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -390,6 +390,7 @@ dev-scheme/guile:3.0 >=net-irc/weechat-4.3.4-r100 >=net-mail/mailutils-3.17-r100 >=sci-electronics/geda-1.10.2-r100 +>=sci-electronics/gwave-20190116-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of diff --git a/sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch b/sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch new file mode 100644 index 0000000000000..5957b6a1b6b05 --- /dev/null +++ b/sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/886139 + +--- a/spicefile/sp2sp.c ++++ b/spicefile/sp2sp.c +@@ -234,7 +234,7 @@ + } + of = stdout; + } else { +- of = (FILE *)fopen64(outfilename, "w"); /* DJW: why is the cast needed? */ ++ of = fopen(outfilename, "w"); + if(!of) { + if(errno) + perror(outfilename); + diff --git a/sci-electronics/gwave/gwave-20190116-r100.ebuild b/sci-electronics/gwave/gwave-20190116-r100.ebuild new file mode 100644 index 0000000000000..2b2cd99723397 --- /dev/null +++ b/sci-electronics/gwave/gwave-20190116-r100.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_REQ_USE="networking" +GUILE_COMPAT=( 2-2 ) +inherit autotools desktop flag-o-matic guile-single xdg + +DESCRIPTION="Analog waveform viewer for SPICE-like simulations" +HOMEPAGE="http://gwave.sourceforge.net" +SRC_URI="https://downloads.sourceforge.net/${PN}/gwave3/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="gnuplot plotutils" +SLOT="0" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +DEPEND=" + ${GUILE_DEPS} + >=x11-libs/gtk+-2.8.0:2= + sys-libs/readline:0= + sys-libs/ncurses:0=" + +RDEPEND="${DEPEND} + sci-electronics/electronics-menu + gnuplot? ( sci-visualization/gnuplot ) + plotutils? ( media-libs/plotutils )" + +PATCHES=( + "${FILESDIR}"/${P}-multiple-little-bugfixes.patch + "${FILESDIR}"/${P}-as-needed.patch + "${FILESDIR}"/${P}-fix-configure.patch + "${FILESDIR}"/${P}-lfs-shim.patch +) + +src_prepare() { + guile-single_src_prepare + + sed -i \ + -e "s|guile-snarf|${GUILESNARF}|" \ + -e "s|guile-tools|${GUILE/guile/guile-tools}|" \ + src/Makefile.am || die + sed -i \ + -e "s|guile-tools|${GUILE/guile/guile-tools}|" \ + scheme/Makefile.am || die + + eautoreconf +} + +src_configure() { + # https://bugs.gentoo.org/886139 + append-lfs-flags + econf +} + +src_install() { + guile-single_src_install + newicon icons/wave-drag-ok.xpm gwave.xpm + make_desktop_entry gwave "Gwave" gwave "Electronics" +} From 7bb956b5877331c780461e4fd16e616b6467bd2b Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 18:08:31 +0300 Subject: [PATCH 42/52] sci-libs/linux-gpib: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- profiles/package.mask | 1 + .../linux-gpib/linux-gpib-4.3.6-r100.ebuild | 190 ++++++++++++++++++ 2 files changed, 191 insertions(+) create mode 100644 sci-libs/linux-gpib/linux-gpib-4.3.6-r100.ebuild diff --git a/profiles/package.mask b/profiles/package.mask index 508f5abed5287..e96b57254b334 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -391,6 +391,7 @@ dev-scheme/guile:3.0 >=net-mail/mailutils-3.17-r100 >=sci-electronics/geda-1.10.2-r100 >=sci-electronics/gwave-20190116-r100 +>=sci-libs/linux-gpib-4.3.6-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of diff --git a/sci-libs/linux-gpib/linux-gpib-4.3.6-r100.ebuild b/sci-libs/linux-gpib/linux-gpib-4.3.6-r100.ebuild new file mode 100644 index 0000000000000..7950a9d288627 --- /dev/null +++ b/sci-libs/linux-gpib/linux-gpib-4.3.6-r100.ebuild @@ -0,0 +1,190 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +PYTHON_COMPAT=( python3_{10..12} ) + +inherit readme.gentoo-r1 autotools guile-single perl-functions python-single-r1 udev + +# Check for latest firmware version on bump +FW_PV="2008-08-10" + +DESCRIPTION="Driver library for GPIB (IEEE 488.2) hardware" +HOMEPAGE="https://linux-gpib.sourceforge.io/" +SRC_URI="https://downloads.sourceforge.net/linux-gpib/${P}.tar.gz + firmware? ( https://linux-gpib.sourceforge.io/firmware/gpib_firmware-${FW_PV}.tar.gz ) +" +S="${WORKDIR}/${PN}-user-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="pcmcia static guile perl php python tcl doc firmware" +REQUIRED_USE=" + guile? ( ${GUILE_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +COMMONDEPEND=" + sys-libs/readline:= + tcl? ( dev-lang/tcl:0= ) + guile? ( ${GUILE_DEPS} ) + perl? ( dev-lang/perl:= ) + php? ( dev-lang/php:= ) + python? ( ${PYTHON_DEPS} ) + firmware? ( sys-apps/fxload ) +" +RDEPEND="${COMMONDEPEND} + acct-group/gpib + ~sci-libs/linux-gpib-modules-${PV} +" +DEPEND="${COMMONDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/docbook-sgml-utils ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-4.3.0-perl.patch +) + +pkg_setup() { + use guile && guile-single_pkg_setup + use perl && perl_set_version + use python && python_setup +} + +src_unpack() { + default + unpack "${WORKDIR}/${P}/${PN}-user-${PV}.tar.gz" +} + +src_prepare() { + default + + use guile && guile_bump_sources + + # We have to use --root instead of --prefix for setup.py. + # Otherwise the python files are not installed properly into site-packages. + sed -i -e \ + 's/--prefix=$(DESTDIR)$(prefix)/--root=$(DESTDIR)/g' \ + language/python/Makefile.am || die + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static) \ + $(use_enable guile guile-binding) \ + $(use_enable perl perl-binding) \ + $(use_enable php php-binding) \ + $(use_enable python python-binding) \ + $(use_enable tcl tcl-binding) \ + $(use_enable doc documentation) +} + +src_install() { + # PYTHONDONTWRITEBYTECODE=0 is required, otherwise + # installation of the python files is skipped + FIRM_DIR="${EPREFIX}"/usr/share/usb + emake \ + DESTDIR="${ED}" \ + INSTALL_MOD_PATH="${ED}" \ + HOTPLUG_USB_CONF_DIR=/etc/hotplug/usb \ + UDEV_RULES_DIR="$(get_udevdir)"/rules.d \ + USB_FIRMWARE_DIR=${FIRM_DIR} \ + PYTHONDONTWRITEBYTECODE=0 \ + docdir="/usr/share/doc/${PF}/html" install + + use guile && guile_unstrip_ccache + + if use perl; then + einfo "Installing perl module" + cd "${S}"/language/perl || die + emake DESTDIR="${ED}" install + perl_fix_packlist + perl_delete_emptybsdir + cd "${S}" || die + fi + + echo "KERNEL==\"gpib[0-9]*\", MODE=\"0660\", GROUP=\"gpib\"" >> 99-gpib.rules || die + udev_dorules 99-gpib.rules + + dodoc doc/linux-gpib.pdf ChangeLog AUTHORS README* NEWS + + insinto /etc + newins util/templates/gpib.conf gpib.conf + newins util/templates/gpib.conf gpib.conf.example + + if use pcmcia; then + insinto /etc/pcmcia + doins "${S}"/etc/pcmcia/* + fi + + # remove .la files + find "${ED}" -name '*.la' -delete || die + + DOC_CONTENTS=" +As the udev rules were changed and refactored in this release it is +necessary to remove any manually installed pre-4.3.0 gpib udev rules files +in /etc/udev/rules.d/. The files to remove are: +\n + 99-agilent_82357a.rules\n + 99-gpib-generic.rules\n + 99-ni_usb_gpib.rules\n +\n +You need to run the 'gpib_config' utility to setup the driver before +you can use it. In order to do it automatically you can add to your +start script something like this (supposing the appropriate driver +is loaded on the startup): +\n + gpib_config --minor 0 +\n +To give a user access to the computer's gpib board you will have to add +them to the group 'gpib' or, you could change the permissions on the device +files /dev/gpib[0-15] to something you like better, using 'chmod' +\n +Edit /etc/gpib.conf to match your interface board, and any devices you wish +to open via ibfind(). See the documentation in /usr/share/linux-gpib/html for +more information. +\n +" + + if use pcmcia; then + DOC_CONTENTS+=' +For PCMCIA cards:\n +All files needed for a PCMCIA board were copied to /etc/pcmcia. +You may wish to edit the options passed to the gpib_config call in the +/etc/pcmcia/linux-gpib-pcmcia script. +You may need to send a SIGHUP signal to the cardmgr daemon to force it +to reload the files in /etc/pcmcia \(alternatively you could use your +pcmcia init.d script to restart the cardmgr, or you could just reboot\). +The driver module will be loaded as needed by the cardmgr. + +' + fi + + if use firmware; then + DOC_CONTENTS+=' +For Agilent \(HP\) 82341C and 82341D cards: +The firmware for these boards is uploaded by passing the appropriate +firmware file from /usr/share/linux-gpib/hp_82341 directory to +gpib_config using the -I or --init-data command line option. Example:\n +gpib_config --minor 0 --init-data /usr/share/linux-gpib/hp_82341/hp_82341c_fw.bin +' + fi + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + udev_reload +} + +pkg_postrm() { + udev_reload +} From 01f1676c357e17cfde5abb0ccca96766e69bbe6f Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 18:11:51 +0300 Subject: [PATCH 43/52] sci-libs/nlopt: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- profiles/package.mask | 1 + sci-libs/nlopt/nlopt-2.7.1-r100.ebuild | 115 +++++++++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 sci-libs/nlopt/nlopt-2.7.1-r100.ebuild diff --git a/profiles/package.mask b/profiles/package.mask index e96b57254b334..c7ffd7860231c 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -392,6 +392,7 @@ dev-scheme/guile:3.0 >=sci-electronics/geda-1.10.2-r100 >=sci-electronics/gwave-20190116-r100 >=sci-libs/linux-gpib-4.3.6-r100 +>=sci-libs/nlopt-2.7.1-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of diff --git a/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild b/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild new file mode 100644 index 0000000000000..55bc5573894bd --- /dev/null +++ b/sci-libs/nlopt/nlopt-2.7.1-r100.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +PYTHON_COMPAT=( python3_{10..12} ) +FORTRAN_NEEDED="test" + +inherit python-r1 cmake guile-single fortran-2 + +DESCRIPTION="Non-linear optimization library" +HOMEPAGE="https://github.com/stevengj/nlopt" +SRC_URI="https://github.com/stevengj/nlopt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1 MIT" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +SLOT="0" +IUSE="cxx guile octave python test" +REQUIRED_USE="guile? ( ${GUILE_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +RDEPEND=" + guile? ( ${GUILE_DEPS} ) + octave? ( >=sci-mathematics/octave-6:= ) + python? ( + ${PYTHON_DEPS} + dev-python/numpy[${PYTHON_USEDEP}] + ) + " +DEPEND="${RDEPEND}" +BDEPEND="python? ( dev-lang/swig )" + +src_prepare() { + cmake_src_prepare + + use guile && guile_bump_sources + use python && python_copy_sources +} + +src_configure() { + # MATLAB detection causes problems (as in bug 826774) if we don't + # explicitly disable it. + local mycmakeargs=( + -DNLOPT_CXX=$(usex cxx) + -DNLOPT_FORTRAN=$(usex test) + -DNLOPT_GUILE=$(usex guile) + -DNLOPT_OCTAVE=$(usex octave) + -DNLOPT_MATLAB=OFF + -DNLOPT_PYTHON=OFF + -DNLOPT_SWIG=$(usex python) + -DNLOPT_TESTS=$(usex test) + ) + + cmake_src_configure + + if use python; then + python_configure() { + local mycmakeargs=( + ${mycmakeargs[@]} + -DNLOPT_PYTHON=ON + -DINSTALL_PYTHON_DIR="$(python_get_sitedir)" + ) + + cmake_src_configure + } + + python_foreach_impl run_in_build_dir python_configure + fi +} + +src_compile() { + cmake_src_compile + + if use python; then + python_foreach_impl run_in_build_dir cmake_src_compile + fi +} + +src_test() { + do_test() { + local a f + cd "${BUILD_DIR}"/test + for a in {1..$(usex cxx 9 7)}; do + for f in {5..9}; do + ./testopt -a $a -o $f || die "algorithm $a function $f failed" + done + done + } + + do_test + + if use python; then + python_foreach_impl run_in_build_dir do_test + fi +} + +nlopt_install() { + cmake_src_install + python_optimize +} + +src_install() { + cmake_src_install + + guile_unstrip_ccache + if use python; then + python_foreach_impl run_in_build_dir nlopt_install + fi + + local r + for r in */README; do + newdoc ${r} README.$(dirname ${r}) + done +} From 2a02c9af48434921dc61842354a0a1880a26b426 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 18:14:26 +0300 Subject: [PATCH 44/52] sys-devel/autogen: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- profiles/package.mask | 1 + sys-devel/autogen/autogen-5.18.16-r100.ebuild | 85 +++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 sys-devel/autogen/autogen-5.18.16-r100.ebuild diff --git a/profiles/package.mask b/profiles/package.mask index c7ffd7860231c..8cbbcb9442cc0 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -393,6 +393,7 @@ dev-scheme/guile:3.0 >=sci-electronics/gwave-20190116-r100 >=sci-libs/linux-gpib-4.3.6-r100 >=sci-libs/nlopt-2.7.1-r100 +>=sys-devel/autogen-5.18.16-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of diff --git a/sys-devel/autogen/autogen-5.18.16-r100.ebuild b/sys-devel/autogen/autogen-5.18.16-r100.ebuild new file mode 100644 index 0000000000000..ca84c102bfb6f --- /dev/null +++ b/sys-devel/autogen/autogen-5.18.16-r100.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit flag-o-matic autotools guile-single toolchain-funcs + +DESCRIPTION="Program and text file generation" +HOMEPAGE="https://www.gnu.org/software/autogen/" +SRC_URI=" + mirror://gnu/${PN}/rel${PV}/${P}.tar.xz + https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=lib/verify.h;h=3b57ddee0acffd23cc51bc8910a15cf879f90619;hb=537a5511ab0b1326e69b32f87593a50aedb8a589 -> ${P}-gnulib-3b57ddee0acffd23cc51bc8910a15cf879f90619-lib-verify.h +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="libopts static-libs" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-libs/libxml2 +" +DEPEND="${RDEPEND}" + +# We don't pass the flag explicitly, bug #796776. +# Let's fix it upstream after next autogen release if it happens. +QA_CONFIGURE_OPTIONS+=" --enable-snprintfv-convenience" + +QA_CONFIG_IMPL_DECL_SKIP+=( + # libgen.h is legacy and linux doesn't include -lgen nor nonstandard + # functions. bug #924961 + pathfind +) + +PATCHES=( + "${FILESDIR}"/${PN}-5.18.16-no-werror.patch + "${FILESDIR}"/${PN}-5.18.16-rpath.patch + "${FILESDIR}"/${PN}-5.18.16-respect-TMPDIR.patch + "${FILESDIR}"/${PN}-5.18.16-make-4.3.patch + "${FILESDIR}"/${PN}-5.18.16-guile-3.patch + "${FILESDIR}"/${PN}-5.18.16-configure-c99.patch + "${FILESDIR}"/${PN}-5.18.16-FORTIFY_SOURCE.patch + "${FILESDIR}"/${PN}-5.18.16-no-which.patch +) + +src_prepare() { + guile-single_src_prepare + + # missing tarball file + cp "${DISTDIR}"/${P}-gnulib-3b57ddee0acffd23cc51bc8910a15cf879f90619-lib-verify.h autoopts/verify.h || die + + # May be able to drop this on next release (>5.18.16) + eautoreconf +} + +src_configure() { + # suppress possibly incorrect -R flag + export ag_cv_test_ldflags= + + # autogen requires run-time sanity of regex and string functions. + # Use defaults of linux-glibc until we need somethig more advanced. + if tc-is-cross-compiler ; then + export ag_cv_run_strcspn=no + export libopts_cv_with_libregex=yes + fi + + # bug 920174 + use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE + + econf $(use_enable static-libs static) +} + +src_install() { + guile-single_src_install + + find "${ED}" -name '*.la' -delete || die + + if ! use libopts ; then + rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die + fi +} From 6ab412392147e2e564299585e539d60b5b7cd139 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 18:21:48 +0300 Subject: [PATCH 45/52] www-client/elinks: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- profiles/package.mask | 1 + www-client/elinks/elinks-0.16.1.1-r100.ebuild | 199 ++++++++++++++++++ 2 files changed, 200 insertions(+) create mode 100644 www-client/elinks/elinks-0.16.1.1-r100.ebuild diff --git a/profiles/package.mask b/profiles/package.mask index 8cbbcb9442cc0..028c0d97a91ee 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -394,6 +394,7 @@ dev-scheme/guile:3.0 >=sci-libs/linux-gpib-4.3.6-r100 >=sci-libs/nlopt-2.7.1-r100 >=sys-devel/autogen-5.18.16-r100 +>=www-client/elinks-0.16.1.1-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of diff --git a/www-client/elinks/elinks-0.16.1.1-r100.ebuild b/www-client/elinks/elinks-0.16.1.1-r100.ebuild new file mode 100644 index 0000000000000..83bb020743e99 --- /dev/null +++ b/www-client/elinks/elinks-0.16.1.1-r100.ebuild @@ -0,0 +1,199 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_REQ_USE="deprecated" +GUILE_COMPAT=( 2-2 3-0 ) +PYTHON_COMPAT=( python3_{10..12} ) +LUA_COMPAT=( lua5-{1,2,3,4} luajit ) + +inherit flag-o-matic guile-single meson lua-single python-single-r1 + +DESCRIPTION="Advanced and well-established text-mode web browser" +HOMEPAGE="http://elinks.or.cz/" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/rkd77/felinks" + inherit git-r3 +else + SRC_URI="https://github.com/rkd77/elinks/releases/download/v${PV}/${P}.tar.xz" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn" +IUSE+=" javascript lua lzma +mouse nls nntp perl python samba ssl test tre unicode X xml zlib zstd" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + guile? ( ${GUILE_REQUIRED_USE} ) + lua? ( ${LUA_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +RDEPEND=" + >=sys-libs/ncurses-5.2:=[unicode(+)] + brotli? ( app-arch/brotli:= ) + bzip2? ( >=app-arch/bzip2-1.0.2 ) + gpm? ( + >=sys-libs/gpm-1.20.0-r5 + ) + guile? ( ${GUILE_DEPS} ) + idn? ( net-dns/libidn:= ) + javascript? ( + dev-cpp/libxmlpp:5.0 + dev-lang/mujs:= + ) + lua? ( ${LUA_DEPS} ) + lzma? ( app-arch/xz-utils ) + perl? ( dev-lang/perl:= ) + python? ( ${PYTHON_DEPS} ) + samba? ( net-fs/samba ) + ssl? ( + !gnutls? ( dev-libs/openssl:= ) + gnutls? ( net-libs/gnutls:= ) + ) + tre? ( dev-libs/tre ) + X? ( + x11-libs/libX11 + x11-libs/libXt + ) + xml? ( >=dev-libs/expat-1.95.4 ) + zlib? ( >=sys-libs/zlib-1.1.4 ) + zstd? ( app-arch/zstd:= ) +" +DEPEND="${RDEPEND} + X? ( x11-base/xorg-proto )" +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) + test? ( + net-dns/libidn + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.16.1.1-ecmascript-implicit-declaration.patch + "${FILESDIR}"/${PN}-0.16.1.1-perl-5.38.patch + "${FILESDIR}"/${PN}-0.16.1.1-python-3.12.patch +) + +pkg_setup() { + use guile && guile-single_pkg_setup + use lua && lua-single_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + use guile && guile_bump_sources +} + +src_configure() { + # This file is severely broken w.r.t. strict-aliasing and upstream acknowledges it: + # https://github.com/rkd77/elinks/blob/d05ce90b35d82109aab320b490e3ca54aa6df057/src/util/lists.h#L14 + # https://github.com/rkd77/elinks/blob/d05ce90b35d82109aab320b490e3ca54aa6df057/src/meson.build#L44 + # + # Although they force fno-strict-aliasing, they do so inconsistently and not for the testsuite (!!!). + # Just add it again. + # + # DO not trust the LTO either. + append-flags -fno-strict-aliasing + filter-lto + + local emesonargs=( + -Ddocdir="${EPREFIX}"/usr/share/doc/${PF} + -Dhtmldoc=false + -Dpdfdoc=false + -Dapidoc=false + -D88-colors=true + -D256-colors=true + $(meson_use bittorrent) + $(meson_use brotli) + $(meson_use bzip2 bzlib) + $(usex debug '-Ddebug=true' '-Dfastmem=true') + $(meson_use finger) + $(meson_use ftp) + -Dfsp=false + -Dgemini=false + $(meson_use nls gettext) + $(meson_use gopher) + $(meson_use gpm) + $(meson_use guile) + -Dgssapi=false + -Dhtml-highlight=true + $(meson_use idn) + $(meson_use javascript mujs) + -Dipv6=true + -Dleds=true + -Dlibev=false + -Dlibevent=false + -Dluapkg=$(usex lua ${ELUA:-0} '') + $(meson_use lzma) + $(meson_use mouse) + #-Dmujs=false + $(meson_use nls) + $(meson_use nntp) + $(meson_use perl) + $(meson_use python) + -Dquickjs=false + -Druby=false + $(meson_use samba smb) + -Dsm-scripting=false + -Dspidermonkey=false + -Dterminfo=true + $(meson_use test) + $(meson_use tre) + -Dtrue-color=true + $(meson_use xml xbel) + $(meson_use X x) + $(meson_use zlib) + $(meson_use zstd) + ) + + if use ssl ; then + if use gnutls ; then + emesonargs+=( -Dgnutls=true ) + else + emesonargs+=( -Dopenssl=true) + fi + else + emesonargs+=( -Dgnutls=false -Dopenssl=false ) + fi + + meson_src_configure +} + +src_install() { + meson_src_install + + insinto /etc/elinks + newins contrib/keybind-full.conf keybind-full.sample + newins contrib/keybind.conf keybind.conf.sample + + dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README SITES THANKS TODO doc/*.* + docinto contrib ; dodoc contrib/{README,colws.diff,elinks[-.]vim*} + docinto contrib/lua ; dodoc contrib/lua/{*.lua,elinks-remote} + docinto contrib/conv ; dodoc contrib/conv/*.* + docinto contrib/guile ; dodoc contrib/guile/*.scm + + # elinks uses an internal copy of gettext which ships files that may + # collide with the system's gettext (https://bugs.gentoo.org/635090) + rm -f "${ED}"/usr/{share/locale/locale,lib/charset}.alias || die + + use guile && guile_unstrip_ccache +} + +pkg_postinst() { + elog "You may want to convert your html.cfg and links.cfg of" + elog "Links or older ELinks versions to the new ELinks elinks.conf" + elog "using ${EROOT}/usr/share/doc/${PF}/contrib/conv/conf-links2elinks.pl" + elog + elog "Please have a look at ${EROOT}/etc/elinks/keybind-full.sample and" + elog "${EROOT}/etc/elinks/keybind.conf.sample for some bindings examples." + elog + elog "You will have to set your TERM variable to 'xterm-256color'" + elog "to be able to use 256 colors in elinks." +} From e89d4ca4685cebe751b5b366b84fef8d1a64656e Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 28 Aug 2024 12:15:51 +0300 Subject: [PATCH 46/52] www-client/elinks: update live to use new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- www-client/elinks/elinks-9999.ebuild | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/www-client/elinks/elinks-9999.ebuild b/www-client/elinks/elinks-9999.ebuild index 64da492dfd2a3..d29570aecef2c 100644 --- a/www-client/elinks/elinks-9999.ebuild +++ b/www-client/elinks/elinks-9999.ebuild @@ -3,10 +3,12 @@ EAPI=8 +GUILE_REQ_USE="deprecated" +GUILE_COMPAT=( 2-2 3-0 ) PYTHON_COMPAT=( python3_{10..12} ) LUA_COMPAT=( lua5-{1,2,3,4} luajit ) -inherit flag-o-matic meson lua-single python-single-r1 +inherit flag-o-matic guile-single meson lua-single python-single-r1 DESCRIPTION="Advanced and well-established text-mode web browser" HOMEPAGE="http://elinks.or.cz/" @@ -26,6 +28,7 @@ IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn" IUSE+=" javascript lua lzma +mouse nls nntp perl python samba ssl test tre unicode X xml zlib zstd" RESTRICT="!test? ( test )" REQUIRED_USE=" + guile? ( ${GUILE_REQUIRED_USE} ) lua? ( ${LUA_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} ) " @@ -37,7 +40,7 @@ RDEPEND=" gpm? ( >=sys-libs/gpm-1.20.0-r5 ) - guile? ( >=dev-scheme/guile-1.6.4-r1[deprecated] ) + guile? ( ${GUILE_DEPS} ) idn? ( net-dns/libidn2:= ) javascript? ( dev-cpp/libxmlpp:5.0 @@ -72,11 +75,16 @@ BDEPEND=" " pkg_setup() { + use guile && guile-single_pkg_setup use lua && lua-single_pkg_setup - use python && python-single-r1_pkg_setup } +src_prepare() { + default + use guile && guile_bump_sources +} + src_configure() { # This file is severely broken w.r.t. strict-aliasing and upstream acknowledges it: # https://github.com/rkd77/elinks/blob/d05ce90b35d82109aab320b490e3ca54aa6df057/src/util/lists.h#L14 @@ -168,6 +176,8 @@ src_install() { # elinks uses an internal copy of gettext which ships files that may # collide with the system's gettext (https://bugs.gentoo.org/635090) rm -f "${ED}"/usr/{share/locale/locale,lib/charset}.alias || die + + use guile && guile_unstrip_ccache } pkg_postinst() { From fecf67e319addb4a820f79914c55be4b592e7c5d Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 18:30:55 +0300 Subject: [PATCH 47/52] x11-misc/xbindkeys: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- profiles/package.mask | 1 + .../xbindkeys/xbindkeys-1.8.7-r100.ebuild | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 x11-misc/xbindkeys/xbindkeys-1.8.7-r100.ebuild diff --git a/profiles/package.mask b/profiles/package.mask index 028c0d97a91ee..e80f0e0496fac 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -395,6 +395,7 @@ dev-scheme/guile:3.0 >=sci-libs/nlopt-2.7.1-r100 >=sys-devel/autogen-5.18.16-r100 >=www-client/elinks-0.16.1.1-r100 +>=x11-misc/xbindkeys-1.8.7-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of diff --git a/x11-misc/xbindkeys/xbindkeys-1.8.7-r100.ebuild b/x11-misc/xbindkeys/xbindkeys-1.8.7-r100.ebuild new file mode 100644 index 0000000000000..4688b3dae0193 --- /dev/null +++ b/x11-misc/xbindkeys/xbindkeys-1.8.7-r100.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_REQ_USE="deprecated" +GUILE_COMPAT=( 2-2 3-0 ) +inherit autotools guile-single + +DESCRIPTION="Tool for launching commands on keystrokes" +SRC_URI="https://www.nongnu.org/${PN}/${P}.tar.gz" +HOMEPAGE="https://www.nongnu.org/xbindkeys/xbindkeys.html" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="guile tk" + +REQUIRED_USE="guile? ( ${GUILE_REQUIRED_USE} )" + +RDEPEND=" + x11-libs/libX11 + guile? ( ${GUILE_DEPS} ) + tk? ( dev-lang/tk ) +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" + +DOCS=( AUTHORS BUGS ChangeLog README TODO xbindkeysrc ) + +src_prepare() { + default + + use guile && guile_bump_sources + + # Regenerate to pick up newer versions of Guile macros + # bug #828532 + eautoreconf +} + +src_configure() { + econf \ + $(use_enable guile) \ + $(use_enable tk) +} + +src_install() { + default + + use guile && guile_unstrip_ccache +} From 6f017cdc716e776d5608cccc4242e2bc92a88665 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 18:49:27 +0300 Subject: [PATCH 48/52] dev-scheme/guile-gi: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/880955 Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- .../files/guile-gi-0.3.2-function-cast.patch | 89 +++++++++++++++++++ .../guile-gi/guile-gi-0.3.2-r100.ebuild | 64 +++++++++++++ profiles/package.mask | 1 + 3 files changed, 154 insertions(+) create mode 100644 dev-scheme/guile-gi/files/guile-gi-0.3.2-function-cast.patch create mode 100644 dev-scheme/guile-gi/guile-gi-0.3.2-r100.ebuild diff --git a/dev-scheme/guile-gi/files/guile-gi-0.3.2-function-cast.patch b/dev-scheme/guile-gi/files/guile-gi-0.3.2-function-cast.patch new file mode 100644 index 0000000000000..74d325bf7c20d --- /dev/null +++ b/dev-scheme/guile-gi/files/guile-gi-0.3.2-function-cast.patch @@ -0,0 +1,89 @@ +https://bugs.gentoo.org/880955 + +Based on https://github.com/spk121/guile-gi/commit/94144d0beffa96bf62c03bc71b498b94dafacc46 + +--- a/src/gig_callback.c ++++ b/src/gig_callback.c +@@ -296,6 +296,12 @@ callback_binding_inner(struct callback_binding_args *args) + return (void *)1; + } + ++inline static void * ++callback_binding_inner_v(void *args) ++{ ++ return callback_binding_inner(args); ++} ++ + void + callback_binding(ffi_cif *cif, gpointer ret, gpointer *ffi_args, gpointer user_data) + { +@@ -314,7 +320,7 @@ callback_binding(ffi_cif *cif, gpointer ret, gpointer *ffi_args, gpointer user_d + if (scm_is_true(scm_fluid_ref(gig_callback_thread_fluid))) + callback_binding_inner(&args); + else { +- if (NULL == scm_with_guile(callback_binding_inner, &args)) ++ if (NULL == scm_with_guile(callback_binding_inner_v, &args)) + scm_c_eval_string("(quit EXIT_FAILURE)"); + } + } +@@ -365,6 +371,12 @@ c_callback_binding_inner(struct callback_binding_args *args) + return (void *)1; + } + ++inline static void * ++c_callback_binding_inner_v(void *args) ++{ ++ return c_callback_binding_inner(args); ++} ++ + void + c_callback_binding(ffi_cif *cif, gpointer ret, gpointer *ffi_args, gpointer user_data) + { +@@ -383,7 +395,7 @@ c_callback_binding(ffi_cif *cif, gpointer ret, gpointer *ffi_args, gpointer user + if (scm_is_true(scm_fluid_ref(gig_callback_thread_fluid))) + c_callback_binding_inner(&args); + else { +- if (NULL == scm_with_guile(c_callback_binding_inner, &args)) ++ if (NULL == scm_with_guile(c_callback_binding_inner_v, &args)) + scm_c_eval_string("(quit EXIT_FAILURE)"); + } + } +@@ -692,10 +704,16 @@ callback_free(GigCallback *gcb) + g_free(gcb); + } + ++inline static void ++callback_free_v(void *gcb) ++{ ++ callback_free(gcb); ++} ++ + static void + gig_fini_callback(void) + { + g_debug("Freeing callbacks"); +- g_slist_free_full(callback_list, (GDestroyNotify)callback_free); ++ g_slist_free_full(callback_list, (GDestroyNotify)callback_free_v); + callback_list = NULL; + } +--- a/src/gig_type_private.c ++++ b/src/gig_type_private.c +@@ -59,8 +59,14 @@ _boxed_funcs_free(GigBoxedFuncs *funcs) + g_free(funcs); + } + ++inline static void ++_boxed_funcs_free_v(void *funcs) ++{ ++ _boxed_funcs_free(funcs); ++} ++ + void + _free_boxed_funcs() + { +- g_slist_free_full(_boxed_funcs, (GDestroyNotify)_boxed_funcs_free); ++ g_slist_free_full(_boxed_funcs, (GDestroyNotify)_boxed_funcs_free_v); + } +-- +2.46.0 + diff --git a/dev-scheme/guile-gi/guile-gi-0.3.2-r100.ebuild b/dev-scheme/guile-gi/guile-gi-0.3.2-r100.ebuild new file mode 100644 index 0000000000000..1d232ddf9d51f --- /dev/null +++ b/dev-scheme/guile-gi/guile-gi-0.3.2-r100.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit virtualx autotools guile + +DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile" +HOMEPAGE="https://spk121.github.io/guile-gi/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/spk121/${PN}.git" +else + SRC_URI="https://github.com/spk121/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +REQUIRED_USED="${GUILE_REQUIRED_USE}" + +DEPEND=" + ${GUILE_DEPS} + dev-libs/gobject-introspection + x11-libs/gtk+:3[introspection] +" +RDEPEND="${DEPEND}" +BDEPEND="sys-apps/texinfo" + +PATCHES=( + "${FILESDIR}"/guile-gi-0.3.2-function-cast.patch +) + +src_prepare() { + guile_src_prepare + + eautoreconf +} + +src_configure() { + guile_foreach_impl econf --enable-introspection=yes +} + +src_compile() { + my_compile() { + mkdir test || die + default + } + guile_foreach_impl my_compile +} + +src_test() { + guile_foreach_impl virtx default +} + +src_install() { + guile_src_install + + mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/profiles/package.mask b/profiles/package.mask index e80f0e0496fac..088d7d1deec85 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -396,6 +396,7 @@ dev-scheme/guile:3.0 >=sys-devel/autogen-5.18.16-r100 >=www-client/elinks-0.16.1.1-r100 >=x11-misc/xbindkeys-1.8.7-r100 +>=dev-scheme/guile-gi-0.3.2-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 587e5c2371cca3feadd1f7018b42b995ca0da26a Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 28 Aug 2024 12:15:20 +0300 Subject: [PATCH 49/52] dev-scheme/guile-gi: update live to use new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- dev-scheme/guile-gi/guile-gi-9999.ebuild | 40 +++++++++++++----------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/dev-scheme/guile-gi/guile-gi-9999.ebuild b/dev-scheme/guile-gi/guile-gi-9999.ebuild index 75b8c4278d3a6..1d232ddf9d51f 100644 --- a/dev-scheme/guile-gi/guile-gi-9999.ebuild +++ b/dev-scheme/guile-gi/guile-gi-9999.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit virtualx autotools +GUILE_COMPAT=( 2-2 3-0 ) +inherit virtualx autotools guile DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile" HOMEPAGE="https://spk121.github.io/guile-gi/" @@ -19,42 +20,45 @@ fi LICENSE="GPL-3" SLOT="0" +REQUIRED_USED="${GUILE_REQUIRED_USE}" + DEPEND=" - >=dev-scheme/guile-2.0.9:= + ${GUILE_DEPS} dev-libs/gobject-introspection x11-libs/gtk+:3[introspection] " RDEPEND="${DEPEND}" BDEPEND="sys-apps/texinfo" -# guile generates ELF files without use of C or machine code -# It's a portage's false positive. bug #677600 -QA_PREBUILT='*[.]go' +PATCHES=( + "${FILESDIR}"/guile-gi-0.3.2-function-cast.patch +) src_prepare() { - default - - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die + guile_src_prepare eautoreconf } src_configure() { - econf --disable-static --enable-introspection=yes + guile_foreach_impl econf --enable-introspection=yes +} + +src_compile() { + my_compile() { + mkdir test || die + default + } + guile_foreach_impl my_compile } src_test() { - virtx default + guile_foreach_impl virtx default } src_install() { - default + guile_src_install - mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die + mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die find "${ED}" -type f -name '*.la' -delete || die - - # Workaround llvm-strip problem of mangling guile ELF debug - # sections. Bug https://bugs.gentoo.org/905898 - dostrip -x /usr/$(get_libdir)/guile } From dc3e2348609b3c156dd9e06aba46be5f7b69fefb Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 21:10:44 +0300 Subject: [PATCH 50/52] media-sound/denemo: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/927336 Signed-off-by: Alfred Wingate Signed-off-by: Arsen Arsenović --- media-sound/denemo/denemo-2.6.0-r100.ebuild | 136 ++++++++++++++++++ .../denemo/files/denemo-2.6.0-fix-c99.patch | 38 +++++ .../denemo-2.6.0-incompatible-pointers.patch | 36 +++++ profiles/package.mask | 1 + 4 files changed, 211 insertions(+) create mode 100644 media-sound/denemo/denemo-2.6.0-r100.ebuild create mode 100644 media-sound/denemo/files/denemo-2.6.0-fix-c99.patch create mode 100644 media-sound/denemo/files/denemo-2.6.0-incompatible-pointers.patch diff --git a/media-sound/denemo/denemo-2.6.0-r100.ebuild b/media-sound/denemo/denemo-2.6.0-r100.ebuild new file mode 100644 index 0000000000000..5b89d259294e0 --- /dev/null +++ b/media-sound/denemo/denemo-2.6.0-r100.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 ) +inherit autotools font guile-single xdg + +DESCRIPTION="A music notation editor" +HOMEPAGE="http://www.denemo.org/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+ OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# configure options currently not used: +# --enable-mem(no) memory debugging: needs Electric fence (efence), which +# is not available in portage. See https://github.com/boundarydevices/efence +# --enable-gtk-doc-pdf(no) doesn't work +# fluidsynth currently broken. See https://savannah.gnu.org/bugs/index.php?62202 +IUSE="alsa +aubio debug jack gtk-doc nls +portaudio +portmidi + +rubberband test" + +RESTRICT="!test? ( test )" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + >=app-text/evince-3.22.1-r1:= + dev-libs/glib:2 + dev-libs/libxml2:2 + gnome-base/librsvg:2 + media-libs/fontconfig:1.0 + >=media-libs/libsmf-1.3 + >=media-libs/libsndfile-1.0.28-r1 + >=media-sound/fluidsynth-1.1.6-r1:= + >=media-sound/lilypond-2.24.4-r100 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/gtksourceview:3.0= + x11-libs/pango + alsa? ( >=media-libs/alsa-lib-1.1.2 ) + aubio? ( >=media-libs/aubio-0.4.1-r1:= ) + jack? ( virtual/jack ) + portaudio? ( + >=media-libs/portaudio-19_pre20140130 + sci-libs/fftw:3.0= + ) + portmidi? ( media-libs/portmidi ) + rubberband? ( >=media-libs/rubberband-1.8.1-r1 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-build/gtk-doc-am-1.25-r1 + >=dev-util/intltool-0.51.0-r1 + app-alternatives/lex + virtual/pkgconfig + app-alternatives/yacc + gtk-doc? ( >=dev-util/gtk-doc-1.25-r1 ) + nls? ( >=sys-devel/gettext-0.19.8.1 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.6.0-respect-user-CFLAGS.patch + "${FILESDIR}"/${PN}-2.6.0-fix-c99.patch + "${FILESDIR}"/${PN}-2.6.0-incompatible-pointers.patch +) +DOCS=( AUTHORS ChangeLog docs/{DESIGN{,.lilypond},GOALS,TODO} NEWS ) + +src_prepare() { + sed -e '/^Categories=/s/GNOME\;/GNOME\;GTK\;/' -i pixmaps/org.denemo.Denemo.desktop || die + sed -e 's|appdatadir = \$(datarootdir)/appdata|appdatadir = \$(datarootdir)/metainfo|' \ + -i Makefile.am || die + guile-single_src_prepare + eautoreconf +} + +src_configure() { + myeconfargs=( + --disable-gtk-doc-pdf + --disable-gtk2 + --disable-installed-tests + --disable-mem + --disable-rpath + --disable-static + --enable-evince + --enable-fluidsynth + --enable-gtk3 + --enable-x11 + $(use_enable alsa) + $(use_enable aubio) + $(use_enable debug) + # --enable-doc does nothing for itself + # basic html documentation is always being installed in the + # /usr/share/denemo/manual directory + $(use_enable gtk-doc doc) + $(use_enable gtk-doc gtk-doc) + $(use_enable gtk-doc gtk-doc-html) + $(use_enable jack) + $(use_enable nls) + $(use_enable portaudio) + $(use_enable portmidi) + $(use_enable rubberband) + $(use_enable test always-build-tests) + ) + econf "${myeconfargs[@]}" +} + +src_test() { + # make check fails if used with parallel builds + emake -j1 check +} + +src_install() { + guile-single_src_install + + # link html documentation installed in /usr/share/denemo/manual + dodir /usr/share/doc/${PF}/html + local f + for f in denemo-manual.html denemo.css images; do + dosym -r /usr/share/denemo/manual/"${f}" /usr/share/doc/${PF}/html/"${f}" + done +} + +pkg_postinst() { + font_pkg_postinst + xdg_desktop_database_update +} + +pkg_postrm() { + font_pkg_postrm + xdg_desktop_database_update +} diff --git a/media-sound/denemo/files/denemo-2.6.0-fix-c99.patch b/media-sound/denemo/files/denemo-2.6.0-fix-c99.patch new file mode 100644 index 0000000000000..8d1c30c895f25 --- /dev/null +++ b/media-sound/denemo/files/denemo-2.6.0-fix-c99.patch @@ -0,0 +1,38 @@ +https://bugs.gentoo.org/927336 +https://savannah.gnu.org/bugs/?63720 + +From 509906e7cc4669b525cbcb05022e7e10c6663627 Mon Sep 17 00:00:00 2001 +From: Nikita Popov +Date: Fri, 27 Jan 2023 12:13:10 +0100 +Subject: [PATCH] Fix C99 support in sffile.c + +This fixes one -Wimplicit-function-declaration and one +-Wimplicit-int warning, which will become errors in future +compiler versions. + +Related to: + + + +--- a/libs/libsffile/sffile.c ++++ b/libs/libsffile/sffile.c +@@ -20,6 +20,7 @@ + *================================================================*/ + //Interface to Denemo License: FSF GPL version 3 or later + ++#include + #include + #include + #include +@@ -51,7 +52,7 @@ static void ConvertIllegalChar(char *name){ + int ParseSoundfont(char *soundfont, int index, char **name, int *preset, int *bank) { + FILE *fp; + static SFInfo sf; +- static initialized = FALSE; ++ static int initialized = FALSE; + int i; + int number = 0; + if(soundfont) { +-- +2.39.1 + diff --git a/media-sound/denemo/files/denemo-2.6.0-incompatible-pointers.patch b/media-sound/denemo/files/denemo-2.6.0-incompatible-pointers.patch new file mode 100644 index 0000000000000..28274e810eb92 --- /dev/null +++ b/media-sound/denemo/files/denemo-2.6.0-incompatible-pointers.patch @@ -0,0 +1,36 @@ +diff --git a/src/source/proof.c b/src/source/proof.c +index f9a02bf0e..3b8f5fc82 100644 +--- a/src/source/proof.c ++++ b/src/source/proof.c +@@ -280,7 +280,7 @@ press (EvView * view, GdkEventButton *event, EvDocumentModel *model) + infodialog (help_text); + nearest_annotation_text = NULL; + extern EvMappingList * ev_document_annotations_get_annotations(); +- EvMappingList *mapping_list = ev_document_annotations_get_annotations (doc, ev_document_get_page(doc, i)); ++ EvMappingList *mapping_list = ev_document_annotations_get_annotations (EV_DOCUMENT_ANNOTATIONS (doc), ev_document_get_page(doc, i)); + if(mapping_list) + { + gdouble nearest = G_MAXDOUBLE; +@@ -313,7 +313,7 @@ find_annotated_pages (EvDocumentModel *model) + for (i=0; i< ev_document_get_n_pages(doc);i++) + { + extern EvMappingList * ev_document_annotations_get_annotations(); +- EvMappingList *mapping_list = ev_document_annotations_get_annotations (doc, ev_document_get_page(doc, i)); ++ EvMappingList *mapping_list = ev_document_annotations_get_annotations (EV_DOCUMENT_ANNOTATIONS (doc), ev_document_get_page(doc, i)); + if(mapping_list) + { + annotated_pages = g_list_append (annotated_pages, GINT_TO_POINTER(i)); +diff --git a/tests/integration.c b/tests/integration.c +index f3aad7a1f..5910425e6 100644 +--- a/tests/integration.c ++++ b/tests/integration.c +@@ -248,7 +248,7 @@ parse_dir_and_run_complex_test(gchar* path, const gchar* extension) + while(files){ + filename = g_build_filename(path, files->data, NULL); + gchar* test_case_path = g_strdup_printf("%s-%d", test_case_path_fragment, test_case_path_counter); +- g_test_add (test_case_path, gchar*, filename, setup, test_open_save_complex_file, teardown); ++ g_test_add (test_case_path, void, filename, setup, test_open_save_complex_file, teardown); + g_free(test_case_path); + test_case_path_counter ++; + files = g_list_next(files); + diff --git a/profiles/package.mask b/profiles/package.mask index 088d7d1deec85..94a1f72fa66bd 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -397,6 +397,7 @@ dev-scheme/guile:3.0 >=www-client/elinks-0.16.1.1-r100 >=x11-misc/xbindkeys-1.8.7-r100 >=dev-scheme/guile-gi-0.3.2-r100 +>=media-sound/denemo-2.6.0-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 3f8aeeb8a393c600f8b464621f6bfa158b33dbaa Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 27 Aug 2024 03:05:01 +0300 Subject: [PATCH 51/52] dev-scheme/skribilo: switch to new guile mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Closes: https://github.com/gentoo/gentoo/pull/38306 Signed-off-by: Arsen Arsenović --- .../skribilo/skribilo-0.10.0-r100.ebuild | 82 +++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 83 insertions(+) create mode 100644 dev-scheme/skribilo/skribilo-0.10.0-r100.ebuild diff --git a/dev-scheme/skribilo/skribilo-0.10.0-r100.ebuild b/dev-scheme/skribilo/skribilo-0.10.0-r100.ebuild new file mode 100644 index 0000000000000..7f8ed0b6329f2 --- /dev/null +++ b/dev-scheme/skribilo/skribilo-0.10.0-r100.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit elisp-common guile + +DESCRIPTION="Document production tool written in Guile Scheme" +HOMEPAGE="https://www.nongnu.org/skribilo/" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="emacs" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + app-text/ghostscript-gpl + media-gfx/imagemagick + + ${GUILE_DEPS} + >=dev-scheme/guile-lib-0.2.7-r100[${GUILE_USEDEP}] + >=dev-scheme/guile-reader-0.6.3-r100[${GUILE_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="emacs? ( >=app-editors/emacs-23.1:* )" + +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + default + + # gnustep-base/gnustep-base installs /usr/bin/pl that isnt the unpackaged ploticus. + sed -i -e 's/for ac_prog in ploticus pl/for ac_prog in ploticus/' configure || die +} + +src_configure() { + if ! use emacs ; then + export EMACS="no" + export EMACSLOADPATH="/dev/null" + fi + + guile_foreach_impl econf +} + +src_compile() { + guile_src_compile + + use emacs && elisp-compile ./emacs/*.el +} + +src_install() { + guile_src_install + + # Link includes DESTDIR + for file in ${ED}/usr/share/info/*.png; do + rm "${file}" || die + dosym ../doc/${PF}/html/$(basename ${file}) ${file##${ED}} + done + + if use emacs ; then + elisp-install ${PN} ./emacs/*.el{,c} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + else + local emacsd="${D}"/usr/share/emacs + if [[ -d "${emacsd}" ]] ; then + einfo "Building without Emacs support but ${emacsd} found! Removing." + rm -r "${emacsd}" || die + fi + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/profiles/package.mask b/profiles/package.mask index 94a1f72fa66bd..fca55e0fac57f 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -398,6 +398,7 @@ dev-scheme/guile:3.0 >=x11-misc/xbindkeys-1.8.7-r100 >=dev-scheme/guile-gi-0.3.2-r100 >=media-sound/denemo-2.6.0-r100 +>=dev-scheme/skribilo-0.10.0-r100 # Eli Schwartz (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of From 5cf58ab73c9e677faa849cb82fa6f02959f5039e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Date: Wed, 18 Sep 2024 15:09:38 +0200 Subject: [PATCH 52/52] dev-scheme/guile-lib: update Manifest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Arsen Arsenović --- dev-scheme/guile-lib/Manifest | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-scheme/guile-lib/Manifest b/dev-scheme/guile-lib/Manifest index 79e0ca6f32e4f..e8eeffb052883 100644 --- a/dev-scheme/guile-lib/Manifest +++ b/dev-scheme/guile-lib/Manifest @@ -1 +1,2 @@ DIST guile-lib-0.2.7.tar.gz 451202 BLAKE2B d8420a718697611443a40af089aad6e1d48390e5bef764f84955beeec8d6346066547d73c30898b96e727d4f470df6a032438067240bba8b25058bc65b85d9fa SHA512 d27d1398f81172e4488c5ac5c2d076baeeeaa12fa19d83a87faf0767c255b79f8eb24438950da3865e797299be90f7dc1dcc964076d53df9cab5925a61ad0d1f +DIST guile-lib-0.2.8.1.tar.gz 461345 BLAKE2B 10fe6a3c93ffd09fd92ad43b7cdd5cf949e3f9f11ce2aebd3c28b5227345041ee4a15c8bf1bb26c5a12423fbde65e950707bd0f43ee5787e4fe2853c6c56f4f9 SHA512 655c559c19beb008016fb3f313184c0da83f6dad53987045648cdb84bbca05f839b1a31c3cd12727510f51511c7d248d16438d87113cf8e99134925a2ad64312