ports/59744: Patch: Convert 8 Ruby Gnome2 ports to use the new GNOME porting infrastructure.
Jeremy Messenger
mezz7 at cox.net
Fri Nov 28 05:20:20 UTC 2003
>Number: 59744
>Category: ports
>Synopsis: Patch: Convert 8 Ruby Gnome2 ports to use the new GNOME porting infrastructure.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 27 21:20:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Mezz
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ns1.mezzweb.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 13
22:39:47 CDT 2003 mezz at mezz.mezzweb.com:/usr/obj/usr/src/sys/BSDROCKS i386
>Description:
Convert all 8 Ruby Gnome2 ports to use the new GNOME porting infrastructure,
bsd.gnome.mk. The problem has hitted on me when I installed Gnome 2.5.0 from the
MarcusCom CVS, so the x11/ruby-gnome2(-all) will fail because of 8 ports can't
find the depends.
>How-To-Repeat:
n/a
>Fix:
This patch will affect on 8 ports:
devel/ruby-gconf2
devel/ruby-glib2
devel/ruby-libglade2
graphics/ruby-gdk_pixbuf2
graphics/ruby-libart2
multimedia/ruby-gst
x11-toolkits/ruby-gtk2
x11-toolkits/ruby-pango
--- ruby-stuff.diff begins here ---
diff -ur ruby-gconf2.orig/Makefile ruby-gconf2/Makefile
--- ruby-gconf2.orig/Makefile Mon Feb 17 23:04:55 2003
+++ ruby-gconf2/Makefile Thu Nov 27 22:50:10 2003
@@ -17,10 +17,10 @@
MAINTAINER= knu at FreeBSD.org
COMMENT= A Ruby interface to GConf2
-LIB_DEPENDS= gconf-2.5:${PORTSDIR}/devel/gconf2
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
USE_RUBY= yes
+USE_GNOME= gconf2
USE_RUBY_EXTCONF= yes
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
diff -ur ruby-glib2.orig/Makefile ruby-glib2/Makefile
--- ruby-glib2.orig/Makefile Thu Nov 20 14:19:38 2003
+++ ruby-glib2/Makefile Thu Nov 27 22:50:39 2003
@@ -17,9 +17,8 @@
MAINTAINER= knu at FreeBSD.org
COMMENT= Ruby binding for GLib2
-LIB_DEPENDS= glib-2.0.200:${PORTSDIR}/devel/glib20
-
USE_RUBY= yes
+USE_GNOME= glib20
USE_RUBY_EXTCONF= yes
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
diff -ur ruby-libglade2.orig/Makefile ruby-libglade2/Makefile
--- ruby-libglade2.orig/Makefile Mon Feb 17 23:04:56 2003
+++ ruby-libglade2/Makefile Thu Nov 27 19:26:45 2003
@@ -18,9 +18,9 @@
COMMENT= Ruby binding for Libglade2
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
-LIB_DEPENDS= glade-2.0.0:${PORTSDIR}/devel/libglade2
USE_RUBY= yes
+USE_GNOME= libglade2
USE_RUBY_EXTCONF= yes
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
diff -ur ruby-gdk_pixbuf2.orig/Makefile ruby-gdk_pixbuf2/Makefile
--- ruby-gdk_pixbuf2.orig/Makefile Thu Nov 20 16:27:40 2003
+++ ruby-gdk_pixbuf2/Makefile Thu Nov 27 22:56:34 2003
@@ -17,10 +17,10 @@
MAINTAINER= knu at FreeBSD.org
COMMENT= Ruby binding for GdkPixbuf2
-LIB_DEPENDS= gdk_pixbuf-2.0.200:${PORTSDIR}/x11-toolkits/gtk20
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
USE_RUBY= yes
+USE_GNOME= gtk20
USE_RUBY_EXTCONF= yes
USE_XLIB= yes
diff -ur ruby-libart2.orig/Makefile ruby-libart2/Makefile
--- ruby-libart2.orig/Makefile Tue Feb 18 05:13:56 2003
+++ ruby-libart2/Makefile Thu Nov 27 22:56:59 2003
@@ -17,11 +17,11 @@
MAINTAINER= knu at FreeBSD.org
COMMENT= Ruby binding for Libart2
-LIB_DEPENDS= art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl2 \
- jpeg.9:${PORTSDIR}/graphics/jpeg \
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
USE_RUBY= yes
+USE_GNOME= libartlgpl2
USE_RUBY_EXTCONF= yes
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
diff -ur ruby-gst.orig/Makefile ruby-gst/Makefile
--- ruby-gst.orig/Makefile Sat Nov 1 22:02:06 2003
+++ ruby-gst/Makefile Thu Nov 27 23:00:55 2003
@@ -17,11 +17,11 @@
MAINTAINER= knu at FreeBSD.org
COMMENT= Ruby bindings for the GStreamer framework
-BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= gstreamer-0.6.1:${PORTSDIR}/multimedia/gstreamer
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
USE_RUBY= yes
+USE_GNOME= pkgconfig
USE_RUBY_EXTCONF= yes
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
diff -ur ruby-gtk2.orig/Makefile ruby-gtk2/Makefile
--- ruby-gtk2.orig/Makefile Mon Feb 17 23:42:04 2003
+++ ruby-gtk2/Makefile Thu Nov 27 22:57:40 2003
@@ -17,12 +17,12 @@
MAINTAINER= knu at FreeBSD.org
COMMENT= Ruby binding for GTK+2
-LIB_DEPENDS= gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2 \
${RUBY_SITEARCHLIBDIR}/gdk_pixbuf2.so:${PORTSDIR}/graphics/ruby-gdk_pixbuf2 \
${RUBY_SITEARCHLIBDIR}/pango.so:${PORTSDIR}/x11-toolkits/ruby-pango
USE_RUBY= yes
+USE_GNOME= gtk20
USE_RUBY_EXTCONF= yes
USE_XLIB= yes
diff -ur ruby-pango.orig/Makefile ruby-pango/Makefile
--- ruby-pango.orig/Makefile Thu Nov 27 19:03:59 2003
+++ ruby-pango/Makefile Thu Nov 27 22:57:57 2003
@@ -17,10 +17,10 @@
MAINTAINER= knu at FreeBSD.org
COMMENT= Ruby binding for Pango
-LIB_DEPENDS= pango-1.0.200:${PORTSDIR}/x11-toolkits/pango
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
USE_RUBY= yes
+USE_GNOME= pango
USE_RUBY_EXTCONF= yes
USE_XLIB= yes
--- ruby-stuff.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list