Merge lp:~tghs/inkscape/0.92.x_mac_packaging into lp:inkscape/0.92.x
- 0.92.x_mac_packaging
- Merge into 0.92.x-bzr
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 | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
su_v (community) | Approve | ||
Review via email: mp+318170@code.launchpad.net |
Commit message
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://
* http://
* http://
Bryce Harrington (bryce) wrote : | # |
su_v (suv-lp) : | # |
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:/
https:/
@inkscape.dev: apart from updates for the en_GB translation, patches contributed by Tim (tghs) had been committed in r15395, r15446, r15487.
Tim Sheridan (tghs) wrote : | # |
su_v: Sure, I've applied to the group. I'll merge this when I'm added.
Preview Diff
1 | === modified file 'CMakeLists.txt' | |||
2 | --- CMakeLists.txt 2017-02-16 20:37:27 +0000 | |||
3 | +++ CMakeLists.txt 2017-02-24 00:27:32 +0000 | |||
4 | @@ -135,9 +135,12 @@ | |||
5 | 135 | add_custom_target(dist | 135 | add_custom_target(dist |
6 | 136 | COMMAND sed -i "s/unknown/r${INKSCAPE_REVISION}/" CMakeScripts/inkscape-version.cmake | 136 | COMMAND sed -i "s/unknown/r${INKSCAPE_REVISION}/" CMakeScripts/inkscape-version.cmake |
7 | 137 | && sed -i "s/custom//" CMakeScripts/inkscape-version.cmake | 137 | && sed -i "s/custom//" CMakeScripts/inkscape-version.cmake |
8 | 138 | && sed -i "/VER_BZRREV=/d" src/Makefile.am | ||
9 | 139 | && sed -i "s/..VER_BZRREV/ r${INKSCAPE_REVISION}/" src/Makefile.am | ||
10 | 138 | && bzr export --uncommitted --root=${INKSCAPE_DIST_PREFIX} | 140 | && bzr export --uncommitted --root=${INKSCAPE_DIST_PREFIX} |
11 | 139 | "${CMAKE_BINARY_DIR}/${INKSCAPE_DIST_PREFIX}.tar.bz2" | 141 | "${CMAKE_BINARY_DIR}/${INKSCAPE_DIST_PREFIX}.tar.bz2" |
12 | 140 | && bzr revert ${CMAKE_SOURCE_DIR}/CMakeScripts/inkscape-version.cmake | 142 | && bzr revert ${CMAKE_SOURCE_DIR}/CMakeScripts/inkscape-version.cmake |
13 | 143 | && bzr revert ${CMAKE_SOURCE_DIR}/src/Makefile.am | ||
14 | 141 | WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}") | 144 | WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}") |
15 | 142 | 145 | ||
16 | 143 | # ----------------------------------------------------------------------------- | 146 | # ----------------------------------------------------------------------------- |
17 | 144 | 147 | ||
18 | === modified file 'Info.plist.in' | |||
19 | --- Info.plist.in 2014-12-31 14:59:16 +0000 | |||
20 | +++ Info.plist.in 2017-02-24 00:27:32 +0000 | |||
21 | @@ -7,7 +7,7 @@ | |||
22 | 7 | <key>CFBundleExecutable</key> | 7 | <key>CFBundleExecutable</key> |
23 | 8 | <string>Inkscape</string> | 8 | <string>Inkscape</string> |
24 | 9 | <key>CFBundleGetInfoString</key> | 9 | <key>CFBundleGetInfoString</key> |
26 | 10 | <string>@VERSION@, Copyright 2003-2014 Inkscape Developers</string> | 10 | <string>@VERSION@, Copyright 2003-2017 Inkscape Developers</string> |
27 | 11 | <key>CFBundleIconFile</key> | 11 | <key>CFBundleIconFile</key> |
28 | 12 | <string>Inkscape.icns</string> | 12 | <string>Inkscape.icns</string> |
29 | 13 | <key>CFBundleIdentifier</key> | 13 | <key>CFBundleIdentifier</key> |
30 | @@ -550,6 +550,6 @@ | |||
31 | 550 | <key>LSMinimumSystemVersion</key> | 550 | <key>LSMinimumSystemVersion</key> |
32 | 551 | <string>10.5</string> | 551 | <string>10.5</string> |
33 | 552 | <key>NSHumanReadableCopyright</key> | 552 | <key>NSHumanReadableCopyright</key> |
35 | 553 | <string>Copyright 2014 Inkscape Developers, GNU General Public License.</string> | 553 | <string>Copyright 2003-2017 Inkscape Developers, GNU General Public License.</string> |
36 | 554 | </dict> | 554 | </dict> |
37 | 555 | </plist> | 555 | </plist> |
38 | 556 | 556 | ||
39 | === modified file 'packaging/macosx/README.txt' | |||
40 | --- packaging/macosx/README.txt 2015-01-29 00:13:59 +0000 | |||
41 | +++ packaging/macosx/README.txt 2017-02-24 00:27:32 +0000 | |||
42 | @@ -20,12 +20,16 @@ | |||
43 | 20 | 20 | ||
44 | 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" |
45 | 22 | 22 | ||
47 | 23 | 6) install required dependencies: | 23 | 6) optional: to force an i386 build on x86_64 machine: |
48 | 24 | |||
49 | 25 | $ sudo sed -e '/^#build_arch/i\'$'\nbuild_arch i386' -i "" "$MP_PREFIX/etc/macports/macports.conf" | ||
50 | 26 | |||
51 | 27 | 7) install required dependencies: | ||
52 | 24 | 28 | ||
53 | 25 | $ sudo port install inkscape-packaging | 29 | $ sudo port install inkscape-packaging |
54 | 26 | 30 | ||
56 | 27 | 7) compile inkscape, create app bundle and DMG: | 31 | 8) compile inkscape, create app bundle and DMG (if building for i386 on x86_64 machine, add at the beginning ARCH="i386"): |
57 | 28 | 32 | ||
58 | 29 | $ LIBPREFIX="$MP_PREFIX" ./osx-build.sh a c b -j 5 i p -s d | 33 | $ LIBPREFIX="$MP_PREFIX" ./osx-build.sh a c b -j 5 i p -s d |
59 | 30 | 34 | ||
61 | 31 | 8) upload the DMG. | 35 | 9) upload the DMG. |
62 | 32 | 36 | ||
63 | === modified file 'packaging/macosx/Resources/bin/inkscape' | |||
64 | --- packaging/macosx/Resources/bin/inkscape 2015-11-02 10:14:45 +0000 | |||
65 | +++ packaging/macosx/Resources/bin/inkscape 2017-02-24 00:27:32 +0000 | |||
66 | @@ -95,6 +95,10 @@ | |||
67 | 95 | export ASPELL_CONF="prefix $TOP;" | 95 | export ASPELL_CONF="prefix $TOP;" |
68 | 96 | export POPPLER_DATADIR="$TOP/share/poppler" | 96 | export POPPLER_DATADIR="$TOP/share/poppler" |
69 | 97 | 97 | ||
70 | 98 | # Using fontconfig backend for slightly crisper UI text rendering | ||
71 | 99 | export PANGOCAIRO_BACKEND="fontconfig" | ||
72 | 100 | #export PANGOCAIRO_BACKEND="coretext" | ||
73 | 101 | |||
74 | 98 | # no DBUS for now | 102 | # no DBUS for now |
75 | 99 | unset DBUS_LAUNCHD_SESSION_BUS_SOCKET | 103 | unset DBUS_LAUNCHD_SESSION_BUS_SOCKET |
76 | 100 | unset DBUS_SESSION_BUS_ADDRESS | 104 | unset DBUS_SESSION_BUS_ADDRESS |
77 | @@ -140,7 +144,7 @@ | |||
78 | 140 | export LANG="en_US.UTF-8" | 144 | export LANG="en_US.UTF-8" |
79 | 141 | else | 145 | else |
80 | 142 | tmpLANG="`grep \"\`echo $LANGSTR\`_\" /usr/share/locale/locale.alias | \ | 146 | tmpLANG="`grep \"\`echo $LANGSTR\`_\" /usr/share/locale/locale.alias | \ |
82 | 143 | tail -n1 | sed 's/\./ /' | awk '{print $2}'`" | 147 | tail -n1 | awk '{print $2}' | sed 's/\./ /' | awk '{print $1}'`" |
83 | 144 | if [ "x$tmpLANG" == "x" ] | 148 | if [ "x$tmpLANG" == "x" ] |
84 | 145 | then | 149 | then |
85 | 146 | # override broken script | 150 | # override broken script |
86 | 147 | 151 | ||
87 | === modified file 'packaging/macosx/Resources/etc/fonts/fonts.conf' | |||
88 | --- packaging/macosx/Resources/etc/fonts/fonts.conf 2014-08-20 01:29:43 +0000 | |||
89 | +++ packaging/macosx/Resources/etc/fonts/fonts.conf 2017-02-24 00:27:32 +0000 | |||
90 | @@ -83,72 +83,6 @@ | |||
91 | 83 | 83 | ||
92 | 84 | <config> | 84 | <config> |
93 | 85 | <!-- | 85 | <!-- |
94 | 86 | These are the default Unicode chars that are expected to be blank | ||
95 | 87 | in fonts. All other blank chars are assumed to be broken and | ||
96 | 88 | won't appear in the resulting charsets | ||
97 | 89 | --> | ||
98 | 90 | <blank> | ||
99 | 91 | <int>0x0020</int> <!-- SPACE --> | ||
100 | 92 | <int>0x00A0</int> <!-- NO-BREAK SPACE --> | ||
101 | 93 | <int>0x00AD</int> <!-- SOFT HYPHEN --> | ||
102 | 94 | <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER --> | ||
103 | 95 | <int>0x0600</int> <!-- ARABIC NUMBER SIGN --> | ||
104 | 96 | <int>0x0601</int> <!-- ARABIC SIGN SANAH --> | ||
105 | 97 | <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER --> | ||
106 | 98 | <int>0x0603</int> <!-- ARABIC SIGN SAFHA --> | ||
107 | 99 | <int>0x06DD</int> <!-- ARABIC END OF AYAH --> | ||
108 | 100 | <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK --> | ||
109 | 101 | <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER --> | ||
110 | 102 | <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER --> | ||
111 | 103 | <int>0x1680</int> <!-- OGHAM SPACE MARK --> | ||
112 | 104 | <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ --> | ||
113 | 105 | <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA --> | ||
114 | 106 | <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR --> | ||
115 | 107 | <int>0x2000</int> <!-- EN QUAD --> | ||
116 | 108 | <int>0x2001</int> <!-- EM QUAD --> | ||
117 | 109 | <int>0x2002</int> <!-- EN SPACE --> | ||
118 | 110 | <int>0x2003</int> <!-- EM SPACE --> | ||
119 | 111 | <int>0x2004</int> <!-- THREE-PER-EM SPACE --> | ||
120 | 112 | <int>0x2005</int> <!-- FOUR-PER-EM SPACE --> | ||
121 | 113 | <int>0x2006</int> <!-- SIX-PER-EM SPACE --> | ||
122 | 114 | <int>0x2007</int> <!-- FIGURE SPACE --> | ||
123 | 115 | <int>0x2008</int> <!-- PUNCTUATION SPACE --> | ||
124 | 116 | <int>0x2009</int> <!-- THIN SPACE --> | ||
125 | 117 | <int>0x200A</int> <!-- HAIR SPACE --> | ||
126 | 118 | <int>0x200B</int> <!-- ZERO WIDTH SPACE --> | ||
127 | 119 | <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER --> | ||
128 | 120 | <int>0x200D</int> <!-- ZERO WIDTH JOINER --> | ||
129 | 121 | <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK --> | ||
130 | 122 | <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK --> | ||
131 | 123 | <int>0x2028</int> <!-- LINE SEPARATOR --> | ||
132 | 124 | <int>0x2029</int> <!-- PARAGRAPH SEPARATOR --> | ||
133 | 125 | <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING --> | ||
134 | 126 | <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING --> | ||
135 | 127 | <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING --> | ||
136 | 128 | <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE --> | ||
137 | 129 | <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE --> | ||
138 | 130 | <int>0x202F</int> <!-- NARROW NO-BREAK SPACE --> | ||
139 | 131 | <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE --> | ||
140 | 132 | <int>0x2060</int> <!-- WORD JOINER --> | ||
141 | 133 | <int>0x2061</int> <!-- FUNCTION APPLICATION --> | ||
142 | 134 | <int>0x2062</int> <!-- INVISIBLE TIMES --> | ||
143 | 135 | <int>0x2063</int> <!-- INVISIBLE SEPARATOR --> | ||
144 | 136 | <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING --> | ||
145 | 137 | <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING --> | ||
146 | 138 | <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING --> | ||
147 | 139 | <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING --> | ||
148 | 140 | <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES --> | ||
149 | 141 | <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES --> | ||
150 | 142 | <int>0x2800</int> <!-- BRAILLE PATTERN BLANK --> | ||
151 | 143 | <int>0x3000</int> <!-- IDEOGRAPHIC SPACE --> | ||
152 | 144 | <int>0x3164</int> <!-- HANGUL FILLER --> | ||
153 | 145 | <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE --> | ||
154 | 146 | <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER --> | ||
155 | 147 | <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR --> | ||
156 | 148 | <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR --> | ||
157 | 149 | <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR --> | ||
158 | 150 | </blank> | ||
159 | 151 | <!-- | ||
160 | 152 | Rescan configuration every 30 seconds when FcFontSetList is called | 86 | Rescan configuration every 30 seconds when FcFontSetList is called |
161 | 153 | --> | 87 | --> |
162 | 154 | <rescan> | 88 | <rescan> |
163 | 155 | 89 | ||
164 | === modified file 'packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh' | |||
165 | --- packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh 2015-01-10 16:06:20 +0000 | |||
166 | +++ packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh 2017-02-24 00:27:32 +0000 | |||
167 | @@ -143,7 +143,7 @@ | |||
168 | 143 | export LANG="en_US.UTF-8" | 143 | export LANG="en_US.UTF-8" |
169 | 144 | else | 144 | else |
170 | 145 | tmpLANG="`grep \"\`echo $LANGSTR\`_\" /usr/share/locale/locale.alias | \ | 145 | tmpLANG="`grep \"\`echo $LANGSTR\`_\" /usr/share/locale/locale.alias | \ |
172 | 146 | tail -n1 | sed 's/\./ /' | awk '{print $2}'`" | 146 | tail -n1 | awk '{print $2}' | sed 's/\./ /' | awk '{print $1}'`" |
173 | 147 | if [ "x$tmpLANG" == "x" ] | 147 | if [ "x$tmpLANG" == "x" ] |
174 | 148 | then | 148 | then |
175 | 149 | # override broken script | 149 | # override broken script |
176 | 150 | 150 | ||
177 | === added directory 'packaging/macosx/app_patches' | |||
178 | === added file 'packaging/macosx/app_patches/fix-GIMP-sliders-in-Inkscape-app-v3.patch' | |||
179 | --- packaging/macosx/app_patches/fix-GIMP-sliders-in-Inkscape-app-v3.patch 1970-01-01 00:00:00 +0000 | |||
180 | +++ packaging/macosx/app_patches/fix-GIMP-sliders-in-Inkscape-app-v3.patch 2017-02-24 00:27:32 +0000 | |||
181 | @@ -0,0 +1,31 @@ | |||
182 | 1 | --- Contents/Resources/etc/gtk-2.0/gtkrc-orig 2017-02-08 07:33:39.000000000 +0100 | ||
183 | 2 | +++ Contents/Resources/etc/gtk-2.0/gtkrc 2017-02-08 21:44:57.000000000 +0100 | ||
184 | 3 | @@ -16,8 +16,4 @@ | ||
185 | 4 | # use OS X default PDF viewer for print preview | ||
186 | 5 | gtk-print-preview-command="open -a /Applications/Preview.app %f" | ||
187 | 6 | |||
188 | 7 | -# fix Adwaita theme for Inkscape's GimpSpinScale widgets | ||
189 | 8 | -style "spinbutton" {} | ||
190 | 9 | -widget_class "*GimpSpinScale*" style "spinbutton" | ||
191 | 10 | - | ||
192 | 11 | # eof | ||
193 | 12 | --- Contents/Resources/share/themes/Adwaita/gtk-2.0/apps-orig.rc 2017-02-07 13:40:44.000000000 +0100 | ||
194 | 13 | +++ Contents/Resources/share/themes/Adwaita/gtk-2.0/apps.rc 2017-02-08 21:45:08.000000000 +0100 | ||
195 | 14 | @@ -5,6 +5,7 @@ | ||
196 | 15 | # the theme or stuff that is supposed to look different, like panels. | ||
197 | 16 | |||
198 | 17 | # TODO: This could really look nicer | ||
199 | 18 | +# TODO: fix for Inkscape | ||
200 | 19 | style "gimp_spin_scale" { | ||
201 | 20 | |||
202 | 21 | # Spin background | ||
203 | 22 | @@ -93,7 +94,8 @@ | ||
204 | 23 | } | ||
205 | 24 | |||
206 | 25 | # Disable spin button assets for GimpSpinScale | ||
207 | 26 | -class "GimpSpinScale" style "gimp_spin_scale" | ||
208 | 27 | +# TODO: fix for Inkscape | ||
209 | 28 | +#class "GimpSpinScale" style "gimp_spin_scale" | ||
210 | 29 | |||
211 | 30 | # Chromium lets us define some colours and settings for better integration | ||
212 | 31 | class "ChromeGtkFrame" style "chrome_gtk_frame" | ||
213 | 0 | 32 | ||
214 | === added file 'packaging/macosx/app_patches/fix-URL-links-in-Inkscape-app-v1.patch' | |||
215 | --- packaging/macosx/app_patches/fix-URL-links-in-Inkscape-app-v1.patch 1970-01-01 00:00:00 +0000 | |||
216 | +++ packaging/macosx/app_patches/fix-URL-links-in-Inkscape-app-v1.patch 2017-02-24 00:27:32 +0000 | |||
217 | @@ -0,0 +1,22 @@ | |||
218 | 1 | diff -u -N Contents/Resources/share/applications.orig/mimeapps.list Contents/Resources/share/applications/mimeapps.list | ||
219 | 2 | --- Contents/Resources/share/applications.orig/mimeapps.list 1970-01-01 01:00:00.000000000 +0100 | ||
220 | 3 | +++ Contents/Resources/share/applications/mimeapps.list 2017-02-14 08:46:35.000000000 +0100 | ||
221 | 4 | @@ -0,0 +1,3 @@ | ||
222 | 5 | +[Default Applications] | ||
223 | 6 | +x-scheme-handler/http=open.desktop | ||
224 | 7 | +x-scheme-handler/https=open.desktop | ||
225 | 8 | diff -u -N Contents/Resources/share/applications.orig/open.desktop Contents/Resources/share/applications/open.desktop | ||
226 | 9 | --- Contents/Resources/share/applications.orig/open.desktop 1970-01-01 01:00:00.000000000 +0100 | ||
227 | 10 | +++ Contents/Resources/share/applications/open.desktop 2017-02-14 08:46:40.000000000 +0100 | ||
228 | 11 | @@ -0,0 +1,11 @@ | ||
229 | 12 | +[Desktop Entry] | ||
230 | 13 | +Version=1.0 | ||
231 | 14 | +Name=Open | ||
232 | 15 | +GenericName=Open | ||
233 | 16 | +Comment=Open wih registered native application | ||
234 | 17 | +Exec=open %u | ||
235 | 18 | +Icon=None | ||
236 | 19 | +StartupNotify=false | ||
237 | 20 | +Terminal=false | ||
238 | 21 | +Type=Application | ||
239 | 22 | +Categories=Utility; | ||
240 | 0 | 23 | ||
241 | === added file 'packaging/macosx/app_patches/fix-borderless-menus-in-Inkscape-app-v1.patch' | |||
242 | --- packaging/macosx/app_patches/fix-borderless-menus-in-Inkscape-app-v1.patch 1970-01-01 00:00:00 +0000 | |||
243 | +++ packaging/macosx/app_patches/fix-borderless-menus-in-Inkscape-app-v1.patch 2017-02-24 00:27:32 +0000 | |||
244 | @@ -0,0 +1,35 @@ | |||
245 | 1 | --- Contents/Resources/share/themes/Adwaita/gtk-2.0/main.rc.orig 2017-02-07 13:40:44.000000000 +0100 | ||
246 | 2 | +++ Contents/Resources/share/themes/Adwaita/gtk-2.0/main.rc 2017-02-10 15:50:57.000000000 +0100 | ||
247 | 3 | @@ -1533,6 +1533,24 @@ | ||
248 | 4 | |||
249 | 5 | } | ||
250 | 6 | |||
251 | 7 | +style "menu_framed_box" { | ||
252 | 8 | + | ||
253 | 9 | + bg[NORMAL] = @base_color | ||
254 | 10 | + bg[INSENSITIVE] = @base_color | ||
255 | 11 | + bg[PRELIGHT] = @base_color | ||
256 | 12 | + | ||
257 | 13 | + engine "pixmap" | ||
258 | 14 | + { | ||
259 | 15 | + image | ||
260 | 16 | + { | ||
261 | 17 | + function = BOX | ||
262 | 18 | + file = "assets/menu-border.png" | ||
263 | 19 | + border = { 1, 1, 1, 1 } | ||
264 | 20 | + stretch = TRUE | ||
265 | 21 | + } | ||
266 | 22 | + } | ||
267 | 23 | + } | ||
268 | 24 | + | ||
269 | 25 | style "menu_item" { | ||
270 | 26 | |||
271 | 27 | xthickness = 3 | ||
272 | 28 | @@ -2502,6 +2520,7 @@ | ||
273 | 29 | class "GtkTextView" style "textview" | ||
274 | 30 | |||
275 | 31 | # Menu and menubar items | ||
276 | 32 | +widget_class "*<GtkMenu>" style "menu_framed_box" | ||
277 | 33 | widget_class "*<GtkMenuItem>*" style "menu_item" | ||
278 | 34 | widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item" | ||
279 | 35 | widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item" | ||
280 | 0 | 36 | ||
281 | === added file 'packaging/macosx/app_patches/fix-cropped-button-images-in-Inkscape-app-v1.patch' | |||
282 | --- packaging/macosx/app_patches/fix-cropped-button-images-in-Inkscape-app-v1.patch 1970-01-01 00:00:00 +0000 | |||
283 | +++ packaging/macosx/app_patches/fix-cropped-button-images-in-Inkscape-app-v1.patch 2017-02-24 00:27:32 +0000 | |||
284 | @@ -0,0 +1,36 @@ | |||
285 | 1 | --- Contents/Resources/share/themes/Adwaita/gtk-2.0/hacks.rc.orig 2017-02-16 00:04:50.000000000 +0100 | ||
286 | 2 | +++ Contents/Resources/share/themes/Adwaita/gtk-2.0/hacks.rc 2017-02-16 19:17:47.000000000 +0100 | ||
287 | 3 | @@ -20,6 +20,18 @@ | ||
288 | 4 | bg[ACTIVE] = @insensitive_bg_color | ||
289 | 5 | } | ||
290 | 6 | |||
291 | 7 | +style "inkscape_toolbox_button" { | ||
292 | 8 | + xthickness = 3 | ||
293 | 9 | + ythickness = 3 | ||
294 | 10 | + GtkButton::inner-border = {0, 0, 0, 0} | ||
295 | 11 | +} | ||
296 | 12 | + | ||
297 | 13 | +style "inkscape_canvas_button" { | ||
298 | 14 | + xthickness = 0 | ||
299 | 15 | + ythickness = 0 | ||
300 | 16 | + GtkButton::inner-border = {0, 0, 0, 0} | ||
301 | 17 | +} | ||
302 | 18 | + | ||
303 | 19 | # Vim puts an eventbox between the tab and the label and colours it, | ||
304 | 20 | # we need to handle that | ||
305 | 21 | widget "vim-main-window*GtkNotebook.GtkEventBox" style "vim_notebook" | ||
306 | 22 | @@ -34,3 +46,14 @@ | ||
307 | 23 | |||
308 | 24 | # Hack to be able to match widgets in LibreOffice | ||
309 | 25 | class "GtkWindow" style "toplevel_hack" | ||
310 | 26 | + | ||
311 | 27 | +# Inkscape toolbox buttons have cropped icons. | ||
312 | 28 | +# Use zero inner border and increased padding to avoid cropping | ||
313 | 29 | +widget "*.SPDesktopWidget.*.ToolToolbar.Tool*.SPButton" style "inkscape_toolbox_button" | ||
314 | 30 | + | ||
315 | 31 | +# Inkscape buttons in canvas corners have cropped icons. | ||
316 | 32 | +# use zero inner border and zero padding to avoid cropping | ||
317 | 33 | +widget "*.SPDesktopWidget.GtkVBox.GtkHBox.GtkTable.gtkmm__GtkHPaned.GtkTable.GtkVBox.StickyZoom" style "inkscape_canvas_button" | ||
318 | 34 | +widget "*.SPDesktopWidget.GtkVBox.GtkHBox.GtkTable.gtkmm__GtkHPaned.GtkTable.CMS_Adjust" style "inkscape_canvas_button" | ||
319 | 35 | +# Button to lock/unlock guides has no widget name | ||
320 | 36 | +widget "*.SPDesktopWidget.GtkVBox.GtkHBox.GtkTable.gtkmm__GtkHPaned.GtkTable.SPButton" style "inkscape_canvas_button" | ||
321 | 0 | 37 | ||
322 | === modified file 'packaging/macosx/dmg_background.png' | |||
323 | 1 | Binary 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 | 38 | Binary 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 |
324 | === modified file 'packaging/macosx/dmg_background.svg' | |||
325 | --- packaging/macosx/dmg_background.svg 2014-11-08 03:30:57 +0000 | |||
326 | +++ packaging/macosx/dmg_background.svg 2017-02-24 00:27:32 +0000 | |||
327 | @@ -994,7 +994,7 @@ | |||
328 | 994 | sodipodi:role="line" | 994 | sodipodi:role="line" |
329 | 995 | id="tspan4806" | 995 | id="tspan4806" |
330 | 996 | x="459" | 996 | x="459" |
332 | 997 | y="141.78999">Inkscape 0.91+devel</tspan></text> | 997 | y="141.78999">Inkscape 0.92</tspan></text> |
333 | 998 | <path | 998 | <path |
334 | 999 | sodipodi:nodetypes="cccccccc" | 999 | sodipodi:nodetypes="cccccccc" |
335 | 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" |
336 | @@ -1223,7 +1223,7 @@ | |||
337 | 1223 | id="text4431" | 1223 | id="text4431" |
338 | 1224 | y="56.595001" | 1224 | y="56.595001" |
339 | 1225 | x="113.27875" | 1225 | x="113.27875" |
341 | 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" |
342 | 1227 | xml:space="preserve"><tspan | 1227 | xml:space="preserve"><tspan |
343 | 1228 | y="56.595001" | 1228 | y="56.595001" |
344 | 1229 | x="113.27875" | 1229 | x="113.27875" |
345 | @@ -1233,8 +1233,8 @@ | |||
346 | 1233 | sodipodi:linespacing="125%" | 1233 | sodipodi:linespacing="125%" |
347 | 1234 | id="text4443" | 1234 | id="text4443" |
348 | 1235 | y="84.804001" | 1235 | y="84.804001" |
351 | 1236 | x="144.53799" | 1236 | x="134.53799" |
352 | 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" |
353 | 1238 | xml:space="preserve"><tspan | 1238 | xml:space="preserve"><tspan |
354 | 1239 | y="84.804001" | 1239 | y="84.804001" |
355 | 1240 | x="144.53799" | 1240 | x="144.53799" |
356 | 1241 | 1241 | ||
357 | === modified file 'packaging/macosx/osx-app.sh' | |||
358 | --- packaging/macosx/osx-app.sh 2017-02-22 17:57:56 +0000 | |||
359 | +++ packaging/macosx/osx-app.sh 2017-02-24 00:27:32 +0000 | |||
360 | @@ -286,20 +286,25 @@ | |||
361 | 286 | OSXMINORVER="$(cut -d. -f 1,2 <<< $OSXVERSION)" | 286 | OSXMINORVER="$(cut -d. -f 1,2 <<< $OSXVERSION)" |
362 | 287 | OSXMINORNO="$(cut -d. -f2 <<< $OSXVERSION)" | 287 | OSXMINORNO="$(cut -d. -f2 <<< $OSXVERSION)" |
363 | 288 | OSXPOINTNO="$(cut -d. -f3 <<< $OSXVERSION)" | 288 | OSXPOINTNO="$(cut -d. -f3 <<< $OSXVERSION)" |
365 | 289 | ARCH="$(uname -a | awk '{print $NF;}')" | 289 | HOSTARCH="$(uname -a | awk '{print $NF;}')" |
366 | 290 | 290 | ||
374 | 291 | # guess default build_arch (MacPorts) | 291 | if [ "$ARCH" != "" ]; then |
375 | 292 | if [ "$OSXMINORNO" -ge "6" ]; then | 292 | # explicit build_arch |
376 | 293 | if [ "$(sysctl -n hw.cpu64bit_capable 2>/dev/null)" = "1" ]; then | 293 | _build_arch="$ARCH" |
370 | 294 | _build_arch="x86_64" | ||
371 | 295 | else | ||
372 | 296 | _build_arch="i386" | ||
373 | 297 | fi | ||
377 | 298 | else | 294 | else |
380 | 299 | if [ $ARCH = "powerpc" ]; then | 295 | # guess default build_arch (MacPorts) |
381 | 300 | _build_arch="ppc" | 296 | if [ "$OSXMINORNO" -ge "6" ]; then |
382 | 297 | if [ "$(sysctl -n hw.cpu64bit_capable 2>/dev/null)" = "1" ]; then | ||
383 | 298 | _build_arch="x86_64" | ||
384 | 299 | else | ||
385 | 300 | _build_arch="i386" | ||
386 | 301 | fi | ||
387 | 301 | else | 302 | else |
389 | 302 | _build_arch="i386" | 303 | if [ $HOSTARCH = "powerpc" ]; then |
390 | 304 | _build_arch="ppc" | ||
391 | 305 | else | ||
392 | 306 | _build_arch="i386" | ||
393 | 307 | fi | ||
394 | 303 | fi | 308 | fi |
395 | 304 | fi | 309 | fi |
396 | 305 | 310 | ||
397 | @@ -424,6 +429,7 @@ | |||
398 | 424 | if [ $_backend = "quartz" ]; then | 429 | if [ $_backend = "quartz" ]; then |
399 | 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" |
400 | 426 | fi | 431 | fi |
401 | 432 | /usr/libexec/PlistBuddy -x -c "Set :LSMinimumSystemVersion $OSXMINORVER" "${package}/Contents/Info.plist" | ||
402 | 427 | 433 | ||
403 | 428 | # Share files | 434 | # Share files |
404 | 429 | $rsync_cmd "$binary_dir/../share/$binary_name"/* "$pkgshare/$binary_name" | 435 | $rsync_cmd "$binary_dir/../share/$binary_name"/* "$pkgshare/$binary_name" |
405 | @@ -493,6 +499,9 @@ | |||
406 | 493 | $cp_cmd -RL "$packages_path/uniconvertor" "$pkgpython" | 499 | $cp_cmd -RL "$packages_path/uniconvertor" "$pkgpython" |
407 | 494 | # pySerial for HPGL plotting | 500 | # pySerial for HPGL plotting |
408 | 495 | $cp_cmd -RL "$packages_path/serial" "$pkgpython" | 501 | $cp_cmd -RL "$packages_path/serial" "$pkgpython" |
409 | 502 | # scour and its dependency six | ||
410 | 503 | $cp_cmd -RL "$packages_path/scour" "$pkgpython" | ||
411 | 504 | $cp_cmd -RL "$packages_path/six.py" "$pkgpython" | ||
412 | 496 | #Â PyGTK (optional) | 505 | #Â PyGTK (optional) |
413 | 497 | $cp_cmd -RL "$packages_path/cairo" "$pkgpython" | 506 | $cp_cmd -RL "$packages_path/cairo" "$pkgpython" |
414 | 498 | $cp_cmd -RL "$packages_path/glib" "$pkgpython" | 507 | $cp_cmd -RL "$packages_path/glib" "$pkgpython" |
415 | @@ -856,6 +865,20 @@ | |||
416 | 856 | 865 | ||
417 | 857 | fi | 866 | fi |
418 | 858 | 867 | ||
419 | 868 | # Patch files in app bundle | ||
420 | 869 | #---------------------------------------------------------- | ||
421 | 870 | |||
422 | 871 | PATCH_FILE_DIR="app_patches" | ||
423 | 872 | |||
424 | 873 | if [ -d "$PATCH_FILE_DIR" ]; then | ||
425 | 874 | echo "Applying patches in '$PATCH_FILE_DIR'" | ||
426 | 875 | for PATCH in ${PATCH_FILE_DIR}/*.patch; do | ||
427 | 876 | patch -d ${package} -p0 < $PATCH || { | ||
428 | 877 | echo "Patch failed!" | ||
429 | 878 | exit 1 | ||
430 | 879 | } | ||
431 | 880 | done | ||
432 | 881 | fi | ||
433 | 859 | 882 | ||
434 | 860 | # All done. | 883 | # All done. |
435 | 861 | #---------------------------------------------------------- | 884 | #---------------------------------------------------------- |
436 | 862 | 885 | ||
437 | === modified file 'packaging/macosx/osx-build.sh' | |||
438 | --- packaging/macosx/osx-build.sh 2017-02-22 17:57:56 +0000 | |||
439 | +++ packaging/macosx/osx-build.sh 2017-02-24 00:27:32 +0000 | |||
440 | @@ -10,11 +10,12 @@ | |||
441 | 10 | # Jean-Olivier Irisson <jo.irisson@gmail.com> | 10 | # Jean-Olivier Irisson <jo.irisson@gmail.com> |
442 | 11 | # Liam P. White <inkscapebrony@gmail.com> | 11 | # Liam P. White <inkscapebrony@gmail.com> |
443 | 12 | # ~suv <suv-sf@users.sourceforge.net> | 12 | # ~suv <suv-sf@users.sourceforge.net> |
444 | 13 | # Tim Sheridan <tghs@tghs.net> | ||
445 | 13 | # with information from | 14 | # with information from |
446 | 14 | # Kees Cook | 15 | # Kees Cook |
447 | 15 | # Michael Wybrow | 16 | # Michael Wybrow |
448 | 16 | # | 17 | # |
450 | 17 | # Copyright (C) 2006-2014 | 18 | # Copyright (C) 2006-2017 |
451 | 18 | # Released under GNU GPL, read the file 'COPYING' for more information | 19 | # Released under GNU GPL, read the file 'COPYING' for more information |
452 | 19 | # | 20 | # |
453 | 20 | 21 | ||
454 | @@ -171,23 +172,28 @@ | |||
455 | 171 | OSXMINORVER="$(cut -d. -f 1,2 <<< $OSXVERSION)" | 172 | OSXMINORVER="$(cut -d. -f 1,2 <<< $OSXVERSION)" |
456 | 172 | OSXMINORNO="$(cut -d. -f2 <<< $OSXVERSION)" | 173 | OSXMINORNO="$(cut -d. -f2 <<< $OSXVERSION)" |
457 | 173 | OSXPOINTNO="$(cut -d. -f3 <<< $OSXVERSION)" | 174 | OSXPOINTNO="$(cut -d. -f3 <<< $OSXVERSION)" |
459 | 174 | ARCH="$(uname -a | awk '{print $NF;}')" | 175 | HOSTARCH="$(uname -a | awk '{print $NF;}')" |
460 | 175 | 176 | ||
461 | 176 | # MacPorts for dependencies | 177 | # MacPorts for dependencies |
462 | 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" |
463 | 178 | 179 | ||
471 | 179 | # guess default build_arch (MacPorts) | 180 | if [ "$ARCH" != "" ]; then |
472 | 180 | if [ "$OSXMINORNO" -ge "6" ]; then | 181 | # explicit build_arch |
473 | 181 | if [ "$(sysctl -n hw.cpu64bit_capable 2>/dev/null)" = "1" ]; then | 182 | _build_arch="$ARCH" |
467 | 182 | _build_arch="x86_64" | ||
468 | 183 | else | ||
469 | 184 | _build_arch="i386" | ||
470 | 185 | fi | ||
474 | 186 | else | 183 | else |
477 | 187 | if [ $ARCH = "powerpc" ]; then | 184 | # guess default build_arch (MacPorts) |
478 | 188 | _build_arch="ppc" | 185 | if [ "$OSXMINORNO" -ge "6" ]; then |
479 | 186 | if [ "$(sysctl -n hw.cpu64bit_capable 2>/dev/null)" = "1" ]; then | ||
480 | 187 | _build_arch="x86_64" | ||
481 | 188 | else | ||
482 | 189 | _build_arch="i386" | ||
483 | 190 | fi | ||
484 | 189 | else | 191 | else |
486 | 190 | _build_arch="i386" | 192 | if [ $HOSTARCH = "powerpc" ]; then |
487 | 193 | _build_arch="ppc" | ||
488 | 194 | else | ||
489 | 195 | _build_arch="i386" | ||
490 | 196 | fi | ||
491 | 191 | fi | 197 | fi |
492 | 192 | fi | 198 | fi |
493 | 193 | 199 | ||
494 | @@ -221,60 +227,89 @@ | |||
495 | 221 | TARGETVERSION="10.5" | 227 | TARGETVERSION="10.5" |
496 | 222 | export CC="/usr/bin/gcc-4.2" | 228 | export CC="/usr/bin/gcc-4.2" |
497 | 223 | export CXX="/usr/bin/g++-4.2" | 229 | export CXX="/usr/bin/g++-4.2" |
499 | 224 | #export CLAGS="$CFLAGS -arch $_build_arch" | 230 | export CFLAGS="$CFLAGS -arch $_build_arch" |
500 | 225 | export CXXFLAGS="$CFLAGS" | 231 | export CXXFLAGS="$CFLAGS" |
501 | 226 | CONFFLAGS="--disable-openmp $CONFFLAGS" | 232 | CONFFLAGS="--disable-openmp $CONFFLAGS" |
502 | 233 | CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018 | ||
503 | 227 | elif [ "$OSXMINORNO" -eq "6" ]; then | 234 | elif [ "$OSXMINORNO" -eq "6" ]; then |
504 | 228 | ## Apple's LLVM-GCC 4.2.1 on Snow Leopard | 235 | ## Apple's LLVM-GCC 4.2.1 on Snow Leopard |
505 | 229 | TARGETNAME="SNOW LEOPARD" | 236 | TARGETNAME="SNOW LEOPARD" |
506 | 230 | TARGETVERSION="10.6" | 237 | TARGETVERSION="10.6" |
507 | 231 | export CC="/usr/bin/llvm-gcc-4.2" | 238 | export CC="/usr/bin/llvm-gcc-4.2" |
508 | 232 | export CXX="/usr/bin/llvm-g++-4.2" | 239 | export CXX="/usr/bin/llvm-g++-4.2" |
510 | 233 | #export CLAGS="$CFLAGS -arch $_build_arch" | 240 | export CFLAGS="$CFLAGS -arch $_build_arch" |
511 | 234 | export CXXFLAGS="$CFLAGS" | 241 | export CXXFLAGS="$CFLAGS" |
512 | 235 | CONFFLAGS="--disable-openmp $CONFFLAGS" | 242 | CONFFLAGS="--disable-openmp $CONFFLAGS" |
513 | 243 | CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018 | ||
514 | 236 | elif [ "$OSXMINORNO" -eq "7" ]; then | 244 | elif [ "$OSXMINORNO" -eq "7" ]; then |
515 | 237 | ## Apple's clang on Lion and later | 245 | ## Apple's clang on Lion and later |
516 | 238 | TARGETNAME="LION" | 246 | TARGETNAME="LION" |
517 | 239 | TARGETVERSION="10.7" | 247 | TARGETVERSION="10.7" |
518 | 240 | export CC="/usr/bin/clang" | 248 | export CC="/usr/bin/clang" |
519 | 241 | export CXX="/usr/bin/clang++" | 249 | export CXX="/usr/bin/clang++" |
521 | 242 | #export CLAGS="$CFLAGS -arch $_build_arch" | 250 | export CFLAGS="$CFLAGS -arch $_build_arch" |
522 | 243 | export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align" #-stdlib=libstdc++ -std=c++11 | 251 | export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align" #-stdlib=libstdc++ -std=c++11 |
523 | 252 | CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018 | ||
524 | 244 | elif [ "$OSXMINORNO" -eq "8" ]; then | 253 | elif [ "$OSXMINORNO" -eq "8" ]; then |
525 | 245 | ## Apple's clang on Mountain Lion | 254 | ## Apple's clang on Mountain Lion |
526 | 246 | TARGETNAME="MOUNTAIN LION" | 255 | TARGETNAME="MOUNTAIN LION" |
527 | 247 | TARGETVERSION="10.8" | 256 | TARGETVERSION="10.8" |
528 | 248 | export CC="/usr/bin/clang" | 257 | export CC="/usr/bin/clang" |
529 | 249 | export CXX="/usr/bin/clang++" | 258 | export CXX="/usr/bin/clang++" |
531 | 250 | #export CLAGS="$CFLAGS -arch $_build_arch" | 259 | export CFLAGS="$CFLAGS -arch $_build_arch" |
532 | 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++" |
533 | 261 | CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018 | ||
534 | 252 | elif [ "$OSXMINORNO" -eq "9" ]; then | 262 | elif [ "$OSXMINORNO" -eq "9" ]; then |
535 | 253 | ## Apple's clang on Mavericks | 263 | ## Apple's clang on Mavericks |
536 | 254 | TARGETNAME="MAVERICKS" | 264 | TARGETNAME="MAVERICKS" |
537 | 255 | TARGETVERSION="10.9" | 265 | TARGETVERSION="10.9" |
538 | 256 | export CC="/usr/bin/clang" | 266 | export CC="/usr/bin/clang" |
539 | 257 | export CXX="/usr/bin/clang++" | 267 | export CXX="/usr/bin/clang++" |
542 | 258 | #export CLAGS="$CFLAGS -arch $_build_arch" | 268 | export CFLAGS="$CFLAGS -arch $_build_arch" |
543 | 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++" |
544 | 270 | CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018 | ||
545 | 260 | elif [ "$OSXMINORNO" -eq "10" ]; then | 271 | elif [ "$OSXMINORNO" -eq "10" ]; then |
546 | 261 | ## Apple's clang on Yosemite | 272 | ## Apple's clang on Yosemite |
547 | 262 | TARGETNAME="YOSEMITE" | 273 | TARGETNAME="YOSEMITE" |
548 | 263 | TARGETVERSION="10.10" | 274 | TARGETVERSION="10.10" |
549 | 264 | export CC="/usr/bin/clang" | 275 | export CC="/usr/bin/clang" |
550 | 265 | export CXX="/usr/bin/clang++" | 276 | export CXX="/usr/bin/clang++" |
557 | 266 | #export CLAGS="$CFLAGS -arch $_build_arch" | 277 | export CFLAGS="$CFLAGS -arch $_build_arch" |
558 | 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++" |
559 | 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 |
560 | 269 | echo " Inkscape packaging has not been tested on ${TARGETNAME}." | 280 | echo "Note: Detected version of OS X: $TARGETNAME $OSXVERSION" |
561 | 270 | else # if [ "$OSXMINORNO" -ge "11" ]; then | 281 | echo " Inkscape packaging has not been tested on ${TARGETNAME}." |
562 | 271 | ## Apple's clang after Yosemite? | 282 | elif [ "$OSXMINORNO" -eq "11" ]; then |
563 | 283 | ## Apple's clang on El Capitan | ||
564 | 284 | TARGETNAME="EL_CAPITAN" | ||
565 | 285 | TARGETVERSION="10.11" | ||
566 | 286 | export CC="/usr/bin/clang" | ||
567 | 287 | export CXX="/usr/bin/clang++" | ||
568 | 288 | export CFLAGS="$CFLAGS -arch $_build_arch" | ||
569 | 289 | export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libc++" | ||
570 | 290 | CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018 | ||
571 | 291 | echo "Note: Detected version of OS X: $TARGETNAME $OSXVERSION" | ||
572 | 292 | echo " Inkscape packaging has not been tested on ${TARGETNAME}." | ||
573 | 293 | elif [ "$OSXMINORNO" -eq "12" ]; then | ||
574 | 294 | ## Apple's clang on Sierra | ||
575 | 295 | TARGETNAME="SIERRA" | ||
576 | 296 | TARGETVERSION="10.12" | ||
577 | 297 | export CC="/usr/bin/clang" | ||
578 | 298 | export CXX="/usr/bin/clang++" | ||
579 | 299 | export CFLAGS="$CFLAGS -arch $_build_arch" | ||
580 | 300 | export CXXFLAGS="$CFLAGS -Wno-mismatched-tags -Wno-cast-align -std=c++11 -stdlib=libc++" | ||
581 | 301 | CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018 | ||
582 | 302 | echo "Note: Detected version of OS X: $TARGETNAME $OSXVERSION" | ||
583 | 303 | echo " Inkscape packaging has not been tested on ${TARGETNAME}." | ||
584 | 304 | else # if [ "$OSXMINORNO" -ge "13" ]; then | ||
585 | 305 | ## Apple's clang after Sierra? | ||
586 | 272 | TARGETNAME="UNKNOWN" | 306 | TARGETNAME="UNKNOWN" |
587 | 273 | TARGETVERSION="10.XX" | 307 | TARGETVERSION="10.XX" |
588 | 274 | export CC="/usr/bin/clang" | 308 | export CC="/usr/bin/clang" |
589 | 275 | export CXX="/usr/bin/clang++" | 309 | export CXX="/usr/bin/clang++" |
592 | 276 | #export CLAGS="$CFLAGS -arch $_build_arch" | 310 | export CFLAGS="$CFLAGS -arch $_build_arch" |
593 | 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++" |
594 | 312 | CONFFLAGS="--disable-strict-build $CONFFLAGS" # Workaround for https://bugs.launchpad.net/inkscape/+bug/1606018 | ||
595 | 278 | echo "Note: Detected version of OS X: $TARGETNAME $OSXVERSION" | 313 | echo "Note: Detected version of OS X: $TARGETNAME $OSXVERSION" |
596 | 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})." |
597 | 280 | fi | 315 | fi |
598 | @@ -391,26 +426,21 @@ | |||
599 | 391 | Libexif $(checkversion libexif libexif) | 426 | Libexif $(checkversion libexif libexif) |
600 | 392 | JPEG $(checkversion jpeg jpeg) | 427 | JPEG $(checkversion jpeg jpeg) |
601 | 393 | Icu $(checkversion icu-uc icu) | 428 | Icu $(checkversion icu-uc icu) |
606 | 394 | LibWPD $(checkversion libwpd-0.9 libwpd) | 429 | LibRevenge $(checkversion librevenge-0.0 librevenge) |
607 | 395 | LibWPG $(checkversion libwpg-0.2 libwpg) | 430 | LibWPD $(checkversion libwpd-0.10 libwpd-0.10) |
608 | 396 | Libcdr $(checkversion libcdr-0.0 libcdr) | 431 | LibWPG $(checkversion libwpg-0.3 libwpg-0.3) |
609 | 397 | Libvisio $(checkversion libvisio-0.0 libvisio) | 432 | Libcdr $(checkversion libcdr-0.1 libcdr-0.1) |
610 | 433 | Libvisio $(checkversion libvisio-0.1 libvisio-0.1) | ||
611 | 398 | Potrace $(checkversion potrace potrace) | 434 | Potrace $(checkversion potrace potrace) |
612 | 399 | Included python modules: | 435 | Included python modules: |
613 | 400 | lxml $(checkversion py27-lxml py27-lxml) | 436 | lxml $(checkversion py27-lxml py27-lxml) |
614 | 401 | numpy $(checkversion py27-numpy py27-numpy) | 437 | numpy $(checkversion py27-numpy py27-numpy) |
615 | 438 | scour $(checkversion py27-scour py27-scour) | ||
616 | 402 | sk1libs $(checkversion py27-sk1libs py27-sk1libs) | 439 | sk1libs $(checkversion py27-sk1libs py27-sk1libs) |
617 | 403 | UniConvertor $(checkversion py27-uniconvertor py27-uniconvertor) | 440 | UniConvertor $(checkversion py27-uniconvertor py27-uniconvertor) |
618 | 404 | Pillow $(checkversion py27-Pillow py27-Pillow) | 441 | Pillow $(checkversion py27-Pillow py27-Pillow) |
619 | 405 | " > $INFOFILE | 442 | " > $INFOFILE |
620 | 406 | 443 | ||
621 | 407 | ## TODO: Pending merge adds support for: | ||
622 | 408 | #LibRevenge $(checkversion librevenge-0.0 librevenge-devel) | ||
623 | 409 | #LibWPD $(checkversion libwpd-0.10 libwpd-10.0) | ||
624 | 410 | #LibWPG $(checkversion libwpg-0.3 libwpg-0.3) | ||
625 | 411 | #Libcdr $(checkversion libcdr-0.1 libcdr-0.1) | ||
626 | 412 | #Libvisio $(checkversion libvisio-0.1 libvisio-0.1) | ||
627 | 413 | |||
628 | 414 | ## TODO: add support for gtk-mac-integration (see osxmenu branch) | 444 | ## TODO: add support for gtk-mac-integration (see osxmenu branch) |
629 | 415 | #Gtk-mac-integration $(checkversion gtk-mac-integration gtk-osx-application) | 445 | #Gtk-mac-integration $(checkversion gtk-mac-integration gtk-osx-application) |
630 | 416 | 446 | ||
631 | 417 | 447 | ||
632 | === modified file 'packaging/macosx/osx-dmg.sh' | |||
633 | --- packaging/macosx/osx-dmg.sh 2014-08-19 22:04:43 +0000 | |||
634 | +++ packaging/macosx/osx-dmg.sh 2017-02-24 00:27:32 +0000 | |||
635 | @@ -22,6 +22,8 @@ | |||
636 | 22 | # Modify the 'dmg_background.svg' file and generate a new | 22 | # Modify the 'dmg_background.svg' file and generate a new |
637 | 23 | # 'dmg_background.png' file. | 23 | # 'dmg_background.png' file. |
638 | 24 | # | 24 | # |
639 | 25 | # inkscape -z dmg_background.svg -i dmg_background -w 600 -h 400 -e dmg_background.png | ||
640 | 26 | # | ||
641 | 25 | # Update the AppleScript file 'dmg_set_style.scpt'. | 27 | # Update the AppleScript file 'dmg_set_style.scpt'. |
642 | 26 | # | 28 | # |
643 | 27 | # Run this script with the '-s' option. It will apply the | 29 | # Run this script with the '-s' option. It will apply the |
644 | 28 | 30 | ||
645 | === modified file 'packaging/macosx/ports/devel/inkscape-packaging/Portfile' | |||
646 | --- packaging/macosx/ports/devel/inkscape-packaging/Portfile 2017-02-22 17:57:56 +0000 | |||
647 | +++ packaging/macosx/ports/devel/inkscape-packaging/Portfile 2017-02-24 00:27:32 +0000 | |||
648 | @@ -55,9 +55,7 @@ | |||
649 | 55 | port:potrace | 55 | port:potrace |
650 | 56 | 56 | ||
651 | 57 | # ports for Inkscape.app | 57 | # ports for Inkscape.app |
655 | 58 | depends_build-append port:gnome-icon-theme \ | 58 | depends_build-append port:icon-naming-utils \ |
653 | 59 | port:gnome-icon-theme-symbolic \ | ||
654 | 60 | port:icon-naming-utils \ | ||
656 | 61 | port:gnome-themes-standard \ | 59 | port:gnome-themes-standard \ |
657 | 62 | port:gtk-engines2 \ | 60 | port:gtk-engines2 \ |
658 | 63 | port:gtk2-murrine | 61 | port:gtk2-murrine |
659 | @@ -65,6 +63,7 @@ | |||
660 | 65 | # ports for python extensions | 63 | # ports for python extensions |
661 | 66 | depends_build-append port:py27-lxml \ | 64 | depends_build-append port:py27-lxml \ |
662 | 67 | port:py27-numpy \ | 65 | port:py27-numpy \ |
663 | 66 | port:py27-scour \ | ||
664 | 68 | port:py27-Pillow \ | 67 | port:py27-Pillow \ |
665 | 69 | port:py27-uniconvertor \ | 68 | port:py27-uniconvertor \ |
666 | 70 | port:py27-serial \ | 69 | port:py27-serial \ |
667 | @@ -74,6 +73,7 @@ | |||
668 | 74 | # ports for python extensions on Snow Leopard and Leopard | 73 | # ports for python extensions on Snow Leopard and Leopard |
669 | 75 | depends_build-append port:py26-lxml \ | 74 | depends_build-append port:py26-lxml \ |
670 | 76 | port:py26-numpy \ | 75 | port:py26-numpy \ |
671 | 76 | port:py26-scour \ | ||
672 | 77 | port:py26-Pillow \ | 77 | port:py26-Pillow \ |
673 | 78 | port:py26-uniconvertor | 78 | port:py26-uniconvertor |
674 | 79 | } | 79 | } |
675 | 80 | 80 | ||
676 | === added directory 'packaging/macosx/ports/python/py-scour' | |||
677 | === added file 'packaging/macosx/ports/python/py-scour/Portfile' | |||
678 | --- packaging/macosx/ports/python/py-scour/Portfile 1970-01-01 00:00:00 +0000 | |||
679 | +++ packaging/macosx/ports/python/py-scour/Portfile 2017-02-24 00:27:32 +0000 | |||
680 | @@ -0,0 +1,56 @@ | |||
681 | 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 | ||
682 | 2 | # $Id$ | ||
683 | 3 | |||
684 | 4 | PortSystem 1.0 | ||
685 | 5 | PortGroup python 1.0 | ||
686 | 6 | PortGroup select 1.0 | ||
687 | 7 | |||
688 | 8 | set realname scour | ||
689 | 9 | |||
690 | 10 | name py-scour | ||
691 | 11 | version 0.35 | ||
692 | 12 | revision 100 | ||
693 | 13 | categories-append graphics | ||
694 | 14 | license Apache-2 | ||
695 | 15 | platforms darwin | ||
696 | 16 | supported_archs noarch | ||
697 | 17 | |||
698 | 18 | maintainers nomaintainer | ||
699 | 19 | |||
700 | 20 | description Scour SVG Optimizer | ||
701 | 21 | long_description Scour is a SVG optimizer/sanitizer that can be used to \ | ||
702 | 22 | produce SVGs for Web deployment. | ||
703 | 23 | |||
704 | 24 | homepage http://pypi.python.org/pypi/${realname}/ | ||
705 | 25 | master_sites pypi:s/${realname}/ | ||
706 | 26 | |||
707 | 27 | distname scour-${version} | ||
708 | 28 | |||
709 | 29 | checksums rmd160 fcb8c54d89cf0b015f7f081e7d4640a85226c85a \ | ||
710 | 30 | sha256 7b33a0fc7ed578e7d1fcf4f68eb4c38cd080c243ea57537840062d37cd0d3c8e | ||
711 | 31 | |||
712 | 32 | python.versions 27 34 35 | ||
713 | 33 | |||
714 | 34 | if {${name} ne ${subport}} { | ||
715 | 35 | |||
716 | 36 | depends_build-append port:py${python.version}-setuptools | ||
717 | 37 | |||
718 | 38 | depends_lib-append port:py${python.version}-six | ||
719 | 39 | |||
720 | 40 | depends_run-append port:${realname}_select | ||
721 | 41 | |||
722 | 42 | select.group ${realname} | ||
723 | 43 | select.file ${filespath}/${realname}${python.version} | ||
724 | 44 | notes " | ||
725 | 45 | To make the Python ${python.branch} version of scour the one that is run\ | ||
726 | 46 | when you execute the commands without a version suffix, e.g. 'scour', run: | ||
727 | 47 | |||
728 | 48 | port select --set ${select.group} [file tail ${select.file}] | ||
729 | 49 | " | ||
730 | 50 | |||
731 | 51 | livecheck.type none | ||
732 | 52 | } else { | ||
733 | 53 | livecheck.type regex | ||
734 | 54 | livecheck.url https://pypi.python.org/pypi/${realname}/json | ||
735 | 55 | livecheck.regex "${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}" | ||
736 | 56 | } | ||
737 | 0 | 57 | ||
738 | === added directory 'packaging/macosx/ports/python/py-scour/files' | |||
739 | === added file 'packaging/macosx/ports/python/py-scour/files/scour26' | |||
740 | --- packaging/macosx/ports/python/py-scour/files/scour26 1970-01-01 00:00:00 +0000 | |||
741 | +++ packaging/macosx/ports/python/py-scour/files/scour26 2017-02-24 00:27:32 +0000 | |||
742 | @@ -0,0 +1,1 @@ | |||
743 | 1 | bin/scour-2.6 | ||
744 | 0 | 2 | ||
745 | === added file 'packaging/macosx/ports/python/py-scour/files/scour27' | |||
746 | --- packaging/macosx/ports/python/py-scour/files/scour27 1970-01-01 00:00:00 +0000 | |||
747 | +++ packaging/macosx/ports/python/py-scour/files/scour27 2017-02-24 00:27:32 +0000 | |||
748 | @@ -0,0 +1,1 @@ | |||
749 | 1 | bin/scour-2.7 | ||
750 | 0 | 2 | ||
751 | === added file 'packaging/macosx/ports/python/py-scour/files/scour34' | |||
752 | --- packaging/macosx/ports/python/py-scour/files/scour34 1970-01-01 00:00:00 +0000 | |||
753 | +++ packaging/macosx/ports/python/py-scour/files/scour34 2017-02-24 00:27:32 +0000 | |||
754 | @@ -0,0 +1,1 @@ | |||
755 | 1 | bin/scour-3.4 | ||
756 | 0 | 2 | ||
757 | === added file 'packaging/macosx/ports/python/py-scour/files/scour35' | |||
758 | --- packaging/macosx/ports/python/py-scour/files/scour35 1970-01-01 00:00:00 +0000 | |||
759 | +++ packaging/macosx/ports/python/py-scour/files/scour35 2017-02-24 00:27:32 +0000 | |||
760 | @@ -0,0 +1,1 @@ | |||
761 | 1 | bin/scour-3.5 | ||
762 | 0 | 2 | ||
763 | === modified file 'packaging/macosx/ports/python/py-sk1libs/Portfile' | |||
764 | --- packaging/macosx/ports/python/py-sk1libs/Portfile 2014-09-09 23:24:58 +0000 | |||
765 | +++ packaging/macosx/ports/python/py-sk1libs/Portfile 2017-02-24 00:27:32 +0000 | |||
766 | @@ -6,12 +6,12 @@ | |||
767 | 6 | 6 | ||
768 | 7 | name py-sk1libs | 7 | name py-sk1libs |
769 | 8 | version 0.9.1 | 8 | version 0.9.1 |
771 | 9 | revision 101 | 9 | revision 102 |
772 | 10 | license LGPL-2 | 10 | license LGPL-2 |
773 | 11 | maintainers nomaintainer | 11 | maintainers nomaintainer |
774 | 12 | categories python graphics | 12 | categories python graphics |
775 | 13 | platforms darwin | 13 | platforms darwin |
777 | 14 | homepage http://sk1project.org/ | 14 | homepage http://sk1project.net/ |
778 | 15 | 15 | ||
779 | 16 | description Set of python non-GUI extensions for sK1 Project | 16 | description Set of python non-GUI extensions for sK1 Project |
780 | 17 | 17 | ||
781 | @@ -23,7 +23,7 @@ | |||
782 | 23 | distname sk1libs-${version} | 23 | distname sk1libs-${version} |
783 | 24 | # MacPorts does not properly support URLs with a get parameter. | 24 | # MacPorts does not properly support URLs with a get parameter. |
784 | 25 | # Workaround for this bug: https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams | 25 | # Workaround for this bug: https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams |
786 | 26 | master_sites http://sk1project.org/dc.php?target=${distfiles}&dummy= | 26 | master_sites http://sk1project.net/dc.php?target=${distfiles}&dummy= |
787 | 27 | 27 | ||
788 | 28 | checksums md5 e18088bbc8a105e7535a96f40b80f284 \ | 28 | checksums md5 e18088bbc8a105e7535a96f40b80f284 \ |
789 | 29 | sha1 dd948558128bb6547b1f277087bf3066104912da \ | 29 | sha1 dd948558128bb6547b1f277087bf3066104912da \ |
790 | 30 | 30 | ||
791 | === modified file 'packaging/macosx/ports/python/py-uniconvertor/Portfile' | |||
792 | --- packaging/macosx/ports/python/py-uniconvertor/Portfile 2014-08-21 13:44:13 +0000 | |||
793 | +++ packaging/macosx/ports/python/py-uniconvertor/Portfile 2017-02-24 00:27:32 +0000 | |||
794 | @@ -6,12 +6,12 @@ | |||
795 | 6 | 6 | ||
796 | 7 | name py-uniconvertor | 7 | name py-uniconvertor |
797 | 8 | version 1.1.5 | 8 | version 1.1.5 |
799 | 9 | revision 100 | 9 | revision 101 |
800 | 10 | license LGPL-2 GPL-2 | 10 | license LGPL-2 GPL-2 |
801 | 11 | maintainers nomaintainer | 11 | maintainers nomaintainer |
802 | 12 | categories python graphics | 12 | categories python graphics |
803 | 13 | platforms darwin | 13 | platforms darwin |
805 | 14 | homepage http://sk1project.org/modules.php?name=Products&product=uniconvertor | 14 | homepage http://sk1project.net/modules.php?name=Products&product=uniconvertor |
806 | 15 | 15 | ||
807 | 16 | description universal vector graphics translator. | 16 | description universal vector graphics translator. |
808 | 17 | 17 | ||
809 | @@ -26,7 +26,7 @@ | |||
810 | 26 | distname uniconvertor-${version} | 26 | distname uniconvertor-${version} |
811 | 27 | # MacPorts does not properly support URLs with a get parameter. | 27 | # MacPorts does not properly support URLs with a get parameter. |
812 | 28 | # Workaround for this bug: https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams | 28 | # Workaround for this bug: https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams |
814 | 29 | master_sites http://sk1project.org/dc.php?target=${distfiles}&dummy= | 29 | master_sites http://sk1project.net/dc.php?target=${distfiles}&dummy= |
815 | 30 | 30 | ||
816 | 31 | checksums md5 d1272315a58304ece2ff588834e23f72 \ | 31 | checksums md5 d1272315a58304ece2ff588834e23f72 \ |
817 | 32 | sha1 51ec7c4487048c3357ed95cdb4ab3524018a2c9e \ | 32 | sha1 51ec7c4487048c3357ed95cdb4ab3524018a2c9e \ |
818 | @@ -42,5 +42,5 @@ | |||
819 | 42 | } | 42 | } |
820 | 43 | 43 | ||
821 | 44 | livecheck.type regex | 44 | livecheck.type regex |
823 | 45 | livecheck.url http://sk1project.org/modules.php?name=Products&product=uniconvertor&op=download | 45 | livecheck.url http://sk1project.net/modules.php?name=Products&product=uniconvertor&op=download |
824 | 46 | livecheck.regex "uniconvertor-(\\d+(?:\\.\\d+)*)${extract.suffix}" | 46 | livecheck.regex "uniconvertor-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
825 | 47 | 47 | ||
826 | === added directory 'packaging/macosx/ports/python/scour_select' | |||
827 | === added file 'packaging/macosx/ports/python/scour_select/Portfile' | |||
828 | --- packaging/macosx/ports/python/scour_select/Portfile 1970-01-01 00:00:00 +0000 | |||
829 | +++ packaging/macosx/ports/python/scour_select/Portfile 2017-02-24 00:27:32 +0000 | |||
830 | @@ -0,0 +1,35 @@ | |||
831 | 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 | ||
832 | 2 | # $Id$ | ||
833 | 3 | |||
834 | 4 | PortSystem 1.0 | ||
835 | 5 | PortGroup select 1.0 | ||
836 | 6 | |||
837 | 7 | name scour_select | ||
838 | 8 | version 0.1 | ||
839 | 9 | revision 0 | ||
840 | 10 | categories python | ||
841 | 11 | license BSD | ||
842 | 12 | platforms darwin | ||
843 | 13 | supported_archs noarch | ||
844 | 14 | |||
845 | 15 | maintainers nomaintainer | ||
846 | 16 | |||
847 | 17 | description common files for selecting default scour version | ||
848 | 18 | long_description \ | ||
849 | 19 | This port installs files that allow 'port select' to be used to \ | ||
850 | 20 | create links to the preferred default version of scour. | ||
851 | 21 | |||
852 | 22 | homepage http://www.macports.org/ | ||
853 | 23 | |||
854 | 24 | distfiles | ||
855 | 25 | |||
856 | 26 | use_configure no | ||
857 | 27 | |||
858 | 28 | build {} | ||
859 | 29 | |||
860 | 30 | destroot { | ||
861 | 31 | select::install scour ${filespath}/base | ||
862 | 32 | select::install scour ${filespath}/none | ||
863 | 33 | } | ||
864 | 34 | |||
865 | 35 | livecheck.type none | ||
866 | 0 | 36 | ||
867 | === added directory 'packaging/macosx/ports/python/scour_select/files' | |||
868 | === added file 'packaging/macosx/ports/python/scour_select/files/base' | |||
869 | --- packaging/macosx/ports/python/scour_select/files/base 1970-01-01 00:00:00 +0000 | |||
870 | +++ packaging/macosx/ports/python/scour_select/files/base 2017-02-24 00:27:32 +0000 | |||
871 | @@ -0,0 +1,1 @@ | |||
872 | 1 | bin/scour | ||
873 | 0 | 2 | ||
874 | === added file 'packaging/macosx/ports/python/scour_select/files/none' | |||
875 | --- packaging/macosx/ports/python/scour_select/files/none 1970-01-01 00:00:00 +0000 | |||
876 | +++ packaging/macosx/ports/python/scour_select/files/none 2017-02-24 00:27:32 +0000 | |||
877 | @@ -0,0 +1,1 @@ | |||
878 | 1 | - | ||
879 | 0 | 2 | ||
880 | === added directory 'packaging/macosx/ports/textproc' | |||
881 | === added directory 'packaging/macosx/ports/textproc/help2man' | |||
882 | === added file 'packaging/macosx/ports/textproc/help2man/Portfile' | |||
883 | --- packaging/macosx/ports/textproc/help2man/Portfile 1970-01-01 00:00:00 +0000 | |||
884 | +++ packaging/macosx/ports/textproc/help2man/Portfile 2017-02-24 00:27:32 +0000 | |||
885 | @@ -0,0 +1,39 @@ | |||
886 | 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 | ||
887 | 2 | # $Id: $ | ||
888 | 3 | |||
889 | 4 | PortSystem 1.0 | ||
890 | 5 | |||
891 | 6 | name help2man | ||
892 | 7 | version 1.0 | ||
893 | 8 | revision 1 | ||
894 | 9 | |||
895 | 10 | categories textproc | ||
896 | 11 | platforms darwin | ||
897 | 12 | license GPL-2 | ||
898 | 13 | supported_archs noarch | ||
899 | 14 | |||
900 | 15 | maintainers nomaintainer | ||
901 | 16 | |||
902 | 17 | description Satisfy help2man dependency | ||
903 | 18 | long_description ${description} | ||
904 | 19 | |||
905 | 20 | homepage http://inkscape.org | ||
906 | 21 | |||
907 | 22 | # this is a metaport - no fetch, configure and build phases | ||
908 | 23 | master_sites | ||
909 | 24 | distfiles | ||
910 | 25 | use_configure no | ||
911 | 26 | build {} | ||
912 | 27 | destroot { | ||
913 | 28 | # Create a dummy file so the port can be successfully activated | ||
914 | 29 | xinstall -d ${destroot}${prefix}/share/doc/${name} | ||
915 | 30 | set docfile [open ${destroot}${prefix}/share/doc/${name}/README.txt "w"] | ||
916 | 31 | puts $docfile "Dummy help2man package installation.\n" | ||
917 | 32 | close $docfile | ||
918 | 33 | } | ||
919 | 34 | |||
920 | 35 | # variants | ||
921 | 36 | universal_variant no | ||
922 | 37 | |||
923 | 38 | # livecheck | ||
924 | 39 | livecheck.type none | ||
925 | 0 | 40 | ||
926 | === modified file 'src/menus-skeleton.h' | |||
927 | --- src/menus-skeleton.h 2016-04-15 14:39:49 +0000 | |||
928 | +++ src/menus-skeleton.h 2017-02-24 00:27:32 +0000 | |||
929 | @@ -27,8 +27,10 @@ | |||
930 | 27 | " <separator/>\n" | 27 | " <separator/>\n" |
931 | 28 | " <verb verb-id=\"FileImport\" />\n" | 28 | " <verb verb-id=\"FileImport\" />\n" |
932 | 29 | " <verb verb-id=\"DialogExport\" />\n" | 29 | " <verb verb-id=\"DialogExport\" />\n" |
933 | 30 | #if !defined(ENABLE_OSX_APP_LOCATIONS) | ||
934 | 30 | " <verb verb-id=\"FileImportFromOCAL\" />\n" | 31 | " <verb verb-id=\"FileImportFromOCAL\" />\n" |
935 | 31 | //" <verb verb-id=\"FileExportToOCAL\" />\n" | 32 | //" <verb verb-id=\"FileExportToOCAL\" />\n" |
936 | 33 | #endif | ||
937 | 32 | " <separator/>\n" | 34 | " <separator/>\n" |
938 | 33 | " <verb verb-id=\"FilePrint\" />\n" | 35 | " <verb verb-id=\"FilePrint\" />\n" |
939 | 34 | " <separator/>\n" | 36 | " <separator/>\n" |
For landing on 0.92.x, pending suv's approval:
Acked-by: Bryce Harrington <email address hidden>