Bug#355449: ttf-farsiweb: Please build a udeb with fonts needed by the graphical installer
Package: ttf-farsiweb
Version: 0.4-2
Severity: wishlist
Tags: patch
Arash, the attached patch will allow building a udeb package suitable for
the use of the graphical installer. It will include the nazli and nazlib
fonts.
This patch assumes you will first switch to cdbs to simplify the build system
as I suggested in another bug report.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages ttf-farsiweb depends on:
ii defoma 0.11.8-0.1 Debian Font Manager -- automatic f
ttf-farsiweb recommends no packages.
-- no debconf information
diff -Nru ttf-farsiweb-0.4/debian/control ttf-farsiweb-0.4.new/debian/control
--- ttf-farsiweb-0.4/debian/control 2006-03-05 16:32:44.656146120 +0100
+++ ttf-farsiweb-0.4.new/debian/control 2006-03-05 19:04:30.012462039 +0100
@@ -12,3 +12,9 @@
The first standard set of Unicode Persian fonts ever published, including
Titr, Nazli, Nazli Bold, and Homa.
+Package: ttf-farsiweb-udeb
+XC-Package-Type: udeb
+Section: debian-installer
+Provides: ttf-installer
+Architecture: all
+Description: Farsiweb TrueType fonts for the graphical installer
diff -Nru ttf-farsiweb-0.4/debian/rules ttf-farsiweb-0.4.new/debian/rules
--- ttf-farsiweb-0.4/debian/rules 2006-03-05 16:25:42.505322800 +0100
+++ ttf-farsiweb-0.4.new/debian/rules 2006-03-05 19:06:20.376147341 +0100
@@ -2,5 +2,8 @@
include /usr/share/cdbs/1/rules/debhelper.mk
+# hack to make the udeb be name all.udeb and not $ARCH.udeb
+DEB_ARCH=all
+
install/ttf-farsiweb::
dh_installdefoma
diff -Nru ttf-farsiweb-0.4/debian/ttf-farsiweb-udeb.install ttf-farsiweb-0.4.new/debian/ttf-farsiweb-udeb.install
--- ttf-farsiweb-0.4/debian/ttf-farsiweb-udeb.install 1970-01-01 01:00:00.000000000 +0100
+++ ttf-farsiweb-0.4.new/debian/ttf-farsiweb-udeb.install 2006-03-05 19:05:37.934730743 +0100
@@ -0,0 +1,2 @@
+nazli.ttf usr/share/fonts/truetype/ttf-farsiweb
+nazlib.ttf usr/share/fonts/truetype/ttf-farsiweb
Reply to: