head 1.12; access; symbols pkgsrc-2013Q2:1.12.0.10 pkgsrc-2013Q2-base:1.12 pkgsrc-2012Q4:1.12.0.8 pkgsrc-2012Q4-base:1.12 pkgsrc-2011Q4:1.12.0.6 pkgsrc-2011Q4-base:1.12 pkgsrc-2011Q2:1.12.0.4 pkgsrc-2011Q2-base:1.12 pkgsrc-2009Q4:1.12.0.2 pkgsrc-2009Q4-base:1.12 pkgsrc-2008Q4:1.9.0.20 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.18 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.16 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.14 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.12 pkgsrc-2008Q1:1.9.0.10 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.8 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.6 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.4 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.2 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.7.0.10 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.8 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.6 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.4 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.2 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.6.0.6 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.4 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.2 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.12 date 2009.02.24.02.30.23; author gdt; state dead; branches; next 1.11; 1.11 date 2009.02.20.01.16.27; author gdt; state Exp; branches; next 1.10; 1.10 date 2009.02.20.00.42.51; author gdt; state dead; branches; next 1.9; 1.9 date 2007.01.21.12.52.44; author wiz; state Exp; branches; next 1.8; 1.8 date 2007.01.14.14.24.31; author wiz; state Exp; branches; next 1.7; 1.7 date 2005.12.07.15.22.50; author joerg; state Exp; branches; next 1.6; 1.6 date 2005.03.07.00.36.45; author wiz; state Exp; branches; next 1.5; 1.5 date 2005.02.27.13.19.20; author wiz; state dead; branches; next 1.4; 1.4 date 2004.12.03.17.06.58; author wiz; state Exp; branches; next 1.3; 1.3 date 2003.02.24.20.50.19; author jschauma; state Exp; branches; next 1.2; 1.2 date 2001.07.01.15.12.45; author tron; state Exp; branches; next 1.1; 1.1 date 2000.06.26.16.57.09; author rh; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.06.26.16.57.09; author rh; state Exp; branches; next ; desc @@ 1.12 log @Update to 1.9.12. Only listed change is pkgconfig bugfix that was in patch-ab. @ text @$NetBSD: patch-ab,v 1.11 2009/02/20 01:16:27 gdt Exp $ --- guile/g-wrap-2.0-guile.pc.in.orig 2007-08-14 09:21:29.000000000 -0400 +++ guile/g-wrap-2.0-guile.pc.in @@@@ -11,5 +11,5 @@@@ module_directory=@@GUILEMODDIR@@ Name: G-Wrap Description: A Guile wrapper generator Version: @@VERSION@@ -Libs: -L${libdir} -lgwrap-guile-runtime -lgwrap-core-runtime @@GUILE_LDFLAGS@@ @@LIBFFI_LIBS_INSTALLED@@ -Cflags: @@STD_CFLAGS@@ -I${includedir} @@GUILE_CFLAGS@@ @@LIBFFI_CFLAGS_INSTALLED@@ +Libs: -L${libdir} -lgwrap-guile-runtime -lgwrap-core-runtime @@GUILE_LDFLAGS@@ @@LIBFFI_LIBS@@ +Cflags: @@STD_CFLAGS@@ -I${includedir} @@GUILE_CFLAGS@@ @@LIBFFI_CFLAGS@@ @ 1.11 log @add patch to fix pkg-config file lossage due to incomplete conversion to real libffi @ text @d1 1 a1 1 $NetBSD$ @ 1.10 log @Update to 1.9.11. Version 1.9.11 - Fix `double' return value handling on big-endian platforms. - libffi is no longer distributed with g-wrap, as it is available as a stand-alone package now (instead of being burried in the GCC sources). Version 1.9.10 - Fix WCT nullable behaviour for 'new' (i.e. non-compat) wrapsets; there is now a SRFI-39 parameter 'gw-wcts-nullable?' controlling the nullable behaviour; this parameter is #f by default, and set to #t when generating compat wrapsets. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.9 2007/01/21 12:52:44 wiz Exp $ d3 10 a12 28 --- libffi/configure.orig 2005-03-01 18:52:45.000000000 +0100 +++ libffi/configure @@@@ -19903,6 +19903,7 @@@@ case "$host" in i*86-*-linux*) TARGET=X86; TARGETDIR=x86;; i*86-*-solaris*) TARGET=X86; TARGETDIR=x86;; i*86-*-beos*) TARGET=X86; TARGETDIR=x86;; +i*86-*-dragonfly*) TARGET=X86; TARGETDIR=x86;; i*86-*-freebsd* | i*86-*-kfreebsd*-gnu) TARGET=X86; TARGETDIR=x86;; i*86-*-netbsdelf* | i*86-*-knetbsd*-gnu) TARGET=X86; TARGETDIR=x86;; i*86-*-win32*) TARGET=X86_WIN32; TARGETDIR=x86;; @@@@ -19920,7 +19921,7 @@@@ m68k-*-linux*) TARGET=M68K; TARGETDIR=m6 mips64*-*);; mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS_IRIX; TARGETDIR=mips;; mips*-*-linux*) TARGET=MIPS_LINUX; TARGETDIR=mips;; -powerpc*-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; TARGETDIR=powerpc;; +powerpc*-*-linux* | powerpc-*-netbsd* | powerpc-*-sysv*) TARGET=POWERPC; TARGETDIR=powerpc;; powerpc-*-beos*) TARGET=POWERPC; TARGETDIR=powerpc;; powerpc-*-darwin*) TARGET=POWERPC_DARWIN; TARGETDIR=powerpc;; powerpc-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc;; @@@@ -19929,7 +19930,7 @@@@ arm*-*-linux-*) TARGET=ARM; TARGETDIR=ar arm*-*-netbsdelf* | arm*-*-knetbsd*-gnu) TARGET=ARM; TARGETDIR=arm;; s390-*-linux-*) TARGET=S390; TARGETDIR=s390;; s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;; -x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TARGETDIR=x86;; +x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu | x86_64-*-netbsd*) TARGET=X86_64; TARGETDIR=x86;; sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;; sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;; hppa-*-linux* | parisc-*-linux*) TARGET=PA; TARGETDIR=pa;; @ 1.9 log @Revert update to 1.9.7, since it breaks gnucash (at least 2.0.[0-4]). Welcome back, g-wrap-1.9.6nb2! @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.7 2005/12/07 15:22:50 joerg Exp $ @ 1.8 log @Update to 1.9.7: Version 1.9.7 - The shared libraries now reside in $(pkglibdir)/modules (e.g. /usr/lib/g-wrap/modules). - Users are now allowed to chose in which module generic functions should be defined. - New feature: aggregated typespecs. See the node `Wrapping a C Function' of the manual for details. - Users can now specify a free and a mark function, as well as an equality predicate for wrapped C types (WCTs) in `wrap-as-wct!'. - Improved documentation with an API reference (yet to be finished). - Several bugfixes. @ text @d3 1 a3 1 --- libffi/configure.orig 2006-11-07 19:59:34.000000000 +0000 d5 1 a5 1 @@@@ -20654,6 +20654,7 @@@@ case "$host" in d13 1 a13 1 @@@@ -20671,7 +20672,7 @@@@ m68k-*-linux*) TARGET=M68K; TARGETDIR=m6 d22 1 a22 1 @@@@ -20680,7 +20681,7 @@@@ arm*-*-linux-*) TARGET=ARM; TARGETDIR=ar @ 1.7 log @Add DragonFly support. XXX Why doesn't this use an external libffi? @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 2005/03/07 00:36:45 wiz Exp $ d3 1 a3 1 --- libffi/configure.orig 2005-03-01 18:52:45.000000000 +0100 d5 1 a5 1 @@@@ -19903,6 +19903,7 @@@@ case "$host" in d13 1 a13 1 @@@@ -19920,7 +19921,7 @@@@ m68k-*-linux*) TARGET=M68K; TARGETDIR=m6 d22 1 a22 1 @@@@ -19929,7 +19930,7 @@@@ arm*-*-linux-*) TARGET=ARM; TARGETDIR=ar @ 1.6 log @Add (untested) macppc and x86_64 support. @ text @d1 1 a1 1 $NetBSD$ d5 9 a13 1 @@@@ -19916,7 +19916,7 @@@@ m68k-*-linux*) TARGET=M68K; TARGETDIR=m6 d22 1 a22 1 @@@@ -19925,7 +19925,7 @@@@ arm*-*-linux-*) TARGET=ARM; TARGETDIR=ar @ 1.5 log @Update to 1.9.4: - Enhanced generics support: now all arguments of methods are specialized, not only the first one. - Bugfixes + Now ships with (g-wrap gw-wct) compatibilty module needed by GnuCash at runtime. + Fixes for handling output arguments: - Wrapped functions with void return value and output arguments now return expected results - Optional argument count is now correctly computed in the presence of output arguments + The libffi alignment requirements are now honored. This fixes bus errors on many non-x86 architectures. + On big-endian architectures libffi-wrapped functions that return char now work correctly. + Some "uninitialized variable" warnings were fixed in generated code which caused compiles with GCC 4.0 to fail (Debian Bug#290305). @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2004/12/03 17:06:58 wiz Exp $ d3 20 a22 10 --- guile/g-wrap/Makefile.in.orig 2004-10-16 12:27:42.000000000 -0400 +++ guile/g-wrap/Makefile.in @@@@ -378,6 +378,7 @@@@ uninstall-info-am: install-nobase_gwrapmoduleDATA: $(nobase_gwrapmodule_DATA) @@$(NORMAL_INSTALL) test -z "$(gwrapmoduledir)" || $(mkdir_p) "$(DESTDIR)$(gwrapmoduledir)" + test -z "$(gwrapmoduledir)/guile/ws" || $(mkdir_p) "$(DESTDIR)$(gwrapmoduledir)/guile/ws" @@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ list='$(nobase_gwrapmodule_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ @ 1.4 log @Update to 1.9.3, from Greg Troxel via pkgsrc-wip. Changes since 1.3.4: Version 1.9.3 - Comes with a compatibility layer that allows GnuCash to be built with it. - Reverts the enhanced generics support, which was introduced in 1.9.2, since that currently breaks guile-gnome - Bugfixes + g-wrap-2.0-guile.pc is now generated correctly, even if the internal libffi is used. + Types used by constants are now considered when calculating the set of referenced types in a wrapset. This bug led to missing code and compile errors when a type defined in another wrapset was used by only by a constant. + On platforms which lack alloca(), the version shipped with G-Wrap should now build correctly. Version 1.9.2 - Now comes with libffi included, for systems which lack an libffi installation - SRFI module checks now work correctly, even if you do an in-tree build Version 1.9.1 - API change: destruct-value-cg is now named destroy-value-cg - Bugfixes + A bug in the latent generic code has been fixed + The error message for WCP type errors has been fixed Version 1.9.0 - Complete rewrite; too many changes to list, see the manual for the new GOOPS-based API and the guile-gnome project for an extended example. - New features: + Output arguments + Default arguments - G-Wrap should be target-language agnostic, like it was in its early days. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update to 1.3.4 using patches provided by roskens at elfin dot net in PR pkg/20270 with minor nitpicks by myself. Some of the changes since 1.2.1: * configure.in: fix minor problem where we used the guile-gtk config program even when it wasn't found. * acconfig.h: deleted since deprecated -- replaced by three arg AC_DEFINEs in configure.in. * doc/.cvsignore: add texinfo.tex. * configure.in (AM_INIT_AUTOMAKE): bump version for release. * bunch of subversion cleanups. * change license to LGPL. * g-wrap/gw-glib-spec.scm: coerce to (gpointer) in gw:glist-of and gw:gslist-of code where needed. * g-wrap/enumeration.scm (gw:wrap-enumeration): make val->int and int->val functions static so they don't cause conflicts. * configure.in (GW_GUILE_GTK_CFLAGS): delete any occurences of -I /usr/include or similar. Newer gcc's don't like that at all. * bin/g-wrap-config.in (c-compile-args): don't output -I if it's /usr/include. The new gcc doesn't like -I /usr/include at all. * test/Makefile.am (gw-test-enumeration.scm gw-test-enumeration.h gw-test-enumeration.c gw-test-enumeration.html gw-test-enumeration-autogen.h): use LD_LIBRARY_PATH. (gw-test-parent.scm gw-test-parent.h gw-test-parent.c gw-test-parent.html gw-test-parent-autogen.h): use LD_LIBRARY_PATH. * doc/g-wrap.texi: minor re-editing -- still needs much more. * configure.in (GW_GUILE_GTK_CFLAGS): add and AC_SUBST. (GW_GUILE_GTK_LIBFLAGS): add and AC_SUBST. * g-wrap/simple-type.scm: new file -- support for simple types. * g-wrap/runtime.scm: new file -- scm support for runtime wrapset database. * g-wrap/gw-wct-spec.scm: new file -- wrapped C pointer types. * g-wrap/gw-standard-spec.scm: new file -- standard wrapped types. * g-wrap/gw-gtk-spec.scm: new file -- wrappers for gtk. * g-wrap/gw-glib-spec.scm: new file -- wrappers for glib. * g-wrap/gtkobj.scm: support for wrapping new C ptr types as gtkobjects. * g-wrap/Makefile.am: major changes -- support gw-glib, gw-wct, gw-gtk, etc. * g-wrap/g-wrap-wct.h: support header for gw-wct. Part of libgwrap-wct. * g-wrap/g-wrap-wct.c: support code for gw-wct. Part of libgwrap-wct. * g-wrap/g-wrap-glib.h: support header for gw-glib. Part of libgwrap-glib. * g-wrap/g-wrap-glib.c: support code for gw-glib. Part of libgwrap-glib. * g-wrap/output-file.scm (flatten-display): make public. * g-wrap/g-wrap-compatibility.h: start guile version compatibility library. * g-wrap/enumeration.scm: break out enumeration support. * g-wrap/dummy-main.c: new file - for link testing. * bin/g-wrap-config.in (c-link-args): add support for glib, wct, etc. * g-wrap.scm: major overhaul -- modules -> wrapsets, ccodegens -> init/decl/lists, etc. * configure.in: remove rscheme (and other dead bits). Add support for glib and gnome-guile. Handle libruntime reorg/removal. * acconfig.h: accomodate reorg/removal of libruntime. * g-wrapped/gw-runtime-spec.scm: switch to use of SCM_FALSEP and SCM_NFALSEP rather than direct SCM_BOOL_* * libruntime-guile/g-wrap-runtime-guile.c: switch to use of SCM_FALSEP and SCM_NFALSEP rather than direct SCM_BOOL_* comparisons. * g-wrap.scm: switch to use of SCM_FALSEP and SCM_NFALSEP rather than direct SCM_BOOL_* comparisons. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1.1.1 2000/06/26 16:57:09 rh Exp $ d3 10 a12 11 --- bin/g-wrap-config.in.orig Thu Nov 7 17:23:43 2002 +++ bin/g-wrap-config.in Thu Feb 6 17:23:29 2003 @@@@ -56,7 +56,7 @@@@ (lambda (lib) (stdout " @@-libdir-@@/lib" lib ".a")) (cdr libs)) (begin - (stdout "-L@@-libdir-@@") + (stdout "-Wl,-R@@-libdir-@@ -L@@-libdir-@@") (for-each (lambda (lib) (stdout " -l" lib)) (cdr libs)))) @ 1.2 log @Update "g-wrap" package to version 1.1.10. A very extensive list of changes is available in the "ChangeLog" file. @ text @d3 11 a13 11 --- bin/g-wrap-config.in.orig Wed Apr 12 21:06:56 2000 +++ bin/g-wrap-config.in Mon Jun 26 17:45:02 2000 @@@@ -52,7 +52,7 @@@@ (begin (if static? (stdout "@@-libdir-@@/lib" (cdr lib) ".a" #\newline) - (stdout "-L@@-libdir-@@ -l" (cdr lib) #\newline)) + (stdout "-Wl,-R@@-libdir-@@ -L@@-libdir-@@ -l" (cdr lib) #\newline)) #t) (begin (stderr *program-name* ": unknown LANGUAGE \"" language "\" given.") @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- g-wrap-config.in.orig Wed Apr 12 21:06:56 2000 +++ g-wrap-config.in Mon Jun 26 17:45:02 2000 @ 1.1.1.1 log @Initial import of g-wrap-0.9.4, a tool for importing types, functions, and constants into guile. @ text @@