r5475 - in packages/trunk/pokerth/debian: . patches

Evgeni Golov sargentd-guest at alioth.debian.org
Sat Jan 19 19:40:50 UTC 2008


Author: sargentd-guest
Date: 2008-01-19 19:40:49 +0000 (Sat, 19 Jan 2008)
New Revision: 5475

Added:
   packages/trunk/pokerth/debian/patches/02_use_dejavu_fonts.dpatch
Modified:
   packages/trunk/pokerth/debian/changelog
   packages/trunk/pokerth/debian/patches/00list
Log:
add a patch for using dejavu instead of vera

Modified: packages/trunk/pokerth/debian/changelog
===================================================================
--- packages/trunk/pokerth/debian/changelog	2008-01-19 13:17:13 UTC (rev 5474)
+++ packages/trunk/pokerth/debian/changelog	2008-01-19 19:40:49 UTC (rev 5475)
@@ -1,8 +1,10 @@
 pokerth (0.6-1-2) UNRELEASED; urgency=low
 
-  * Switch to ttf-dejavu-core (Closes: 461283)
+  * Switch to DejaVu fonts (Closes: 461283)
+    replace dependency on ttf-bitstream-vera by ttf-dejavu-core
+    add patches/02_use_dejavu_fonts.dpatch
 
- -- Evgeni Golov <sargentd at die-welt.net>  Sat, 19 Jan 2008 00:27:08 +0100
+ -- Evgeni Golov <sargentd at die-welt.net>  Sat, 19 Jan 2008 19:56:00 +0100
 
 pokerth (0.6-1-1) unstable; urgency=low
 

Modified: packages/trunk/pokerth/debian/patches/00list
===================================================================
--- packages/trunk/pokerth/debian/patches/00list	2008-01-19 13:17:13 UTC (rev 5474)
+++ packages/trunk/pokerth/debian/patches/00list	2008-01-19 19:40:49 UTC (rev 5475)
@@ -1 +1,2 @@
 01_clean_libpokerth
+02_use_dejavu_fonts

Added: packages/trunk/pokerth/debian/patches/02_use_dejavu_fonts.dpatch
===================================================================
--- packages/trunk/pokerth/debian/patches/02_use_dejavu_fonts.dpatch	                        (rev 0)
+++ packages/trunk/pokerth/debian/patches/02_use_dejavu_fonts.dpatch	2008-01-19 19:40:49 UTC (rev 5475)
@@ -0,0 +1,30 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_use_dejavu_fonts.dpatch by Evgeni Golov <sargentd at die-welt.net>
+##
+## DP: Use DejaVu-Sans instead of Bitstream Vera Sans
+
+ at DPATCH@
+
+--- pokerth.orig/src/gui/qt/mainwindow/mainwindowimpl.cpp	2007-12-18 01:22:13.000000000 +0100
++++ pokerth/src/gui/qt/mainwindow/mainwindowimpl.cpp	2008-01-19 11:31:37.000000000 +0100
+@@ -320,7 +320,7 @@
+ 		font2String = "font-family: \"Lucida Grande\";";
+ 	#else 
+ 		font1String = "font-family: \"Nimbus Sans L\";";
+-		font2String = "font-family: \"Bitstream Vera Sans\";";
++		font2String = "font-family: \"DejaVu-Sans\";";
+ 	#endif
+ 	QString textBrowserFontsize= "10";
+ 	QString cashFontSize = "10";
+
+--- pokerth.orig/src/pokerth.cpp	2007-12-18 01:22:16.000000000 +0100
++++ pokerth/src/pokerth.cpp	2008-01-19 13:14:01.000000000 +0100
+@@ -89,7 +89,7 @@
+ 	//set QApplication default font	
+ 
+ 	QFontDatabase::addApplicationFont (myAppDataPath +"fonts/n019003l.pfb");
+-	QFontDatabase::addApplicationFont (myAppDataPath +"fonts/VeraBd.ttf");	
++	QFontDatabase::addApplicationFont (myAppDataPath +"fonts/DejaVuSans-Bold.ttf");	
+ 	QFontDatabase::addApplicationFont (myAppDataPath +"fonts/c059013l.pfb");
+ 
+ #ifdef _WIN32




More information about the Pkg-games-commits mailing list