summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2002-09-12 00:43:49 +0000
committerwiz <wiz>2002-09-12 00:43:49 +0000
commitb6eb82bad59da8908c291b1964814dc5cc6eac52 (patch)
tree7a2c9da3168784e87776653af9f08607e82d57a1
parent41f51fb1ef26e34a53914279d89be31078e23685 (diff)
downloadpkgsrc-b6eb82bad59da8908c291b1964814dc5cc6eac52.tar.gz
Update to 0.25, as requested in pkg/18268. Converted to buildlink2.
Changes: In 0.24: gradients, dynamic dialogs, emergency saves, much improved handles, better line drawing code, and near complete grid/guideline snapping. In 0.25: text object now conforms to SVG spec, global cleanup of styles and units was done, star, spiral, and arc were added, autotrace and vertical text layout now supported.
-rw-r--r--graphics/sodipodi/Makefile29
-rw-r--r--graphics/sodipodi/PLIST99
-rw-r--r--graphics/sodipodi/distinfo7
-rw-r--r--graphics/sodipodi/patches/patch-ab12
4 files changed, 80 insertions, 67 deletions
diff --git a/graphics/sodipodi/Makefile b/graphics/sodipodi/Makefile
index 181c67a363d..5c14217d05e 100644
--- a/graphics/sodipodi/Makefile
+++ b/graphics/sodipodi/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2002/09/10 16:06:43 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2002/09/12 00:43:49 wiz Exp $
#
-DISTNAME= sodipodi-0.23
-PKGREVISION= 2
+DISTNAME= sodipodi-0.25
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sodipodi/}
@@ -11,23 +10,21 @@ HOMEPAGE= http://www.gnome.org/gnome-office/sodipodi.shtml
COMMENT= Open source vector graphics drawing program using SVG as native format
GNU_CONFIGURE= YES
-# -I/usr/pkg/include is added to CFLAGS somehow
-#USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
USE_GMAKE= YES
USE_LIBTOOL= YES
USE_X11BASE= YES
PTHREAD_OPTS+= require
-.include "../../devel/bonobo/buildlink.mk"
-.include "../../devel/gettext-lib/buildlink.mk"
-.include "../../devel/gal/buildlink.mk"
-.include "../../graphics/xpm/buildlink.mk"
-.include "../../net/ORBit/buildlink.mk"
-.include "../../print/gnome-print/buildlink.mk"
-.include "../../textproc/libxml/buildlink.mk"
-.include "../../x11/gnome-libs/buildlink.mk"
-.include "../../x11/gtk/buildlink.mk"
-.include "../../mk/pthread.buildlink.mk"
-.include "../../mk/x11.buildlink.mk"
+.include "../../devel/bonobo/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/gal/buildlink2.mk"
+.include "../../graphics/xpm/buildlink2.mk"
+.include "../../net/ORBit/buildlink2.mk"
+.include "../../print/gnome-print/buildlink2.mk"
+.include "../../textproc/libxml/buildlink2.mk"
+.include "../../x11/gnome-libs/buildlink2.mk"
+.include "../../x11/gtk/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/sodipodi/PLIST b/graphics/sodipodi/PLIST
index d38371bcc21..b4bcdd466f8 100644
--- a/graphics/sodipodi/PLIST
+++ b/graphics/sodipodi/PLIST
@@ -1,31 +1,34 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:54:02 zuntum Exp $
-bin/sodipodi-bonobo
+@comment $NetBSD: PLIST,v 1.2 2002/09/12 00:43:49 wiz Exp $
bin/sodipodi
-share/pixmaps/sodipodi.png
-share/oaf/GNOME_Sodipodi.oafinfo
+man/man1/sodipodi.1
share/gnome/apps/Graphics/sodipodi.desktop
-share/sodipodi/align.glade
-share/sodipodi/align.c
-share/sodipodi/display.glade
-share/sodipodi/display.c
-share/sodipodi/desktop.glade
-share/sodipodi/desktop.c
-share/sodipodi/document.glade
-share/sodipodi/document.c
-share/sodipodi/item.glade
-share/sodipodi/item.c
-share/sodipodi/object_props.glade
-share/sodipodi/object_props.c
-share/sodipodi/sodipodi.glade
-share/sodipodi/sodipodi-glade.c
-share/sodipodi/text-dialog.glade
-share/sodipodi/text-dialog.c
-share/sodipodi/toolbox.glade
-share/sodipodi/toolbox.c
-share/sodipodi/transformation.glade
-share/sodipodi/transformation.c
-share/sodipodi/xml-tree.glade
-share/sodipodi/xml-tree.c
+${PKGLOCALEDIR}/locale/az/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/sodipodi.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/sodipodi.mo
+share/oaf/GNOME_Sodipodi.oaf
+share/pixmaps/sodipodi.png
+share/sodipodi/about.svg
share/sodipodi/add.xpm
share/sodipodi/al_bottom_in.xpm
share/sodipodi/al_bottom_out.xpm
@@ -37,6 +40,7 @@ share/sodipodi/al_right_in.xpm
share/sodipodi/al_right_out.xpm
share/sodipodi/al_top_in.xpm
share/sodipodi/al_top_out.xpm
+share/sodipodi/align.glade
share/sodipodi/align_bc.xpm
share/sodipodi/align_bl.xpm
share/sodipodi/align_br.xpm
@@ -62,14 +66,21 @@ share/sodipodi/curve.xpm
share/sodipodi/cusp.xpm
share/sodipodi/del.xpm
share/sodipodi/delete.xpm
+share/sodipodi/desktop.glade
share/sodipodi/dimension_hor.xpm
share/sodipodi/dimension_ver.xpm
+share/sodipodi/display.glade
share/sodipodi/div.xpm
-share/sodipodi/draw_ellipse.xpm
+share/sodipodi/document.glade
+share/sodipodi/draw_arc.xpm
+share/sodipodi/draw_dynahand.xpm
share/sodipodi/draw_freehand.xpm
share/sodipodi/draw_node.xpm
+share/sodipodi/draw_pen.xpm
share/sodipodi/draw_rect.xpm
share/sodipodi/draw_select.xpm
+share/sodipodi/draw_spiral.xpm
+share/sodipodi/draw_star.xpm
share/sodipodi/draw_text.xpm
share/sodipodi/draw_zoom.xpm
share/sodipodi/dt_active.xpm
@@ -104,6 +115,8 @@ share/sodipodi/flip_ver.xpm
share/sodipodi/font.xpm
share/sodipodi/forward.xpm
share/sodipodi/freehand.xpm
+share/sodipodi/guide_dialog.png
+share/sodipodi/item.glade
share/sodipodi/join.xpm
share/sodipodi/join_bevel.xpm
share/sodipodi/join_miter.xpm
@@ -131,6 +144,7 @@ share/sodipodi/object_flip_hor.xpm
share/sodipodi/object_flip_ver.xpm
share/sodipodi/object_font.xpm
share/sodipodi/object_layout.xpm
+share/sodipodi/object_props.glade
share/sodipodi/object_reset.xpm
share/sodipodi/object_rotate.xpm
share/sodipodi/object_stroke.xpm
@@ -164,19 +178,25 @@ share/sodipodi/skew.xpm
share/sodipodi/skew_hor.xpm
share/sodipodi/skew_ver.xpm
share/sodipodi/smooth.xpm
+share/sodipodi/sodipodi.glade
share/sodipodi/stroke.xpm
share/sodipodi/sym.xpm
share/sodipodi/text.xpm
share/sodipodi/toback.xpm
share/sodipodi/tofront.xpm
+share/sodipodi/toolbox.glade
share/sodipodi/toolbox_draw.xpm
-share/sodipodi/unknown.xpm
share/sodipodi/toolbox_edit.xpm
share/sodipodi/toolbox_file.xpm
share/sodipodi/toolbox_node.xpm
share/sodipodi/toolbox_object.xpm
share/sodipodi/toolbox_select.xpm
share/sodipodi/toolbox_zoom.xpm
+share/sodipodi/transformation.glade
+share/sodipodi/unknown.xpm
+share/sodipodi/writing_mode_lr.xpm
+share/sodipodi/writing_mode_tb.xpm
+share/sodipodi/xml-tree.glade
share/sodipodi/zoom.xpm
share/sodipodi/zoom_1_to_1.xpm
share/sodipodi/zoom_1_to_2.xpm
@@ -186,24 +206,7 @@ share/sodipodi/zoom_in.xpm
share/sodipodi/zoom_out.xpm
share/sodipodi/zoom_page.xpm
share/sodipodi/zoom_select.xpm
-share/sodipodi/guide_dialog.png
@dirrm share/sodipodi
-share/locale/ca/LC_MESSAGES/sodipodi.mo
-share/locale/da/LC_MESSAGES/sodipodi.mo
-share/locale/de/LC_MESSAGES/sodipodi.mo
-share/locale/es/LC_MESSAGES/sodipodi.mo
-share/locale/et/LC_MESSAGES/sodipodi.mo
-share/locale/fr/LC_MESSAGES/sodipodi.mo
-share/locale/ga/LC_MESSAGES/sodipodi.mo
-share/locale/hu/LC_MESSAGES/sodipodi.mo
-share/locale/it/LC_MESSAGES/sodipodi.mo
-share/locale/ja/LC_MESSAGES/sodipodi.mo
-share/locale/no/LC_MESSAGES/sodipodi.mo
-share/locale/pl/LC_MESSAGES/sodipodi.mo
-share/locale/pt_BR/LC_MESSAGES/sodipodi.mo
-share/locale/ru/LC_MESSAGES/sodipodi.mo
-share/locale/sl/LC_MESSAGES/sodipodi.mo
-share/locale/sv/LC_MESSAGES/sodipodi.mo
-share/locale/uk/LC_MESSAGES/sodipodi.mo
-share/locale/gl/LC_MESSAGES/sodipodi.mo
-share/locale/tr/LC_MESSAGES/sodipodi.mo
+@unexec ${RMDIR} %D/share/oaf 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/gnome/apps/Graphics 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/gnome/apps 2> /dev/null || ${TRUE}
diff --git a/graphics/sodipodi/distinfo b/graphics/sodipodi/distinfo
index ad73a7f6db1..8eeedeae776 100644
--- a/graphics/sodipodi/distinfo
+++ b/graphics/sodipodi/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/08/10 06:36:09 manu Exp $
+$NetBSD: distinfo,v 1.2 2002/09/12 00:43:49 wiz Exp $
-SHA1 (sodipodi-0.23.tar.gz) = 28653daccd0f72eb822cb46f30dd602038788dda
-Size (sodipodi-0.23.tar.gz) = 1133185 bytes
+SHA1 (sodipodi-0.25.tar.gz) = 6c2b056c3c3f76a8581a92487dea3dcc094154f8
+Size (sodipodi-0.25.tar.gz) = 1260296 bytes
SHA1 (patch-aa) = 15fa39918a35e36dacfc8e397af7de0cac182b5c
+SHA1 (patch-ab) = 3410f7cc009c4777515eaacd4279f7608337d200
diff --git a/graphics/sodipodi/patches/patch-ab b/graphics/sodipodi/patches/patch-ab
new file mode 100644
index 00000000000..ac8aa5ec459
--- /dev/null
+++ b/graphics/sodipodi/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2002/09/12 00:43:50 wiz Exp $
+
+--- src/main.c.orig Tue Sep 10 09:36:42 2002
++++ src/main.c
+@@ -27,6 +27,7 @@
+ #ifdef __FreeBSD__
+ #include <floatingpoint.h>
+ #endif
++#include <locale.h>
+ #include <string.h>
+
+ #include <popt.h>