| Summary: |
FontUtil configuration: update, fix warnings, apply global maintenance |
| Product: |
xorg
|
Reporter: |
Gaetan Nadon <memsize> |
| Component: |
Build/Modular | Assignee: |
Gaetan Nadon <memsize> |
| Status: |
RESOLVED
WONTFIX
|
QA Contact: |
Xorg Project Team <xorg-team> |
| Severity: |
enhancement
|
|
|
| Priority: |
low
|
CC: |
alan.coopersmith, peter.hutterer
|
| Version: |
git | Keywords: |
janitor |
| Hardware: |
x86-64 (AMD64) | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
fontutil.m4 is included in tarball ---------------------------------- EXTRA_DIST aclocal_DATA in font/util. Should not be there (FYI: also done in xserver and libxtrans) Inconsistent casing between fontrootdir and mapdir in confiure.ac ----------------------------------------------------------------- fontrootdir='${datadir}/fonts/X11' [lowercase] AC_SUBST(fontrootdir) [lowercase] mapdir='${fontrootdir}/util' [lowercase] MAPDIR="$mapdir" [uppercase] extra definition AC_SUBST(MAPDIR) [uppercase] In fontutil.pc: fontrootdir=@fontrootdir@ mapdir=@MAPDIR@ The mapdir casing was changed from lowercase to uppercase presumably on purpose in: http://cgit.freedesktop.org/xorg/font/util/commit/?id=25ea9d0868ecf3dccfbac5a82c659b852fb61d0e Perhaps someone thought it was necessary, but this adds one level of indirection and there is no evidence it is needed. Executable bdftruncate in CLEANFILES ------------------------------------ Not required, cleaned by default. Left over from the Perl days --with-mapdir ------------- In the case when --with-mapdir is used with an absolute path name, the fontrootdir location is ignored, so the mapdir is not relative to fontrootdir. I do not know if this causes a problem on a real running system. No action taken. Note that fontrootdir is not used by itself. Use dist_ prefix rather than EXTRA_DIST list -------------------------------------------- Use dist_mapfiles_DATA and remove $(mapfiles_DATA) from EXTRA_DIST. Providing accurate information up front to automake. Hardcoded "SED = sed" --------------------- This may not be portable in the future. Autoconf provides AC_PROG_SED to locate an appropiate sed. Issues about sed I read were mostly from Solaris prior to 10. Output of configure when checking for the presence of sed: =>>>checking for a sed that does not truncate output... /bin/sed This a candidate for for inclusion in XORG_MANPAGE_SECTIONS since they all use sed. XORGRELSTRING = @PACKAGE_STRING@ -------------------------------- Directly using $(PACKAGE_STRING) instead. Saves a line and one level of indirection. Many target types in same makefile ---------------------------------- Moved C code and man pages in /src and /man subdirs Future: 'XORGMANNAME = X Version 11' is used in 161 makefiles so it is a candidate for inclusion in XORG_MANPAGE_SECTIONS macro.