From: Vitaly Repin Date: Sun, 20 Dec 2009 13:10:01 +0000 (+0200) Subject: Maemo "optification" was added X-Git-Url: http://git.maemo.org/git/?p=gnuplot;a=commitdiff_plain;h=d091defa7ab781aae06ec948b4b88069041a1591;hp=d60559662dbb745c8319d9138de700d4f60c3bed Maemo "optification" was added --- diff --git a/debian/control b/debian/control index 87e7f31..c5c4621 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: user/science Priority: optional Maintainer: Vitaly Repin Standards-Version: 4.2.6 -Build-Depends: debhelper (>= 5), libpng12-dev, libx11-dev, libxt-dev, pkg-config, texinfo (>= 4.8), tetex-bin, tetex-extra, zlib1g-dev, libgd2-noxpm-dev, dpatch, libcairo2-dev, libpango1.0-dev +Build-Depends: debhelper (>= 5), libpng12-dev, libx11-dev, libxt-dev, pkg-config, texinfo (>= 4.8), tetex-bin, tetex-extra, zlib1g-dev, libgd2-noxpm-dev, dpatch, libcairo2-dev, libpango1.0-dev, maemo-optify XB-Maemo-Display-Name: Gnuplot XSBC-Bugtracker: https://bugs.maemo.org/enter_bug.cgi?product=Gnuplot diff --git a/debian/gnuplot-doc.postinst.debhelper b/debian/gnuplot-doc.postinst.debhelper index 2c1315e..70f40b1 100644 --- a/debian/gnuplot-doc.postinst.debhelper +++ b/debian/gnuplot-doc.postinst.debhelper @@ -73,3 +73,38 @@ if [ "$1" = "configure" ]; then install-info --quiet /usr/share/info/gnuplot.info fi # End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = "configure" ]; then + install-info --quiet /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = "configure" ]; then + install-info --quiet /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = "configure" ]; then + install-info --quiet /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = "configure" ]; then + install-info --quiet /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = "configure" ]; then + install-info --quiet /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = "configure" ]; then + install-info --quiet /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = "configure" ]; then + install-info --quiet /usr/share/info/gnuplot.info +fi +# End automatically added section diff --git a/debian/gnuplot-doc.prerm.debhelper b/debian/gnuplot-doc.prerm.debhelper index 6e9e5a5..1b6b691 100644 --- a/debian/gnuplot-doc.prerm.debhelper +++ b/debian/gnuplot-doc.prerm.debhelper @@ -73,3 +73,38 @@ if [ "$1" = remove ] || [ "$1" = upgrade ]; then install-info --quiet --remove /usr/share/info/gnuplot.info fi # End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = remove ] || [ "$1" = upgrade ]; then + install-info --quiet --remove /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = remove ] || [ "$1" = upgrade ]; then + install-info --quiet --remove /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = remove ] || [ "$1" = upgrade ]; then + install-info --quiet --remove /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = remove ] || [ "$1" = upgrade ]; then + install-info --quiet --remove /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = remove ] || [ "$1" = upgrade ]; then + install-info --quiet --remove /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = remove ] || [ "$1" = upgrade ]; then + install-info --quiet --remove /usr/share/info/gnuplot.info +fi +# End automatically added section +# Automatically added by dh_installinfo +if [ "$1" = remove ] || [ "$1" = upgrade ]; then + install-info --quiet --remove /usr/share/info/gnuplot.info +fi +# End automatically added section diff --git a/debian/gnuplot-nox.postinst b/debian/gnuplot-nox.postinst index ead2f26..4a7e5f9 100644 --- a/debian/gnuplot-nox.postinst +++ b/debian/gnuplot-nox.postinst @@ -25,10 +25,10 @@ fi # also delete the eventual statoverride (if set) set +e -dpkg-statoverride --remove /usr/bin/gnuplot > /dev/null 2>&1 +dpkg-statoverride --remove /opt/maemo/usr/bin/gnuplot > /dev/null 2>&1 set -e # ... and finally reset a possibly set suid-flag -chmod 755 /usr/bin/gnuplot +chmod 755 /opt/maemo/usr/bin/gnuplot #DEBHELPER# diff --git a/debian/gnuplot-x11.postrm b/debian/gnuplot-x11.postrm index a34a697..8bd686f 100644 --- a/debian/gnuplot-x11.postrm +++ b/debian/gnuplot-x11.postrm @@ -2,7 +2,7 @@ if [ "$1" = remove ] ; then dpkg-divert --remove --package gnuplot-x11 --rename \ - --divert /usr/bin/gnuplot-nox /usr/bin/gnuplot + --divert /opt/maemo/usr/bin/gnuplot-nox /opt/maemo/usr/bin/gnuplot fi #DEBHELPER# diff --git a/debian/gnuplot-x11.preinst b/debian/gnuplot-x11.preinst index 041757e..45edae9 100644 --- a/debian/gnuplot-x11.preinst +++ b/debian/gnuplot-x11.preinst @@ -2,7 +2,7 @@ if [ "$1" = install ] || [ "$1" = upgrade ] ; then dpkg-divert --add --package gnuplot-x11 --rename \ - --divert /usr/bin/gnuplot-nox /usr/bin/gnuplot + --divert /opt/maemo/usr/bin/gnuplot-nox /opt/maemo/usr/bin/gnuplot fi #DEBHELPER# diff --git a/debian/rules b/debian/rules index d9517e3..050c0e9 100644 --- a/debian/rules +++ b/debian/rules @@ -177,7 +177,9 @@ binary-arch: build install dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a + maemo-optify dh_builddeb -a -binary: binary-indep binary-arch +binary: binary-indep binary-arch + .PHONY: build clean binary-indep binary-arch binary install