diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-06-20 20:43:25 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-06-20 20:46:52 +0200 |
commit | 92588b49bef5cfe6f7e16333160d272753c42eb6 (patch) | |
tree | d136ebbb5168999dd3f6683fe6914ec77cd75b77 /x11-themes | |
parent | dev-python/flask-wtf: Support Python 3.6, fix dependencies (diff) | |
download | gentoo-92588b49bef5cfe6f7e16333160d272753c42eb6.tar.gz gentoo-92588b49bef5cfe6f7e16333160d272753c42eb6.tar.bz2 gentoo-92588b49bef5cfe6f7e16333160d272753c42eb6.zip |
x11-themes/wm-icons: Fix install (#655174 by Kevin Korb)
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/wm-icons/files/wm-icons-0.4.0-build.patch | 30 | ||||
-rw-r--r-- | x11-themes/wm-icons/wm-icons-0.4.0.ebuild | 28 |
2 files changed, 33 insertions, 25 deletions
diff --git a/x11-themes/wm-icons/files/wm-icons-0.4.0-build.patch b/x11-themes/wm-icons/files/wm-icons-0.4.0-build.patch index bd92342e1edc..9cc4225ea7b0 100644 --- a/x11-themes/wm-icons/files/wm-icons-0.4.0-build.patch +++ b/x11-themes/wm-icons/files/wm-icons-0.4.0-build.patch @@ -1,24 +1,22 @@ ---- a/configure.in -+++ b/configure.in -@@ -129,7 +129,7 @@ AC_OUTPUT( - etc/debian-menu-system/Makefile - devel/Makefile - devel/bin/Makefile -- bin/Makefile -+ - bin/wm-icons-config - doc/Makefile - doc/wm-icons.lsm --- a/Makefile.am +++ b/Makefile.am -@@ -13,8 +13,8 @@ SUBDIRS = bin doc icons etc devel rpm - # => icondir) is different for the build and install phases, as it +@@ -14,7 +14,7 @@ # is for a distribution package building. + # Set the default icon set aliases (symlinks). install-data-local: -- # set the default icon set aliases (symlinks) - $(bindir)/wm-icons-config --user-dir="$(icondir)" --defaults --quiet -+# set the default icon set aliases (symlinks) -+ true --user-dir="$(icondir)" --defaults --quiet ++ true + + wm-configs _pack-symlinks _unpack-symlinks: + cd devel/bin && $(MAKE) $(AM_MAKEFLAGS) $@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -417,7 +417,7 @@ + # is for a distribution package building. + # Set the default icon set aliases (symlinks). + install-data-local: +- $(bindir)/wm-icons-config --user-dir="$(icondir)" --defaults --quiet ++ true wm-configs _pack-symlinks _unpack-symlinks: cd devel/bin && $(MAKE) $(AM_MAKEFLAGS) $@ diff --git a/x11-themes/wm-icons/wm-icons-0.4.0.ebuild b/x11-themes/wm-icons/wm-icons-0.4.0.ebuild index d6932e13238d..641611583e18 100644 --- a/x11-themes/wm-icons/wm-icons-0.4.0.ebuild +++ b/x11-themes/wm-icons/wm-icons-0.4.0.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 +inherit readme.gentoo-r1 DESCRIPTION="A Large Assortment of Beautiful Themed Icons, Created with FVWM in mind" HOMEPAGE="http://wm-icons.sourceforge.net/" @@ -12,11 +13,24 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86" IUSE="" -RDEPEND="virtual/awk dev-lang/perl" -DEPEND="${RDEPEND} sys-devel/autoconf sys-devel/automake sys-apps/sed" +RDEPEND=" + virtual/awk + dev-lang/perl +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-build.patch ) + +DOC_CONTENTS=" + Users can use the wm-icons-config utility to create aliases in their + home directory, FVWM users can then set this in their ImagePath. + Sample configurations for fvwm1, fvwm2, fvwm95 and scwm are available in + /usr/share/wm-icons +" src_configure() { - econf --enable-all-sets \ + econf \ + --enable-all-sets \ --enable-icondir="${EPREFIX}"/usr/share/icons/wm-icons } @@ -28,13 +42,9 @@ src_install() { "${ED%/}/usr/bin/wm-icons-config" --force --user-dir="${ED%/}/usr/share/icons/wm-icons" --defaults || die einstalldocs + readme.gentoo_create_doc } pkg_postinst() { - einfo "Users can use the wm-icons-config utility to create aliases in their" - einfo "home directory, FVWM users can then set this in their ImagePath" - einfo - einfo "Sample configurations for fvwm1, fvwm2, fvwm95 and scwm are available in" - einfo "/usr/share/wm-icons" - einfo + readme.gentoo_print_elog } |