Jean-François,

Can you test things with the new version?  The PostRmScript is now  
conditional... should only be invoked when removing the package, not  
when updating.  Will this fix it?

   Thanks,
   Dave


On Jun 2, 2008, at 7:22 PM, Jean-François Mertens wrote:

> A)
> fontconfig-path is required by other pkgs, like fc-ghostscript-fonts.
>
> It has _ both in HEAD and in pangocairo_ :
>
> PostRmScript: <<
>   rm -rf %p/share/fontconfig-path
>   FONTCONFIG_FILE=/etc/fonts/fonts.conf fc-cache || echo Ignoring
> errors...
> <<
>
> (+ a recommendation in DescUsage to "fink reinstall fontconfig-path" )
>
> Since dpkg executes the PostRmScript after unpacking the new pkg,
> any reinstall or update of the pkg yields a broken pkg, with as result
> no fonts at all in X11...
>
> Further, this "rm -fr" _ even if moved e.g. tp a PreRmScript to avoid
> the
> above trouble _ forces a reinstall e.g. of fc-ghostscript-fonts after
> every
> update or reinstall of fontconfig-path, since fc-ghostscript-fonts  
> uses
> this directory itself.
>
> B)
> Would have tried to fix the above myself, if I wasn't perplexed by
> the use
> of fc-cache... Clearly after removal of the pkg it is the fc-cache in
> $PATH _
> (i.e.,  X11's) that has to be used.  But after installing the pkg,
> and fc-ghostscript-fonts,
> the latter's PostInstScript also calls fc-cache, while , at least in
> pangocairo,
> almost all pkgs except for x11 itself depend on  fontconfig2-shlibs,
> which has its
> own %p/lib/fontconfig2/bin/fc-cache, outside of $PATH.
> And the 2 fc-cache's update different cache's ..
> Is it not %p/lib/fontconfig2/bin/fc-cache that should be run ?  Or
> both ?
>
> Not sure how exactly such a system with 2 different fontconfig's is
> assumed to work
> (and a fortiori to be used by users, with the user commands of the
> most-used one
> hidden outside of PATH..)  to fix this myself...
>
> JF Mertens
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Fink-devel mailing list
> [email protected]
> http://news.gmane.org/gmane.os.apple.fink.devel


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to