Updated debian build
This commit is contained in:
parent
55fa0c972a
commit
498df7aec0
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
medit (0.8.6-1) unstable; urgency=low
|
||||
|
||||
* New release.
|
||||
|
||||
-- Yevgen Muntyan <muntyan@tamu.edu> Thu, 12 April 2006 22:26:00 -0600
|
||||
|
||||
medit (0.8.0-1) unstable; urgency=low
|
||||
|
||||
* New release.
|
||||
|
4
debian/control
vendored
4
debian/control
vendored
@ -2,11 +2,11 @@ Source: medit
|
||||
Section: unknown
|
||||
Priority: optional
|
||||
Maintainer: Yevgen Muntyan <muntyan@tamu.edu>
|
||||
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.
|
||||
|
1
debian/dirs
vendored
1
debian/dirs
vendored
@ -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
|
||||
|
41
debian/postinst
vendored
Normal file → Executable file
41
debian/postinst
vendored
Normal file → Executable file
@ -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:
|
||||
# * <postinst> `configure' <most-recently-configured-version>
|
||||
# * <old-postinst> `abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
||||
# <new-version>
|
||||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
||||
# <failed-install-package> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# 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
|
||||
|
||||
|
||||
|
40
debian/postrm
vendored
Normal file → Executable file
40
debian/postrm
vendored
Normal file → Executable file
@ -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:
|
||||
# * <postrm> `remove'
|
||||
# * <postrm> `purge'
|
||||
# * <old-postrm> `upgrade' <new-version>
|
||||
# * <new-postrm> `failed-upgrade' <old-version>
|
||||
# * <new-postrm> `abort-install'
|
||||
# * <new-postrm> `abort-install' <old-version>
|
||||
# * <new-postrm> `abort-upgrade' <old-version>
|
||||
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
|
||||
# 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
|
||||
|
38
debian/preinst
vendored
38
debian/preinst
vendored
@ -1,38 +0,0 @@
|
||||
#! /bin/sh
|
||||
# preinst script for medit
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <new-preinst> `install'
|
||||
# * <new-preinst> `install' <old-version>
|
||||
# * <new-preinst> `upgrade' <old-version>
|
||||
# * <old-preinst> `abort-upgrade' <new-version>
|
||||
#
|
||||
# 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
|
||||
|
||||
|
37
debian/prerm
vendored
37
debian/prerm
vendored
@ -1,37 +0,0 @@
|
||||
#! /bin/sh
|
||||
# prerm script for medit
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
|
||||
set -e
|
||||
|
||||
# summary of how this script can be called:
|
||||
# * <prerm> `remove'
|
||||
# * <old-prerm> `upgrade' <new-version>
|
||||
# * <new-prerm> `failed-upgrade' <old-version>
|
||||
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
|
||||
# * <deconfigured's-prerm> `deconfigure' `in-favour'
|
||||
# <package-being-installed> <version> `removing'
|
||||
# <conflicting-package> <version>
|
||||
# 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
|
26
debian/rules
vendored
26
debian/rules
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user