[arch-commits] Commit in ruby-glib2/repos (6 files)
Anatol Pomozov
anatolik at archlinux.org
Mon Jul 24 04:02:08 UTC 2017
Date: Monday, July 24, 2017 @ 04:02:07
Author: anatolik
Revision: 246169
archrelease: copy trunk to community-i686, community-x86_64
Added:
ruby-glib2/repos/community-i686/0001-glib2-support-GLib-2.44.patch
(from rev 246168, ruby-glib2/trunk/0001-glib2-support-GLib-2.44.patch)
ruby-glib2/repos/community-i686/PKGBUILD
(from rev 246168, ruby-glib2/trunk/PKGBUILD)
ruby-glib2/repos/community-x86_64/0001-glib2-support-GLib-2.44.patch
(from rev 246168, ruby-glib2/trunk/0001-glib2-support-GLib-2.44.patch)
ruby-glib2/repos/community-x86_64/PKGBUILD
(from rev 246168, ruby-glib2/trunk/PKGBUILD)
Deleted:
ruby-glib2/repos/community-x86_64/0001-glib2-support-GLib-2.44.patch
ruby-glib2/repos/community-x86_64/PKGBUILD
-----------------------------------------------------+
/0001-glib2-support-GLib-2.44.patch | 38 ++++++++++++++++++
/PKGBUILD | 22 ++++++++++
community-i686/0001-glib2-support-GLib-2.44.patch | 38 ++++++++++++++++++
community-i686/PKGBUILD | 22 ++++++++++
community-x86_64/0001-glib2-support-GLib-2.44.patch | 38 ------------------
community-x86_64/PKGBUILD | 22 ----------
6 files changed, 120 insertions(+), 60 deletions(-)
Copied: ruby-glib2/repos/community-i686/0001-glib2-support-GLib-2.44.patch (from rev 246168, ruby-glib2/trunk/0001-glib2-support-GLib-2.44.patch)
===================================================================
--- community-i686/0001-glib2-support-GLib-2.44.patch (rev 0)
+++ community-i686/0001-glib2-support-GLib-2.44.patch 2017-07-24 04:02:07 UTC (rev 246169)
@@ -0,0 +1,38 @@
+From c5cdb741a9eb72351739e48a38946b87c292c293 Mon Sep 17 00:00:00 2001
+From: Kouhei Sutou <kou at clear-code.com>
+Date: Sat, 4 Apr 2015 15:00:14 +0900
+Subject: [PATCH] glib2: support GLib 2.44
+
+gwin32.h includes an enum type that is available on Windows.
+
+GitHub: fix #361
+
+Reported by Benjamin Maisano. Thanks!!!
+
+diff --git a/glib2/ext/glib2/extconf.rb b/glib2/ext/glib2/extconf.rb
+index d88d971..1c5cd8d 100644
+--- a/glib2/ext/glib2/extconf.rb
++++ b/glib2/ext/glib2/extconf.rb
+@@ -56,10 +56,18 @@ create_pkg_config_file("Ruby/GLib2", package_id)
+
+ enum_types_prefix = "glib-enum-types"
+ include_paths = PKGConfig.cflags_only_I("glib-2.0")
++ignore_headers = [
++ "giochannel.h",
++ "gmain.h",
++ "gscanner.h",
++]
++unless (/mingw|cygwin|mswin/ === RUBY_PLATFORM)
++ ignore_headers << "gwin32.h"
++end
+ headers = include_paths.split.inject([]) do |result, path|
+ result + Dir.glob(File.join(path.sub(/^-I/, ""), "glib", "*.h"))
+ end.reject do |file|
+- /g(iochannel|main|scanner)\.h/ =~ file
++ ignore_headers.include?(File.basename(file))
+ end
+ include_paths = PKGConfig.cflags_only_I("gobject-2.0")
+ headers = include_paths.split.inject(headers) do |result, path|
+--
+2.3.5
+
Copied: ruby-glib2/repos/community-i686/PKGBUILD (from rev 246168, ruby-glib2/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-07-24 04:02:07 UTC (rev 246169)
@@ -0,0 +1,22 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=glib2
+pkgname=ruby-$_gemname
+pkgver=3.1.8
+pkgrel=2
+pkgdesc='Ruby/GLib2 is a Ruby binding of GLib-2.x.'
+arch=(i686 x86_64)
+url='http://ruby-gnome2.sourceforge.jp/'
+license=(LGPL2.1)
+depends=(ruby glib2 ruby-pkg-config ruby-native-package-installer)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('cf6ff409a0303a35b5deedbace262221ea8f50c4')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+}
Deleted: community-x86_64/0001-glib2-support-GLib-2.44.patch
===================================================================
--- community-x86_64/0001-glib2-support-GLib-2.44.patch 2017-07-24 03:57:59 UTC (rev 246168)
+++ community-x86_64/0001-glib2-support-GLib-2.44.patch 2017-07-24 04:02:07 UTC (rev 246169)
@@ -1,38 +0,0 @@
-From c5cdb741a9eb72351739e48a38946b87c292c293 Mon Sep 17 00:00:00 2001
-From: Kouhei Sutou <kou at clear-code.com>
-Date: Sat, 4 Apr 2015 15:00:14 +0900
-Subject: [PATCH] glib2: support GLib 2.44
-
-gwin32.h includes an enum type that is available on Windows.
-
-GitHub: fix #361
-
-Reported by Benjamin Maisano. Thanks!!!
-
-diff --git a/glib2/ext/glib2/extconf.rb b/glib2/ext/glib2/extconf.rb
-index d88d971..1c5cd8d 100644
---- a/glib2/ext/glib2/extconf.rb
-+++ b/glib2/ext/glib2/extconf.rb
-@@ -56,10 +56,18 @@ create_pkg_config_file("Ruby/GLib2", package_id)
-
- enum_types_prefix = "glib-enum-types"
- include_paths = PKGConfig.cflags_only_I("glib-2.0")
-+ignore_headers = [
-+ "giochannel.h",
-+ "gmain.h",
-+ "gscanner.h",
-+]
-+unless (/mingw|cygwin|mswin/ === RUBY_PLATFORM)
-+ ignore_headers << "gwin32.h"
-+end
- headers = include_paths.split.inject([]) do |result, path|
- result + Dir.glob(File.join(path.sub(/^-I/, ""), "glib", "*.h"))
- end.reject do |file|
-- /g(iochannel|main|scanner)\.h/ =~ file
-+ ignore_headers.include?(File.basename(file))
- end
- include_paths = PKGConfig.cflags_only_I("gobject-2.0")
- headers = include_paths.split.inject(headers) do |result, path|
---
-2.3.5
-
Copied: ruby-glib2/repos/community-x86_64/0001-glib2-support-GLib-2.44.patch (from rev 246168, ruby-glib2/trunk/0001-glib2-support-GLib-2.44.patch)
===================================================================
--- community-x86_64/0001-glib2-support-GLib-2.44.patch (rev 0)
+++ community-x86_64/0001-glib2-support-GLib-2.44.patch 2017-07-24 04:02:07 UTC (rev 246169)
@@ -0,0 +1,38 @@
+From c5cdb741a9eb72351739e48a38946b87c292c293 Mon Sep 17 00:00:00 2001
+From: Kouhei Sutou <kou at clear-code.com>
+Date: Sat, 4 Apr 2015 15:00:14 +0900
+Subject: [PATCH] glib2: support GLib 2.44
+
+gwin32.h includes an enum type that is available on Windows.
+
+GitHub: fix #361
+
+Reported by Benjamin Maisano. Thanks!!!
+
+diff --git a/glib2/ext/glib2/extconf.rb b/glib2/ext/glib2/extconf.rb
+index d88d971..1c5cd8d 100644
+--- a/glib2/ext/glib2/extconf.rb
++++ b/glib2/ext/glib2/extconf.rb
+@@ -56,10 +56,18 @@ create_pkg_config_file("Ruby/GLib2", package_id)
+
+ enum_types_prefix = "glib-enum-types"
+ include_paths = PKGConfig.cflags_only_I("glib-2.0")
++ignore_headers = [
++ "giochannel.h",
++ "gmain.h",
++ "gscanner.h",
++]
++unless (/mingw|cygwin|mswin/ === RUBY_PLATFORM)
++ ignore_headers << "gwin32.h"
++end
+ headers = include_paths.split.inject([]) do |result, path|
+ result + Dir.glob(File.join(path.sub(/^-I/, ""), "glib", "*.h"))
+ end.reject do |file|
+- /g(iochannel|main|scanner)\.h/ =~ file
++ ignore_headers.include?(File.basename(file))
+ end
+ include_paths = PKGConfig.cflags_only_I("gobject-2.0")
+ headers = include_paths.split.inject(headers) do |result, path|
+--
+2.3.5
+
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-07-24 03:57:59 UTC (rev 246168)
+++ community-x86_64/PKGBUILD 2017-07-24 04:02:07 UTC (rev 246169)
@@ -1,22 +0,0 @@
-# Generated by gem2arch (https://github.com/anatol/gem2arch)
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-_gemname=glib2
-pkgname=ruby-$_gemname
-pkgver=3.1.8
-pkgrel=2
-pkgdesc='Ruby/GLib2 is a Ruby binding of GLib-2.x.'
-arch=(i686 x86_64)
-url='http://ruby-gnome2.sourceforge.jp/'
-license=(LGPL2.1)
-depends=(ruby glib2 ruby-pkg-config ruby-native-package-installer)
-options=(!emptydirs)
-source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
-noextract=($_gemname-$pkgver.gem)
-sha1sums=('cf6ff409a0303a35b5deedbace262221ea8f50c4')
-
-package() {
- local _gemdir="$(ruby -e'puts Gem.default_dir')"
- gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
- rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
-}
Copied: ruby-glib2/repos/community-x86_64/PKGBUILD (from rev 246168, ruby-glib2/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-07-24 04:02:07 UTC (rev 246169)
@@ -0,0 +1,22 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=glib2
+pkgname=ruby-$_gemname
+pkgver=3.1.8
+pkgrel=2
+pkgdesc='Ruby/GLib2 is a Ruby binding of GLib-2.x.'
+arch=(i686 x86_64)
+url='http://ruby-gnome2.sourceforge.jp/'
+license=(LGPL2.1)
+depends=(ruby glib2 ruby-pkg-config ruby-native-package-installer)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('cf6ff409a0303a35b5deedbace262221ea8f50c4')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+}
More information about the arch-commits
mailing list