[DRE-commits] [ruby-pkg-config] 05/19: New upstream version 1.2.0

Daisuke Higuchi dai at moszumanska.debian.org
Sat Jul 15 03:42:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

dai pushed a commit to branch master
in repository ruby-pkg-config.

commit 663c276b5bec6eb9d965c62cc0c71524cc6e1726
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date:   Sat Jul 15 12:02:13 2017 +0900

    New upstream version 1.2.0
---
 .gitignore                |  3 --
 .travis.yml               |  9 ------
 NEWS                      | 10 +++++++
 lib/pkg-config.rb         |  5 +++-
 lib/pkg-config/version.rb |  2 +-
 pkg-config.gemspec        | 72 ++++++++++++++++++++++++-----------------------
 6 files changed, 52 insertions(+), 49 deletions(-)

diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 1a34106..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-/pkg/
-/doc/
-/Gemfile.lock
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index cebf9ae..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-rvm:
-  - 2.1
-  - 2.2
-  - 2.3
-  - 2.4.1
-notifications:
-  email:
-    recipients:
-      - ruby-gnome2-cvs at lists.sourceforge.net
diff --git a/NEWS b/NEWS
index 6a433c1..499425f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,15 @@
 = NEWS
 
+== 1.2.0 - 2017-04-25
+
+=== Improvements
+
+  * Supported x32 environment. [GitHub#12][Reported by Elan Ruusamäe]
+
+=== Thanks
+
+  * Elan Ruusamäe
+
 == 1.1.9 - 2017-04-20
 
   * Supported C++ compiler.
diff --git a/lib/pkg-config.rb b/lib/pkg-config.rb
index 0f83dc3..6d0375c 100644
--- a/lib/pkg-config.rb
+++ b/lib/pkg-config.rb
@@ -254,7 +254,7 @@ class PackageConfig
     all_libs = all_libs.join(" ").gsub(/-([Ll]) /, '\1').split.uniq
     path_flags, other_flags = all_libs.partition {|flag| /\A-L/ =~ flag}
     path_flags = path_flags.reject do |flag|
-      /\A-L\/usr\/lib(?:64)?\z/ =~ flag
+      /\A-L\/usr\/lib(?:64|x32)?\z/ =~ flag
     end
     if @msvc_syntax
       path_flags = path_flags.collect do |flag|
@@ -316,11 +316,13 @@ class PackageConfig
     arch_depended_path = Dir.glob('/usr/lib/*/pkgconfig').join(SEPARATOR)
     default_paths = [
       "/usr/local/lib64/pkgconfig",
+      "/usr/local/libx32/pkgconfig",
       "/usr/local/lib/pkgconfig",
       "/usr/local/libdata/pkgconfig",
       "/opt/local/lib/pkgconfig",
       arch_depended_path,
       "/usr/lib64/pkgconfig",
+      "/usr/libx32/pkgconfig",
       "/usr/lib/pkgconfig",
       "/usr/libdata/pkgconfig",
       "/usr/X11/lib/pkgconfig",
@@ -338,6 +340,7 @@ class PackageConfig
       Dir.glob((pkg_config_prefix + "lib/*/pkgconfig").to_s).join(SEPARATOR)
     [pkg_config_arch_depended_path,
      (pkg_config_prefix + "lib64/pkgconfig").to_s,
+     (pkg_config_prefix + "libx32/pkgconfig").to_s,
      (pkg_config_prefix + "lib/pkgconfig").to_s,
      (pkg_config_prefix + "libdata/pkgconfig").to_s,
      default_path].join(SEPARATOR)
diff --git a/lib/pkg-config/version.rb b/lib/pkg-config/version.rb
index ce98250..c339d8d 100644
--- a/lib/pkg-config/version.rb
+++ b/lib/pkg-config/version.rb
@@ -15,5 +15,5 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
 module PKGConfig
-  VERSION = "1.1.9"
+  VERSION = "1.2.0"
 end
diff --git a/pkg-config.gemspec b/pkg-config.gemspec
index 002500a..7e6b619 100644
--- a/pkg-config.gemspec
+++ b/pkg-config.gemspec
@@ -1,39 +1,41 @@
-# -*- mode: ruby; coding: utf-8 -*-
-#
-# Copyright (C) 2010-2012  Kouhei Sutou <kou at clear-code.com>
-#
-# 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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+#########################################################
+# This file has been automatically generated by gem2tgz #
+#########################################################
+# -*- encoding: utf-8 -*-
 
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "lib"))
-require "pkg-config/version"
+Gem::Specification.new do |s|
+  s.name = "pkg-config"
+  s.version = "1.2.0"
 
-Gem::Specification.new do |spec|
-  spec.name = "pkg-config"
-  spec.version = PKGConfig::VERSION
-  spec.rubyforge_project = "cairo"
-  spec.homepage = "https://github.com/ruby-gnome2/pkg-config"
-  spec.authors = ["Kouhei Sutou"]
-  spec.email = ["kou at cozmixng.org"]
-  spec.summary = 'A pkg-config implementation for Ruby'
-  spec.description = "pkg-config can be used in your extconf.rb to properly detect need libraries for compiling Ruby native extensions"
-  spec.license = "LGPLv2+"
-  spec.files = ["README.rdoc", "NEWS", "Gemfile", "Rakefile", "LGPL-2.1"]
-  spec.files += Dir.glob("lib/**/*.rb")
-  spec.test_files = Dir.glob("test/**/*.rb")
+  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+  s.authors = ["Kouhei Sutou"]
+  s.date = "2017-04-24"
+  s.description = "pkg-config can be used in your extconf.rb to properly detect need libraries for compiling Ruby native extensions"
+  s.email = ["kou at cozmixng.org"]
+  s.files = ["Gemfile", "LGPL-2.1", "NEWS", "README.rdoc", "Rakefile", "lib/pkg-config.rb", "lib/pkg-config/version.rb", "test/run-test.rb", "test/test_pkg_config.rb"]
+  s.homepage = "https://github.com/ruby-gnome2/pkg-config"
+  s.licenses = ["LGPLv2+"]
+  s.require_paths = ["lib"]
+  s.rubyforge_project = "cairo"
+  s.rubygems_version = "1.8.23"
+  s.summary = "A pkg-config implementation for Ruby"
+  s.test_files = ["test/run-test.rb", "test/test_pkg_config.rb"]
 
-  spec.add_development_dependency("test-unit")
-  spec.add_development_dependency("rake")
-  spec.add_development_dependency("bundler")
+  if s.respond_to? :specification_version then
+    s.specification_version = 4
+
+    if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+      s.add_development_dependency(%q<bundler>, [">= 0"])
+      s.add_development_dependency(%q<rake>, [">= 0"])
+      s.add_development_dependency(%q<test-unit>, [">= 0"])
+    else
+      s.add_dependency(%q<bundler>, [">= 0"])
+      s.add_dependency(%q<rake>, [">= 0"])
+      s.add_dependency(%q<test-unit>, [">= 0"])
+    end
+  else
+    s.add_dependency(%q<bundler>, [">= 0"])
+    s.add_dependency(%q<rake>, [">= 0"])
+    s.add_dependency(%q<test-unit>, [">= 0"])
+  end
 end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-pkg-config.git



More information about the Pkg-ruby-extras-commits mailing list