Merge lp:~tghs/inkscape/0.92.x_mac_packaging into lp:inkscape/0.92.x

Proposed by Tim Sheridan
Status: Merged
Merged at revision: 15405
Proposed branch: lp:~tghs/inkscape/0.92.x_mac_packaging
Merge into: lp:inkscape/0.92.x
Diff against target: 939 lines (+397/-135)
27 files modified
CMakeLists.txt (+3/-0)
Info.plist.in (+2/-2)
packaging/macosx/README.txt (+7/-3)
packaging/macosx/Resources/bin/inkscape (+5/-1)
packaging/macosx/Resources/etc/fonts/fonts.conf (+0/-66)
packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh (+1/-1)
packaging/macosx/app_patches/fix-GIMP-sliders-in-Inkscape-app-v3.patch (+31/-0)
packaging/macosx/app_patches/fix-URL-links-in-Inkscape-app-v1.patch (+22/-0)
packaging/macosx/app_patches/fix-borderless-menus-in-Inkscape-app-v1.patch (+35/-0)
packaging/macosx/app_patches/fix-cropped-button-images-in-Inkscape-app-v1.patch (+36/-0)
packaging/macosx/dmg_background.svg (+4/-4)
packaging/macosx/osx-app.sh (+34/-11)
packaging/macosx/osx-build.sh (+67/-37)
packaging/macosx/osx-dmg.sh (+2/-0)
packaging/macosx/ports/devel/inkscape-packaging/Portfile (+3/-3)
packaging/macosx/ports/python/py-scour/Portfile (+56/-0)
packaging/macosx/ports/python/py-scour/files/scour26 (+1/-0)
packaging/macosx/ports/python/py-scour/files/scour27 (+1/-0)
packaging/macosx/ports/python/py-scour/files/scour34 (+1/-0)
packaging/macosx/ports/python/py-scour/files/scour35 (+1/-0)
packaging/macosx/ports/python/py-sk1libs/Portfile (+3/-3)
packaging/macosx/ports/python/py-uniconvertor/Portfile (+4/-4)
packaging/macosx/ports/python/scour_select/Portfile (+35/-0)
packaging/macosx/ports/python/scour_select/files/base (+1/-0)
packaging/macosx/ports/python/scour_select/files/none (+1/-0)
packaging/macosx/ports/textproc/help2man/Portfile (+39/-0)
src/menus-skeleton.h (+2/-0)
To merge this branch: bzr merge lp:~tghs/inkscape/0.92.x_mac_packaging
Reviewer Review Type Date Requested Status
su_v (community) Approve
Review via email: mp+318170@code.launchpad.net

Description of the change

This branch contains the main work for getting the macOS packaging ready for an official 0.92.2 release.

Changes have mostly been reviewed by su_v as I've been committing them. Adding su_v for review in case there's anything added recently that hasn't been looked at. I've tested su_v's patches that are included in this branch.

The following are the only changes made outside of the packaging/macosx tree:
* http://bazaar.launchpad.net/~tghs/inkscape/0.92.x_mac_packaging/revision/15367
* http://bazaar.launchpad.net/~tghs/inkscape/0.92.x_mac_packaging/revision/15369
* http://bazaar.launchpad.net/~tghs/inkscape/0.92.x_mac_packaging/revision/15372

To post a comment you must log in.
Revision history for this message
Bryce Harrington (bryce) wrote :

For landing on 0.92.x, pending suv's approval:

Acked-by: Bryce Harrington <email address hidden>

Revision history for this message
su_v (suv-lp) :
review: Approve
Revision history for this message
su_v (suv-lp) wrote :

@Tim - would you mind applying for membership in the Inkscape dev team at launchpad to get commit access, and merge this yourself?
https://launchpad.net/~inkscape.dev
https://launchpad.net/~inkscape.dev/+join

@inkscape.dev: apart from updates for the en_GB translation, patches contributed by Tim (tghs) had been committed in r15395, r15446, r15487.

Revision history for this message
Tim Sheridan (tghs) wrote :

su_v: Sure, I've applied to the group. I'll merge this when I'm added.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2017-02-16 20:37:27 +0000
+++ CMakeLists.txt 2017-02-24 00:27:32 +0000
@@ -135,9 +135,12 @@
135add_custom_target(dist135add_custom_target(dist
136 COMMAND sed -i "s/unknown/r${INKSCAPE_REVISION}/" CMakeScripts/inkscape-version.cmake136 COMMAND sed -i "s/unknown/r${INKSCAPE_REVISION}/" CMakeScripts/inkscape-version.cmake
137 && sed -i "s/custom//" CMakeScripts/inkscape-version.cmake137 && sed -i "s/custom//" CMakeScripts/inkscape-version.cmake
138 && sed -i "/VER_BZRREV=/d" src/Makefile.am
139 && sed -i "s/..VER_BZRREV/ r${INKSCAPE_REVISION}/" src/Makefile.am
138 && bzr export --uncommitted --root=${INKSCAPE_DIST_PREFIX}140 && bzr export --uncommitted --root=${INKSCAPE_DIST_PREFIX}
139 "${CMAKE_BINARY_DIR}/${INKSCAPE_DIST_PREFIX}.tar.bz2" 141 "${CMAKE_BINARY_DIR}/${INKSCAPE_DIST_PREFIX}.tar.bz2"
140 && bzr revert ${CMAKE_SOURCE_DIR}/CMakeScripts/inkscape-version.cmake142 && bzr revert ${CMAKE_SOURCE_DIR}/CMakeScripts/inkscape-version.cmake
143 && bzr revert ${CMAKE_SOURCE_DIR}/src/Makefile.am
141 WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}")144 WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}")
142145
143# -----------------------------------------------------------------------------146# -----------------------------------------------------------------------------
144147
=== modified file 'Info.plist.in'
--- Info.plist.in 2014-12-31 14:59:16 +0000
+++ Info.plist.in 2017-02-24 00:27:32 +0000
@@ -7,7 +7,7 @@
7 <key>CFBundleExecutable</key>7 <key>CFBundleExecutable</key>
8 <string>Inkscape</string>8 <string>Inkscape</string>
9 <key>CFBundleGetInfoString</key>9 <key>CFBundleGetInfoString</key>
10 <string>@VERSION@, Copyright 2003-2014 Inkscape Developers</string>10 <string>@VERSION@, Copyright 2003-2017 Inkscape Developers</string>
11 <key>CFBundleIconFile</key>11 <key>CFBundleIconFile</key>
12 <string>Inkscape.icns</string>12 <string>Inkscape.icns</string>
13 <key>CFBundleIdentifier</key>13 <key>CFBundleIdentifier</key>
@@ -550,6 +550,6 @@
550 <key>LSMinimumSystemVersion</key>550 <key>LSMinimumSystemVersion</key>
551 <string>10.5</string>551 <string>10.5</string>
552 <key>NSHumanReadableCopyright</key>552 <key>NSHumanReadableCopyright</key>
553 <string>Copyright 2014 Inkscape Developers, GNU General Public License.</string>553 <string>Copyright 2003-2017 Inkscape Developers, GNU General Public License.</string>
554</dict>554</dict>
555</plist>555</plist>
556556
=== modified file 'packaging/macosx/README.txt'
--- packaging/macosx/README.txt 2015-01-29 00:13:59 +0000
+++ packaging/macosx/README.txt 2017-02-24 00:27:32 +0000
@@ -20,12 +20,16 @@
2020
21$ sudo sed -e '$a\'$'\n''+x11 -quartz -no_x11 +rsvg +Pillow -tkinter +gnome_vfs' -i "" "$MP_PREFIX/etc/macports/variants.conf"21$ sudo sed -e '$a\'$'\n''+x11 -quartz -no_x11 +rsvg +Pillow -tkinter +gnome_vfs' -i "" "$MP_PREFIX/etc/macports/variants.conf"
2222
236) install required dependencies: 236) optional: to force an i386 build on x86_64 machine:
24
25$ sudo sed -e '/^#build_arch/i\'$'\nbuild_arch i386' -i "" "$MP_PREFIX/etc/macports/macports.conf"
26
277) install required dependencies:
2428
25$ sudo port install inkscape-packaging29$ sudo port install inkscape-packaging
2630
277) compile inkscape, create app bundle and DMG: 318) compile inkscape, create app bundle and DMG (if building for i386 on x86_64 machine, add at the beginning ARCH="i386"):
2832
29$ LIBPREFIX="$MP_PREFIX" ./osx-build.sh a c b -j 5 i p -s d33$ LIBPREFIX="$MP_PREFIX" ./osx-build.sh a c b -j 5 i p -s d
3034
318) upload the DMG.359) upload the DMG.
3236
=== modified file 'packaging/macosx/Resources/bin/inkscape'
--- packaging/macosx/Resources/bin/inkscape 2015-11-02 10:14:45 +0000
+++ packaging/macosx/Resources/bin/inkscape 2017-02-24 00:27:32 +0000
@@ -95,6 +95,10 @@
95export ASPELL_CONF="prefix $TOP;"95export ASPELL_CONF="prefix $TOP;"
96export POPPLER_DATADIR="$TOP/share/poppler"96export POPPLER_DATADIR="$TOP/share/poppler"
9797
98# Using fontconfig backend for slightly crisper UI text rendering
99export PANGOCAIRO_BACKEND="fontconfig"
100#export PANGOCAIRO_BACKEND="coretext"
101
98# no DBUS for now102# no DBUS for now
99unset DBUS_LAUNCHD_SESSION_BUS_SOCKET103unset DBUS_LAUNCHD_SESSION_BUS_SOCKET
100unset DBUS_SESSION_BUS_ADDRESS104unset DBUS_SESSION_BUS_ADDRESS
@@ -140,7 +144,7 @@
140 export LANG="en_US.UTF-8"144 export LANG="en_US.UTF-8"
141else145else
142 tmpLANG="`grep \"\`echo $LANGSTR\`_\" /usr/share/locale/locale.alias | \146 tmpLANG="`grep \"\`echo $LANGSTR\`_\" /usr/share/locale/locale.alias | \
143 tail -n1 | sed 's/\./ /' | awk '{print $2}'`"147 tail -n1 | awk '{print $2}' | sed 's/\./ /' | awk '{print $1}'`"
144 if [ "x$tmpLANG" == "x" ]148 if [ "x$tmpLANG" == "x" ]
145 then149 then
146 # override broken script150 # override broken script
147151
=== modified file 'packaging/macosx/Resources/etc/fonts/fonts.conf'
--- packaging/macosx/Resources/etc/fonts/fonts.conf 2014-08-20 01:29:43 +0000
+++ packaging/macosx/Resources/etc/fonts/fonts.conf 2017-02-24 00:27:32 +0000
@@ -83,72 +83,6 @@
8383
84 <config>84 <config>
85<!--85<!--
86 These are the default Unicode chars that are expected to be blank
87 in fonts. All other blank chars are assumed to be broken and
88 won't appear in the resulting charsets
89 -->
90 <blank>
91 <int>0x0020</int> <!-- SPACE -->
92 <int>0x00A0</int> <!-- NO-BREAK SPACE -->
93 <int>0x00AD</int> <!-- SOFT HYPHEN -->
94 <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER -->
95 <int>0x0600</int> <!-- ARABIC NUMBER SIGN -->
96 <int>0x0601</int> <!-- ARABIC SIGN SANAH -->
97 <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER -->
98 <int>0x0603</int> <!-- ARABIC SIGN SAFHA -->
99 <int>0x06DD</int> <!-- ARABIC END OF AYAH -->
100 <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK -->
101 <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER -->
102 <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER -->
103 <int>0x1680</int> <!-- OGHAM SPACE MARK -->
104 <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ -->
105 <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA -->
106 <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR -->
107 <int>0x2000</int> <!-- EN QUAD -->
108 <int>0x2001</int> <!-- EM QUAD -->
109 <int>0x2002</int> <!-- EN SPACE -->
110 <int>0x2003</int> <!-- EM SPACE -->
111 <int>0x2004</int> <!-- THREE-PER-EM SPACE -->
112 <int>0x2005</int> <!-- FOUR-PER-EM SPACE -->
113 <int>0x2006</int> <!-- SIX-PER-EM SPACE -->
114 <int>0x2007</int> <!-- FIGURE SPACE -->
115 <int>0x2008</int> <!-- PUNCTUATION SPACE -->
116 <int>0x2009</int> <!-- THIN SPACE -->
117 <int>0x200A</int> <!-- HAIR SPACE -->
118 <int>0x200B</int> <!-- ZERO WIDTH SPACE -->
119 <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER -->
120 <int>0x200D</int> <!-- ZERO WIDTH JOINER -->
121 <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK -->
122 <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK -->
123 <int>0x2028</int> <!-- LINE SEPARATOR -->
124 <int>0x2029</int> <!-- PARAGRAPH SEPARATOR -->
125 <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING -->
126 <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING -->
127 <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING -->
128 <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE -->
129 <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE -->
130 <int>0x202F</int> <!-- NARROW NO-BREAK SPACE -->
131 <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE -->
132 <int>0x2060</int> <!-- WORD JOINER -->
133 <int>0x2061</int> <!-- FUNCTION APPLICATION -->
134 <int>0x2062</int> <!-- INVISIBLE TIMES -->
135 <int>0x2063</int> <!-- INVISIBLE SEPARATOR -->
136 <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING -->
137 <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING -->
138 <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING -->
139 <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING -->
140 <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES -->
141 <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES -->
142 <int>0x2800</int> <!-- BRAILLE PATTERN BLANK -->
143 <int>0x3000</int> <!-- IDEOGRAPHIC SPACE -->
144 <int>0x3164</int> <!-- HANGUL FILLER -->
145 <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE -->
146 <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER -->
147 <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR -->
148 <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR -->
149 <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
150 </blank>
151<!--
152 Rescan configuration every 30 seconds when FcFontSetList is called86 Rescan configuration every 30 seconds when FcFontSetList is called
153 -->87 -->
154 <rescan>88 <rescan>
15589
=== modified file 'packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh'
--- packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh 2015-01-10 16:06:20 +0000
+++ packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh 2017-02-24 00:27:32 +0000
@@ -143,7 +143,7 @@
143 export LANG="en_US.UTF-8"143 export LANG="en_US.UTF-8"
144else144else
145 tmpLANG="`grep \"\`echo $LANGSTR\`_\" /usr/share/locale/locale.alias | \145 tmpLANG="`grep \"\`echo $LANGSTR\`_\" /usr/share/locale/locale.alias | \
146 tail -n1 | sed 's/\./ /' | awk '{print $2}'`"146 tail -n1 | awk '{print $2}' | sed 's/\./ /' | awk '{print $1}'`"
147 if [ "x$tmpLANG" == "x" ]147 if [ "x$tmpLANG" == "x" ]
148 then148 then
149 # override broken script149 # override broken script
150150
=== added directory 'packaging/macosx/app_patches'
=== added file 'packaging/macosx/app_patches/fix-GIMP-sliders-in-Inkscape-app-v3.patch'
--- packaging/macosx/app_patches/fix-GIMP-sliders-in-Inkscape-app-v3.patch 1970-01-01 00:00:00 +0000
+++ packaging/macosx/app_patches/fix-GIMP-sliders-in-Inkscape-app-v3.patch 2017-02-24 00:27:32 +0000
@@ -0,0 +1,31 @@
1--- Contents/Resources/etc/gtk-2.0/gtkrc-orig 2017-02-08 07:33:39.000000000 +0100
2+++ Contents/Resources/etc/gtk-2.0/gtkrc 2017-02-08 21:44:57.000000000 +0100
3@@ -16,8 +16,4 @@
4 # use OS X default PDF viewer for print preview
5 gtk-print-preview-command="open -a /Applications/Preview.app %f"
6
7-# fix Adwaita theme for Inkscape's GimpSpinScale widgets
8-style "spinbutton" {}
9-widget_class "*GimpSpinScale*" style "spinbutton"
10-
11 # eof
12--- Contents/Resources/share/themes/Adwaita/gtk-2.0/apps-orig.rc 2017-02-07 13:40:44.000000000 +0100
13+++ Contents/Resources/share/themes/Adwaita/gtk-2.0/apps.rc 2017-02-08 21:45:08.000000000 +0100
14@@ -5,6 +5,7 @@
15 # the theme or stuff that is supposed to look different, like panels.
16
17 # TODO: This could really look nicer
18+# TODO: fix for Inkscape
19 style "gimp_spin_scale" {
20
21 # Spin background
22@@ -93,7 +94,8 @@
23 }
24
25 # Disable spin button assets for GimpSpinScale
26-class "GimpSpinScale" style "gimp_spin_scale"
27+# TODO: fix for Inkscape
28+#class "GimpSpinScale" style "gimp_spin_scale"
29
30 # Chromium lets us define some colours and settings for better integration
31 class "ChromeGtkFrame" style "chrome_gtk_frame"
032
=== added file 'packaging/macosx/app_patches/fix-URL-links-in-Inkscape-app-v1.patch'
--- packaging/macosx/app_patches/fix-URL-links-in-Inkscape-app-v1.patch 1970-01-01 00:00:00 +0000
+++ packaging/macosx/app_patches/fix-URL-links-in-Inkscape-app-v1.patch 2017-02-24 00:27:32 +0000
@@ -0,0 +1,22 @@
1diff -u -N Contents/Resources/share/applications.orig/mimeapps.list Contents/Resources/share/applications/mimeapps.list
2--- Contents/Resources/share/applications.orig/mimeapps.list 1970-01-01 01:00:00.000000000 +0100
3+++ Contents/Resources/share/applications/mimeapps.list 2017-02-14 08:46:35.000000000 +0100
4@@ -0,0 +1,3 @@
5+[Default Applications]
6+x-scheme-handler/http=open.desktop
7+x-scheme-handler/https=open.desktop
8diff -u -N Contents/Resources/share/applications.orig/open.desktop Contents/Resources/share/applications/open.desktop
9--- Contents/Resources/share/applications.orig/open.desktop 1970-01-01 01:00:00.000000000 +0100
10+++ Contents/Resources/share/applications/open.desktop 2017-02-14 08:46:40.000000000 +0100
11@@ -0,0 +1,11 @@
12+[Desktop Entry]
13+Version=1.0
14+Name=Open
15+GenericName=Open
16+Comment=Open wih registered native application
17+Exec=open %u
18+Icon=None
19+StartupNotify=false
20+Terminal=false
21+Type=Application
22+Categories=Utility;
023
=== added file 'packaging/macosx/app_patches/fix-borderless-menus-in-Inkscape-app-v1.patch'
--- packaging/macosx/app_patches/fix-borderless-menus-in-Inkscape-app-v1.patch 1970-01-01 00:00:00 +0000
+++ packaging/macosx/app_patches/fix-borderless-menus-in-Inkscape-app-v1.patch 2017-02-24 00:27:32 +0000
@@ -0,0 +1,35 @@
1--- Contents/Resources/share/themes/Adwaita/gtk-2.0/main.rc.orig 2017-02-07 13:40:44.000000000 +0100
2+++ Contents/Resources/share/themes/Adwaita/gtk-2.0/main.rc 2017-02-10 15:50:57.000000000 +0100
3@@ -1533,6 +1533,24 @@
4
5 }
6
7+style "menu_framed_box" {
8+
9+ bg[NORMAL] = @base_color
10+ bg[INSENSITIVE] = @base_color
11+ bg[PRELIGHT] = @base_color
12+
13+ engine "pixmap"
14+ {
15+ image
16+ {
17+ function = BOX
18+ file = "assets/menu-border.png"
19+ border = { 1, 1, 1, 1 }
20+ stretch = TRUE
21+ }
22+ }
23+ }
24+
25 style "menu_item" {
26
27 xthickness = 3
28@@ -2502,6 +2520,7 @@
29 class "GtkTextView" style "textview"
30
31 # Menu and menubar items
32+widget_class "*<GtkMenu>" style "menu_framed_box"
33 widget_class "*<GtkMenuItem>*" style "menu_item"
34 widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item"
35 widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
036
=== added file 'packaging/macosx/app_patches/fix-cropped-button-images-in-Inkscape-app-v1.patch'
--- packaging/macosx/app_patches/fix-cropped-button-images-in-Inkscape-app-v1.patch 1970-01-01 00:00:00 +0000
+++ packaging/macosx/app_patches/fix-cropped-button-images-in-Inkscape-app-v1.patch 2017-02-24 00:27:32 +0000
@@ -0,0 +1,36 @@
1--- Contents/Resources/share/themes/Adwaita/gtk-2.0/hacks.rc.orig 2017-02-16 00:04:50.000000000 +0100
2+++ Contents/Resources/share/themes/Adwaita/gtk-2.0/hacks.rc 2017-02-16 19:17:47.000000000 +0100
3@@ -20,6 +20,18 @@
4 bg[ACTIVE] = @insensitive_bg_color
5 }
6
7+style "inkscape_toolbox_button" {
8+ xthickness = 3
9+ ythickness = 3
10+ GtkButton::inner-border = {0, 0, 0, 0}
11+}
12+
13+style "inkscape_canvas_button" {
14+ xthickness = 0
15+ ythickness = 0
16+ GtkButton::inner-border = {0, 0, 0, 0}
17+}
18+
19 # Vim puts an eventbox between the tab and the label and colours it,
20 # we need to handle that
21 widget "vim-main-window*GtkNotebook.GtkEventBox" style "vim_notebook"
22@@ -34,3 +46,14 @@
23
24 # Hack to be able to match widgets in LibreOffice
25 class "GtkWindow" style "toplevel_hack"
26+
27+# Inkscape toolbox buttons have cropped icons.
28+# Use zero inner border and increased padding to avoid cropping
29+widget "*.SPDesktopWidget.*.ToolToolbar.Tool*.SPButton" style "inkscape_toolbox_button"
30+
31+# Inkscape buttons in canvas corners have cropped icons.
32+# use zero inner border and zero padding to avoid cropping
33+widget "*.SPDesktopWidget.GtkVBox.GtkHBox.GtkTable.gtkmm__GtkHPaned.GtkTable.GtkVBox.StickyZoom" style "inkscape_canvas_button"
34+widget "*.SPDesktopWidget.GtkVBox.GtkHBox.GtkTable.gtkmm__GtkHPaned.GtkTable.CMS_Adjust" style "inkscape_canvas_button"
35+# Button to lock/unlock guides has no widget name
36+widget "*.SPDesktopWidget.GtkVBox.GtkHBox.GtkTable.gtkmm__GtkHPaned.GtkTable.SPButton" style "inkscape_canvas_button"
037
=== modified file 'packaging/macosx/dmg_background.png'
1Binary files packaging/macosx/dmg_background.png 2014-11-08 03:30:57 +0000 and packaging/macosx/dmg_background.png 2017-02-24 00:27:32 +0000 differ38Binary files packaging/macosx/dmg_background.png 2014-11-08 03:30:57 +0000 and packaging/macosx/dmg_background.png 2017-02-24 00:27:32 +0000 differ
=== modified file 'packaging/macosx/dmg_background.svg'
--- packaging/macosx/dmg_background.svg 2014-11-08 03:30:57 +0000
+++ packaging/macosx/dmg_background.svg 2017-02-24 00:27:32 +0000
@@ -994,7 +994,7 @@
994 sodipodi:role="line"994 sodipodi:role="line"
995 id="tspan4806"995 id="tspan4806"
996 x="459"996 x="459"
997 y="141.78999">Inkscape 0.91+devel</tspan></text>997 y="141.78999">Inkscape 0.92</tspan></text>
998 <path998 <path
999 sodipodi:nodetypes="cccccccc"999 sodipodi:nodetypes="cccccccc"
1000 style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.8258427;fill:url(#linearGradient3762);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none"1000 style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.8258427;fill:url(#linearGradient3762);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none"
@@ -1223,7 +1223,7 @@
1223 id="text4431"1223 id="text4431"
1224 y="56.595001"1224 y="56.595001"
1225 x="113.27875"1225 x="113.27875"
1226 style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:33.75px;line-height:125%;font-family:Calluna;-inkscape-font-specification:Calluna;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"1226 style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:34px;line-height:125%;font-family:Calluna;-inkscape-font-specification:Calluna;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
1227 xml:space="preserve"><tspan1227 xml:space="preserve"><tspan
1228 y="56.595001"1228 y="56.595001"
1229 x="113.27875"1229 x="113.27875"
@@ -1233,8 +1233,8 @@
1233 sodipodi:linespacing="125%"1233 sodipodi:linespacing="125%"
1234 id="text4443"1234 id="text4443"
1235 y="84.804001"1235 y="84.804001"
1236 x="144.53799"1236 x="134.53799"
1237 style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17px;line-height:125%;font-family:Ubuntu;-inkscape-font-specification:Ubuntu;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"1237 style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:28px;line-height:125%;font-family:EuphoriaScript;-inkscape-font-specification:EuphoriaScript;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
1238 xml:space="preserve"><tspan1238 xml:space="preserve"><tspan
1239 y="84.804001"1239 y="84.804001"
1240 x="144.53799"1240 x="144.53799"
12411241
=== modified file 'packaging/macosx/osx-app.sh'
--- packaging/macosx/osx-app.sh 2017-02-22 17:57:56 +0000
+++ packaging/macosx/osx-app.sh 2017-02-24 00:27:32 +0000
@@ -286,20 +286,25 @@
286OSXMINORVER="$(cut -d. -f 1,2 <<< $OSXVERSION)"286OSXMINORVER="$(cut -d. -f 1,2 <<< $OSXVERSION)"
287OSXMINORNO="$(cut -d. -f2 <<< $OSXVERSION)"287OSXMINORNO="$(cut -d. -f2 <<< $OSXVERSION)"
288OSXPOINTNO="$(cut -d. -f3 <<< $OSXVERSION)"288OSXPOINTNO="$(cut -d. -f3 <<< $OSXVERSION)"
289ARCH="$(uname -a | awk '{print $NF;}')"289HOSTARCH="$(uname -a | awk '{print $NF;}')"
290290
291# guess default build_arch (MacPorts)291if [ "$ARCH" != "" ]; then
292if [ "$OSXMINORNO" -ge "6" ]; then292 # explicit build_arch
293 if [ "$(sysctl -n hw.cpu64bit_capable 2>/dev/null)" = "1" ]; then293 _build_arch="$ARCH"
294 _build_arch="x86_64"
295 else
296 _build_arch="i386"
297 fi
298else294else
299 if [ $ARCH = "powerpc" ]; then295 # guess default build_arch (MacPorts)
300 _build_arch="ppc"296 if [ "$OSXMINORNO" -ge "6" ]; then
297 if [ "$(sysctl -n hw.cpu64bit_capable 2>/dev/null)" = "1" ]; then
298 _build_arch="x86_64"
299 else
300 _build_arch="i386"
301 fi
301 else302 else
302 _build_arch="i386"303 if [ $HOSTARCH = "powerpc" ]; then
304 _build_arch="ppc"
305 else
306 _build_arch="i386"
307 fi
303 fi308 fi
304fi309fi
305310
@@ -424,6 +429,7 @@
424if [ $_backend = "quartz" ]; then429if [ $_backend = "quartz" ]; then
425 /usr/libexec/PlistBuddy -x -c "Set :CGDisableCoalescedUpdates 1" "${package}/Contents/Info.plist"430 /usr/libexec/PlistBuddy -x -c "Set :CGDisableCoalescedUpdates 1" "${package}/Contents/Info.plist"
426fi431fi
432/usr/libexec/PlistBuddy -x -c "Set :LSMinimumSystemVersion $OSXMINORVER" "${package}/Contents/Info.plist"
427433
428# Share files434# Share files
429$rsync_cmd "$binary_dir/../share/$binary_name"/* "$pkgshare/$binary_name"435$rsync_cmd "$binary_dir/../share/$binary_name"/* "$pkgshare/$binary_name"
@@ -493,6 +499,9 @@
493 $cp_cmd -RL "$packages_path/uniconvertor" "$pkgpython"499 $cp_cmd -RL "$packages_path/uniconvertor" "$pkgpython"
494 # pySerial for HPGL plotting500 # pySerial for HPGL plotting
495 $cp_cmd -RL "$packages_path/serial" "$pkgpython"501 $cp_cmd -RL "$packages_path/serial" "$pkgpython"
502 # scour and its dependency six
503 $cp_cmd -RL "$packages_path/scour" "$pkgpython"
504 $cp_cmd -RL "$packages_path/six.py" "$pkgpython"
496 # PyGTK (optional)505 # PyGTK (optional)
497 $cp_cmd -RL "$packages_path/cairo" "$pkgpython"506 $cp_cmd -RL "$packages_path/cairo" "$pkgpython"
498 $cp_cmd -RL "$packages_path/glib" "$pkgpython"507 $cp_cmd -RL "$packages_path/glib" "$pkgpython"
@@ -856,6 +865,20 @@
856865
857fi 866fi
858867
868# Patch files in app bundle
869#----------------------------------------------------------
870
871PATCH_FILE_DIR="app_patches"
872
873if [ -d "$PATCH_FILE_DIR" ]; then
874 echo "Applying patches in '$PATCH_FILE_DIR'"
875 for PATCH in ${PATCH_FILE_DIR}/*.patch; do
876 patch -d ${package} -p0 < $PATCH || {
877 echo "Patch failed!"
878 exit 1
879 }
880 done
881fi
859882
860# All done.883# All done.
861#----------------------------------------------------------884#----------------------------------------------------------
862885
=== modified file 'packaging/macosx/osx-build.sh'
--- packaging/macosx/osx-build.sh 2017-02-22 17:57:56 +0000
+++ packaging/macosx/osx-build.sh 2017-02-24 00:27:32 +0000
@@ -10,11 +10,12 @@
10# Jean-Olivier Irisson <jo.irisson@gmail.com>10# Jean-Olivier Irisson <jo.irisson@gmail.com>
11# Liam P. White <inkscapebrony@gmail.com>11# Liam P. White <inkscapebrony@gmail.com>
12# ~suv <suv-sf@users.sourceforge.net>12# ~suv <suv-sf@users.sourceforge.net>
13# Tim Sheridan <tghs@tghs.net>
13# with information from14# with information from
14# Kees Cook15# Kees Cook
15# Michael Wybrow16# Michael Wybrow
16#17#
17# Copyright (C) 2006-201418# Copyright (C) 2006-2017
18# Released under GNU GPL, read the file 'COPYING' for more information19# Released under GNU GPL, read the file 'COPYING' for more information
19#20#
2021
@@ -171,23 +172,28 @@
171OSXMINORVER="$(cut -d. -f 1,2 <<< $OSXVERSION)"172OSXMINORVER="$(cut -d. -f 1,2 <<< $OSXVERSION)"
172OSXMINORNO="$(cut -d. -f2 <<< $OSXVERSION)"173OSXMINORNO="$(cut -d. -f2 <<< $OSXVERSION)"
173OSXPOINTNO="$(cut -d. -f3 <<< $OSXVERSION)"174OSXPOINTNO="$(cut -d. -f3 <<< $OSXVERSION)"
174ARCH="$(uname -a | awk '{print $NF;}')"175HOSTARCH="$(uname -a | awk '{print $NF;}')"
175176
176# MacPorts for dependencies177# MacPorts for dependencies
177[[ -x $LIBPREFIX/bin/port && -d $LIBPREFIX/etc/macports ]] && export use_port="t"178[[ -x $LIBPREFIX/bin/port && -d $LIBPREFIX/etc/macports ]] && export use_port="t"
178179
179# guess default build_arch (MacPorts)180if [ "$ARCH" != "" ]; then
180if [ "$OSXMINORNO" -ge "6" ]; then181 # explicit build_arch
181 if [ "$(sysctl -n hw.cpu64bit_capable 2>/dev/null)" = "1" ]; then182 _build_arch="$ARCH"
182 _build_arch="x86_64"
183 else
184 _build_arch="i386"
185 fi
186else183else
187 if [ $ARCH = "powerpc" ]; then184 # guess default build_arch (MacPorts)
188 _build_arch="ppc"185 if [ "$OSXMINORNO" -ge "6" ]; then
186 if [ "$(sysctl -n hw.cpu64bit_capable 2>/dev/null)" = "1" ]; then
187 _build_arch="x86_64"
188 else
189 _build_arch="i386"
190 fi
189 else191 else
190 _build_arch="i386"192 if [ $HOSTARCH = "powerpc" ]; then
193 _build_arch="ppc"
194 else
195 _build_arch="i386"
196 fi
191 fi197 fi
192fi198fi
193199
@@ -221,60 +227,89 @@
221 TARGETVERSION="10.5"227 TARGETVERSION="10.5"
222 export CC="/usr/bin/gcc-4.2"228 export CC="/usr/bin/gcc-4.2"
223 export CXX="/usr/bin/g++-4.2"229 export CXX="/usr/bin/g++-4.2"
224 #export CLAGS="$CFLAGS -arch $_build_arch"230 export CFLAGS="$CFLAGS -arch $_build_arch"
225 export CXXFLAGS="$CFLAGS"231 export CXXFLAGS="$CFLAGS"
226 CONFFLAGS="--disable-openmp $CONFFLAGS"232 CONFFLAGS="--disable-openmp $CONFFLAGS"
233 CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018
227elif [ "$OSXMINORNO" -eq "6" ]; then234elif [ "$OSXMINORNO" -eq "6" ]; then
228 ## Apple's LLVM-GCC 4.2.1 on Snow Leopard235 ## Apple's LLVM-GCC 4.2.1 on Snow Leopard
229 TARGETNAME="SNOW LEOPARD"236 TARGETNAME="SNOW LEOPARD"
230 TARGETVERSION="10.6"237 TARGETVERSION="10.6"
231 export CC="/usr/bin/llvm-gcc-4.2"238 export CC="/usr/bin/llvm-gcc-4.2"
232 export CXX="/usr/bin/llvm-g++-4.2"239 export CXX="/usr/bin/llvm-g++-4.2"
233 #export CLAGS="$CFLAGS -arch $_build_arch"240 export CFLAGS="$CFLAGS -arch $_build_arch"
234 export CXXFLAGS="$CFLAGS"241 export CXXFLAGS="$CFLAGS"
235 CONFFLAGS="--disable-openmp $CONFFLAGS"242 CONFFLAGS="--disable-openmp $CONFFLAGS"
243 CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018
236elif [ "$OSXMINORNO" -eq "7" ]; then244elif [ "$OSXMINORNO" -eq "7" ]; then
237 ## Apple's clang on Lion and later245 ## Apple's clang on Lion and later
238 TARGETNAME="LION"246 TARGETNAME="LION"
239 TARGETVERSION="10.7"247 TARGETVERSION="10.7"
240 export CC="/usr/bin/clang"248 export CC="/usr/bin/clang"
241 export CXX="/usr/bin/clang++"249 export CXX="/usr/bin/clang++"
242 #export CLAGS="$CFLAGS -arch $_build_arch"250 export CFLAGS="$CFLAGS -arch $_build_arch"
243 export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align" #-stdlib=libstdc++ -std=c++11251 export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align" #-stdlib=libstdc++ -std=c++11
252 CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018
244elif [ "$OSXMINORNO" -eq "8" ]; then253elif [ "$OSXMINORNO" -eq "8" ]; then
245 ## Apple's clang on Mountain Lion254 ## Apple's clang on Mountain Lion
246 TARGETNAME="MOUNTAIN LION"255 TARGETNAME="MOUNTAIN LION"
247 TARGETVERSION="10.8"256 TARGETVERSION="10.8"
248 export CC="/usr/bin/clang"257 export CC="/usr/bin/clang"
249 export CXX="/usr/bin/clang++"258 export CXX="/usr/bin/clang++"
250 #export CLAGS="$CFLAGS -arch $_build_arch"259 export CFLAGS="$CFLAGS -arch $_build_arch"
251 export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libstdc++"260 export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libstdc++"
261 CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018
252elif [ "$OSXMINORNO" -eq "9" ]; then262elif [ "$OSXMINORNO" -eq "9" ]; then
253 ## Apple's clang on Mavericks263 ## Apple's clang on Mavericks
254 TARGETNAME="MAVERICKS"264 TARGETNAME="MAVERICKS"
255 TARGETVERSION="10.9"265 TARGETVERSION="10.9"
256 export CC="/usr/bin/clang"266 export CC="/usr/bin/clang"
257 export CXX="/usr/bin/clang++"267 export CXX="/usr/bin/clang++"
258 #export CLAGS="$CFLAGS -arch $_build_arch"268 export CFLAGS="$CFLAGS -arch $_build_arch"
259 export CXXFLAGS="$CLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libc++"269 export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libc++"
270 CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018
260elif [ "$OSXMINORNO" -eq "10" ]; then271elif [ "$OSXMINORNO" -eq "10" ]; then
261 ## Apple's clang on Yosemite272 ## Apple's clang on Yosemite
262 TARGETNAME="YOSEMITE"273 TARGETNAME="YOSEMITE"
263 TARGETVERSION="10.10"274 TARGETVERSION="10.10"
264 export CC="/usr/bin/clang"275 export CC="/usr/bin/clang"
265 export CXX="/usr/bin/clang++"276 export CXX="/usr/bin/clang++"
266 #export CLAGS="$CFLAGS -arch $_build_arch"277 export CFLAGS="$CFLAGS -arch $_build_arch"
267 export CXXFLAGS="$CLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libc++"278 export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libc++"
268 echo "Note: Detected version of OS X: $TARGETNAME $OSXVERSION"279 CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018
269 echo " Inkscape packaging has not been tested on ${TARGETNAME}."280 echo "Note: Detected version of OS X: $TARGETNAME $OSXVERSION"
270else # if [ "$OSXMINORNO" -ge "11" ]; then281 echo " Inkscape packaging has not been tested on ${TARGETNAME}."
271 ## Apple's clang after Yosemite?282elif [ "$OSXMINORNO" -eq "11" ]; then
283 ## Apple's clang on El Capitan
284 TARGETNAME="EL_CAPITAN"
285 TARGETVERSION="10.11"
286 export CC="/usr/bin/clang"
287 export CXX="/usr/bin/clang++"
288 export CFLAGS="$CFLAGS -arch $_build_arch"
289 export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libc++"
290 CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018
291 echo "Note: Detected version of OS X: $TARGETNAME $OSXVERSION"
292 echo " Inkscape packaging has not been tested on ${TARGETNAME}."
293elif [ "$OSXMINORNO" -eq "12" ]; then
294 ## Apple's clang on Sierra
295 TARGETNAME="SIERRA"
296 TARGETVERSION="10.12"
297 export CC="/usr/bin/clang"
298 export CXX="/usr/bin/clang++"
299 export CFLAGS="$CFLAGS -arch $_build_arch"
300 export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libc++"
301 CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018
302 echo "Note: Detected version of OS X: $TARGETNAME $OSXVERSION"
303 echo " Inkscape packaging has not been tested on ${TARGETNAME}."
304else # if [ "$OSXMINORNO" -ge "13" ]; then
305 ## Apple's clang after Sierra?
272 TARGETNAME="UNKNOWN"306 TARGETNAME="UNKNOWN"
273 TARGETVERSION="10.XX"307 TARGETVERSION="10.XX"
274 export CC="/usr/bin/clang"308 export CC="/usr/bin/clang"
275 export CXX="/usr/bin/clang++"309 export CXX="/usr/bin/clang++"
276 #export CLAGS="$CFLAGS -arch $_build_arch"310 export CFLAGS="$CFLAGS -arch $_build_arch"
277 export CXXFLAGS="$CLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libc++"311 export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libc++"
312 CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018
278 echo "Note: Detected version of OS X: $TARGETNAME $OSXVERSION"313 echo "Note: Detected version of OS X: $TARGETNAME $OSXVERSION"
279 echo " Inkscape packaging has not been tested on this unknown version of OS X (${OSXVERSION})."314 echo " Inkscape packaging has not been tested on this unknown version of OS X (${OSXVERSION})."
280fi315fi
@@ -391,26 +426,21 @@
391 Libexif $(checkversion libexif libexif)426 Libexif $(checkversion libexif libexif)
392 JPEG $(checkversion jpeg jpeg)427 JPEG $(checkversion jpeg jpeg)
393 Icu $(checkversion icu-uc icu)428 Icu $(checkversion icu-uc icu)
394 LibWPD $(checkversion libwpd-0.9 libwpd)429 LibRevenge $(checkversion librevenge-0.0 librevenge)
395 LibWPG $(checkversion libwpg-0.2 libwpg)430 LibWPD $(checkversion libwpd-0.10 libwpd-0.10)
396 Libcdr $(checkversion libcdr-0.0 libcdr)431 LibWPG $(checkversion libwpg-0.3 libwpg-0.3)
397 Libvisio $(checkversion libvisio-0.0 libvisio)432 Libcdr $(checkversion libcdr-0.1 libcdr-0.1)
433 Libvisio $(checkversion libvisio-0.1 libvisio-0.1)
398 Potrace $(checkversion potrace potrace)434 Potrace $(checkversion potrace potrace)
399Included python modules:435Included python modules:
400 lxml $(checkversion py27-lxml py27-lxml)436 lxml $(checkversion py27-lxml py27-lxml)
401 numpy $(checkversion py27-numpy py27-numpy)437 numpy $(checkversion py27-numpy py27-numpy)
438 scour $(checkversion py27-scour py27-scour)
402 sk1libs $(checkversion py27-sk1libs py27-sk1libs)439 sk1libs $(checkversion py27-sk1libs py27-sk1libs)
403 UniConvertor $(checkversion py27-uniconvertor py27-uniconvertor)440 UniConvertor $(checkversion py27-uniconvertor py27-uniconvertor)
404 Pillow $(checkversion py27-Pillow py27-Pillow)441 Pillow $(checkversion py27-Pillow py27-Pillow)
405" > $INFOFILE442" > $INFOFILE
406443
407 ## TODO: Pending merge adds support for:
408 #LibRevenge $(checkversion librevenge-0.0 librevenge-devel)
409 #LibWPD $(checkversion libwpd-0.10 libwpd-10.0)
410 #LibWPG $(checkversion libwpg-0.3 libwpg-0.3)
411 #Libcdr $(checkversion libcdr-0.1 libcdr-0.1)
412 #Libvisio $(checkversion libvisio-0.1 libvisio-0.1)
413
414 ## TODO: add support for gtk-mac-integration (see osxmenu branch)444 ## TODO: add support for gtk-mac-integration (see osxmenu branch)
415 #Gtk-mac-integration $(checkversion gtk-mac-integration gtk-osx-application)445 #Gtk-mac-integration $(checkversion gtk-mac-integration gtk-osx-application)
416446
417447
=== modified file 'packaging/macosx/osx-dmg.sh'
--- packaging/macosx/osx-dmg.sh 2014-08-19 22:04:43 +0000
+++ packaging/macosx/osx-dmg.sh 2017-02-24 00:27:32 +0000
@@ -22,6 +22,8 @@
22# Modify the 'dmg_background.svg' file and generate a new 22# Modify the 'dmg_background.svg' file and generate a new
23# 'dmg_background.png' file.23# 'dmg_background.png' file.
24#24#
25# inkscape -z dmg_background.svg -i dmg_background -w 600 -h 400 -e dmg_background.png
26#
25# Update the AppleScript file 'dmg_set_style.scpt'.27# Update the AppleScript file 'dmg_set_style.scpt'.
26#28#
27# Run this script with the '-s' option. It will apply the29# Run this script with the '-s' option. It will apply the
2830
=== modified file 'packaging/macosx/ports/devel/inkscape-packaging/Portfile'
--- packaging/macosx/ports/devel/inkscape-packaging/Portfile 2017-02-22 17:57:56 +0000
+++ packaging/macosx/ports/devel/inkscape-packaging/Portfile 2017-02-24 00:27:32 +0000
@@ -55,9 +55,7 @@
55 port:potrace55 port:potrace
5656
57# ports for Inkscape.app57# ports for Inkscape.app
58depends_build-append port:gnome-icon-theme \58depends_build-append port:icon-naming-utils \
59 port:gnome-icon-theme-symbolic \
60 port:icon-naming-utils \
61 port:gnome-themes-standard \59 port:gnome-themes-standard \
62 port:gtk-engines2 \60 port:gtk-engines2 \
63 port:gtk2-murrine61 port:gtk2-murrine
@@ -65,6 +63,7 @@
65# ports for python extensions63# ports for python extensions
66depends_build-append port:py27-lxml \64depends_build-append port:py27-lxml \
67 port:py27-numpy \65 port:py27-numpy \
66 port:py27-scour \
68 port:py27-Pillow \67 port:py27-Pillow \
69 port:py27-uniconvertor \68 port:py27-uniconvertor \
70 port:py27-serial \69 port:py27-serial \
@@ -74,6 +73,7 @@
74 # ports for python extensions on Snow Leopard and Leopard73 # ports for python extensions on Snow Leopard and Leopard
75 depends_build-append port:py26-lxml \74 depends_build-append port:py26-lxml \
76 port:py26-numpy \75 port:py26-numpy \
76 port:py26-scour \
77 port:py26-Pillow \77 port:py26-Pillow \
78 port:py26-uniconvertor78 port:py26-uniconvertor
79}79}
8080
=== added directory 'packaging/macosx/ports/python/py-scour'
=== added file 'packaging/macosx/ports/python/py-scour/Portfile'
--- packaging/macosx/ports/python/py-scour/Portfile 1970-01-01 00:00:00 +0000
+++ packaging/macosx/ports/python/py-scour/Portfile 2017-02-24 00:27:32 +0000
@@ -0,0 +1,56 @@
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem 1.0
5PortGroup python 1.0
6PortGroup select 1.0
7
8set realname scour
9
10name py-scour
11version 0.35
12revision 100
13categories-append graphics
14license Apache-2
15platforms darwin
16supported_archs noarch
17
18maintainers nomaintainer
19
20description Scour SVG Optimizer
21long_description Scour is a SVG optimizer/sanitizer that can be used to \
22 produce SVGs for Web deployment.
23
24homepage http://pypi.python.org/pypi/${realname}/
25master_sites pypi:s/${realname}/
26
27distname scour-${version}
28
29checksums rmd160 fcb8c54d89cf0b015f7f081e7d4640a85226c85a \
30 sha256 7b33a0fc7ed578e7d1fcf4f68eb4c38cd080c243ea57537840062d37cd0d3c8e
31
32python.versions 27 34 35
33
34if {${name} ne ${subport}} {
35
36 depends_build-append port:py${python.version}-setuptools
37
38 depends_lib-append port:py${python.version}-six
39
40 depends_run-append port:${realname}_select
41
42 select.group ${realname}
43 select.file ${filespath}/${realname}${python.version}
44 notes "
45To make the Python ${python.branch} version of scour the one that is run\
46when you execute the commands without a version suffix, e.g. 'scour', run:
47
48port select --set ${select.group} [file tail ${select.file}]
49"
50
51 livecheck.type none
52} else {
53 livecheck.type regex
54 livecheck.url https://pypi.python.org/pypi/${realname}/json
55 livecheck.regex "${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}"
56}
057
=== added directory 'packaging/macosx/ports/python/py-scour/files'
=== added file 'packaging/macosx/ports/python/py-scour/files/scour26'
--- packaging/macosx/ports/python/py-scour/files/scour26 1970-01-01 00:00:00 +0000
+++ packaging/macosx/ports/python/py-scour/files/scour26 2017-02-24 00:27:32 +0000
@@ -0,0 +1,1 @@
1bin/scour-2.6
02
=== added file 'packaging/macosx/ports/python/py-scour/files/scour27'
--- packaging/macosx/ports/python/py-scour/files/scour27 1970-01-01 00:00:00 +0000
+++ packaging/macosx/ports/python/py-scour/files/scour27 2017-02-24 00:27:32 +0000
@@ -0,0 +1,1 @@
1bin/scour-2.7
02
=== added file 'packaging/macosx/ports/python/py-scour/files/scour34'
--- packaging/macosx/ports/python/py-scour/files/scour34 1970-01-01 00:00:00 +0000
+++ packaging/macosx/ports/python/py-scour/files/scour34 2017-02-24 00:27:32 +0000
@@ -0,0 +1,1 @@
1bin/scour-3.4
02
=== added file 'packaging/macosx/ports/python/py-scour/files/scour35'
--- packaging/macosx/ports/python/py-scour/files/scour35 1970-01-01 00:00:00 +0000
+++ packaging/macosx/ports/python/py-scour/files/scour35 2017-02-24 00:27:32 +0000
@@ -0,0 +1,1 @@
1bin/scour-3.5
02
=== modified file 'packaging/macosx/ports/python/py-sk1libs/Portfile'
--- packaging/macosx/ports/python/py-sk1libs/Portfile 2014-09-09 23:24:58 +0000
+++ packaging/macosx/ports/python/py-sk1libs/Portfile 2017-02-24 00:27:32 +0000
@@ -6,12 +6,12 @@
66
7name py-sk1libs7name py-sk1libs
8version 0.9.18version 0.9.1
9revision 1019revision 102
10license LGPL-210license LGPL-2
11maintainers nomaintainer11maintainers nomaintainer
12categories python graphics12categories python graphics
13platforms darwin13platforms darwin
14homepage http://sk1project.org/14homepage http://sk1project.net/
1515
16description Set of python non-GUI extensions for sK1 Project16description Set of python non-GUI extensions for sK1 Project
1717
@@ -23,7 +23,7 @@
23distname sk1libs-${version}23distname sk1libs-${version}
24# MacPorts does not properly support URLs with a get parameter.24# MacPorts does not properly support URLs with a get parameter.
25# Workaround for this bug: https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams25# Workaround for this bug: https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams
26master_sites http://sk1project.org/dc.php?target=${distfiles}&dummy=26master_sites http://sk1project.net/dc.php?target=${distfiles}&dummy=
2727
28checksums md5 e18088bbc8a105e7535a96f40b80f284 \28checksums md5 e18088bbc8a105e7535a96f40b80f284 \
29 sha1 dd948558128bb6547b1f277087bf3066104912da \29 sha1 dd948558128bb6547b1f277087bf3066104912da \
3030
=== modified file 'packaging/macosx/ports/python/py-uniconvertor/Portfile'
--- packaging/macosx/ports/python/py-uniconvertor/Portfile 2014-08-21 13:44:13 +0000
+++ packaging/macosx/ports/python/py-uniconvertor/Portfile 2017-02-24 00:27:32 +0000
@@ -6,12 +6,12 @@
66
7name py-uniconvertor7name py-uniconvertor
8version 1.1.58version 1.1.5
9revision 1009revision 101
10license LGPL-2 GPL-210license LGPL-2 GPL-2
11maintainers nomaintainer11maintainers nomaintainer
12categories python graphics 12categories python graphics
13platforms darwin13platforms darwin
14homepage http://sk1project.org/modules.php?name=Products&product=uniconvertor14homepage http://sk1project.net/modules.php?name=Products&product=uniconvertor
1515
16description universal vector graphics translator.16description universal vector graphics translator.
1717
@@ -26,7 +26,7 @@
26distname uniconvertor-${version}26distname uniconvertor-${version}
27# MacPorts does not properly support URLs with a get parameter.27# MacPorts does not properly support URLs with a get parameter.
28# Workaround for this bug: https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams28# Workaround for this bug: https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams
29master_sites http://sk1project.org/dc.php?target=${distfiles}&dummy=29master_sites http://sk1project.net/dc.php?target=${distfiles}&dummy=
3030
31checksums md5 d1272315a58304ece2ff588834e23f72 \31checksums md5 d1272315a58304ece2ff588834e23f72 \
32 sha1 51ec7c4487048c3357ed95cdb4ab3524018a2c9e \32 sha1 51ec7c4487048c3357ed95cdb4ab3524018a2c9e \
@@ -42,5 +42,5 @@
42} 42}
4343
44livecheck.type regex44livecheck.type regex
45livecheck.url http://sk1project.org/modules.php?name=Products&product=uniconvertor&op=download45livecheck.url http://sk1project.net/modules.php?name=Products&product=uniconvertor&op=download
46livecheck.regex "uniconvertor-(\\d+(?:\\.\\d+)*)${extract.suffix}"46livecheck.regex "uniconvertor-(\\d+(?:\\.\\d+)*)${extract.suffix}"
4747
=== added directory 'packaging/macosx/ports/python/scour_select'
=== added file 'packaging/macosx/ports/python/scour_select/Portfile'
--- packaging/macosx/ports/python/scour_select/Portfile 1970-01-01 00:00:00 +0000
+++ packaging/macosx/ports/python/scour_select/Portfile 2017-02-24 00:27:32 +0000
@@ -0,0 +1,35 @@
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem 1.0
5PortGroup select 1.0
6
7name scour_select
8version 0.1
9revision 0
10categories python
11license BSD
12platforms darwin
13supported_archs noarch
14
15maintainers nomaintainer
16
17description common files for selecting default scour version
18long_description \
19 This port installs files that allow 'port select' to be used to \
20 create links to the preferred default version of scour.
21
22homepage http://www.macports.org/
23
24distfiles
25
26use_configure no
27
28build {}
29
30destroot {
31 select::install scour ${filespath}/base
32 select::install scour ${filespath}/none
33}
34
35livecheck.type none
036
=== added directory 'packaging/macosx/ports/python/scour_select/files'
=== added file 'packaging/macosx/ports/python/scour_select/files/base'
--- packaging/macosx/ports/python/scour_select/files/base 1970-01-01 00:00:00 +0000
+++ packaging/macosx/ports/python/scour_select/files/base 2017-02-24 00:27:32 +0000
@@ -0,0 +1,1 @@
1bin/scour
02
=== added file 'packaging/macosx/ports/python/scour_select/files/none'
--- packaging/macosx/ports/python/scour_select/files/none 1970-01-01 00:00:00 +0000
+++ packaging/macosx/ports/python/scour_select/files/none 2017-02-24 00:27:32 +0000
@@ -0,0 +1,1 @@
1-
02
=== added directory 'packaging/macosx/ports/textproc'
=== added directory 'packaging/macosx/ports/textproc/help2man'
=== added file 'packaging/macosx/ports/textproc/help2man/Portfile'
--- packaging/macosx/ports/textproc/help2man/Portfile 1970-01-01 00:00:00 +0000
+++ packaging/macosx/ports/textproc/help2man/Portfile 2017-02-24 00:27:32 +0000
@@ -0,0 +1,39 @@
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: $
3
4PortSystem 1.0
5
6name help2man
7version 1.0
8revision 1
9
10categories textproc
11platforms darwin
12license GPL-2
13supported_archs noarch
14
15maintainers nomaintainer
16
17description Satisfy help2man dependency
18long_description ${description}
19
20homepage http://inkscape.org
21
22# this is a metaport - no fetch, configure and build phases
23master_sites
24distfiles
25use_configure no
26build {}
27destroot {
28 # Create a dummy file so the port can be successfully activated
29 xinstall -d ${destroot}${prefix}/share/doc/${name}
30 set docfile [open ${destroot}${prefix}/share/doc/${name}/README.txt "w"]
31 puts $docfile "Dummy help2man package installation.\n"
32 close $docfile
33}
34
35# variants
36universal_variant no
37
38# livecheck
39livecheck.type none
040
=== modified file 'src/menus-skeleton.h'
--- src/menus-skeleton.h 2016-04-15 14:39:49 +0000
+++ src/menus-skeleton.h 2017-02-24 00:27:32 +0000
@@ -27,8 +27,10 @@
27" <separator/>\n"27" <separator/>\n"
28" <verb verb-id=\"FileImport\" />\n"28" <verb verb-id=\"FileImport\" />\n"
29" <verb verb-id=\"DialogExport\" />\n"29" <verb verb-id=\"DialogExport\" />\n"
30#if !defined(ENABLE_OSX_APP_LOCATIONS)
30" <verb verb-id=\"FileImportFromOCAL\" />\n"31" <verb verb-id=\"FileImportFromOCAL\" />\n"
31//" <verb verb-id=\"FileExportToOCAL\" />\n"32//" <verb verb-id=\"FileExportToOCAL\" />\n"
33#endif
32" <separator/>\n"34" <separator/>\n"
33" <verb verb-id=\"FilePrint\" />\n"35" <verb verb-id=\"FilePrint\" />\n"
34" <separator/>\n"36" <separator/>\n"

Subscribers

People subscribed via source and target branches