summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-10-26 08:37:13 +0100
committerMichał Górny <mgorny@gentoo.org>2020-10-26 08:39:05 +0100
commit1d203150b80477ceeebf3c65fd1a4d303fc5189e (patch)
tree769876ecf5ec14daa225457a03bd31c66b729390 /games-board
parentnet-analyzer/sguil-server: Remove last-rited pkg (diff)
downloadgentoo-1d203150b80477ceeebf3c65fd1a4d303fc5189e.tar.gz
gentoo-1d203150b80477ceeebf3c65fd1a4d303fc5189e.tar.bz2
gentoo-1d203150b80477ceeebf3c65fd1a4d303fc5189e.zip
games-board/gnome-hearts: Remove last-rited pkg
Closes: https://bugs.gentoo.org/735360 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gnome-hearts/Manifest1
-rw-r--r--games-board/gnome-hearts/files/gnome-hearts-0.3.1-drop-libgnomeui.patch64
-rw-r--r--games-board/gnome-hearts/gnome-hearts-0.3.1-r2.ebuild45
-rw-r--r--games-board/gnome-hearts/metadata.xml12
4 files changed, 0 insertions, 122 deletions
diff --git a/games-board/gnome-hearts/Manifest b/games-board/gnome-hearts/Manifest
deleted file mode 100644
index 6bbb4fce33bb..000000000000
--- a/games-board/gnome-hearts/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST gnome-hearts-0.3.1.tar.gz 637916 BLAKE2B 6aa4a0c1d0d91316a896cd144e23b9a46066cd2d2c2a69d1fa1eb34094b5742810c5484c5950322a9c5b066ae72c974f9c4f0642baa7986df637654717669114 SHA512 5528c92bba80cc97ce1f51e3b2652b5d6b30c0e90e7a8f023dcdf5c3420b2d1fbab29fc3d974884d8cb351a44b8b97c05242f26b70d5e1d02d593a17452ad19f
diff --git a/games-board/gnome-hearts/files/gnome-hearts-0.3.1-drop-libgnomeui.patch b/games-board/gnome-hearts/files/gnome-hearts-0.3.1-drop-libgnomeui.patch
deleted file mode 100644
index 21c4e7b0896a..000000000000
--- a/games-board/gnome-hearts/files/gnome-hearts-0.3.1-drop-libgnomeui.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-diff -Naur gnome-hearts-0.3.1.orig/configure.in gnome-hearts-0.3.1/configure.in
---- gnome-hearts-0.3.1.orig/configure.in 2013-06-09 15:05:11.000000000 +0200
-+++ gnome-hearts-0.3.1/configure.in 2017-01-20 23:20:35.677689797 +0100
-@@ -23,7 +23,7 @@
- fi
-
- # Check for libraries. gmodule is required to make sure --export-dynamic is used and glade works
--PKG_CHECK_MODULES(GNOME_HEARTS, [libgnomeui-2.0 gtk+-2.0 libglade-2.0 glib-2.0 gmodule-2.0])
-+PKG_CHECK_MODULES(GNOME_HEARTS, [gtk+-2.0 libglade-2.0 glib-2.0 gmodule-2.0])
- AC_SUBST(GNOME_HEARTS_CFLAGS)
- AC_SUBST(GNOME_HEARTS_LIBS)
-
-diff -Naur gnome-hearts-0.3.1.orig/src/events.c gnome-hearts-0.3.1/src/events.c
---- gnome-hearts-0.3.1.orig/src/events.c 2013-06-09 15:01:08.000000000 +0200
-+++ gnome-hearts-0.3.1/src/events.c 2017-01-20 23:35:17.428651148 +0100
-@@ -71,13 +71,13 @@
- /* Open the help file */
- void on_help(GtkWidget *widget, gpointer data)
- {
-- gnome_help_display("gnome-hearts.xml", NULL, NULL);
-+ gtk_show_uri(NULL, "ghelp:gnome-hearts", GDK_CURRENT_TIME, NULL);
- }
-
- /* Open the preferences help file */
- void on_preferences_help(GtkWidget *widget, gpointer data)
- {
-- gnome_help_display("gnome-hearts.xml", "hearts-prefs", NULL);
-+ gtk_show_uri(NULL, "ghelp:gnome-hearts?hearts-prefs", GDK_CURRENT_TIME, NULL);
- }
-
- /* About menu item */
-diff -Naur gnome-hearts-0.3.1.orig/src/hearts.c gnome-hearts-0.3.1/src/hearts.c
---- gnome-hearts-0.3.1.orig/src/hearts.c 2013-06-09 15:01:08.000000000 +0200
-+++ gnome-hearts-0.3.1/src/hearts.c 2017-01-20 23:20:21.447210208 +0100
-@@ -534,15 +534,11 @@
- setlocale(LC_ALL, "");
- #endif
-
-- /* Initialize GNOME */
-+ /* Initialize GTK+ */
- GOptionContext *option_context = g_option_context_new(_("- Play a game of hearts"));
- g_option_context_add_main_entries(option_context, option_entries, GETTEXT_PACKAGE);
-
-- gnome_program_init(PACKAGE, VERSION, LIBGNOMEUI_MODULE,
-- argc, argv,
-- GNOME_PARAM_GOPTION_CONTEXT, option_context,
-- GNOME_PARAM_APP_DATADIR, PACKAGE_DATA_DIR,
-- GNOME_PARAM_NONE);
-+ gtk_init(&argc, &argv);
-
- /* init the game's global variables */
- game_score_labels = NULL;
-diff -Naur gnome-hearts-0.3.1.orig/src/hearts.h gnome-hearts-0.3.1/src/hearts.h
---- gnome-hearts-0.3.1.orig/src/hearts.h 2013-06-09 15:01:08.000000000 +0200
-+++ gnome-hearts-0.3.1/src/hearts.h 2017-01-20 23:22:33.691604109 +0100
-@@ -26,7 +26,7 @@
- /* headers */
- #include <glib/gi18n.h>
- #include <dirent.h>
--#include <gnome.h>
-+#include <gtk/gtk.h>
- #include <glade/glade.h>
- #include "cards.h"
- #include "cfg.h"
diff --git a/games-board/gnome-hearts/gnome-hearts-0.3.1-r2.ebuild b/games-board/gnome-hearts/gnome-hearts-0.3.1-r2.ebuild
deleted file mode 100644
index 3152898e365f..000000000000
--- a/games-board/gnome-hearts/gnome-hearts-0.3.1-r2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-GNOME2_EAUTORECONF="yes"
-PYTHON_COMPAT=( python2_7 )
-
-inherit gnome2 python-single-r1
-
-DESCRIPTION="A clone of classic hearts card game"
-HOMEPAGE="https://www.jejik.com/gnome-hearts/"
-SRC_URI="https://www.jejik.com/files/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2+ FDL-1.2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- x11-libs/gtk+:2
- >=gnome-base/libglade-2
-"
-DEPEND="${RDEPEND}
- app-text/rarian
- dev-util/intltool
- virtual/pkgconfig
-"
-
-src_prepare() {
- # make src_test work
- echo gnome-hearts.desktop.in >> po/POTFILES.skip
-
- sed -i \
- -e '/No name/d' \
- -e '/^Icon/s/.png//' \
- -e '/^Encoding/d' \
- gnome-hearts.desktop.in || die
-
- eapply "${FILESDIR}"/${P}-drop-libgnomeui.patch
-
- mv configure.in configure.ac || die
- gnome2_src_prepare
-}
diff --git a/games-board/gnome-hearts/metadata.xml b/games-board/gnome-hearts/metadata.xml
deleted file mode 100644
index ea35640ff889..000000000000
--- a/games-board/gnome-hearts/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
-</pkgmetadata>