[mupen64plus] 173/262: Don't install files which aren't used by us

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:59:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecsv-guest pushed a commit to branch master
in repository mupen64plus.

commit db83bc1f283b9004ccfcf6889fd5f7d7fa8d0e97
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Sun Apr 11 11:41:15 2010 +0200

    Don't install files which aren't used by us
---
 debian/changelog                           |  2 ++
 debian/patches/dont-install-unneeded.patch | 30 ++++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 debian/rules                               |  2 +-
 4 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c25d7b9..2a3fb3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ mupen64plus (1.5+dfsg1-9) UNRELEASED; urgency=low
   * debian/patches:
     - Add ftbfs-gvariant-type-conflicts.path, Fix FTBFS due to glib's gvariant.h
       type definitions (Closes: #577329)
+    - Add dont-install-unneeded.patch, Don't install files which aren't used by
+      us
   * debian/rules:
     - Enable parallel builds using dh's --parallel
     - Inform about missing installed files using dh's --list-missing
diff --git a/debian/patches/dont-install-unneeded.patch b/debian/patches/dont-install-unneeded.patch
new file mode 100644
index 0000000..d477a1b
--- /dev/null
+++ b/debian/patches/dont-install-unneeded.patch
@@ -0,0 +1,30 @@
+Description: Don't install files which aren't used by us
+Forwarded: not-needed
+Author: Sven Eckelmann <sven.eckelmann at gmx.de>
+
+---
+diff --git a/install.sh b/install.sh
+index ab40d76b9a2d2e42ef567223d6eaed59ce10d276..bb323b2078e17532f66161bebecf2c0d7c3f1e9d 100755
+--- a/install.sh
++++ b/install.sh
+@@ -70,9 +70,8 @@ $INSTALL -d -v "${SHAREDIR}/config"
+ $INSTALL -m 0644 config/* "${SHAREDIR}/config"
+ $INSTALL -m 0644 mupen64plus.ini "${SHAREDIR}/"
+ $INSTALL -d -v "${SHAREDIR}/doc"
+-$INSTALL -m 0644 doc/* "${SHAREDIR}/doc"
+-$INSTALL -d -v "${SHAREDIR}/fonts"
+-$INSTALL -m 0644 fonts/* "${SHAREDIR}/fonts"
++$INSTALL -m 0644 doc/*.h "${SHAREDIR}/doc"
++$INSTALL -m 0644 doc/HiRezTexture.txt "${SHAREDIR}/doc"
+ $INSTALL -d -v "${SHAREDIR}/icons"
+ $INSTALL -m 0644 icons/*.png "${SHAREDIR}/icons"
+ $INSTALL -d -v "${SHAREDIR}/icons/32x32"
+@@ -84,8 +83,6 @@ $INSTALL -m 0644 icons/16x16/* "${SHAREDIR}/icons/16x16"
+ $INSTALL -d -v "${SHAREDIR}/lang"
+ $INSTALL -m 0644 lang/* "${SHAREDIR}/lang"
+ $INSTALL $GINSTALLFLAG -m 0755 mupen64plus "${BINDIR}/mupen64plus"
+-$INSTALL -d -v "${MANDIR}"
+-$INSTALL -m 0644 doc/mupen64plus.1.gz "${MANDIR}"
+ $INSTALL -d -v "${LIBDIR}"
+ if [ -f mupen64plus.desktop ]
+ then
diff --git a/debian/patches/series b/debian/patches/series
index 1ee8aa8..0f3bc3e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -36,3 +36,4 @@ osd-pause-crash.patch
 system-liblzma.patch
 rice_fog.patch
 ftbfs-gvariant-type-conflicts.path
+dont-install-unneeded.patch
diff --git a/debian/rules b/debian/rules
index c1abb12..2c7dd9e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,7 @@ override_dh_auto_build:
 override_dh_auto_install:
 	dh_auto_install -- $(MAKEOPTIONS)
 	mkdir -p $(CURDIR)/debian/tmp/usr/share/man/man1/
-	zcat $(CURDIR)/debian/tmp/usr/man/man1/mupen64plus.1.gz|gzip -9 -n > \
+	zcat $(CURDIR)/doc/mupen64plus.1.gz|gzip -9 -n > \
 	     $(CURDIR)/debian/tmp/usr/share/man/man1/mupen64plus.1.gz
 
 override_dh_strip:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus.git



More information about the Pkg-games-commits mailing list