summaryrefslogtreecommitdiff
path: root/games-misc/lucidlife
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc/lucidlife')
-rw-r--r--games-misc/lucidlife/Manifest5
-rw-r--r--games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch70
-rw-r--r--games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch11
-rw-r--r--games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild41
-rw-r--r--games-misc/lucidlife/metadata.xml12
5 files changed, 139 insertions, 0 deletions
diff --git a/games-misc/lucidlife/Manifest b/games-misc/lucidlife/Manifest
new file mode 100644
index 000000000000..f6af08908833
--- /dev/null
+++ b/games-misc/lucidlife/Manifest
@@ -0,0 +1,5 @@
+AUX lucidlife-0.9.2-gnome-vfs.patch 1549 BLAKE2B 5960dd039064aaa1d1878b596d847fa939316b6d1b75b68b6060c681a8af65d6a5e4b6cec02fe6e9d72c55b6de488785070ffdb65b15ee63f57dca544edfe5d8 SHA512 57048afec7111940aed0388f17bd4bac9a6e7046d09c07067f0414267a2877cda5d0d04d8ab2a46caea1e6680b7b26a407780c3e77b3d3dc6b2d939364585426
+AUX lucidlife-0.9.2-underlink.patch 317 BLAKE2B 407129ced5f5b9fbe22c6b450c6834fb0f2ce7e59f4d34970826cbbaee1e4b470088995943b8fbc2cf0bd0febcf7f9056e16b178fad4dcd0b7f4901158036134 SHA512 ee33861f9d3f79e1d662ce5ce5c1d1a47aba87b9a45dd04c93ede13ed6d85c0a7365b0f1cca2e7fcf65960985f295ccb12197fcd44679b6196ae1cba11643592
+DIST lucidlife-0.9.2.tar.gz 1506448 BLAKE2B 8e391a60d9cade2c57dece9397f55b945a9b5e182d81f2cceec2e93deea11f50ee250e1b19ecc1a6e88ed437bba98beef4cc098505406d2dce6164de5d07404a SHA512 5184d6a5a2d48b38b2a72edbab6ca4f251547e5c54234792d3821482d39e5fbb2b96ab171544dc3e6843f9976c1dc40935eb3537dcf06c1cb0c717260bd04b01
+EBUILD lucidlife-0.9.2-r1.ebuild 830 BLAKE2B 3642f5d965a9d9da1bb02409e81a3e4d233539e397d88a17316f12dedf2765f5614a662df69239b8a3520918c7806169a5562acc773c5f73ed4e69b2ea358b58 SHA512 692bfa894ff1348544e9204b24c1cfb5be246f76f602bef0b6c827508588d6d05321220b0283d2e9b38c3f71f43e0f3dcc2ddaa3666568cb554ae8456a1240c1
+MISC metadata.xml 345 BLAKE2B 3eae0996b5df53c65b61ec7e2061c3d3d475e61cead9295f94e58c345bcd1b569c3c820bd8452bf94e74363cdd10b6d9c1e5b92eed8951db6d9ad06497215c8e SHA512 2efea20f36611448fa9cfb3f6137f0b78b74c5515c5dbf482e02b47c0cea22fd0e7f6da9d29a31b1a85ba827269cf7a71f5786d3ff487f48850a4c756196bc89
diff --git a/games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch b/games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch
new file mode 100644
index 000000000000..49918b62146a
--- /dev/null
+++ b/games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch
@@ -0,0 +1,70 @@
+--- lucidlife-0.9.2/configure.ac
++++ lucidlife-0.9.2/configure.ac
+@@ -23,7 +23,7 @@
+ AC_SUBST(CFLAGS)
+ AC_SUBST(LDFLAGS)
+
+-GNOME_MODULES="[gtk+-2.0 >= 2.6.0 gnome-vfs-2.0 >= 2.0.0]"
++GNOME_MODULES="[gtk+-2.0 >= 2.6.0]"
+ PKG_CHECK_MODULES(GNOME, $GNOME_MODULES)
+ AC_SUBST(GNOME_CFLAGS)
+ AC_SUBST(GNOME_LIBS)
+--- lucidlife-0.9.2/src/lucidlife.c
++++ lucidlife-0.9.2/src/lucidlife.c
+@@ -35,8 +35,6 @@
+
+ #include <gtk/gtk.h>
+ #include <glib.h>
+-#include <libgnomevfs/gnome-vfs-init.h>
+-#include <libgnomevfs/gnome-vfs-utils.h>
+
+ #include <libintl.h>
+ #define _(String) gettext (String)
+@@ -418,7 +416,6 @@
+ state_from_config();
+ load_recent_files_list();
+
+- gnome_vfs_init();
+ gtk_init(&argc, &argv);
+ init_gui();
+
+@@ -445,8 +442,6 @@
+
+ main_loop();
+
+- gnome_vfs_shutdown();
+-
+ return 0;
+ }
+
+@@ -1635,7 +1630,7 @@
+
+ void activate_url(GtkAboutDialog *about, const gchar *url, gpointer data)
+ {
+- gnome_vfs_url_show (url);
++ gtk_show_uri (NULL, url, GDK_CURRENT_TIME, NULL );
+ }
+
+ /*** Bound Function Helpers ***/
+@@ -1859,7 +1856,7 @@
+ char* url;
+
+ url = dsprintf("file://%s/%s", DOCDIR, filename);
+- gnome_vfs_url_show(url);
++ gtk_show_uri (NULL, url, GDK_CURRENT_TIME, NULL );
+ free(url);
+ }
+
+--- lucidlife-0.9.2/lucidlife.desktop.in
++++ lucidlife-0.9.2/lucidlife.desktop.in
+@@ -2,8 +2,7 @@
+ Name=LucidLife
+ Comment=A user-friendly version of Conway's game of life
+ Exec=lucidlife
+-Icon=lucidlife.png
++Icon=lucidlife
+ Terminal=false
+ Type=Application
+-Categories=GNOME;Application;Game;
+-Encoding=UTF-8
++Categories=GNOME;GTK;Game;
diff --git a/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch b/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch
new file mode 100644
index 000000000000..77bd7092b812
--- /dev/null
+++ b/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile.am 2011-06-17 17:31:54.078600741 +0200
++++ b/src/Makefile.am 2011-06-17 17:32:05.491299944 +0200
+@@ -2,7 +2,7 @@
+ -DDATADIR=\""$(datadir)/lucidlife"\" \
+ -DDOCDIR=\""$(datadir)/doc/lucidlife"\"
+
+-LIBS = $(GNOME_LIBS)
++LIBS = $(GNOME_LIBS) -lX11
+
+ bin_PROGRAMS = lucidlife
+
diff --git a/games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild b/games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild
new file mode 100644
index 000000000000..33faf6200942
--- /dev/null
+++ b/games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="A Conway's Life simulator written in GTK+2 - fork from Gtklife"
+HOMEPAGE="http://gtk-apps.org/content/show.php/LucidLife?content=130867"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${DEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gnome-vfs.patch
+ "${FILESDIR}"/${P}-underlink.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+ intltoolize --force --copy --automake || die
+}
+
+src_install() {
+ emake install \
+ desktopdir=/usr/share/applications \
+ pixmapdir=/usr/share/pixmaps \
+ DESTDIR="${D}"
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/games-misc/lucidlife/metadata.xml b/games-misc/lucidlife/metadata.xml
new file mode 100644
index 000000000000..abfb35545a8e
--- /dev/null
+++ b/games-misc/lucidlife/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+<maintainer type="project">
+<email>games@gentoo.org</email>
+<name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>