diff options
author | reed <reed@pkgsrc.org> | 2004-10-15 03:11:49 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2004-10-15 03:11:49 +0000 |
commit | 065c5697b60d158004a30ae505e76579954b21fd (patch) | |
tree | 9d91da43bd76f50864858ff9e3a8517c93a5a219 /graphics/inkscape | |
parent | 52f49d835fc79154a21534848b0a202ec1310bf2 (diff) | |
download | pkgsrc-065c5697b60d158004a30ae505e76579954b21fd.tar.gz |
Import of inkscape-0.39nb1
It is a Scalable Vector Graphics (SVG) editor.
This is from pkgsrc-wip.
Diffstat (limited to 'graphics/inkscape')
-rw-r--r-- | graphics/inkscape/DESCR | 14 | ||||
-rw-r--r-- | graphics/inkscape/Makefile | 38 | ||||
-rw-r--r-- | graphics/inkscape/PLIST | 279 | ||||
-rw-r--r-- | graphics/inkscape/distinfo | 6 | ||||
-rw-r--r-- | graphics/inkscape/patches/patch-aa | 71 | ||||
-rw-r--r-- | graphics/inkscape/patches/patch-ac | 13 |
6 files changed, 421 insertions, 0 deletions
diff --git a/graphics/inkscape/DESCR b/graphics/inkscape/DESCR new file mode 100644 index 00000000000..0af5044eea1 --- /dev/null +++ b/graphics/inkscape/DESCR @@ -0,0 +1,14 @@ +Inkscape is an open source Scalable Vector Graphics (SVG) editor +with capabilities similar to Illustrator, CorelDraw, and Visio. +Supported SVG features include basic shapes, paths, text, alpha +blending, transforms, gradients, node editing, SVG-to-PNG export, +grouping, and more. + +The goal is to be a fully XML, SVG, and CSS2 compliant extensible +drawing tool. It has a GNOME-style interface. + +Inkscape can be used for slideshows, printing, converting image +formats, and can be used without a GUI for some features. + +This package also includes inkview, a slideshow program which uses +SVG files. diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile new file mode 100644 index 00000000000..694d074ad3f --- /dev/null +++ b/graphics/inkscape/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/10/15 03:11:49 reed Exp $ +# + +DISTNAME= inkscape-0.39 +PKGREVISION= 1 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=inkscape/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= reed@reedmedia.net +HOMEPAGE= http://www.inkscape.org/ +COMMENT= Scalable Vector Graphics (SVG) editor + +.if ! exists (/usr/bin/iconv) +BUILD_DEPENDS+= libiconv-[0-9]*:../../converters/libiconv +.endif + +GCC_REQD= 3.0 +USE_LANGUAGES= c c++ +USE_BUILDLINK3= yes +USE_DIRS+= xdg-1.1 +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +USE_GNU_TOOLS+= make + +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../graphics/libart2/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/libsigc++/buildlink3.mk" +.include "../../devel/pango/buildlink3.mk" +.include "../../textproc/intltool/buildlink3.mk" +.include "../../x11/gtkmm/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../devel/popt/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/inkscape/PLIST b/graphics/inkscape/PLIST new file mode 100644 index 00000000000..08febf2d22c --- /dev/null +++ b/graphics/inkscape/PLIST @@ -0,0 +1,279 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/15 03:11:50 reed Exp $ +bin/inkscape +bin/inkview +man/man1/inkscape.1 +man/man1/inkview.1 +share/applications/inkscape.desktop +share/inkscape/clipart/README +share/inkscape/clipart/README-ribbon.txt +share/inkscape/clipart/inkscape.logo.svg +share/inkscape/clipart/orav.svg +share/inkscape/clipart/ribbon.svg +share/inkscape/clipart/tux.png +share/inkscape/clipart/tux.svg +share/inkscape/examples/README +share/inkscape/examples/gradient.svg +share/inkscape/examples/i18n.svg +share/inkscape/examples/markers.svg +share/inkscape/examples/stars.svgz +share/inkscape/examples/tiger.svgz +share/inkscape/extensions/SpSVG.pm +share/inkscape/extensions/ai_input.inkmod +share/inkscape/extensions/ai_output.inkmod +share/inkscape/extensions/dia.inkmod +share/inkscape/extensions/dia2svg.sh +share/inkscape/extensions/dropshadow.inkmod +share/inkscape/extensions/eps_input.inkmod +share/inkscape/extensions/epsi_output.inkmod +share/inkscape/extensions/ill2svg.pl +share/inkscape/extensions/ps2epsi.sh +share/inkscape/extensions/ps_input.inkmod +share/inkscape/extensions/roundhole +share/inkscape/extensions/roundhole.inkmod +share/inkscape/extensions/roundhole.xpm +share/inkscape/extensions/sk2svg.sh +share/inkscape/extensions/sk_input.inkmod +share/inkscape/extensions/svg_dropshadow +share/inkscape/extensions/svgz_input.inkmod +share/inkscape/extensions/svgz_output.inkmod +share/inkscape/extensions/txt2svg.inkmod +share/inkscape/extensions/txt2svg.pl +share/inkscape/extensions/wmf_input.inkmod +share/inkscape/fonts/README +share/inkscape/gradients/README +share/inkscape/icons/add.xpm +share/inkscape/icons/add_xml_element_node.xpm +share/inkscape/icons/add_xml_text_node.xpm +share/inkscape/icons/al_bottom_in.xpm +share/inkscape/icons/al_bottom_out.xpm +share/inkscape/icons/al_center_hor.xpm +share/inkscape/icons/al_center_ver.xpm +share/inkscape/icons/al_left_in.xpm +share/inkscape/icons/al_left_out.xpm +share/inkscape/icons/al_right_in.xpm +share/inkscape/icons/al_right_out.xpm +share/inkscape/icons/al_top_in.xpm +share/inkscape/icons/al_top_out.xpm +share/inkscape/icons/align_bc.xpm +share/inkscape/icons/align_bl.xpm +share/inkscape/icons/align_br.xpm +share/inkscape/icons/align_cc.xpm +share/inkscape/icons/align_cl.xpm +share/inkscape/icons/align_cr.xpm +share/inkscape/icons/align_tc.xpm +share/inkscape/icons/align_tl.xpm +share/inkscape/icons/align_tr.xpm +share/inkscape/icons/angle_180.xpm +share/inkscape/icons/angle_270.xpm +share/inkscape/icons/angle_90.xpm +share/inkscape/icons/angle_any.xpm +share/inkscape/icons/arrows_hor.xpm +share/inkscape/icons/arrows_ver.xpm +share/inkscape/icons/cap_butt.xpm +share/inkscape/icons/cap_round.xpm +share/inkscape/icons/cap_square.xpm +share/inkscape/icons/clear.xpm +share/inkscape/icons/create_new.xpm +share/inkscape/icons/curve.xpm +share/inkscape/icons/cusp.xpm +share/inkscape/icons/del.xpm +share/inkscape/icons/delete_xml_attribute.xpm +share/inkscape/icons/delete_xml_node.xpm +share/inkscape/icons/dimension_hor.xpm +share/inkscape/icons/dimension_ver.xpm +share/inkscape/icons/div.xpm +share/inkscape/icons/draw_arc.xpm +share/inkscape/icons/draw_dynahand.xpm +share/inkscape/icons/draw_freehand.xpm +share/inkscape/icons/draw_node.xpm +share/inkscape/icons/draw_pen.xpm +share/inkscape/icons/draw_rect.xpm +share/inkscape/icons/draw_select.xpm +share/inkscape/icons/draw_spiral.xpm +share/inkscape/icons/draw_star.xpm +share/inkscape/icons/draw_text.xpm +share/inkscape/icons/draw_zoom.xpm +share/inkscape/icons/dt_active.xpm +share/inkscape/icons/dt_inactive.xpm +share/inkscape/icons/duplicate.xpm +share/inkscape/icons/duplicate_xml_node.xpm +share/inkscape/icons/edge_down.xpm +share/inkscape/icons/edge_up.xpm +share/inkscape/icons/edit_copy.xpm +share/inkscape/icons/edit_cut.xpm +share/inkscape/icons/edit_delete.xpm +share/inkscape/icons/edit_duplicate.xpm +share/inkscape/icons/edit_paste.xpm +share/inkscape/icons/edit_redo.xpm +share/inkscape/icons/edit_undo.xpm +share/inkscape/icons/ellipse.xpm +share/inkscape/icons/file_export.xpm +share/inkscape/icons/file_import.xpm +share/inkscape/icons/file_new.xpm +share/inkscape/icons/file_open.xpm +share/inkscape/icons/file_print.xpm +share/inkscape/icons/file_print_preview.xpm +share/inkscape/icons/file_save.xpm +share/inkscape/icons/file_save_as.xpm +share/inkscape/icons/fill.xpm +share/inkscape/icons/fill_fractal.xpm +share/inkscape/icons/fill_gradient.xpm +share/inkscape/icons/fill_none.xpm +share/inkscape/icons/fill_pattern.xpm +share/inkscape/icons/fill_radial.xpm +share/inkscape/icons/fill_solid.xpm +share/inkscape/icons/flip_hor.xpm +share/inkscape/icons/flip_ver.xpm +share/inkscape/icons/font.xpm +share/inkscape/icons/forward.xpm +share/inkscape/icons/freehand.xpm +share/inkscape/icons/guide_dialog.png +share/inkscape/icons/icons.svg +share/inkscape/icons/join.xpm +share/inkscape/icons/join_bevel.xpm +share/inkscape/icons/join_miter.xpm +share/inkscape/icons/join_round.xpm +share/inkscape/icons/line.xpm +share/inkscape/icons/line_dashed.xpm +share/inkscape/icons/line_doubled.xpm +share/inkscape/icons/line_full.xpm +share/inkscape/icons/lock_aspect_no.xpm +share/inkscape/icons/lock_aspect_yes.xpm +share/inkscape/icons/marker_arrow_end.xpm +share/inkscape/icons/marker_arrow_start.xpm +share/inkscape/icons/marker_none_end.xpm +share/inkscape/icons/marker_none_start.xpm +share/inkscape/icons/marker_triangle_end.xpm +share/inkscape/icons/marker_triangle_start.xpm +share/inkscape/icons/move.xpm +share/inkscape/icons/object_align.xpm +share/inkscape/icons/object_fill.xpm +share/inkscape/icons/object_flip_hor.xpm +share/inkscape/icons/object_flip_ver.xpm +share/inkscape/icons/object_font.xpm +share/inkscape/icons/object_layout.xpm +share/inkscape/icons/object_reset.xpm +share/inkscape/icons/object_rotate.xpm +share/inkscape/icons/object_stroke.xpm +share/inkscape/icons/object_tocurve.xpm +share/inkscape/icons/object_trans.xpm +share/inkscape/icons/origin.xpm +share/inkscape/icons/properties_fill.xpm +share/inkscape/icons/properties_layout.xpm +share/inkscape/icons/properties_stroke.xpm +share/inkscape/icons/quit_nope.xpm +share/inkscape/icons/quit_yep.xpm +share/inkscape/icons/rect.xpm +share/inkscape/icons/reread.xpm +share/inkscape/icons/rotate.xpm +share/inkscape/icons/rotate_left.xpm +share/inkscape/icons/rotate_right.xpm +share/inkscape/icons/scale.xpm +share/inkscape/icons/scale_hor.xpm +share/inkscape/icons/scale_ver.xpm +share/inkscape/icons/select.xpm +share/inkscape/icons/selection_bot.xpm +share/inkscape/icons/selection_break.xpm +share/inkscape/icons/selection_combine.xpm +share/inkscape/icons/selection_down.xpm +share/inkscape/icons/selection_group.xpm +share/inkscape/icons/selection_top.xpm +share/inkscape/icons/selection_ungroup.xpm +share/inkscape/icons/selection_up.xpm +share/inkscape/icons/seperate_tool.xpm +share/inkscape/icons/set.xpm +share/inkscape/icons/skew.xpm +share/inkscape/icons/skew_hor.xpm +share/inkscape/icons/skew_ver.xpm +share/inkscape/icons/smooth.xpm +share/inkscape/icons/stroke.xpm +share/inkscape/icons/sym.xpm +share/inkscape/icons/text.xpm +share/inkscape/icons/toback.xpm +share/inkscape/icons/tofront.xpm +share/inkscape/icons/toolbox_draw.xpm +share/inkscape/icons/toolbox_edit.xpm +share/inkscape/icons/toolbox_file.xpm +share/inkscape/icons/toolbox_node.xpm +share/inkscape/icons/toolbox_object.xpm +share/inkscape/icons/toolbox_select.xpm +share/inkscape/icons/toolbox_zoom.xpm +share/inkscape/icons/unknown.xpm +share/inkscape/icons/writing_mode_lr.xpm +share/inkscape/icons/writing_mode_tb.xpm +share/inkscape/icons/zoom.xpm +share/inkscape/icons/zoom_1_to_1.xpm +share/inkscape/icons/zoom_1_to_2.xpm +share/inkscape/icons/zoom_2_to_1.xpm +share/inkscape/icons/zoom_draw.xpm +share/inkscape/icons/zoom_in.xpm +share/inkscape/icons/zoom_out.xpm +share/inkscape/icons/zoom_page.xpm +share/inkscape/icons/zoom_select.xpm +share/inkscape/keyboards/README +share/inkscape/markers/markers.svg +share/inkscape/palettes/README +share/inkscape/patterns/README +share/inkscape/screens/about.svg +share/inkscape/screens/keys.sl.svg +share/inkscape/screens/keys.svg +share/inkscape/templates/README +share/inkscape/tutorials/elementsofdesign.sl.svg +share/inkscape/tutorials/elementsofdesign.svg +share/inkscape/tutorials/tipsandtricks.sl.svg +share/inkscape/tutorials/tipsandtricks.svg +share/inkscape/tutorials/tutorial-advanced.fr.svg +share/inkscape/tutorials/tutorial-advanced.sl.svg +share/inkscape/tutorials/tutorial-advanced.svg +share/inkscape/tutorials/tutorial-basic.fr.svg +share/inkscape/tutorials/tutorial-basic.ru.svg +share/inkscape/tutorials/tutorial-basic.sl.svg +share/inkscape/tutorials/tutorial-basic.svg +${PKGLOCALEDIR}/locale/am/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/az/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/be/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/da/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/de/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/el/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/es/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/es_MX/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/et/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/it/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/no/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/sr@Latn/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/inkscape.mo +${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/inkscape.mo +share/pixmaps/inkscape.png +@comment in xdg-dirs: @dirrm share/pixmaps +@dirrm share/inkscape/tutorials +@dirrm share/inkscape/templates +@dirrm share/inkscape/screens +@dirrm share/inkscape/patterns +@dirrm share/inkscape/palettes +@dirrm share/inkscape/markers +@dirrm share/inkscape/keyboards +@dirrm share/inkscape/icons +@dirrm share/inkscape/gradients +@dirrm share/inkscape/fonts +@dirrm share/inkscape/extensions +@dirrm share/inkscape/examples +@dirrm share/inkscape/clipart +@dirrm share/inkscape +@comment in xdg-dirs: @dirrm share/applications diff --git a/graphics/inkscape/distinfo b/graphics/inkscape/distinfo new file mode 100644 index 00000000000..daaadcf262e --- /dev/null +++ b/graphics/inkscape/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/10/15 03:11:50 reed Exp $ + +SHA1 (inkscape-0.39.tar.bz2) = 60e5a424c443fd022ce240daf0569ba1cfe522ba +Size (inkscape-0.39.tar.bz2) = 3181447 bytes +SHA1 (patch-aa) = c17f095f727f668870c807722f64731e194a42c6 +SHA1 (patch-ac) = 69f84f3d7d8f710167b8a7d745a699c14f21c0f9 diff --git a/graphics/inkscape/patches/patch-aa b/graphics/inkscape/patches/patch-aa new file mode 100644 index 00000000000..a17e30a5bb6 --- /dev/null +++ b/graphics/inkscape/patches/patch-aa @@ -0,0 +1,71 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/10/15 03:11:50 reed Exp $ + +--- src/extension/internal/ps.cpp.orig 2004-06-20 22:49:24.000000000 -0700 ++++ src/extension/internal/ps.cpp +@@ -52,6 +52,7 @@ + #include "document.h" + #include "inkscape.h" + #include "style.h" ++#include "inkscape_version.h" + + #include "ps.h" + #include <extension/system.h> +@@ -321,6 +322,7 @@ PrintPS::begin (Inkscape::Extension::Pri + + NRRect d; + bool pageBoundingBox; ++ bool pageLandscape; + mod->get_param("pageBoundingBox", &pageBoundingBox); + // printf("Page Bounding Box: %s\n", pageBoundingBox ? "TRUE" : "FALSE"); + if (pageBoundingBox) +@@ -336,20 +338,38 @@ PrintPS::begin (Inkscape::Extension::Pri + } + + if (res >= 0) { +- os << "%%BoundingBox: " << (int) d.x0 << " " +- << (int) d.y0 << " " +- << (int) ceil (d.x1) << " " +- << (int) ceil (d.y1) << "\n"; +- } +- if (res >= 0) { +- os << "%%HiResBoundingBox: " << d.x0 << " " +- << d.y0 << " " +- << d.x1 << " " +- << d.y1 << "\n"; ++ ++ os << "%%Creator: Inkscape " << INKSCAPE_VERSION << "\n"; ++ ++ pageLandscape = (d.x1 > d.y1) ? true : false; ++ ++ if (pageLandscape) { ++ os << "%%Orientation: Landscape\n"; ++ os << "%%BoundingBox: " << (int) d.x0 << " " ++ << (int) d.y0 << " " ++ << (int) ceil (d.y1) << " " ++ << (int) ceil (d.x1) << "\n"; ++ os << "%%HiResBoundingBox: " << d.x0 << " " ++ << d.y0 << " " ++ << d.y1 << " " ++ << d.x1 << "\n"; ++ os << 90 << " rotate\n"; ++ } ++ else ++ { ++ os << "%%BoundingBox: " << (int) d.x0 << " " ++ << (int) d.y0 << " " ++ << (int) ceil (d.x1) << " " ++ << (int) ceil (d.y1) << "\n"; ++ os << "%%HiResBoundingBox: " << d.x0 << " " ++ << d.y0 << " " ++ << d.x1 << " " ++ << d.y1 << "\n"; ++ os << "0.0 " << sp_document_height (doc) << " translate\n"; ++ } ++ os << "0.8 -0.8 scale\n"; + } + +- os << "0.0 " << sp_document_height (doc) << " translate\n"; +- os << "0.8 -0.8 scale\n"; + + return fprintf (_stream, "%s", os.str().c_str()); + } diff --git a/graphics/inkscape/patches/patch-ac b/graphics/inkscape/patches/patch-ac new file mode 100644 index 00000000000..f49ec2c00dc --- /dev/null +++ b/graphics/inkscape/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2004/10/15 03:11:50 reed Exp $ + +--- src/main.cpp.orig Tue Jul 13 00:52:19 2004 ++++ src/main.cpp +@@ -236,7 +236,7 @@ main(int argc, char const **argv) + } + + #ifdef HAVE_FPSETMASK +- fpresetsticky(FP_X_DZ|FP_X_INV); ++ fpsetsticky(FP_X_DZ|FP_X_INV); + fpsetmask(FP_X_DZ|FP_X_INV); + #endif + return result; |