spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit 6c6bbbd0659862517741cd799954f95f52483e21
parent cb3460234d4df75503e1d00d24f87d05aa697bf3
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Tue, 22 Feb 2011 18:39:09 +0800

osx: More bundle fixes

Diffstat:
Aosx/README | 32++++++++++++++++++++++++++++++++
Mosx/launcher.sh | 2+-
Mosx/spek.bundle | 15+++++----------
3 files changed, 38 insertions(+), 11 deletions(-)

diff --git a/osx/README b/osx/README @@ -0,0 +1,32 @@ +Building the OS X bundle +======================== + +Spek bundle uses packages provided by MacPorts. After installing MacPorts build all dependencies: + +$ sudo port install intltool +$ sudo port install vala +$ sudo port install pango +no_x11 +quartz +$ sudo port install gtk2 +no_x11 +quartz +$ sudo port install hicolor-icon-theme +$ sudo port install ffmpeg +no_x11 +no_nonfree +$ sudo port install ige-mac-integration +$ sudo port install ige-mac-bundler + +Now make sure Spek builds by running `gmake && src/spek`. + +Note that these ports: + + ige-mac-integration + ffmpeg + gtk2 + +...require this line in their Portfile: + + configure.ldflags-append -headerpad_max_install_names + +Also, by some reason MacPorts doesn't install /opt/local/lib/charset.alias, +copy it from your favourite Unix flavour. + +After all dependencies are built just run: + +$ osx/bundle.sh diff --git a/osx/launcher.sh b/osx/launcher.sh @@ -32,7 +32,7 @@ export GTK_PATH="$bundle_res" export GTK2_RC_FILES="$bundle_etc/gtk-2.0/gtkrc" export GTK_IM_MODULE_FILE="$bundle_etc/gtk-2.0/gtk.immodules" export GDK_PIXBUF_MODULE_FILE="$bundle_etc/gtk-2.0/gdk-pixbuf.loaders" -export PANGO_RC_FILE="$bundle_etc/pango/pangorc" +export PANGO_SYSCONFDIR="$bundle_etc" APP=name I18NDIR="$bundle_data/locale" diff --git a/osx/spek.bundle b/osx/spek.bundle @@ -31,21 +31,16 @@ <data dest="${bundle}/Contents/Resources/share"> ${project}/bin/share </data> - - <!-- Copy in the themes data. You may want to trim this to save space - in your bundle. --> - <!-- data> + <data> ${prefix}/share/themes - </data --> - + </data> <data dest="${bundle}/Contents/Resources"> ${project}/Spek.icns </data> <data dest="${bundle}/Contents/Resources/etc/${gtkdir}/gtkrc"> ${project}/gtkrc </data> - - <!-- icon-theme icons="auto"> - Tango - </icon-theme --> + <icon-theme icons="auto"> + hicolor + </icon-theme> </app-bundle>