[DRE-commits] [ruby-gnome2] 03/04: Refresh patch.

Daisuke Higuchi dai at moszumanska.debian.org
Wed Jul 19 10:11:12 UTC 2017


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

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

commit 7c42f431f1904b260d30c9de3e102e220ba2409a
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date:   Wed Jul 19 19:06:19 2017 +0900

    Refresh patch.
---
 debian/patches/do-not-use-native-package-installer.patch | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/debian/patches/do-not-use-native-package-installer.patch b/debian/patches/do-not-use-native-package-installer.patch
index d7957ea..5e34d57 100644
--- a/debian/patches/do-not-use-native-package-installer.patch
+++ b/debian/patches/do-not-use-native-package-installer.patch
@@ -15,25 +15,15 @@ Index: ruby-gnome2/glib2/lib/mkmf-gnome2.rb
  
  $CFLAGS += " #{ENV['CFLAGS']}" if ENV['CFLAGS']
  
-@@ -147,17 +146,8 @@ def find_gem_spec(package)
-   end
- end
+@@ -157,7 +156,6 @@ end
  
--def setup_homebrew_libffi
--  platform = NativePackageInstaller::Platform.detect
--  return unless platform.is_a?(NativePackageInstaller::Platform::Homebrew)
--
--  PKGConfig.add_path("/usr/local/opt/libffi/lib/pkgconfig")
--end
--
  #add_depend_package("glib2", "ext/glib2", "/...../ruby-gnome2")
  def add_depend_package(target_name, target_srcdir, top_srcdir, options={})
 -  setup_homebrew_libffi if target_name == "gobject-introspection"
--
+ 
    gem_spec = find_gem_spec(target_name)
    if gem_spec
-     target_source_dir = File.join(gem_spec.full_gem_path, "ext/#{target_name}")
-@@ -481,9 +471,6 @@ def required_pkg_config_package(package_
+@@ -482,9 +480,6 @@ def required_pkg_config_package(package_
    else
      required_package_info = [package_info]
    end

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



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