[arch-commits] Commit in gwget/repos (10 files)

Balló György bgyorgy at archlinux.org
Fri Dec 19 04:02:31 UTC 2014


    Date: Friday, December 19, 2014 @ 05:02:31
  Author: bgyorgy
Revision: 124092

archrelease: copy trunk to community-i686, community-x86_64

Deleted:
  gwget/repos/community-i686/PKGBUILD
  gwget/repos/community-i686/drop-libgnomeui.patch
  gwget/repos/community-i686/gwget-1.0.4-glib-2.32.patch
  gwget/repos/community-i686/gwget-1.0.4-notify-0.7.patch
  gwget/repos/community-i686/gwget.install
  gwget/repos/community-x86_64/PKGBUILD
  gwget/repos/community-x86_64/drop-libgnomeui.patch
  gwget/repos/community-x86_64/gwget-1.0.4-glib-2.32.patch
  gwget/repos/community-x86_64/gwget-1.0.4-notify-0.7.patch
  gwget/repos/community-x86_64/gwget.install

-----------------------------------------------+
 community-i686/PKGBUILD                       |   63 -----
 community-i686/drop-libgnomeui.patch          |  290 ------------------------
 community-i686/gwget-1.0.4-glib-2.32.patch    |   12 
 community-i686/gwget-1.0.4-notify-0.7.patch   |   24 -
 community-i686/gwget.install                  |   17 -
 community-x86_64/PKGBUILD                     |   63 -----
 community-x86_64/drop-libgnomeui.patch        |  290 ------------------------
 community-x86_64/gwget-1.0.4-glib-2.32.patch  |   12 
 community-x86_64/gwget-1.0.4-notify-0.7.patch |   24 -
 community-x86_64/gwget.install                |   17 -
 10 files changed, 812 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-12-19 04:02:16 UTC (rev 124091)
+++ community-i686/PKGBUILD	2014-12-19 04:02:31 UTC (rev 124092)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Aaron, phrakture, Griffin <aaron at archlinux.org>
-# Contributor: erkaN kaplaN <erkan at linux-sevenler.org>
-# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
-
-pkgname=gwget
-pkgver=1.0.4
-pkgrel=8
-pkgdesc="Download manager for GNOME"
-arch=('i686' 'x86_64')
-url="http://projects.gnome.org/gwget/"
-license=('GPL')
-depends=('gtk3' 'gconf' 'libnotify')
-makedepends=('intltool')
-install=$pkgname.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
-        gwget-1.0.4-notify-0.7.patch
-        gwget-1.0.4-glib-2.32.patch
-        drop-libgnomeui.patch
-        gtk3-port.patch
-        wget.patch)
-sha256sums=('a65b2b2b3befb6cf34a697a13111b35498a6d63f9a9b048a22b8654f35ef643f'
-            '84efbbea9c2a91c60288edb67264bbdb4ec2c579cf95b3baa8282040a1b65c76'
-            '319c4795d0034c4adacf302db697d966ca228fc1bbe9778af9dadcfb0c2531c8'
-            'afc5a92f9652d19a200a32b1081fb2b928fec42153795a4c77eaac99352fa9de'
-            'e85e3eeb091bd88bf11866c6256cd36c375f456d07599a9e6a15400fa26546f8'
-            '3900defbf161a657ef3968a0aa1df27605e1fbf6fc34d0fcba748ce274fa4f3c')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # https://bugzilla.gnome.org/show_bug.cgi?id=634170
-  patch -Np1 -i ../gwget-1.0.4-notify-0.7.patch
-
-  # https://bugzilla.gnome.org/show_bug.cgi?id=665286
-  patch -Np1 -i ../gwget-1.0.4-glib-2.32.patch
-
-  # https://bugzilla.gnome.org/show_bug.cgi?id=671759
-  patch -Np1 -i ../drop-libgnomeui.patch
-
-  # Port to GTK+ 3
-  patch -Np1 -i ../gtk3-port.patch
-
-  # Fix with recent wget versions
-  patch -Np1 -i ../wget.patch
-
-  autoreconf -fi
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-              --disable-static --disable-schemas-install \
-              --with-gconf-schema-file-dir=/usr/share/gconf/schemas
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Deleted: community-i686/drop-libgnomeui.patch
===================================================================
--- community-i686/drop-libgnomeui.patch	2014-12-19 04:02:16 UTC (rev 124091)
+++ community-i686/drop-libgnomeui.patch	2014-12-19 04:02:31 UTC (rev 124092)
@@ -1,290 +0,0 @@
-diff -Naur gwget-1.0.4.orig/configure.ac gwget-1.0.4/configure.ac
---- gwget-1.0.4.orig/configure.ac	2013-07-04 02:34:53.853338000 +0200
-+++ gwget-1.0.4/configure.ac	2013-07-04 02:35:57.021516447 +0200
-@@ -14,15 +14,13 @@
- 
- AM_GCONF_SOURCE_2
- 
--LIBGNOMEUI_REQUIRED=2.0.0
--LIBGNOME_REQUIRED=2.0.0
- GTK_REQUIRED=2.6.0
- GCONF_REQUIRED=1.1.11
- DBUS_GLIB_REQUIRED=0.33
- GIO_REQUIRED=2.16.0
- 
--PKG_CHECK_MODULES(GNOME, libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
--		 	  gtk+-2.0 	>= $GTK_REQUIRED 
-+PKG_CHECK_MODULES(GNOME, gtk+-2.0 	>= $GTK_REQUIRED 
-+ 			  gconf-2.0
- 			  gmodule-2.0
- 			  gio-unix-2.0 >= $GIO_REQUIRED)
- 			
-diff -Naur gwget-1.0.4.orig/src/custom-cell-renderer-progressbar.c gwget-1.0.4/src/custom-cell-renderer-progressbar.c
---- gwget-1.0.4.orig/src/custom-cell-renderer-progressbar.c	2009-06-16 19:58:06.000000000 +0200
-+++ gwget-1.0.4/src/custom-cell-renderer-progressbar.c	2013-07-04 02:35:57.024849860 +0200
-@@ -21,8 +21,8 @@
- 
- #include <config.h>
- #include <stdlib.h>
--#include <gnome.h>
--/* #include <glib/gi18n.h> */
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- 
- #include "custom-cell-renderer-progressbar.h"
- 
-diff -Naur gwget-1.0.4.orig/src/gwget-application.c gwget-1.0.4/src/gwget-application.c
---- gwget-1.0.4.orig/src/gwget-application.c	2009-06-20 10:12:37.000000000 +0200
-+++ gwget-1.0.4/src/gwget-application.c	2013-07-04 02:35:57.024849860 +0200
-@@ -21,8 +21,6 @@
- #include "gwget-application.h"
- 
- 
--#include <libgnomeui/gnome-client.h>
--
- #ifdef ENABLE_DBUS
- #include "gwget-application-service.h"
- #include <dbus/dbus-glib-bindings.h>
-@@ -86,39 +84,6 @@
- #endif /* ENABLE_DBUS */
- 
- 
--static gint
--save_session (GnomeClient *client, gint phase, GnomeSaveStyle save_style, gint shutdown,
--	      GnomeInteractStyle interact_style, gint fast, GwgetApplication *application)
--{
--	char **restart_argv;
--	int argc = 0;
--
--	restart_argv = g_new (char *, 1);
--	restart_argv[0] = g_strdup ("gwget");
--	gnome_client_set_restart_command (client, argc, restart_argv);
--
--	return TRUE;
--}
--
--static void
--removed_from_session (GnomeClient *client, GwgetApplication *application)
--{
--	gwget_application_shutdown (application);
--}
--
--static void
--init_session (GwgetApplication *application)
--{
--	GnomeClient *client;
--
--	client = gnome_master_client ();
--
--	g_signal_connect (client, "save_yourself",
--			  G_CALLBACK (save_session), application);	
--	g_signal_connect (client, "die",
--			  G_CALLBACK (removed_from_session), application);
--}
--
- gboolean
- gwget_application_open_window (GwgetApplication  *application,
-                            guint32         timestamp,
-@@ -199,7 +164,6 @@
- static void
- gwget_application_init (GwgetApplication *gwget_application)
- {
--	init_session (gwget_application);
- 
- }
- 
-diff -Naur gwget-1.0.4.orig/src/main.c gwget-1.0.4/src/main.c
---- gwget-1.0.4.orig/src/main.c	2009-06-20 10:12:37.000000000 +0200
-+++ gwget-1.0.4/src/main.c	2013-07-04 02:35:57.024849860 +0200
-@@ -17,11 +17,13 @@
- 
- #include <config.h>
- 
--#include <gnome.h>
-+#include <stdlib.h>
-+#include <errno.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include <string.h>
- #include <gconf/gconf-client.h>
- #include <locale.h>
--#include <libgnomeui/libgnomeui.h>
- #include <gio/gio.h>
- 
- #include "main_window_cb.h"
-@@ -201,7 +203,6 @@
- 
- int main(int argc,char *argv[])
- {
--	GnomeProgram *program;
- 	GOptionContext *context;
- 	
- 	context = g_option_context_new (_("Gwget Download Manager"));
-@@ -220,12 +221,7 @@
- 	
- 
- 	gwget_init_pref(&gwget_pref);
--	program = gnome_program_init(PACKAGE, VERSION, 
--				LIBGNOMEUI_MODULE, argc, argv,
--			        GNOME_PARAM_GOPTION_CONTEXT, context, 
--				GNOME_PARAM_HUMAN_READABLE_NAME, _("Gwget"),
--				GNOME_PARAM_APP_DATADIR, GNOME_GWGET_LOCALEDIR,
--                              	NULL);
-+	gtk_init (&argc, &argv);
- 	
- #ifdef ENABLE_DBUS
- 	if (!gwget_application_register_service (GWGET_APP)) {
-@@ -243,9 +239,5 @@
- 	
- 	gtk_main();
- 	
--	gnome_accelerators_sync ();
--	
--	g_object_unref (program);
--	
- 	return (0);
- }
-diff -Naur gwget-1.0.4.orig/src/main_window.c gwget-1.0.4/src/main_window.c
---- gwget-1.0.4.orig/src/main_window.c	2009-08-14 19:19:51.000000000 +0200
-+++ gwget-1.0.4/src/main_window.c	2013-07-04 02:35:57.024849860 +0200
-@@ -15,7 +15,9 @@
-  */
-  
- #include <config.h>
--#include <gnome.h>
-+#include <stdlib.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include <gconf/gconf-client.h>
- #include <glib/gstdio.h>
- #include <string.h>
-@@ -118,20 +120,22 @@
- 	toolbar = GTK_WIDGET (gtk_builder_get_object(builder,"toolbar1"));
- 	toolbar_setting = gconf_client_get_string(gconf_client,"/desktop/gnome/interface/toolbar_style",NULL);
- 	
--	if (!strcmp(toolbar_setting,"icons")) {
--		gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_ICONS);
--	}
--	
--	if (!strcmp(toolbar_setting,"both")) {
--		gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_BOTH);
--	}
--	
--	if (!strcmp(toolbar_setting,"both-horiz")) {
--		gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_BOTH_HORIZ);
--	}
--	
--	if (!strcmp(toolbar_setting,"text")) {
--		gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_TEXT);
-+	if (toolbar_setting!=NULL) {
-+		if (!strcmp(toolbar_setting,"icons")) {
-+			gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_ICONS);
-+		}
-+		
-+		if (!strcmp(toolbar_setting,"both")) {
-+			gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_BOTH);
-+		}
-+		
-+		if (!strcmp(toolbar_setting,"both-horiz")) {
-+			gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_BOTH_HORIZ);
-+		}
-+		
-+		if (!strcmp(toolbar_setting,"text")) {
-+			gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_TEXT);
-+		}
- 	}
- 	
- 	/* Listen to changes to the key. */
-diff -Naur gwget-1.0.4.orig/src/main_window_cb.c gwget-1.0.4/src/main_window_cb.c
---- gwget-1.0.4.orig/src/main_window_cb.c	2009-08-14 19:19:51.000000000 +0200
-+++ gwget-1.0.4/src/main_window_cb.c	2013-07-04 02:45:43.468873631 +0200
-@@ -15,7 +15,9 @@
-  */
-  
- #include <config.h>
--#include <gnome.h>
-+#include <stdlib.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include <gconf/gconf-client.h>
- #include <signal.h>
- 
-@@ -217,6 +219,9 @@
- 	gchar *size;
- 	int width = 16, height = 16;
- 	gdouble perc;
-+	GIcon *icon;
-+	const gchar *const *icon_names;
-+	gint i;
- 	
- 	gtk_list_store_append (GTK_LIST_STORE(model), &iter); 
- 	size = g_strdup_printf ("%d kB", (guint32)(gwgetdata->cur_size + 512) / 1024);
-@@ -243,8 +248,14 @@
- 	theme = gtk_icon_theme_get_default ();
- 	if (!gwgetdata->recursive) {
- 		content_type = g_content_type_guess (gwgetdata->local_filename, NULL, 0, NULL);
--		gwgetdata->icon_name = gnome_icon_lookup (theme, NULL, NULL, NULL, NULL,
--	 							content_type, GNOME_ICON_LOOKUP_FLAGS_NONE, NULL);
-+		icon = g_content_type_get_icon (content_type);
-+		icon_names = g_themed_icon_get_names (G_THEMED_ICON (icon));
-+		for (i=0; i < g_strv_length ((gchar **)icon_names); i++) {
-+			if (gtk_icon_theme_has_icon (gtk_icon_theme_get_default (), icon_names[i])) {
-+	 			gwgetdata->icon_name = g_strdup (icon_names[i]);
-+				break;
-+			}
-+		}
- 	} else {
- 		gwgetdata->icon_name = g_strdup("gtk-refresh");
- 	}
-diff -Naur gwget-1.0.4.orig/src/new_window.c gwget-1.0.4/src/new_window.c
---- gwget-1.0.4.orig/src/new_window.c	2009-08-14 19:19:51.000000000 +0200
-+++ gwget-1.0.4/src/new_window.c	2013-07-04 02:35:57.028183273 +0200
-@@ -24,7 +24,8 @@
- */
- 
- 
--#include <gnome.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include <config.h>
- #include "new_window.h"
- #include "main_window.h"
-diff -Naur gwget-1.0.4.orig/src/systray.c gwget-1.0.4/src/systray.c
---- gwget-1.0.4.orig/src/systray.c	2013-07-04 02:34:53.920006000 +0200
-+++ gwget-1.0.4/src/systray.c	2013-07-04 02:35:57.028183273 +0200
-@@ -1,6 +1,7 @@
- 
- #include <config.h>
--#include <gnome.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include "main_window.h"
- #include "gwget_data.h"
- #include "systray.h"
-diff -Naur gwget-1.0.4.orig/src/utils.c gwget-1.0.4/src/utils.c
---- gwget-1.0.4.orig/src/utils.c	2009-08-14 19:19:51.000000000 +0200
-+++ gwget-1.0.4/src/utils.c	2013-07-04 02:35:57.028183273 +0200
-@@ -14,7 +14,8 @@
-  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-  */
- 
--#include <gnome.h>
-+#include <string.h>
-+#include <gtk/gtk.h>
- #include "main_window.h"
- #include "utils.h"
- #include "gwget_data.h"
-diff -Naur gwget-1.0.4.orig/src/wget-log.c gwget-1.0.4/src/wget-log.c
---- gwget-1.0.4.orig/src/wget-log.c	2009-10-04 20:29:35.000000000 +0200
-+++ gwget-1.0.4/src/wget-log.c	2013-07-04 02:35:57.028183273 +0200
-@@ -25,7 +25,9 @@
- #define _FILE_OFFSET_BITS 64
- 
- #include <config.h>
--#include <gnome.h>
-+#include <stdlib.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include <string.h>
- #include <sys/stat.h>
- #include <unistd.h>

Deleted: community-i686/gwget-1.0.4-glib-2.32.patch
===================================================================
--- community-i686/gwget-1.0.4-glib-2.32.patch	2014-12-19 04:02:16 UTC (rev 124091)
+++ community-i686/gwget-1.0.4-glib-2.32.patch	2014-12-19 04:02:31 UTC (rev 124092)
@@ -1,12 +0,0 @@
-diff -Naur gwget-1.0.4.orig/src/gwget-application.h gwget-1.0.4/src/gwget-application.h
---- gwget-1.0.4.orig/src/gwget-application.h	2012-05-05 12:53:49.679322992 +0000
-+++ gwget-1.0.4/src/gwget-application.h	2012-05-05 12:56:21.481488856 +0000
-@@ -18,7 +18,7 @@
- #ifndef GWGET_APPLICATION_H
- #define GWGET_APPLICATION_H
- 
--#include <glib/gerror.h>
-+#include <glib.h>
- #include <glib-object.h>
- 
- G_BEGIN_DECLS

Deleted: community-i686/gwget-1.0.4-notify-0.7.patch
===================================================================
--- community-i686/gwget-1.0.4-notify-0.7.patch	2014-12-19 04:02:16 UTC (rev 124091)
+++ community-i686/gwget-1.0.4-notify-0.7.patch	2014-12-19 04:02:31 UTC (rev 124092)
@@ -1,24 +0,0 @@
-diff -Naur gwget-1.0.4.orig/configure.ac gwget-1.0.4/configure.ac
---- gwget-1.0.4.orig/configure.ac	2009-10-17 22:26:09.000000000 +0200
-+++ gwget-1.0.4/configure.ac	2011-03-18 00:24:51.993660191 +0100
-@@ -270,7 +270,7 @@
- #
- # Check for libnotify
- #
--LIBNOTIFY_REQUIRED=0.2.2
-+LIBNOTIFY_REQUIRED=0.7.0
- AC_ARG_ENABLE(libnotify,
-             AC_HELP_STRING([--disable-libnotify],
-                            [Disable libnotify support]),,
-diff -Naur gwget-1.0.4.orig/src/systray.c gwget-1.0.4/src/systray.c
---- gwget-1.0.4.orig/src/systray.c	2009-08-14 19:19:51.000000000 +0200
-+++ gwget-1.0.4/src/systray.c	2011-03-18 00:24:27.612098913 +0100
-@@ -224,7 +224,7 @@
-        		if (!notify_is_initted ())
- 			if (!notify_init ("gwget"))
- 		               return;
--       NotifyNotification *notification = notify_notification_new(primary,secondary,icon_name,NULL);
-+       NotifyNotification *notification = notify_notification_new(primary,secondary,icon_name);
-        notify_notification_show(notification,NULL);
- #endif
- 

Deleted: community-i686/gwget.install
===================================================================
--- community-i686/gwget.install	2014-12-19 04:02:16 UTC (rev 124091)
+++ community-i686/gwget.install	2014-12-19 04:02:31 UTC (rev 124092)
@@ -1,17 +0,0 @@
-pkgname=gwget
-
-post_install() {
-  gconfpkg --install $pkgname
-}
-
-pre_upgrade() {
-  pre_remove $1
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  gconfpkg --uninstall $pkgname
-}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-12-19 04:02:16 UTC (rev 124091)
+++ community-x86_64/PKGBUILD	2014-12-19 04:02:31 UTC (rev 124092)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Aaron, phrakture, Griffin <aaron at archlinux.org>
-# Contributor: erkaN kaplaN <erkan at linux-sevenler.org>
-# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
-
-pkgname=gwget
-pkgver=1.0.4
-pkgrel=8
-pkgdesc="Download manager for GNOME"
-arch=('i686' 'x86_64')
-url="http://projects.gnome.org/gwget/"
-license=('GPL')
-depends=('gtk3' 'gconf' 'libnotify')
-makedepends=('intltool')
-install=$pkgname.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
-        gwget-1.0.4-notify-0.7.patch
-        gwget-1.0.4-glib-2.32.patch
-        drop-libgnomeui.patch
-        gtk3-port.patch
-        wget.patch)
-sha256sums=('a65b2b2b3befb6cf34a697a13111b35498a6d63f9a9b048a22b8654f35ef643f'
-            '84efbbea9c2a91c60288edb67264bbdb4ec2c579cf95b3baa8282040a1b65c76'
-            '319c4795d0034c4adacf302db697d966ca228fc1bbe9778af9dadcfb0c2531c8'
-            'afc5a92f9652d19a200a32b1081fb2b928fec42153795a4c77eaac99352fa9de'
-            'e85e3eeb091bd88bf11866c6256cd36c375f456d07599a9e6a15400fa26546f8'
-            '3900defbf161a657ef3968a0aa1df27605e1fbf6fc34d0fcba748ce274fa4f3c')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # https://bugzilla.gnome.org/show_bug.cgi?id=634170
-  patch -Np1 -i ../gwget-1.0.4-notify-0.7.patch
-
-  # https://bugzilla.gnome.org/show_bug.cgi?id=665286
-  patch -Np1 -i ../gwget-1.0.4-glib-2.32.patch
-
-  # https://bugzilla.gnome.org/show_bug.cgi?id=671759
-  patch -Np1 -i ../drop-libgnomeui.patch
-
-  # Port to GTK+ 3
-  patch -Np1 -i ../gtk3-port.patch
-
-  # Fix with recent wget versions
-  patch -Np1 -i ../wget.patch
-
-  autoreconf -fi
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-              --disable-static --disable-schemas-install \
-              --with-gconf-schema-file-dir=/usr/share/gconf/schemas
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Deleted: community-x86_64/drop-libgnomeui.patch
===================================================================
--- community-x86_64/drop-libgnomeui.patch	2014-12-19 04:02:16 UTC (rev 124091)
+++ community-x86_64/drop-libgnomeui.patch	2014-12-19 04:02:31 UTC (rev 124092)
@@ -1,290 +0,0 @@
-diff -Naur gwget-1.0.4.orig/configure.ac gwget-1.0.4/configure.ac
---- gwget-1.0.4.orig/configure.ac	2013-07-04 02:34:53.853338000 +0200
-+++ gwget-1.0.4/configure.ac	2013-07-04 02:35:57.021516447 +0200
-@@ -14,15 +14,13 @@
- 
- AM_GCONF_SOURCE_2
- 
--LIBGNOMEUI_REQUIRED=2.0.0
--LIBGNOME_REQUIRED=2.0.0
- GTK_REQUIRED=2.6.0
- GCONF_REQUIRED=1.1.11
- DBUS_GLIB_REQUIRED=0.33
- GIO_REQUIRED=2.16.0
- 
--PKG_CHECK_MODULES(GNOME, libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
--		 	  gtk+-2.0 	>= $GTK_REQUIRED 
-+PKG_CHECK_MODULES(GNOME, gtk+-2.0 	>= $GTK_REQUIRED 
-+ 			  gconf-2.0
- 			  gmodule-2.0
- 			  gio-unix-2.0 >= $GIO_REQUIRED)
- 			
-diff -Naur gwget-1.0.4.orig/src/custom-cell-renderer-progressbar.c gwget-1.0.4/src/custom-cell-renderer-progressbar.c
---- gwget-1.0.4.orig/src/custom-cell-renderer-progressbar.c	2009-06-16 19:58:06.000000000 +0200
-+++ gwget-1.0.4/src/custom-cell-renderer-progressbar.c	2013-07-04 02:35:57.024849860 +0200
-@@ -21,8 +21,8 @@
- 
- #include <config.h>
- #include <stdlib.h>
--#include <gnome.h>
--/* #include <glib/gi18n.h> */
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- 
- #include "custom-cell-renderer-progressbar.h"
- 
-diff -Naur gwget-1.0.4.orig/src/gwget-application.c gwget-1.0.4/src/gwget-application.c
---- gwget-1.0.4.orig/src/gwget-application.c	2009-06-20 10:12:37.000000000 +0200
-+++ gwget-1.0.4/src/gwget-application.c	2013-07-04 02:35:57.024849860 +0200
-@@ -21,8 +21,6 @@
- #include "gwget-application.h"
- 
- 
--#include <libgnomeui/gnome-client.h>
--
- #ifdef ENABLE_DBUS
- #include "gwget-application-service.h"
- #include <dbus/dbus-glib-bindings.h>
-@@ -86,39 +84,6 @@
- #endif /* ENABLE_DBUS */
- 
- 
--static gint
--save_session (GnomeClient *client, gint phase, GnomeSaveStyle save_style, gint shutdown,
--	      GnomeInteractStyle interact_style, gint fast, GwgetApplication *application)
--{
--	char **restart_argv;
--	int argc = 0;
--
--	restart_argv = g_new (char *, 1);
--	restart_argv[0] = g_strdup ("gwget");
--	gnome_client_set_restart_command (client, argc, restart_argv);
--
--	return TRUE;
--}
--
--static void
--removed_from_session (GnomeClient *client, GwgetApplication *application)
--{
--	gwget_application_shutdown (application);
--}
--
--static void
--init_session (GwgetApplication *application)
--{
--	GnomeClient *client;
--
--	client = gnome_master_client ();
--
--	g_signal_connect (client, "save_yourself",
--			  G_CALLBACK (save_session), application);	
--	g_signal_connect (client, "die",
--			  G_CALLBACK (removed_from_session), application);
--}
--
- gboolean
- gwget_application_open_window (GwgetApplication  *application,
-                            guint32         timestamp,
-@@ -199,7 +164,6 @@
- static void
- gwget_application_init (GwgetApplication *gwget_application)
- {
--	init_session (gwget_application);
- 
- }
- 
-diff -Naur gwget-1.0.4.orig/src/main.c gwget-1.0.4/src/main.c
---- gwget-1.0.4.orig/src/main.c	2009-06-20 10:12:37.000000000 +0200
-+++ gwget-1.0.4/src/main.c	2013-07-04 02:35:57.024849860 +0200
-@@ -17,11 +17,13 @@
- 
- #include <config.h>
- 
--#include <gnome.h>
-+#include <stdlib.h>
-+#include <errno.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include <string.h>
- #include <gconf/gconf-client.h>
- #include <locale.h>
--#include <libgnomeui/libgnomeui.h>
- #include <gio/gio.h>
- 
- #include "main_window_cb.h"
-@@ -201,7 +203,6 @@
- 
- int main(int argc,char *argv[])
- {
--	GnomeProgram *program;
- 	GOptionContext *context;
- 	
- 	context = g_option_context_new (_("Gwget Download Manager"));
-@@ -220,12 +221,7 @@
- 	
- 
- 	gwget_init_pref(&gwget_pref);
--	program = gnome_program_init(PACKAGE, VERSION, 
--				LIBGNOMEUI_MODULE, argc, argv,
--			        GNOME_PARAM_GOPTION_CONTEXT, context, 
--				GNOME_PARAM_HUMAN_READABLE_NAME, _("Gwget"),
--				GNOME_PARAM_APP_DATADIR, GNOME_GWGET_LOCALEDIR,
--                              	NULL);
-+	gtk_init (&argc, &argv);
- 	
- #ifdef ENABLE_DBUS
- 	if (!gwget_application_register_service (GWGET_APP)) {
-@@ -243,9 +239,5 @@
- 	
- 	gtk_main();
- 	
--	gnome_accelerators_sync ();
--	
--	g_object_unref (program);
--	
- 	return (0);
- }
-diff -Naur gwget-1.0.4.orig/src/main_window.c gwget-1.0.4/src/main_window.c
---- gwget-1.0.4.orig/src/main_window.c	2009-08-14 19:19:51.000000000 +0200
-+++ gwget-1.0.4/src/main_window.c	2013-07-04 02:35:57.024849860 +0200
-@@ -15,7 +15,9 @@
-  */
-  
- #include <config.h>
--#include <gnome.h>
-+#include <stdlib.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include <gconf/gconf-client.h>
- #include <glib/gstdio.h>
- #include <string.h>
-@@ -118,20 +120,22 @@
- 	toolbar = GTK_WIDGET (gtk_builder_get_object(builder,"toolbar1"));
- 	toolbar_setting = gconf_client_get_string(gconf_client,"/desktop/gnome/interface/toolbar_style",NULL);
- 	
--	if (!strcmp(toolbar_setting,"icons")) {
--		gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_ICONS);
--	}
--	
--	if (!strcmp(toolbar_setting,"both")) {
--		gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_BOTH);
--	}
--	
--	if (!strcmp(toolbar_setting,"both-horiz")) {
--		gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_BOTH_HORIZ);
--	}
--	
--	if (!strcmp(toolbar_setting,"text")) {
--		gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_TEXT);
-+	if (toolbar_setting!=NULL) {
-+		if (!strcmp(toolbar_setting,"icons")) {
-+			gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_ICONS);
-+		}
-+		
-+		if (!strcmp(toolbar_setting,"both")) {
-+			gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_BOTH);
-+		}
-+		
-+		if (!strcmp(toolbar_setting,"both-horiz")) {
-+			gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_BOTH_HORIZ);
-+		}
-+		
-+		if (!strcmp(toolbar_setting,"text")) {
-+			gtk_toolbar_set_style(GTK_TOOLBAR(toolbar),GTK_TOOLBAR_TEXT);
-+		}
- 	}
- 	
- 	/* Listen to changes to the key. */
-diff -Naur gwget-1.0.4.orig/src/main_window_cb.c gwget-1.0.4/src/main_window_cb.c
---- gwget-1.0.4.orig/src/main_window_cb.c	2009-08-14 19:19:51.000000000 +0200
-+++ gwget-1.0.4/src/main_window_cb.c	2013-07-04 02:45:43.468873631 +0200
-@@ -15,7 +15,9 @@
-  */
-  
- #include <config.h>
--#include <gnome.h>
-+#include <stdlib.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include <gconf/gconf-client.h>
- #include <signal.h>
- 
-@@ -217,6 +219,9 @@
- 	gchar *size;
- 	int width = 16, height = 16;
- 	gdouble perc;
-+	GIcon *icon;
-+	const gchar *const *icon_names;
-+	gint i;
- 	
- 	gtk_list_store_append (GTK_LIST_STORE(model), &iter); 
- 	size = g_strdup_printf ("%d kB", (guint32)(gwgetdata->cur_size + 512) / 1024);
-@@ -243,8 +248,14 @@
- 	theme = gtk_icon_theme_get_default ();
- 	if (!gwgetdata->recursive) {
- 		content_type = g_content_type_guess (gwgetdata->local_filename, NULL, 0, NULL);
--		gwgetdata->icon_name = gnome_icon_lookup (theme, NULL, NULL, NULL, NULL,
--	 							content_type, GNOME_ICON_LOOKUP_FLAGS_NONE, NULL);
-+		icon = g_content_type_get_icon (content_type);
-+		icon_names = g_themed_icon_get_names (G_THEMED_ICON (icon));
-+		for (i=0; i < g_strv_length ((gchar **)icon_names); i++) {
-+			if (gtk_icon_theme_has_icon (gtk_icon_theme_get_default (), icon_names[i])) {
-+	 			gwgetdata->icon_name = g_strdup (icon_names[i]);
-+				break;
-+			}
-+		}
- 	} else {
- 		gwgetdata->icon_name = g_strdup("gtk-refresh");
- 	}
-diff -Naur gwget-1.0.4.orig/src/new_window.c gwget-1.0.4/src/new_window.c
---- gwget-1.0.4.orig/src/new_window.c	2009-08-14 19:19:51.000000000 +0200
-+++ gwget-1.0.4/src/new_window.c	2013-07-04 02:35:57.028183273 +0200
-@@ -24,7 +24,8 @@
- */
- 
- 
--#include <gnome.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include <config.h>
- #include "new_window.h"
- #include "main_window.h"
-diff -Naur gwget-1.0.4.orig/src/systray.c gwget-1.0.4/src/systray.c
---- gwget-1.0.4.orig/src/systray.c	2013-07-04 02:34:53.920006000 +0200
-+++ gwget-1.0.4/src/systray.c	2013-07-04 02:35:57.028183273 +0200
-@@ -1,6 +1,7 @@
- 
- #include <config.h>
--#include <gnome.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include "main_window.h"
- #include "gwget_data.h"
- #include "systray.h"
-diff -Naur gwget-1.0.4.orig/src/utils.c gwget-1.0.4/src/utils.c
---- gwget-1.0.4.orig/src/utils.c	2009-08-14 19:19:51.000000000 +0200
-+++ gwget-1.0.4/src/utils.c	2013-07-04 02:35:57.028183273 +0200
-@@ -14,7 +14,8 @@
-  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-  */
- 
--#include <gnome.h>
-+#include <string.h>
-+#include <gtk/gtk.h>
- #include "main_window.h"
- #include "utils.h"
- #include "gwget_data.h"
-diff -Naur gwget-1.0.4.orig/src/wget-log.c gwget-1.0.4/src/wget-log.c
---- gwget-1.0.4.orig/src/wget-log.c	2009-10-04 20:29:35.000000000 +0200
-+++ gwget-1.0.4/src/wget-log.c	2013-07-04 02:35:57.028183273 +0200
-@@ -25,7 +25,9 @@
- #define _FILE_OFFSET_BITS 64
- 
- #include <config.h>
--#include <gnome.h>
-+#include <stdlib.h>
-+#include <glib/gi18n.h>
-+#include <gtk/gtk.h>
- #include <string.h>
- #include <sys/stat.h>
- #include <unistd.h>

Deleted: community-x86_64/gwget-1.0.4-glib-2.32.patch
===================================================================
--- community-x86_64/gwget-1.0.4-glib-2.32.patch	2014-12-19 04:02:16 UTC (rev 124091)
+++ community-x86_64/gwget-1.0.4-glib-2.32.patch	2014-12-19 04:02:31 UTC (rev 124092)
@@ -1,12 +0,0 @@
-diff -Naur gwget-1.0.4.orig/src/gwget-application.h gwget-1.0.4/src/gwget-application.h
---- gwget-1.0.4.orig/src/gwget-application.h	2012-05-05 12:53:49.679322992 +0000
-+++ gwget-1.0.4/src/gwget-application.h	2012-05-05 12:56:21.481488856 +0000
-@@ -18,7 +18,7 @@
- #ifndef GWGET_APPLICATION_H
- #define GWGET_APPLICATION_H
- 
--#include <glib/gerror.h>
-+#include <glib.h>
- #include <glib-object.h>
- 
- G_BEGIN_DECLS

Deleted: community-x86_64/gwget-1.0.4-notify-0.7.patch
===================================================================
--- community-x86_64/gwget-1.0.4-notify-0.7.patch	2014-12-19 04:02:16 UTC (rev 124091)
+++ community-x86_64/gwget-1.0.4-notify-0.7.patch	2014-12-19 04:02:31 UTC (rev 124092)
@@ -1,24 +0,0 @@
-diff -Naur gwget-1.0.4.orig/configure.ac gwget-1.0.4/configure.ac
---- gwget-1.0.4.orig/configure.ac	2009-10-17 22:26:09.000000000 +0200
-+++ gwget-1.0.4/configure.ac	2011-03-18 00:24:51.993660191 +0100
-@@ -270,7 +270,7 @@
- #
- # Check for libnotify
- #
--LIBNOTIFY_REQUIRED=0.2.2
-+LIBNOTIFY_REQUIRED=0.7.0
- AC_ARG_ENABLE(libnotify,
-             AC_HELP_STRING([--disable-libnotify],
-                            [Disable libnotify support]),,
-diff -Naur gwget-1.0.4.orig/src/systray.c gwget-1.0.4/src/systray.c
---- gwget-1.0.4.orig/src/systray.c	2009-08-14 19:19:51.000000000 +0200
-+++ gwget-1.0.4/src/systray.c	2011-03-18 00:24:27.612098913 +0100
-@@ -224,7 +224,7 @@
-        		if (!notify_is_initted ())
- 			if (!notify_init ("gwget"))
- 		               return;
--       NotifyNotification *notification = notify_notification_new(primary,secondary,icon_name,NULL);
-+       NotifyNotification *notification = notify_notification_new(primary,secondary,icon_name);
-        notify_notification_show(notification,NULL);
- #endif
- 

Deleted: community-x86_64/gwget.install
===================================================================
--- community-x86_64/gwget.install	2014-12-19 04:02:16 UTC (rev 124091)
+++ community-x86_64/gwget.install	2014-12-19 04:02:31 UTC (rev 124092)
@@ -1,17 +0,0 @@
-pkgname=gwget
-
-post_install() {
-  gconfpkg --install $pkgname
-}
-
-pre_upgrade() {
-  pre_remove $1
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  gconfpkg --uninstall $pkgname
-}



More information about the arch-commits mailing list