Bug#156287: debian package of Drip
Hello Greg,
I was going to package GNOME Drip for Debian when I
found that you made a package already.
When libdvdcss and libmpeg2 are included in Debian,
drip will be able to get in too. Do you have plans
for uploading it into the official archive? If so,
do you have a sponsor for that purpose?
I'd like drip to be included in Debian if possible,
there are a few things in your package that needed
fixing though.
I'm attaching a patch that fixes all them, see the
debian/changelog entry for details. In case of any
question or doubt about my changes, please do ask me
about it and i'll gladly explain.
p.s: please keep the CC to 156287@bugs.debian.org, so
the message is logged in the ITP entry of the WNPP.
patch follows:
diff -Nur drip-0.8.2pre2.old/debian/changelog drip-0.8.2pre2/debian/changelog
--- drip-0.8.2pre2.old/debian/changelog 2002-04-06 16:54:46.000000000 +0200
+++ drip-0.8.2pre2/debian/changelog 2002-08-25 23:40:05.000000000 +0200
@@ -1,3 +1,31 @@
+drip (0.8.2pre2) unstable; urgency=high
+
+ * Closing debian ITP (Closes: #156287)
+ * Converting into debian-native package
+ * Uploading to "unstable" archive, not "stable"
+ * Fixes in debian/control:
+ Moving to non-US section (because of libdvdcss dependency)
+ Added missing Build-Depends
+ Changed Architecture tag to "any"
+ Removed xserver-xfree86 Suggests (X programs are server-independant)
+ Added avifile-win32-plugin to Suggests (to keep it outside contrib)
+ Splitted dripencoder package with console tool.
+ * Fixes in debian/copyright:
+ Updated upstream URL (http://drip.sourceforge.net)
+ Filled upstream author field
+ Removed "GNU/Linux" for other flavors of Debian
+ * Setup dh_movefiles (and associated *.dirs *.files files)
+ * Renamed drip-encoder manpage to match the binary name.
+ * Fixes in debian/rules:
+ Installation in debian/tmp for dh_movefiles to act
+ Hack: remove libao so that we can use the shared objects in debian
+ (untill it's fixed to link dynamicaly with libao-dev)
+ Install manpages manualy cause dh_installman didn't handle them well
+ Commented some dh_* unnecessary lines
+ * !!! Removed athlon-specific CFLAGS in Makefile.*
+
+ -- Robert Millan <zeratul2@wanadoo.es> Fri, 23 Aug 2002 12:57:27 +0200
+
drip (0.8.2-1) stable; urgency=high
Fixed disk-but-not-a-dvd in drive crash
Failed loading plugins wont exit anymore
diff -Nur drip-0.8.2pre2.old/debian/control drip-0.8.2pre2/debian/control
--- drip-0.8.2pre2.old/debian/control 2001-04-01 03:20:24.000000000 +0200
+++ drip-0.8.2pre2/debian/control 2002-08-25 22:22:52.000000000 +0200
@@ -1,16 +1,23 @@
Source: drip
-Section: graphics
+Section: non-US
Priority: optional
Maintainer: greg gilbert <gregg@subdimension.com>
-Build-Depends: debhelper (>> 2.0.0)
+Build-Depends: debhelper (>> 2.0.0), libgnome-dev, libgdk-pixbuf-dev, libavifile0.7-dev, libdvdread2-dev (>= 0.9.3-1), libdvdcss-dev, automake1.6 | automake1.5, libmpeg2-1-dev, liba52-0.7.4-dev, libgtkxmhtml-dev, libzvt-dev
Standards-Version: 3.2.1
Package: drip
-Architecture: i386
-Depends: ${shlibs:Depends}
-Suggests: xserver-xfree86 (>> 4.0)
+Architecture: any
+Depends: ${shlibs:Depends}, dripencoder (= ${Source-Version}), libao0
+Suggests: avifile-win32-plugin (>= 0.7)
Description: GNOME application for encoding a DivX from a DVD
Drip is a GNOME application for creating a compressed DivX ;-)
video file from a DVD. It uses the avifile library with the
Windows Codec DLLS, which must be installed separately for
drip to function properly.
+
+Package: dripencoder
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: a text mode tool for DIVX encoding
+ Dripencoder is the backend used by GNOME Drip for DIVX encoding along
+ the process of creating a DVD backup. It can be used separately.
diff -Nur drip-0.8.2pre2.old/debian/copyright drip-0.8.2pre2/debian/copyright
--- drip-0.8.2pre2.old/debian/copyright 2001-04-01 03:20:24.000000000 +0200
+++ drip-0.8.2pre2/debian/copyright 2002-08-25 23:39:37.000000000 +0200
@@ -1,12 +1,12 @@
This package was debianized by greg gilbert <gregg@subdimension.com> on
Wed, 28 Mar 2001 21:08:19 -0800.
-It was downloaded from http://www.xs4all.nl/~jarl/
+It was downloaded from http://drip.sourceforge.net/
-Upstream Author(s): <put author(s) name and email here>
+Upstream Authors: Jarl van Katwijk <jarl@xs4all.nl> and others
Copyright: (C) 2000, Jarl van Katwijk <jarl@xs4all.nl>
This program is licensed under the GNU General Public License, on Debian
-GNU/Linux systems you can find it at /usr/share/common-licenses/GPL
+systems you can find it at /usr/share/common-licenses/GPL
diff -Nur drip-0.8.2pre2.old/debian/dirs drip-0.8.2pre2/debian/dirs
--- drip-0.8.2pre2.old/debian/dirs 2001-04-01 03:20:24.000000000 +0200
+++ drip-0.8.2pre2/debian/dirs 2002-08-23 14:49:08.000000000 +0200
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
diff -Nur drip-0.8.2pre2.old/debian/drip.dirs drip-0.8.2pre2/debian/drip.dirs
--- drip-0.8.2pre2.old/debian/drip.dirs 1970-01-01 01:00:00.000000000 +0100
+++ drip-0.8.2pre2/debian/drip.dirs 2002-08-24 22:38:52.000000000 +0200
@@ -0,0 +1,4 @@
+usr/lib
+usr/share
+usr/bin
+usr/share/man/man1
diff -Nur drip-0.8.2pre2.old/debian/drip-encoder.1 drip-0.8.2pre2/debian/drip-encoder.1
--- drip-0.8.2pre2.old/debian/drip-encoder.1 2001-04-01 03:20:24.000000000 +0200
+++ drip-0.8.2pre2/debian/drip-encoder.1 1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-.TH drip-encoder 1
-.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
-.\" other parms are allowed: see man(7), man(1)
-.SH drip-encoder
-drip-encoder \- An MPEG2 to DivX ;-) encoder
-.SH SYNOPSIS
-.B drip-encoder
-.SH DESCRIPTION
-A command line MPEG2 to DivX ;-) encoder. For more detailed usage information, see drip-encoder -h.
-
-.SH SEE ALSO
-None
-.SH AUTHOR
-This manual page was written by Greg Gilbert <gregg@subdimension.com>
-
-
diff -Nur drip-0.8.2pre2.old/debian/dripencoder.1 drip-0.8.2pre2/debian/dripencoder.1
--- drip-0.8.2pre2.old/debian/dripencoder.1 1970-01-01 01:00:00.000000000 +0100
+++ drip-0.8.2pre2/debian/dripencoder.1 2001-04-01 03:20:24.000000000 +0200
@@ -0,0 +1,16 @@
+.TH drip-encoder 1
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH drip-encoder
+drip-encoder \- An MPEG2 to DivX ;-) encoder
+.SH SYNOPSIS
+.B drip-encoder
+.SH DESCRIPTION
+A command line MPEG2 to DivX ;-) encoder. For more detailed usage information, see drip-encoder -h.
+
+.SH SEE ALSO
+None
+.SH AUTHOR
+This manual page was written by Greg Gilbert <gregg@subdimension.com>
+
+
diff -Nur drip-0.8.2pre2.old/debian/dripencoder.dirs drip-0.8.2pre2/debian/dripencoder.dirs
--- drip-0.8.2pre2.old/debian/dripencoder.dirs 1970-01-01 01:00:00.000000000 +0100
+++ drip-0.8.2pre2/debian/dripencoder.dirs 2002-08-24 22:39:02.000000000 +0200
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1
diff -Nur drip-0.8.2pre2.old/debian/dripencoder.files drip-0.8.2pre2/debian/dripencoder.files
--- drip-0.8.2pre2.old/debian/dripencoder.files 1970-01-01 01:00:00.000000000 +0100
+++ drip-0.8.2pre2/debian/dripencoder.files 2002-08-24 22:27:02.000000000 +0200
@@ -0,0 +1,2 @@
+usr/bin/dripencoder
+usr/share/man/man1/dripencoder.1.gz
diff -Nur drip-0.8.2pre2.old/debian/drip.files drip-0.8.2pre2/debian/drip.files
--- drip-0.8.2pre2.old/debian/drip.files 1970-01-01 01:00:00.000000000 +0100
+++ drip-0.8.2pre2/debian/drip.files 2002-08-24 23:17:18.000000000 +0200
@@ -0,0 +1,6 @@
+usr/lib/*
+usr/bin/drip
+usr/bin/gnomedrip
+usr/share/gnome
+usr/share/pixmaps
+usr/share/man/man1/drip.1.gz
diff -Nur drip-0.8.2pre2.old/debian/rules drip-0.8.2pre2/debian/rules
--- drip-0.8.2pre2.old/debian/rules 2001-04-01 03:20:24.000000000 +0200
+++ drip-0.8.2pre2/debian/rules 2002-08-24 23:18:30.000000000 +0200
@@ -43,7 +43,17 @@
dh_installdirs
# Add here commands to install the package into debian/drip.
- $(MAKE) install prefix=$(CURDIR)/debian/drip/usr
+ $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
+
+ # libao shared objects are in the libao0 separate package
+ rm -f $(CURDIR)/debian/tmp/usr/lib/libao.*
+
+ # install manpages
+ mkdir -p $(CURDIR)/debian/tmp/usr/share/man/man1
+ gzip -c9 $(CURDIR)/debian/drip.1 > \
+ $(CURDIR)/debian/tmp/usr/share/man/man1/drip.1.gz
+ gzip -c9 $(CURDIR)/debian/dripencoder.1 > \
+ $(CURDIR)/debian/tmp/usr/share/man/man1/dripencoder.1.gz
# Build architecture-independent files here.
@@ -52,21 +62,22 @@
# Build architecture-dependent files here.
binary-arch: build install
-# dh_testversion 2
dh_testdir
dh_testroot
+ dh_movefiles
+
# dh_installdebconf
dh_installdocs
- dh_installexamples
- dh_installmenu
+# dh_installexamples
+# dh_installmenu
# dh_installemacsen
# dh_installpam
# dh_installinit
- dh_installcron
- dh_installmanpages
- dh_installinfo
+# dh_installcron
+# dh_installmanpages
+# dh_installinfo
# dh_undocumented
- dh_installchangelogs ChangeLog
+ dh_installchangelogs #ChangeLog
dh_link
dh_strip
dh_compress
diff -Nur drip-0.8.2pre2.old/Makefile.am drip-0.8.2pre2/Makefile.am
--- drip-0.8.2pre2.old/Makefile.am 2002-08-11 12:58:55.000000000 +0200
+++ drip-0.8.2pre2/Makefile.am 2002-08-23 14:26:36.000000000 +0200
@@ -2,7 +2,7 @@
SUBDIRS = libspu libao libvo encoder src plug-ins macros doc scripts pixmaps
drip_pixmapdir = $(DESTDIR)/`$(GNOME_CONFIG) --prefix`/share/pixmaps
-export COMPILE_OPTIM = -DARCH_X86 -funroll-all-loops -ffast-math -fexpensive-optimizations -fschedule-insns2 -fomit-frame-pointer -march=athlon-xp -mcpu=athlon-xp # -DHAVE_3DNOW -DHAVE_MMX1 -DHAVE_MMX2
+export COMPILE_OPTIM = -DARCH_X86 -funroll-all-loops -ffast-math -fexpensive-optimizations -fschedule-insns2 -fomit-frame-pointer # -march=athlon-xp -mcpu=athlon-xp -DHAVE_3DNOW -DHAVE_MMX1 -DHAVE_MMX2
export COMPILE_DEBUG = # -g3 -ggdb3 -finstrument-functions
EXTRA_DIST = \
diff -Nur drip-0.8.2pre2.old/Makefile.in drip-0.8.2pre2/Makefile.in
--- drip-0.8.2pre2.old/Makefile.in 2002-08-17 13:54:52.000000000 +0200
+++ drip-0.8.2pre2/Makefile.in 2002-08-23 14:26:54.000000000 +0200
@@ -463,7 +463,7 @@
uninstall uninstall-am uninstall-info-am \
uninstall-info-recursive uninstall-recursive
-export COMPILE_OPTIM = -DARCH_X86 -funroll-all-loops -ffast-math -fexpensive-optimizations -fschedule-insns2 -fomit-frame-pointer -march=athlon-xp -mcpu=athlon-xp # -DHAVE_3DNOW -DHAVE_MMX1 -DHAVE_MMX2
+export COMPILE_OPTIM = -DARCH_X86 -funroll-all-loops -ffast-math -fexpensive-optimizations -fschedule-insns2 -fomit-frame-pointer # -march=athlon-xp -mcpu=athlon-xp -DHAVE_3DNOW -DHAVE_MMX1 -DHAVE_MMX2
export COMPILE_DEBUG = # -g3 -ggdb3 -finstrument-functions
install-hook:
--
Robert Millan
"5 years from now everyone will be running
free GNU on their 200 MIPS, 64M SPARCstation-5"
Andrew S. Tanenbaum, 30 Jan 1992
Reply to: