git: ee4e1a8ab570 - main - x11-toolkits/rubygem-gtk2: Readd x11-toolkits/rubygem-gtk2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Dec 2021 20:29:28 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee4e1a8ab5706ddfe63c294d1780e3f54fab5f65 commit ee4e1a8ab5706ddfe63c294d1780e3f54fab5f65 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-12-21 20:27:02 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-12-21 20:29:20 +0000 x11-toolkits/rubygem-gtk2: Readd x11-toolkits/rubygem-gtk2 It is still used by some ports (japanese/gedy, japanese/gsuica, net-im/mikutter). Reported by: antoine --- MOVED | 1 - x11-toolkits/Makefile | 1 + x11-toolkits/rubygem-gtk2/Makefile | 20 ++++++++++++++++++++ x11-toolkits/rubygem-gtk2/distinfo | 3 +++ .../rubygem-gtk2/files/patch-ext_gtk2_extconf.rb | 10 ++++++++++ x11-toolkits/rubygem-gtk2/pkg-descr | 3 +++ 6 files changed, 37 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index 0ecced4c1f47..ff33f9f5b1a2 100644 --- a/MOVED +++ b/MOVED @@ -16700,6 +16700,5 @@ www/rubygem-haml4|www/rubygem-haml|2021-12-21|Remove obsoleted port. Use www/rub www/rubygem-rack15|www/rubygem-rack|2021-12-21|Remove obsoleted port. Use www/rubygem-rack instead www/rubygem-rack20|www/rubygem-rack|2021-12-21|Remove obsoleted port. Use www/rubygem-rack instead www/rubygem-redis-rack1|www/rubygem-redis-rack|2021-12-21|Remove obsoleted port. Use www/rubygem-redis-rack instead -x11-toolkits/rubygem-gtk2|x11-toolkits/rubygem-gtk3|2021-12-21|Remove obsoleted port. Use x11-toolkits/rubygem-gtk3 instead x11-toolkits/rubygem-gtksourceview2|x11-toolkits/rubygem-gtksourceview3|2021-12-21|Remove obsoleted port. Use x11-toolkits/rubygem-gtksourceview3 instead x11-toolkits/rubygem-vte|x11-toolkits/rubygem-vte3|2021-12-21|Remove obsoleted port. Use x11-toolkits/rubygem-vte3 instead diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index ee4f4c6eba84..bc8b1969ef64 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -186,6 +186,7 @@ SUBDIR += rep-gtk2 SUBDIR += rubygem-gdk3 SUBDIR += rubygem-gdk4 + SUBDIR += rubygem-gtk2 SUBDIR += rubygem-gtk3 SUBDIR += rubygem-gtk4 SUBDIR += rubygem-gtksourceview3 diff --git a/x11-toolkits/rubygem-gtk2/Makefile b/x11-toolkits/rubygem-gtk2/Makefile new file mode 100644 index 000000000000..e7ba2fe3a580 --- /dev/null +++ b/x11-toolkits/rubygem-gtk2/Makefile @@ -0,0 +1,20 @@ +PORTNAME= gtk2 +PORTVERSION= 3.4.3 +CATEGORIES= x11-toolkits rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Ruby binding of GTK+ 2.x + +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/COPYING.LIB + +RUN_DEPENDS= rubygem-atk>=${PORTVERSION}:accessibility/rubygem-atk \ + rubygem-gdk_pixbuf2>=${PORTVERSION}:graphics/rubygem-gdk_pixbuf2 \ + rubygem-pango>=${PORTVERSION}:x11-toolkits/rubygem-pango + +USES= gem gnome +USE_GNOME= gtk20 +USE_RUBY= yes + +.include <bsd.port.mk> diff --git a/x11-toolkits/rubygem-gtk2/distinfo b/x11-toolkits/rubygem-gtk2/distinfo new file mode 100644 index 000000000000..abde180f7ad9 --- /dev/null +++ b/x11-toolkits/rubygem-gtk2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1589305286 +SHA256 (rubygem/gtk2-3.4.3.gem) = dfb18826fe1737cbc00ef641abe0f7c77f3646d14775e541d54a949ba3792a6c +SIZE (rubygem/gtk2-3.4.3.gem) = 476160 diff --git a/x11-toolkits/rubygem-gtk2/files/patch-ext_gtk2_extconf.rb b/x11-toolkits/rubygem-gtk2/files/patch-ext_gtk2_extconf.rb new file mode 100644 index 000000000000..9b73d1ade4cb --- /dev/null +++ b/x11-toolkits/rubygem-gtk2/files/patch-ext_gtk2_extconf.rb @@ -0,0 +1,10 @@ +--- ext/gtk2/extconf.rb.orig 2018-04-11 14:13:44 UTC ++++ ext/gtk2/extconf.rb +@@ -34,6 +34,7 @@ end + have_func("rb_errinfo") + + [ ++ "cairo", + "glib2", + "atk", + "pango", diff --git a/x11-toolkits/rubygem-gtk2/pkg-descr b/x11-toolkits/rubygem-gtk2/pkg-descr new file mode 100644 index 000000000000..b211c7b3e35e --- /dev/null +++ b/x11-toolkits/rubygem-gtk2/pkg-descr @@ -0,0 +1,3 @@ +Ruby/GTK2 is a Ruby binding for GTK+2. + +WWW: https://ruby-gnome2.osdn.jp/