Package Details: fontconfig-ubuntu 2.12.6-1

Git Clone URL: https://aur.archlinux.org/fontconfig-ubuntu.git (read-only)
Package Base: fontconfig-ubuntu
Description: Library for configuring and customizing font access - with Ubuntu's patches
Upstream URL: https://launchpad.net/ubuntu/+source/fontconfig
Licenses: custom
Conflicts: fontconfig
Provides: fontconfig=2.12.6
Submitter: wonder
Maintainer: Det
Last Packager: Det
Votes: 356
Popularity: 0.882898
First Submitted: 2008-07-28 18:25
Last Updated: 2017-11-15 21:55

Required by (1000)

Sources (3)

Latest Comments

francoism90 commented on 2017-10-31 08:09

@Det: Thanks for the update! Yeah.. meant makedep. :P

Det commented on 2017-10-31 07:57

makedep?

francoism90 commented on 2017-10-31 07:57

gperf should be makedep.

saghm commented on 2017-10-29 16:51

The latest version (2.12.6-1) incorrectly uses the key "sha256" instead of "sha256sums", which causes the integrity checks to fail. The build also failed for me at first because I didn't have gperf installed, so I think it should be added to the makedepends list.

Det commented on 2017-03-13 16:01

Oh yeah. (∩ ͡° ͜ʖ ͡°)⊃━☆゚.* [̲̅S̲̅U̲̅C̲̅C̲̅E̲̅S̲̅S̲̅!̲̅]

seenxu commented on 2017-03-13 16:00

it works now.

Det commented on 2017-03-13 15:54

Maybe it even works?: https://aur.archlinux.org/cgit/aur.git/commit/?h=fontconfig-ubuntu&id=be4fa10a4381ede531199e513a720a524a4b6bac

seenxu commented on 2017-03-13 14:34

found solution, this is due to glibc-2.25 update
https://github.com/voidlinux/void-packages/issues/5693

patch file:
Index: fontconfig-2.11.94/fontconfig/fontconfig.h
===================================================================
--- fontconfig-2.11.94/fontconfig/fontconfig.h
+++ fontconfig-2.11.94/fontconfig/fontconfig.h
@@ -128,7 +128,8 @@ typedef int FcBool;
#define FC_USER_CACHE_FILE ".fonts.cache-" FC_CACHE_VERSION

/* Adjust outline rasterizer */
-#define FC_CHAR_WIDTH "charwidth" /* Int */
+#define FC_CHARWIDTH "charwidth" /* Int */
+#define FC_CHAR_WIDTH FC_CHARWIDTH
#define FC_CHAR_HEIGHT "charheight"/* Int */
#define FC_MATRIX "matrix" /* FcMatrix */

Index: fontconfig-2.11.94/src/fcobjs.h
===================================================================
--- fontconfig-2.11.94/src/fcobjs.h
+++ fontconfig-2.11.94/src/fcobjs.h
@@ -51,7 +51,7 @@ FC_OBJECT (DPI, FcTypeDouble, NULL)
FC_OBJECT (RGBA, FcTypeInteger, NULL)
FC_OBJECT (SCALE, FcTypeDouble, NULL)
FC_OBJECT (MINSPACE, FcTypeBool, NULL)
-FC_OBJECT (CHAR_WIDTH, FcTypeInteger, NULL)
+FC_OBJECT (CHARWIDTH, FcTypeInteger, NULL)
FC_OBJECT (CHAR_HEIGHT, FcTypeInteger, NULL)
FC_OBJECT (MATRIX, FcTypeMatrix, NULL)
FC_OBJECT (CHARSET, FcTypeCharSet, FcCompareCharSet)
Index: fontconfig-2.11.94/src/fcobjshash.gperf
===================================================================
--- fontconfig-2.11.94/src/fcobjshash.gperf
+++ fontconfig-2.11.94/src/fcobjshash.gperf
@@ -44,7 +44,7 @@ int id;
"rgba",FC_RGBA_OBJECT
"scale",FC_SCALE_OBJECT
"minspace",FC_MINSPACE_OBJECT
-"charwidth",FC_CHAR_WIDTH_OBJECT
+"charwidth",FC_CHARWIDTH_OBJECT
"charheight",FC_CHAR_HEIGHT_OBJECT
"matrix",FC_MATRIX_OBJECT
"charset",FC_CHARSET_OBJECT
Index: fontconfig-2.11.94/src/fcobjshash.h
===================================================================
--- fontconfig-2.11.94/src/fcobjshash.h
+++ fontconfig-2.11.94/src/fcobjshash.h
@@ -284,7 +284,7 @@ FcObjectTypeLookup (register const char
{(int)(long)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str43,FC_CHARSET_OBJECT},
{-1},
#line 47 "fcobjshash.gperf"
- {(int)(long)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str45,FC_CHAR_WIDTH_OBJECT},
+ {(int)(long)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str45,FC_CHARWIDTH_OBJECT},
#line 48 "fcobjshash.gperf"
{(int)(long)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str46,FC_CHAR_HEIGHT_OBJECT},
#line 55 "fcobjshash.gperf"

seenxu commented on 2017-03-13 14:12

compilation failed

> CC fcmatch.lo
> fcmatch.c:324:63: error: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not in a function)
> #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
> ^
> fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
> FC_OBJECT (CHAR_WIDTH, FcTypeInteger, NULL)
> ^~~~~~~~~
> fcmatch.c:324:84: error: 'PRI_CHAR_WIDTH_WEAK' undeclared here (not in a function)
> #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
> ^
> fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
> FC_OBJECT (CHAR_WIDTH, FcTypeInteger, NULL)
> ^~~~~~~~~
> make[3]: *** [Makefile:631: fcmatch.lo] Error 1

Det commented on 2017-03-09 21:59

Forget it.

All comments