[Pkg-cups-devel] r704 - in cupsys/trunk: . debian

Martin Pitt mpitt at alioth.debian.org
Tue Mar 11 22:07:53 UTC 2008


Author: mpitt
Date: Tue Mar 11 22:07:52 2008
New Revision: 704

Log:
* Move scripting examples from cupsys to libcupsys2-dev. No need to install
  those 1.3 MB by default on every system, this is much more developer
  oriented. Mention this in the package description.

Added:
   cupsys/trunk/debian/libcupsys2-dev.examples
Modified:
   cupsys/trunk/   (props changed)
   cupsys/trunk/debian/changelog
   cupsys/trunk/debian/control
   cupsys/trunk/debian/cupsys.examples
   cupsys/trunk/debian/rules

Modified: cupsys/trunk/debian/changelog
==============================================================================
--- cupsys/trunk/debian/changelog	(original)
+++ cupsys/trunk/debian/changelog	Tue Mar 11 22:07:52 2008
@@ -9,8 +9,11 @@
   * Add debian/patches/pbmprint.dpatch: Fix printing of PBM files, thanks to
     Eugeniy Meshcheryakov! (Closes: #313536)
   * debian/cupsys.preinst: Only chown /var/run/cups if it exists. (LP #156634)
+  * Move scripting examples from cupsys to libcupsys2-dev. No need to install
+    those 1.3 MB by default on every system, this is much more developer
+    oriented. Mention this in the package description.
 
- -- Martin Pitt <mpitt at debian.org>  Mon, 10 Mar 2008 18:06:17 +0100
+ -- Martin Pitt <mpitt at debian.org>  Tue, 11 Mar 2008 21:20:11 +0100
 
 cupsys (1.3.6-1) unstable; urgency=low
 

Modified: cupsys/trunk/debian/control
==============================================================================
--- cupsys/trunk/debian/control	(original)
+++ cupsys/trunk/debian/control	Tue Mar 11 22:07:52 2008
@@ -102,7 +102,9 @@
  handling various document types.
  .
  This package provides the files necessary for developing CUPS-aware
- applications and CUPS drivers.
+ applications and CUPS drivers, as well as examples how to communicate
+ with cupsys from different programming languages (Perl, Java, and
+ PHP).
  .
  The terms "Common UNIX Printing System" and "CUPS" are trademarks of
  Easy Software Products (www.easysw.com), and refer to the original

Modified: cupsys/trunk/debian/cupsys.examples
==============================================================================
--- cupsys/trunk/debian/cupsys.examples	(original)
+++ cupsys/trunk/debian/cupsys.examples	Tue Mar 11 22:07:52 2008
@@ -1,3 +1,2 @@
 debian/filters/*
 debian/printer.schema
-scripting

Added: cupsys/trunk/debian/libcupsys2-dev.examples
==============================================================================
--- (empty file)
+++ cupsys/trunk/debian/libcupsys2-dev.examples	Tue Mar 11 22:07:52 2008
@@ -0,0 +1 @@
+scripting

Modified: cupsys/trunk/debian/rules
==============================================================================
--- cupsys/trunk/debian/rules	(original)
+++ cupsys/trunk/debian/rules	Tue Mar 11 22:07:52 2008
@@ -23,7 +23,7 @@
 DEB_INSTALL_CHANGELOGS_ALL := CHANGES.txt
 DEB_DH_STRIP_ARGS := --dbg-package=cupsys-dbg
 DEB_DH_FIXPERMS_ARGS := -Xusr/lib/cups/backend-available
-DEB_DH_COMPRESS_ARGS := -Xusr/share/doc/cupsys/examples/scripting
+DEB_DH_COMPRESS_ARGS := -Xusr/share/doc/libcupsys2-dev/examples/scripting
 DEB_DH_INSTALL_SOURCEDIR := debian/tmp
 LDFLAGS := -Wl,--as-needed
 
@@ -64,9 +64,6 @@
 	# the system-config-printer applet
 	install -D -m 644 packaging/cups-dbus.conf $(DEB_DESTDIR)/../cupsys/etc/dbus-1/system.d/cups.conf
 
-	rm -f debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/examples/scripting/php/*.o
-	rm -f debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/examples/scripting/php/*.so
-
 binary-post-install/libcupsimage2-dev::
 	rm -r debian/libcupsimage2-dev/usr/share/doc/libcupsimage2-dev
 	ln -s libcupsimage2 debian/libcupsimage2-dev/usr/share/doc/libcupsimage2-dev
@@ -74,8 +71,8 @@
 	rm -r debian/cupsys-bsd/usr/share/doc/cupsys-bsd
 	ln -s libcupsys2 debian/cupsys-bsd/usr/share/doc/cupsys-bsd
 binary-post-install/libcupsys2-dev::
-	rm -r debian/libcupsys2-dev/usr/share/doc/libcupsys2-dev
-	ln -s libcupsys2 debian/libcupsys2-dev/usr/share/doc/libcupsys2-dev
+	rm -f debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/examples/scripting/php/*.o
+	rm -f debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/examples/scripting/php/*.so
 binary-post-install/cupsys-client::
 	rm -r debian/cupsys-client/usr/share/doc/cupsys-client
 	ln -s libcupsys2 debian/cupsys-client/usr/share/doc/cupsys-client



More information about the Pkg-cups-devel mailing list