--- xprintmon-0.0.3.orig/mainwindow.c +++ xprintmon-0.0.3/mainwindow.c @@ -488,7 +488,7 @@ if( data->user == None ) return; - XtVaGetValues(data->user, XtNlabel, &username); + XtVaGetValues(data->user, XtNlabel, &username, (char*)NULL); requestsTrigger(data->requests, true, data->timecode, username); } --- xprintmon-0.0.3.orig/debian/copyright +++ xprintmon-0.0.3/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Bernhard R. Link on +Sat, 5 May 2007 14:56:32 +0200. + +Copyright: 2006, 2007 Bernhard R. Link + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + 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-2'. --- xprintmon-0.0.3.orig/debian/rules +++ xprintmon-0.0.3/debian/rules @@ -0,0 +1,73 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +# dpkg-buildpackage generates , policy suggests spaces, oh well... +export DEB_BUILD_OPTIONS +BUILDOPTS:=$(shell echo "$$DEB_BUILD_OPTIONS" | sed 's/,/ /g') + +CFLAGS = -Wall -g +ifneq (,$(filter noopt,$(BUILDOPTS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifneq (,$(filter parallel=%,$(BUILDOPTS))) + PARFLAGS = -j$(patsubst parallel=%,%,$(filter parallel=%,$(BUILDOPTS))) +endif + +config.status: configure + dh_testdir + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --sysconfdir=/etc \ + --mandir=\$${prefix}/share/man + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" \ + || ( echo configure failed with $$? ; cat config.log ; exit 1 ) + +build: build-arch build-indep +build-arch: build-arch-stamp + +build-arch-stamp: config.status + dh_testdir + $(MAKE) $(PARFLAGS) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-arch-stamp + if [ -f config.status ] ; then $(MAKE) $(PARFLAGS) distclean ; fi + test ! -f config.log + dh_clean + +build-indep: +# We have nothing to do +binary-indep: build-indep +# We have nothing to do + +binary-arch: build-arch + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) $(PARFLAGS) DESTDIR=$(CURDIR)/debian/xprintmon install + install -D -m 644 images/activeprinter.xpm debian/xprintmon/usr/share/pixmaps/xprintmon.xpm + dh_install + dh_installchangelogs ChangeLog + dh_installdocs + dh_installmenu + dh_installman + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary build-arch build-indep --- xprintmon-0.0.3.orig/debian/docs +++ xprintmon-0.0.3/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- xprintmon-0.0.3.orig/debian/menu +++ xprintmon-0.0.3/debian/menu @@ -0,0 +1,6 @@ +?package(xprintmon):\ + needs="X11"\ + section="Applications/System/Monitoring"\ + title="X print monitor"\ + command="/usr/bin/xprintmon"\ + icon="/usr/share/pixmaps/xprintmon.xpm" --- xprintmon-0.0.3.orig/debian/xprintmon.install +++ xprintmon-0.0.3/debian/xprintmon.install @@ -0,0 +1 @@ +debian/90xprintmon /etc/X11/Xsession.d --- xprintmon-0.0.3.orig/debian/90xprintmon +++ xprintmon-0.0.3/debian/90xprintmon @@ -0,0 +1,6 @@ +if grep -qs "^start-xprintmon$" /etc/X11/Xsession.options ; then + XPRINTMONOPTIONS="$(xrdb -query | grep ^XPrintMon.nostart)" + if test -x /usr/bin/xprintmon -a "x$XPRINTMONOPTIONS" = "x" ; then + xprintmon -iconic & + fi +fi --- xprintmon-0.0.3.orig/debian/changelog +++ xprintmon-0.0.3/debian/changelog @@ -0,0 +1,27 @@ +xprintmon (0.0.3-1) unstable; urgency=low + + * new minor version + - enable 3D look of buttons + * bump Standards-Version to 3.8.0 + - update debian/rules to new DEB_BUILD_OPTIONS + + -- Bernhard R. Link Thu, 26 Jun 2008 11:35:38 +0200 + +xprintmon (0.0.2-3) unstable; urgency=low + + * update menu item to new structure + * bump standards-version to 3.7.3 + + -- Bernhard R. Link Sun, 30 Dec 2007 13:27:54 +0100 + +xprintmon (0.0.2-2) unstable; urgency=low + + * add m4 to build-dependencies (Closes: 432737) + + -- Bernhard R. Link Thu, 12 Jul 2007 16:56:31 +0200 + +xprintmon (0.0.2-1) unstable; urgency=low + + * initial upload + + -- Bernhard R. Link Mon, 25 Jun 2007 17:40:54 +0200 --- xprintmon-0.0.3.orig/debian/dirs +++ xprintmon-0.0.3/debian/dirs @@ -0,0 +1 @@ +usr/bin --- xprintmon-0.0.3.orig/debian/control +++ xprintmon-0.0.3/debian/control @@ -0,0 +1,14 @@ +Source: xprintmon +Section: utils +Priority: extra +Maintainer: Bernhard R. Link +Build-Depends: debhelper (>= 5), libx11-dev, libxt-dev, libxaw7-dev, libxpm-dev, m4 +Standards-Version: 3.8.0 + +Package: xprintmon +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, lprng +Description: graphical print queue monitor for lprng + XPrintMon is a X11 program to list your print jobs + on all available printers and all print jobs on + a specific printer. Deleting jobs is also supported. --- xprintmon-0.0.3.orig/debian/compat +++ xprintmon-0.0.3/debian/compat @@ -0,0 +1 @@ +5 --- xprintmon-0.0.3.orig/debian/watch +++ xprintmon-0.0.3/debian/watch @@ -0,0 +1,3 @@ +# see uscan for format and use +version=3 +http://ftp.debian.org/debian/pool/main/x/xprintmon/xprintmon_(.*).orig.tar.gz