debian/0000775000000000000000000000000012234121567007173 5ustar debian/rules0000775000000000000000000000006312234121507010244 0ustar #!/usr/bin/make -f %: dh $@ --with autotools_dev debian/watch0000664000000000000000000000013612234121471010216 0ustar version=3 http://gshutdown.tuxfamily.org/release/gshutdown-([\d\.]*)\.tar\.gz debian uupdate debian/changelog0000664000000000000000000000406312234121546011045 0ustar gshutdown (0.2-0ubuntu8) trusty; urgency=low * Use autotools-dev to update config.{guess,sub} and fix the arm64 FTBFS. -- Logan Rosen Wed, 30 Oct 2013 02:12:37 -0400 gshutdown (0.2-0ubuntu7) raring; urgency=low * Added X11 and Xau libs to link, fixing FTBFS. -- Daniel T Chen Tue, 02 Apr 2013 15:53:21 -0400 gshutdown (0.2-0ubuntu6) quantal; urgency=low * fix-glib-includes.patch: fixes ftbs due to glib changes -- Julian Taylor Sat, 29 Sep 2012 11:18:11 +0200 gshutdown (0.2-0ubuntu5) oneiric; urgency=low * libnotify.patch: update for libnotify 0.7.0 API (LP: #831107). Build dependency changed accordingly. * Switch to debhelper 7 with rules.tiny. * Switch to source format 3.0 (quilt). Previous changes are now in desktop.patch. * Update desktop.patch to remove Encoding field. * Place homepage in its own field in debian/control. * Add ${misc:Depends} to binary dependencies. * Bump Standards-Version to 3.9.2. -- Ilya Barygin Sat, 27 Aug 2011 16:41:27 +0400 gshutdown (0.2-0ubuntu4) natty; urgency=low * gshutdown.desktop.in: fixed typos and added the Italian translation for the Comment entry -- Andrea Carpineti Wed, 30 Mar 2011 18:47:23 +0200 gshutdown (0.2-0ubuntu3) jaunty; urgency=low * debian/control: update package description Mention "shutdown timer" (LP: #357958) -- Scott Ritchie Wed, 08 Apr 2009 13:16:05 -0700 gshutdown (0.2-0ubuntu2) hardy; urgency=low * debian/watch: + Updated download page syntax. (LP: #180131) * debian/rules: + Fixed a lintian warning (debian-rules-ignores-make-clean-error). -- Miguel Ruiz Fri, 04 Jan 2008 22:48:55 -0300 gshutdown (0.2-0ubuntu1) hardy; urgency=low * New Upstream Release -- Sarah Hobbs Mon, 12 Nov 2007 02:54:16 +1100 gshutdown (0.1-0ubuntu1) feisty; urgency=low * Initial release. -- isaric Co (clé dpkg) Fri, 21 Jan 2007 19:50:00 +0000 debian/compat0000664000000000000000000000000212234121471010363 0ustar 5 debian/copyright0000664000000000000000000000473212234121471011126 0ustar This package was debianized by isaric on Tue, 28 Nov 2006 14:37:13 +0100. It was downloaded from http://gshutdown.tuxfamily.org/release/ Upstream Author: Achraf cherti Copyright: Based on code from: src/eggtrayicon.{c,h} : Copyright © Anders Carlsson src/gdm.{c,h} : Copyright © 2005 Raffaele Sandrini Copyright © 2005 Red Hat, Inc. Copyright © 2002, 2003 George Lebl Copyright © 2001 Queen of England src/bacon.{c,h} : Copyright © 2003 Bastien Nocera License for gshutdown : This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL' Licence for src/eggtrayicon.{c,h} : This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL' The Debian packaging is © 2006, isaric and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/source/0000775000000000000000000000000012234121566010472 5ustar debian/source/format0000664000000000000000000000001412234121471011673 0ustar 3.0 (quilt) debian/control0000664000000000000000000000134112234121524010566 0ustar Source: gshutdown Section: gnome Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Eric Corbion Build-Depends: debhelper (>= 7), libnotify-dev (>= 0.7), libglade2-dev, libxmu-dev, autotools-dev Standards-Version: 3.9.2 Homepage: http://gshutdown.tuxfamily.org/ Package: gshutdown Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Graphical shutdown utility and shutdown timer GShutdown is a utility which allows you to schedule the shutdown or restart of your computer. With it you can simply and quickly choose the turn off time at either a specific time or after a countdown. . The graphical user interface uses Gtk+2. debian/docs0000664000000000000000000000001412234121471010033 0ustar NEWS README debian/patches/0000775000000000000000000000000012234121566010621 5ustar debian/patches/series0000664000000000000000000000012412234121471012026 0ustar desktop.patch libnotify.patch fix-glib-includes.patch fix-libx11-underlinkage.patch debian/patches/desktop.patch0000664000000000000000000000322512234121471013310 0ustar Description: fixed typos and added the Italian translation for the Comment entry. Also removed Encoding field. Author: Andrea Carpineti --- gshutdown-0.2.orig/gshutdown.desktop.in +++ gshutdown-0.2/gshutdown.desktop.in @@ -1,13 +1,13 @@ [Desktop Entry] -Encoding=UTF-8 Name=GShutdown GenericName=Shutdown utility GenericName[sr]=Алат за гашење рачунара GenericName[sr@Latn]=Alat za gašenjeračunara -Comment=An advanced shutdown utility which allows you to schedule the shutdown or the restart of your computer. -Comment[sr]=Напредан алат који омогућава временско гашење, поновно покретање рачунара или одјаву. -Comment[sr@Latn]=Napredan alat koji omogućava vremensko gašenje, ponovno pokretanje računara ili odjavu. -Comment[fr]=Utilitaire pour programmer l'arrêt, le redémarrage de votre ordinateur ou la fermeture de la session actuelle. +Comment=An advanced shutdown utility which allows you to schedule the shutdown or the restart of your computer +Comment[sr]=Напредан алат који омогућава временско гашење, поновно покретање рачунара или одјаву +Comment[sr@Latn]=Napredan alat koji omogućava vremensko gašenje, ponovno pokretanje računara ili odjavu +Comment[fr]=Utilitaire pour programmer l'arrêt, le redémarrage de votre ordinateur ou la fermeture de la session actuelle +Comment[it]=Utility avanzata che permette di programmare lo spegnimento e il riavvio del tuo computer Exec=@prefix@/bin/gshutdown Icon=@prefix@/share/pixmaps/gshutdown.png StartupNotify=false debian/patches/fix-glib-includes.patch0000664000000000000000000000534412234121471015150 0ustar Description: fix glib includes only glib include allowed now Author: Julian Taylor diff --git a/src/detectwm.h b/src/detectwm.h index 0d616a5..b9546bc 100644 --- a/src/detectwm.h +++ b/src/detectwm.h @@ -21,7 +21,7 @@ #ifndef __GSHUTDOWN_WMDETECT__ #define __GSHUTDOWN_WMDETECT__ -#include +#include gchar *detect_window_manager(); diff --git a/src/main.c b/src/main.c index 1a77c96..6ad8b58 100644 --- a/src/main.c +++ b/src/main.c @@ -21,7 +21,7 @@ #include #include #include -#include /* g_atexit() */ +#include /* g_atexit() */ #include "main.h" #include "gui.h" #include "misc.h" diff --git a/src/misc.c b/src/misc.c index 6bc3c7d..99a6423 100644 --- a/src/misc.c +++ b/src/misc.c @@ -20,12 +20,7 @@ #include /* X_OK */ #include -#include -#include /* g_strdup_printf */ -#include /* g_free */ -#include /* g_getenv */ -#include /* g_file_test() */ -#include /* g_shell_parse_argv */ +#include #include "config.h" #include "misc.h" #include "main.h" diff --git a/src/misc.h b/src/misc.h index f23a584..3cbf4d2 100644 --- a/src/misc.h +++ b/src/misc.h @@ -20,7 +20,7 @@ #ifndef __GSHUTDOWN_MISC__ #define __GSHUTDOWN_MISC__ -#include /* gchar */ +#include /* gchar */ /* Return a data file path. e.g: gshutdown.glade */ gchar *data_path(gchar *filename); diff --git a/src/timer.c b/src/timer.c index 8542dc1..595b04e 100644 --- a/src/timer.c +++ b/src/timer.c @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include +#include #include "timer.h" #include "values.h" #include "gui.h" diff --git a/src/timer.h b/src/timer.h index ad3f802..ba493d5 100644 --- a/src/timer.h +++ b/src/timer.h @@ -21,7 +21,7 @@ #ifndef __GSHUTDOWN_TIMER__ #define __GSHUTDOWN_TIMER__ -#include +#include guint time_left(); gboolean timer_notify(); diff --git a/src/values.c b/src/values.c index f065cd5..6819ecb 100644 --- a/src/values.c +++ b/src/values.c @@ -20,8 +20,7 @@ #include #include -#include -#include /* g_build_path */ +#include #include "values.h" #include "gui.h" #include "detectwm.h" diff --git a/src/values.h b/src/values.h index 8054fc7..c5ae387 100644 --- a/src/values.h +++ b/src/values.h @@ -21,7 +21,7 @@ #ifndef __GSHUTDOWN_VALUES__ #define __GSHUTDOWN_VALUES__ -#include +#include #include "action.h" typedef enum { -- 1.7.10.4 debian/patches/fix-libx11-underlinkage.patch0000664000000000000000000000205512234121471016171 0ustar Index: gshutdown-0.2/src/Makefile.am =================================================================== --- gshutdown-0.2.orig/src/Makefile.am 2007-04-14 18:33:39.000000000 -0400 +++ gshutdown-0.2/src/Makefile.am 2013-04-02 16:05:21.845846609 -0400 @@ -22,7 +22,7 @@ bacon.c bacon.h \ eggtrayicon.c eggtrayicon.h -gshutdown_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) +gshutdown_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lX11 -lXau gshutdown_LDFLAGS = -Wl,-export-dynamic sharedir = $(pkgdatadir) Index: gshutdown-0.2/src/Makefile.in =================================================================== --- gshutdown-0.2.orig/src/Makefile.in 2007-06-24 11:52:55.000000000 -0400 +++ gshutdown-0.2/src/Makefile.in 2013-04-02 16:05:32.750777097 -0400 @@ -216,7 +216,7 @@ bacon.c bacon.h \ eggtrayicon.c eggtrayicon.h -gshutdown_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) +gshutdown_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lX11 -lXau gshutdown_LDFLAGS = -Wl,-export-dynamic sharedir = $(pkgdatadir) share_DATA = tray_icon2.png tray_icon.png gshutdown.png clock.png gshutdown.glade debian/patches/libnotify.patch0000664000000000000000000000217712234121471013643 0ustar Description: Update for libnotify 0.7.0 API. Author: Ilya Barygin Bug-Ubuntu: https://launchpad.net/bugs/831107 --- gshutdown-0.2.orig/src/gui.c +++ gshutdown-0.2/src/gui.c @@ -162,7 +162,7 @@ void gui_notification(gchar *message, No if(gui_systray_icon_is_showed()) widget = GTK_WIDGET(tray_icon); - notify = notify_notification_new("GShutdown", message, NULL, GTK_WIDGET(widget)); + notify = notify_notification_new("GShutdown", message, NULL); if(show_icon == NOTIFICATION_ICON_TIME) { path = data_path("clock.png"); --- gshutdown-0.2.orig/configure +++ gshutdown-0.2/configure @@ -5026,7 +5026,7 @@ fi if test "$enable_libnotify" = "yes"; then - libnotify="libnotify >= 0.3.2" + libnotify="libnotify >= 0.7.0" CFLAGS="$CFLAGS -DLIBNOTIFY_ENABLED" else libnotify="" --- gshutdown-0.2.orig/configure.ac +++ gshutdown-0.2/configure.ac @@ -39,7 +39,7 @@ AC_ARG_ENABLE(libnotify, enable_libnotify="yes") if test "$enable_libnotify" = "yes"; then - libnotify="libnotify >= 0.3.2" + libnotify="libnotify >= 0.7.0" CFLAGS="$CFLAGS -DLIBNOTIFY_ENABLED" else libnotify=""