[Pkg-mono-svn-commits] rev 2220 - in non-group: . gfax gfax/trunk gfax/trunk/debian gfax/trunk/debian/patches

Mirco Bauer meebey-guest at costa.debian.org
Fri Feb 3 21:23:19 UTC 2006


Author: meebey-guest
Date: 2006-02-03 21:23:19 +0000 (Fri, 03 Feb 2006)
New Revision: 2220

Added:
   non-group/gfax/
   non-group/gfax/branches/
   non-group/gfax/tags/
   non-group/gfax/trunk/
   non-group/gfax/trunk/debian/
   non-group/gfax/trunk/debian/changelog
   non-group/gfax/trunk/debian/compat
   non-group/gfax/trunk/debian/control
   non-group/gfax/trunk/debian/copyright
   non-group/gfax/trunk/debian/docs
   non-group/gfax/trunk/debian/gfax.menu
   non-group/gfax/trunk/debian/patches/
   non-group/gfax/trunk/debian/patches/00list
   non-group/gfax/trunk/debian/patches/01_fix_makefile.dpatch
   non-group/gfax/trunk/debian/patches/02_libgnomeprint_path.dpatch
   non-group/gfax/trunk/debian/patches/03_compile_fix.dpatch
   non-group/gfax/trunk/debian/rules
   non-group/gfax/trunk/debian/watch
Log:
- importing gfax



Added: non-group/gfax/trunk/debian/changelog
===================================================================
--- non-group/gfax/trunk/debian/changelog	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/changelog	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1,12 @@
+gfax (0.7.3+0.7.4-051223-0pre1) unstable; urgency=low
+
+  * NOT RELEASED YET
+  * Initial release
+    + Upstream rewrote gfax in C#, thus new package
+  * New maintainer (Closes: #228428)
+  * New uptream release (Closes: #164538)
+  * Wrote 01_fix_makefile.dpatch, it fixes the permission of /var/spool/gfax.
+  * Wrote 02_libgnomeprint_path.dpatch, the detection of the libgnomeprint
+    version was failing easily.
+
+ -- Mirco Bauer <meebey at meebey.net>  Mon, 30 Jan 2006 21:51:02 +0100

Added: non-group/gfax/trunk/debian/compat
===================================================================
--- non-group/gfax/trunk/debian/compat	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/compat	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1 @@
+4

Added: non-group/gfax/trunk/debian/control
===================================================================
--- non-group/gfax/trunk/debian/control	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/control	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1,18 @@
+Source: gfax
+Section: gnome
+Priority: optional
+Maintainer: Mirco Bauer <meebey at meebey.net>
+Build-Depends-Indep: debhelper (>= 5.0.0), dpatch, cli-common (>= 0.2.0), mono-mcs (>= 1.0) | c-sharp-compiler, libgnome-cil, libdbus-1-cil, libevolution-cil, libgnomeprint2.2-dev, gettext, intltool
+Standards-Version: 3.6.2
+
+Package: gfax
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends}, libgnomeprint2.2-0 (>= ${misc:libgnomeprint-upversion}), libgnomeprint2.2-0 (<< ${misc:libgnomeprint-next-upversion}), efax | hylafax-client
+Description: GNOME frontend for facsimile programs
+ The GFAX project aims to provide a free front end to the various facsimile
+ programs available for Linux and other operating systems that use the GNOME
+ project.
+ This is a GNOME-2.x port of GFAX and is written in C# using Mono and Gtk#.
+ .
+ GFAX provides the familiar "pop up" window and phone book support when one
+ "prints" to a "fax" printer.

Added: non-group/gfax/trunk/debian/copyright
===================================================================
--- non-group/gfax/trunk/debian/copyright	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/copyright	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1,27 @@
+This package was debianized by Mirco Bauer <meebey at meebey.net> on
+Sun,  5 Jun 2005 17:46:08 +0200.
+
+It was downloaded from http://gfax.cowlug.org/
+
+Copyright Holder: George Farris <george at gmsys.com>
+
+License:
+
+   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., 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+

Added: non-group/gfax/trunk/debian/docs
===================================================================
--- non-group/gfax/trunk/debian/docs	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/docs	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1,4 @@
+FAQ
+NEWS
+README
+TODO

Added: non-group/gfax/trunk/debian/gfax.menu
===================================================================
--- non-group/gfax/trunk/debian/gfax.menu	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/gfax.menu	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1,3 @@
+?package(gfax):needs="X11" section="Apps/Tools"\
+  title="Gfax" command="/usr/bin/gfax"\
+  icon="/usr/share/pixmaps/gfax.png"

Added: non-group/gfax/trunk/debian/patches/00list
===================================================================
--- non-group/gfax/trunk/debian/patches/00list	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/patches/00list	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1,3 @@
+01_fix_makefile
+02_libgnomeprint_path
+03_compile_fix

Added: non-group/gfax/trunk/debian/patches/01_fix_makefile.dpatch
===================================================================
--- non-group/gfax/trunk/debian/patches/01_fix_makefile.dpatch	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/patches/01_fix_makefile.dpatch	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1,48 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_fix_makefile.dpatch by Mirco Bauer <meebey at meebey.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad gfax-0.7.4~/src/Makefile.in gfax-0.7.4/src/Makefile.in
+--- gfax-0.7.4~/src/Makefile.in	2006-02-03 22:00:59.000000000 +0100
++++ gfax-0.7.4/src/Makefile.in	2006-02-03 22:04:47.270334016 +0100
+@@ -290,14 +290,14 @@
+ 
+ install-data-local: $(TARGET)
+ 	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
+-	$(mkinstalldirs) -m 777 $(DESTDIR)/../var/spool/gfax
+-	$(mkinstalldirs) -m 777 $(DESTDIR)/../var/spool/gfax/doneq
+-	$(mkinstalldirs) -m 777 $(DESTDIR)/../var/spool/gfax/recq
++	$(mkinstalldirs) -m 1777 $(DESTDIR)/var/spool/gfax
++	$(mkinstalldirs) -m 1777 $(DESTDIR)/var/spool/gfax/doneq
++	$(mkinstalldirs) -m 1777 $(DESTDIR)/var/spool/gfax/recq
+ 	$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(pkglibdir)/$(TARGET)
+ 
+ uninstall-local:
+ 	rm -f $(DESTDIR)$(pkglibdir)/$(TARGET)
+-	rm -rf $(DESTDIR)/../var/spool/gfax
++	rm -rf $(DESTDIR)/var/spool/gfax
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+
+diff -urNad gfax-0.7.4~/src/Makefile.am gfax-0.7.4/src/Makefile.am
+--- gfax-0.7.4~/src/Makefile.am	2005-12-19 20:33:53.000000000 +0100
++++ gfax-0.7.4/src/Makefile.am	2006-02-03 22:05:24.151727192 +0100
+@@ -49,10 +49,14 @@
+ 
+ install-data-local: $(TARGET)
+ 	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
++	$(mkinstalldirs) -m 1777 $(DESTDIR)/var/spool/gfax
++	$(mkinstalldirs) -m 1777 $(DESTDIR)/var/spool/gfax/doneq
++	$(mkinstalldirs) -m 1777 $(DESTDIR)/var/spool/gfax/recq
+ 	$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(pkglibdir)/$(TARGET)
+ 
+ uninstall-local:
+ 	rm -f $(DESTDIR)$(pkglibdir)/$(TARGET)
++	rm -rf $(DESTDIR)/var/spool/gfax
+ 
+ EXTRA_DIST =            		\
+ 	$(srcdir)/Defines.cs.in		\


Property changes on: non-group/gfax/trunk/debian/patches/01_fix_makefile.dpatch
___________________________________________________________________
Name: svn:executable
   + 

Added: non-group/gfax/trunk/debian/patches/02_libgnomeprint_path.dpatch
===================================================================
--- non-group/gfax/trunk/debian/patches/02_libgnomeprint_path.dpatch	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/patches/02_libgnomeprint_path.dpatch	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_libgnomeprint_path.dpatch by Mirco Bauer <meebey at meebey.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad gfax-0.7.4~/configure gfax-0.7.4/configure
+--- gfax-0.7.4~/configure	2006-02-03 21:58:55.000000000 +0100
++++ gfax-0.7.4/configure	2006-02-03 21:59:44.901301096 +0100
+@@ -21024,7 +21024,7 @@
+ 
+ # SET THE DIRECTORY PATH FOR GNOME_PRINT_DATA_DIR
+ if test "x$GNOME_PRINT_DATA_DIR" = "x" ; then
+-	gpver=`ls ${prefix}/lib/pkgconfig/ | grep libgnomeprint`
++	gpver=libgnomeprint-2.2.pc
+ 	GNOME_PRINT_VERSION=`grep Version: ${prefix}/lib/pkgconfig/${gpver} | cut -f2 -d' '`
+ 	GNOME_PRINT_DATA_DIR="${datadir}/libgnomeprint/${GNOME_PRINT_VERSION}"
+ 	echo $GNOME_PRINT_DATA_DIR
+diff -urNad gfax-0.7.4~/configure.in gfax-0.7.4/configure.in
+--- gfax-0.7.4~/configure.in	2005-12-19 18:54:06.000000000 +0100
++++ gfax-0.7.4/configure.in	2006-02-03 22:00:20.639868008 +0100
+@@ -54,7 +54,7 @@
+ 
+ # SET THE DIRECTORY PATH FOR GNOME_PRINT_DATA_DIR
+ if test "x$GNOME_PRINT_DATA_DIR" = "x" ; then
+-	gpver=`ls ${prefix}/lib/pkgconfig/ | grep libgnomeprint`
++	gpver=libgnomeprint-2.2.pc
+ 	GNOME_PRINT_VERSION=`grep Version: ${prefix}/lib/pkgconfig/${gpver} | cut -f2 -d' '`
+ 	GNOME_PRINT_DATA_DIR="${datadir}/libgnomeprint/${GNOME_PRINT_VERSION}"
+ 	echo $GNOME_PRINT_DATA_DIR


Property changes on: non-group/gfax/trunk/debian/patches/02_libgnomeprint_path.dpatch
___________________________________________________________________
Name: svn:executable
   + 

Added: non-group/gfax/trunk/debian/patches/03_compile_fix.dpatch
===================================================================
--- non-group/gfax/trunk/debian/patches/03_compile_fix.dpatch	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/patches/03_compile_fix.dpatch	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_compile_fix.dpatch by Mirco Bauer <meebey at meebey.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad gfax-0.7.4~/src/gui.cs gfax-0.7.4/src/gui.cs
+--- gfax-0.7.4~/src/gui.cs	2005-12-22 20:50:45.000000000 +0100
++++ gfax-0.7.4/src/gui.cs	2006-01-30 22:32:55.521385112 +0100
+@@ -654,8 +654,8 @@
+ 		private int update_queue_status(string queue)
+ 		{
+ 			G_ListView view;
+-			Fax.FaxQueue q;
+-			Fax.FaxRecQueue rq;
++			Fax.FaxQueue q = null;
++			Fax.FaxRecQueue rq = null;
+ 						
+ 			view = lv;
+ 				


Property changes on: non-group/gfax/trunk/debian/patches/03_compile_fix.dpatch
___________________________________________________________________
Name: svn:executable
   + 

Added: non-group/gfax/trunk/debian/rules
===================================================================
--- non-group/gfax/trunk/debian/rules	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/rules	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1,80 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+export MONO_SHARED_DIR=$(CURDIR)
+
+LIBGNOMEPRINT_UPVERSION = $(shell dpkg-query -s libgnomeprint2.2-0 | grep ^Ver | cut -d ' ' -f2 | sed 's,-.*,,')
+LIBGNOMEPRINT_NEXT_UPVERSION = $(shell perl -e '$$_=pop; s/(\d+)$$/$$1+1/e; print' $(LIBGNOMEPRINT_UPVERSION))
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+# Include dpatch stuff.
+include /usr/share/dpatch/dpatch.make
+
+config.status: configure
+	dh_testdir
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
+	  --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --sysconfdir=/etc \
+	  --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
+	  --disable-schemas-install --enable-dbus=yes
+
+build: patch build-stamp
+build-stamp: config.status
+	dh_testdir
+	$(MAKE)
+	touch build-stamp
+
+clean: clean-patched unpatch
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	-$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	rm -rf $(MONO_SHARED_DIR)/.wapi
+	rm -rf config.status
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/gfax
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+	dh_installman
+	dh_gconf
+	dh_desktop
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms -Xvar/spool/gfax
+	dh_installdeb
+	dh_shlibdeps
+	dh_clideps
+	dh_gencontrol -- -Vmisc:libgnomeprint-upversion=$(LIBGNOMEPRINT_UPVERSION) -Vmisc:libgnomeprint-next-upversion=$(LIBGNOMEPRINT_NEXT_UPVERSION)
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep
+.PHONY: build clean binary-indep binary install patch unpatch


Property changes on: non-group/gfax/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + 

Added: non-group/gfax/trunk/debian/watch
===================================================================
--- non-group/gfax/trunk/debian/watch	2006-02-03 16:46:48 UTC (rev 2219)
+++ non-group/gfax/trunk/debian/watch	2006-02-03 21:23:19 UTC (rev 2220)
@@ -0,0 +1,2 @@
+version=3
+http://gfax.cowlug.org/ gfax-([\d\.]+)\.tar\.gz




More information about the Pkg-mono-svn-commits mailing list