From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- games-board/gnono/Manifest | 1 + games-board/gnono/files/gnono-1.9.1-gentoo.patch | 46 +++++++ .../files/gnono-1.9.1-glib-single-include.patch | 151 +++++++++++++++++++++ games-board/gnono/gnono-1.9.1.ebuild | 46 +++++++ games-board/gnono/metadata.xml | 8 ++ 5 files changed, 252 insertions(+) create mode 100644 games-board/gnono/Manifest create mode 100644 games-board/gnono/files/gnono-1.9.1-gentoo.patch create mode 100644 games-board/gnono/files/gnono-1.9.1-glib-single-include.patch create mode 100644 games-board/gnono/gnono-1.9.1.ebuild create mode 100644 games-board/gnono/metadata.xml (limited to 'games-board/gnono') diff --git a/games-board/gnono/Manifest b/games-board/gnono/Manifest new file mode 100644 index 000000000000..384f89121b2f --- /dev/null +++ b/games-board/gnono/Manifest @@ -0,0 +1 @@ +DIST gnono-1.9.1.tar.bz2 421461 SHA256 1fd8ddcd2da5333210046ae1d6e710b597193c6f550ae1c82f729a0473bde60c SHA512 de67453cab0177d633b674ab2cf99b606373dc01e6d821478e8aa6adf9f0f40b04538e5d564df990739a62fb47225f83eff13ab6c12af26fe05afba309632d62 WHIRLPOOL 8b950b96c16e7c6290b5f4f6156404d96521e124516234fdf561ba4f55c63bd93366676ad0184e6c43f10e7dceef85e076dd999cf6c3c03595c75f9eade3ff8b diff --git a/games-board/gnono/files/gnono-1.9.1-gentoo.patch b/games-board/gnono/files/gnono-1.9.1-gentoo.patch new file mode 100644 index 000000000000..68378b9d461c --- /dev/null +++ b/games-board/gnono/files/gnono-1.9.1-gentoo.patch @@ -0,0 +1,46 @@ +diff -ru gnono-1.9.1.orig/pixmaps/Makefile.am gnono-1.9.1/pixmaps/Makefile.am +--- gnono-1.9.1.orig/pixmaps/Makefile.am 2006-12-15 01:18:18.000000000 -0500 ++++ gnono-1.9.1/pixmaps/Makefile.am 2009-11-03 00:21:57.186128499 -0500 +@@ -1,9 +1,9 @@ + ## Process this file with automake to produce Makefile.in + +-pixmapdir = $(datadir)/pixmaps ++pixmapdir = $(pkgdatadir)/pixmaps + pixmap_DATA = gnono-about.png + +-hicolordir = $(datadir)/icons/hicolor ++hicolordir = /usr/share/icons/hicolor + + install-data-local: + @for depth in 16x16 22x22 24x24 32x32 48x48 ; do \ +diff -ru gnono-1.9.1.orig/po/Makefile.in.in gnono-1.9.1/po/Makefile.in.in +--- gnono-1.9.1.orig/po/Makefile.in.in 2007-02-18 00:58:11.000000000 -0500 ++++ gnono-1.9.1/po/Makefile.in.in 2009-11-03 00:21:57.187135081 -0500 +@@ -34,7 +34,7 @@ + datarootdir = @datarootdir@ + libdir = @libdir@ + DATADIRNAME = @DATADIRNAME@ +-itlocaledir = $(prefix)/$(DATADIRNAME)/locale ++itlocaledir = /usr/share/locale + subdir = po + install_sh = @install_sh@ + # Automake >= 1.8 provides @mkdir_p@. +diff -ru gnono-1.9.1.orig/src/Makefile.am gnono-1.9.1/src/Makefile.am +--- gnono-1.9.1.orig/src/Makefile.am 2007-01-02 00:42:42.000000000 -0500 ++++ gnono-1.9.1/src/Makefile.am 2009-11-03 00:22:15.086296528 -0500 +@@ -3,12 +3,10 @@ + SUBDIRS = xpm + + INCLUDES = \ +- -Wall -Werror \ ++ -Wall \ + -DG_LOG_DOMAIN=\"$(PACKAGE)\" \ +- -DG_DISABLE_DEPRECATED \ +- -DGTK_DISABLE_DEPRECATED \ +- -DLOCALEDIR="\"$(datadir)/locale\"" \ +- -DPIXMAPDIR="\"$(datadir)/pixmaps\"" \ ++ -DLOCALEDIR="\"/usr/share/locale\"" \ ++ -DPIXMAPDIR="\"$(pkgdatadir)/pixmaps\"" \ + $(LIBGNOMEUI_CFLAGS) + + bin_PROGRAMS = gnono diff --git a/games-board/gnono/files/gnono-1.9.1-glib-single-include.patch b/games-board/gnono/files/gnono-1.9.1-glib-single-include.patch new file mode 100644 index 000000000000..edf5238c1475 --- /dev/null +++ b/games-board/gnono/files/gnono-1.9.1-glib-single-include.patch @@ -0,0 +1,151 @@ +Index: gnono-1.9.1/src/ai.c +=================================================================== +--- gnono-1.9.1.orig/src/ai.c ++++ gnono-1.9.1/src/ai.c +@@ -24,9 +24,7 @@ + #include + #endif + +-#include +-#include +-#include ++#include + + #include "cards.h" + #include "game.h" +Index: gnono-1.9.1/src/ai.h +=================================================================== +--- gnono-1.9.1.orig/src/ai.h ++++ gnono-1.9.1/src/ai.h +@@ -23,7 +23,7 @@ + #ifndef __GN_AI_H__ + #define __GN_AI_H__ + +-#include ++#include + + void computer_play (gboolean pickup); + +Index: gnono-1.9.1/src/cards.c +=================================================================== +--- gnono-1.9.1.orig/src/cards.c ++++ gnono-1.9.1/src/cards.c +@@ -25,9 +25,7 @@ + #endif + + #include /* for rand() */ +-#include +-#include +-#include ++#include + #include + + #include "cards.h" +Index: gnono-1.9.1/src/cards.h +=================================================================== +--- gnono-1.9.1.orig/src/cards.h ++++ gnono-1.9.1/src/cards.h +@@ -23,7 +23,7 @@ + #ifndef __GN_CARDS_H__ + #define __GN_CARDS_H__ + +-#include ++#include + #include + + static const gdouble GN_CARD_HEIGHT = 98.0; +Index: gnono-1.9.1/src/game.c +=================================================================== +--- gnono-1.9.1.orig/src/game.c ++++ gnono-1.9.1/src/game.c +@@ -24,9 +24,7 @@ + #include + #endif + +-#include +-#include +-#include ++#include + #include + #include + +Index: gnono-1.9.1/src/game.h +=================================================================== +--- gnono-1.9.1.orig/src/game.h ++++ gnono-1.9.1/src/game.h +@@ -23,7 +23,7 @@ + #ifndef __GN_GAME_H__ + #define __GN_GAME_H__ + +-#include ++#include + + /*#define GN_DEBUG*/ + +Index: gnono-1.9.1/src/interface.h +=================================================================== +--- gnono-1.9.1.orig/src/interface.h ++++ gnono-1.9.1/src/interface.h +@@ -23,7 +23,7 @@ + #ifndef __GN_INTERFACE_H__ + #define __GN_INTERFACE_H__ + +-#include ++#include + #include + #include + +Index: gnono-1.9.1/src/main.c +=================================================================== +--- gnono-1.9.1.orig/src/main.c ++++ gnono-1.9.1/src/main.c +@@ -26,7 +26,7 @@ + + #include + #include +-#include ++#include + #include + + #include "interface.h" +Index: gnono-1.9.1/src/players.c +=================================================================== +--- gnono-1.9.1.orig/src/players.c ++++ gnono-1.9.1/src/players.c +@@ -24,8 +24,7 @@ + #include + #endif + +-#include +-#include ++#include + #include + #include + #include +Index: gnono-1.9.1/src/players.h +=================================================================== +--- gnono-1.9.1.orig/src/players.h ++++ gnono-1.9.1/src/players.h +@@ -23,8 +23,7 @@ + #ifndef __GN_PLAYERS_H__ + #define __GN_PLAYERS_H__ + +-#include +-#include ++#include + + #include "cards.h" + +Index: gnono-1.9.1/src/preferences.h +=================================================================== +--- gnono-1.9.1.orig/src/preferences.h ++++ gnono-1.9.1/src/preferences.h +@@ -23,7 +23,7 @@ + #ifndef __GN_PREFERENCES_H__ + #define __GN_PREFERENCES_H__ + +-#include ++#include + #include + + void dlg_preferences (GtkWidget *caller, gpointer data); diff --git a/games-board/gnono/gnono-1.9.1.ebuild b/games-board/gnono/gnono-1.9.1.ebuild new file mode 100644 index 000000000000..9480fe021f2d --- /dev/null +++ b/games-board/gnono/gnono-1.9.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils gnome2-utils games + +DESCRIPTION="A rewrite for GNOME of the Windows card game WUNO" +HOMEPAGE="http://sourceforge.net/projects/gnono/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="gnome-base/libgnomeui + virtual/libintl" +DEPEND="${RDEPEND} + sys-devel/gettext" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-glib-single-include.patch + eautoreconf +} + +src_install() { + default + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-board/gnono/metadata.xml b/games-board/gnono/metadata.xml new file mode 100644 index 000000000000..75dd96ff216d --- /dev/null +++ b/games-board/gnono/metadata.xml @@ -0,0 +1,8 @@ + + + + games + + gnono + + -- cgit v1.2.3-65-gdbad