gtrayicon (1.1-1) debian-dir only changes

Summary

 debian/changelog                 |    5 +++
 debian/compat                    |    1 
 debian/control                   |   27 +++++++++++++++++++
 debian/copyright                 |   29 ++++++++++++++++++++
 debian/docs                      |    2 +
 debian/gtrayicon.1               |   54 +++++++++++++++++++++++++++++++++++++++
 debian/gtrayicon.examples        |    1 
 debian/gtrayicon.manpages        |    1 
 debian/patches/01-makefile.patch |   28 ++++++++++++++++++++
 debian/rules                     |   15 ++++++++++
 debian/watch                     |    3 ++
 11 files changed, 166 insertions(+)

    
download this patch

Patch contents

--- gtrayicon-1.1.orig/debian/copyright
+++ gtrayicon-1.1/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Taylor LeMasurier-Wren <ripps818@gmail.com> on
+Wed, 20 May 2009 04:38:13 -0500.
+
+It was downloaded from http://gtrayicon.sourceforge.net/
+
+Files: *
+
+Copyright: 
+    Copyright © 2008 Javier Valencia <javiervalencia80@gmail.com>
+
+License: GPL-3
+    This program 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 3 of the License, or
+    (at your option) any later version.
+
+    This program 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 program.  If not, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in the '/usr/share/common-licenses/GPL-3' file.
+
+The Debian packaging is © 2009, Taylor LeMasurier-Wren <ripps818@gmail.com> and
+is licensed under the GPL Version 3 and later, see `/usr/share/common-licenses/GPL-3'.
--- gtrayicon-1.1.orig/debian/watch
+++ gtrayicon-1.1/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/gtrayicon/gtrayicon-(\d.*)\.tar\.gz
--- gtrayicon-1.1.orig/debian/gtrayicon.examples
+++ gtrayicon-1.1/debian/gtrayicon.examples
@@ -0,0 +1 @@
+sample.menu
--- gtrayicon-1.1.orig/debian/control
+++ gtrayicon-1.1/debian/control
@@ -0,0 +1,27 @@
+Source: gtrayicon
+Section: utils
+Priority: optional
+Maintainer: Taylor LeMasurier-Wren <ripps818@gmail.com>
+Build-Depends: cdbs, debhelper (>= 5), libatk1.0-dev, libcairo2-dev, libglade2-dev, libglib2.0-dev, libgtk2.0-dev, libpango1.0-dev, libxml2-dev, zlib1g-dev
+Standards-Version: 3.8.1
+Homepage: http://gtrayicon.sourceforge.net/
+
+Package: gtrayicon
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Generic tray icon for GNOME
+ Generic tray icon for GNOME is a small utility which allows
+ to add a icon to the system tray that can be used to trigger
+ customized enable/disable actions.
+
+Package: gtrayicon-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: gtrayicon (= ${binary:Version}), ${misc:Depends}
+Description: Generic tray icon for GNOME - debug symbols
+ Generic tray icon for GNOME is a small utility which allows
+ to add a icon to the system tray that can be used to trigger
+ customized enable/disable actions.
+ .
+ This package contains the debugging symbols
--- gtrayicon-1.1.orig/debian/docs
+++ gtrayicon-1.1/debian/docs
@@ -0,0 +1,2 @@
+README
+changelog.gz
--- gtrayicon-1.1.orig/debian/compat
+++ gtrayicon-1.1/debian/compat
@@ -0,0 +1 @@
+5
--- gtrayicon-1.1.orig/debian/gtrayicon.1
+++ gtrayicon-1.1/debian/gtrayicon.1
@@ -0,0 +1,54 @@
+.\" Man page for gtrayicon.
+.\" Licensed under version 3 and later of the GNU General Public License.
+.\" Written by Taylor LeMasurier-Wren
+.TH gtrayicon 1
+.SH NAME
+gtrayicon - Generic tray icon for GNOME
+
+.SH DESCRIPTION
+Generic tray icon for GNOME is a small utility which allows to add a icon to the system tray that can be used to trigger customized enable/disable actions.
+
+.SH OPTIONS
+.TP
+.BI --tooltip=string
+string to appear as tooltip
+.TP
+.BI --activate=cmd
+activate command
+.TP
+.BI --deactivate=cmd
+deactivate command
+.TP
+.BI --activate-icon=icon-path
+icon to show for 'activate' action
+.TP
+.BI --deactivate-icon=icon-path
+icon to show for 'deactivate'
+.TP
+.BI --menu-file=menu-path
+custom menu to display for right button
+.TP
+.BI --activated
+start in 'activated' state (default: 'deactivated' state)
+
+.SH EXAMPLE
+Activate action: start webfs (web server) setting a pid file 
+.br
+Deactivate action: kill that webfs instance
+
+.TP                 
+gtrayicon \\
+  \-\-activate="/usr/bin/webfsd \-k /tmp/pid.file \-r /var/www" \\
+  \-\-deactivate="cat /tmp/pid.file | xargs \-ipid kill \-TERM pid"
+
+.SH MENU
+For an example on how to write a menu file,see 
+.br
+/usr/share/doc/gtrayicon/examples/sample.menu
+
+.SH SEE ALSO
+Website: http://gtrayicon.sourceforge.net/
+
+.SH AUTHOR
+Gtrayicon was written by Javier Valencia (javiervalencia80 at gmail.com)
+This Man page was written by Taylor LeMasurier-Wren <ripps818@gmail.com>
--- gtrayicon-1.1.orig/debian/gtrayicon.manpages
+++ gtrayicon-1.1/debian/gtrayicon.manpages
@@ -0,0 +1 @@
+debian/gtrayicon.1
--- gtrayicon-1.1.orig/debian/rules
+++ gtrayicon-1.1/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_MAKE_INSTALL_TARGET:= $(MAKE) DESTDIR=$(CURDIR)/debian/gtrayicon install
+DEB_DH_STRIP_ARGS:=--dbg-package=gtrayicon-dbg
+
+# Remove uneeded docs
+install/gtrayicon::
+	rm debian/gtrayicon/usr/share/gtrayicon/sample.menu
+	rm debian/gtrayicon/usr/share/gtrayicon/LICENSE
+	# Compress ChangeLog
+	gzip -9 ChangeLog > changelog.gz
--- gtrayicon-1.1.orig/debian/changelog
+++ gtrayicon-1.1/debian/changelog
@@ -0,0 +1,5 @@
+gtrayicon (1.1-1) unstable; urgency=low
+
+  * Initial release (LP: #378550) (Closes: #529728)
+
+ -- Taylor LeMasurier-Wren <ripps818@gmail.com>  Thu, 21 May 2009 02:40:58 -0500
--- gtrayicon-1.1.orig/debian/patches/01-makefile.patch
+++ gtrayicon-1.1/debian/patches/01-makefile.patch
@@ -0,0 +1,28 @@
+diff -Nur -x '*.orig' -x '*~' gtrayicon-1.1/Makefile gtrayicon-1.1.new/Makefile
+--- gtrayicon-1.1/Makefile	2008-10-30 09:51:47.000000000 -0500
++++ gtrayicon-1.1.new/Makefile	2009-05-20 06:32:43.000000000 -0500
+@@ -1,11 +1,13 @@
+ CC = gcc
+ SOURCE = gtrayicon.c
+ TARGET = gtrayicon
+-INSTALL_PREFIX = /usr
++INSTALL_PREFIX = $(DESTDIR)/usr
+ INSTALL = /usr/bin/install
+ 
+ ########################################################################
+ 
++all: $(TARGET)
++
+ $(TARGET): $(SOURCE)
+ 	$(CC) $(SOURCE) -o $(TARGET) `pkg-config --cflags --libs libglade-2.0` -export-dynamic
+ 
+@@ -13,7 +15,8 @@
+ 	rm $(TARGET)
+ 
+ install: $(TARGET)
+-	mkdir $(INSTALL_PREFIX)/share/$(TARGET)
++	mkdir -p $(INSTALL_PREFIX)/bin/
++	mkdir -p $(INSTALL_PREFIX)/share/$(TARGET)
+ 	$(INSTALL) -m 644 $(TARGET).glade $(INSTALL_PREFIX)/share/$(TARGET)/
+ 	$(INSTALL) -m 644 activate.svg $(INSTALL_PREFIX)/share/$(TARGET)/
+ 	$(INSTALL) -m 644 deactivate.svg $(INSTALL_PREFIX)/share/$(TARGET)/