fonts install in non-standard directory

Bug #3255 reported by Seth Hasani
16
Affects Status Importance Assigned to Milestone
xfonts-artwiz (Ubuntu)
Fix Released
Medium
MOTU Reviewers Team

Bug Description

this package installs fonts under /usr/X11R6/lib/fonts which breaks policy. package contains lintian override for this however the default install does not register the font with fontconfig (provided bitmapped fonts are enabled) without user intervention.

Changes made:
* fixed package to install to /usr/share/X11/fonts/misc
* deleted debian/*.lintian to clear unneccessary overrides
* cleaned up empty directories
* added debian/xfonts-artwiz.postinst to run fc-cache
* updated policy version to 3.6.2

==========================================================

$ zcat ../xfonts-artwiz_1.3-2.1.diff.gz

--- xfonts-artwiz-1.3.orig/debian/control
+++ xfonts-artwiz-1.3/debian/control
@@ -0,0 +1,51 @@
+Source: xfonts-artwiz
+Section: x11
+Priority: optional
+Maintainer: A Lee <email address hidden>
+Build-Depends-Indep: debhelper (>> 3.0.0), xutils, bzip2
+Standards-Version: 3.6.2
+
+Package: xfonts-artwiz
+Architecture: all
+Depends: xutils (>> 4.0.3)
+Suggests: artwiz-cursor, xserver | xfs
+Conflicts: xfonts-gimpers, artwiz-cursor (<= 2.7)
+Replaces: xfonts-gimpers
+Description: x11 fonts created by Artwiz, TigerT, and Daniel Erat
+ Small futuristic fonts for X. This package contains
+ .
+ Anorexia (9x11 variable width),
+ Aqui (12x13 variable width),
+ Cure (6x10 fixed width),
+ Drift (6x11 fixed width),
+ Edges (5x10 fixed width),
+ Fkp (8x16 fixed width),
+ Gelly (9x10 variable width),
+ Glisp-bold (10x11 variable width),
+ Glisp (9x11 variable width),
+ Kates (7x14 fixed width),
+ Lime (5x10 fixed width),
+ Mints-mild (9x9 variable width),
+ Mints-strong (9x9 variable width),
+ Nu (7x9 variable width),
+ Smoothansi (6x13 fixed width) and
+ Snap (9x10 variable width) by Artwiz,
+ .
+ Runt (5x10 fixed width) and
+ Smooth (6x13 fixed width) by Daniel Erat,
+ .
+ Tixus (5x10 fixed width) by TigerT.
+
+Package: artwiz-cursor
+Architecture: all
+Depends: xutils (>> 4.0.3)
+Suggests: xfonts-artwiz, xserver | xfs
+Conflicts: big-cursor, xfonts-artwiz (<< 2.0)
+Description: artwiz futuristic mouse cursor for x11
+ Artwiz fonts are small futuristic ASCII and mouse cursor fonts for X.
+ This package only contains artwiz mouse cursor font.
+ Install xfonts-artwiz package for various artwiz fonts for X.
+ .
+ This package does not contain a x-cursor-theme. This package contains
+ a bdf font that replaces X's core cursor font. Do not install this
+ package if you want x-cursor-theme.
--- xfonts-artwiz-1.3.orig/debian/xfonts-artwiz.postinst
+++ xfonts-artwiz-1.3/debian/xfonts-artwiz.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+#DEBHELPER#
+
+if [ "$1" = configure -a -x /usr/bin/fc-cache ]; then
+ echo -n "Regenerating fonts cache... "
+ HOME=/root fc-cache -f -v 1>/var/log/fontconfig.log 2>&1 || \
+ (echo "failed; see /var/log/fontconfig.log for more information."; \
+ exit 1)
+ echo "done."
+fi
--- xfonts-artwiz-1.3.orig/debian/rules
+++ xfonts-artwiz-1.3/debian/rules
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+export DH_COMPAT=3
+
+build:
+ dh_testdir
+
+clean:
+ dh_testdir
+ dh_testroot
+ -rm -rf upstream/artwiz upstream/artwiz-aleczapka-en-sources-1.3 upstream/artwiz-aleczapka-de-sources-1.3 upstream/artwiz-aleczapka-se-sources-1.3 upstream/artwiz_ru
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ cd $(CURDIR)/upstream && tar -xvjf artwiz_src.tar.bz2 && cd artwiz && \
+ for font in *.bdf; do \
+ bdftopcf $${font} | \
+ gzip > $(CURDIR)/debian/xfonts-artwiz/usr/share/X11/fonts/misc/$${font%.bdf}.pcf.gz; \
+ done
+ cd $(CURDIR)/upstream && tar -xvjf artwiz-aleczapka-en-sources-1.3.tar.bz2 && cd artwiz-aleczapka-en-sources-1.3 && \
+ install -m644 fonts.alias $(CURDIR)/debian/xfonts-artwiz/etc/X11/fonts/misc/xfonts-artwiz.alias && \
+ for font in *.bdf; do \
+ bdftopcf $${font} | \
+ gzip > $(CURDIR)/debian/xfonts-artwiz/usr/share/X11/fonts/misc/$${font%.bdf}.pcf.gz; \
+ done
+ cd $(CURDIR)/upstream && tar -xvjf artwiz-aleczapka-de-sources-1.3.tar.bz2 && cd artwiz-aleczapka-de-sources-1.3 && \
+ for font in *.bdf; do \
+ bdftopcf $${font} | \
+ gzip > $(CURDIR)/debian/xfonts-artwiz/usr/share/X11/fonts/misc/$${font%.bdf}.pcf.gz; \
+ done
+ cd $(CURDIR)/upstream && tar -xvjf artwiz-aleczapka-se-sources-1.3.tar.bz2 && cd artwiz-aleczapka-se-sources-1.3 && \
+ for font in *.bdf; do \
+ bdftopcf $${font} | \
+ gzip > $(CURDIR)/debian/xfonts-artwiz/usr/share/X11/fonts/misc/$${font%.bdf}.pcf.gz; \
+ done
+ cd $(CURDIR)/upstream && tar -xvjf artwiz_ru_src.tar.bz2 && cd artwiz_ru && \
+ for font in *.bdf; do \
+ ./ucs2any.pl +d $${font} maps/koi8-r.enc koi8-r > /dev/null 2>&1; \
+ ./ucs2any.pl +d $${font} maps/cp1251.enc microsoft-cp1251 > /dev/null 2>&1; \
+ bdftopcf $${font%.bdf}-koi8-r.bdf | \
+ gzip > $(CURDIR)/debian/xfonts-artwiz/usr/share/X11/fonts/misc/$${font%.bdf}-koi8-r.pcf.gz; \
+ bdftopcf $${font%.bdf}-microsoft-cp1251.bdf | \
+ gzip > $(CURDIR)/debian/xfonts-artwiz/usr/share/X11/fonts/misc/$${font%.bdf}-microsoft-cp1251.pcf.gz; \
+ done
+ mv $(CURDIR)/debian/xfonts-artwiz/usr/share/X11/fonts/misc/cursor.pcf.gz \
+ $(CURDIR)/debian/artwiz-cursor/usr/share/X11/fonts/misc/artwiz-cursor.pcf.gz
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir -i
+ dh_testroot -i
+ dh_installdocs -i
+ dh_installchangelogs -i
+ dh_installxfonts -i
+ dh_link -i
+ dh_strip -i
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_shlibdeps -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- xfonts-artwiz-1.3.orig/debian/artwiz-cursor.postrm
+++ xfonts-artwiz-1.3/debian/artwiz-cursor.postrm
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+# Divert the regular cursor back into place now that our version is gone.
+if [ "$1" = remove ]; then
+ dpkg-divert --package artwiz-cursor --remove --rename --divert \
+ /usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz-artwiz \
+ /usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz
+fi
+
+#DEBHELPER#
--- xfonts-artwiz-1.3.orig/debian/changelog
+++ xfonts-artwiz-1.3/debian/changelog
@@ -0,0 +1,153 @@
+xfonts-artwiz (1:1.3-2.1) unstable; urgency=low
+
+ * NMU to fix font install location
+ * moved font location from /usr/X11R6/lib/fonts to /usr/share/X11/fonts
+ * updated policy
+ * added debian/xfonts-artwiz.postinst to run fc-cache
+ * made lintian clean without overrides
+ * cleaned up empty directories
+
+ -- Seth Hasani <email address hidden> Mon, 17 Oct 2005 03:11:19 -0400
+
+xfonts-artwiz (1:1.3-2) unstable; urgency=low
+
+ * Fix Missing build dependency. Closes:#291259. Closes:#291201.
+
+ -- A Lee <email address hidden> Thu, 20 Jan 2005 11:30:48 +0900
+
+xfonts-artwiz (1:1.3-1) unstable; urgency=low
+
+ * Add german and swedish encodnig.
+ * Fix Cyrillic support of anorexia and snap. Closes:#289649.
+ * Add a comment about x-cursor-theme to artwiz-cursor package's
+ description. Closes:#280599.
+
+ -- A Lee <email address hidden> Sat, 15 Jan 2005 11:06:07 +0900
+
+xfonts-artwiz (2.8) unstable; urgency=low
+
+ * Fix wrong diversion. Closes:#271479.
+ * Add update-alternatives --set x-cursor-theme command to preinst.
+
+ -- A Lee <email address hidden> Mon, 13 Sep 2004 21:32:06 +0900
+
+xfonts-artwiz (2.7) unstable; urgency=low
+
+ * Add Russian Cyrillic support to anorexia and snap. Closes:#264580.
+
+ -- A Lee <email address hidden> Mon, 23 Aug 2004 15:16:48 +0900
+
+xfonts-artwiz (2.6) unstable; urgency=low
+
+ * Fix to work with fontconfig. Closes:#244283.
+
+ -- A Lee <email address hidden> Sun, 23 May 2004 20:01:51 +0900
+
+xfonts-artwiz (2.5) unstable; urgency=low
+
+ * Merge with xfonts-gimpers package (add runt, smooth and tixus).
+
+ -- A Lee <email address hidden> Tue, 18 Feb 2003 14:06:34 +0900
+
+xfonts-artwiz (2.4) unstable; urgency=low
+
+ * Remove debian/xfonts-artwiz.preinst. Closes:#153715.
+
+ -- A Lee <email address hidden> Sun, 21 Jul 2002 15:01:14 +0900
+
+xfonts-artwiz (2.3) unstable; urgency=low
+
+ * Fix another typo error. Closes:#152467.
+ * artwiz-cursor.postrm removes broken link. Closes:#153131.
+ * xfonts-artwiz does not use dpkg-devert. Closes:#152781.
+
+ -- A Lee <email address hidden> Wed, 10 Jul 2002 09:28:23 +0900
+
+xfonts-artwiz (2.2) unstable; urgency=low
+
+ * Fix a typo error. Closes:#152467.
+ Thanks to Carlos Valdivia Yague <email address hidden>.
+
+ -- A Lee <email address hidden> Wed, 10 Jul 2002 09:28:23 +0900
+
+xfonts-artwiz (2.1) unstable; urgency=low
+
+ * Remove font preview URL from description. Closes:#152337.
+
+ -- A Lee <email address hidden> Tue, 9 Jul 2002 13:05:54 +0900
+
+xfonts-artwiz (2.0) unstable; urgency=low
+
+ * Separate mouse cursor to artwiz-cursor package. Closes:#150686.
+
+ -- A Lee <email address hidden> Tue, 2 Jul 2002 14:58:52 +0900
+
+xfonts-artwiz (1.9) unstable; urgency=low
+
+ * Add spanish template. Closes:#151519.
+
+ -- A Lee <email address hidden> Tue, 2 Jul 2002 14:58:52 +0900
+
+xfonts-artwiz (1.8) unstable; urgency=low
+
+ * Fix some wrong FONT_ASCENT and FONT_DESCENT.
+ Thanks to Theo Wribe <email address hidden>.
+
+ -- A Lee <email address hidden> Sun, 12 May 2002 15:48:28 +0900
+
+xfonts-artwiz (1.7) unstable; urgency=low
+
+ * Fix some wrong font names.
+ * Fix ugly mints-mild and mints-strong fonts.
+ Thanks to Theo Wribe <email address hidden>.
+
+ -- A Lee <email address hidden> Sat, 11 May 2002 09:13:43 +0900
+
+xfonts-artwiz (1.6) unstable; urgency=low
+
+ * xfonts-artwiz conflicts with big-cursor. Closes: #146471.
+ * Fix resize-upwards cursor. Thanks to Erich Schubert <email address hidden>.
+
+ -- A Lee <email address hidden> Fri, 10 May 2002 18:32:02 +0900
+
+xfonts-artwiz (1.5) unstable; urgency=low
+
+ * Add additional fonts. Closes: #143881.
+ Thanks to Matt Hope <email address hidden>.
+
+ -- A Lee <email address hidden> Mon, 6 May 2002 15:50:50 +0900
+
+xfonts-artwiz (1.4) unstable; urgency=low
+
+ * Add font aliases. Closes: #126887.
+
+ -- A Lee <email address hidden> Tue, 1 Jan 2002 15:04:17 +0900
+
+xfonts-artwiz (1.3) unstable; urgency=low
+
+ * Fix a spelling error in description. Closes: #125536.
+
+ -- A Lee <email address hidden> Tue, 18 Dec 2001 10:56:31 +0900
+
+xfonts-artwiz (1.2) unstable; urgency=low
+
+ * Change the charset infomations to iso646.1991-irv. Closes: #120431.
+ * Convert PCF files to BDF format in source package. Closes: #120430.
+
+ -- A Lee <email address hidden> Wed, 21 Nov 2001 14:21:44 +0900
+
+xfonts-artwiz (1.1) unstable; urgency=low
+
+ * Add preview URL. Closes: #120074.
+
+ -- A Lee <email address hidden> Mon, 19 Nov 2001 09:15:37 +0900
+
+xfonts-artwiz (1.0) unstable; urgency=low
+
+ * Initial Release. Closes: #117986.
+
+ -- A Lee <email address hidden> Fri, 2 Nov 2001 12:48:00 +0900
+
+Local variables:
+mode: debian-changelog
+End:
--- xfonts-artwiz-1.3.orig/debian/xfonts-artwiz.dirs
+++ xfonts-artwiz-1.3/debian/xfonts-artwiz.dirs
@@ -0,0 +1,2 @@
+usr/share/X11/fonts/misc/
+etc/X11/fonts/misc/
--- xfonts-artwiz-1.3.orig/debian/artwiz-cursor.preinst
+++ xfonts-artwiz-1.3/debian/artwiz-cursor.preinst
@@ -0,0 +1,16 @@
+#!/bin/sh
+set -e
+
+# Divert the regular cursor font out of the way, so our font is used
+# instead. This has to happen before update-font-dir, which is why it's in
+# the preinst here; if this package and xfonts-base are installed at the
+# same time, it needs to run before that package is unpacked.
+if [ "$1" = install -o "$1" = upgrade ]; then
+ dpkg-divert --package artwiz-cursor --add --rename --divert \
+ /usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz-artwiz \
+ /usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz
+
+ update-alternatives --set x-cursor-theme /etc/X11/cursors/core.theme
+fi
+
+#DEBHELPER#
--- xfonts-artwiz-1.3.orig/debian/artwiz-cursor.dirs
+++ xfonts-artwiz-1.3/debian/artwiz-cursor.dirs
@@ -0,0 +1 @@
+usr/share/X11/fonts/misc/
--- xfonts-artwiz-1.3.orig/debian/copyright
+++ xfonts-artwiz-1.3/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by A Lee <email address hidden> on
+Fri, 28 Sep 2001 21:53:43 +0900.
+
+runt.pcf.gz, smooth.pcf.gz and tixus.bdf are downloaded from
+http://hadess.net/debian/perso and all other fonts are downloaded from
+http://artwiz.artramp.org/index.phtml?section=art_fonts
+
+Updated version of artwiz fonts are downloaded from
+http://sourceforge.net/project/showfiles.php?group_id=95348.
+
+Cyrrilized versions of artwiz fonts are downloaded from
+http://dev.gentoo.org/~sergey/artwiz.html
+
+Copyright:
+
+* runt.pcf.gz and smooth.pcf.gz is made by Daniel Erat <email address hidden>
+ and Public Domain
+
+* tixus.bdf is made by TigerT, aka Tuomas Kuosmanen <email address hidden>
+ (modified by Bastien Nocera <email address hidden> for euro sign) and available
+ under the GNU General Public License.
+
+* all the other fonts are by ArtWiz, aka Youngjin Hahn <email address hidden>
+ and updated by Oliwier Ptak <email address hidden>. The original artwiz fonts are
+ licensed under the Ziwtra B00gie License (ZBL) and updated version is licensed
+ under the GNU General Public License Version 2.
+
+ On Debian systems, the complete text of the GNU General Public
+ Licence can be found in the /usr/share/common-licenses/GPL file.

Revision history for this message
Seth Hasani (sepheebear) wrote :
Download full text (12.7 KiB)

* added package bdftopcf to build-depends. (clean breezy install didnt have it)

========================================================

$ zcat ../xfonts-artwiz_1.3-2.2.diff.gz

--- xfonts-artwiz-1.3.orig/debian/control
+++ xfonts-artwiz-1.3/debian/control
@@ -0,0 +1,51 @@
+Source: xfonts-artwiz
+Section: x11
+Priority: optional
+Maintainer: A Lee <email address hidden>
+Build-Depends-Indep: debhelper (>> 3.0.0), xutils, bzip2, bdftopcf
+Standards-Version: 3.6.2
+
+Package: xfonts-artwiz
+Architecture: all
+Depends: xutils (>> 4.0.3)
+Suggests: artwiz-cursor, xserver | xfs
+Conflicts: xfonts-gimpers, artwiz-cursor (<= 2.7)
+Replaces: xfonts-gimpers
+Description: x11 fonts created by Artwiz, TigerT, and Daniel Erat
+ Small futuristic fonts for X. This package contains
+ .
+ Anorexia (9x11 variable width),
+ Aqui (12x13 variable width),
+ Cure (6x10 fixed width),
+ Drift (6x11 fixed width),
+ Edges (5x10 fixed width),
+ Fkp (8x16 fixed width),
+ Gelly (9x10 variable width),
+ Glisp-bold (10x11 variable width),
+ Glisp (9x11 variable width),
+ Kates (7x14 fixed width),
+ Lime (5x10 fixed width),
+ Mints-mild (9x9 variable width),
+ Mints-strong (9x9 variable width),
+ Nu (7x9 variable width),
+ Smoothansi (6x13 fixed width) and
+ Snap (9x10 variable width) by Artwiz,
+ .
+ Runt (5x10 fixed width) and
+ Smooth (6x13 fixed width) by Daniel Erat,
+ .
+ Tixus (5x10 fixed width) by TigerT.
+
+Package: artwiz-cursor
+Architecture: all
+Depends: xutils (>> 4.0.3)
+Suggests: xfonts-artwiz, xserver | xfs
+Conflicts: big-cursor, xfonts-artwiz (<< 2.0)
+Description: artwiz futuristic mouse cursor for x11
+ Artwiz fonts are small futuristic ASCII and mouse cursor fonts for X.
+ This package only contains artwiz mouse cursor font.
+ Install xfonts-artwiz package for various artwiz fonts for X.
+ .
+ This package does not contain a x-cursor-theme. This package contains
+ a bdf font that replaces X's core cursor font. Do not install this
+ package if you want x-cursor-theme.
--- xfonts-artwiz-1.3.orig/debian/xfonts-artwiz.postinst
+++ xfonts-artwiz-1.3/debian/xfonts-artwiz.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+#DEBHELPER#
+
+if [ "$1" = configure -a -x /usr/bin/fc-cache ]; then
+ echo -n "Regenerating fonts cache... "
+ HOME=/root fc-cache -f -v 1>/var/log/fontconfig.log 2>&1 || \
+ (echo "failed; see /var/log/fontconfig.log for more information."; \
+ exit 1)
+ echo "done."
+fi
--- xfonts-artwiz-1.3.orig/debian/rules
+++ xfonts-artwiz-1.3/debian/rules
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+export DH_COMPAT=3
+
+build:
+ dh_testdir
+
+clean:
+ dh_testdir
+ dh_testroot
+ -rm -rf upstream/artwiz upstream/artwiz-aleczapka-en-sources-1.3 upstream/artwiz-aleczapka-de-sources-1.3 upstream/artwiz-aleczapka-se-sources-1.3 upstream/artwiz_ru
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ cd $(CURDIR)/upstream && tar -xvjf artwiz_src.tar.bz2 && cd artwiz && \
+ for font in *.bdf; do \
+ bdftopcf $${font} | \
+ gzip > $(CURDIR)/debian/xfonts-artwiz/usr/share/X11/fonts/misc/$${font%.bdf}.pcf.gz; \
+ done
+ cd $(CURDIR)/upstream && tar -xvjf artwiz-aleczapka-en-sources-1.3.tar....

Revision history for this message
Seth Hasani (sepheebear) wrote :
Download full text (13.0 KiB)

* update fixed diversions in debian/artwiz-cursor.preinst and debian/artwiz-cursor to reflect new location of cursor fonts

====================================================================

$ zcat ../xfonts-artwiz_1.3-2.3.diff.gz

--- xfonts-artwiz-1.3.orig/debian/control
+++ xfonts-artwiz-1.3/debian/control
@@ -0,0 +1,51 @@
+Source: xfonts-artwiz
+Section: x11
+Priority: optional
+Maintainer: A Lee <email address hidden>
+Build-Depends-Indep: debhelper (>> 3.0.0), xutils, bzip2, bdftopcf
+Standards-Version: 3.6.2
+
+Package: xfonts-artwiz
+Architecture: all
+Depends: xutils (>> 4.0.3)
+Suggests: artwiz-cursor, xserver | xfs
+Conflicts: xfonts-gimpers, artwiz-cursor (<= 2.7)
+Replaces: xfonts-gimpers
+Description: x11 fonts created by Artwiz, TigerT, and Daniel Erat
+ Small futuristic fonts for X. This package contains
+ .
+ Anorexia (9x11 variable width),
+ Aqui (12x13 variable width),
+ Cure (6x10 fixed width),
+ Drift (6x11 fixed width),
+ Edges (5x10 fixed width),
+ Fkp (8x16 fixed width),
+ Gelly (9x10 variable width),
+ Glisp-bold (10x11 variable width),
+ Glisp (9x11 variable width),
+ Kates (7x14 fixed width),
+ Lime (5x10 fixed width),
+ Mints-mild (9x9 variable width),
+ Mints-strong (9x9 variable width),
+ Nu (7x9 variable width),
+ Smoothansi (6x13 fixed width) and
+ Snap (9x10 variable width) by Artwiz,
+ .
+ Runt (5x10 fixed width) and
+ Smooth (6x13 fixed width) by Daniel Erat,
+ .
+ Tixus (5x10 fixed width) by TigerT.
+
+Package: artwiz-cursor
+Architecture: all
+Depends: xutils (>> 4.0.3)
+Suggests: xfonts-artwiz, xserver | xfs
+Conflicts: big-cursor, xfonts-artwiz (<< 2.0)
+Description: artwiz futuristic mouse cursor for x11
+ Artwiz fonts are small futuristic ASCII and mouse cursor fonts for X.
+ This package only contains artwiz mouse cursor font.
+ Install xfonts-artwiz package for various artwiz fonts for X.
+ .
+ This package does not contain a x-cursor-theme. This package contains
+ a bdf font that replaces X's core cursor font. Do not install this
+ package if you want x-cursor-theme.
--- xfonts-artwiz-1.3.orig/debian/xfonts-artwiz.postinst
+++ xfonts-artwiz-1.3/debian/xfonts-artwiz.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+#DEBHELPER#
+
+if [ "$1" = configure -a -x /usr/bin/fc-cache ]; then
+ echo -n "Regenerating fonts cache... "
+ HOME=/root fc-cache -f -v 1>/var/log/fontconfig.log 2>&1 || \
+ (echo "failed; see /var/log/fontconfig.log for more information."; \
+ exit 1)
+ echo "done."
+fi
--- xfonts-artwiz-1.3.orig/debian/rules
+++ xfonts-artwiz-1.3/debian/rules
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+export DH_COMPAT=3
+
+build:
+ dh_testdir
+
+clean:
+ dh_testdir
+ dh_testroot
+ -rm -rf upstream/artwiz upstream/artwiz-aleczapka-en-sources-1.3 upstream/artwiz-aleczapka-de-sources-1.3 upstream/artwiz-aleczapka-se-sources-1.3 upstream/artwiz_ru
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ cd $(CURDIR)/upstream && tar -xvjf artwiz_src.tar.bz2 && cd artwiz && \
+ for font in *.bdf; do \
+ bdftopcf $${font} | \
+ gzip > $(CURDIR)/debian/xfonts-artwiz/usr/share/X11/fonts/misc/$${font%.bdf}.pcf.gz; \
+ done
+ cd $(CURDIR)/ups...

Revision history for this message
Seth Hasani (sepheebear) wrote :

Sorry guys for spamming the bugreport. Here's the debdiff. Thanks ajmitch and dholbach.

$ debdiff ../xfonts-artwiz_1.3-2.dsc ../xfonts-artwiz_1.3-2.3.dsc > ../xfonts-artwiz-dirpatch.diff

Changed in xfonts-artwiz:
assignee: nobody → motu
Revision history for this message
Seth Hasani (sepheebear) wrote :

Love the fonts, hate the cursor!

Updated debian/artwiz-cursor.postrm to replace Ubuntu default cursor (/usr/share/themes/Human/cursor.theme) upon package removal, instead of reverting to /etc/X11/cursors/core.theme

$ debdiff ../xfonts-artwiz_1.3-2.dsc ../xfonts-artwiz_1.3-2.4.dsc > ../xfonts-artwiz-dirpatch-1.3-2.4.diff

Revision history for this message
Yann Rouillard (yann-pleiades) wrote :

You should change bug status to "fix commited" and assign it to MOTU reviewers.

Zak B. Elep (zakame)
Changed in xfonts-artwiz:
assignee: motu → motureviewers
status: Unconfirmed → In Progress
Revision history for this message
Alexandre Otto Strube (surak) wrote :

Seth, this bug needs some love from you :-)

Revision history for this message
Zak B. Elep (zakame) wrote :

Hi! Seth, thanks for the love! =)

You still need to do some things however. your debian/changelog needs polish, as your updates to it still refer to the wrong distribution ('s/unstable/Dapper/g'). You also need to change the version to 1:1.3-2ubuntu1 instead of honoring Debian's NMU versioning policy. You could do this all in one fell swoop with `dch -v 1:1.3-2ubuntu1 -D dapper`. ;-)

Thanks again,

Revision history for this message
Barry deFreese (bddebian) wrote :

Cleaned up changelog entry and uploaded. Thanks for your contributions!

Changed in xfonts-artwiz:
status: In Progress → Fix Committed
Revision history for this message
Barry deFreese (bddebian) wrote :

I forgot to mention. Please watch for this and update as Fix Released if everything builds fine. Thanks again.

Changed in xfonts-artwiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.