pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/ruby-gtk2 ruby-gtk2: add kludge to make gtk2 gem w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca250e97db86
branches:  trunk
changeset: 457577:ca250e97db86
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Sun Aug 29 16:57:18 2021 +0000

description:
ruby-gtk2: add kludge to make gtk2 gem work with newer ruby-gnome gems.

At least mikutter works with the latest (and no longer updated) 3.4.3 gtk2
and newer 3.4.9 glib2 and other gems.

Bump PKGREVISION.

diffstat:

 x11/ruby-gtk2/Makefile      |  15 ++++++++-------
 x11/ruby-gtk2/buildlink3.mk |   4 ++--
 2 files changed, 10 insertions(+), 9 deletions(-)

diffs (50 lines):

diff -r 2b7be3cadedc -r ca250e97db86 x11/ruby-gtk2/Makefile
--- a/x11/ruby-gtk2/Makefile    Sun Aug 29 16:53:29 2021 +0000
+++ b/x11/ruby-gtk2/Makefile    Sun Aug 29 16:57:18 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2021/08/22 17:02:44 tsutsui Exp $
+# $NetBSD: Makefile,v 1.7 2021/08/29 16:57:18 tsutsui Exp $
 #
 
-VERSION=               3.4.3
-DISTNAME=              gtk2-${VERSION}
+DISTNAME=              gtk2-3.4.3
+PKGREVISION=           1
 CATEGORIES=            x11
 
 MAINTAINER=            tsutsui%NetBSD.org@localhost
@@ -13,11 +13,12 @@
 CONFLICTS+=            ruby-gnome2-gtk-[0-9]*
 SUPERSEDES+=           ruby-gnome2-gtk-[0-9]*
 
-DEPENDS+=              ${RUBY_PKGPREFIX}-atk>=${VERSION}:../../devel/ruby-atk
-DEPENDS+=              ${RUBY_PKGPREFIX}-pango>=${VERSION}:../../devel/ruby-pango
-DEPENDS+=              ${RUBY_PKGPREFIX}-gdk_pixbuf2>=${VERSION}:../../graphics/ruby-gdk_pixbuf2
+DEPENDS+=              ${RUBY_PKGPREFIX}-atk>=3.4.3:../../devel/ruby-atk
+DEPENDS+=              ${RUBY_PKGPREFIX}-pango>=3.4.3:../../devel/ruby-pango
+DEPENDS+=              ${RUBY_PKGPREFIX}-gdk_pixbuf2>=3.4.3:../../graphics/ruby-gdk_pixbuf2
 
-.include "../../devel/ruby-pango/buildlink3.mk"
+OVERRIDE_GEMSPEC+=     atk>=3.4.3 pango>=3.4.3 gdk_pixbuf2>=3.4.3
+
 .include "../../x11/gtk2/buildlink3.mk"
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2b7be3cadedc -r ca250e97db86 x11/ruby-gtk2/buildlink3.mk
--- a/x11/ruby-gtk2/buildlink3.mk       Sun Aug 29 16:53:29 2021 +0000
+++ b/x11/ruby-gtk2/buildlink3.mk       Sun Aug 29 16:57:18 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2021/08/22 17:49:19 tsutsui Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2021/08/29 16:57:18 tsutsui Exp $
 
 BUILDLINK_TREE+=       ruby-gtk2
 
@@ -6,7 +6,7 @@
 RUBY_GTK2_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.ruby-gtk2+=      ${RUBY_PKGPREFIX}-gtk2>=3.3.8
-BUILDLINK_ABI_DEPENDS.ruby-gtk2+=      ${RUBY_PKGPREFIX}-gtk2>=3.4.2nb1
+BUILDLINK_ABI_DEPENDS.ruby-gtk2+=      ${RUBY_PKGPREFIX}-gtk2>=3.4.3nb1
 BUILDLINK_PKGSRCDIR.ruby-gtk2?=                ../../x11/ruby-gtk2
 
 .include "../../devel/ruby-pango/buildlink3.mk"



Home | Main Index | Thread Index | Old Index