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-libs/g-wrap
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-libs/g-wrap')
-rw-r--r--dev-libs/g-wrap/Manifest3
-rw-r--r--dev-libs/g-wrap/files/1.9.8-fix-ffi-build-issue.patch15
-rw-r--r--dev-libs/g-wrap/files/1.9.8-fix-gcc-4.2.0-libffi.patch21
-rw-r--r--dev-libs/g-wrap/files/g-wrap-1.3.4-direntry.patch57
-rw-r--r--dev-libs/g-wrap/files/g-wrap-1.3.4-m4.patch20
-rw-r--r--dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch13
-rw-r--r--dev-libs/g-wrap/files/g-wrap-1.9.7_glib_automagic.patch16
-rw-r--r--dev-libs/g-wrap/files/glib_automagic.patch16
-rw-r--r--dev-libs/g-wrap/files/libffi_automagic.patch11
-rw-r--r--dev-libs/g-wrap/g-wrap-1.9.11.ebuild39
-rw-r--r--dev-libs/g-wrap/g-wrap-1.9.13.ebuild31
-rw-r--r--dev-libs/g-wrap/g-wrap-1.9.14.ebuild33
-rw-r--r--dev-libs/g-wrap/metadata.xml12
13 files changed, 287 insertions, 0 deletions
diff --git a/dev-libs/g-wrap/Manifest b/dev-libs/g-wrap/Manifest
new file mode 100644
index 000000000000..84ac4e77b0d4
--- /dev/null
+++ b/dev-libs/g-wrap/Manifest
@@ -0,0 +1,3 @@
+DIST g-wrap-1.9.11.tar.gz 625359 SHA256 b6a9442692f29a9bd353cb5bc4e46824fbde47275f05917dfc0d644d23641fc9 SHA512 3574658d4c5b52ddf350e499fdf009baa48a8cefaccb20c705eb7b2bda556db8f662fe75c78d76e927b0a0dc5757eec2af8b72f315d3655a35f7f7766ff89e65 WHIRLPOOL 7c3fd806cb7745d0dbfe62dafdf84bf19b095d1a27d75b0e262b0c6c14e96987dee88dc4b4d58ee7a971e0e0c3b7edc02a2e1fd2fb9530824793bf46b471e15b
+DIST g-wrap-1.9.13.tar.gz 613577 SHA256 3b69adeb1c4dd82423641cbacd48a79081addd0f6a5b1ca9874a7e4e3f398839 SHA512 56001aa877f706eda5f40ac2d06f7214b52aa3d46a1c5cc64c1d195d3e3d619a0d8dac50dabc5b73453784351512e1e35ed53bc44151a61c4b8a9f6e851f6264 WHIRLPOOL a49e87be15e3b5e31e203b5efdef05bc1a3afdd995747e4a2651eba955ba091ad919c6880e667adf419d06c960fc88950e1304daa635d7f8b8dc8ec0edfcf5a1
+DIST g-wrap-1.9.14.tar.gz 655812 SHA256 06abe8f8d2758f4d8e51f39b5cee3917ea70ec84410d4294214e43f843348d27 SHA512 681d85caf24335db9f266e8350488d36c2b20a5ec02346189c866c7c1de9bcd4a942f092827cbf5fc30474dff70064abe8139069752a6d82657e51542000194b WHIRLPOOL e1623d2b6b2f55ba1e9e5cbe36c44b040f65bb8b34ca3e339e81f0b4c81a3d4b10d01e80e56133a9deb47cfd5e1771ecbce523aeabb2d1f40d4c46e7309e69da
diff --git a/dev-libs/g-wrap/files/1.9.8-fix-ffi-build-issue.patch b/dev-libs/g-wrap/files/1.9.8-fix-ffi-build-issue.patch
new file mode 100644
index 000000000000..c9ba466e9016
--- /dev/null
+++ b/dev-libs/g-wrap/files/1.9.8-fix-ffi-build-issue.patch
@@ -0,0 +1,15 @@
+diff -urN g-wrap-1.9.8.orig/guile/examples/Makefile.am g-wrap-1.9.8/guile/examples/Makefile.am
+--- g-wrap-1.9.8.orig/guile/examples/Makefile.am 2007-05-31 15:07:17.000000000 -0700
++++ g-wrap-1.9.8/guile/examples/Makefile.am 2007-06-01 10:07:32.000000000 -0700
+@@ -5,7 +5,10 @@
+
+ lib_LTLIBRARIES += libgw-guile-miscutils.la
+ libgw_guile_miscutils_la_SOURCES = miscutils-guile.c miscutils-guile.h gw-miscutils.c
+-libgw_guile_miscutils_la_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/guile
++libgw_guile_miscutils_la_CFLAGS = \
++ -I$(top_srcdir) \
++ -I$(top_srcdir)/guile \
++ $(LIBFFI_CFLAGS)
+ libgw_guile_miscutils_la_LDFLAGS = -module
+ libgw_guile_miscutils_la_LIBADD = libmiscutils.la \
+ $(top_builddir)/guile/g-wrap/libgwrap-guile-runtime.la \
diff --git a/dev-libs/g-wrap/files/1.9.8-fix-gcc-4.2.0-libffi.patch b/dev-libs/g-wrap/files/1.9.8-fix-gcc-4.2.0-libffi.patch
new file mode 100644
index 000000000000..e2a2abc645d6
--- /dev/null
+++ b/dev-libs/g-wrap/files/1.9.8-fix-gcc-4.2.0-libffi.patch
@@ -0,0 +1,21 @@
+diff -urN g-wrap-1.9.8.orig/libffi/configure.ac g-wrap-1.9.8/libffi/configure.ac
+--- g-wrap-1.9.8.orig/libffi/configure.ac 2007-06-03 21:50:15.000000000 -0700
++++ g-wrap-1.9.8/libffi/configure.ac 2007-06-03 21:50:31.000000000 -0700
+@@ -5,7 +5,7 @@
+ AC_INIT([libffi], [2.1], [http://gcc.gnu.org/bugs.html])
+ AC_CONFIG_HEADERS([fficonfig.h])
+
+-AM_ENABLE_MULTILIB(, ..)
++#AM_ENABLE_MULTILIB(, ..)
+
+ AC_CANONICAL_SYSTEM
+ target_alias=${target_alias-$host_alias}
+diff -urN g-wrap-1.9.8.orig/libffi/include/Makefile.am g-wrap-1.9.8/libffi/include/Makefile.am
+--- g-wrap-1.9.8.orig/libffi/include/Makefile.am 2007-06-03 21:50:15.000000000 -0700
++++ g-wrap-1.9.8/libffi/include/Makefile.am 2007-06-03 21:50:47.000000000 -0700
+@@ -9,4 +9,4 @@
+ gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
+ toollibffidir := $(libdir)/gcc/$(target_alias)/$(gcc_version)/include
+
+-toollibffi_HEADERS = ffi.h ffitarget.h
++include_HEADERS = ffi.h ffitarget.h
diff --git a/dev-libs/g-wrap/files/g-wrap-1.3.4-direntry.patch b/dev-libs/g-wrap/files/g-wrap-1.3.4-direntry.patch
new file mode 100644
index 000000000000..dd040741a3d7
--- /dev/null
+++ b/dev-libs/g-wrap/files/g-wrap-1.3.4-direntry.patch
@@ -0,0 +1,57 @@
+diff -u g-wrap-1.3.4-vanilla/doc/g-wrap.info g-wrap-1.3.4/doc/g-wrap.info
+--- g-wrap-1.3.4-vanilla/doc/g-wrap.info 2004-04-19 13:16:18.584411000 -0700
++++ g-wrap-1.3.4/doc/g-wrap.info 2004-04-19 13:17:49.384608248 -0700
+@@ -1,5 +1,10 @@
+ This is g-wrap.info, produced by makeinfo version 4.2 from g-wrap.texi.
+
++INFO-DIR-SECTION The Algorithmic Language Scheme
++START-INFO-DIR-ENTRY
++* G-wrap: (g-wrap). Export C libraries into Scheme.
++END-INFO-DIR-ENTRY
++
+ 
+ Indirect:
+ g-wrap.info-1: 73
+diff -u g-wrap-1.3.4-vanilla/doc/g-wrap.info-1 g-wrap-1.3.4/doc/g-wrap.info-1
+--- g-wrap-1.3.4-vanilla/doc/g-wrap.info-1 2004-04-19 13:16:28.147958000 -0700
++++ g-wrap-1.3.4/doc/g-wrap.info-1 2004-04-19 13:17:52.254172008 -0700
+@@ -1,5 +1,10 @@
+ This is g-wrap.info, produced by makeinfo version 4.2 from g-wrap.texi.
+
++INFO-DIR-SECTION The Algorithmic Language Scheme
++START-INFO-DIR-ENTRY
++* G-wrap: (g-wrap). Export C libraries into Scheme.
++END-INFO-DIR-ENTRY
++
+ 
+ File: g-wrap.info, Node: Top, Next: Copying, Prev: (dir), Up: (dir)
+
+diff -u g-wrap-1.3.4-vanilla/doc/g-wrap.info-2 g-wrap-1.3.4/doc/g-wrap.info-2
+--- g-wrap-1.3.4-vanilla/doc/g-wrap.info-2 2004-04-19 13:16:33.402159000 -0700
++++ g-wrap-1.3.4/doc/g-wrap.info-2 2004-04-19 13:17:55.048747168 -0700
+@@ -1,5 +1,10 @@
+ This is g-wrap.info, produced by makeinfo version 4.2 from g-wrap.texi.
+
++INFO-DIR-SECTION The Algorithmic Language Scheme
++START-INFO-DIR-ENTRY
++* G-wrap: (g-wrap). Export C libraries into Scheme.
++END-INFO-DIR-ENTRY
++
+ 
+ File: g-wrap.info, Node: Accessing the wrapped API from the target language, Next: Coping With Old Guile Versions, Prev: Generating the glue code, Up: Generating and using the glue code
+
+diff -r -u g-wrap-1.3.4-vanilla/doc/g-wrap.texi g-wrap-1.3.4/doc/g-wrap.texi
+--- g-wrap-1.3.4-vanilla/doc/g-wrap.texi 2002-11-07 09:23:43.000000000 -0800
++++ g-wrap-1.3.4/doc/g-wrap.texi 2004-04-19 13:30:50.391877096 -0700
+@@ -7,6 +7,11 @@
+ @paragraphindent 0
+ @c %**end of header
+
++@dircategory The Algorithmic Language Scheme
++@direntry
++* G-wrap: (g-wrap). Export C libraries into Scheme.
++@end direntry
++
+ @iftex
+ @finalout
+ @c DL: lose the egregious vertical whitespace, esp. around examples
diff --git a/dev-libs/g-wrap/files/g-wrap-1.3.4-m4.patch b/dev-libs/g-wrap/files/g-wrap-1.3.4-m4.patch
new file mode 100644
index 000000000000..b1a3861f4c35
--- /dev/null
+++ b/dev-libs/g-wrap/files/g-wrap-1.3.4-m4.patch
@@ -0,0 +1,20 @@
+--- g-wrap.m4.orig 2004-07-10 13:26:07.000000000 -0500
++++ g-wrap.m4 2005-05-10 13:45:31.000000000 -0500
+@@ -4,7 +4,7 @@
+
+ dnl check whether we use the old or new guile smobs
+
+-AC_DEFUN(AC_GWRAP_CHECK_GUILE,
++AC_DEFUN([AC_GWRAP_CHECK_GUILE],
+ [if test x$GUILE = x ; then
+ AC_PATH_PROG(GUILE, guile, no)
+ fi
+@@ -20,7 +20,7 @@
+ dnl tests for minimum version of g-wrap.
+ dnl sets G_WRAP_CONFIG and GWRAP_OLD_GUILE_SMOB if needed.
+
+-AC_DEFUN(AM_PATH_GWRAP,
++AC_DEFUN([AM_PATH_GWRAP],
+ [dnl
+ dnl
+ dnl
diff --git a/dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch b/dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch
new file mode 100644
index 000000000000..cf4f4b36c139
--- /dev/null
+++ b/dev-libs/g-wrap/files/g-wrap-1.9.6_glib_automagic.patch
@@ -0,0 +1,13 @@
+--- configure.ac.old 2007-01-20 10:54:27.000000000 +0100
++++ configure.ac 2007-01-20 10:55:49.000000000 +0100
+@@ -95,7 +95,9 @@
+ AM_CONDITIONAL(HAVE_SRFI_35, test "$HAVE_SRFI_35" = yes)
+
+ dnl Check for optional libraries
+-PKG_CHECK_MODULES(GLIB, glib, [have_glib=yes], [have_glib=no])
++if test "x$with_glib" != "xno"; then
++ PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib=yes], [have_glib=no])
++fi
+ AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes)
+
+ dnl Check for compiler flags and warnings. This should be last, since
diff --git a/dev-libs/g-wrap/files/g-wrap-1.9.7_glib_automagic.patch b/dev-libs/g-wrap/files/g-wrap-1.9.7_glib_automagic.patch
new file mode 100644
index 000000000000..676fb4a589b4
--- /dev/null
+++ b/dev-libs/g-wrap/files/g-wrap-1.9.7_glib_automagic.patch
@@ -0,0 +1,16 @@
+--- configure.ac.old 2007-01-18 17:54:08.000000000 +0100
++++ configure.ac 2007-01-18 17:57:38.000000000 +0100
+@@ -119,11 +119,8 @@
+ AC_SUBST(GW_LANGUAGES)
+
+ dnl Check for optional libraries
+-AC_CHECK_PROG(have_glib, glib-config, yes, no)
+-if test "$have_glib" = yes; then
+- PKG_CHECK_MODULES(GLIB, glib, [echo building GLib 1.2 support])
+-else
+- echo Not building Glib 1.2 support
++if test "x$with_glib" != "xno"; then
++ PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib=yes], [have_glib=no])
+ fi
+ AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes)
+
diff --git a/dev-libs/g-wrap/files/glib_automagic.patch b/dev-libs/g-wrap/files/glib_automagic.patch
new file mode 100644
index 000000000000..676fb4a589b4
--- /dev/null
+++ b/dev-libs/g-wrap/files/glib_automagic.patch
@@ -0,0 +1,16 @@
+--- configure.ac.old 2007-01-18 17:54:08.000000000 +0100
++++ configure.ac 2007-01-18 17:57:38.000000000 +0100
+@@ -119,11 +119,8 @@
+ AC_SUBST(GW_LANGUAGES)
+
+ dnl Check for optional libraries
+-AC_CHECK_PROG(have_glib, glib-config, yes, no)
+-if test "$have_glib" = yes; then
+- PKG_CHECK_MODULES(GLIB, glib, [echo building GLib 1.2 support])
+-else
+- echo Not building Glib 1.2 support
++if test "x$with_glib" != "xno"; then
++ PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib=yes], [have_glib=no])
+ fi
+ AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes)
+
diff --git a/dev-libs/g-wrap/files/libffi_automagic.patch b/dev-libs/g-wrap/files/libffi_automagic.patch
new file mode 100644
index 000000000000..1cb6b1535225
--- /dev/null
+++ b/dev-libs/g-wrap/files/libffi_automagic.patch
@@ -0,0 +1,11 @@
+--- configure.ac.old 2007-03-02 15:20:54.000000000 +0100
++++ configure.ac 2007-03-02 15:21:08.000000000 +0100
+@@ -55,7 +55,7 @@
+ dnl
+
+ dnl libffi
+-ar_WITH_LIB_LIBFFI([have_libffi=yes], [have_libffi=no])
++ar_WITH_LIB_LIBFFI([have_libffi=no], [have_libffi=no])
+ LIBFFI_CFLAGS_INSTALLED="$LIBFFI_CFLAGS"
+ LIBFFI_LIBS_INSTALLED="$LIBFFI_LIBS"
+ if test "$have_libffi" = no; then
diff --git a/dev-libs/g-wrap/g-wrap-1.9.11.ebuild b/dev-libs/g-wrap/g-wrap-1.9.11.ebuild
new file mode 100644
index 000000000000..3b271c3d14ac
--- /dev/null
+++ b/dev-libs/g-wrap/g-wrap-1.9.11.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="A tool for exporting C libraries into Scheme"
+HOMEPAGE="http://www.nongnu.org/g-wrap/"
+SRC_URI="http://download.savannah.gnu.org/releases/g-wrap/${P}.tar.gz"
+KEYWORDS="amd64 hppa ppc ppc64 x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+# guile-lib for srfi-34, srfi-35
+RDEPEND="
+ dev-libs/glib:2
+ dev-scheme/guile-lib
+ dev-scheme/guile[deprecated]
+ virtual/libffi"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+MAKEOPTS+=" -j1"
+
+src_prepare() {
+# cp guile/g-wrap-2.0-guile.pc.in guile/g-wrap-2.0-guile.pc.in.old
+
+ sed "s:@LIBFFI_CFLAGS_INSTALLED@:@LIBFFI_CFLAGS@:g" -i guile/g-wrap-2.0-guile.pc.in || die
+ sed "s:@LIBFFI_LIBS_INSTALLED@:@LIBFFI_LIBS@:g" -i guile/g-wrap-2.0-guile.pc.in || die
+
+# diff -u guile/g-wrap-2.0-guile.pc.in.old guile/g-wrap-2.0-guile.pc.in
+}
+
+src_configure() {
+ econf --with-glib --disable-Werror
+}
diff --git a/dev-libs/g-wrap/g-wrap-1.9.13.ebuild b/dev-libs/g-wrap/g-wrap-1.9.13.ebuild
new file mode 100644
index 000000000000..ab8d519622f3
--- /dev/null
+++ b/dev-libs/g-wrap/g-wrap-1.9.13.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="A tool for exporting C libraries into Scheme"
+HOMEPAGE="http://www.nongnu.org/g-wrap/"
+SRC_URI="http://download.savannah.gnu.org/releases/g-wrap/${P}.tar.gz"
+KEYWORDS="amd64 hppa ppc ppc64 x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+# guile-lib for srfi-34, srfi-35
+RDEPEND="
+ dev-libs/glib:2
+ dev-scheme/guile-lib
+ dev-scheme/guile[deprecated]
+ virtual/libffi"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/indent"
+
+MAKEOPTS+=" -j1"
+
+src_configure() {
+ econf --disable-Werror --with-glib
+}
diff --git a/dev-libs/g-wrap/g-wrap-1.9.14.ebuild b/dev-libs/g-wrap/g-wrap-1.9.14.ebuild
new file mode 100644
index 000000000000..d662a7ad62db
--- /dev/null
+++ b/dev-libs/g-wrap/g-wrap-1.9.14.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit autotools-utils
+
+DESCRIPTION="A tool for exporting C libraries into Scheme"
+HOMEPAGE="http://www.nongnu.org/g-wrap/"
+SRC_URI="http://download.savannah.gnu.org/releases/g-wrap/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="static-libs"
+
+# guile-lib for srfi-34, srfi-35
+RDEPEND="
+ dev-libs/glib:2
+ dev-scheme/guile-lib
+ dev-scheme/guile[deprecated]
+ virtual/libffi"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/indent"
+
+MAKEOPTS+=" -j1"
+
+src_configure() {
+ local myeconfargs=( --disable-Werror --with-glib )
+ autotools-utils_src_configure
+}
diff --git a/dev-libs/g-wrap/metadata.xml b/dev-libs/g-wrap/metadata.xml
new file mode 100644
index 000000000000..c8d5dd1b2a4e
--- /dev/null
+++ b/dev-libs/g-wrap/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>scheme</herd>
+ <maintainer>
+ <email>hkBst@gentoo.org</email>
+ <name>Marijn Schouten</name>
+ </maintainer>
+ <longdescription lang="en">
+G-Wrap is a tool (and Guile library) for generating function wrappers for inter-language calls. It currently only supports generating Guile wrappers for C functions.
+ </longdescription>
+</pkgmetadata>