Installing t1lib in devel barfs: Output from t1lib-5.1.0-5.fc5@x86_64: find: /usr/X11R6/lib/X11: No such file or directory The font path used by t1libconfig appears outdated, it should be /usr/share/X11/fonts for FC5.
Thanks for the report. I just updated the path and requested a build. As I don't have a rawhide box currently, I would really appreciate it if you could test the new package and verify the fix.
The error is gone, but while checking things out, I noticed a number of other problems: The path to the ghostscript fonts is wrong, should be /usr/share/fonts/default/ghostscript on FC5. Other paths you may want to add to $fontdirs in t1libconfig are /usr/share/fonts/default/Type1, /usr/share/libwmf/fonts and /usr/share/a2ps/fonts. Then, a find command in t1libconfig barfs: Searching for Type 1 fonts and AFM files...find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments. Third, the package ships man page for xglyph, but no such program exists in it. Fourth, the package refreshes its font database only in %post, which means stuff installed after it won't become automatically available. Using triggers would improve it, for example (assuming the above new paths are added to fontpath, and untested): %triggerin -- ghostscript-fonts, urw-fonts, libwmf, a2ps %{_sbindir}/t1libconfig --force > /dev/null || : %triggerpostun -- ghostscript-fonts, urw-fonts, libwmf, a2ps %{_sbindir}/t1libconfig --force > /dev/null || : The "|| :" would not hurt in the %post script's t1libconfig line either.
ping
I'm so sorry, not having the time for maintaining t1lib, I just orphaned the package. Feel free to fix/take care yourself.
I will take care of this bug, since I will take care of the package.
REOPENED status has been deprecated. ASSIGNED with keyword of Reopened is preferred.
Confirmed today as still broken at 5.1.0-9 still leaking stderr noise [herrold@centos-4 swftools]$ file /usr/sbin/t1libconfig /usr/sbin/t1libconfig: Bourne shell script text executable [herrold@centos-4 swftools]$ Isn't it better to _Fix_ the darn script with a patch inside, -- and NOT paper over it with a || : or a > /dev/null specfile fix ?? $ sudo rpm -Uvh /home/herrold/rpmbuild/RPMS/i386/t1lib-devel-5.1.0-9.i386.rpm /home/herrold/rpmbuild/RPMS/i386/t1lib-5.1.0-9.i386.rpm Password: Preparing... ########################################### [100%] 1:t1lib ########################################### [ 50%] find: /usr/share/X11/fonts: No such file or directory 2:t1lib-devel ########################################### [100%] $
*** Bug 246774 has been marked as a duplicate of this bug. ***
This is half fixed in rawhide. Not completely since the newly installed fonts won't be added in the files. However the generated files are (unless I am wrong) only used by xglyph currently. So fixing this is not high priority and would imply adding post scripts to packages that install type1 fonts (triggers are not the right solution) and therefore going through the packaging commitee. I sent a mail to the debian maintainer to come with a better solution if he is interested in fixing this issue, but once again I don't think that it is that important. For this reason, I don't think it deserves to be pushed to older branches. Somebody can do it, though, either José if he cares, or anybody else since there are no ACLs.
Pushing to older branches for the xglyph issue.
t1lib-5.1.1-7.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update t1lib'
t1lib-5.1.1-7.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update t1lib'
t1lib-5.1.1-7.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
t1lib-5.1.1-7.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.