Hello community, here is the log from the commit of package fontconfig checked in at Sat Nov 8 00:51:52 CET 2008. -------- --- fontconfig/fontconfig.changes 2008-10-29 20:07:46.000000000 +0100 +++ /mounts/work_src_done/STABLE/fontconfig/fontconfig.changes 2008-11-07 18:23:11.000000000 +0100 @@ -1,0 +2,7 @@ +Fri Nov 07 18:22:17 CET 2008 - mfabian@suse.de + +- bnc#438855: make FcInitReinitialize() work again. This function + is important to make it possible for YaST2 to load new fonts + which are copied into instsys after YaST2 is already running. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- bnc438855-make-FcInitReinitialize-work-again.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fontconfig.spec ++++++ --- /var/tmp/diff_new_pack.V23285/_old 2008-11-08 00:51:24.000000000 +0100 +++ /var/tmp/diff_new_pack.V23285/_new 2008-11-08 00:51:24.000000000 +0100 @@ -31,7 +31,7 @@ AutoReqProv: on Requires: bash Version: 2.6.0 -Release: 5 +Release: 6 Summary: Library for Font Configuration # CVS can be found here: (CVS is gone, fontconfig uses git now). # $ cvs -d :pserver:anoncvs@pdx.freedesktop.org:/cvs/fontconfig login @@ -73,6 +73,7 @@ Patch30: bugzilla-179457-fix-font-file-names-for-wine.patch Patch31: bugzilla-246783-do-not-crash-when-config-files-contain-broken-stuff.patch Patch32: usr-share-doc-packages.patch +Patch33: bnc438855-make-FcInitReinitialize-work-again.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -136,6 +137,7 @@ #%patch30 -p1 %patch31 -p1 %patch32 -p1 +%patch33 -p1 %build %configure --with-pic \ @@ -248,6 +250,10 @@ %{_includedir}/fontconfig/ %changelog +* Fri Nov 07 2008 mfabian@suse.de +- bnc#438855: make FcInitReinitialize() work again. This function + is important to make it possible for YaST2 to load new fonts + which are copied into instsys after YaST2 is already running. * Wed Oct 29 2008 mfabian@suse.de - bnc#433591: make "Lohit Oriya" the default font for Oriya. See also: @@ -919,7 +925,7 @@ - add all Mincho and Gothic faces of the commercial Ricoh fonts to the list of generic names in suse-generic-names.conf to get reasonable fallbacks if those fonts are not installed. -* Sat May 29 2004 mfabian@suse.de +* Fri May 28 2004 mfabian@suse.de - add the Japanese fonts "HGMinchoL" and "HGGothicB" made by Ricoh to the prefer lists and generics lists. These are the fonts which Novell Japan has licensed, they should be preferred if they are @@ -1000,7 +1006,7 @@ * Mon Mar 29 2004 mfabian@suse.de - Bugzilla #37310: fix location of fontconfig-user.html in man-pages. -* Thu Mar 25 2004 mfabian@suse.de +* Wed Mar 24 2004 mfabian@suse.de - Bugzilla #36879: don't match fonts without foundries if a specific foundry is requested (fix from upstream CVS). - remove bitmap-spacing.patch (included upstream). ++++++ bnc438855-make-FcInitReinitialize-work-again.patch ++++++ diff -rup fontconfig-2.6.0.orig//src/fccache.c fontconfig-2.6.0/src/fccache.c --- fontconfig-2.6.0.orig//src/fccache.c 2007-11-14 01:36:41.000000000 +0100 +++ fontconfig-2.6.0/src/fccache.c 2008-11-07 17:08:46.000000000 +0100 @@ -254,6 +254,7 @@ FcDirCacheProcess (FcConfig *config, con break; fd = FcDirCacheOpenFile (cache_hashed, &file_stat); if (fd >= 0) { + if (dir_stat.st_mtime <= file_stat.st_mtime) { ret = (*callback) (fd, &file_stat, &dir_stat, closure); close (fd); if (ret) @@ -264,6 +265,8 @@ FcDirCacheProcess (FcConfig *config, con FcStrFree (cache_hashed); break; } + } else + close (fd); } FcStrFree (cache_hashed); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org