mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-scheme/guile-dbi: add 2.1.9 + switch to new guile mechanism
Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
This commit is contained in:
committed by
Arsen Arsenović
parent
b058311db6
commit
de45bcb51e
@@ -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
|
||||
|
||||
@@ -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 <linas@linas.org>
|
||||
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)
|
||||
40
dev-scheme/guile-dbi/guile-dbi-2.1.9.ebuild
Normal file
40
dev-scheme/guile-dbi/guile-dbi-2.1.9.ebuild
Normal file
@@ -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
|
||||
}
|
||||
@@ -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 <eschwartz@gentoo.org> (2024-08-15)
|
||||
# Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of
|
||||
|
||||
Reference in New Issue
Block a user