Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693024 - media-fonts/font-util-1.3.2 installs "/usr/share/fonts/util --with-fontrootdir=" directory
Summary: media-fonts/font-util-1.3.2 installs "/usr/share/fonts/util --with-fontrootdi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 692902 692908 692910 692968 692970 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-08-28 16:36 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-08-28 23:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch (font-util.patch,1.42 KB, patch)
2019-08-28 16:51 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2019-08-28 16:36:43 UTC
--- /usr/
--- /usr/bin/
>>> /usr/bin/bdftruncate
>>> /usr/bin/ucs2any
--- /usr/lib64/
--- /usr/lib64/pkgconfig/
>>> /usr/lib64/pkgconfig/fontutil.pc
--- /usr/share/
--- /usr/share/aclocal/
>>> /usr/share/aclocal/fontutil.m4
--- /usr/share/fonts/
>>> /usr/share/fonts/util --with-fontrootdir=/
>>> /usr/share/fonts/util --with-fontrootdir=/usr/
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-1
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-10
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-11
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-13
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-14
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-15
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-16
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-2
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-3
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-4
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-5
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-6
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-7
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-8
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-ISO8859-9
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-JISX0201.1976-0
>>> /usr/share/fonts/util --with-fontrootdir=/usr/share/fonts/map-KOI8-R
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/bdftruncate.1.bz2
>>> /usr/share/man/man1/ucs2any.1.bz2
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/share/man/man1/ucs2any.1.bz2
--- replaced obj /usr/share/man/man1/bdftruncate.1.bz2
--- replaced dir /usr/share/man/man1
--- replaced dir /usr/share/man
<<<          obj /usr/share/fonts/util/map-KOI8-R
<<<          obj /usr/share/fonts/util/map-JISX0201.1976-0
<<<          obj /usr/share/fonts/util/map-ISO8859-9
<<<          obj /usr/share/fonts/util/map-ISO8859-8
<<<          obj /usr/share/fonts/util/map-ISO8859-7
<<<          obj /usr/share/fonts/util/map-ISO8859-6
<<<          obj /usr/share/fonts/util/map-ISO8859-5
<<<          obj /usr/share/fonts/util/map-ISO8859-4
<<<          obj /usr/share/fonts/util/map-ISO8859-3
<<<          obj /usr/share/fonts/util/map-ISO8859-2
<<<          obj /usr/share/fonts/util/map-ISO8859-16
<<<          obj /usr/share/fonts/util/map-ISO8859-15
<<<          obj /usr/share/fonts/util/map-ISO8859-14
<<<          obj /usr/share/fonts/util/map-ISO8859-13
<<<          obj /usr/share/fonts/util/map-ISO8859-11
<<<          obj /usr/share/fonts/util/map-ISO8859-10
<<<          obj /usr/share/fonts/util/map-ISO8859-1
--- replaced dir /usr/share/fonts
<<<          obj /usr/share/doc/font-util-1.3.1/README.bz2
<<<          obj /usr/share/doc/font-util-1.3.1/ChangeLog.bz2
--- replaced obj /usr/share/aclocal/fontutil.m4
--- replaced dir /usr/share/aclocal
--- replaced dir /usr/share
--- replaced obj /usr/lib64/pkgconfig/fontutil.pc
--- replaced dir /usr/lib64/pkgconfig
--- replaced dir /usr/lib64
--- replaced obj /usr/bin/ucs2any
--- replaced obj /usr/bin/bdftruncate
--- replaced dir /usr/bin
--- replaced dir /usr
<<<          dir /usr/share/fonts/util
<<<          dir /usr/share/doc/font-util-1.3.1
--- !empty   dir /usr/share/doc
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-08-28 16:40:12 UTC
xorg-2.eclass has support for XORG_CONFIGURE_OPTIONS as non-array variable:

        # @VARIABLE: XORG_CONFIGURE_OPTIONS
        # @DESCRIPTION:
        # Array of an additional options to pass to configure.
        # @DEFAULT_UNSET
->      if [[ $(declare -p XORG_CONFIGURE_OPTIONS 2>&-) != "declare -a"* ]]; then
                # fallback to CONFIGURE_OPTIONS, deprecated.
                if [[ -n "${CONFIGURE_OPTIONS}" ]]; then
                        eqawarn "CONFIGURE_OPTIONS are deprecated. Please migrate to XORG_CONFIGURE_OPTIONS"
                        eqawarn "to preserve namespace."
                fi

->              local xorgconfadd=(${CONFIGURE_OPTIONS} ${XORG_CONFIGURE_OPTIONS})
        else
                local xorgconfadd=("${XORG_CONFIGURE_OPTIONS[@]}")
        fi


xorg-3.eclass treats XORG_CONFIGURE_OPTIONS only as array:

        # @VARIABLE: XORG_CONFIGURE_OPTIONS
        # @DESCRIPTION:
        # Array of an additional options to pass to configure.
        # @DEFAULT_UNSET
->      local xorgconfadd=("${XORG_CONFIGURE_OPTIONS[@]}")
Comment 2 Arfrever Frehtes Taifersar Arahesis 2019-08-28 16:51:17 UTC
Created attachment 588488 [details, diff]
Patch

Minimal fix is:

-XORG_CONFIGURE_OPTIONS="--with-mapdir=${EPREFIX}/usr/share/fonts/util --with-fontrootdir=${EPREFIX}/usr/share/fonts"
+XORG_CONFIGURE_OPTIONS=(--with-mapdir="${EPREFIX}/usr/share/fonts/util" --with-fontrootdir="${EPREFIX}/usr/share/fonts")

But I wrapped it into separate lines.
Comment 3 Larry the Git Cow gentoo-dev 2019-08-28 23:16:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164f053618be19d04166432cb428fd33f6a388ef

commit 164f053618be19d04166432cb428fd33f6a388ef
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2019-08-28 16:45:05 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-08-28 23:16:06 +0000

    media-fonts/font-util: Install files to correct directory.
    
    Closes: https://bugs.gentoo.org/693024
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 .../{font-util-1.3.2.ebuild => font-util-1.3.2-r1.ebuild}          | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Comment 4 Matt Turner gentoo-dev 2019-08-28 23:16:36 UTC
*** Bug 692902 has been marked as a duplicate of this bug. ***
Comment 5 Matt Turner gentoo-dev 2019-08-28 23:16:39 UTC
*** Bug 692908 has been marked as a duplicate of this bug. ***
Comment 6 Matt Turner gentoo-dev 2019-08-28 23:16:43 UTC
*** Bug 692910 has been marked as a duplicate of this bug. ***
Comment 7 Matt Turner gentoo-dev 2019-08-28 23:16:47 UTC
*** Bug 692968 has been marked as a duplicate of this bug. ***
Comment 8 Matt Turner gentoo-dev 2019-08-28 23:16:50 UTC
*** Bug 692970 has been marked as a duplicate of this bug. ***