summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-01-24 19:31:59 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-01-24 19:31:59 +0000
commit98eea075495169906198274f1505503bb01338fa (patch)
tree7825ee5bc302425c10d84370dcd45b4c27080c0f /games-board/gnubg
parentold (diff)
downloadgentoo-2-98eea075495169906198274f1505503bb01338fa.tar.gz
gentoo-2-98eea075495169906198274f1505503bb01338fa.tar.bz2
gentoo-2-98eea075495169906198274f1505503bb01338fa.zip
old
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-board/gnubg')
-rw-r--r--games-board/gnubg/ChangeLog7
-rw-r--r--games-board/gnubg/files/gnubg-20101126-build.patch49
-rw-r--r--games-board/gnubg/files/gnubg-20120806-build.patch33
-rw-r--r--games-board/gnubg/gnubg-20101126.ebuild80
-rw-r--r--games-board/gnubg/gnubg-20120806.ebuild96
5 files changed, 6 insertions, 259 deletions
diff --git a/games-board/gnubg/ChangeLog b/games-board/gnubg/ChangeLog
index e8e6bbf0b568..663b39012cba 100644
--- a/games-board/gnubg/ChangeLog
+++ b/games-board/gnubg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-board/gnubg
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.68 2013/01/13 11:29:37 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.69 2013/01/24 19:31:58 mr_bones_ Exp $
+
+ 24 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/gnubg-20101126-build.patch, -files/gnubg-20120806-build.patch,
+ -gnubg-20101126.ebuild, -gnubg-20120806.ebuild:
+ old
13 Jan 2013; Agostino Sarubbo <ago@gentoo.org> gnubg-20121201.ebuild:
Stable for x86, wrt bug #450056
diff --git a/games-board/gnubg/files/gnubg-20101126-build.patch b/games-board/gnubg/files/gnubg-20101126-build.patch
deleted file mode 100644
index 7251cda92c5e..000000000000
--- a/games-board/gnubg/files/gnubg-20101126-build.patch
+++ /dev/null
@@ -1,49 +0,0 @@
---- gnubg.orig/Makefile.am
-+++ gnubg/Makefile.am
-@@ -2,9 +2,9 @@
-
- ACLOCAL_AMFLAGS = -I m4
-
--AM_CPPFLAGS = -DDOCDIR='"$(datadir)/doc/gnubg/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"'
-+AM_CPPFLAGS = -DDOCDIR='"@docdir@/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"'
-
--SUBDIRS = lib doc met po m4 xpm sounds board3d textures scripts flags fonts non-src pixmaps .
-+SUBDIRS = lib doc met po m4 xpm sounds board3d textures scripts flags non-src pixmaps .
-
- bin_PROGRAMS = gnubg makebearoff makehyper bearoffdump makeweights
-
---- gnubg.orig/doc/Makefile.am
-+++ gnubg/doc/Makefile.am
-@@ -1,6 +1,6 @@
--AM_CPPFLAGS = -DDOCDIR='"$(datadir)/doc/gnubg/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"'
--gnubg_helpdir = $(datadir)/doc/gnubg/
--gnubg_imagedir = $(datadir)/doc/gnubg/images
-+AM_CPPFLAGS = -DDOCDIR='"@docdir@/"' -DDATADIR='"$(datadir)"' -DPKGDATADIR='"$(datadir)/gnubg"'
-+gnubg_helpdir = @docdir@/
-+gnubg_imagedir = @docdir@/images
- gnubg_help_DATA = gnubg.html allabout.html
- gnubg_image_DATA = images/1540d81e.png images/16d7944c.png images/1805dc7d.png \
- images/20bc52ca.png images/20d56757.png images/234924dc.png images/26e34ea5.png \
---- gnubg.orig/pixmaps/Makefile.am
-+++ gnubg/pixmaps/Makefile.am
-@@ -1,5 +1,5 @@
--gnubgiconsdir = $(datadir)
--gnubgpixmapsdir = $(pkgdatadir)/pixmaps
-+gnubgiconsdir = /usr/share
-+gnubgpixmapsdir = /usr/share/pixmaps
-
- ICONS_16_SCALABLE = icons/hicolor/16x16/apps/scalable/gnubg.svg
- ICONS_16 = icons/hicolor/16x16/apps/gnubg.png
---- gnubg.orig/po/Makefile.in.in
-+++ gnubg/po/Makefile.in.in
-@@ -28,8 +28,8 @@
- datarootdir = @datarootdir@
- datadir = @datadir@
- libdir = @libdir@
--localedir = $(libdir)/locale
--gnulocaledir = $(datadir)/locale
-+localedir = @localedir@
-+gnulocaledir = @localedir@
- gettextsrcdir = $(datadir)/glib-2.0/gettext/po
- subdir = po
-
diff --git a/games-board/gnubg/files/gnubg-20120806-build.patch b/games-board/gnubg/files/gnubg-20120806-build.patch
deleted file mode 100644
index f5a94750733c..000000000000
--- a/games-board/gnubg/files/gnubg-20120806-build.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- gnubg.orig/Makefile.am
-+++ gnubg/Makefile.am
-@@ -2,7 +2,7 @@
-
- ACLOCAL_AMFLAGS = -I m4
-
--AM_CPPFLAGS = -DAC_DOCDIR='"$(datadir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"'
-+AM_CPPFLAGS = -DAC_DOCDIR='"@docdir@"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"'
-
- SUBDIRS = lib doc met po m4 sounds board3d textures scripts flags fonts non-src pixmaps .
-
---- gnubg.orig/doc/Makefile.am
-+++ gnubg/doc/Makefile.am
-@@ -1,6 +1,6 @@
--AM_CPPFLAGS = -DAC_DOCDIR='"$(datadir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"'
--gnubg_helpdir = $(datadir)/doc/gnubg/
--gnubg_imagedir = $(datadir)/doc/gnubg/images
-+AM_CPPFLAGS = -DAC_DOCDIR='"@docdir@"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"'
-+gnubg_helpdir = @docdir@
-+gnubg_imagedir = @docdir@/images
- gnubg_help_DATA = gnubg.html allabout.html
- gnubg_image_DATA = images/1540d81e.png images/16d7944c.png images/1805dc7d.png \
- images/20bc52ca.png images/20d56757.png images/234924dc.png images/26e34ea5.png \
---- gnubg.orig/pixmaps/Makefile.am
-+++ gnubg/pixmaps/Makefile.am
-@@ -1,5 +1,5 @@
--gnubgiconsdir = $(datadir)
--gnubgpixmapsdir = $(pkgdatadir)/pixmaps
-+gnubgiconsdir = /usr/share
-+gnubgpixmapsdir = /usr/share/pixmaps
-
- ICONS_16_SCALABLE = icons/hicolor/16x16/apps/scalable/gnubg.svg
- ICONS_16 = icons/hicolor/16x16/apps/gnubg.png
diff --git a/games-board/gnubg/gnubg-20101126.ebuild b/games-board/gnubg/gnubg-20101126.ebuild
deleted file mode 100644
index c03a5dd9eb5d..000000000000
--- a/games-board/gnubg/gnubg-20101126.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-20101126.ebuild,v 1.5 2012/05/04 04:30:10 jdhore Exp $
-
-EAPI=2
-PYTHON_DEPEND="python? 2"
-inherit autotools eutils python games
-
-DESCRIPTION="GNU BackGammon"
-HOMEPAGE="http://www.gnubg.org/"
-SRC_URI="http://www.gnubg.org/media/sources/${PN}-source-SNAPSHOT-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ppc ppc64 x86 ~x86-fbsd"
-IUSE="gtk opengl python threads"
-
-GTK_DEPS="
- x11-libs/gtk+:2
- x11-libs/cairo
- x11-libs/pango"
-RDEPEND="dev-libs/glib:2
- media-libs/libpng
- dev-libs/libxml2
- media-libs/freetype:2
- media-libs/libcanberra
- gtk? ( ${GTK_DEPS} )
- opengl? (
- ${GTK_DEPS}
- x11-libs/gtkglext
- >=media-libs/ftgl-2.1.2-r1
- )
- sys-libs/readline
- python? ( dev-lang/python )
- media-fonts/ttf-bitstream-vera
- virtual/libintl
- dev-db/sqlite:3"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- sys-devel/gettext"
-
-S=${WORKDIR}/${PN}
-
-pkg_setup() {
- python_set_active_version 2
- games_pkg_setup
-}
-
-src_prepare() {
- # use ${T} instead of /tmp for constructing credits (bug #298275)
- sed -i \
- -e 's:/tmp:${T}:' \
- credits.sh \
- || die 'sed failed'
- epatch "${FILESDIR}"/${P}-build.patch
- python_convert_shebangs -r 2 python-config
- eautoreconf
-}
-
-src_configure() {
- egamesconf \
- --disable-dependency-tracking \
- --localedir=/usr/share/locale \
- --docdir=/usr/share/doc/${PF}/html \
- $(use_enable threads) \
- $(use_with python) \
- $(use gtk || use opengl && echo --with-gtk) \
- $(use_with opengl board3d)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- insinto "${GAMES_DATADIR}/${PN}"
- doins ${PN}.weights *bd || die "doins failed"
- dodoc AUTHORS README NEWS
- dosym /usr/share/fonts/ttf-bitstream-vera "${GAMES_DATADIR}"/${PN}/fonts
- newicon textures/logo.png gnubg.png
- make_desktop_entry "gnubg -w" "GNU Backgammon"
- prepgamesdirs
-}
diff --git a/games-board/gnubg/gnubg-20120806.ebuild b/games-board/gnubg/gnubg-20120806.ebuild
deleted file mode 100644
index 2451498250c5..000000000000
--- a/games-board/gnubg/gnubg-20120806.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-20120806.ebuild,v 1.4 2012/12/04 15:38:03 ago Exp $
-
-EAPI=4
-PYTHON_DEPEND="python? 2"
-inherit autotools eutils python gnome2-utils games
-
-DESCRIPTION="GNU BackGammon"
-HOMEPAGE="http://www.gnubg.org/"
-SRC_URI="http://www.gnubg.org/media/sources/${PN}-source-SNAPSHOT-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
-IUSE="gtk opengl python threads"
-
-GTK_DEPS="
- x11-libs/gtk+:2
- x11-libs/cairo
- x11-libs/pango"
-RDEPEND="dev-libs/glib:2
- media-libs/libpng:0
- dev-libs/libxml2
- media-libs/freetype:2
- media-libs/libcanberra
- gtk? ( ${GTK_DEPS} )
- opengl? (
- ${GTK_DEPS}
- x11-libs/gtkglext
- >=media-libs/ftgl-2.1.2-r1
- )
- sys-libs/readline
- python? ( dev-lang/python )
- media-fonts/ttf-bitstream-vera
- virtual/libintl
- dev-db/sqlite:3"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- sys-devel/gettext"
-
-S=${WORKDIR}/${PN}
-
-pkg_setup() {
- python_pkg_setup
- games_pkg_setup
- python_set_active_version 2
-}
-
-src_prepare() {
- # use ${T} instead of /tmp for constructing credits (bug #298275)
- sed -i -e 's:/tmp:${T}:' credits.sh || die
- epatch "${FILESDIR}"/${P}-build.patch
- python_convert_shebangs -r 2 python-config
- eautoreconf
- sed -i \
- -e 's#^localedir =.*$#localedir = @localedir@#' \
- -e 's#^gnulocaledir =.*$#gnulocaledir = @localedir@#' \
- po/Makefile.in.in || die
-}
-
-src_configure() {
- egamesconf \
- --disable-dependency-tracking \
- --localedir=/usr/share/locale \
- --docdir=/usr/share/doc/${PF}/html \
- $(use_enable threads) \
- $(use_with python) \
- $(use gtk || use opengl && echo --with-gtk) \
- $(use_with opengl board3d)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- insinto "${GAMES_DATADIR}/${PN}"
- doins ${PN}.weights *bd
- dodoc AUTHORS README NEWS
- dosym /usr/share/fonts/ttf-bitstream-vera "${GAMES_DATADIR}"/${PN}/fonts/ttf-bitstream-vera
- newicon textures/logo.png gnubg.png
- make_desktop_entry "gnubg -w" "GNU Backgammon"
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}