summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-04-27 11:53:28 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-04-27 11:53:28 +0000
commit512500240bf6d33a8ef08091f4c084cb146aec2a (patch)
tree66c7c62e72ad94cb80ba7008be6b5ba76554bd72 /media-libs/fontconfig/files
parentstupid manifest (diff)
downloadhistorical-512500240bf6d33a8ef08091f4c084cb146aec2a.tar.gz
historical-512500240bf6d33a8ef08091f4c084cb146aec2a.tar.bz2
historical-512500240bf6d33a8ef08091f4c084cb146aec2a.zip
add some patches
Diffstat (limited to 'media-libs/fontconfig/files')
-rw-r--r--media-libs/fontconfig/files/digest-fontconfig-2.2.0-r11
-rw-r--r--media-libs/fontconfig/files/patch/fontconfig-2.2-blacklist.patch54
-rw-r--r--media-libs/fontconfig/files/patch/fontconfig-2.2-defaultconfig.patch110
3 files changed, 165 insertions, 0 deletions
diff --git a/media-libs/fontconfig/files/digest-fontconfig-2.2.0-r1 b/media-libs/fontconfig/files/digest-fontconfig-2.2.0-r1
new file mode 100644
index 000000000000..8660f2779997
--- /dev/null
+++ b/media-libs/fontconfig/files/digest-fontconfig-2.2.0-r1
@@ -0,0 +1 @@
+MD5 cf0ce6c87e5d6362e9ebc8d94a45fdc4 fontconfig-2.2.0.tar.gz 612758
diff --git a/media-libs/fontconfig/files/patch/fontconfig-2.2-blacklist.patch b/media-libs/fontconfig/files/patch/fontconfig-2.2-blacklist.patch
new file mode 100644
index 000000000000..bd181c33bdf3
--- /dev/null
+++ b/media-libs/fontconfig/files/patch/fontconfig-2.2-blacklist.patch
@@ -0,0 +1,54 @@
+--- fontconfig/src/fcdir.c.blacklist Mon Aug 26 15:57:40 2002
++++ fontconfig/src/fcdir.c Fri Aug 30 14:59:05 2002
+@@ -150,6 +150,41 @@
+ return ret;
+ }
+
++static FcBool
++FcBlackListed (const char *name)
++{
++ static const char * const black_listed_names[] = {
++ "bodt.ttf",
++ "hrger.pfa",
++ "hrgrr.pfa",
++ "hritr.pfa",
++ "hrpld.pfa",
++ "hrpldi.pfa",
++ "hrplt.pfa",
++ "hrplti.pfa",
++ "hrscc.pfa",
++ "hrscs.pfa",
++ "u003043t.gsf",
++ "u004006t.gsf"
++ };
++
++ int low = 0;
++ int high = sizeof(black_listed_names) / sizeof(black_listed_names[0]) - 1;
++
++ while (low <= high) {
++ int mid = (low + high) / 2;
++ int res = strcmp (name, black_listed_names[mid]);
++ if (res == 0)
++ return FcTrue;
++ else if (res < 0)
++ high = mid - 1;
++ else
++ low = mid + 1;
++ }
++
++ return FcFalse;
++}
++
+ #define FC_MAX_FILE_LEN 4096
+
+ FcBool
+@@ -201,7 +235,8 @@
+ }
+ while (ret && (e = readdir (d)))
+ {
+- if (e->d_name[0] != '.' && strlen (e->d_name) < FC_MAX_FILE_LEN)
++ if (e->d_name[0] != '.' && strlen (e->d_name) < FC_MAX_FILE_LEN &&
++ !FcBlackListed (e->d_name))
+ {
+ strcpy ((char *) base, (char *) e->d_name);
+ ret = FcFileScan (set, dirs, cache, blanks, file, force);
diff --git a/media-libs/fontconfig/files/patch/fontconfig-2.2-defaultconfig.patch b/media-libs/fontconfig/files/patch/fontconfig-2.2-defaultconfig.patch
new file mode 100644
index 000000000000..7c00840edfe2
--- /dev/null
+++ b/media-libs/fontconfig/files/patch/fontconfig-2.2-defaultconfig.patch
@@ -0,0 +1,110 @@
+--- fontconfig-2.1.94/fonts.conf.in.defaultconfig 2003-04-17 18:34:08.000000000 +0200
++++ fontconfig-2.1.94/fonts.conf.in 2003-04-17 18:43:12.000000000 +0200
+@@ -265,41 +265,99 @@
+ <family>serif</family>
+ <prefer>
+ <family>Bitstream Vera Serif</family>
+- <family>Times New Roman</family>
+ <family>Nimbus Roman No9 L</family>
+ <family>Luxi Serif</family>
+- <family>Times</family>
++ <family>Tomas</family>
++ <family>Artsounk</family>
++ <family>BPG UTF8 M</family>
++ <family>Phaisarn</family>
++ <family>Phaisarn98</family>
++ <family>Norasi</family>
++ <family>Times-Hebrew</family>
++ <family>Dror</family>
++ <family>JG LaoTimes</family>
++ <family>Saysettha Unicode</family>
++ <family>Pigiarniq</family>
++ <family>KacstBook</family>
++ <family>Urdu Naqsh Nastalique</family>
++ <family>Raghindi</family>
++ <family>malayalam</family>
++ <family>MS Mincho</family>
+ <family>Kochi Mincho</family>
++ <family>ZYSong18030</family>
++ <family>MS Song</family>
+ <family>AR PL SungtiL GB</family>
+ <family>AR PL Mingti2L Big5</family>
+- <family>Baekmuk Batang</family>
++ <family>Baekmuk Batang</family>
++ <family>TSCu_Times</family>
++ <family>Times New Roman</family>
++ <family>Times</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>Bitstream Vera Sans</family>
+- <family>Verdana</family>
+- <family>Nimbus Sans L</family>
+- <family>Luxi Sans</family>
++ <family>Luxi Sans</family>
++ <family>Nimbus Sans L</family>
+ <family>Arial</family>
+ <family>Helvetica</family>
++ <family>Arija</family>
++ <family>Verdana</family>
++ <family>Lucida Sans Unicode</family>
++ <family>Tahoma</family>
++ <family>Yudit Unicode</family>
++ <family>Kerkis</family>
++ <family>ArmNet Helvetica</family>
++ <family>Artsounk</family>
++ <family>BPG UTF8 M</family>
++ <family>Norasi</family>
++ <family>Nachlieli</family>
++ <family>Saysettha Unicode</family>
++ <family>JG Lao Old Arial</family>
++ <family>GF Zemen Unicode</family>
++ <family>Pigiarniq</family>
++ <family>KacstBook</family>
++ <family>Urdu Naqsh Nastalique</family>
++ <family>Raghindi</family>
++ <family>malayalam</family>
++ <family>Teams</family>
++ <family>MS Gothic</family>
+ <family>Kochi Gothic</family>
++ <family>ZYSong18030</family>
++ <family>AR PL SungtiL GB</family>
++ <family>AR PL Mingti2L Big5</family>
++ <family>Baekmuk Gulim</family>
+ <family>AR PL KaitiM GB</family>
+ <family>AR PL KaitiM Big5</family>
+ <family>Baekmuk Dotum</family>
+ <family>SimSun</family>
++ <family>TSCu_Paranar</family>
++ <family>Arial Unicode</family>
++ <family>Code2000</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>Bitstream Vera Sans Mono</family>
+- <family>Andale Mono</family>
+- <family>Courier New</family>
+ <family>Luxi Mono</family>
+ <family>Nimbus Mono L</family>
++ <family>Courier</family>
++ <family>Kurjeris</family>
++ <family>Courier MonoThai</family>
++ <family>Courier-Hebrew</family>
++ <family>Hasida</family>
++ <family>GF Zemen Unicode</family>
+ <family>Kochi Gothic</family>
++ <family>MS Gothic</family>
++ <family>ZYSong18030</family>
++ <family>AR PL SungtiL GB</family>
++ <family>AR PL Mingti2L Big5</family>
++ <family>Baekmuk Gulim</family>
++ <family>Andale Mono</family>
++ <family>Courier New</family>
++ <family>TSC_AvarangalFxd</family>
+ <family>AR PL KaitiM GB</family>
+ <family>Baekmuk Dotum</family>
+ </prefer>