1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
6 KEYWORDS= graphics editors
8 SDESC[standard]= Scalable Vector Graphics (SVG) editor
9 HOMEPAGE= https://inkscape.org/
13 SITES[main]= https://media.inkscape.org/dl/resources/file/
14 DISTFILE[1]= inkscape-0.92.4.tar.bz2:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 BUILD_DEPENDS= appstream-glib:primary:standard
22 BUILDRUN_DEPENDS= popt:single:standard
23 boehm_garbage_collector:single:standard
25 lcms2:primary:standard
26 fribidi:single:standard
27 freetype:primary:standard
28 poppler:primary:standard
30 libcdr:single:standard
31 librevenge:single:standard
32 libvisio:single:standard
33 libwpg:single:standard
34 boost-libraries:rest:python_default
35 aspell:single:standard
36 potrace:library:standard
38 USES= cmake cpe png jpeg pkgconfig python:build perl:build
39 shebangfix gettext-runtime gettext-tools
40 desktop-utils:single gnome-icons:single
41 GNOME_COMPONENTS= libxslt gtkmm24
44 LICENSE= GPLv3+:single
45 LICENSE_TERMS= single:{{WRKSRC}}/COPYING
46 LICENSE_FILE= GPLv3+:{{WRKSRC}}/GPL3.txt
49 FPC_EQUIVALENT= graphics/inkscape
50 SHEBANG_FILES= cxxtest/cxxtestgen.pl
51 share/extensions/*.p[lm]
53 share/extensions/genpofiles.sh
57 INSTALL_REQ_TOOLCHAIN= yes
59 CMAKE_ARGS= -DWITH_GNOME_VFS:BOOL=OFF
61 -DWITH_IMAGE_MAGICK:BOOL=OFF
62 -DWITH_OPENMP:BOOL=OFF
63 -DWITH_PROFILING:BOOL=OFF
65 -DENABLE_POPPLER:BOOL=ON
66 -DENABLE_POPPLER_CAIRO:BOOL=ON
68 -DWITH_LPETOOL:BOOL=ON
70 -DWITH_LIBVISIO:BOOL=ON
73 -DBUILD_SHARED_LIBS:BOOL=OFF
76 ${REINPLACE_CMD} -e 's|COMMAND python|COMMAND ${PYTHON_VERSION}|g' \
77 ${WRKSRC}/share/*/CMakeLists.txt
78 # Obtained from Arch Linux
81 -e 's|gFalse|false|g' \
83 ${WRKSRC}/src/extension/internal/pdfinput/pdf-parser.cpp \
84 ${WRKSRC}/src/extension/internal/pdfinput/pdf-parser.h
85 # Fix with poppler 0.73
86 ${REINPLACE_CMD} -E '/#include "goo\/gtypes.h"/d' \
87 ${WRKSRC}/src/extension/internal/pdfinput/pdf-parser.h
90 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
91 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/inkscape/libinkscape_base.so
93 [FILE:337:descriptions/desc.single]
94 Inkscape seeks to become a full featured open source SVG editor. Derived
95 from the highly popular Sodipodi codebase, Inkscape strives to build full
96 XML, SVG, and CSS2 compliance.
98 Features include alpha blending, node editing, svg-to-png export, and more.
99 The project aims for capabilities similar to Illustrator, CorelDraw, Visio,
104 57ec2da8177b36614a513e2822efd73af721e690f7ddc6bd0a5fbb1525b4515e 31929728 inkscape-0.92.4.tar.bz2
107 [FILE:22250:manifests/plist.single]
125 share/applications/inkscape.desktop
126 share/icons/hicolor/16x16/apps/inkscape.png
127 share/icons/hicolor/22x22/apps/inkscape.png
128 share/icons/hicolor/24x24/apps/inkscape.png
129 share/icons/hicolor/256x256/apps/inkscape.png
130 share/icons/hicolor/32x32/apps/inkscape.png
131 share/icons/hicolor/48x48/apps/inkscape.png
132 share/inkscape/attributes/
137 share/inkscape/branding/
145 share/inkscape/examples/
152 eastern-motive-P4G.svg
158 gradient-mesh-experimental.svgz
164 live-path-effects-curvestitch.svg
165 live-path-effects-gears.svg
166 live-path-effects-pathalongpath.svg
176 turbulence_filters.svg
177 share/inkscape/extensions/
193 color_blackandwhite.inx
194 color_blackandwhite.py
209 color_lesssaturation.inx
210 color_lesssaturation.py
215 color_moresaturation.inx
216 color_moresaturation.py
223 color_removegreen.inx
249 draw_from_triangle.inx
250 draw_from_triangle.py
259 embed_raster_in_svg.pl
262 embedselectedimages.inx
263 empty_business_card.inx
264 empty_business_card.py
280 export_gimp_palette.inx
281 export_gimp_palette.py
301 gcodetools_check_for_updates.inx
302 gcodetools_dxf_points.inx
303 gcodetools_engraving.inx
304 gcodetools_graffiti.inx
306 gcodetools_orientation_points.inx
307 gcodetools_path_to_gcode.inx
308 gcodetools_prepare_path_for_plasma.inx
309 gcodetools_tools_library.inx
341 inkscape.extension.rng
342 inkscape_follow_link.inx
343 inkscape_follow_link.py
344 inkscape_help_askaquestion.inx
345 inkscape_help_commandline.inx
346 inkscape_help_faq.inx
347 inkscape_help_keys.inx
348 inkscape_help_manual.inx
349 inkscape_help_relnotes.inx
350 inkscape_help_reportabug.inx
351 inkscape_help_svgspec.inx
359 jessyInk_autoTexts.inx
360 jessyInk_autoTexts.py
361 jessyInk_core_mouseHandler_noclick.js
362 jessyInk_core_mouseHandler_zoomControl.js
369 jessyInk_keyBindings.inx
370 jessyInk_keyBindings.py
371 jessyInk_masterSlide.inx
372 jessyInk_masterSlide.py
373 jessyInk_mouseHandler.inx
374 jessyInk_mouseHandler.py
377 jessyInk_transitions.inx
378 jessyInk_transitions.py
379 jessyInk_uninstall.inx
380 jessyInk_uninstall.py
397 markers_strokepaint.inx
398 markers_strokepaint.py
418 perfectboundcover.inx
431 previous_glyph_layer.inx
432 previous_glyph_layer.py
433 print_win32_vector.inx
434 print_win32_vector.py
441 render_alphabetsoup.inx
442 render_alphabetsoup.py
443 render_alphabetsoup_config.py
446 render_barcode_datamatrix.inx
447 render_barcode_datamatrix.py
448 render_barcode_qrcode.inx
449 render_barcode_qrcode.py
468 seamless_pattern_procedural.inx
469 setup_typography_canvas.inx
470 setup_typography_canvas.py
492 svg_and_media_zip_output.inx
493 svg_and_media_zip_output.py
516 text_sentencecase.inx
535 webslicer_create_group.inx
536 webslicer_create_group.py
537 webslicer_create_rect.inx
538 webslicer_create_rect.py
551 share/inkscape/extensions/Barcode/
567 share/inkscape/extensions/Poly3DObjects/
572 great_rhombicosidodec.obj
573 great_rhombicuboct.obj
577 jessens_orthog_icos.obj
583 small_rhombicosidodec.obj
584 small_rhombicuboct.obj
595 share/inkscape/extensions/alphabet_soup/
668 share/inkscape/extensions/ink2canvas/
672 share/inkscape/extensions/xaml2svg/
680 share/inkscape/filters/
683 share/inkscape/fonts/README
684 share/inkscape/gradients/README
685 share/inkscape/icons/
688 color-management-icon.png
691 feColorMatrix-icon.png
692 feColorMatrix-icon.svg
695 feConvolveMatrix-icon.png
696 feConvolveMatrix-icon.svg
697 feDiffuseLighting-icon.png
698 feDiffuseLighting-icon.svg
699 feDisplacementMap-icon.png
700 feDisplacementMap-icon.svg
703 feGaussianBlur-icon.png
704 feGaussianBlur-icon.svg
709 feMorphology-icon.png
710 feMorphology-icon.svg
713 feSpecularLighting-icon.png
714 feSpecularLighting-icon.svg
715 feTurbulence-icon.png
716 feTurbulence-icon.svg
718 inkscape-logo-icons-sized.svg
722 out-of-gamut-icon.png
723 out-of-gamut-icon.svg
729 too-much-ink-icon.png
730 too-much-ink-icon.svg
733 adobe-illustrator-cs2.xml
738 macromedia-freehand-mx.xml
739 right-handed-illustration.xml
742 share/inkscape/markers/markers.svg
743 share/inkscape/palettes/
744 Android-icon-palette.gpl
765 share/inkscape/patterns/
768 share/inkscape/screens/
771 share/inkscape/symbols/
778 share/inkscape/templates/
782 Typography_Canvas.svg
808 share/inkscape/tutorials/
814 pixelart-dialog.de.png
815 pixelart-dialog.el.png
816 pixelart-dialog.en.png
817 pixelart-dialog.fr.png
818 pixelart-dialog.nl.png
820 pixelart-dialog.pt.png
821 pixelart-dialog.ru.png
822 pixelart-dialog.sk.png
823 pixelart-dialog.zh_TW.png
844 tutorial-advanced.be.svg
845 tutorial-advanced.ca.svg
846 tutorial-advanced.cs.svg
847 tutorial-advanced.de.svg
848 tutorial-advanced.el.svg
849 tutorial-advanced.es.svg
850 tutorial-advanced.eu.svg
851 tutorial-advanced.fa.svg
852 tutorial-advanced.fr.svg
853 tutorial-advanced.gl.svg
854 tutorial-advanced.hu.svg
855 tutorial-advanced.id.svg
856 tutorial-advanced.it.svg
857 tutorial-advanced.ja.svg
858 tutorial-advanced.nl.svg
859 tutorial-advanced.pl.svg
860 tutorial-advanced.pt.svg
861 tutorial-advanced.pt_BR.svg
862 tutorial-advanced.ru.svg
863 tutorial-advanced.sk.svg
864 tutorial-advanced.sl.svg
865 tutorial-advanced.svg
866 tutorial-advanced.uk.svg
867 tutorial-advanced.vi.svg
868 tutorial-advanced.zh_CN.svg
869 tutorial-advanced.zh_TW.svg
870 tutorial-basic.be.svg
871 tutorial-basic.bg.svg
872 tutorial-basic.ca.svg
873 tutorial-basic.cs.svg
874 tutorial-basic.da.svg
875 tutorial-basic.de.svg
876 tutorial-basic.el.svg
877 tutorial-basic.eo.svg
878 tutorial-basic.es.svg
879 tutorial-basic.eu.svg
880 tutorial-basic.fa.svg
881 tutorial-basic.fr.svg
882 tutorial-basic.gl.svg
883 tutorial-basic.hu.svg
884 tutorial-basic.id.svg
885 tutorial-basic.it.svg
886 tutorial-basic.ja.svg
887 tutorial-basic.nl.svg
888 tutorial-basic.nn.svg
889 tutorial-basic.pl.svg
890 tutorial-basic.pt.svg
891 tutorial-basic.pt_BR.svg
892 tutorial-basic.ru.svg
893 tutorial-basic.sk.svg
894 tutorial-basic.sl.svg
896 tutorial-basic.tr.svg
897 tutorial-basic.uk.svg
898 tutorial-basic.vi.svg
899 tutorial-basic.zh_CN.svg
900 tutorial-basic.zh_TW.svg
901 tutorial-calligraphy.be.svg
902 tutorial-calligraphy.ca.svg
903 tutorial-calligraphy.cs.svg
904 tutorial-calligraphy.de.svg
905 tutorial-calligraphy.el.svg
906 tutorial-calligraphy.es.svg
907 tutorial-calligraphy.eu.svg
908 tutorial-calligraphy.fa.svg
909 tutorial-calligraphy.fr.svg
910 tutorial-calligraphy.gl.svg
911 tutorial-calligraphy.hu.svg
912 tutorial-calligraphy.id.svg
913 tutorial-calligraphy.ja.svg
914 tutorial-calligraphy.nl.svg
915 tutorial-calligraphy.pl.svg
916 tutorial-calligraphy.pt.svg
917 tutorial-calligraphy.pt_BR.svg
918 tutorial-calligraphy.ru.svg
919 tutorial-calligraphy.sk.svg
920 tutorial-calligraphy.sl.svg
921 tutorial-calligraphy.svg
922 tutorial-calligraphy.uk.svg
923 tutorial-calligraphy.vi.svg
924 tutorial-calligraphy.zh_TW.svg
925 tutorial-elements.be.svg
926 tutorial-elements.ca.svg
927 tutorial-elements.de.svg
928 tutorial-elements.el.svg
929 tutorial-elements.es.svg
930 tutorial-elements.eu.svg
931 tutorial-elements.fa.svg
932 tutorial-elements.fr.svg
933 tutorial-elements.gl.svg
934 tutorial-elements.hu.svg
935 tutorial-elements.id.svg
936 tutorial-elements.it.svg
937 tutorial-elements.ja.svg
938 tutorial-elements.nl.svg
939 tutorial-elements.pl.svg
940 tutorial-elements.pt.svg
941 tutorial-elements.pt_BR.svg
942 tutorial-elements.ru.svg
943 tutorial-elements.sk.svg
944 tutorial-elements.sl.svg
945 tutorial-elements.svg
946 tutorial-elements.uk.svg
947 tutorial-elements.zh_TW.svg
948 tutorial-interpolate.be.svg
949 tutorial-interpolate.de.svg
950 tutorial-interpolate.el.svg
951 tutorial-interpolate.fr.svg
952 tutorial-interpolate.gl.svg
953 tutorial-interpolate.hu.svg
954 tutorial-interpolate.ja.svg
955 tutorial-interpolate.nl.svg
956 tutorial-interpolate.pl.svg
957 tutorial-interpolate.pt.svg
958 tutorial-interpolate.pt_BR.svg
959 tutorial-interpolate.ru.svg
960 tutorial-interpolate.sk.svg
961 tutorial-interpolate.sl.svg
962 tutorial-interpolate.svg
963 tutorial-interpolate.uk.svg
964 tutorial-interpolate.vi.svg
965 tutorial-interpolate.zh_TW.svg
966 tutorial-shapes.be.svg
967 tutorial-shapes.ca.svg
968 tutorial-shapes.cs.svg
969 tutorial-shapes.de.svg
970 tutorial-shapes.el.svg
971 tutorial-shapes.es.svg
972 tutorial-shapes.eu.svg
973 tutorial-shapes.fa.svg
974 tutorial-shapes.fr.svg
975 tutorial-shapes.gl.svg
976 tutorial-shapes.hu.svg
977 tutorial-shapes.id.svg
978 tutorial-shapes.it.svg
979 tutorial-shapes.ja.svg
980 tutorial-shapes.nl.svg
981 tutorial-shapes.pl.svg
982 tutorial-shapes.pt.svg
983 tutorial-shapes.pt_BR.svg
984 tutorial-shapes.ru.svg
985 tutorial-shapes.sk.svg
986 tutorial-shapes.sl.svg
988 tutorial-shapes.uk.svg
989 tutorial-shapes.vi.svg
990 tutorial-shapes.zh_CN.svg
991 tutorial-shapes.zh_TW.svg
1000 tutorial-tips.gl.svg
1001 tutorial-tips.hu.svg
1002 tutorial-tips.id.svg
1003 tutorial-tips.it.svg
1004 tutorial-tips.ja.svg
1005 tutorial-tips.nl.svg
1006 tutorial-tips.pl.svg
1007 tutorial-tips.pt.svg
1008 tutorial-tips.pt_BR.svg
1009 tutorial-tips.ru.svg
1010 tutorial-tips.sk.svg
1011 tutorial-tips.sl.svg
1013 tutorial-tips.uk.svg
1014 tutorial-tips.vi.svg
1015 tutorial-tips.zh_TW.svg
1016 tutorial-tracing-pixelart.de.svg
1017 tutorial-tracing-pixelart.el.svg
1018 tutorial-tracing-pixelart.fr.svg
1019 tutorial-tracing-pixelart.hu.svg
1020 tutorial-tracing-pixelart.nl.svg
1021 tutorial-tracing-pixelart.pt.svg
1022 tutorial-tracing-pixelart.ru.svg
1023 tutorial-tracing-pixelart.sk.svg
1024 tutorial-tracing-pixelart.svg
1025 tutorial-tracing-pixelart.uk.svg
1026 tutorial-tracing-pixelart.zh_TW.svg
1027 tutorial-tracing.be.svg
1028 tutorial-tracing.ca.svg
1029 tutorial-tracing.de.svg
1030 tutorial-tracing.el.svg
1031 tutorial-tracing.es.svg
1032 tutorial-tracing.eu.svg
1033 tutorial-tracing.fa.svg
1034 tutorial-tracing.fr.svg
1035 tutorial-tracing.gl.svg
1036 tutorial-tracing.hu.svg
1037 tutorial-tracing.id.svg
1038 tutorial-tracing.ja.svg
1039 tutorial-tracing.nl.svg
1040 tutorial-tracing.pl.svg
1041 tutorial-tracing.pt.svg
1042 tutorial-tracing.pt_BR.svg
1043 tutorial-tracing.ru.svg
1044 tutorial-tracing.sk.svg
1045 tutorial-tracing.sl.svg
1046 tutorial-tracing.svg
1047 tutorial-tracing.uk.svg
1048 tutorial-tracing.vi.svg
1049 tutorial-tracing.zh_TW.svg
1057 share/locale/am/LC_MESSAGES/inkscape.mo
1058 share/locale/ar/LC_MESSAGES/inkscape.mo
1059 share/locale/as/LC_MESSAGES/inkscape.mo
1060 share/locale/az/LC_MESSAGES/inkscape.mo
1061 share/locale/be/LC_MESSAGES/inkscape.mo
1062 share/locale/bg/LC_MESSAGES/inkscape.mo
1063 share/locale/bn/LC_MESSAGES/inkscape.mo
1064 share/locale/bn_BD/LC_MESSAGES/inkscape.mo
1065 share/locale/br/LC_MESSAGES/inkscape.mo
1066 share/locale/brx/LC_MESSAGES/inkscape.mo
1067 share/locale/ca/LC_MESSAGES/inkscape.mo
1068 share/locale/ca@valencia/LC_MESSAGES/inkscape.mo
1069 share/locale/cs/LC_MESSAGES/inkscape.mo
1070 share/locale/da/LC_MESSAGES/inkscape.mo
1071 share/locale/de/LC_MESSAGES/inkscape.mo
1072 share/locale/doi/LC_MESSAGES/inkscape.mo
1073 share/locale/dz/LC_MESSAGES/inkscape.mo
1074 share/locale/el/LC_MESSAGES/inkscape.mo
1075 share/locale/en_AU/LC_MESSAGES/inkscape.mo
1076 share/locale/en_CA/LC_MESSAGES/inkscape.mo
1077 share/locale/en_GB/LC_MESSAGES/inkscape.mo
1078 share/locale/en_US@piglatin/LC_MESSAGES/inkscape.mo
1079 share/locale/eo/LC_MESSAGES/inkscape.mo
1080 share/locale/es/LC_MESSAGES/inkscape.mo
1081 share/locale/es_MX/LC_MESSAGES/inkscape.mo
1082 share/locale/et/LC_MESSAGES/inkscape.mo
1083 share/locale/eu/LC_MESSAGES/inkscape.mo
1084 share/locale/fa/LC_MESSAGES/inkscape.mo
1085 share/locale/fi/LC_MESSAGES/inkscape.mo
1086 share/locale/fr/LC_MESSAGES/inkscape.mo
1087 share/locale/ga/LC_MESSAGES/inkscape.mo
1088 share/locale/gl/LC_MESSAGES/inkscape.mo
1089 share/locale/gu/LC_MESSAGES/inkscape.mo
1090 share/locale/he/LC_MESSAGES/inkscape.mo
1091 share/locale/hi/LC_MESSAGES/inkscape.mo
1092 share/locale/hr/LC_MESSAGES/inkscape.mo
1093 share/locale/hu/LC_MESSAGES/inkscape.mo
1094 share/locale/hy/LC_MESSAGES/inkscape.mo
1095 share/locale/id/LC_MESSAGES/inkscape.mo
1096 share/locale/is/LC_MESSAGES/inkscape.mo
1097 share/locale/it/LC_MESSAGES/inkscape.mo
1098 share/locale/ja/LC_MESSAGES/inkscape.mo
1099 share/locale/km/LC_MESSAGES/inkscape.mo
1100 share/locale/kn/LC_MESSAGES/inkscape.mo
1101 share/locale/ko/LC_MESSAGES/inkscape.mo
1102 share/locale/kok/LC_MESSAGES/inkscape.mo
1103 share/locale/kok@latin/LC_MESSAGES/inkscape.mo
1104 share/locale/ks@aran/LC_MESSAGES/inkscape.mo
1105 share/locale/ks@deva/LC_MESSAGES/inkscape.mo
1106 share/locale/lt/LC_MESSAGES/inkscape.mo
1107 share/locale/lv/LC_MESSAGES/inkscape.mo
1108 share/locale/mai/LC_MESSAGES/inkscape.mo
1109 share/locale/mk/LC_MESSAGES/inkscape.mo
1110 share/locale/ml/LC_MESSAGES/inkscape.mo
1111 share/locale/mn/LC_MESSAGES/inkscape.mo
1112 share/locale/mni/LC_MESSAGES/inkscape.mo
1113 share/locale/mni@beng/LC_MESSAGES/inkscape.mo
1114 share/locale/mr/LC_MESSAGES/inkscape.mo
1115 share/locale/nb/LC_MESSAGES/inkscape.mo
1116 share/locale/ne/LC_MESSAGES/inkscape.mo
1117 share/locale/nl/LC_MESSAGES/inkscape.mo
1118 share/locale/nn/LC_MESSAGES/inkscape.mo
1119 share/locale/or/LC_MESSAGES/inkscape.mo
1120 share/locale/pa/LC_MESSAGES/inkscape.mo
1121 share/locale/pl/LC_MESSAGES/inkscape.mo
1122 share/locale/pt/LC_MESSAGES/inkscape.mo
1123 share/locale/pt_BR/LC_MESSAGES/inkscape.mo
1124 share/locale/ro/LC_MESSAGES/inkscape.mo
1125 share/locale/ru/LC_MESSAGES/inkscape.mo
1126 share/locale/rw/LC_MESSAGES/inkscape.mo
1127 share/locale/sa/LC_MESSAGES/inkscape.mo
1128 share/locale/sat/LC_MESSAGES/inkscape.mo
1129 share/locale/sat@deva/LC_MESSAGES/inkscape.mo
1130 share/locale/sd/LC_MESSAGES/inkscape.mo
1131 share/locale/sd@deva/LC_MESSAGES/inkscape.mo
1132 share/locale/sk/LC_MESSAGES/inkscape.mo
1133 share/locale/sl/LC_MESSAGES/inkscape.mo
1134 share/locale/sq/LC_MESSAGES/inkscape.mo
1135 share/locale/sr/LC_MESSAGES/inkscape.mo
1136 share/locale/sr@latin/LC_MESSAGES/inkscape.mo
1137 share/locale/sv/LC_MESSAGES/inkscape.mo
1138 share/locale/ta/LC_MESSAGES/inkscape.mo
1139 share/locale/te/LC_MESSAGES/inkscape.mo
1140 share/locale/th/LC_MESSAGES/inkscape.mo
1141 share/locale/tr/LC_MESSAGES/inkscape.mo
1142 share/locale/uk/LC_MESSAGES/inkscape.mo
1143 share/locale/ur/LC_MESSAGES/inkscape.mo
1144 share/locale/vi/LC_MESSAGES/inkscape.mo
1145 share/locale/zh_CN/LC_MESSAGES/inkscape.mo
1146 share/locale/zh_TW/LC_MESSAGES/inkscape.mo
1156 share/metainfo/inkscape.appdata.xml
1159 [FILE:633:patches/patch-src_extension_implementation_script.cpp]
1160 --- src/extension/implementation/script.cpp.orig 2019-01-15 04:29:27 UTC
1161 +++ src/extension/implementation/script.cpp
1162 @@ -969,10 +969,8 @@ int Script::execute (const std::list<std
1163 if(Glib::path_is_absolute(filein))
1164 argv.push_back(filein);
1166 - std::vector<std::string> buildargs;
1167 - buildargs.push_back(Glib::get_current_dir());
1168 - buildargs.push_back(filein);
1169 - argv.push_back(Glib::build_filename(buildargs));
1170 + std::string ss = Glib::get_current_dir() + "/" + filein;
1171 + argv.push_back(Glib::build_filename(ss));
1177 [FILE:746:patches/patch-src_extension_internal_pdfinput_pdf-input.cpp]
1178 --- src/extension/internal/pdfinput/pdf-input.cpp.orig 2019-01-15 04:29:27 UTC
1179 +++ src/extension/internal/pdfinput/pdf-input.cpp
1180 @@ -689,12 +689,12 @@ PdfInput::open(::Inkscape::Extension::In
1182 gchar const *poppler_datadir = g_getenv("POPPLER_DATADIR");
1183 if (poppler_datadir != NULL) {
1184 - globalParams = new GlobalParams(poppler_datadir);
1185 + globalParams = std::make_unique<GlobalParams>(poppler_datadir);
1187 - globalParams = new GlobalParams();
1188 + globalParams = std::make_unique<GlobalParams>();
1191 - globalParams = new GlobalParams();
1192 + globalParams = std::make_unique<GlobalParams>();
1193 #endif // ENABLE_OSX_APP_LOCATIONS
1198 [FILE:2052:patches/patch-src_extension_internal_pdfinput_pdf-parser.cpp]
1199 --- src/extension/internal/pdfinput/pdf-parser.cpp.orig 2019-01-15 04:29:27 UTC
1200 +++ src/extension/internal/pdfinput/pdf-parser.cpp
1201 @@ -272,7 +272,11 @@ public:
1202 ClipHistoryEntry *save();
1203 ClipHistoryEntry *restore();
1204 GBool hasSaves() { return saved != NULL; }
1205 +#if POPPLER_CHECK_VERSION(0,83,0)
1206 + void setClip(const GfxPath *newClipPath, GfxClipType newClipType = clipNormal);
1208 void setClip(GfxPath *newClipPath, GfxClipType newClipType = clipNormal);
1210 GfxPath *getClipPath() { return clipPath; }
1211 GfxClipType getClipType() { return clipType; }
1213 @@ -426,7 +430,7 @@ void PdfParser::parse(Object *obj, GBool
1214 error(errInternal, -1, "Weird page contents");
1217 - parser = new Parser(xref, new Lexer(xref, obj), gFalse);
1218 + parser = new _POPPLER_NEW_PARSER(xref, obj);
1222 @@ -2414,7 +2418,11 @@ void PdfParser::doShowText(GooString *s)
1224 double riseX, riseY;
1226 +#if POPPLER_CHECK_VERSION(0,82,0)
1227 + const Unicode *u = NULL;
1231 double x, y, dx, dy, tdx, tdy;
1232 double originX, originY, tOriginX, tOriginY;
1233 double oldCTM[6], newCTM[6];
1234 @@ -2537,7 +2545,7 @@ void PdfParser::doShowText(GooString *s)
1235 originY *= state->getFontSize();
1236 state->textTransformDelta(originX, originY, &tOriginX, &tOriginY);
1237 builder->addChar(state, state->getCurX() + riseX, state->getCurY() + riseY,
1238 - dx, dy, tOriginX, tOriginY, code, n, u, uLen);
1239 + dx, dy, tOriginX, tOriginY, code, n, (Unicode *)u, uLen);
1240 state->shift(tdx, tdy);
1243 @@ -3394,7 +3402,11 @@ ClipHistoryEntry::~ClipHistoryEntry()
1247 +#if POPPLER_CHECK_VERSION(0,83,0)
1248 +void ClipHistoryEntry::setClip(const GfxPath *clipPathA, GfxClipType clipTypeA) {
1250 void ClipHistoryEntry::setClip(GfxPath *clipPathA, GfxClipType clipTypeA) {
1252 // Free previous clip path
1257 [FILE:455:patches/patch-src_extension_internal_pdfinput_poppler-transition-api.h]
1258 --- src/extension/internal/pdfinput/poppler-transition-api.h
1259 +++ src/extension/internal/pdfinput/poppler-transition-api.h
1262 #include <glib/poppler-features.h>
1264 +#if POPPLER_CHECK_VERSION(0, 76, 0)
1265 +#define _POPPLER_NEW_PARSER(xref, obj) Parser(xref, obj, gFalse)
1267 +#define _POPPLER_NEW_PARSER(xref, obj) Parser(xref, new Lexer(xref, obj), gFalse)
1271 #if POPPLER_CHECK_VERSION(0, 72, 0)
1272 #define getCString c_str
1276 [FILE:1221:patches/patch-src_extension_internal_pdfinput_svg-builder.cpp]
1277 --- src/extension/internal/pdfinput/svg-builder.cpp.orig 2019-01-15 04:29:27 UTC
1278 +++ src/extension/internal/pdfinput/svg-builder.cpp
1279 @@ -264,10 +264,10 @@ static void svgSetTransform(Inkscape::XM
1281 * \brief Generates a SVG path string from poppler's data structure
1283 -static gchar *svgInterpretPath(GfxPath *path) {
1284 +static gchar *svgInterpretPath(const GfxPath *path) {
1285 Inkscape::SVG::PathString pathString;
1286 for (int i = 0 ; i < path->getNumSubpaths() ; ++i ) {
1287 - GfxSubpath *subpath = path->getSubpath(i);
1288 + const GfxSubpath *subpath = path->getSubpath(i);
1289 if (subpath->getNumPoints() > 0) {
1290 pathString.moveTo(subpath->getX(0), subpath->getY(0));
1292 @@ -458,7 +458,7 @@ void SvgBuilder::addPath(GfxState *state
1293 * \brief Emits the current path in poppler's GfxState data structure
1294 * The path is set to be filled with the given shading.
1296 -void SvgBuilder::addShadedFill(GfxShading *shading, double *matrix, GfxPath *path,
1297 +void SvgBuilder::addShadedFill(GfxShading *shading, double *matrix, const GfxPath *path,
1300 Inkscape::XML::Node *path_node = _xml_doc->createElement("svg:path");
1303 [FILE:559:patches/patch-src_extension_internal_pdfinput_svg-builder.h]
1304 --- src/extension/internal/pdfinput/svg-builder.h.orig 2019-01-15 04:29:27 UTC
1305 +++ src/extension/internal/pdfinput/svg-builder.h
1306 @@ -108,7 +108,7 @@ public:
1309 void addPath(GfxState *state, bool fill, bool stroke, bool even_odd=false);
1310 - void addShadedFill(GfxShading *shading, double *matrix, GfxPath *path, bool even_odd=false);
1311 + void addShadedFill(GfxShading *shading, double *matrix, const GfxPath *path, bool even_odd=false);
1314 void addImage(GfxState *state, Stream *str, int width, int height,
1317 [FILE:704:patches/patch-src_libnrtype_FontFactory.cpp]
1318 --- src/libnrtype/FontFactory.cpp.orig 2018-03-11 20:38:09 UTC
1319 +++ src/libnrtype/FontFactory.cpp
1320 @@ -704,8 +704,9 @@ font_instance *font_factory::Face(PangoFontDescription
1321 guint script_index = -1;
1322 if( pango_ot_info_find_script( info, PANGO_OT_TABLE_GSUB, scripts[i], &script_index )) {
1324 + PangoOTTag language_tag;
1325 PangoOTTag* languages =
1326 - pango_ot_info_list_languages( info, PANGO_OT_TABLE_GSUB, script_index, NULL);
1327 + pango_ot_info_list_languages( info, PANGO_OT_TABLE_GSUB, script_index, language_tag);
1328 // if( languages[0] != 0 )
1329 // std::cout << " languages: " << std::endl;
1333 [FILE:649:patches/patch-src_main.cpp]
1334 --- src/main.cpp.orig 2019-01-15 04:29:27 UTC
1336 @@ -1068,10 +1068,8 @@ sp_main_gui(int argc, char const **argv)
1337 for (std::vector<Glib::ustring>::iterator it = dataDirs.begin(); it != dataDirs.end(); ++it)
1339 std::vector<Glib::ustring> listing;
1340 - listing.push_back(*it);
1341 - listing.push_back("inkscape");
1342 - listing.push_back("icons");
1343 - Glib::ustring dir = Glib::build_filename(listing);
1344 + std::string ss = *it + "/inkscape/icons";
1345 + Glib::ustring dir = Glib::build_filename(ss);
1346 gtk_icon_theme_append_search_path(gtk_icon_theme_get_default(), dir.c_str());
1351 [FILE:1467:patches/patch-src_resource-manager.cpp]
1352 --- src/resource-manager.cpp.orig 2019-01-15 04:29:27 UTC
1353 +++ src/resource-manager.cpp
1354 @@ -93,7 +93,13 @@ static std::string convertPathToRelative
1355 for ( size_t i = 0; i < baseParts.size(); ++i ) {
1356 parts.insert(parts.begin(), "..");
1358 - result = Glib::build_filename( parts );
1360 + for(auto k : parts) {
1365 + result = Glib::build_filename(ss);
1366 // TODO debug g_message("----> [%s]", result.c_str());
1369 @@ -362,7 +368,13 @@ bool ResourceManagerImpl::searchUpwards(
1370 std::vector<std::string> combined;
1371 combined.insert( combined.end(), baseParts.begin(), baseParts.end() );
1372 combined.insert( combined.end(), current.begin(), current.end() );
1373 - std::string filepath = Glib::build_filename( combined );
1375 + for(auto k : parts) {
1380 + std::string filepath = Glib::build_filename(ss);
1381 exists = Glib::file_test(filepath, Glib::FILE_TEST_EXISTS);
1382 // TODO debug g_message(" ...[%s] %s", filepath.c_str(), (exists ? "XXX" : ""));
1386 [FILE:723:patches/patch-src_ui_dialog_filedialogimpl-gtkmm.cpp]
1387 --- src/ui/dialog/filedialogimpl-gtkmm.cpp.orig 2019-01-15 04:29:27 UTC
1388 +++ src/ui/dialog/filedialogimpl-gtkmm.cpp
1389 @@ -1137,10 +1137,8 @@ void FileSaveDialogImplGtk::fileNameEntr
1390 if (!Glib::path_is_absolute(fileName)) {
1391 // try appending to the current path
1392 // not this way: fileName = get_current_folder() + "/" + fileName;
1393 - std::vector<Glib::ustring> pathSegments;
1394 - pathSegments.push_back(get_current_folder());
1395 - pathSegments.push_back(fileName);
1396 - fileName = Glib::build_filename(pathSegments);
1397 + std::string ss = get_current_folder() + "/" + fileName;
1398 + fileName = Glib::build_filename(ss);
1401 // g_message("path:'%s'\n", fileName.c_str());