From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- games-board/gnono/Manifest | 5 + 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-r1.ebuild | 42 ++++++ games-board/gnono/metadata.xml | 11 ++ 5 files changed, 255 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-r1.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..6a02cc2fb4ab --- /dev/null +++ b/games-board/gnono/Manifest @@ -0,0 +1,5 @@ +AUX gnono-1.9.1-gentoo.patch 1622 BLAKE2B 48687601d821f70b377b8f45a06876a7932ab201302b52e14c793f099d0db070b56e264a8a2ed93a50b1c67d17edc0c9b031e369d00ea4e2a08ce893bb6e0952 SHA512 f899145fc7789dd4b10422871bdc6a432da75ba3e5433ee43ed6cfea8d3a2b25da0222cccbafdd1a8cd49d15164dd589c9bce6f80a148a432a6c3be05fa88655 +AUX gnono-1.9.1-glib-single-include.patch 3813 BLAKE2B b6b648b5fad1f687c93f09d1df6c2190d1f79603303c43f07e6645b387cc520a21bfa6f647825d7d9f1acc0f209d86acc92a4ee05bfd91db1f1974c216d62118 SHA512 3acc2b25587878b1da4a698d6ccfe3029715b173f4a44e97b8d41e899695a0eaf539906c00dce240602d03a86fe9a05c138de4f847e73eb1ef828d7d13506b3d +DIST gnono-1.9.1.tar.bz2 421461 BLAKE2B a4beb3c8382266e13b650b53de11fee4954b70d7bb0180b95e9ca3ead445bb18b8b541fa2973ab6d06e0c68d7f13149c0e4eadb378ccb94e9fa01cdaf139e1be SHA512 de67453cab0177d633b674ab2cf99b606373dc01e6d821478e8aa6adf9f0f40b04538e5d564df990739a62fb47225f83eff13ab6c12af26fe05afba309632d62 +EBUILD gnono-1.9.1-r1.ebuild 730 BLAKE2B a4d8b2c38afea866b82184a227b32ff4d0ae1dddc6ae547e03500d7818bb7a720e0c4a6f9ad8c9ed51274433252c699f2a266f86731b39b1ed000c1cf881f272 SHA512 cd377d0c2c5e2dfa03fe28b5a9321b021a17c3f2693eb2ccb0d57a1ee7423b24489e1d21923c5aef542b8305cf35528fb249df537b18e59e88b46d4b3bb44fb9 +MISC metadata.xml 328 BLAKE2B 0a5781d403e17f1062512fd65452e403ef328c76f6819df05b9eaa8c487ab84d8b2350910fb38e873fde5a382bbe66c4c4b0d0f62cb269c7b2f63faf57050f79 SHA512 c7c67d8b49d13c69d7a9ff321f8733676fbf7155fbd98c7db3f60bd986f1ecb23006d6b77322603eaaaeb42bacae46db39c2c5504551f87e8951db25b66cf7ab 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-r1.ebuild b/games-board/gnono/gnono-1.9.1-r1.ebuild new file mode 100644 index 000000000000..9d5ede968dd4 --- /dev/null +++ b/games-board/gnono/gnono-1.9.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils gnome2-utils + +DESCRIPTION="A rewrite for GNOME of the Windows card game WUNO" +HOMEPAGE="https://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" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-glib-single-include.patch +) + +src_prepare() { + default + + eautoreconf +} + +pkg_preinst() { + gnome2_icon_savelist +} + +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..53a5689a737a --- /dev/null +++ b/games-board/gnono/metadata.xml @@ -0,0 +1,11 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + gnono + + -- cgit v1.2.3