mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
x11-wm/windowmaker: drop old
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST WindowMaker-0.95.8.tar.gz 3253515 BLAKE2B 225dae9eb10f913931e129fdf78860123a14406ad8e61ba42fe4eadcf5d3f03c88040a2b982e74abaf79088f4a063291ccfb7b7d42f1bf211adb7b02c765a664 SHA512 6ab16ed4304aba20f0f3a4083adf63a47fa674ade7bc39aaa8aa6466c7842e3f10ab73af96e2afce0842b11c57a35eb69f43183a4044d8cd95d4e2a4d2c079a2
|
||||
DIST WindowMaker-0.95.9.tar.gz 3397167 BLAKE2B ec751fe0139b359933f4388f8dac3f2bf18db1f28fb4cb290d86db1ded9ffdab0cf51b451e28475bc51ee2735cb71c7fd2b01fa7472f5f0f4f1a1e00e1509339 SHA512 ca3ddc863f5b5b782e90f38c0019fe14d1109d6b11d0a3d5d6c728ddc1817747eea92e22e36933d445e72c70661e039ee56efa70f2654657c8980269fd5b4584
|
||||
DIST WindowMaker-extra-0.1.tar.gz 238018 BLAKE2B 865b12975d0cdefc1f05a76344b449fdcf8a2841d6a7adf1ab6435857d89cbc4fda22bb62432a1bbba921267380d00a0cded718bfbd344bbb5e6207e59b76096 SHA512 0fe9b3ffc093942db167d8a01e15c0f6741f3a40959d1434ea4f23e7b9d4a9c13935a61eabef9691e5fdfd4e407564caafce15c2d65d66499960a6764a874ab8
|
||||
|
||||
@@ -1,113 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools desktop eutils
|
||||
|
||||
DESCRIPTION="The fast and light GNUstep window manager"
|
||||
HOMEPAGE="https://www.windowmaker.org/"
|
||||
SRC_URI="https://windowmaker.org/pub/source/release/${P/windowm/WindowM}.tar.gz
|
||||
https://www.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE="gif imagemagick jpeg modelock nls png tiff webp xinerama +xpm xrandr"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="media-libs/fontconfig
|
||||
>=x11-libs/libXft-2.1.0
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libXv
|
||||
gif? ( >=media-libs/giflib-4.1.0-r3 )
|
||||
imagemagick? ( media-gfx/imagemagick:0= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
webp? ( media-libs/libwebp )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xrandr? ( x11-libs/libXrandr )"
|
||||
RDEPEND="${DEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.10.39 )"
|
||||
|
||||
S=${WORKDIR}/${P/windowm/WindowM}
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-configure_default_search_paths.patch )
|
||||
|
||||
src_prepare() {
|
||||
# Fix some paths
|
||||
for file in WindowMaker/*menu* util/wmgenmenu.c; do
|
||||
if [[ -r $file ]] ; then
|
||||
sed -i -e "s:/usr/local/GNUstep/Applications/WPrefs.app:${EPREFIX}/usr/bin/:g;" "$file" || die
|
||||
sed -i -e "s:/usr/local/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die
|
||||
sed -i -e "s:/opt/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die
|
||||
fi;
|
||||
done;
|
||||
|
||||
if has_version '>=media-gfx/imagemagick-7.0.1.0' ; then
|
||||
eapply "${FILESDIR}/${P}-imagemagick7.patch"
|
||||
fi
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# image format types
|
||||
myconf="$(use_enable imagemagick magick) $(use_enable jpeg) $(use_enable gif) $(use_enable png) $(use_enable tiff) $(use_enable webp) $(use_enable xpm)"
|
||||
|
||||
# non required X capabilities
|
||||
myconf="${myconf} $(use_enable modelock) $(use_enable xrandr randr) $(use_enable xinerama)"
|
||||
|
||||
if use nls; then
|
||||
[[ -z $LINGUAS ]] && export LINGUAS="$(ls po/*.po | sed 's:po/\(.*\)\.po$:\1:' | xargs)"
|
||||
else
|
||||
myconf="${myconf} --disable-locale"
|
||||
fi
|
||||
|
||||
# default settings with $myconf appended
|
||||
econf \
|
||||
--sysconfdir="${EPREFIX}"/etc/X11 \
|
||||
--with-x \
|
||||
--enable-usermenu \
|
||||
--with-pixmapdir="${EPREFIX}"/usr/share/pixmaps \
|
||||
--localedir="${EPREFIX}"/usr/share/locale \
|
||||
${myconf}
|
||||
|
||||
cd ../WindowMaker-extra-0.1
|
||||
econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
# WindowMaker Extra Package (themes and icons)
|
||||
cd ../WindowMaker-extra-0.1
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS BUGFORM BUGS ChangeLog INSTALL* FAQ* \
|
||||
README* NEWS TODO
|
||||
|
||||
# WindowMaker Extra
|
||||
cd ../WindowMaker-extra-0.1
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newdoc README README.extra
|
||||
|
||||
# create wmaker session shell script
|
||||
echo "#!/usr/bin/env bash" > wmaker
|
||||
echo "${EPREFIX}/usr/bin/wmaker" >> wmaker
|
||||
exeinto /etc/X11/Sessions/
|
||||
doexe wmaker
|
||||
|
||||
insinto /usr/share/xsessions
|
||||
doins "${FILESDIR}"/wmaker.desktop
|
||||
make_desktop_entry /usr/bin/wmaker
|
||||
}
|
||||
@@ -1,108 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools desktop eutils
|
||||
|
||||
DESCRIPTION="The fast and light GNUstep window manager"
|
||||
HOMEPAGE="https://www.windowmaker.org/"
|
||||
SRC_URI="https://windowmaker.org/pub/source/release/${P/windowm/WindowM}.tar.gz
|
||||
https://www.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE="gif imagemagick jpeg modelock nls png tiff webp xinerama +xpm xrandr"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="media-libs/fontconfig
|
||||
>=x11-libs/libXft-2.1.0
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libXv
|
||||
gif? ( >=media-libs/giflib-4.1.0-r3 )
|
||||
imagemagick? ( >=media-gfx/imagemagick-7:0= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
webp? ( media-libs/libwebp )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xrandr? ( x11-libs/libXrandr )"
|
||||
RDEPEND="${DEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.10.39 )"
|
||||
|
||||
S=${WORKDIR}/${P/windowm/WindowM}
|
||||
|
||||
DOCS=( AUTHORS BUGFORM BUGS ChangeLog INSTALL INSTALL-WMAKER FAQ
|
||||
NEWS README README.definable-cursor README.i18n TODO )
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.95.8-configure_default_search_paths.patch )
|
||||
|
||||
src_prepare() {
|
||||
# Fix some paths
|
||||
for file in WindowMaker/*menu* util/wmgenmenu.c; do
|
||||
if [[ -r $file ]] ; then
|
||||
sed -i -e "s|/usr/local/GNUstep/Applications/WPrefs.app|${EPREFIX}/usr/bin/|g;" "$file" || die
|
||||
sed -i -e "s|/usr/local/share/WindowMaker|${EPREFIX}/usr/share/WindowMaker|g;" "$file" || die
|
||||
sed -i -e "s|/opt/share/WindowMaker|${EPREFIX}/usr/share/WindowMaker|g;" "$file" || die
|
||||
fi;
|
||||
done;
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# image format types
|
||||
myconf="$(use_enable imagemagick magick) $(use_enable jpeg) $(use_enable gif) $(use_enable png) $(use_enable tiff) $(use_enable webp) $(use_enable xpm)"
|
||||
|
||||
# non required X capabilities
|
||||
myconf="${myconf} $(use_enable modelock) $(use_enable xrandr randr) $(use_enable xinerama)"
|
||||
|
||||
if use nls; then
|
||||
[[ -z $LINGUAS ]] && export LINGUAS="$(ls po/*.po | sed 's:po/\(.*\)\.po$:\1:' | xargs)"
|
||||
else
|
||||
myconf="${myconf} --disable-locale"
|
||||
fi
|
||||
|
||||
# default settings with $myconf appended
|
||||
econf \
|
||||
--sysconfdir="${EPREFIX}"/etc/X11 \
|
||||
--with-x \
|
||||
--enable-usermenu \
|
||||
--with-pixmapdir="${EPREFIX}"/usr/share/pixmaps \
|
||||
--localedir="${EPREFIX}"/usr/share/locale \
|
||||
${myconf}
|
||||
|
||||
pushd ../WindowMaker-extra-0.1 || die
|
||||
econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
# WindowMaker Extra Package (themes and icons)
|
||||
pushd ../WindowMaker-extra-0.1 || die
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# WindowMaker Extra
|
||||
pushd ../WindowMaker-extra-0.1 || die
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newdoc README README.extra
|
||||
|
||||
# create wmaker session shell script
|
||||
echo "#!/usr/bin/env bash" > wmaker
|
||||
echo "${EPREFIX}/usr/bin/wmaker" >> wmaker
|
||||
exeinto /etc/X11/Sessions/
|
||||
doexe wmaker
|
||||
|
||||
insinto /usr/share/xsessions
|
||||
doins "${FILESDIR}"/wmaker.desktop
|
||||
make_desktop_entry /usr/bin/wmaker
|
||||
}
|
||||
Reference in New Issue
Block a user