summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-scheme/gauche-qdbm
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-scheme/gauche-qdbm')
-rw-r--r--dev-scheme/gauche-qdbm/Manifest1
-rw-r--r--dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-gauche-package.diff136
-rw-r--r--dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-undefined-reference.diff11
-rw-r--r--dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild29
-rw-r--r--dev-scheme/gauche-qdbm/metadata.xml10
5 files changed, 187 insertions, 0 deletions
diff --git a/dev-scheme/gauche-qdbm/Manifest b/dev-scheme/gauche-qdbm/Manifest
new file mode 100644
index 00000000000..656bf886bb5
--- /dev/null
+++ b/dev-scheme/gauche-qdbm/Manifest
@@ -0,0 +1 @@
+DIST Gauche-qdbm-0.2.tar.gz 73311 SHA256 457957e079c562151c4b82484e716b4749b77e64a5212ecc74db10e928426359 SHA512 9286d22f1ad32f213c34670ca0a3fef4d43da8d7e0bed019cd5891400eb7337cd3adfb7cc788350e1f1ab535b87af0fa0a6096d33fa73da6049888ce0006e821 WHIRLPOOL 0f201b3a624200cc37bd741c5f9f522428cf8793c87f6cdda6f874f99f3624554c4deaa0eb078da827ed39dee69f62613984d104da644abd611962d7a4e48fce
diff --git a/dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-gauche-package.diff b/dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-gauche-package.diff
new file mode 100644
index 00000000000..a4e30560042
--- /dev/null
+++ b/dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-gauche-package.diff
@@ -0,0 +1,136 @@
+--- Gauche-qdbm-0.2.orig/Makefile.in
++++ Gauche-qdbm-0.2/Makefile.in
+@@ -10,79 +10,57 @@
+ VPATH = $(srcdir)
+
+ # These may be overridden by make invocators
+-DESTDIR =
+-OPTFLAGS = @OPTFLAGS@
+-CC = @CC@
+-LIBS = @LIBS@
+-CFLAGS = @CFLAGS@
+-CPPFLAGS = @CPPFLAGS@ # AC_LIB_LINKFLAGS adds to this..
+-LDFLAGS = @LDFLAGS@
+-INSTALL = @INSTALL@
+-INSTALL_TYPE = @INSTALL_TYPE@
+-
+-# Set by configure
+-GOSH = @GOSH@
+-GAUCHE_CONFIG = @GAUCHE_CONFIG@
++DESTDIR =
++CPPFLAGS = @CPPFLAGS@ # AC_LIB_LINKFLAGS adds to this..
++GOSH = "@GOSH@"
++GAUCHE_CONFIG = "@GAUCHE_CONFIG@"
++GAUCHE_PACKAGE = "@GAUCHE_PACKAGE@"
++INSTALL = "@GAUCHE_INSTALL@"
++
++# Other parameters
++SOEXT = @SOEXT@
+ OBJEXT = @OBJEXT@
+-DSOEXT = @SOEXT@
++EXEEXT = @EXEEXT@
+
+-MODULE = qdbm
++# Module-specific stuff
++PACKAGE = qdbm
+
+-ARCHFILES = $(MODULE).$(DSOEXT)
+-SCMFILES = $(MODULE).scm
++ARCHFILES = $(PACKAGE).$(SOEXT)
++SCMFILES = $(PACKAGE).scm
+ HEADERS =
+
+ TARGET = $(ARCHFILES)
+-OBJS = $(MODULE)_head.$(OBJEXT) \
+- qdbm.$(OBJEXT) \
+- depot.$(OBJEXT) \
+- $(MODULE)_tail.$(OBJEXT)
+-GENERATED = depot.c $(MODULE)_head.c $(MODULE)_tail.c
++GENERATED =
+ CONFIG_GENERATED = Makefile config.cache config.log config.status \
+- configure.lineno autom4te*.cache
+-
+-HEADER_INSTALL_DIR = $(DESTDIR)/`$(GAUCHE_CONFIG) --$(INSTALL_TYPE)incdir`
+-SCM_INSTALL_DIR = $(DESTDIR)/`$(GAUCHE_CONFIG) --$(INSTALL_TYPE)libdir`/dbm
+-ARCH_INSTALL_DIR = $(DESTDIR)/`$(GAUCHE_CONFIG) --$(INSTALL_TYPE)archdir`
+-
+-all : $(TARGET)
++ configure.lineno autom4te*.cache @PACKAGE_NAME@.gpd
+
+-.SUFFIXES: .o .stub
++HEADER_INSTALL_DIR = "$(DESTDIR)`$(GAUCHE_CONFIG) --siteincdir`"
++SCM_INSTALL_DIR = "$(DESTDIR)`$(GAUCHE_CONFIG) --sitelibdir`"
++ARCH_INSTALL_DIR = "$(DESTDIR)`$(GAUCHE_CONFIG) --sitearchdir`"
+
+-.c.o:
+- $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
++qdbm_SRCS = qdbm.c depot.stub
++qdbm_LIBS = @LIBQDBM@
+
+-.stub.c:
+- $(GOSH) genstub $<
+-
+-depot.c : depot.stub
+-
+-$(MODULE).$(DSOEXT): $(OBJS)
+- $(CC) -Wl,-rpath -Wl,`gauche-config --sysarchdir` $(LDFLAGS) $(MODULE).$(DSOEXT) $(OBJS) $(LIBS) @LIBQDBM@
++all : $(TARGET)
+
+-$(MODULE)_head.c $(MODULE)_tail.c :
+- $(GAUCHE_CONFIG) --fixup-extension $(MODULE)
++$(PACKAGE).$(SOEXT): $(qdbm_SRCS)
++ $(GAUCHE_PACKAGE) compile --verbose \
++ --libs="$(qdbm_LIBS)" --cppflags="$(CPPFLAGS)" \
++ $(PACKAGE) $(qdbm_SRCS)
+
+ check : all
+ @rm -f test.log
+ $(GOSH) -I. test.scm > test.log
+
+ install : all
+- if test ! -z "$(HEADERS)"; then \
+- $(INSTALL) -d $(HEADER_INSTALL_DIR); \
+- $(INSTALL) -m 444 $(HEADERS) $(HEADER_INSTALL_DIR); \
+- fi
+- if test ! -z "$(SCMFILES)"; then \
+- $(INSTALL) -d $(SCM_INSTALL_DIR); \
+- $(INSTALL) -m 444 $(SCMFILES) $(SCM_INSTALL_DIR); \
+- fi
+- if test ! -z "$(ARCHFILES)"; then \
+- $(INSTALL) -d $(ARCH_INSTALL_DIR); \
+- $(INSTALL) -m 555 $(ARCHFILES) $(ARCH_INSTALL_DIR); \
+- fi
++ $(INSTALL) -m 444 -T $(HEADER_INSTALL_DIR) $(HEADERS)
++ $(INSTALL) -m 444 -T $(SCM_INSTALL_DIR)/dbm $(SCMFILES)
++ $(INSTALL) -m 555 -T $(ARCH_INSTALL_DIR) $(ARCHFILES)
++ $(INSTALL) -m 444 -T $(SCM_INSTALL_DIR)/.packages @PACKAGE_NAME@.gpd
+
+ clean :
+- rm -rf core $(TARGET) $(OBJS) $(GENERATED) *~ test.log so_locations
++ $(GAUCHE_PACKAGE) compile --clean $(PACKAGE) $(qdbm_SRCS)
++ rm -rf core $(TARGET) $(GENERATED) *~ test.log so_locations
+
+ distclean : clean
+ rm -rf $(CONFIG_GENERATED)
+--- Gauche-qdbm-0.2.orig/configure.ac
++++ Gauche-qdbm-0.2/configure.ac
+@@ -4,18 +4,11 @@
+ AC_INIT(Gauche-qdbm, 0.2)
+ AC_CONFIG_SRCDIR(qdbm.c)
+
+-AC_CANONICAL_SYSTEM
+-
+ AC_GAUCHE_INIT_EXT
+-AC_GAUCHE_INSTALL_TYPE(site)
+ AC_GAUCHE_CC
+-AC_GAUCHE_FLAGS
+-
+-AC_PROG_INSTALL
+
+ AC_LIB_LINKFLAGS(qdbm)
+
+-AC_GAUCHE_FIX_LIBS
+-
++AC_GAUCHE_MAKE_GPD
+ echo $PACKAGE_VERSION > VERSION
+ AC_OUTPUT(Makefile)
diff --git a/dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-undefined-reference.diff b/dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-undefined-reference.diff
new file mode 100644
index 00000000000..d6a6efb99b4
--- /dev/null
+++ b/dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-undefined-reference.diff
@@ -0,0 +1,11 @@
+--- Gauche-qdbm-0.2.orig/qdbm.scm
++++ Gauche-qdbm-0.2/qdbm.scm
+@@ -72,7 +72,7 @@
+ (unless (slot-bound? self 'path)
+ (error "path must be set to open qdbm database"))
+ (when (qdbm-file-of self)
+- (errorf "qdbm ~S already opened" qdbm))
++ (errorf "qdbm ~s already opened" (qdbm-file-of self)))
+ (let* ((path (slot-ref self 'path))
+ (rwmode (slot-ref self 'rw-mode))
+ (omode (case rwmode
diff --git a/dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild b/dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild
new file mode 100644
index 00000000000..9ac0719a8b6
--- /dev/null
+++ b/dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit autotools eutils
+
+MY_P="${P/g/G}"
+
+DESCRIPTION="QDBM binding for Gauche"
+HOMEPAGE="http://sourceforge.jp/projects/gauche/"
+SRC_URI="mirror://sourceforge.jp/gauche/6988/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~sparc x86"
+IUSE=""
+
+RDEPEND="dev-scheme/gauche
+ dev-db/qdbm"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gauche-package.diff
+ epatch "${FILESDIR}"/${P}-undefined-reference.diff
+ eautoreconf
+}
diff --git a/dev-scheme/gauche-qdbm/metadata.xml b/dev-scheme/gauche-qdbm/metadata.xml
new file mode 100644
index 00000000000..82569583860
--- /dev/null
+++ b/dev-scheme/gauche-qdbm/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hattya@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge-jp">gauche</remote-id>
+ </upstream>
+</pkgmetadata>