Update of /cvsroot/fink/experimental/rangerrick/common/main/finkinfo/x11
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16827
Added Files:
fontconfig2-dev.info fontconfig2-dev.patch
Log Message:
updated fontconfig2 for feanor
--- NEW FILE: fontconfig2-dev.patch ---
diff -uNr fontconfig-2.2.3/fontconfig/fontconfig.h
fontconfig-2.2.3-new/fontconfig/fontconfig.h
--- fontconfig-2.2.3/fontconfig/fontconfig.h Wed Jun 30 14:45:31 2004
+++ fontconfig-2.2.3-new/fontconfig/fontconfig.h Tue Jan 18 11:30:25 2005
@@ -70,6 +70,7 @@
#define FC_FOUNDRY "foundry" /* String */
#define FC_ANTIALIAS "antialias" /* Bool (depends) */
#define FC_HINTING "hinting" /* Bool (true) */
+#define FC_HINT_STYLE "hintstyle" /* Int */
#define FC_VERTICAL_LAYOUT "verticallayout" /* Bool (false) */
#define FC_AUTOHINT "autohint" /* Bool (false) */
#define FC_GLOBAL_ADVANCE "globaladvance" /* Bool (true) */
@@ -138,6 +139,12 @@
#define FC_RGBA_VBGR 4
#define FC_RGBA_NONE 5
+/* hinting style */
+#define FC_HINT_NONE 0
+#define FC_HINT_SLIGHT 1
+#define FC_HINT_MEDIUM 2
+#define FC_HINT_FULL 3
+
typedef enum _FcType {
FcTypeVoid,
FcTypeInteger,
diff -uNr fontconfig-2.2.3/src/fcdefault.c fontconfig-2.2.3-new/src/fcdefault.c
--- fontconfig-2.2.3/src/fcdefault.c Wed Mar 12 17:16:25 2003
+++ fontconfig-2.2.3-new/src/fcdefault.c Tue Jan 18 11:30:25 2005
@@ -144,4 +144,9 @@
{
FcPatternAddInteger (pattern, FC_FONTVERSION, 0x7fffffff);
}
+
+ if (FcPatternGet (pattern, FC_HINT_STYLE, 0, &v) == FcResultNoMatch)
+ {
+ FcPatternAddInteger (pattern, FC_HINT_STYLE, FC_HINT_FULL);
+ }
}
diff -uNr fontconfig-2.2.3/src/fcname.c fontconfig-2.2.3-new/src/fcname.c
--- fontconfig-2.2.3/src/fcname.c Wed Mar 12 17:16:25 2003
+++ fontconfig-2.2.3-new/src/fcname.c Tue Jan 18 11:30:25 2005
@@ -41,6 +41,7 @@
{ FC_FOUNDRY, FcTypeString, },
/* { FC_CORE, FcTypeBool, }, */
{ FC_ANTIALIAS, FcTypeBool, },
+ { FC_HINT_STYLE, FcTypeInteger, },
{ FC_HINTING, FcTypeBool, },
{ FC_VERTICAL_LAYOUT, FcTypeBool, },
{ FC_AUTOHINT, FcTypeBool, },
@@ -175,6 +176,11 @@
{ (FcChar8 *) "vrgb", "rgba", FC_RGBA_VRGB },
{ (FcChar8 *) "vbgr", "rgba", FC_RGBA_VBGR },
{ (FcChar8 *) "none", "rgba", FC_RGBA_NONE },
+
+ { (FcChar8 *) "hintnone", "hintstyle", FC_HINT_NONE },
+ { (FcChar8 *) "hintslight", "hintstyle", FC_HINT_SLIGHT },
+ { (FcChar8 *) "hintmedium", "hintstyle", FC_HINT_MEDIUM },
+ { (FcChar8 *) "hintfull", "hintstyle", FC_HINT_FULL },
};
#define NUM_FC_CONSTANTS (sizeof _FcBaseConstants/sizeof _FcBaseConstants[0])
--- NEW FILE: fontconfig2-dev.info ---
Package: fontconfig2-dev
Version: 2.2.3
Revision: 0
Maintainer: Alexander Strange <[EMAIL PROTECTED]>
BuildDependsOnly: true
Depends: expat-shlibs, fontconfig1-shlibs
Source-MD5: 2466a797d645cda5eb466080fdaec416
Source: http://www.fontconfig.org/release/fontconfig-%v.tar.gz
Patch: %n.patch
BuildDepends: expat, x11-dev
SetCFLAGS: -fno-common
ConfigureParams: --prefix=%p/lib/fontconfig2 --disable-shared
--with-confdir=/etc/fonts --disable-docs
InstallScript: <<
(cd fontconfig && make install DESTDIR=%d)
(cd src && make install DESTDIR=%d)
make install-pkgconfigDATA DESTDIR=%d
perl -pi.bak -e 's;-lfontconfig;%p/lib/fontconfig2/lib/libfontconfig.a;g'
%i/lib/fontconfig2/lib/pkgconfig/fontconfig.pc
(cd %i/lib/fontconfig2/lib; ar x libfontconfig.a; rm libfontconfig.a; ld -r
-all_load -o fontconfig.o fc*.o; ar cqv libfontconfig.a fontconfig.o; rm *.o
"__.SYMDEF SORTED"; ranlib libfontconfig.a)
<<
DocFiles: README NEWS
Description: Fontconfig 2 for Gimp
DescDetail: <<
Fontconfig 2.2.3
<<
DescPackaging: <<
We do NOT want this to replace the system fontconfig.
<<
License: Restrictive/Distributable
Homepage: http://www.fontconfig.org
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits