* [gentoo-commits] gentoo-x86 commit in eclass: games-ggz.eclass
@ 2011-08-04 19:31 Tomas Chvatal (scarabeus)
0 siblings, 0 replies; 8+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2011-08-04 19:31 UTC (permalink / raw
To: gentoo-commits
scarabeus 11/08/04 19:31:38
Modified: games-ggz.eclass
Log:
Use word Updating rather than Installing as it is less confusing when being executed in postrm phase.
Revision Changes Path
1.7 eclass/games-ggz.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games-ggz.eclass?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games-ggz.eclass?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games-ggz.eclass?r1=1.6&r2=1.7
Index: games-ggz.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- games-ggz.eclass 19 Apr 2011 21:19:11 -0000 1.6
+++ games-ggz.eclass 4 Aug 2011 19:31:38 -0000 1.7
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.6 2011/04/19 21:19:11 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.7 2011/08/04 19:31:38 scarabeus Exp $
inherit base
@@ -55,7 +55,7 @@
mkdir -p "${confdir}"
echo -n > "${confdir}"/ggz.modules
if [[ -d ${moddir} ]] ; then
- ebegin "Installing GGZ modules"
+ ebegin "Updating GGZ modules"
cd "${moddir}"
find . -type f -name '*.dsc' | while read dsc ; do
DESTDIR=${ROOT} ggz-config -Dim "${dsc}" || ((rval++))
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: games-ggz.eclass
@ 2015-03-27 5:36 Michael Sterrett (mr_bones_)
0 siblings, 0 replies; 8+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2015-03-27 5:36 UTC (permalink / raw
To: gentoo-commits
mr_bones_ 15/03/27 05:36:47
Removed: games-ggz.eclass
Log:
clean unused eclass
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: games-ggz.eclass
@ 2012-04-23 7:16 Michael Sterrett (mr_bones_)
0 siblings, 0 replies; 8+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2012-04-23 7:16 UTC (permalink / raw
To: gentoo-commits
mr_bones_ 12/04/23 07:16:34
Modified: games-ggz.eclass
Log:
ggz-client-libs doesn't know about noregistry
Revision Changes Path
1.8 eclass/games-ggz.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games-ggz.eclass?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games-ggz.eclass?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games-ggz.eclass?r1=1.7&r2=1.8
Index: games-ggz.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- games-ggz.eclass 4 Aug 2011 19:31:38 -0000 1.7
+++ games-ggz.eclass 23 Apr 2012 07:16:34 -0000 1.8
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.7 2011/08/04 19:31:38 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.8 2012/04/23 07:16:34 mr_bones_ Exp $
inherit base
@@ -20,9 +20,11 @@
GGZ_MODDIR="/usr/share/ggz/modules"
games-ggz_src_configure() {
+ local reg="--enable-noregistry=\"${GGZ_MODDIR}\""
+ [[ ${PN} == ggz-client-libs ]] && reg=''
econf \
--disable-dependency-tracking \
- --enable-noregistry="${GGZ_MODDIR}" \
+ $reg \
$(has debug ${IUSE} && ! use debug && echo --disable-debug) \
"$@"
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: games-ggz.eclass
@ 2011-04-19 21:19 Tomas Chvatal (scarabeus)
0 siblings, 0 replies; 8+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2011-04-19 21:19 UTC (permalink / raw
To: gentoo-commits
scarabeus 11/04/19 21:19:11
Modified: games-ggz.eclass
Log:
Update EAPI handling to match reality and not silently ignore new eapis.
Revision Changes Path
1.6 eclass/games-ggz.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games-ggz.eclass?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games-ggz.eclass?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games-ggz.eclass?r1=1.5&r2=1.6
Index: games-ggz.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- games-ggz.eclass 1 Feb 2009 17:44:23 -0000 1.5
+++ games-ggz.eclass 19 Apr 2011 21:19:11 -0000 1.6
@@ -1,15 +1,18 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.5 2009/02/01 17:44:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.6 2011/04/19 21:19:11 scarabeus Exp $
inherit base
# For GGZ Gaming Zone packages
-case ${EAPI:-0} in
- 0|1) EXPORT_FUNCTIONS src_compile src_install pkg_postinst pkg_postrm ;;
- 2) EXPORT_FUNCTIONS src_configure src_compile src_install pkg_postinst pkg_postrm ;;
+GAMES_GGZ_EXPF="src_compile src_install pkg_postinst pkg_postrm"
+case "${EAPI:-0}" in
+ 2|3|4) GAMES_GGZ_EXPF+=" src_configure" ;;
+ 0|1) : ;;
+ *) die "EAPI=${EAPI} is not supported" ;;
esac
+EXPORT_FUNCTIONS ${GAMES_GGZ_EXPF}
HOMEPAGE="http://www.ggzgamingzone.org/"
SRC_URI="mirror://ggz/${PV}/${P}.tar.gz"
@@ -21,13 +24,11 @@
--disable-dependency-tracking \
--enable-noregistry="${GGZ_MODDIR}" \
$(has debug ${IUSE} && ! use debug && echo --disable-debug) \
- "$@" || die
+ "$@"
}
games-ggz_src_compile() {
- case ${EAPI:-0} in
- 0|1) games-ggz_src_configure "$@" ;;
- esac
+ has src_configure ${GAMES_GGZ_EXPF} || games-ggz_src_configure
emake || die "emake failed"
}
@@ -41,7 +42,7 @@
# Update ggz.modules with the .dsc files from ${GGZ_MODDIR}.
games-ggz_update_modules() {
- [[ ${EBUILD_PHASE} == "postinst" ]] || [[ ${EBUILD_PHASE} == "postrm" ]] \
+ [[ ${EBUILD_PHASE} == "postinst" || ${EBUILD_PHASE} == "postrm" ]] \
|| die "${FUNCNAME} can only be used in pkg_postinst or pkg_postrm"
# ggz-config needs libggz, so it could be broken
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: games-ggz.eclass
@ 2009-02-01 17:44 Michael Sterrett (mr_bones_)
0 siblings, 0 replies; 8+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2009-02-01 17:44 UTC (permalink / raw
To: gentoo-commits
mr_bones_ 09/02/01 17:44:23
Modified: games-ggz.eclass
Log:
inherit base because I lub PATCHES
Revision Changes Path
1.5 eclass/games-ggz.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?r1=1.4&r2=1.5
Index: games-ggz.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- games-ggz.eclass 11 Oct 2008 01:36:47 -0000 1.4
+++ games-ggz.eclass 1 Feb 2009 17:44:23 -0000 1.5
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.4 2008/10/11 01:36:47 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.5 2009/02/01 17:44:23 mr_bones_ Exp $
+
+inherit base
# For GGZ Gaming Zone packages
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: games-ggz.eclass
@ 2008-10-11 1:36 Tristan Heaven (nyhm)
0 siblings, 0 replies; 8+ messages in thread
From: Tristan Heaven (nyhm) @ 2008-10-11 1:36 UTC (permalink / raw
To: gentoo-commits
nyhm 08/10/11 01:36:47
Modified: games-ggz.eclass
Log:
EAPI 2 support
Revision Changes Path
1.4 eclass/games-ggz.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?r1=1.3&r2=1.4
Index: games-ggz.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- games-ggz.eclass 26 Mar 2008 14:35:11 -0000 1.3
+++ games-ggz.eclass 11 Oct 2008 01:36:47 -0000 1.4
@@ -1,29 +1,31 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.3 2008/03/26 14:35:11 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.4 2008/10/11 01:36:47 nyhm Exp $
# For GGZ Gaming Zone packages
-EXPORT_FUNCTIONS src_compile src_install pkg_postinst pkg_postrm
+case ${EAPI:-0} in
+ 0|1) EXPORT_FUNCTIONS src_compile src_install pkg_postinst pkg_postrm ;;
+ 2) EXPORT_FUNCTIONS src_configure src_compile src_install pkg_postinst pkg_postrm ;;
+esac
HOMEPAGE="http://www.ggzgamingzone.org/"
SRC_URI="mirror://ggz/${PV}/${P}.tar.gz"
GGZ_MODDIR="/usr/share/ggz/modules"
-# Output the configure option to disable "General Debugging"
-games-ggz_debug() {
- if has debug ${IUSE} && ! use debug ; then
- echo --disable-debug
- fi
-}
-
-games-ggz_src_compile() {
+games-ggz_src_configure() {
econf \
--disable-dependency-tracking \
--enable-noregistry="${GGZ_MODDIR}" \
- $(games-ggz_debug) \
+ $(has debug ${IUSE} && ! use debug && echo --disable-debug) \
"$@" || die
+}
+
+games-ggz_src_compile() {
+ case ${EAPI:-0} in
+ 0|1) games-ggz_src_configure "$@" ;;
+ esac
emake || die "emake failed"
}
@@ -62,7 +64,6 @@
# Register new modules
games-ggz_pkg_postinst() {
- has games ${INHERITED} && games_pkg_postinst
games-ggz_update_modules
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: games-ggz.eclass
@ 2008-03-26 14:35 Tristan Heaven (nyhm)
0 siblings, 0 replies; 8+ messages in thread
From: Tristan Heaven (nyhm) @ 2008-03-26 14:35 UTC (permalink / raw
To: gentoo-commits
nyhm 08/03/26 14:35:11
Modified: games-ggz.eclass
Log:
hide stderr when testing ggz-config, bug #214878
Revision Changes Path
1.3 eclass/games-ggz.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?r1=1.2&r2=1.3
Index: games-ggz.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- games-ggz.eclass 18 Feb 2008 18:12:16 -0000 1.2
+++ games-ggz.eclass 26 Mar 2008 14:35:11 -0000 1.3
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.2 2008/02/18 18:12:16 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.3 2008/03/26 14:35:11 nyhm Exp $
# For GGZ Gaming Zone packages
@@ -41,7 +41,7 @@
|| die "${FUNCNAME} can only be used in pkg_postinst or pkg_postrm"
# ggz-config needs libggz, so it could be broken
- ggz-config -h > /dev/null || return 1
+ ggz-config -h &> /dev/null || return 1
local confdir=${ROOT}/etc
local moddir=${ROOT}/${GGZ_MODDIR}
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: games-ggz.eclass
@ 2008-02-18 18:12 Tristan Heaven (nyhm)
0 siblings, 0 replies; 8+ messages in thread
From: Tristan Heaven (nyhm) @ 2008-02-18 18:12 UTC (permalink / raw
To: gentoo-commits
nyhm 08/02/18 18:12:16
Modified: games-ggz.eclass
Log:
modules can have names with spaces
Revision Changes Path
1.2 eclass/games-ggz.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-ggz.eclass?r1=1.1&r2=1.2
Index: games-ggz.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- games-ggz.eclass 22 Feb 2007 09:36:03 -0000 1.1
+++ games-ggz.eclass 18 Feb 2008 18:12:16 -0000 1.2
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.1 2007/02/22 09:36:03 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.2 2008/02/18 18:12:16 nyhm Exp $
# For GGZ Gaming Zone packages
@@ -40,7 +40,9 @@
[[ ${EBUILD_PHASE} == "postinst" ]] || [[ ${EBUILD_PHASE} == "postrm" ]] \
|| die "${FUNCNAME} can only be used in pkg_postinst or pkg_postrm"
- type -p ggz-config > /dev/null || return 1
+ # ggz-config needs libggz, so it could be broken
+ ggz-config -h > /dev/null || return 1
+
local confdir=${ROOT}/etc
local moddir=${ROOT}/${GGZ_MODDIR}
local dsc rval=0
@@ -50,9 +52,8 @@
if [[ -d ${moddir} ]] ; then
ebegin "Installing GGZ modules"
cd "${moddir}"
- for dsc in $(find . -type f -name '*.dsc') ; do
- debug-print ${dsc}
- DESTDIR=${ROOT} ggz-config -Dim ${dsc} || rval=1
+ find . -type f -name '*.dsc' | while read dsc ; do
+ DESTDIR=${ROOT} ggz-config -Dim "${dsc}" || ((rval++))
done
eend ${rval}
fi
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-03-27 5:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-04 19:31 [gentoo-commits] gentoo-x86 commit in eclass: games-ggz.eclass Tomas Chvatal (scarabeus)
-- strict thread matches above, loose matches on Subject: below --
2015-03-27 5:36 Michael Sterrett (mr_bones_)
2012-04-23 7:16 Michael Sterrett (mr_bones_)
2011-04-19 21:19 Tomas Chvatal (scarabeus)
2009-02-01 17:44 Michael Sterrett (mr_bones_)
2008-10-11 1:36 Tristan Heaven (nyhm)
2008-03-26 14:35 Tristan Heaven (nyhm)
2008-02-18 18:12 Tristan Heaven (nyhm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox