tags 528142 + patch
thank you
Hi,
Here is a patch that works for me. The fix is directly applied so
obviously you will need to add a patch system if you want to do it "right".
Thanks,
Barry deFreese
Debian QA
diff -u gamgi-0.13.10/debian/changelog gamgi-0.13.10/debian/changelog
--- gamgi-0.13.10/debian/changelog
+++ gamgi-0.13.10/debian/changelog
@@ -1,3 +1,10 @@
+gamgi (0.13.10-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Test build with ttf-dejavu instead of ttf-bitstream-vera.
+
+ -- Barry deFreese <[email protected]> Mon, 11 May 2009 12:39:04 -0400
+
gamgi (0.13.10-1) unstable; urgency=low
* New upstream release
diff -u gamgi-0.13.10/debian/control gamgi-0.13.10/debian/control
--- gamgi-0.13.10/debian/control
+++ gamgi-0.13.10/debian/control
@@ -15,7 +15,7 @@
Package: gamgi
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, ttf-bitstream-vera
+Depends: ${misc:Depends}, ${shlibs:Depends}, ttf-dejavu
Suggests: gamgi-doc, gamgi-data
Description: construct, view and analyse atomic structures
Gamgi provides a graphic interface to build and analyse atomic
diff -u gamgi-0.13.10/debian/gamgi.sh gamgi-0.13.10/debian/gamgi.sh
--- gamgi-0.13.10/debian/gamgi.sh
+++ gamgi-0.13.10/debian/gamgi.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-export GAMGI_TEXT=/usr/share/fonts/truetype/ttf-bitstream-vera
+export GAMGI_TEXT=/usr/share/fonts/truetype/ttf-dejavu
export BROWSER=/usr/bin/sensible-browser
export GAMGI_HELP=/usr/share/doc/gamgi-doc/doc
only in patch2:
unchanged:
--- gamgi-0.13.10.orig/src/io/gamgi_io.h
+++ gamgi-0.13.10/src/io/gamgi_io.h
@@ -229,18 +229,18 @@
* Truetype fonts: default path and filenames *
**********************************************/
-#define GAMGI_IO_PATH_TRUETYPE "/usr/X11/lib/X11/fonts/truetype/"
+#define GAMGI_IO_PATH_TRUETYPE "/usr/share/fonts/truetype/ttf-dejavu"
-#define GAMGI_IO_FILENAME_VERA_SANS "Vera.ttf"
-#define GAMGI_IO_FILENAME_VERA_SANS_BOLD "VeraBd.ttf"
-#define GAMGI_IO_FILENAME_VERA_SANS_ITALIC "VeraIt.ttf"
-#define GAMGI_IO_FILENAME_VERA_SANS_BOLD_ITALIC "VeraBI.ttf"
-#define GAMGI_IO_FILENAME_VERA_SERIF "VeraSe.ttf"
-#define GAMGI_IO_FILENAME_VERA_SERIF_BOLD "VeraSeBd.ttf"
-#define GAMGI_IO_FILENAME_VERA_MONO "VeraMono.ttf"
-#define GAMGI_IO_FILENAME_VERA_MONO_BOLD "VeraMoBd.ttf"
-#define GAMGI_IO_FILENAME_VERA_MONO_ITALIC "VeraMoIt.ttf"
-#define GAMGI_IO_FILENAME_VERA_MONO_BOLD_ITALIC "VeraMoBI.ttf"
+#define GAMGI_IO_FILENAME_VERA_SANS "DejaVuSans.ttf"
+#define GAMGI_IO_FILENAME_VERA_SANS_BOLD "DejaVuSans-Bold.ttf"
+#define GAMGI_IO_FILENAME_VERA_SANS_ITALIC "DejaVuSans-Oblique.ttf"
+#define GAMGI_IO_FILENAME_VERA_SANS_BOLD_ITALIC "DejaVuSans-BoldOblique.ttf"
+#define GAMGI_IO_FILENAME_VERA_SERIF "DejaVuSerif.ttf"
+#define GAMGI_IO_FILENAME_VERA_SERIF_BOLD "DejaVuSerif-Bold.ttf"
+#define GAMGI_IO_FILENAME_VERA_MONO "DejaVuSansMono.ttf"
+#define GAMGI_IO_FILENAME_VERA_MONO_BOLD "DejaVuSansMono-Bold.ttf"
+#define GAMGI_IO_FILENAME_VERA_MONO_ITALIC "DejaVuSansMono-Oblique.ttf"
+#define GAMGI_IO_FILENAME_VERA_MONO_BOLD_ITALIC
"DejaVuSansMono-BoldOblique.ttf"
/*******************************
* Size of the font arrays *