summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-04-17 00:27:01 +0000
committerManuel Rüger <mrueg@gentoo.org>2015-04-17 00:27:01 +0000
commit92aa51d2f536b67c047a2462ccd2386316643fb7 (patch)
tree0b706979b44607775397285067d18ea1465b523f /app-misc/gtk-sunlight
parentRemove old. (diff)
downloadgentoo-2-92aa51d2f536b67c047a2462ccd2386316643fb7.tar.gz
gentoo-2-92aa51d2f536b67c047a2462ccd2386316643fb7.tar.bz2
gentoo-2-92aa51d2f536b67c047a2462ccd2386316643fb7.zip
Remove old.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'app-misc/gtk-sunlight')
-rw-r--r--app-misc/gtk-sunlight/ChangeLog10
-rw-r--r--app-misc/gtk-sunlight/files/gtk-sunlight-0.2.1-makefile.patch21
-rw-r--r--app-misc/gtk-sunlight/files/gtk-sunlight-0.2.1.patch93
-rw-r--r--app-misc/gtk-sunlight/gtk-sunlight-0.2.1.ebuild35
4 files changed, 7 insertions, 152 deletions
diff --git a/app-misc/gtk-sunlight/ChangeLog b/app-misc/gtk-sunlight/ChangeLog
index b7bfa232b4ec..d2c19e714615 100644
--- a/app-misc/gtk-sunlight/ChangeLog
+++ b/app-misc/gtk-sunlight/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/gtk-sunlight
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gtk-sunlight/ChangeLog,v 1.3 2012/06/11 08:28:29 xmw Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gtk-sunlight/ChangeLog,v 1.4 2015/04/17 00:27:01 mrueg Exp $
+
+ 17 Apr 2015; Manuel Rüger <mrueg@gentoo.org>
+ -files/gtk-sunlight-0.2.1-makefile.patch, -files/gtk-sunlight-0.2.1.patch,
+ -gtk-sunlight-0.2.1.ebuild:
+ Remove old.
*gtk-sunlight-0.4.2 (11 Jun 2012)
@@ -17,4 +22,3 @@
+files/gtk-sunlight-0.2.1-makefile.patch, +files/gtk-sunlight-0.2.1.patch,
+metadata.xml:
Initial import, fixes bug 342975 by David <write2David@gmail.com>.
-
diff --git a/app-misc/gtk-sunlight/files/gtk-sunlight-0.2.1-makefile.patch b/app-misc/gtk-sunlight/files/gtk-sunlight-0.2.1-makefile.patch
deleted file mode 100644
index 77c4c52aaca6..000000000000
--- a/app-misc/gtk-sunlight/files/gtk-sunlight-0.2.1-makefile.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- makefile 2010-10-05 18:01:14.000000000 +0200
-+++ /tmp/makefile 2010-10-28 00:29:30.704714980 +0200
-@@ -1,7 +1,7 @@
--CC = gcc
-+CC ?= gcc
-
--CFLAGS = `pkg-config --cflags gtk+-2.0 gmodule-2.0`
--LDFLAGS = `pkg-config --libs gtk+-2.0 gmodule-2.0`
-+CFLAGS += `pkg-config --cflags gtk+-2.0 gmodule-2.0`
-+LDFLAGS += `pkg-config --libs gtk+-2.0 gmodule-2.0`
-
- OBJECTS = sunlight.o callbacks.o
- PROG = gtk-sunlight
-@@ -10,7 +10,8 @@
- $(CC) -o $@ $(OBJECTS) $(LDFLAGS)
-
- install:
-+ install -d -m 0755 $(DESTDIR)/usr/bin $(DESTDIR)/usr/share/icons
- cp $(PROG) $(DESTDIR)/usr/bin/
- cp -r sunlight $(DESTDIR)/usr/share/
- cp -r applications $(DESTDIR)/usr/share/
diff --git a/app-misc/gtk-sunlight/files/gtk-sunlight-0.2.1.patch b/app-misc/gtk-sunlight/files/gtk-sunlight-0.2.1.patch
deleted file mode 100644
index 2b04b97b8514..000000000000
--- a/app-misc/gtk-sunlight/files/gtk-sunlight-0.2.1.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-Hop this is felling better now ... Michael Weber
-
---- gtk-sunlight-0.2.1/callbacks.c
-+++ gtk-sunlight-0.2.1callbacks.c
-@@ -19,6 +19,9 @@
-
-
- #include "support.h"
-+#include <glib.h>
-+#include <glib/gstdio.h>
-+#include <stdlib.h>
-
- void button_sensitive (ChData *data, gboolean sensitive);
- void change_wallpaper (ChData *data);
-@@ -94,21 +97,21 @@
-
- void cmd_ok_clicked ( GtkButton *button, ChData *data)
- {
-- FILE *file;
- int time_out;
-- gchar *contents;
-+ gchar *contents = g_malloc(1002);
- gchar *fname = g_strconcat(g_get_home_dir(), DIR_PROJECT, "/sunlight_options", NULL);
-
- gtk_widget_hide(data->main_window);
-
- /*Saving gi_rd1 and gi_rd2 to a file under DIR_PROJECT*/
-- sprintf(contents, "%d %d", data->gi_rd1, data->gi_rd2);
-+ snprintf(contents, 1000, "%d %d", data->gi_rd1, data->gi_rd2);
-
- g_file_set_contents(fname, contents, -1, NULL);
-
- change_wallpaper (data);
- time_out = gtk_timeout_add(1800000, (GtkFunction) change_wallpaper, data);
-
-+ g_free(contents);
- g_free(fname);
- }
-
-@@ -118,7 +121,6 @@
- void
- change_wallpaper (ChData *data)
- {
-- FILE *file;
- gchar *text1, *text2, *image_address, *set_wallpaper;
- gchar *dir_wallpapers = g_strconcat(g_get_home_dir(), DIR_WALLPAPERS, NULL);
- gchar *dir_project = g_strconcat(g_get_home_dir(), DIR_PROJECT, NULL);
-@@ -183,7 +185,6 @@
- void
- chk_startup_toggled_cb (GtkToggleButton *togglebutton, ChData *data)
- {
-- FILE *file;
- gchar *contents = "[Desktop Entry]\nEncoding=UTF-8\nIcon=/usr/share/icons/hicolor/48x48/apps/gtk-sunlight.png\nName=Real-time Sunlight Wallpaper\nComment=World sunlight map every 30 minutes\nExec=gtk-sunlight --nodisplay\nTerminal=false\nType=Application\nCategories=Utility;\nStartupNotify=false\nHidden=false\nNoDisplay=false";
- gchar *path_startup = g_strconcat(g_get_home_dir(), "/.config/autostart/", NULL);
-
---- gtk-sunlight-0.2.1/sunlight.c
-+++ gtk-sunlight-0.2.1/sunlight.c
-@@ -20,9 +20,15 @@
- #include "support.h"
- #include "errno.h"
- //#include "time.h"
-+#include <glib.h>
-+#include <glib/gstdio.h>
-+#include <stdlib.h>
-+#include <ctype.h>
-
- #define UI_FILE "/usr/share/sunlight/sunlight.glade"
-
-+void change_wallpaper (ChData *data);
-+
- gboolean
- make_dir(gchar *trail)
- {
-@@ -78,7 +84,7 @@
- GError *error = NULL;
- gchar *option_file = g_strconcat(g_get_home_dir(), DIR_PROJECT, "/sunlight_options", NULL);
- gchar *contents;
-- gint length;
-+ gsize length;
- int time_out;
-
- GOptionContext *context;
-@@ -111,8 +117,8 @@
- data = g_slice_new( ChData );
-
- /* create project directories if necessary */
-- if (!make_dir(DIR_PROJECT)) return;
-- if (!make_dir(DIR_WALLPAPERS)) return;
-+ if (!make_dir(DIR_PROJECT)) return 1;
-+ if (!make_dir(DIR_WALLPAPERS)) return 1;
-
- /* Check for sunlight_options file and getting gi_rd1 and gi_rd2*/
- if (g_file_test(option_file, G_FILE_TEST_EXISTS)){
diff --git a/app-misc/gtk-sunlight/gtk-sunlight-0.2.1.ebuild b/app-misc/gtk-sunlight/gtk-sunlight-0.2.1.ebuild
deleted file mode 100644
index cf2cf6186ac5..000000000000
--- a/app-misc/gtk-sunlight/gtk-sunlight-0.2.1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gtk-sunlight/gtk-sunlight-0.2.1.ebuild,v 1.2 2012/05/03 19:41:34 jdhore Exp $
-
-EAPI=3
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Real-time Sunlight Wallpaper"
-HOMEPAGE="http://realtimesunlightwallpaper.weebly.com/"
-SRC_URI="http://ppa.launchpad.net/realtime.sunlight.wallpaper/rsw/ubuntu/pool/main/g/${PN}/${PN}_${PV}.orig.tar.gz"
-
-LICENSE="GPL-1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-RDEPEND="dev-libs/glib:2
- x11-libs/gtk+:2"
-DEPEND="${REPEND}
- virtual/pkgconfig"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-makefile.patch
- epatch "${FILESDIR}"/${P}.patch
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" || die
-}
-
-src_install() {
- emake DESTDIR="${ED}" install || die
- dodoc README || die
-}