summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-09-17 00:21:48 +0000
committerobache <obache@pkgsrc.org>2008-09-17 00:21:48 +0000
commit1f8504ee8481df6a289ae54913e765744406e90f (patch)
tree24fe136e4ffd280b7c41acc7a744a9bd50514b51 /print
parentf80cb815eedd480226b99c91e48e62a4a8f28979 (diff)
downloadpkgsrc-1f8504ee8481df6a289ae54913e765744406e90f.tar.gz
Update ruby-gnome2 to 0.17.0 release.
pkgsrc changes: * Add some additional modules: devel/ruby-gnome2-bonobo devel/ruby-gnome2-bonoboui devel/ruby-gnome2-gconf devel/ruby-gnome2-libglade graphics/ruby-gnome2-gtkglext multimedia/ruby-gnome2-gstreamer print/ruby-gnome2-gnomeprintui sysutils/ruby-gnome2-gnomevfs www/ruby-gnome2-gtkhtml2 www/ruby-gnome2-gtkmozembed x11/ruby-gnome2-gtksourceview x11/ruby-gnome2-vte * Fixed detection of rcairo. It had been broken since switched to gem. patch-a{c,h,i,j,k,l.m} (It Already in upstream trunk) * Add patches for allow to load gem rcairo. patch-a{n,o,p} * Fixed overwritten glib module when installing modules require generated header of glib module. Modify to install the header as part of glib module and use bl3.mk. * clean up dependency * Add test target for modules having unit test. * Modified patch-a{a,b,d,f,g} to acceptable by upstream. Ruby-GNOME2-0.17.0 (2008-09-07) Release notes: * This Release supports Ruby 1.8.7 and has many bug fixes and new bound functions. Main changes: * Ruby/GLib: - [#2060606] Crash when removing ruby applet from gnome panel with 0.7rc1 [Kouhei Sutou] * Ruby/GTK: - [#2025651] FTBFS with gtk+ 2.13.5 [Cesare Tirabassi, Kouhei Sutou] - [#2043970] Segfaults on 64-bit Linux [Neil Roberts, Kouhei Sutou] * Ruby/Pango: - [#2043970] Pango::FontDescription#weight= seg fault [Kouhei Sutou] * Many other changes, GC bugs, Segfault fixes. See corresponding ChangeLog for detailed information on changes and contributors. Special thanks for your contributions to: (list in no particular order) - Neil Roberts - Cesare Tirabassi - Arnaud Cornet
Diffstat (limited to 'print')
-rw-r--r--print/Makefile3
-rw-r--r--print/ruby-gnome2-gnomeprint/Makefile13
-rw-r--r--print/ruby-gnome2-gnomeprint/PLIST3
-rw-r--r--print/ruby-gnome2-gnomeprint/buildlink3.mk19
-rw-r--r--print/ruby-gnome2-gnomeprintui/DESCR5
-rw-r--r--print/ruby-gnome2-gnomeprintui/Makefile21
-rw-r--r--print/ruby-gnome2-gnomeprintui/PLIST3
-rw-r--r--print/ruby-gnome2-poppler/Makefile7
8 files changed, 70 insertions, 4 deletions
diff --git a/print/Makefile b/print/Makefile
index b9e5fbfb9b7..87cca85ee90 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.186 2008/09/03 21:39:00 markd Exp $
+# $NetBSD: Makefile,v 1.187 2008/09/17 00:21:48 obache Exp $
#
COMMENT= Desktop publishing
@@ -106,6 +106,7 @@ SUBDIR+= rlpr
SUBDIR+= rtf2latex
SUBDIR+= rtf2latex2e
SUBDIR+= ruby-gnome2-gnomeprint
+SUBDIR+= ruby-gnome2-gnomeprintui
SUBDIR+= ruby-gnome2-poppler
SUBDIR+= ruby-pdf-writer
SUBDIR+= scribus
diff --git a/print/ruby-gnome2-gnomeprint/Makefile b/print/ruby-gnome2-gnomeprint/Makefile
index b8466853ec7..eb67d3f0570 100644
--- a/print/ruby-gnome2-gnomeprint/Makefile
+++ b/print/ruby-gnome2-gnomeprint/Makefile
@@ -1,15 +1,26 @@
-# $NetBSD: Makefile,v 1.5 2008/06/19 15:13:54 taca Exp $
+# $NetBSD: Makefile,v 1.6 2008/09/17 00:21:49 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gnomeprint-${VERSION}
COMMENT= Ruby binding of libgnomeprint
CATEGORIES= print
+PKG_DESTDIR_SUPPORT= user-destdir
+
RUBY_EXTCONF_SUBDIRS= gnomeprint
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}:../../devel/ruby-gnome2-glib
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-pango>=${VERSION}:../../devel/ruby-gnome2-pango
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-libart>=${VERSION}:../../graphics/ruby-gnome2-libart
USE_TOOLS+= pkg-config
+# Need rblibgnomeprintversion.h for build ruby-gnome2-gnomeprintui.
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/gnomeprint/src/rblibgnomeprintversion.h \
+ ${DESTDIR}${RUBY_VENDORARCHLIBDIR}
+
+do-test:
+ ${RUN} cd ${WRKSRC}/gnomeprint/test; ${SETENV} ${TEST_ENV} ${RUBY} run-test.rb
+
.include "../../print/libgnomeprint/buildlink3.mk"
.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/print/ruby-gnome2-gnomeprint/PLIST b/print/ruby-gnome2-gnomeprint/PLIST
index 2b0c930c6f1..b77c2122ab2 100644
--- a/print/ruby-gnome2-gnomeprint/PLIST
+++ b/print/ruby-gnome2-gnomeprint/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2008/06/19 15:13:54 taca Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/09/17 00:21:49 obache Exp $
${RUBY_VENDORLIB}/gnomeprint2.rb
${RUBY_VENDORARCHLIB}/gnomeprint2.${RUBY_DLEXT}
+${RUBY_VENDORARCHLIB}/rblibgnomeprintversion.h
diff --git a/print/ruby-gnome2-gnomeprint/buildlink3.mk b/print/ruby-gnome2-gnomeprint/buildlink3.mk
new file mode 100644
index 00000000000..982783392cd
--- /dev/null
+++ b/print/ruby-gnome2-gnomeprint/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/09/17 00:21:49 obache Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+RUBY_GNOME2_GNOMEPRINT_BUILDLINK3_MK:= ${RUBY_GNOME2_GNOMEPRINT_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= ruby-gnome2-gnomeprint
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nruby-gnome2-gnomeprint}
+BUILDLINK_PACKAGES+= ruby-gnome2-gnomeprint
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ruby-gnome2-gnomeprint
+
+.if ${RUBY_GNOME2_GNOMEPRINT_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.ruby-gnome2-gnomeprint+= ${RUBY_PKGPREFIX}-gnome2-gnomeprint>=0.17.0
+BUILDLINK_PKGSRCDIR.ruby-gnome2-gnomeprint?= ../../print/ruby-gnome2-gnomeprint
+.endif # RUBY_GNOME2_GNOMEPRINT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/print/ruby-gnome2-gnomeprintui/DESCR b/print/ruby-gnome2-gnomeprintui/DESCR
new file mode 100644
index 00000000000..0b2033aa6e0
--- /dev/null
+++ b/print/ruby-gnome2-gnomeprintui/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/GnomePrintUI is a Ruby binding of libgnomeprintui.
diff --git a/print/ruby-gnome2-gnomeprintui/Makefile b/print/ruby-gnome2-gnomeprintui/Makefile
new file mode 100644
index 00000000000..9847d24796c
--- /dev/null
+++ b/print/ruby-gnome2-gnomeprintui/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2008/09/17 00:21:49 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gnomeprintui-${VERSION}
+COMMENT= Ruby binding of libgnomeprintui
+CATEGORIES= print
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+RUBY_EXTCONF_SUBDIRS= gnomeprintui
+
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gnomeprint>=${VERSION}:../../print/ruby-gnome2-gnomeprint
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gtk>=${VERSION}:../../x11/ruby-gnome2-gtk
+USE_TOOLS+= pkg-config
+
+BUILDLINK_DEPMETHOD.ruby-gnome2-glib= build
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+.include "../../print/libgnomeprintui/buildlink3.mk"
+BUILDLINK_DEPMETHOD.ruby-gnome2-gnomeprint= build
+.include "../../print/ruby-gnome2-gnomeprint/buildlink3.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/print/ruby-gnome2-gnomeprintui/PLIST b/print/ruby-gnome2-gnomeprintui/PLIST
new file mode 100644
index 00000000000..0e2f1d9e036
--- /dev/null
+++ b/print/ruby-gnome2-gnomeprintui/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/17 00:21:49 obache Exp $
+${RUBY_VENDORLIB}/gnomeprintui2.rb
+${RUBY_VENDORARCHLIB}/gnomeprintui2.${RUBY_DLEXT}
diff --git a/print/ruby-gnome2-poppler/Makefile b/print/ruby-gnome2-poppler/Makefile
index e4add9ca194..46f6203425f 100644
--- a/print/ruby-gnome2-poppler/Makefile
+++ b/print/ruby-gnome2-poppler/Makefile
@@ -1,15 +1,20 @@
-# $NetBSD: Makefile,v 1.3 2008/06/19 15:14:15 taca Exp $
+# $NetBSD: Makefile,v 1.4 2008/09/17 00:21:50 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-poppler-${VERSION}
COMMENT= Ruby binding of poppler-glib
CATEGORIES= print
+PKG_DESTDIR_SUPPORT= user-destdir
+
RUBY_EXTCONF_SUBDIRS= poppler
DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gdkpixbuf>=${VERSION}:../../graphics/ruby-gnome2-gdkpixbuf
USE_TOOLS+= pkg-config
+do-test:
+ ${RUN} cd ${WRKSRC}/poppler/test; ${SETENV} ${TEST_ENV} ${RUBY} run-test.rb
+
BUILDLINK_API_DEPENDS.poppler-glib+= poppler-glib>=0.6.0
.include "../../graphics/ruby-rcairo/buildlink3.mk"