diff --git a/debian/changelog b/debian/changelog index 9c12f2f7..4c791319 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +medit (0.8.6-1) unstable; urgency=low + + * New release. + + -- Yevgen Muntyan Thu, 12 April 2006 22:26:00 -0600 + medit (0.8.0-1) unstable; urgency=low * New release. diff --git a/debian/control b/debian/control index 620d0fcc..595525ac 100644 --- a/debian/control +++ b/debian/control @@ -2,11 +2,11 @@ Source: medit Section: unknown Priority: optional Maintainer: Yevgen Muntyan -Build-Depends: debhelper (>= 4.0.0), autotools-dev, libgtk2.0-dev, libxml2-dev, python-gtk2-dev +Build-Depends: debhelper (>= 4.0.0), autotools-dev, libgtk2.0-dev, libxml2-dev, python-gtk2-dev, libpcre3 (>= 6.7) Standards-Version: 3.6.2 Package: medit Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, libpcre3 (>= 6.7) Description: Text editor medit is a text editor. diff --git a/debian/dirs b/debian/dirs index 47a0aed9..448e8660 100644 --- a/debian/dirs +++ b/debian/dirs @@ -6,4 +6,5 @@ usr/share/applications usr/share/locale usr/share/moo usr/share/pixmaps +usr/share/mime usr/share/icons/hicolor/48x48/apps diff --git a/debian/postinst b/debian/postinst old mode 100644 new mode 100755 index 526f2f24..1584d217 --- a/debian/postinst +++ b/debian/postinst @@ -1,42 +1,19 @@ -#! /bin/sh -# postinst script for medit -# -# see: dh_installdeb(1) - +#!/bin/sh set -e -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# - case "$1" in - configure) - + configure) ;; - - abort-upgrade|abort-remove|abort-deconfigure) - + abort-upgrade|abort-remove|abort-deconfigure) ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 ;; esac -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. +if [ -x "`which gtk-update-icon-cache 2>/dev/null`" ]; then + gtk-update-icon-cache /usr/share/icons/hicolor +fi #DEBHELPER# - -exit 0 - - diff --git a/debian/postrm b/debian/postrm old mode 100644 new mode 100755 index fdf99311..471fb3a4 --- a/debian/postrm +++ b/debian/postrm @@ -1,38 +1,16 @@ -#! /bin/sh -# postrm script for medit -# -# see: dh_installdeb(1) - +#!/bin/sh set -e -# summary of how this script can be called: -# * `remove' -# * `purge' -# * `upgrade' -# * `failed-upgrade' -# * `abort-install' -# * `abort-install' -# * `abort-upgrade' -# * `disappear' overwrit>r> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - - - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 esac -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. +if [ -x "`which gtk-update-icon-cache 2>/dev/null`" ]; then + gtk-update-icon-cache /usr/share/icons/hicolor +fi #DEBHELPER# - -exit 0 diff --git a/debian/preinst b/debian/preinst deleted file mode 100644 index bf7434d3..00000000 --- a/debian/preinst +++ /dev/null @@ -1,38 +0,0 @@ -#! /bin/sh -# preinst script for medit -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `install' -# * `install' -# * `upgrade' -# * `abort-upgrade' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - install|upgrade) - ;; - - abort-upgrade) - ;; - - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff --git a/debian/prerm b/debian/prerm deleted file mode 100644 index 96fe92ce..00000000 --- a/debian/prerm +++ /dev/null @@ -1,37 +0,0 @@ -#! /bin/sh -# prerm script for medit -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - -case "$1" in - remove|upgrade|deconfigure) - rm -f /usr/share/moo/*.pyc /usr/share/moo/*.pyc - ;; - failed-upgrade) - rm -f /usr/share/moo/*.pyc /usr/share/moo/*.pyc - ;; - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/rules b/debian/rules index aaaf37bd..0b4c5bf2 100755 --- a/debian/rules +++ b/debian/rules @@ -26,8 +26,7 @@ endif config.status: configure dh_testdir - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr - + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --enable-python build: build-stamp @@ -50,7 +49,6 @@ ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif - dh_clean install: build @@ -61,7 +59,14 @@ install: build # Add here commands to install the package into debian/medit. $(MAKE) install DESTDIR=$(CURDIR)/debian/medit - + rm -f $(CURDIR)/debian/medit/usr/share/icons/hicolor/icon-theme.cache + rm -f $(CURDIR)/debian/medit/usr/share/mime/aliases + rm -f $(CURDIR)/debian/medit/usr/share/mime/globs + rm -f $(CURDIR)/debian/medit/usr/share/mime/magic + rm -f $(CURDIR)/debian/medit/usr/share/mime/mime.cache + rm -f $(CURDIR)/debian/medit/usr/share/mime/XMLnamespaces + rm -f $(CURDIR)/debian/medit/usr/share/mime/subclasses + rm -fr $(CURDIR)/debian/medit/usr/share/mime/text/ # Build architecture-independent files here. binary-indep: build install @@ -73,24 +78,15 @@ binary-arch: build install dh_testroot # dh_installchangelogs ChangeLog dh_installdocs - dh_installexamples dh_install dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installinfo + dh_installmime dh_installman dh_link dh_strip dh_compress dh_fixperms -# dh_perl - dh_python + dh_python /usr/lib/moo dh_makeshlibs dh_installdeb dh_shlibdeps