head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.26 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.24 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.22 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.20 pkgsrc-2011Q2-base:1.9 pkgsrc-2009Q4:1.9.0.18 pkgsrc-2009Q4-base:1.9 pkgsrc-2008Q4:1.9.0.16 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.14 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.12 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.10 pkgsrc-2008Q2-base:1.9 pkgsrc-2008Q1:1.9.0.8 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.6 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.4 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.2 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.8.0.2 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.6.0.6 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.4 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.2 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.5.0.12 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.10 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.8 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.6 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.4 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.2 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.4.0.4 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.2 pkgsrc-2004Q2-base:1.4 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.9 date 2007.05.17.23.59.35; author gdt; state dead; branches; next 1.8; 1.8 date 2007.01.21.12.52.44; author wiz; state Exp; branches; next 1.7; 1.7 date 2007.01.14.14.24.31; author wiz; state Exp; branches; next 1.6; 1.6 date 2006.04.08.23.41.44; author wiz; state Exp; branches; next 1.5; 1.5 date 2004.12.03.17.06.58; author wiz; state dead; branches; next 1.4; 1.4 date 2004.05.03.15.58.55; 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.9 log @Update to 1.9.8. This update breaks gnucash, which now uses devel/g-wrap196 instead. Changes since 1.9.6: Version 1.9.8 - New feature: function flags. At the moment there is a single flag specifying whether to leave "Guile mode" when calling the wrapper functions. See the Guile manual on "scm_without_guile" for more information. - Don't rely on libc to provide (v)asprintf, take the implementation from gnulib. - The minimal GLib bindings now build against GLib 2.x. However, their use is deprecated in favour of the much more complete GLib bindings in guile-gnome (http://www.gnu.org/software/guile-gnome/). 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 @$NetBSD: patch-ac,v 1.8 2007/01/21 12:52:44 wiz Exp $ --- configure.orig 2005-04-14 14:57:14.000000000 +0000 +++ configure @@@@ -21699,8 +21699,8 @@@@ else if test "x$ac_cv_env_GLIB_CFLAGS_set" = "xset"; then pkg_cv_GLIB_CFLAGS=$ac_cv_env_GLIB_CFLAGS_value elif test -n "$PKG_CONFIG"; then - if $PKG_CONFIG --exists "glib" >/dev/null 2>&1; then - pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib" 2>/dev/null` + if $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then + pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` else pkg_failed=yes fi @@@@ -21718,8 +21718,8 @@@@ else if test "x$ac_cv_env_GLIB_LIBS_set" = "xset"; then pkg_cv_GLIB_LIBS=$ac_cv_env_GLIB_LIBS_value elif test -n "$PKG_CONFIG"; then - if $PKG_CONFIG --exists "glib" >/dev/null 2>&1; then - pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib" 2>/dev/null` + if $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then + pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` else pkg_failed=yes fi @@@@ -21731,7 +21731,7 @@@@ echo "$as_me:$LINENO: result: $pkg_cv_GL echo "${ECHO_T}$pkg_cv_GLIB_LIBS" >&6 if test $pkg_failed = yes; then - GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib"` + GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" 1>&5 @ 1.8 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-ac,v 1.6 2006/04/08 23:41:44 wiz Exp $ @ 1.7 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 --- configure.orig 2006-11-07 19:59:16.000000000 +0000 d5 28 a32 42 @@@@ -22859,12 +22859,12 @@@@ if test -n "$PKG_CONFIG"; then pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib\"") >&5 - ($PKG_CONFIG --exists --print-errors "glib") 2>&5 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib" 2>/dev/null` + pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` else pkg_failed=yes fi @@@@ -22877,12 +22877,12 @@@@ if test -n "$PKG_CONFIG"; then pkg_cv_GLIB_LIBS="$GLIB_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib\"") >&5 - ($PKG_CONFIG --exists --print-errors "glib") 2>&5 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib" 2>/dev/null` + pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` else pkg_failed=yes fi @@@@ -22901,9 +22901,9 @@@@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib"` + GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"` else - GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib"` + GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` fi d34 2 a35 1 echo "$GLIB_PKG_ERRORS" >&5 @ 1.6 log @Use glib2 instead of glib. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2005-04-14 14:57:14.000000000 +0000 d5 42 a46 28 @@@@ -21699,8 +21699,8 @@@@ else if test "x$ac_cv_env_GLIB_CFLAGS_set" = "xset"; then pkg_cv_GLIB_CFLAGS=$ac_cv_env_GLIB_CFLAGS_value elif test -n "$PKG_CONFIG"; then - if $PKG_CONFIG --exists "glib" >/dev/null 2>&1; then - pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib" 2>/dev/null` + if $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then + pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` else pkg_failed=yes fi @@@@ -21718,8 +21718,8 @@@@ else if test "x$ac_cv_env_GLIB_LIBS_set" = "xset"; then pkg_cv_GLIB_LIBS=$ac_cv_env_GLIB_LIBS_value elif test -n "$PKG_CONFIG"; then - if $PKG_CONFIG --exists "glib" >/dev/null 2>&1; then - pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib" 2>/dev/null` + if $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then + pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` else pkg_failed=yes fi @@@@ -21731,7 +21731,7 @@@@ echo "$as_me:$LINENO: result: $pkg_cv_GL echo "${ECHO_T}$pkg_cv_GLIB_LIBS" >&6 if test $pkg_failed = yes; then - GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib"` + GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` d48 1 a48 2 echo "$GLIB_PKG_ERRORS" 1>&5 @ 1.5 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: patch-ac,v 1.4 2004/05/03 15:58:55 wiz Exp $ d3 33 a35 14 --- bin/Makefile.in.orig 2002-11-08 05:40:46.000000000 +0100 +++ bin/Makefile.in @@@@ -333,9 +333,9 @@@@ g-wrap: g-wrap.in Makefile g-wrap-config: g-wrap-config.in rm -f $@@.tmp sed < $@@.in > $@@.tmp \ - -e 's:@@-GUILE-@@:${GUILE}:' \ + -e 's:@@-GUILE-@@:${PREFIX}/${GUILE14_SUBDIR}/bin/guile:' \ -e 's:@@-VERSION-@@:${VERSION}:' \ - -e 's:@@-libdir-@@:${libdir}:' \ + -e 's:@@-libdir-@@:${libdir}:g' \ -e 's:@@-includedir-@@:${includedir}:' \ -e 's:@@-GUILE_MODULE_DIR-@@:${GUILEMODDIR}:' chmod +x $@@.tmp @ 1.4 log @Convert to buildlink3. @ 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 @d3 5 a7 3 --- bin/Makefile.in.orig Thu Apr 12 05:14:14 2001 +++ bin/Makefile.in Sun Jul 1 16:16:37 2001 @@@@ -232,7 +232,7 @@@@ d9 2 a10 1 -e 's:@@-GUILE-@@:${GUILE}:' \ @ 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 @@ 1.1 log @Initial revision @ text @d3 3 a5 3 --- Makefile.in.orig Wed Jun 21 23:59:21 2000 +++ Makefile.in Mon Jun 26 17:52:19 2000 @@@@ -427,7 +427,7 @@@@ d11 2 a12 1 -e 's:@@-includedir-@@:${includedir}:' a13 1 mv $@@.tmp $@@ @ 1.1.1.1 log @Initial import of g-wrap-0.9.4, a tool for importing types, functions, and constants into guile. @ text @@