X Strike Force X.Org X11 SVN commit: r1429 - branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian
Author: dnusinow
Date: 2006-03-12 10:44:05 -0500 (Sun, 12 Mar 2006)
New Revision: 1429
Added:
branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/xfonts-scalable.postinst.in
branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/xfonts-scalable.postrm.in
Modified:
branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/rules
Log:
Add font-specific packaging taken from other font packages
Modified: branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/rules
===================================================================
--- branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/rules 2006-03-12 15:39:38 UTC (rev 1428)
+++ branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/rules 2006-03-12 15:44:05 UTC (rev 1429)
@@ -32,7 +32,7 @@
endif
-build: build-stamp
+build: genscripts build-stamp
build-stamp:
dh_testdir
@@ -45,7 +45,7 @@
touch build-stamp
-clean:
+clean: xsfclean
dh_testdir
dh_testroot
rm -f build-stamp
Added: branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/xfonts-scalable.postinst.in
===================================================================
--- branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/xfonts-scalable.postinst.in 2006-03-12 15:39:38 UTC (rev 1428)
+++ branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/xfonts-scalable.postinst.in 2006-03-12 15:44:05 UTC (rev 1429)
@@ -0,0 +1,25 @@
+#!/bin/sh
+# Debian xfonts-scalable package post-installation script
+# Copyright 1998-2001 Branden Robinson.
+# Licensed under the GNU General Public License, version 2. See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+# $Id$
+
+set -e
+
+THIS_PACKAGE=xfonts-scalable
+THIS_SCRIPT=postinst
+
+#INCLUDE_SHELL_LIB#
+
+#DEBHELPER#
+
+FONTDIRS="Type1"
+UPDATECMDS="update-fonts-dir update-fonts-alias"
+font_update
+
+exit 0
+
+# vim:ai:et:sts=2:sw=2:tw=0:
Added: branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/xfonts-scalable.postrm.in
===================================================================
--- branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/xfonts-scalable.postrm.in 2006-03-12 15:39:38 UTC (rev 1428)
+++ branches/modular/font/font-bitstream-type1-X11R7.0-1.0.0/debian/xfonts-scalable.postrm.in 2006-03-12 15:44:05 UTC (rev 1429)
@@ -0,0 +1,33 @@
+#!/bin/sh
+# Debian xfonts-scalable package post-removal script
+# Copyright 1998-2001, 2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2. See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+# $Id$
+
+set -e
+
+THIS_PACKAGE=xfonts-scalable
+THIS_SCRIPT=postrm
+
+#INCLUDE_SHELL_LIB#
+
+#DEBHELPER#
+
+if [ "$1" = "purge" ] || [ "$1" = "remove" ] || [ "$1" = "disappear" ]; then
+ FONTDIRS="Type1"
+ UPDATECMDS="update-fonts-dir update-fonts-alias"
+ font_update
+fi
+
+if [ "$1" = "purge" ]; then
+ for DIR in /etc/X11/fonts/Type1 /etc/X11/fonts /etc/X11; do
+ rmdir $DIR 2> /dev/null || true
+ done
+fi
+
+exit 0
+
+# vim:ai:et:sts=2:sw=2:tw=0:
Reply to: