1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-03-09 20:35:46 +01:00

Removed ufo-ai, added windowmaker-crm

This commit is contained in:
root
2011-08-14 17:52:35 +02:00
parent 16bd8a66ef
commit f451f04442
6 changed files with 151 additions and 161 deletions

View File

@@ -0,0 +1,15 @@
# ChangeLog for x11-wm/windowmaker-crm
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
21 Apr 2011; Bernard Cafarelli <voyageur@gentoo.org>
windowmaker-crm-9999.ebuild:
Use FHS layout for WPrefs, to keep in sync with the new default gnustep
layout
*windowmaker-crm-9999 (01 Apr 2011)
01 Apr 2011; Bernard Cafarelli <voyageur@gentoo.org>
+windowmaker-crm-9999.ebuild, +files/wmaker.desktop, +metadata.xml:
First version, based on cleaned windowmaker ebuild

View File

@@ -0,0 +1,5 @@
AUX wmaker.desktop 221 RMD160 501ba6451f7e756cc3d07682d728bcd6fe55366d SHA1 acd95a41645fbef358459f8f4753056cb321497e SHA256 40359d3c61117f0dbc5eb547e4c369982427e8bc3174c95002d34eb30f9a4a84
DIST WindowMaker-extra-0.1.tar.gz 238018 RMD160 94334c2c12d20a8fd0cd2a70e54cd3689f043038 SHA1 80f34cb3af705ec0f79d727b82cef28ee50fc4e7 SHA256 acd6e1fb790485b107daf2b710da372367b41383c55d9c8bdfdac521d850edc4
EBUILD windowmaker-crm-9999.ebuild 2960 RMD160 f669c830168f4603864da326397f0e8a58045c1c SHA1 1d9d7a8db4ce916b340168631c8b9c6872e96826 SHA256 0616dc9f06d80585c3205493cffd0e3b120eaa7de7eacadf86b69d4b66c77f06
MISC ChangeLog 509 RMD160 710aff6b0f74226a893d4c5fdffad3c3fef91aa4 SHA1 5aa625742f7be8ca72c19ad9a28d9877e7fecf24 SHA256 441b049051e9207604ae166f228c60bb832f9762027359d20d2ae4a0e9ec9d7d
MISC metadata.xml 455 RMD160 41514c712d553ed4752ce045efca3d27dd036c19 SHA1 345b35512a60f3d19cf5fc4cebbfe30bd6006bf3 SHA256 7661636f854da151e83478668ff58943b0d80662f6abd2a209707d3d34b37c7c

View File

@@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
# The names/descriptions should really be better
Name=GNUStep WindowMaker
Comment=Use this session to run WindowMaker as your desktop environment
Exec=/usr/bin/wmaker
Icon=
Type=Application

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnustep</herd>
<use>
<flag name='modelock'>Enable XKB language status lock support. README
says: "If you don't know what it is you probably don't need
it."</flag>
<flag name='vdesktop'>Enable dynamic virtual desktop (conflicts with
software that works on the edges of the screen)</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,111 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit autotools git
DESCRIPTION="Fork from the last available CVS version of Window Maker"
HOMEPAGE="http://repo.or.cz/w/wmaker-crm.git"
SRC_URI="http://www.windowmaker.info/pub/source/release/WindowMaker-extra-0.1.tar.gz"
EGIT_REPO_URI="git://repo.or.cz/wmaker-crm.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="gif jpeg nls png tiff modelock +vdesktop xinerama"
DEPEND="x11-libs/libXv
>=x11-libs/libXft-2.1.0
x11-libs/libXt
media-libs/fontconfig
gif? ( >=media-libs/giflib-4.1.0-r3 )
png? ( >=media-libs/libpng-1.2.1 )
jpeg? ( virtual/jpeg )
tiff? ( >=media-libs/tiff-3.6.1-r2 )
xinerama? ( x11-libs/libXinerama )"
RDEPEND="${DEPEND}
!x11-wm/windowmaker
nls? ( >=sys-devel/gettext-0.10.39 )"
src_unpack() {
# wm-extras
unpack ${A}
git_src_unpack
}
src_prepare() {
for file in "${S}"/WindowMaker/*menu*; 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;
eautoreconf || die "eautoreconf failed"
}
src_configure() {
local myconf
# image format types
# xpm is provided by X itself
myconf="--enable-xpm $(use_enable png) $(use_enable jpeg) $(use_enable gif) $(use_enable tiff)"
# non required X capabilities
myconf="${myconf} $(use_enable modelock) $(use_enable xinerama)"
if use nls; then
[[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
else
myconf="${myconf} --disable-locale"
fi
# enable new features, need to be done via defines
append-flags -DNEWAPPICON
# default settings with $myconf appended
econf \
--sysconfdir="${EPREFIX}"/etc/X11 \
--with-x \
--enable-usermenu \
--with-pixmapdir="${EPREFIX}"/usr/share/pixmaps \
--with-nlsdir="${EPREFIX}"/usr/share/locale \
${myconf} || die
cd ../WindowMaker-extra-0.1
econf || die "windowmaker-extra: configure has failed"
}
src_compile() {
emake || die "windowmaker: make has failed"
# WindowMaker Extra Package (themes and icons)
cd ../WindowMaker-extra-0.1
emake || die "windowmaker-extra: make has failed"
}
src_install() {
emake DESTDIR="${D}" install || die "windowmaker: install has failed."
dodoc AUTHORS BUGFORM BUGS ChangeLog COPYING* INSTALL* FAQ* \
README* NEWS TODO
# WindowMaker Extra
cd ../WindowMaker-extra-0.1
emake DESTDIR="${D}" install || die "windowmaker-extra: install failed"
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 /etc/X11/dm/Sessions
doins "${FILESDIR}"/wmaker.desktop
make_desktop_entry /usr/bin/wmaker
}