aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-01-03 08:18:32 -0800
committerAnders Broman <a.broman58@gmail.com>2020-01-20 07:50:46 +0000
commitdd4b562df20f720c96c8f005ee8170ccf2265dd6 (patch)
treea4524bb0fd3c09be849e67b6eed51ac5e6e2c78d /packaging
parentf605e9466b60c996d88ace1469ec19ecc44b46dd (diff)
macOS: Add a disk volume icon.
Add a badge icon (custom removable disk icon) for our disk image volume. Change-Id: If2a88efb76061bbf72ddc9844435429d20da6183 Reviewed-on: https://code.wireshark.org/review/35867 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/macosx/dmgbuild-settings.py.in2
-rw-r--r--packaging/macosx/wsiconvol.icnsbin0 -> 21096 bytes
-rw-r--r--packaging/macosx/wsiconvol.svg106
3 files changed, 107 insertions, 1 deletions
diff --git a/packaging/macosx/dmgbuild-settings.py.in b/packaging/macosx/dmgbuild-settings.py.in
index 1eaaa2368e..18e36f081f 100644
--- a/packaging/macosx/dmgbuild-settings.py.in
+++ b/packaging/macosx/dmgbuild-settings.py.in
@@ -71,7 +71,7 @@ symlinks = {
# image, *or* you can define badge_icon, in which case the icon file you specify
# will be used to badge the system's Removable Disk icon
#
-#icon = '/path/to/icon.icns'
+badge_icon = os.path.join(ws_srcdir, 'packaging', 'macosx', 'wsiconvol.icns')
#badge_icon = icon_from_app(application)
# Where to put the icons
diff --git a/packaging/macosx/wsiconvol.icns b/packaging/macosx/wsiconvol.icns
new file mode 100644
index 0000000000..e32e03c0e6
--- /dev/null
+++ b/packaging/macosx/wsiconvol.icns
Binary files differ
diff --git a/packaging/macosx/wsiconvol.svg b/packaging/macosx/wsiconvol.svg
new file mode 100644
index 0000000000..542fbab23b
--- /dev/null
+++ b/packaging/macosx/wsiconvol.svg
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ id="svg548"
+ sodipodi:version="0.32"
+ sodipodi:docname="wsiconvol.svg"
+ inkscape:version="1.0beta2 (2b71d25, 2019-12-03)"
+ inkscape:export-filename="/tmp/diskicon512.png"
+ inkscape:export-xdpi="2048"
+ inkscape:export-ydpi="2048"
+ x="0px"
+ y="0px"
+ width="24px"
+ height="24px"
+ viewBox="0 0 24 24"
+ enable-background="new 0 0 24 24"
+ xml:space="preserve"><metadata
+ id="metadata3007"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
+ id="defs3005"><linearGradient
+ id="linearGradient875"
+ inkscape:collect="always"><stop
+ id="stop871"
+ offset="0"
+ style="stop-color:#243ea3;stop-opacity:1" /><stop
+ id="stop873"
+ offset="1"
+ style="stop-color:#5873da;stop-opacity:1" /></linearGradient><linearGradient
+ id="linearGradient5067"><stop
+ style="stop-color:#000000;stop-opacity:0.15753424;"
+ offset="0"
+ id="stop5069" /><stop
+ style="stop-color:#000000;stop-opacity:0;"
+ offset="1"
+ id="stop5071" /></linearGradient><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5067"
+ id="linearGradient5073"
+ x1="15"
+ y1="21.5"
+ x2="12.5"
+ y2="11.5"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.2395694,0,0,1.1444028,21.297859,-1.7705992)" /><linearGradient
+ gradientUnits="userSpaceOnUse"
+ y2="0"
+ x2="13.5"
+ y1="24"
+ x1="13.5"
+ id="linearGradient877"
+ xlink:href="#linearGradient875"
+ inkscape:collect="always"
+ gradientTransform="matrix(0.87638123,0,0,0.87638123,1.4841582,0.98437829)" /></defs>
+
+<sodipodi:namedview
+ inkscape:snap-page="false"
+ inkscape:current-layer="svg548"
+ inkscape:window-width="1443"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:window-maximized="0"
+ inkscape:window-height="837"
+ inkscape:cy="12"
+ inkscape:cx="12"
+ inkscape:window-x="89"
+ id="base"
+ inkscape:window-y="54"
+ showgrid="true"
+ inkscape:zoom="26.208333"
+ inkscape:document-rotation="0">
+
+ <inkscape:grid
+ type="xygrid"
+ enabled="true"
+ visible="true"
+ spacingx="0.5px"
+ spacingy="0.5px"
+ empspacing="5"
+ snapvisiblegridlinesonly="true"
+ id="grid3142">
+ </inkscape:grid>
+</sodipodi:namedview>
+<path
+ d="m 21.25269,21.999123 v 0 L 2.4166278,21.971079 C 2.2991927,21.970203 2.1870159,21.921125 2.1072652,21.83524 2.0275146,21.747602 1.9880773,21.632796 1.9977176,21.515361 2.0152452,21.313794 3.9257562,1.2814715 21.576951,1.0027823 c 0.145479,-0.0210331 0.29797,0.07975 0.373338,0.2155897 0.07537,0.1349627 0.07099,0.3005988 -0.01315,0.4303032 -5.18029,8.1091553 -0.824675,18.5696408 -0.347047,19.6616118 0.06135,0.07274 0.09815,0.166513 0.09815,0.269926 0,0.232241 -0.188423,0.419787 -0.419788,0.419787 -0.0035,0 -0.0096,0 -0.01578,-8.77e-4 z"
+ id="path3002"
+ inkscape:connector-curvature="0"
+ style="fill:url(#linearGradient877);fill-opacity:1;stroke-width:3.50552;stroke-miterlimit:4;stroke-dasharray:none"
+ sodipodi:nodetypes="cccccccccssc" />
+<path
+ id="path4555"
+ inkscape:export-filename="/home/gerald/devel/wsweb/image/wslogo.png"
+ inkscape:export-xdpi="90.000000"
+ inkscape:export-ydpi="90.000000"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccc"
+ d="M 25.5,23.001143 C 25.5,23.001143 28.365885,3.2922387 46.267747,1 40.714476,11.678422 46,23.02632 46,23.02632 Z"
+ style="fill:url(#linearGradient5073);fill-opacity:1;stroke-width:1.19103" /></svg>