diff options
author | salo <salo> | 2004-01-01 20:06:11 +0000 |
---|---|---|
committer | salo <salo> | 2004-01-01 20:06:11 +0000 |
commit | f4a287f67f7d7486b67469ed9cdb06d4d2caac74 (patch) | |
tree | 65ae287ea1ba01d1cfd910531c09e2613fad2c43 /x11/xfstt/patches | |
parent | c2d3d82fc46c939d297340661b384d2051050306 (diff) | |
download | pkgsrc-f4a287f67f7d7486b67469ed9cdb06d4d2caac74.tar.gz |
Update to version 1.6.
- correct usage of PREFIX in MESSAGE
- sort PLIST
Changes:
1.6:
====
- Fixed ttSyncAll only looking at fontdir subdirectories
- Added more robust checking for cachedir
- Removed a constant path size limitation (for the Hurd)
- Fixed a typo in "syncing"
- Minor indentation fixes
- Started the transition to using C++ strings
- Changed the libfstt API:
Fixed multiple memory leakages
The member getString doesn't need the conversion buffer anymore
- Fixed the output format of --gslist
1.5.1:
======
- Fixed a possible security problem by checking the byteorder magic in
the connection handshake:
bugtraq id 8255
1.5:
====
- Fixed multiple buffer overflows in the network packet handling code:
CAN-2003-0581
- New encoding: iso8859-14
- Moved hardcoded dir locations to configure space
- Mkdir the fontdir and cachedir in the make install target
- Improve error messages when cachedir does not exist
- Remove --gslist dependency on order of arguments
- Replaced dprintfN with a debug function
- Cleaned the debugging output
- Indentation and minor source cosmetic changes
- Updated to gettext 0.12.1, version 0.11.5 was buggy
- Added a System V init file example
- Cleaned the examples in doc/examples: font.properties, test.sh
- Updated the documentation: doc/FAQ, INSTALL, THANKS, TODO, xfstt.1x
Diffstat (limited to 'x11/xfstt/patches')
-rw-r--r-- | x11/xfstt/patches/patch-aa | 38 | ||||
-rw-r--r-- | x11/xfstt/patches/patch-ab | 8 | ||||
-rw-r--r-- | x11/xfstt/patches/patch-ac | 22 |
3 files changed, 36 insertions, 32 deletions
diff --git a/x11/xfstt/patches/patch-aa b/x11/xfstt/patches/patch-aa index 2ad6bda108f..7f00e9dce47 100644 --- a/x11/xfstt/patches/patch-aa +++ b/x11/xfstt/patches/patch-aa @@ -1,40 +1,42 @@ -$NetBSD: patch-aa,v 1.3 2003/02/22 13:33:31 salo Exp $ +$NetBSD: patch-aa,v 1.4 2004/01/01 20:06:11 salo Exp $ ---- doc/FAQ.orig 2002-11-14 13:08:07.000000000 +0100 -+++ doc/FAQ 2003-02-22 12:34:43.000000000 +0100 -@@ -67,7 +67,8 @@ +--- doc/FAQ.orig 2003-08-07 08:59:03.000000000 +0200 ++++ doc/FAQ 2004-01-01 20:44:46.000000000 +0100 +@@ -68,8 +68,8 @@ 1.1 How do I test it? -- mkdir /usr/share/fonts/truetype and put some *ttf fonts there, now run +- mkdir /usr/share/fonts/truetype and put some *ttf fonts there, now +- run: + mkdir @PREFIX@/lib/X11/fonts/TrueType and put some *ttf fonts -+ there, now run ++ there, now run: make xfstt && make install xfstt --sync -@@ -171,9 +172,11 @@ +@@ -175,11 +175,11 @@ 2.4 How does one add fonts? -- Copy *.ttf fonts into the /usr/share/fonts/truetype/ directory or put some -- softlinks to font directories in there. A typical example is -- ln -s /DOS/windows/fonts /usr/share/fonts/truetype/winfonts +- Copy *.ttf fonts into the /usr/share/fonts/truetype/ directory or +- put some softlinks to font directories in there. A typical example +- is: + Copy *.ttf fonts into the @PREFIX@/lib/X11/fonts/TrueType/ -+ directory or put some softlinks to font directories in there. -+ A typical example is -+ -+ ln -s /DOS/windows/fonts @PREFIX@/lib/X11/fonts/TrueType/winfonts ++ directory or put some softlinks to font directories in there. ++ A typical example is: + +- ln -s /DOS/windows/fonts /usr/share/fonts/truetype/winfonts ++ ln -s /DOS/windows/fonts @PREFIX@/lib/X11/fonts/TrueType/winfonts Now run "xfstt --sync" in order to have the new fonts recognized. Adding fonts while xfstt is running doesn't work yet. -@@ -346,8 +349,8 @@ +@@ -358,8 +358,8 @@ - 3.0 How do I put fonts in categories? + 3.0 How do I put fonts in categories? - Create some subdirectories in /usr/share/fonts/truetype, e.g. - modern, script, brush, old, symbol, ... + Create some subdirectories in @PREFIX@/lib/X11/fonts/TrueType, -+ e.g. modern, script, brush, old, symbol, ... ++ e.g. modern, script, brush, old, symbol, ... and put the appropriate fonts in there. The corresponding font - names will be -modern-*, -script-*, -brush-* and so on + names will be -modern-*, -script-*, -brush-* and so on. diff --git a/x11/xfstt/patches/patch-ab b/x11/xfstt/patches/patch-ab index 5a6fb5a0377..0c8d2ff2c14 100644 --- a/x11/xfstt/patches/patch-ab +++ b/x11/xfstt/patches/patch-ab @@ -1,10 +1,10 @@ -$NetBSD: patch-ab,v 1.3 2003/02/22 13:33:32 salo Exp $ +$NetBSD: patch-ab,v 1.4 2004/01/01 20:06:11 salo Exp $ ---- doc/examples/font.properties.orig 2002-11-14 13:08:07.000000000 +0100 -+++ doc/examples/font.properties 2003-02-22 12:35:41.000000000 +0100 +--- doc/examples/font.properties.orig 2003-04-07 05:59:16.000000000 +0200 ++++ doc/examples/font.properties 2004-01-01 20:46:52.000000000 +0100 @@ -1,5 +1,4 @@ # awt font properties for X11 with xfstt --# copy to /usr/local/java/lib/font.properties +-# copy to $(JAVA_HOME)/lib/font.properties dialog.plain.0 = -*-arial-medium-r-normal--*-%d-*-*-p-*-iso8859-1 dialog.italic.0 = -*-arial-medium-i-normal--*-%d-*-*-p-*-iso8859-1 diff --git a/x11/xfstt/patches/patch-ac b/x11/xfstt/patches/patch-ac index 79cb90526cf..b694828804e 100644 --- a/x11/xfstt/patches/patch-ac +++ b/x11/xfstt/patches/patch-ac @@ -1,13 +1,15 @@ -$NetBSD: patch-ac,v 1.3 2003/02/22 13:33:32 salo Exp $ +$NetBSD: patch-ac,v 1.4 2004/01/01 20:06:11 salo Exp $ ---- src/perftest.cc.orig 2002-11-14 13:08:09.000000000 +0100 -+++ src/perftest.cc 2003-02-22 10:39:47.000000000 +0100 -@@ -21,7 +21,7 @@ - * - */ +--- src/Makefile.in.orig 2003-08-07 08:58:28.000000000 +0200 ++++ src/Makefile.in 2004-01-01 20:51:39.000000000 +0100 +@@ -163,8 +163,8 @@ + target_alias = @target_alias@ --#define TTFONTDIR "/usr/share/fonts/truetype" -+#define TTFONTDIR "@PREFIX@/lib/X11/fonts/TrueType" - #define MAXFONTBUFSIZE (2048*2048) + localedir = $(datadir)/locale +-fontdir = $(datadir)/fonts/truetype +-cachedir = $(localstatedir)/cache/xfstt ++fontdir = $(prefix)/lib/X11/fonts/TrueType ++cachedir = $(prefix)/lib/X11/fonts/TrueType + pidfile = $(localstatedir)/run/xfstt.pid - #include "ttf.h" + LDADD = @LIBINTL@ -L$(top_srcdir)/libfstt -lfstt |