Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2023 13:17:07 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f0947d62f262 - main - devel/rubygem-glib2: Update to 4.0.8
Message-ID:  <202301301317.30UDH7IV081466@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f0947d62f262a66a9adf903bc9125aa3abf7ba5d

commit f0947d62f262a66a9adf903bc9125aa3abf7ba5d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:42:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 13:01:49 +0000

    devel/rubygem-glib2: Update to 4.0.8
    
    - Update version requirement of RUN_DEPENDS
    - Update WWW and clean up pkg-descr
    
    Changes:        https://github.com/ruby-gnome/ruby-gnome/releases
---
 devel/rubygem-glib2/Makefile                      |  5 +++--
 devel/rubygem-glib2/distinfo                      |  6 +++---
 devel/rubygem-glib2/files/patch-lib-mkmf-gnome.rb | 20 ++++++++++++++++++++
 devel/rubygem-glib2/files/patch-lib_mkmf-gnome.rb | 11 -----------
 devel/rubygem-glib2/pkg-descr                     |  2 --
 5 files changed, 26 insertions(+), 18 deletions(-)

diff --git a/devel/rubygem-glib2/Makefile b/devel/rubygem-glib2/Makefile
index 86baaec08dce..6710a11f3dbf 100644
--- a/devel/rubygem-glib2/Makefile
+++ b/devel/rubygem-glib2/Makefile
@@ -1,11 +1,12 @@
 PORTNAME=	glib2
-PORTVERSION=	4.0.3
+PORTVERSION=	4.0.8
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Ruby binding of GLib 2.x
-WWW=		https://ruby-gnome.github.io/
+WWW=		https://ruby-gnome.github.io/ \
+		https://github.com/ruby-gnome/ruby-gnome
 
 LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING.LIB
diff --git a/devel/rubygem-glib2/distinfo b/devel/rubygem-glib2/distinfo
index cbbb52badb0a..e24a74001c82 100644
--- a/devel/rubygem-glib2/distinfo
+++ b/devel/rubygem-glib2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1663673020
-SHA256 (rubygem/glib2-4.0.3.gem) = 77f24e0bee67f3c272901b483e37cb3bb682083da8ea02073ec87d0352bbc53c
-SIZE (rubygem/glib2-4.0.3.gem) = 139264
+TIMESTAMP = 1674590630
+SHA256 (rubygem/glib2-4.0.8.gem) = 57f1b4f71c5655d99f3d4f0051e838fd8ad22fe077cae1de85ac5d5ff9b37ac4
+SIZE (rubygem/glib2-4.0.8.gem) = 140800
diff --git a/devel/rubygem-glib2/files/patch-lib-mkmf-gnome.rb b/devel/rubygem-glib2/files/patch-lib-mkmf-gnome.rb
new file mode 100644
index 000000000000..fe582aa1117d
--- /dev/null
+++ b/devel/rubygem-glib2/files/patch-lib-mkmf-gnome.rb
@@ -0,0 +1,20 @@
+--- lib/mkmf-gnome.rb.orig	2023-01-23 17:54:17 UTC
++++ lib/mkmf-gnome.rb
+@@ -186,7 +186,7 @@ def add_depend_package(target_name, target_srcdir, top
+ 
+   gem_spec = find_gem_spec(target_name)
+   raise "depended gem isn't found: #{target_name}" unless gem_spec
+-  target_source_dir = File.join(gem_spec.full_gem_path, "ext/#{target_name}")
++  target_source_dir = File.join(gem_spec.full_gem_path, "lib")
+   target_build_dir = target_source_dir
+   add_depend_package_path(target_name, target_source_dir, target_build_dir)
+ end
+@@ -447,7 +447,7 @@ def check_cairo(options={})
+     cairo_gem_spec = find_gem_spec("cairo")
+     if cairo_gem_spec
+       rcairo_source_dir = cairo_gem_spec.full_gem_path
+-      rcairo_ext_source_dir = File.join(rcairo_source_dir, "ext", "cairo")
++      rcairo_ext_source_dir = File.join(rcairo_source_dir, "lib")
+       add_depend_package_path("cairo",
+                               rcairo_ext_source_dir,
+                               rcairo_ext_source_dir)
diff --git a/devel/rubygem-glib2/files/patch-lib_mkmf-gnome.rb b/devel/rubygem-glib2/files/patch-lib_mkmf-gnome.rb
deleted file mode 100644
index 4707bf284c31..000000000000
--- a/devel/rubygem-glib2/files/patch-lib_mkmf-gnome.rb
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/mkmf-gnome.rb.orig	2019-10-28 15:13:19 UTC
-+++ lib/mkmf-gnome.rb
-@@ -156,7 +156,7 @@ setup_homebrew
- def add_depend_package(target_name, target_srcdir, top_srcdir, options={})
-   gem_spec = find_gem_spec(target_name)
-   if gem_spec
--    target_source_dir = File.join(gem_spec.full_gem_path, "ext/#{target_name}")
-+    target_source_dir = File.join(gem_spec.full_gem_path, "lib")
-     target_build_dir = target_source_dir
-     add_depend_package_path(target_name,
-                             target_source_dir,
diff --git a/devel/rubygem-glib2/pkg-descr b/devel/rubygem-glib2/pkg-descr
index d432c02e0516..4814b1046249 100644
--- a/devel/rubygem-glib2/pkg-descr
+++ b/devel/rubygem-glib2/pkg-descr
@@ -1,3 +1 @@
 Ruby/GLib2 is a Ruby binding for GLib2.
-
-See also: https://github.com/ruby-gnome/ruby-gnome



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301301317.30UDH7IV081466>