Package: gnome-mplayer
Version: 0.6.3-1
Severity: serious
Tags: patch pending
Package is optional and has a Depends on libxcb-render-util0 which is extra on
all arches (see [0]).
Patch to solve the problem is attached.
Cesare
[0]http://qa.debian.org/debcheck.php?dist=unstable&package=gnome-mplayer
diff -u gnome-mplayer-0.6.3/debian/control gnome-mplayer-0.6.3/debian/control
--- gnome-mplayer-0.6.3/debian/control
+++ gnome-mplayer-0.6.3/debian/control
@@ -4,7 +4,7 @@
Maintainer: Cesare Tirabassi <[EMAIL PROTECTED]>
Build-Depends: debhelper (>= 5), autotools-dev, libgconf2-dev,
libgtk2.0-dev (>= 2.12.0), libglib2.0-dev (>= 2.14.0), libdbus-1-dev,
- libdbus-glib-1-dev (>= 0.70), pkg-config, chrpath (>= 0.13), quilt
+ libdbus-glib-1-dev (>= 0.70), pkg-config, quilt
Standards-Version: 3.8.0
Homepage: http://kdekorte.googlepages.com/gnomemplayer
diff -u gnome-mplayer-0.6.3/debian/rules gnome-mplayer-0.6.3/debian/rules
--- gnome-mplayer-0.6.3/debian/rules
+++ gnome-mplayer-0.6.3/debian/rules
@@ -9,6 +9,8 @@
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = -Wall -g
+GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 \
+ -lgthread-2.0 -lglib-2.0
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
@@ -16,7 +18,9 @@
CFLAGS += -O2
endif
-config.status: configure
+configure: config-stamp
+
+config-stamp: $(QUILT_STAMPFN)
dh_testdir
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
@@ -28,11 +32,13 @@
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --sysconfdir=\$${prefix}/share \
- CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
+ CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" GTK_LIBS="$(GTK_LIBS)"
+
+ touch $@
build: build-stamp
-build-stamp: config.status $(QUILT_STAMPFN)
+build-stamp: config-stamp
dh_testdir
$(MAKE)
@@ -42,11 +48,11 @@
clean: unpatch
dh_testdir
dh_testroot
- rm -f build-stamp
+ rm -f build-stamp config-stamp
[ ! -f Makefile ] || $(MAKE) distclean
- rm -f config.sub config.guess
+ rm -f po/*.gmo config.sub config.guess
dh_clean
install: build
@@ -59,8 +65,6 @@
# remove docs installed by upstream
rm -rf $(CURDIR)/debian/gnome-mplayer/usr/share/doc/gnome-mplayer
- # remove hardcoded rpath in executable
- chrpath -d $(CURDIR)/debian/gnome-mplayer/usr/bin/gnome-mplayer
binary-indep: build install
diff -u gnome-mplayer-0.6.3/debian/patches/series gnome-mplayer-0.6.3/debian/patches/series
--- gnome-mplayer-0.6.3/debian/patches/series
+++ gnome-mplayer-0.6.3/debian/patches/series
@@ -1,0 +2 @@
+avoid_libtool.patch
only in patch2:
unchanged:
--- gnome-mplayer-0.6.3.orig/debian/patches/avoid_libtool.patch
+++ gnome-mplayer-0.6.3/debian/patches/avoid_libtool.patch
@@ -0,0 +1,14 @@
+Index: gnome-mplayer-0.6.3/src/Makefile.in
+===================================================================
+--- gnome-mplayer-0.6.3.orig/src/Makefile.in 2008-08-14 13:31:51.000000000 +0200
++++ gnome-mplayer-0.6.3/src/Makefile.in 2008-08-14 13:31:57.000000000 +0200
+@@ -52,8 +52,7 @@
+ am__DEPENDENCIES_1 =
+ gnome_mplayer_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+-gnome_mplayer_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
+- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++gnome_mplayer_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(gnome_mplayer_LDFLAGS) $(LDFLAGS) -o $@
+ DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+ depcomp = $(SHELL) $(top_srcdir)/depcomp