[higan] 07/16: Remove stuff related to building higan in multiple profiles.

Tobias Hansen thansen at moszumanska.debian.org
Tue Feb 14 00:01:11 UTC 2017


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

thansen pushed a commit to branch master
in repository higan.

commit ee4e0f35dd34bd233ca3483e7c47bae8c3dc550e
Author: Tobias Hansen <thansen at debian.org>
Date:   Mon Feb 13 22:00:02 2017 +0000

    Remove stuff related to building higan in multiple profiles.
---
 debian/higan-accuracy.6        | 12 ------------
 debian/higan-balanced.6        | 12 ------------
 debian/higan-performance.6     | 12 ------------
 debian/higan.install           |  4 +---
 debian/higan.lintian-overrides |  3 ---
 debian/higan.manpages          |  3 ---
 debian/higan.postinst          | 14 --------------
 debian/higan.preinst           |  2 +-
 debian/higan.prerm             |  9 ---------
 debian/rules                   | 14 +-------------
 10 files changed, 3 insertions(+), 82 deletions(-)

diff --git a/debian/higan-accuracy.6 b/debian/higan-accuracy.6
deleted file mode 100644
index 77daa0e..0000000
--- a/debian/higan-accuracy.6
+++ /dev/null
@@ -1,12 +0,0 @@
-.TH higan\-accuracy 6 "October 8, 2013"
-.SH NAME
-higan\-accuracy \- Accurate Nintendo multi-system emulator (accuracy profile)
-.SH SYNOPSIS
-.B higan\-accuracy
-
-.SH SEE ALSO
-
-\fBhigan\fR(6), /usr/share/doc/higan/higan_user_guide.html
-
-.SH MAN PAGE AUTHOR
-Tobias Hansen
diff --git a/debian/higan-balanced.6 b/debian/higan-balanced.6
deleted file mode 100644
index a3c204b..0000000
--- a/debian/higan-balanced.6
+++ /dev/null
@@ -1,12 +0,0 @@
-.TH higan\-balanced 6 "October 8, 2013"
-.SH NAME
-higan\-balanced \- Accurate Nintendo multi-system emulator (balanced profile)
-.SH SYNOPSIS
-.B higan\-balanced
-
-.SH SEE ALSO
-
-\fBhigan\fR(6), /usr/share/doc/higan/higan_user_guide.html
-
-.SH MAN PAGE AUTHOR
-Tobias Hansen
diff --git a/debian/higan-performance.6 b/debian/higan-performance.6
deleted file mode 100644
index 9193883..0000000
--- a/debian/higan-performance.6
+++ /dev/null
@@ -1,12 +0,0 @@
-.TH higan\-performance 6 "October 8, 2013"
-.SH NAME
-higan\-performance \- Accurate Nintendo multi-system emulator (performance profile)
-.SH SYNOPSIS
-.B higan\-performance
-
-.SH SEE ALSO
-
-\fBhigan\fR(6), /usr/share/doc/higan/higan_user_guide.html
-
-.SH MAN PAGE AUTHOR
-Tobias Hansen
diff --git a/debian/higan.install b/debian/higan.install
index 70040bb..c46cb51 100644
--- a/debian/higan.install
+++ b/debian/higan.install
@@ -1,4 +1,2 @@
-higan/out/higan-balanced usr/bin
-higan/out/higan-accuracy usr/bin
-higan/out/higan-performance usr/bin
+higan/out/higan usr/bin
 icarus/out/icarus usr/bin
diff --git a/debian/higan.lintian-overrides b/debian/higan.lintian-overrides
index 08c5d34..5d2da87 100644
--- a/debian/higan.lintian-overrides
+++ b/debian/higan.lintian-overrides
@@ -1,6 +1,3 @@
-# False positive. The command higan is created via alternatives system.
-higan: desktop-command-not-in-package
-
 # fortify breaks higan on architectures where libco/sjlj.c is used
 # so it is disabled there.
 higan: hardening-no-fortify-functions
diff --git a/debian/higan.manpages b/debian/higan.manpages
index 5d999c5..9ab3ec4 100644
--- a/debian/higan.manpages
+++ b/debian/higan.manpages
@@ -1,5 +1,2 @@
 debian/higan.6
-debian/higan-accuracy.6
-debian/higan-balanced.6
-debian/higan-performance.6
 debian/icarus.6
diff --git a/debian/higan.postinst b/debian/higan.postinst
deleted file mode 100644
index e42b6a2..0000000
--- a/debian/higan.postinst
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -e
-
-update-alternatives --install /usr/bin/higan higan /usr/bin/higan-balanced 70
-update-alternatives --install /usr/bin/higan higan /usr/bin/higan-accuracy 40
-update-alternatives --install /usr/bin/higan higan /usr/bin/higan-performance 40
-
-# GNOME checks new .desktop files and only adds them to the menu if
-# the command exists. Now it exists so trigger a new check by GNOME.
-mv /usr/share/applications/higan.desktop /usr/share/applications/higan
-mv /usr/share/applications/higan /usr/share/applications/higan.desktop
-
-#DEBHELPER#
diff --git a/debian/higan.preinst b/debian/higan.preinst
index 0439c64..19d3d2a 100644
--- a/debian/higan.preinst
+++ b/debian/higan.preinst
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 if [ "$1" = "upgrade" ]; then
-  if dpkg --compare-versions "$2" le "093-1"; then
+  if dpkg --compare-versions "$2" le "099"; then
     set +e
     update-alternatives --remove-all higan
     set -e
diff --git a/debian/higan.prerm b/debian/higan.prerm
deleted file mode 100644
index 7148a0f..0000000
--- a/debian/higan.prerm
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" != "upgrade" ]; then
-    update-alternatives --remove-all higan
-fi
-
-#DEBHELPER#
diff --git a/debian/rules b/debian/rules
index 2d84e75..b7e73e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,19 +17,7 @@ override_dh_auto_build:
 	mkdir -p icarus/obj icarus/out
 	$(MAKE) --directory=icarus
 	mkdir -p higan/obj higan/out
-	dh_auto_build -- profile=balanced name=higan-balanced
-# Allow for building higan only once when testing stuff with the build option testbuild.
-ifeq (,$(findstring testbuild,$(DEB_BUILD_OPTIONS)))
-	rm -rf higan/obj
-	mkdir -p higan/obj
-	dh_auto_build -- profile=accuracy name=higan-accuracy
-	rm -rf higan/obj
-	mkdir -p higan/obj
-	dh_auto_build -- profile=performance name=higan-performance
-else
-	cp higan/out/higan-balanced higan/out/higan-accuracy
-	cp higan/out/higan-balanced higan/out/higan-performance
-endif
+	dh_auto_build
 
 override_dh_auto_install:
 	install -D -m 644 higan/data/higan.png debian/higan/usr/share/pixmaps/higan.png

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



More information about the Pkg-games-commits mailing list