On Sun, 18 Oct 2009 20:05:55 +0200, Jakob Bohm wrote:

> /etc/defoma/hints/t1-betecna.hints tells the rest of Debian to
> look for the installed fonts in
> /usr/share/fonts/truetype/ttf-beteckna/, but they are actually
> installed in /usr/share/fonts/truetype/beteckna/ .  Furthermore,
> the font variants BetecknaSmallCaps.ttf and Beteckna.ttf are
> listed in this hints file even though ther are not actually
> included in the package.

The situation with 0.4 is a bit different: the hints file doesn't get
installed at all, and there are even less *.ttf files in the package;
I'm not sure if on purpose or by accident.

I'm attaching a debdiff which probably improves the situation, but
I'd appreciate some comments from someone understanding defoma and
TTFs before I do an NMU.

Cheers,
gregor, from the Munich BSP

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    BOFH excuse #159:  Stubborn processes 
diff -u ttf-beteckna-0.4/debian/changelog ttf-beteckna-0.4/debian/changelog
--- ttf-beteckna-0.4/debian/changelog
+++ ttf-beteckna-0.4/debian/changelog
@@ -1,3 +1,14 @@
+ttf-beteckna (0.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "Hints do not match the installed files" by applying patch by Jakob
+    Bohm, adjusted for the 0.4 release (closes: #551506).
+  * Install hints file by calling dh_installdefoma in debian/rules.
+  * debian/rules: clean up targets and dependencies, running the build once is
+    enough.
+
+ -- gregor herrmann <gre...@debian.org>  Sat, 28 Nov 2009 16:06:09 +0100
+
 ttf-beteckna (0.4-1) unstable; urgency=low
 
   * New upstream version. (Closes: #520503, #520497)
diff -u ttf-beteckna-0.4/debian/rules ttf-beteckna-0.4/debian/rules
--- ttf-beteckna-0.4/debian/rules
+++ ttf-beteckna-0.4/debian/rules
@@ -3,7 +3,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-build:
+# build:
 #	fontforge sfd2condensed.ff BetecknaLowerCase.sfd
 #	fontforge sfd2italic.ff BetecknaLowerCase.sfd
 #	fontforge sfd2bold.ff BetecknaLowerCase.sfd
@@ -15,12 +15,11 @@
 #	fontforge sfd2otf.ff *.sfd
 #	defoma-hints -c --no-question truetype *.ttf > debian/defoma-hints
 #	sed -i s,/path/to,/usr/share/fonts/truetype/ttf-beteckna,g debian/defoma-hints
-	./sfd2all.sh BetecknaLowerCase
 
 build: build-stamp
-
 build-stamp:
 	dh_testdir
+	./sfd2all.sh BetecknaLowerCase
 	touch $@
 
 clean:
@@ -44,6 +43,7 @@
 	dh_installchangelogs
 	dh_installdocs
 	dh_install
+	dh_installdefoma
 	dh_compress
 	dh_fixperms
 	dh_installdeb
diff -u ttf-beteckna-0.4/debian/defoma-hints ttf-beteckna-0.4/debian/defoma-hints
--- ttf-beteckna-0.4/debian/defoma-hints
+++ ttf-beteckna-0.4/debian/defoma-hints
@@ -1,5 +1,5 @@
 category truetype
-begin /usr/share/fonts/truetype/ttf-beteckna/BetecknaLowerCaseBoldCondensed.ttf
+begin /usr/share/fonts/truetype/beteckna/BetecknaLowerCaseBoldCondensed.ttf
   Family = BetecknaLowerCaseBoldCondensed
   FontName = BetecknaLowerCaseBoldCondensed-BoldCondensed
   Encoding = Unicode
@@ -11,7 +11,7 @@
   Shape = Normal Upright
   Priority = 20
 end
-begin /usr/share/fonts/truetype/ttf-beteckna/BetecknaLowerCaseBold.ttf
+begin /usr/share/fonts/truetype/beteckna/BetecknaLowerCaseBold.ttf
   Family = BetecknaLowerCaseBold
   FontName = BetecknaLowerCaseBold-Bold
   Encoding = Unicode
@@ -23,19 +23,7 @@
   Shape = Normal Upright
   Priority = 20
 end
-begin /usr/share/fonts/truetype/ttf-beteckna/BetecknaLowerCaseCondensed.ttf
-  Family = BetecknaLowerCaseCondensed
-  FontName = BetecknaLowerCaseCondensed-Condensed
-  Encoding = Unicode
-  Location = English
-  Charset = ISO8859-1
-  GeneralFamily = Roman
-  Weight = Medium
-  Width = Variable
-  Shape = Upright Condensed
-  Priority = 20
-end
-begin /usr/share/fonts/truetype/ttf-beteckna/BetecknaLowerCaseItalicCondensed.ttf
+begin /usr/share/fonts/truetype/beteckna/BetecknaLowerCaseItalicCondensed.ttf
   Family = BetecknaLowerCaseItalicCondensed
   FontName = BetecknaLowerCaseItalicCondensed-ItalicCondensed
   Encoding = Unicode
@@ -47,7 +35,7 @@
   Shape = Normal Italic
   Priority = 20
 end
-begin /usr/share/fonts/truetype/ttf-beteckna/BetecknaLowerCaseItalic.ttf
+begin /usr/share/fonts/truetype/beteckna/BetecknaLowerCaseItalic.ttf
   Family = BetecknaLowerCaseItalic
   FontName = BetecknaLowerCaseItalic-Italic
   Encoding = Unicode
@@ -59,31 +47,7 @@
   Shape = Normal Italic
   Priority = 20
 end
-begin /usr/share/fonts/truetype/ttf-beteckna/BetecknaLowerCaseLightCondensed.ttf
-  Family = BetecknaLowerCaseLightCondensed
-  FontName = BetecknaLowerCaseLightCondensed-LightCondensed
-  Encoding = Unicode
-  Location = English
-  Charset = ISO8859-1
-  GeneralFamily = Roman
-  Weight = Light
-  Width = Variable
-  Shape = Normal Upright
-  Priority = 20
-end
-begin /usr/share/fonts/truetype/ttf-beteckna/BetecknaLowerCaseLight.ttf
-  Family = BetecknaLowerCaseLight
-  FontName = BetecknaLowerCaseLight-Light
-  Encoding = Unicode
-  Location = English
-  Charset = ISO8859-1
-  GeneralFamily = Roman
-  Weight = Light
-  Width = Variable
-  Shape = Normal Upright
-  Priority = 20
-end
-begin /usr/share/fonts/truetype/ttf-beteckna/BetecknaLowerCase.ttf
+begin /usr/share/fonts/truetype/beteckna/BetecknaLowerCase.ttf
   Family = BetecknaLowerCase
   FontName = BetecknaLowerCase-Medium
   Encoding = Unicode
@@ -98,24 +61,0 @@
-begin /usr/share/fonts/truetype/ttf-beteckna/BetecknaSmallCaps.ttf
-  Family = Beteckna
-  FontName = Beteckna-SmallCaps
-  Encoding = Unicode
-  Location = English
-  Charset = ISO8859-1
-  GeneralFamily = Roman
-  Weight = Medium
-  Width = Variable
-  Shape = Normal Upright
-  Priority = 20
-end
-begin /usr/share/fonts/truetype/ttf-beteckna/Beteckna.ttf
-  Family = Beteckna
-  FontName = Beteckna-Medium
-  Encoding = Unicode
-  Location = English
-  Charset = ISO8859-1
-  GeneralFamily = Roman
-  Weight = Medium
-  Width = Variable
-  Shape = Normal Upright
-  Priority = 20
-end

Attachment: signature.asc
Description: Digital signature

Reply via email to