debian/0000755000000000000000000000000011621015237007164 5ustar debian/rules0000755000000000000000000000070111621007770010245 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby debian/ruby-pkg-config.docs0000644000000000000000000000001411621007770013037 0ustar README.rdoc debian/copyright0000644000000000000000000000267311621007770011132 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173 Upstream-Name: pkg-config Source: https://github.com/rcairo/pkg-config Files: * Copyright: Copyright 2008-2011 Kouhei Sutou License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA . On Debian systems, the full text of the LGPLv2.1 can be found at /usr/share/common-licenses/LGPL-2.1 Files: setup.rb Copyright: Copyright © 2000-2005 Minero Aoki License: LGPL-2.1+ This program is free software. You can distribute/modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1. Files: debian/* Copyright: Copyright © 2011 Antonio Terceiro License: Debian packaging is licensed under the same terms as the original package. debian/ruby-tests.rb0000644000000000000000000000011311621010700011613 0ustar require 'test/unit' Dir.glob('test/test_*.rb').each do |f| require f end debian/compat0000644000000000000000000000000211621007770010365 0ustar 7 debian/changelog0000644000000000000000000000153211621015203011030 0ustar ruby-pkg-config (1.1.2-1) unstable; urgency=low * New upstream release. + Fixed to build on non-Intel+Linux platforms #632323 - dropped Debian-specific patch * Run tests with debian/ruby-tests.rb; drop build dependency on rake -- Antonio Terceiro Thu, 11 Aug 2011 10:24:20 -0700 ruby-pkg-config (1.1.2~git20110615-2) unstable; urgency=low * Fix debian/watch: use upstream name instead of Debian name * Also look in arch-dependent pkgconfig directories (Closes: #632323) * Make tests not depend on the exact order in which pkg-config outputs. -- Antonio Terceiro Sat, 02 Jul 2011 12:55:25 -0700 ruby-pkg-config (1.1.2~git20110615-1) unstable; urgency=low * Initial release (Closes: #630659) -- Antonio Terceiro Tue, 14 Jun 2011 09:38:47 -0700 debian/patches/0000755000000000000000000000000011621015237010613 5ustar debian/patches/debian-changes0000644000000000000000000000250311621015237013366 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-pkg-config.git;a=summary --- ruby-pkg-config-1.1.2.orig/test/test_pkg_config.rb +++ ruby-pkg-config-1.1.2/test/test_pkg_config.rb @@ -17,13 +17,11 @@ class PkgConfigTest < Test::Unit::TestCa end def test_cflags - omit("this is known bug in 1.1.2") if PKGConfig::VERSION == "1.1.2" assert_pkg_config("cairo", ["--cflags"], @cairo.cflags) assert_pkg_config("cairo-png", ["--cflags"], @cairo_png.cflags) end def test_cflags_only_I - omit("this is known bug in 1.1.2") if PKGConfig::VERSION == "1.1.2" assert_pkg_config("cairo", ["--cflags-only-I"], @cairo.cflags_only_I) assert_pkg_config("cairo-png", ["--cflags-only-I"], @cairo_png.cflags_only_I) end @@ -109,9 +107,10 @@ class PkgConfigTest < Test::Unit::TestCa end def assert_pkg_config(package, pkg_config_args, actual) - result = pkg_config(package, *pkg_config_args) + result = pkg_config(package, *pkg_config_args).split.sort + sorted_actual = actual.split.sort result = nil if result.empty? - assert_equal(result, actual) + assert_equal(result, sorted_actual) end def assert_override_variables(expected, override_variables) debian/patches/series0000644000000000000000000000001711621015237012026 0ustar debian-changes debian/control0000644000000000000000000000165311621011115010563 0ustar Source: ruby-pkg-config Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Antonio Terceiro DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.4~), libcairo2-dev Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-pkg-config.git Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-pkg-config.git;a=summary Homepage: https://github.com/rcairo/pkg-config XS-Ruby-Versions: all Package: ruby-pkg-config Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${misc:Depends}, ruby | ruby-interpreter Description: pkg-config implementation for Ruby pkg-config can be used in your extconf.rb to properly detect neeed libraries for compiling Ruby native extensions, using the pkg-config database. Note that this package does not use pkg-config, only it's database. debian/source/0000755000000000000000000000000011621007770010467 5ustar debian/source/patch-header0000644000000000000000000000032311621007770012735 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-pkg-config.git;a=summary debian/source/format0000644000000000000000000000001411621007770011675 0ustar 3.0 (quilt) debian/source/options0000644000000000000000000000002411621007770012101 0ustar single-debian-patch debian/watch0000644000000000000000000000015111621007770010215 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/pkg-config .*/pkg-config-(.*).tar.gz debian/TODO0000644000000000000000000000010111621007770007647 0ustar Fix licensing. See https://github.com/rcairo/pkg-config/issues/3