r28695 - in /trunk/libcairo-perl: debian/ debian/changelog debian/compat debian/control debian/copyright debian/rules t/CairoSurface.t

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Sun Dec 28 07:28:46 UTC 2008


Author: ryan52-guest
Date: Sun Dec 28 07:28:42 2008
New Revision: 28695

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=28695
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libcairo-perl/debian/
    trunk/libcairo-perl/debian/changelog
    trunk/libcairo-perl/debian/compat
    trunk/libcairo-perl/debian/control
    trunk/libcairo-perl/debian/copyright
    trunk/libcairo-perl/debian/rules   (with props)
Modified:
    trunk/libcairo-perl/t/CairoSurface.t

Added: trunk/libcairo-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcairo-perl/debian/changelog?rev=28695&op=file
==============================================================================
--- trunk/libcairo-perl/debian/changelog (added)
+++ trunk/libcairo-perl/debian/changelog Sun Dec 28 07:28:42 2008
@@ -1,0 +1,57 @@
+libcairo-perl (1.060-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Bump Standards-Version (no changes needed)
+
+ -- Marc 'HE' Brockschmidt <he at debian.org>  Sat, 21 Jun 2008 17:27:55 +0200
+
+libcairo-perl (1.053-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Marc 'HE' Brockschmidt <he at debian.org>  Sat, 15 Mar 2008 10:12:35 +0100
+
+libcairo-perl (1.052-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control: Bumped Standards-Version to 3.7.3 (no changes needed)
+
+ -- Marc 'HE' Brockschmidt <he at debian.org>  Sat, 16 Feb 2008 00:32:22 +0100
+
+libcairo-perl (1.043-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Marc 'HE' Brockschmidt <he at debian.org>  Wed, 17 Oct 2007 14:31:07 +0200
+
+libcairo-perl (1.041-1) unstable; urgency=low
+
+  * New upstream release:
+    + debian/control: Depend on libtest-number-delta-perl, which is now needed
+      in the test suite
+
+ -- Marc 'HE' Brockschmidt <he at debian.org>  Thu, 02 Aug 2007 10:27:13 +0200
+
+libcairo-perl (1.01-1) unstable; urgency=low
+
+  * New upstream release.
+  * Bump Standards-Version to 3.7.2
+  * debian/copyright: Add search.cpan.org URI. (Closes: #383501)
+
+ -- Marc 'HE' Brockschmidt <he at debian.org>  Tue, 26 Sep 2006 00:05:29 +0200
+
+libcairo-perl (0.92-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream release.
+    * Fixes FTBFS in tests with newer cairo. (Closes: #382245)
+    * Build-depend on at least version 1.2.0 of libcairo2-dev.
+
+ -- Steinar H. Gunderson <sesse at debian.org>  Tue, 29 Aug 2006 00:21:25 +0200
+
+
+libcairo-perl (0.03-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Marc 'HE' Brockschmidt <he at debian.org>  Mon, 03 Apr 2005 23:39:42 +0200

Added: trunk/libcairo-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcairo-perl/debian/compat?rev=28695&op=file
==============================================================================
--- trunk/libcairo-perl/debian/compat (added)
+++ trunk/libcairo-perl/debian/compat Sun Dec 28 07:28:42 2008
@@ -1,0 +1,1 @@
+4

Added: trunk/libcairo-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcairo-perl/debian/control?rev=28695&op=file
==============================================================================
--- trunk/libcairo-perl/debian/control (added)
+++ trunk/libcairo-perl/debian/control Sun Dec 28 07:28:42 2008
@@ -1,0 +1,27 @@
+Source: libcairo-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2), perl (>= 5.8.0-7), libextutils-depends-perl (>= 0.200), libextutils-pkgconfig-perl (>= 1.00), libcairo2-dev (>= 1.2.0), libtest-number-delta-perl
+Maintainer: Gtk2-Perl Maintainers <pkg-gtk2-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Marc 'HE' Brockschmidt <he at debian.org>, Florian Ragwitz <rafl at debian.org>
+Standards-Version: 3.8.0
+
+Package: libcairo-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} 
+Description: Perl interface to the Cairo graphics library
+ libcairo-perl provides access to the Cairo library.
+ .
+ Cairo is a 2D graphics library with support for multiple 
+ output devices. It is designed to produce consistent output
+ on all output media while taking advantage of display hardware
+ acceleration when available (eg. through the X Render Extension).
+ .
+ The cairo API provides operations similar to the drawing
+ operators of PostScript and PDF. Operations in cairo including
+ stroking and filling cubic Bézier splines, transforming and compositing
+ translucent images, and antialiased text rendering. All drawing
+ operations can be transformed by any affine transformation (scale,
+ rotation, shear, etc.) 
+ .
+ Find out more about Cairo at http://www.cairographics.org/.

Added: trunk/libcairo-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcairo-perl/debian/copyright?rev=28695&op=file
==============================================================================
--- trunk/libcairo-perl/debian/copyright (added)
+++ trunk/libcairo-perl/debian/copyright Sun Dec 28 07:28:42 2008
@@ -1,0 +1,20 @@
+This is the debian package for the Cairo module.
+It was created by Marc 'HE' Brockschmidt <he at debian.org>.
+
+The sources were downloaded from CPAN. Many mirrors exist, but
+http://search.cpan.org/~tsch/Cairo/ should be working.
+
+The upstream authors are Ross McFarland <rwmcfa1 at neces.com>
+                         Torsten Schoenfeld <kaffeetisch at gmx.de>
+                         [the cairo perl team]
+
+Copyright (C) 2004-2008 by the cairo perl team
+
+This library is free software; you can redistribute it and/or modify it under
+the terms of the GNU Library General Public License as published by the Free
+Software Foundation; either version 2.1 of the License, or (at your option) any
+later version.
+
+A copy of the LGPL-2 can be found at /usr/share/common-licenses/LGPL-2 on
+any Debian system.
+

Added: trunk/libcairo-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcairo-perl/debian/rules?rev=28695&op=file
==============================================================================
--- trunk/libcairo-perl/debian/rules (added)
+++ trunk/libcairo-perl/debian/rules Sun Dec 28 07:28:42 2008
@@ -1,0 +1,79 @@
+#!/usr/bin/make -f
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)"
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+	dh_clean
+
+install: 
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) test
+	$(MAKE) install PREFIX=$(TMP)/usr
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs NEWS
+	dh_installexamples examples/*
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_perl 
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary

Propchange: trunk/libcairo-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Modified: trunk/libcairo-perl/t/CairoSurface.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcairo-perl/t/CairoSurface.t?rev=28695&op=diff
==============================================================================
--- trunk/libcairo-perl/t/CairoSurface.t (original)
+++ trunk/libcairo-perl/t/CairoSurface.t Sun Dec 28 07:28:42 2008
@@ -302,14 +302,14 @@
 	skip 'svg surface', 12
 		unless Cairo::HAS_SVG_SURFACE;
 
-	my $surf = Cairo::SvgSurface->create ('tmp.svg', IMG_WIDTH, IMG_HEIGHT);
+	my $surf = Cairo::SvgSurface->create ('/tmp/tmp.svg', IMG_WIDTH, IMG_HEIGHT);
 	isa_ok ($surf, 'Cairo::SvgSurface');
 	isa_ok ($surf, 'Cairo::Surface');
 
 	$surf->restrict_to_version ('1-1');
 	$surf->restrict_to_version ('1-2');
 
-	unlink 'tmp.svg';
+	unlink '/tmp/tmp.svg';
 
 	SKIP: {
 		skip 'create_for_stream on svg surfaces', 4




More information about the Pkg-perl-cvs-commits mailing list