[DRE-commits] [ruby-cairo] 08/11: do no use native-package-installer

Daisuke Higuchi dai at moszumanska.debian.org
Sun Jul 9 12:38:50 UTC 2017


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

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

commit c8b68422f85e19571f13c35ac5e51a671b08a2c7
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date:   Sun Jul 9 21:16:17 2017 +0900

    do no use native-package-installer
---
 .../do-not-use-native-package-installer.patch      | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/do-not-use-native-package-installer.patch b/debian/patches/do-not-use-native-package-installer.patch
new file mode 100644
index 0000000..e9ccbd4
--- /dev/null
+++ b/debian/patches/do-not-use-native-package-installer.patch
@@ -0,0 +1,25 @@
+Description: do not use native-package-installer
+Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
+Forwarded: not-needed
+Last-Update: 2017-07-09
+
+Index: ruby-cairo/ext/cairo/extconf.rb
+===================================================================
+--- ruby-cairo.orig/ext/cairo/extconf.rb
++++ ruby-cairo/ext/cairo/extconf.rb
+@@ -7,7 +7,6 @@ require 'mkmf'
+ require 'fileutils'
+ 
+ require "pkg-config"
+-require "native-package-installer"
+ 
+ checking_for(checking_message("GCC")) do
+   if macro_defined?("__GNUC__", "")
+@@ -52,7 +51,6 @@ def required_pkg_config_package(package_
+   return true if PKGConfig.have_package(*required_package_info)
+ 
+   native_package_info ||= {}
+-  return false unless NativePackageInstaller.install(native_package_info)
+ 
+   PKGConfig.have_package(*required_package_info)
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 1300047..f7b8c00 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 #clean_run_test_rb.patch
+do-not-use-native-package-installer.patch

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



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