r15 - in unstable: . mkvtoolnix mkvtoolnix/debian
mkvtoolnix/debian/patches
zorglub at alioth.debian.org
zorglub at alioth.debian.org
Wed Mar 14 14:18:57 CET 2007
Author: zorglub
Date: 2006-03-31 18:16:03 +0000 (Fri, 31 Mar 2006)
New Revision: 15
Added:
unstable/mkvtoolnix/
unstable/mkvtoolnix/debian/
unstable/mkvtoolnix/debian/changelog
unstable/mkvtoolnix/debian/compat
unstable/mkvtoolnix/debian/control
unstable/mkvtoolnix/debian/copyright
unstable/mkvtoolnix/debian/dirs
unstable/mkvtoolnix/debian/docs
unstable/mkvtoolnix/debian/mkvtoolnix-gui.desktop
unstable/mkvtoolnix/debian/mkvtoolnix-gui.install
unstable/mkvtoolnix/debian/mkvtoolnix-gui.manpages
unstable/mkvtoolnix/debian/mkvtoolnix-gui.menu
unstable/mkvtoolnix/debian/mkvtoolnix-gui.postinst
unstable/mkvtoolnix/debian/mkvtoolnix-gui.prerm
unstable/mkvtoolnix/debian/mkvtoolnix.install
unstable/mkvtoolnix/debian/mkvtoolnix.manpages
unstable/mkvtoolnix/debian/mkvtoolnix.postinst
unstable/mkvtoolnix/debian/mkvtoolnix.prerm
unstable/mkvtoolnix/debian/patches/
unstable/mkvtoolnix/debian/patches/00list
unstable/mkvtoolnix/debian/patches/00template
unstable/mkvtoolnix/debian/patches/10-look-for-help.dpatch
unstable/mkvtoolnix/debian/patches/10-make-distclean.dpatch
unstable/mkvtoolnix/debian/patches/10-manpage-error.dpatch
unstable/mkvtoolnix/debian/rules
unstable/mkvtoolnix/debian/watch
Log:
mkvtoolnix import
Added: unstable/mkvtoolnix/debian/changelog
===================================================================
--- unstable/mkvtoolnix/debian/changelog 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/changelog 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,44 @@
+mkvtoolnix (1.6.5-4) unstable; urgency=low
+
+ * Use mmg's icon. Thanks to Guillaume Desmottes for the patch
+ (Closes:#352679)
+
+ -- Clément Stenac <zorglub at debian.org> Mon, 13 Feb 2006 21:40:36 +0200
+
+mkvtoolnix (1.6.5-3) unstable; urgency=low
+
+ * Really fix removal of alternative mkvinfo (Closes:#338398)
+ (Sorry about this)
+
+ -- Clément Stenac <zorglub at debian.org> Mon, 16 Jan 2006 10:54:42 +0200
+
+mkvtoolnix (1.6.5-2) unstable; urgency=low
+
+ * Fix removal of alternative mkvinfo (Closes:#338398)
+
+ -- Clément Stenac <zorglub at debian.org> Sun, 25 Dec 2005 10:54:42 +0200
+
+mkvtoolnix (1.6.5-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Clément Stenac <zorglub at debian.org> Thu, 8 Dec 2005 19:54:42 +0200
+
+mkvtoolnix (1.6.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Clément Stenac <zorglub at debian.org> Fri, 14 Oct 2005 19:54:42 +0200
+
+mkvtoolnix (1.5.6-1) unstable; urgency=low
+
+ * New upstream release
+ * Rebuild with updated FLAC dependency (Closes:#325953)
+
+ -- Clément Stenac <zorglub at debian.org> Wed, 7 Sep 2005 19:54:42 +0200
+
+mkvtoolnix (1.5.5-1) unstable; urgency=low
+
+ * Initial release (Closes:#292716)
+
+ -- Clément Stenac <zorglub at debian.org> Sun, 21 Aug 2005 19:54:42 +0200
Added: unstable/mkvtoolnix/debian/compat
===================================================================
--- unstable/mkvtoolnix/debian/compat 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/compat 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1 @@
+4
Added: unstable/mkvtoolnix/debian/control
===================================================================
--- unstable/mkvtoolnix/debian/control 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/control 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,39 @@
+Source: mkvtoolnix
+Section: graphics
+Priority: optional
+Maintainer: Clément Stenac <zorglub at debian.org>
+Build-Depends: debhelper (>= 4.0.0) , libogg-dev, libvorbis-dev, zlib1g-dev, libwxgtk2.6-dev|libwxgtk2.4-dev, libflac-dev, libexpat1-dev, libbz2-dev, liblzo-dev, libebml-dev (>= 0.7.5), libmatroska-dev (>= 0.7.7), dpatch
+Standards-Version: 3.6.2
+
+Package: mkvtoolnix
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: mkvtoolnix-gui
+Description: Set of command-line tools to work with Matroska files
+ Matroska is a new multimedia container format, based on EBML (Extensible
+ Binary Meta Language), which is a kind of binary XML.
+ These tools allow to manipulate Matroska files.
+ - mkvmerge is a tool to create Matroska files from other formats
+ - mkvinfo allows to get information about the tracks in a Matroska file
+ - mkvextract can extract tracks from Matroska files to other formats
+ - base64tool can encode and decode base64
+ .
+ This package only provides command-line tools. For graphical tools, you
+ should install the mkvtoolnix-gui package.
+ .
+ Upstream homepage : http://www.bunkus.org/videotools/mkvtoolnix/
+
+Package: mkvtoolnix-gui
+Architecture: any
+Depends: mkvtoolnix, ${shlibs:Depends}, ${misc:Depends}
+Description: Set of tools to work with Matroska files - GUI frontend
+ Matroska is a new multimedia container format, based on EBML (Extensible
+ Binary Meta Language), which is a kind of binary XML.
+ .
+ The mmg tool is a graphical user interface for the mkvmerge program,
+ which allows to create Matroska files from other formats.
+ .
+ This package also contains a graphical version of the mkvinfo tool,
+ which allows to get information about a Matroska file.
+ .
+ Upstream homepage : http://www.bunkus.org/videotools/mkvtoolnix/
Added: unstable/mkvtoolnix/debian/copyright
===================================================================
--- unstable/mkvtoolnix/debian/copyright 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/copyright 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,11 @@
+This package was debianized by Clément Stenac <zorglub at debian.org> on
+Tue, 1 Feb 2005 08:48:37 +0100.
+
+It was downloaded from http://www.bunkus.org/videotools/mkvtoolnix/
+
+Upstream Author: Moritz Bunkus <moritz @ bunkus . org>
+
+License:
+
+This software is licensed under the GNU General Public Licence.
+On Debian systems, this license can be found in /usr/share/common-licenses
Added: unstable/mkvtoolnix/debian/dirs
===================================================================
--- unstable/mkvtoolnix/debian/dirs 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/dirs 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1 @@
+usr/bin
Added: unstable/mkvtoolnix/debian/docs
===================================================================
--- unstable/mkvtoolnix/debian/docs 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/docs 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,3 @@
+AUTHORS
+README
+TODO
Added: unstable/mkvtoolnix/debian/mkvtoolnix-gui.desktop
===================================================================
--- unstable/mkvtoolnix/debian/mkvtoolnix-gui.desktop 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/mkvtoolnix-gui.desktop 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=MKV files creator
+Name[fr]=Créateur de fichiers MKV
+Exec=mmg
+Terminal=false
+Type=Application
+Categories=GNOME;Application;AudioVideo;
+Icon=matroskalogo.xpm
Added: unstable/mkvtoolnix/debian/mkvtoolnix-gui.install
===================================================================
--- unstable/mkvtoolnix/debian/mkvtoolnix-gui.install 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/mkvtoolnix-gui.install 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,5 @@
+src/mmg/mmg-gui /usr/bin
+src/mkvinfo-gui /usr/bin
+debian/mkvtoolnix-gui.desktop /usr/share/applications
+src/mmg/matroskalogo.xpm /usr/share/pixmaps
+
Added: unstable/mkvtoolnix/debian/mkvtoolnix-gui.manpages
===================================================================
--- unstable/mkvtoolnix/debian/mkvtoolnix-gui.manpages 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/mkvtoolnix-gui.manpages 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1 @@
+doc/mmg.1
Added: unstable/mkvtoolnix/debian/mkvtoolnix-gui.menu
===================================================================
--- unstable/mkvtoolnix/debian/mkvtoolnix-gui.menu 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/mkvtoolnix-gui.menu 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,2 @@
+?package(mkvtoolnix-gui):needs="X11" section="Apps/Graphics"\
+ title="MKV Creator" command="/usr/bin/mmg"
Added: unstable/mkvtoolnix/debian/mkvtoolnix-gui.postinst
===================================================================
--- unstable/mkvtoolnix/debian/mkvtoolnix-gui.postinst 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/mkvtoolnix-gui.postinst 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+set -e
+
+if test -e /usr/bin/mkvinfo && ! test -L /usr/bin/mkvinfo; then
+ echo "Error. /usr/bin/mkvinfo is not a symlink. This is a bug in "
+ echo "the mkvtoolnix package or you installed a binary in /usr/bin/mkvinfo."
+ echo "Aborting."
+ exit 1
+fi
+
+update-alternatives --install /usr/bin/mkvinfo mkvinfo /usr/bin/mkvinfo-gui 40
+
+#test -e /usr/bin/mkvinfo || ln -s /etc/alternatives/mkvinfo /usr/bin
+
+#DEBHELPER#
+
+exit 0
Added: unstable/mkvtoolnix/debian/mkvtoolnix-gui.prerm
===================================================================
--- unstable/mkvtoolnix/debian/mkvtoolnix-gui.prerm 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/mkvtoolnix-gui.prerm 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+set -e
+
+[ "$1" = "remove" ] || [ "$1" = "deconfigure" ] && \
+ update-alternatives --remove mkvinfo /usr/bin/mkvinfo-gui
+
+#DEBHELPER#
+
+exit 0
+
Added: unstable/mkvtoolnix/debian/mkvtoolnix.install
===================================================================
--- unstable/mkvtoolnix/debian/mkvtoolnix.install 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/mkvtoolnix.install 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,4 @@
+debian/tmp/bin/mkvmerge /usr/bin
+debian/tmp/bin/mkvinfo /usr/bin
+debian/tmp/bin/mkvextract /usr/bin
+debian/tmp/bin/base64tool /usr/bin
Added: unstable/mkvtoolnix/debian/mkvtoolnix.manpages
===================================================================
--- unstable/mkvtoolnix/debian/mkvtoolnix.manpages 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/mkvtoolnix.manpages 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,4 @@
+doc/base64tool.1
+doc/mkvextract.1
+doc/mkvinfo.1
+doc/mkvmerge.1
Added: unstable/mkvtoolnix/debian/mkvtoolnix.postinst
===================================================================
--- unstable/mkvtoolnix/debian/mkvtoolnix.postinst 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/mkvtoolnix.postinst 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+set -e
+
+if test -e /usr/bin/mkvinfo && ! test -L /usr/bin/mkvinfo; then
+ echo "Error. /usr/bin/mkvinfo is not a symlink. This is a bug in "
+ echo "the mkvtoolnix package or you installed a binary in /usr/bin/mkvinfo."
+ echo "Aborting."
+ exit 1
+fi
+
+update-alternatives --install /usr/bin/mkvinfo mkvinfo /usr/bin/mkvinfo-text 30
+
+#test -e /usr/bin/mkvinfo || ln -s /etc/alternatives/mkvinfo /usr/bin
+
+#DEBHELPER#
+
+exit 0
Added: unstable/mkvtoolnix/debian/mkvtoolnix.prerm
===================================================================
--- unstable/mkvtoolnix/debian/mkvtoolnix.prerm 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/mkvtoolnix.prerm 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+set -e
+
+[ "$1" = "remove" ] || [ "$1" = "deconfigure" ] && \
+ update-alternatives --remove mkvinfo /usr/bin/mkvinfo-text
+
+#DEBHELPER#
+
+exit 0
+
Added: unstable/mkvtoolnix/debian/patches/00list
===================================================================
--- unstable/mkvtoolnix/debian/patches/00list 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/patches/00list 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1 @@
+10-manpage-error
Added: unstable/mkvtoolnix/debian/patches/00template
===================================================================
--- unstable/mkvtoolnix/debian/patches/00template 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/patches/00template 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# Dpatch template
+
+if [ $# -lt 1 ]; then
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+ -patch) patch $patch_opts -p1 < $0;;
+ -unpatch) patch $patch_opts -p1 -R < $0;;
+ *)
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1;;
+esac
+
+exit 0
Added: unstable/mkvtoolnix/debian/patches/10-look-for-help.dpatch
===================================================================
--- unstable/mkvtoolnix/debian/patches/10-look-for-help.dpatch 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/patches/10-look-for-help.dpatch 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,77 @@
+#! /bin/sh -e
+##
+## DP: Patch to look for help everywhere
+
+
+. debian/patches/00template
+
+ at DPATCH@
+--- mkvtoolnix.orig/Makefile.in (revision 3064)
++++ mkvtoolnix.orig/Makefile.in (revision 3065)
+@@ -87,7 +87,8 @@ LDFLAGS = @LDFLAGS@
+
+ CFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\"
+ CXXFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\"
+-CXXFLAGS += -DMTX_LOCALE_DIR=\"$(localedir)\"
++CXXFLAGS += -DMTX_LOCALE_DIR=\"$(localedir)\" \
++ -DMTX_PKG_DATA_DIR=\"$(pkgdatadir)\"
+
+ # Which additional stuff to compile
+ USE_WXWINDOWS = @USE_WXWINDOWS@
+@@ -136,7 +137,7 @@ HTMLHELPBOOKS = mkvmerge-gui-book
+
+ all: $(APPLICATIONS) $(TRANSLATIONS_MOS) $(HTMLHELPBOOKS)
+
+-install: install-programs install-mans install-trans
++install: install-programs install-mans install-trans install-guide
+
+ install-programs: $(APPLICATIONS)
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
+@@ -152,18 +153,29 @@ install-programs: $(APPLICATIONS)
+
+ install-mans:
+ $(mkinstalldirs) $(DESTDIR)$(man1dir)
+- for i in $(MANPAGES); do \
++ @for i in $(MANPAGES); do \
+ inst=`echo $$i | sed -e 's/^.*\///'`; \
+ echo " $(INSTALL_DATA) $$i $(DESTDIR)$(man1dir)/$$inst"; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(man1dir)/$$inst; \
+ done
+
+ install-trans:
+- for i in $(TRANSLATIONS); do \
+- echo "$(mkinstalldirs) $(DESTDIR)$(localedir)/$$i/LC_MESSAGES"; \
+- $(mkinstalldirs) $(DESTDIR)$(localedir)/$$i/LC_MESSAGES; \
+- echo "$(INSTALL_DATA) po/$$i.mo $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/mkvtoolnix.mo"; \
+- $(INSTALL_DATA) po/$$i.mo $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/mkvtoolnix.mo; \
++ @for i in $(TRANSLATIONS); do \
++ echo "$(mkinstalldirs) $(DESTDIR)$(localedir)/$$i/LC_MESSAGES"; \
++ $(mkinstalldirs) $(DESTDIR)$(localedir)/$$i/LC_MESSAGES; \
++ echo "$(INSTALL_DATA) po/$$i.mo $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/mkvtoolnix.mo"; \
++ $(INSTALL_DATA) po/$$i.mo $(DESTDIR)$(localedir)/$$i/LC_MESSAGES/mkvtoolnix.mo; \
++ done
++
++install-guide:
++ $(mkinstalldirs) $(pkgdatadir)
++ @for i in doc/mkvmerge-gui.*; do \
++ echo " $(INSTALL_DATA) $$i $(pkgdatadir)/"; \
++ $(INSTALL_DATA) $$i $(pkgdatadir)/; \
++ done
++ @for i in doc/images/*gif; do \
++ echo " $(INSTALL_DATA) $$i $(pkgdatadir)/"; \
++ $(INSTALL_DATA) $$i $(pkgdatadir)/; \
+ done
+
+ SYSTEM_INCLUDES = $(AVILIB_INCLUDES) \
+--- mkvtoolnix.orig/src/mmg/mmg.cpp (revision 3064)
++++ mkvtoolnix/src/mmg/mmg.cpp (revision 3065)
+@@ -1181,6 +1181,9 @@ mmg_dialog::on_help(wxCommandEvent &evt)
+ potential_help_paths.push_back(wxT("/usr/local/share/doc/mkvtoolnix"));
+ potential_help_paths.push_back(wxT("/usr/local/share/doc/packages/mkvtoolnix"));
+ potential_help_paths.push_back(wxT("/usr/local/share/doc/mkvtoolnix-" VERSION));
++ // New location
++ potential_help_paths.push_back(wxT(MTX_PKG_DATA_DIR));
++ potential_help_paths.push_back(wxT(MTX_PKG_DATA_DIR "-" VERSION));
+ #endif
+ if (cfg->Read(wxT("help_path"), &help_path))
+ potential_help_paths.push_back(help_path);
Added: unstable/mkvtoolnix/debian/patches/10-make-distclean.dpatch
===================================================================
--- unstable/mkvtoolnix/debian/patches/10-make-distclean.dpatch 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/patches/10-make-distclean.dpatch 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,23 @@
+#! /bin/sh -e
+##
+## DP: Patch for a formatting problem in the manpage
+
+
+. debian/patches/00template
+
+ at DPATCH@
+--- mkvtoolnix.orig/Makefile.in (revision 3065)
++++ mkvtoolnix/Makefile.in (working copy)
+@@ -246,8 +246,10 @@ clean:
+ */*.exe */*/*.exe */*/*.dll */*/*.dll.a doc/*.hhk
+
+ distclean dist-clean: clean
+- rm -f configure config.h config.h.in config.log config.cache \
+- Makefile */Makefile */*/Makefile
++ rm -f config.h config.log config.cache Makefile */Makefile */*/Makefile
++
++maintainer-clean: distclean
++ rm -f configure config.h.in
+
+ depend:
+ @echo Calculating dependecies:
Added: unstable/mkvtoolnix/debian/patches/10-manpage-error.dpatch
===================================================================
--- unstable/mkvtoolnix/debian/patches/10-manpage-error.dpatch 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/patches/10-manpage-error.dpatch 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,21 @@
+#! /bin/sh -e
+##
+## DP: Patch for a formatting problem in the manpage
+
+
+. debian/patches/00template
+
+ at DPATCH@
+--- mkvtoolnix-1.5.5.orig/doc/mkvmerge.1
++++ mkvtoolnix-1.5.5/doc/mkvmerge.1
+@@ -213,8 +213,8 @@
+ MIME type of the following attachment. Applies to the next
+ \fB\-\-attach\-file\fR or \fB\-\-attach\-file\-once\fR command.
+ A list of officially recognized MIME types can be found e.g. at
+-.UR ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types
+-<ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types>
++.UR ftp://ftp.isi.edu/in-notes/iana/assignments/ - media-types/media-types
++<ftp://ftp.isi.edu/in-notes/iana/assignments/ - media-types/media-types>
+ The MIME type is mandatory for an attachment.
+ .TP
+ \fB\-\-attach\-file\fR <\fIfile name\fR>
Property changes on: unstable/mkvtoolnix/debian/patches/10-manpage-error.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: unstable/mkvtoolnix/debian/rules
===================================================================
--- unstable/mkvtoolnix/debian/rules 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/rules 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,103 @@
+#!/usr/bin/make -f
+# Rules for mkvtoolnix based on Joey Hess's sample
+
+include /usr/share/dpatch/dpatch.make
+
+####################################################################
+# Build flags
+####################################################################
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+CONFIG_FLAGS = --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+#######################################################################
+# BUILD : Two versions: without and with GUI.
+# This impacts mmg which only exists in -GUI
+# For mkvinfo, we use an alternative
+#######################################################################
+build: patch build-stamp
+
+build-stamp:
+ dh_testdir
+
+ CFLAGS="$(CFLAGS)" ./configure $(CONFIG_FLAGS) --enable-gui
+ $(MAKE)
+ mv src/mkvinfo src/mkvinfo-gui
+ mv src/mmg/mmg src/mmg/mmg-gui
+
+ $(MAKE) distclean
+
+ CFLAGS="$(CFLAGS)" ./configure $(CONFIG_FLAGS) --disable-gui
+ $(MAKE)
+
+ touch build-stamp
+
+########################################################################
+# Other rules
+########################################################################
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ rm -f src/mkvinfo-gui
+ rm -f src/mmg/mmg-gui
+
+ -$(MAKE) clean
+ rm -f Makefile config.h
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+ rm -f config.log
+ rm -f config.status
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ $(MAKE) install prefix=$(CURDIR)/debian/tmp
+
+
+binary-indep: build install
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs -a
+ dh_installexamples
+
+ dh_install -a
+ mv debian/mkvtoolnix/usr/bin/mkvinfo debian/mkvtoolnix/usr/bin/mkvinfo-text
+ mv debian/mkvtoolnix-gui/usr/bin/mmg-gui debian/mkvtoolnix-gui/usr/bin/mmg
+ dh_installmenu
+ dh_installman
+ dh_desktop -pmkvtoolnix-gui
+
+ dh_link -pmkvtoolnix usr/share/man/man1/mkvinfo.1.gz usr/share/man/man1/mkvinfo-text.1.gz
+ dh_link -pmkvtoolnix-gui usr/share/man/man1/mkvinfo.1.gz usr/share/man/man1/mkvinfo-gui.1.gz
+
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: unstable/mkvtoolnix/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: unstable/mkvtoolnix/debian/watch
===================================================================
--- unstable/mkvtoolnix/debian/watch 2006-03-31 12:38:48 UTC (rev 14)
+++ unstable/mkvtoolnix/debian/watch 2006-03-31 18:16:03 UTC (rev 15)
@@ -0,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site Directory Pattern Version Script
+version=2
+http://www.bunkus.org/videotools/mkvtoolnix/sources mkvtoolnix-(.*)\.tar\.bz2 debian uupdate
More information about the Pkg-multimedia-commits
mailing list