Skip to content

Commit

Permalink
macOS: update bundke script
Browse files Browse the repository at this point in the history
  • Loading branch information
tschoonj committed Sep 26, 2017
1 parent c389eae commit dd122f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bin/xmimsim-gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -3283,7 +3283,7 @@ static void about_click(GtkWidget *widget, gpointer data) {
NULL
};

static const gchar copyright[] = "Copyright \xc2\xa9 2010-2016 Tom Schoonjans, Philip Brondeel and Laszlo Vincze";
static const gchar copyright[] = "Copyright \xc2\xa9 2010-2017 Tom Schoonjans, Philip Brondeel and Laszlo Vincze";

static const gchar comments[] = "A tool for the Monte Carlo simulation of ED-XRF spectrometers\n\n\nPlease read carefully the License section and the links therein.";

Expand Down
6 changes: 2 additions & 4 deletions osx/makebundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ set -x
export PATH=$PATH:$HOME/.local/bin
rm -rf .xmimsim-gui.app
gtk-mac-bundler xmimsim.bundle || exit 1
#find XMI-MSIM.app -name '*.svg' | xargs rm
gtk-update-icon-cache-3.0 --include-image-data --quiet XMI-MSIM.app/Contents/Resources/share/icons/hicolor
gtk-update-icon-cache-3.0 --include-image-data --quiet XMI-MSIM.app/Contents/Resources/share/icons/Adwaita
update-mime-database XMI-MSIM.app/Contents/Resources/share/mime
mkdir -p XMI-MSIM.app/Contents/Resources/etc/gtk-3.0
cp settings.ini XMI-MSIM.app/Contents/Resources/etc/gtk-3.0/
mkdir -p XMI-MSIM.app/Contents/Library/QuickLook
cp -a ../build/osx/quicklook/xmi-msim.qlgenerator XMI-MSIM.app/Contents/Library/QuickLook/
#cp libintl.8.dylib libxrl.7.dylib XMI-MSIM.app/Contents/Resources/lib/
#install_name_tool -change /opt/local/lib/libiconv.2.dylib @executable_path/../Resources/lib/libiconv.2.dylib XMI-MSIM.app/Contents/Resources/lib/libintl.8.dylib
#cp /usr/local/share/xmimsim/xmimsimdata.h5 XMI-MSIM.app/Contents/Resources/
cp /usr/local/share/xmimsim/xmimsimdata.h5 XMI-MSIM.app/Contents/Resources/
cp -a ~/Downloads/Gnome\ OSX-III-1.0 XMI-MSIM.app/Contents/Resources/share/themes/Gnome-OSX-III-1.0
2 changes: 1 addition & 1 deletion osx/settings.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Settings]
gtk-theme-name = Gnome-OSX-II-NT-2-5-1
gtk-theme-name = Gnome-OSX-III-1.0
#gtk-theme-name = OSX-Arc-White
gtk-icon-theme-name = Adwaita
gtk-fallback-icon-theme = hicolor

0 comments on commit dd122f9

Please sign in to comment.