diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2014-12-27 12:47:09 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2014-12-27 23:16:37 -0600 |
commit | 8fead991f2715a765d8fb12a275faf583a7809aa (patch) | |
tree | 1737070e4fef69b6340d2f015fb9112ff1c79272 | |
parent | 0d97f2ce8a84112651a4ac7780b7461ccfc0d68c (diff) |
system/culmus: Fixup fontconfig warnings
Thanks to Ghengis Khan.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | system/culmus/culmus.SlackBuild | 1 | ||||
-rw-r--r-- | system/culmus/fixup-deprecated-fontconfig-test-usage.diff | 105 |
2 files changed, 106 insertions, 0 deletions
diff --git a/system/culmus/culmus.SlackBuild b/system/culmus/culmus.SlackBuild index 08c818772d10..687b1e6d805d 100644 --- a/system/culmus/culmus.SlackBuild +++ b/system/culmus/culmus.SlackBuild @@ -57,6 +57,7 @@ cp *.ttf $PKG/usr/share/fonts/TTF/ mkdir -p $PKG/usr/share/fonts/Type1/ cp *.pfa *.afm $PKG/usr/share/fonts/Type1/ +patch -p1 < $CWD/fixup-deprecated-fontconfig-test-usage.diff mkdir -p $PKG/etc/fonts/conf.avail/ cp culmus.conf $PKG/etc/fonts/conf.avail/61-culmus.conf diff --git a/system/culmus/fixup-deprecated-fontconfig-test-usage.diff b/system/culmus/fixup-deprecated-fontconfig-test-usage.diff new file mode 100644 index 000000000000..52f120f5cbcd --- /dev/null +++ b/system/culmus/fixup-deprecated-fontconfig-test-usage.diff @@ -0,0 +1,105 @@ +diff -Nur culmus-0.130.orig/culmus.conf culmus-0.130/culmus.conf +--- culmus-0.130.orig/culmus.conf 2012-11-02 17:59:16.000000000 -0500 ++++ culmus-0.130/culmus.conf 2014-12-27 12:44:44.674610931 -0600 +@@ -17,6 +17,8 @@ + <match target="pattern" > + <test name="family" > + <string>Guttman Adii</string> ++ </test> ++ <test name="family" > + <string>Guttman Adii-Light</string> + </test> + <edit mode="append" binding="same" name="family" > +@@ -39,6 +41,8 @@ + <match target="pattern" > + <test name="family" > + <string>Guttman Stam</string> ++ </test> ++ <test name="family" > + <string>Guttman Stam1</string> + </test> + <edit mode="append" binding="same" name="family" > +@@ -49,6 +53,8 @@ + <match target="pattern" > + <test name="family" > + <string>Guttman Hodes</string> ++ </test> ++ <test name="family" > + <string>Monotype Hadassah</string> + </test> + <edit mode="append" binding="same" name="family" > +@@ -59,7 +65,11 @@ + <match target="pattern" > + <test name="family" > + <string>Aharoni</string> ++ </test> ++ <test name="family" > + <string>Guttman Aharoni</string> ++ </test> ++ <test name="family" > + <string>Guttman-Aharoni</string> + </test> + <edit mode="append" binding="same" name="family" > +@@ -70,7 +80,11 @@ + <match target="pattern" > + <test name="family" > + <string>FrankRuehl</string> ++ </test> ++ <test name="family" > + <string>Guttman Frank</string> ++ </test> ++ <test name="family" > + <string>Guttman Frnew</string> + </test> + <edit mode="append" binding="same" name="family" > +@@ -81,7 +95,11 @@ + <match target="pattern" > + <test name="family" > + <string>David</string> ++ </test> ++ <test name="family" > + <string>David Transparent</string> ++ </test> ++ <test name="family" > + <string>Guttman David</string> + </test> + <edit mode="append" binding="same" name="family" > +@@ -92,8 +110,14 @@ + <match target="pattern" > + <test name="family" > + <string>Fixed Miriam Transparent</string> ++ </test> ++ <test name="family" > + <string>Guttman Myamfix</string> ++ </test> ++ <test name="family" > + <string>Guttman-CourMir</string> ++ </test> ++ <test name="family" > + <string>Miriam Fixed</string> + </test> + <edit mode="append" binding="same" name="family" > +@@ -104,8 +128,14 @@ + <match target="pattern" > + <test name="family" > + <string>Guttman Miryam</string> ++ </test> ++ <test name="family" > + <string>Levenim MT</string> ++ </test> ++ <test name="family" > + <string>Miriam</string> ++ </test> ++ <test name="family" > + <string>Miriam Transparent</string> + </test> + <edit mode="append" binding="same" name="family" > +@@ -116,6 +146,8 @@ + <match target="pattern" > + <test name="family" > + <string>Guttman Drogolin</string> ++ </test> ++ <test name="family" > + <string>Guttman Vilna</string> + </test> + <edit mode="append" binding="same" name="family" > |