diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-10-01 21:04:13 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-10-01 21:04:13 +0000 |
commit | 99f457bd03a239c89bc06a3a4c2cd9e7aae1d8f2 (patch) | |
tree | 2b5b2e4b0bf08a2f83b9139454ec1d58eba0e7e6 /packaging/macosx | |
parent | 4e6f6a52d98787697f06eeb8b6b7f46c60d4e878 (diff) | |
download | wireshark-99f457bd03a239c89bc06a3a4c2cd9e7aae1d8f2.tar.gz wireshark-99f457bd03a239c89bc06a3a4c2cd9e7aae1d8f2.tar.bz2 wireshark-99f457bd03a239c89bc06a3a4c2cd9e7aae1d8f2.zip |
Use separate "Read me first" files for Qt and GTK+.
svn path=/trunk/; revision=52321
Diffstat (limited to 'packaging/macosx')
-rw-r--r-- | packaging/macosx/Makefile.am | 3 | ||||
-rw-r--r-- | packaging/macosx/Read_me_first_gtk.rtf (renamed from packaging/macosx/Read_me_first.rtf) | 33 | ||||
-rw-r--r-- | packaging/macosx/Read_me_first_qt.rtf | 75 | ||||
-rwxr-xr-x | packaging/macosx/osx-dmg.sh.in | 14 |
4 files changed, 102 insertions, 23 deletions
diff --git a/packaging/macosx/Makefile.am b/packaging/macosx/Makefile.am index 29a468da69..0889ee2431 100644 --- a/packaging/macosx/Makefile.am +++ b/packaging/macosx/Makefile.am @@ -27,7 +27,8 @@ EXTRA_DIST = \ native-gtk/glibconfig.h \ osx-app.sh \ osx-dmg.sh.in \ - Read_me_first.rtf \ + Read_me_first_gtk.rtf \ + Read_me_first_qt.rtf \ Resources/bin/getdisplay.sh \ Resources/bin/wireshark \ Resources/etc/fonts/fonts.conf \ diff --git a/packaging/macosx/Read_me_first.rtf b/packaging/macosx/Read_me_first_gtk.rtf index df58744f69..3d93daec51 100644 --- a/packaging/macosx/Read_me_first.rtf +++ b/packaging/macosx/Read_me_first_gtk.rtf @@ -1,40 +1,40 @@ -{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 -{\fonttbl\f0\froman\fcharset0 TimesNewRomanPSMT;\f1\fswiss\fcharset0 Helvetica;} +{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390 +\cocoascreenfonts1{\fonttbl\f0\froman\fcharset0 TimesNewRomanPSMT;\f1\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid1\'02\'00.;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid1} {\list\listtemplateid2\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid101\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid2} {\list\listtemplateid3\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid201\'02\'00.;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid3}} {\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}} \margl1440\margr1440\vieww13060\viewh12960\viewkind0 -\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \f0\b\fs28 \cf0 Before You Begin\ \ -\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural -\f1\b0\fs24 \cf0 This release of Wireshark requires Macintosh OS X 10.5.5 or later, including X11.app. If you are running OS X 10.5.4 or older, you can install using MacPorts or Fink. +\f1\b0\fs24 \cf0 This release of Wireshark requires Macintosh OS X 10.5.5 or later, including X11.app. If you are running OS X 10.5.4 or older you can install using another packaging system such as MacPorts or Homebrew. \f0\b\fs28 \ \ Quick Setup\ -\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \b0\fs24 \cf0 \ -\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\ql\qnatural\pardirnatural +\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\pardirnatural \ls1\ilvl0 \f1 \cf0 Simply double-click the Wireshark package. For details about the installation read below.\ -\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \cf0 \ -\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \f0\b\fs28 \cf0 What changes does the installer make?\ -\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \b0\fs24 \cf0 \ -\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \f1 \cf0 The installer writes to the following locations:\ \ -\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\ql\qnatural\pardirnatural +\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\pardirnatural \ls2\ilvl0\cf0 {\listtext \'95 } \i /Applications/Wireshark \i0 . The main Wireshark application.\ @@ -46,18 +46,19 @@ Quick Setup\ {\listtext \'95 } \i /Library/Wireshark \i0 . A wrapper script and symbolic links which will let you run Wireshark and its associated utilities from the command line. You can access them directly or by adding /Library/Wireshark to your PATH.\ -\pard\tx560\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +\pard\tx560\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \cf0 \ Additionally a group named \i access_bpf \i0 is created. The user who opened the package is added to the group.\ \ -\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural \f0\b\fs28 \cf0 How do I uninstall?\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural -\b0\fs24 \ -\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\ql\qnatural\pardirnatural +\b0\fs24 \cf0 \ +\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\pardirnatural \ls3\ilvl0 \f1 \cf0 {\listtext 1. }Remove \i /Applications/Wireshark diff --git a/packaging/macosx/Read_me_first_qt.rtf b/packaging/macosx/Read_me_first_qt.rtf new file mode 100644 index 0000000000..f08cd714da --- /dev/null +++ b/packaging/macosx/Read_me_first_qt.rtf @@ -0,0 +1,75 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390 +\cocoascreenfonts1{\fonttbl\f0\froman\fcharset0 TimesNewRomanPSMT;\f1\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid1\'02\'00.;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid1} +{\list\listtemplateid2\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid101\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid2} +{\list\listtemplateid3\listhybrid{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{decimal\}.}{\leveltext\leveltemplateid201\'02\'00.;}{\levelnumbers\'01;}\fi-360\li720\lin720 }{\listname ;}\listid3}} +{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}} +\margl1440\margr1440\vieww13060\viewh12960\viewkind0 +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural + +\f0\b\fs28 \cf0 Before You Begin\ +\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural + +\f1\b0\fs24 \cf0 This release of Wireshark requires Macintosh OS X 10.5.5 or later. If you are running OS X 10.5.4 or older you can install using another packaging system such as MacPorts or Homebrew. +\f0\b\fs28 \ +\ +Quick Setup\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural + +\b0\fs24 \cf0 \ +\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\pardirnatural +\ls1\ilvl0 +\f1 \cf0 Simply double-click the Wireshark package. For details about the installation read below.\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural +\cf0 \ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural + +\f0\b\fs28 \cf0 What changes does the installer make?\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural + +\b0\fs24 \cf0 \ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural + +\f1 \cf0 The installer writes to the following locations:\ +\ +\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\pardirnatural +\ls2\ilvl0\cf0 {\listtext \'95 } +\i /Applications/Wireshark +\i0 . The main Wireshark application.\ +{\listtext \'95 } +\i /Library/StartupItems/ChmodBPF +\i0 . A script which adjusts permissions on the system's packet capture devices ( +\i /dev/bpf +\i0 *) when the system starts up.\ +{\listtext \'95 } +\i /Library/Wireshark +\i0 . A wrapper script and symbolic links which will let you run Wireshark and its associated utilities from the command line. You can access them directly or by adding /Library/Wireshark to your PATH.\ +\pard\tx560\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural +\cf0 \ +Additionally a group named +\i access_bpf +\i0 is created. The user who opened the package is added to the group.\ +\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural + +\f0\b\fs28 \cf0 How do I uninstall?\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural + +\b0\fs24 \cf0 \ +\pard\tx220\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\fi-720\pardirnatural +\ls3\ilvl0 +\f1 \cf0 {\listtext 1. }Remove +\i /Applications/Wireshark +\i0 \ +{\listtext 2. }Remove +\i /Library/Wireshark +\i0 \ +{\listtext 3. }Remove +\i /Library/StartupItems/ChmodBPF +\i0 \ +{\listtext 4. }Remove the +\i access_bpf +\i0 group.\ +}
\ No newline at end of file diff --git a/packaging/macosx/osx-dmg.sh.in b/packaging/macosx/osx-dmg.sh.in index 30d3e225cd..b565696eb5 100755 --- a/packaging/macosx/osx-dmg.sh.in +++ b/packaging/macosx/osx-dmg.sh.in @@ -46,6 +46,7 @@ tmp_dir="/tmp/dmg-$$" auto_open_opt= utilities="Utilities" ws_bin="$app_bundle/Contents/Resources/bin/wireshark-bin" +readme_name="Read_me_first_gtk.rtf" if [ -d /Applications/Xcode.app/Developer ] then @@ -59,11 +60,6 @@ then PATH=$PATH:$developer_path/Tools:$developer_path/usr/bin fi -if [ ! -f "$ws_bin" ] ; then - # Assume it's a native (Qt) build - ws_bin="$app_bundle/Contents/MacOS/Wireshark" -fi - # Help message #---------------------------------------------------------- help() @@ -82,6 +78,8 @@ OPTIONS -b,--app-bundle set the path to the Wireshark.app that should be copied in the dmg + -qt,--qt-flavor + use the Qt flavor " } @@ -97,6 +95,10 @@ do -b|--app-bundle) app_bundle="$2" shift 1 ;; + -qt|--qt-flavor) + readme_name="Read_me_first_qt.rtf" + ws_bin="$app_bundle/Contents/MacOS/Wireshark" + ;; *) echo "Invalid command line option" exit 2 ;; @@ -169,7 +171,7 @@ cp -rf "$pkg_file" "$tmp_dir"/ || exit 1 #cp -rf "$utilities" "$tmp_dir"/ #ln -sf /Library/StartupItems "$tmp_dir/$utilities"/ # Copy the readme -cp -rf Read_me_first.rtf "$tmp_dir"/"Read me first.rtf" || exit 1 +cp -rf "$readme_name" "$tmp_dir"/"Read me first.rtf" || exit 1 # If the appearance settings are not to be modified we just copy them if [ ${set_ds_store} = "false" ]; then |