debian/0000755000000000000000000000000012256106774007200 5ustar debian/copyright0000644000000000000000000000617612176035110011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ruby-cairo Source: https://github.com/rcairo/rcairo Files: * Copyright: Copyright Evan Marin Copyright Øyvind Kolås Copyright MenTaLguY Copyright Kouhei Sutou License: GPL-2 or Ruby Files: debian/* Copyright: Copyright 2005, Thierry Reding Copyright 2006-2009, Paul van Tilburg Copyright 2011, Antonio Terceiro Copyright 2012, Cédric Boutillier License: GPL-2 or Ruby License: GPL-2 On Debian systems, the full text of the GNU General Public License version can be found in the file `/usr/share/common-licenses/GPL-2'. License: Ruby You can redistribute it and/or modify it under either the terms of the GPL (see the file GPL), or the conditions below: . 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. . 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. b) use the modified software only within your corporation or organization. c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or binary form, provided that you do at least ONE of the following: a) distribute the binaries and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. b) accompany the distribution with the machine-readable source of the software. c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. d) make other distribution arrangements with the author. . 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under these terms. . For the list of those files and their copying conditions, see the file LEGAL. . 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. . 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. debian/rules0000755000000000000000000000025412176035110010243 0ustar #!/usr/bin/make -f export DH_RUBY_GEMSPEC=debian/cairo-debian.gemspec %: dh $@ --buildsystem=ruby --with ruby override_dh_installchangelogs: dh_installchangelogs NEWS debian/cairo-debian.gemspec0000644000000000000000000000011412133037622013043 0ustar Gem::Specification.new do |s| s.extensions << 'ext/cairo/extconf.rb' end debian/source/0000755000000000000000000000000012176035110010462 5ustar debian/source/format0000644000000000000000000000001412133037622011673 0ustar 3.0 (quilt) debian/source/patch-header0000644000000000000000000000031612133037622012735 0ustar This patch contains all the Debian-specific changes mixed together. To review them separately, please inspect the VCS history at http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-cairo.git;a=summary debian/source/options0000644000000000000000000000002012133037622012073 0ustar unapply-patches debian/ruby-cairo.examples0000644000000000000000000000001212133037622012772 0ustar samples/* debian/control0000644000000000000000000000216012256106401010565 0ustar Source: ruby-cairo Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Paul van Tilburg , Antonio Terceiro , Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.0~), ruby-pkg-config, libcairo2-dev (>= 1.6.0), rake, ruby-test-unit Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-cairo.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-cairo.git;a=summary Homepage: https://github.com/rcairo/rcairo XS-Ruby-Versions: all Package: ruby-cairo Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Cairo bindings for the Ruby language Cairo is a multi-platform library providing anti-aliased vector-based rendering for multiple target backends. This package contains libraries for using Cairo with the Ruby programming language. It is most likely useful in conjunction with Ruby bindings for other libraries such as GTK+. debian/watch0000644000000000000000000000013712133037622010217 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/cairo .*/cairo-(.*).tar.gz debian/ruby-tests.rake0000644000000000000000000000035412133037622012154 0ustar task :default => :test require 'rake/testtask' require 'rbconfig' Rake::TestTask.new do |t| t.libs = ["test"] t.test_files = FileList['test/test_*.rb'] t.ruby_opts << '-rcairo-test-utils' << '-rtest/unit' t.verbose = true end debian/changelog0000644000000000000000000001702712256106774011061 0ustar ruby-cairo (1.12.8-1) unstable; urgency=medium * Team upload. * New Upstream version * Bump Standards-Version to 3.9.5 (no changes) * Update Build-Depends for ruby2.0 support, drop ruby1.8 support -- Christian Hofstaedtler Mon, 23 Dec 2013 20:24:15 +0100 ruby-cairo (1.12.6-1) unstable; urgency=low * New upstream version * debian/control: + remove obsolete DM-Upload-Allowed flag + use canonical URI in Vcs-* fields + update my email address + bump Standards-Version to 3.9.4 (no changes needed) + drop transitional libcairo-ruby* packages * drop lintian overrides, about transitional packages * deactivate clean_run_test_rb.patch, not needed * update my email address also in debian/copyright * debian/rules: install upstream changelog -- Cédric Boutillier Wed, 05 Jun 2013 16:39:38 +0200 ruby-cairo (1.12.2-2) unstable; urgency=low * Bump build dependency on gem2deb to >= 0.3.0~ -- Cédric Boutillier Tue, 26 Jun 2012 07:47:38 +0200 ruby-cairo (1.12.2-1) unstable; urgency=low * New upstream version * Refresh debian/patches/clean_run_test_rb.patch and add DEP-3 header * Add back test/test_xml_device.rb in the list of tests, that was removed in 1.12.1-1 -- Cédric Boutillier Mon, 04 Jun 2012 14:46:45 +0200 ruby-cairo (1.12.1-1) unstable; urgency=low * New upstream version, supporting version 1.12 of cairo library (Closes: #666582) * Add myself to Uploaders * Bump Standards-Versions to 3.9.3 (no changes needed) * Move single-debian-patch setting to usual quilt queue * Convert copyright file to DEP-5 * Build-Depends on ruby-test-unit and remove debian/test-unit-stub.rb * Put Priority of transitional packages to extra -- Cédric Boutillier Tue, 08 May 2012 09:43:43 +0200 ruby-cairo (1.10.0-3) unstable; urgency=low * Reverted patch to fix name clash between cairo.rb and cairo.so. See discussion with upstream at https://github.com/rcairo/rcairo/issues/5 This is now correctly handled by gem2deb >= 0.2.7, so we require at least that version to build. * debian/ruby-tests.rake: removed explicit library paths to expose the problem in #632071 with the help of gem2deb's enhanced test runner. -- Antonio Terceiro Sat, 02 Jul 2011 01:08:38 -0700 ruby-cairo (1.10.0-2) unstable; urgency=low * debian/source/lintian-overrides: added to avoid warning about descriptions being too short. * Fix name clash between cairo.rb and cairo.so (Closes: #632071) * added debian/ruby-cairo.examples to install examples -- Antonio Terceiro Wed, 29 Jun 2011 12:35:38 -0700 ruby-cairo (1.10.0-1) unstable; urgency=low * New upstream release. * Package is being renamed to ruby-cairo and migrated to use gem2deb. -- Antonio Terceiro Sun, 19 Jun 2011 15:10:37 -0700 libcairo-ruby (1.8.1-1) unstable; urgency=low * New upstream release. * Drop package for Ruby 1.9.1 since the test suite doesn't pass. Closes: #565830. -- Lucas Nussbaum Sat, 13 Feb 2010 10:15:01 +0100 libcairo-ruby (1.8.0-1) unstable; urgency=low [ Gunnar Wolf ] * Changed section to Ruby as per ftp-masters' request [ Paul van Tilburg ] * New upstream release. * debian/patches: - Dropped patch 01_fix-st.h-ruby1.9-paths: fixed by upstream. * debian/control: - Bumped standards version to 3.8.1; no changes required. - Added ${misc:Depends} to the depends of libcairo-ruby (binary). -- Paul van Tilburg Tue, 05 May 2009 12:14:31 +0200 libcairo-ruby (1.6.3-1) unstable; urgency=low [ Paul van Tilburg ] * New upstream release. * Dropped patch 01_fix-ftools-extconf: fixed upsteam. * Added patch 01_fix-st.h-ruby1.9-paths. * Bumped build-dependancy on libcairo2 to >= 1.6.0. * Fixed the too long line in debian/copyright. * Bumped standards version to 3.8.0; no changes required. [ Lucas Nussbaum ] * Build-depend on r-p-t >= 0.14, to fix the ruby1.9 libs install problem. -- Paul van Tilburg Sun, 10 Aug 2008 15:24:03 +0200 libcairo-ruby (1.5.1-1) unstable; urgency=low [ Arnaud Cornet ] * Use new Homepage dpkg header. [ Paul van Tilburg ] * New upstream release. * debian/patches: - Dropped patches 002-missing-decl-and-string-len-struct.patch, 001-extconf-ruby1.9.patch: incorporated upstream. - Added the FTBFS fix by Marc 'HE' Brockschmidt as 01_fix-ftools-extconf.diff. * Bumped standards version to 3.7.3; no changes required. * Added Vcs-* headers to debian/control. -- Paul van Tilburg Mon, 31 Mar 2008 22:45:22 +0200 libcairo-ruby (1.5.0-1.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS with ruby1.9, which doesn't have ftools anymore. Make both 1.8 and 1.9 builds use fileutils.rb instead. (Closes: #458679) -- Marc 'HE' Brockschmidt Sat, 08 Mar 2008 19:52:34 +0100 libcairo-ruby (1.5.0-1) unstable; urgency=low * New upstream release. * Bumped libcairo2-dev requirement to >= 1.2.0. * Enabled CDBS simple patch sys in debian/rules. * Added patch 001-extconf-ruby1.9.patch to fix the API incompatbility with ruby1.9. * Added patch 002-missing-decl-and-string-len-struct.patch to add a missing variable declaration and fix struct member errors (courtesy of Michael Ablassmeier). -- Paul van Tilburg Wed, 13 Jun 2007 14:26:29 +0100 libcairo-ruby (1.4.1-1) unstable; urgency=low * New upstream release: - Modified debian/rules to switch to extconf installation * Adapted debian/control, debian/rules, and removed debian/control.in to drop the Uploaders rule. * Changed priority to optional, no idea why it was extras. * Added debian/libcairo-ruby.examples to install the examples using this file, not directly from debian/rules. * New maintainer: me! I'm taking over from Thierry Reding. -- Paul van Tilburg Wed, 18 Apr 2007 21:56:48 +0200 libcairo-ruby (1.2.0-1) unstable; urgency=low * New upstream release. * Fixed the URL in the description (courtesy of Tomas Pospisek, closes: #361857). * Bumped standards version to 3.7.2; no changes required. -- Paul van Tilburg Mon, 3 Jul 2006 12:10:17 +0200 libcairo-ruby (1.0.0-3) unstable; urgency=low [ Thierry Reding ] * libcairo-ruby1.8 now replaces libcairo-ruby (<= 1.0.0-1) to make it installable again. Thanks to David Weinehall and Adam Majer for pointing this out. (Closes: #361192) -- Paul van Tilburg Mon, 10 Apr 2006 21:07:27 +0200 libcairo-ruby (1.0.0-2) unstable; urgency=low [ Thierry Reding ] * Now uses CDBS for packaging. * Provides packages linked against Ruby 1.8 and Ruby 1.9. * Set myself as maintainer, the Debian Ruby/Extras Team as uploaders. * Added versioned build-dependency on ruby-pkg-tools (>= 0.8) in order for the @RUBY_EXTRAS_TEAM@ marker to be recognized. -- Thierry Reding Wed, 22 Mar 2006 13:39:17 +0100 libcairo-ruby (1.0.0-1) unstable; urgency=low * Initial release. (Closes: #342466) * Uses "The Uploaders Rule" to automatically fill in the Uploaders: field in the `debian/control' file so that all pkg-ruby-extras team members will be listed. * Added a note about the `setup.rb' script's license (LGPL) to the `debian/copyright' file. -- Thierry Reding Wed, 4 Jan 2006 23:13:45 +0100 debian/compat0000644000000000000000000000000212133037622010363 0ustar 7 debian/patches/0000755000000000000000000000000012176035110010611 5ustar debian/patches/series0000644000000000000000000000003112176035110012020 0ustar #clean_run_test_rb.patch debian/patches/clean_run_test_rb.patch0000644000000000000000000000153412133037622015330 0ustar Description: Clean a little bit test/run-test.rb - remove requirements on rubygems and bundler - we know where to find make N.B.: currently test/run-test.rb is not called with debian/ruby-tests.rake Origin: vendor Last-Update: 2012-06-04 --- ruby-cairo-1.12.1.orig/test/run-test.rb +++ ruby-cairo-1.12.1/test/run-test.rb @@ -5,14 +5,14 @@ ext_dir = File.join(base_dir, "ext", "ca lib_dir = File.join(base_dir, "lib") test_dir = File.join(base_dir, "test") -if system("which make >/dev/null 2>&1") - Dir.chdir(base_dir) do - system("make > /dev/null") or exit(1) - end -end +#if system("which make >/dev/null 2>&1") +# Dir.chdir(base_dir) do +# system("make > /dev/null") or exit(1) +# end +#end -require 'rubygems' -require 'bundler/setup' +#require 'rubygems' +#require 'bundler/setup' require 'test-unit' $LOAD_PATH.unshift(base_dir)