Package: gob
Version: 1.0.12-4
Severity: important
Hi,
Now that Gtk1.2 is removed we are also looking to remove glib1.2 from
the archive. Gob currently fails to build with glib2.0 as it uses
AM_PATH_GLIB. Here is a patch that makes it build, though it probably
needs more testing. (And obviously an autoreconf -fvi).
Thank you,
Barry deFreese
Debian QA
diff -u gob-1.0.12/debian/changelog gob-1.0.12/debian/changelog
--- gob-1.0.12/debian/changelog
+++ gob-1.0.12/debian/changelog
@@ -1,3 +1,10 @@
+gob (1.0.12-4.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Test building with glib2.0.
+
+ -- Barry deFreese <bdefre...@debian.org> Sat, 11 Apr 2009 13:31:21 -0400
+
gob (1.0.12-4) unstable; urgency=low
* Fix build for people trying to run with sudo (closes: #424744).
diff -u gob-1.0.12/debian/control gob-1.0.12/debian/control
--- gob-1.0.12/debian/control
+++ gob-1.0.12/debian/control
@@ -3,7 +3,7 @@
Priority: extra
Maintainer: Mark Brown <broo...@debian.org>
Standards-Version: 3.5.8
-Build-Depends: flex, byacc | bison, libglib1.2-dev, debhelper
+Build-Depends: flex, byacc | bison, libglib2.0-dev, debhelper
Package: gob
Architecture: any
only in patch2:
unchanged:
--- gob-1.0.12.orig/configure.in
+++ gob-1.0.12/configure.in
@@ -34,7 +34,7 @@
AC_PATH_PROG(RM, rm, /bin/rm)
AC_PATH_PROG(MV, mv, /bin/mv)
AC_PATH_PROG(TAR, tar, /bin/tar)
-AM_PATH_GLIB(1.2.0,,,)
+AM_PATH_GLIB_2_0(2.0.0,,,)
dnl We don't check popt since we're not using it at the moment, but
dnl We just might use it later
dnl AC_CHECK_LIB(popt,poptGetContext, [POPT_LIB="-lpopt"],
only in patch2:
unchanged:
--- gob-1.0.12.orig/src/Makefile.am
+++ gob-1.0.12/src/Makefile.am
@@ -1,10 +1,10 @@
#YACCFLAGS += -d -t
-YFLAGS += -d -t
+AM_YFLAGS = -d -t
SUBDIRS =
-CFLAGS += -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
+AM_CFLAGS = -Wall -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations
-CFLAGS += -DPKGDATADIR=\"$(pkgdatadir)\"
+AM_CFLAGS += -DPKGDATADIR=\"$(pkgdatadir)\"
INCLUDES = @GLIB_CFLAGS@ -I$(includedir)
@@ -36,7 +36,7 @@
# we might want popt back in the future
# @POPT_LIB@
-CLEANFILES += $(BUILT_SOURCES) gtk-weird-button.*
gtk-weird-button-private.h
+CLEANFILES = $(BUILT_SOURCES) gtk-weird-button.* gtk-weird-button-private.h
EXTRA_DIST = $(BUILT_SOURCES) test.gob generate_treefuncs.pl treefuncs.def
only in patch2:
unchanged:
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org