From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../files/lucidlife-0.9.2-gnome-vfs.patch | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch (limited to 'games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch') 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 + #include +-#include +-#include + + #include + #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; -- cgit v1.2.3