From f16cac36d647c8a8cbc4f904d9be65222e6f8f05 Mon Sep 17 00:00:00 2001 From: Jay Dolan Date: Sat, 14 Feb 2015 09:37:38 -0500 Subject: [PATCH] New Apple OS X application bundle based on work done for GtkRadiant 1.6.4. Produces a functioning application on Yosemite. --- setup/data/osx/Makefile | 83 +++++++++++ .../osx/NetRadiant.app/Contents/Info.plist | 28 ++++ .../osx/NetRadiant.app/Contents/MacOS/radiant | 35 +++++ .../Contents/Resources/etc/fonts/fonts.conf | 133 ++++++++++++++++++ .../Contents/Resources/etc/gtk-2.0/gtkrc | 0 .../Contents/Resources/etc/pango/pangorc | 1 + .../Contents/Resources/lib/.turd | 0 .../Contents/Resources/radiant.icns | Bin 0 -> 34748 bytes .../Resources/share/gtk-2.0/icons/.turd | 0 .../Resources/share/gtk-2.0/themes/.turd | 0 setup/data/osx/README.md | 50 +++++++ 11 files changed, 330 insertions(+) create mode 100644 setup/data/osx/Makefile create mode 100644 setup/data/osx/NetRadiant.app/Contents/Info.plist create mode 100755 setup/data/osx/NetRadiant.app/Contents/MacOS/radiant create mode 100644 setup/data/osx/NetRadiant.app/Contents/Resources/etc/fonts/fonts.conf create mode 100644 setup/data/osx/NetRadiant.app/Contents/Resources/etc/gtk-2.0/gtkrc create mode 100644 setup/data/osx/NetRadiant.app/Contents/Resources/etc/pango/pangorc create mode 100644 setup/data/osx/NetRadiant.app/Contents/Resources/lib/.turd create mode 100644 setup/data/osx/NetRadiant.app/Contents/Resources/radiant.icns create mode 100644 setup/data/osx/NetRadiant.app/Contents/Resources/share/gtk-2.0/icons/.turd create mode 100644 setup/data/osx/NetRadiant.app/Contents/Resources/share/gtk-2.0/themes/.turd create mode 100644 setup/data/osx/README.md diff --git a/setup/data/osx/Makefile b/setup/data/osx/Makefile new file mode 100644 index 00000000..eb9ecadf --- /dev/null +++ b/setup/data/osx/Makefile @@ -0,0 +1,83 @@ +# Makefile for NetRadiant.app, requires http://macdylibbundler.sourceforge.net/ + +INSTALL = ../../../install +TARGET = target +RESOURCES = $(TARGET)/NetRadiant.app/Contents/Resources +BINDIR = $(RESOURCES)/install +CONFDIR = $(RESOURCES)/etc +DATADIR = $(RESOURCES)/share +LIBDIR = $(RESOURCES)/lib +VERSION = 1.5.0 +DMG = $(TARGET)/NetRadiant-$(VERSION).dmg +VOLUME_NAME = "NetRadiant $(VERSION)" + +# We must rewrite some Gtk configuration files, which vary from environment to +# environment depending on where you've installed MacPorts. Fun! + +MACPORTS_PREFIX := $(shell which port | sed 's:/bin/port::') +PREFIX_SED_EXPR = "s:$(MACPORTS_PREFIX):@executable_path/..:g" + +all: install bundle + +-pre-install: + install -d $(TARGET) + cp -r NetRadiant.app $(TARGET) + find $(TARGET) -name .turd -delete + +-gtk-runtime-gdk-pixbuf-2.0: + cp -r $(MACPORTS_PREFIX)/lib/gdk-pixbuf-2.0 $(LIBDIR) + find $(LIBDIR)/gdk-pixbuf-2.0 -type f ! -name "*.so" -delete + + gdk-pixbuf-query-loaders | sed $(PREFIX_SED_EXPR) > \ + $(CONFDIR)/gtk-2.0/gdk-pixbuf.loaders + +-gtk-runtime-pango: + cp -r $(MACPORTS_PREFIX)/lib/pango $(LIBDIR) + find $(LIBDIR)/pango -type f ! -name "*.so" -delete + + pango-querymodules | sed $(PREFIX_SED_EXPR) > \ + $(CONFDIR)/pango/pango.modules + +-gtk-runtime: -gtk-runtime-gdk-pixbuf-2.0 -gtk-runtime-pango + cp -r $(MACPORTS_PREFIX)/lib/gtk-2.0 $(LIBDIR) + find $(LIBDIR)/gtk-2.0 -type f ! -name "*.so" -delete + + rm -rf $(LIBDIR)/gtk-2.0/{includes,modules} + rm -rf $(LIBDIR)/gtk-2.0/*/printbackends + + cp -r $(MACPORTS_PREFIX)/share/themes/Default $(RESOURCES)/share + + gtk-query-immodules-2.0 | sed $(PREFIX_SED_EXPR) > \ + $(CONFDIR)/gtk-2.0/gtk.immodules + +install: -pre-install -gtk-runtime + cp -r $(INSTALL) $(RESOURCES) + #rm -rf `find $(INSTDIR)/installs -type d -name .svn` + +bundle: + + # The Radiant plugins (modules) are a little funky + # Some of them are actually linked against the build directory + + test -L install || ln -s $(INSTALL) + + dylibbundler -b \ + -x $(BINDIR)/radiant \ + -x $(BINDIR)/q2map \ + -x $(BINDIR)/q3data \ + -x $(BINDIR)/q3map2 \ + -x $(BINDIR)/qdata3 \ + `find $(BINDIR)/modules -name "*.dylib" | xargs -I {} echo -x {}` \ + `find $(LIBDIR) -name "*.dylib" | xargs -I {} echo -x {}` \ + -d $(LIBDIR) -of -p @executable_path/../lib + + rm -f install + +image: + find $(TARGET) -name .DS_Store -delete + ln -f -s /Applications $(TARGET)/Applications + hdiutil create -ov $(DMG) -srcfolder $(TARGET) -volname $(VOLUME_NAME) + rm $(TARGET)/Applications + +clean: + rm -rf $(TARGET)/* diff --git a/setup/data/osx/NetRadiant.app/Contents/Info.plist b/setup/data/osx/NetRadiant.app/Contents/Info.plist new file mode 100644 index 00000000..75796b16 --- /dev/null +++ b/setup/data/osx/NetRadiant.app/Contents/Info.plist @@ -0,0 +1,28 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleDisplayName + NetRadiant + CFBundleExecutable + radiant + CFBundleIconFile + radiant.icns + CFBundleIdentifier + org.xonotic.netradiant + CFBundleName + NetRadiant + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.5.0 + CFBundleSignature + ???? + CFBundleVersion + 1.5.0 + LSMinimumSystemVersion + 10.7 + + diff --git a/setup/data/osx/NetRadiant.app/Contents/MacOS/radiant b/setup/data/osx/NetRadiant.app/Contents/MacOS/radiant new file mode 100755 index 00000000..701a7fec --- /dev/null +++ b/setup/data/osx/NetRadiant.app/Contents/MacOS/radiant @@ -0,0 +1,35 @@ +#!/bin/bash + +RADIANT_HOME=$(dirname "$0") +RADIANT_HOME=${RADIANT_HOME/NetRadiant.app*/NetRadiant.app} + +echo +echo "Starting NetRadiant in ${RADIANT_HOME}" +echo + +set -x + +resources="${RADIANT_HOME}/Contents/Resources" + +export FONTCONFIG_PATH="${resources}/etc/fonts" +export FC_DEBUG=1024 + +export GDK_GL_LIBGL_PATH="${resources}/lib/libGL.1.dylib" +export GDK_GL_LIBGLU_PATH="${resources}/lib/libGLU.1.dylib" + +export GDK_PATH="${resources}" +export GDK_PIXBUF_MODULE_FILE="${resources}/etc/gtk-2.0/gdk-pixbuf.loaders" + +export GOBJECT_PATH="${resources}" + +export GTK_DATA_PREFIX="${resources}" +export GTK_EXE_PREFIX="${resources}" +export GTK_PATH="${resources}" + +export PANGO_SYSCONFDIR="${resources}/etc" +export PANGO_LIBDIR="${resources}/lib" + +cd "${resources}/install" +./radiant & + +set +x \ No newline at end of file diff --git a/setup/data/osx/NetRadiant.app/Contents/Resources/etc/fonts/fonts.conf b/setup/data/osx/NetRadiant.app/Contents/Resources/etc/fonts/fonts.conf new file mode 100644 index 00000000..7183a4be --- /dev/null +++ b/setup/data/osx/NetRadiant.app/Contents/Resources/etc/fonts/fonts.conf @@ -0,0 +1,133 @@ + + + + + + + + /usr/X11/lib/X11/fonts + /Library/Fonts + /System/Library/Fonts + fonts + + + + + mono + + + monospace + + + + + + + sans serif + + + sans-serif + + + + + + + sans + + + sans-serif + + + + + fontconfig + + + + + 0x0020 + 0x00A0 + 0x00AD + 0x034F + 0x0600 + 0x0601 + 0x0602 + 0x0603 + 0x06DD + 0x070F + 0x115F + 0x1160 + 0x1680 + 0x17B4 + 0x17B5 + 0x180E + 0x2000 + 0x2001 + 0x2002 + 0x2003 + 0x2004 + 0x2005 + 0x2006 + 0x2007 + 0x2008 + 0x2009 + 0x200A + 0x200B + 0x200C + 0x200D + 0x200E + 0x200F + 0x2028 + 0x2029 + 0x202A + 0x202B + 0x202C + 0x202D + 0x202E + 0x202F + 0x205F + 0x2060 + 0x2061 + 0x2062 + 0x2063 + 0x206A + 0x206B + 0x206C + 0x206D + 0x206E + 0x206F + 0x2800 + 0x3000 + 0x3164 + 0xFEFF + 0xFFA0 + 0xFFF9 + 0xFFFA + 0xFFFB + + + + 30 + + + + + diff --git a/setup/data/osx/NetRadiant.app/Contents/Resources/etc/gtk-2.0/gtkrc b/setup/data/osx/NetRadiant.app/Contents/Resources/etc/gtk-2.0/gtkrc new file mode 100644 index 00000000..e69de29b diff --git a/setup/data/osx/NetRadiant.app/Contents/Resources/etc/pango/pangorc b/setup/data/osx/NetRadiant.app/Contents/Resources/etc/pango/pangorc new file mode 100644 index 00000000..f56d3437 --- /dev/null +++ b/setup/data/osx/NetRadiant.app/Contents/Resources/etc/pango/pangorc @@ -0,0 +1 @@ +[Pango] \ No newline at end of file diff --git a/setup/data/osx/NetRadiant.app/Contents/Resources/lib/.turd b/setup/data/osx/NetRadiant.app/Contents/Resources/lib/.turd new file mode 100644 index 00000000..e69de29b diff --git a/setup/data/osx/NetRadiant.app/Contents/Resources/radiant.icns b/setup/data/osx/NetRadiant.app/Contents/Resources/radiant.icns new file mode 100644 index 0000000000000000000000000000000000000000..339e718df85aa54359966eb5850b6e56e70962f2 GIT binary patch literal 34748 zcmeG_349aP({DFPlV0>pS}0KN3Xww)xdl|9+=p_5PzT*$c(!D1;soZv*ly;y z@sAj9W4Wn}J-Q=Ak4Qs;3m6w?BJnqOKFZ(x?IoOsdB+-oaksx&ixK*R=`gmtq04}ERe$_6>sN#dI!nj3lG$!t zxb;b5&q9EIa7Zr=iTmPERaH z8gcuJ!*`71%i#g<-ggtB8>!>VvytHXT=t__J>(8NVOv&Z4x(;h3ra&~jE=(q@HMM- z%ek9Hgc7gsgC?cS+fW7r!26yRAru+aynA8UZ5Y6*&PdpLOgDt4ms~nrfzYuQC@?M> zJ+Thsed*T``mt@(&@myIf8mQSN@Fg<0JiV#Fml-DQ_CMmZI`hFxZZb$bZi_F=zbvs zxY#o*J*wU4X8A;Q*ZLUnmtS6fG@Cr&-Mc|SzjVpQAo4F=a>&Q24vQS{Q8s@Wh5_Jm zG5`xE;@>bo8F%P+mJY86BNYTrxI)DL{8^G#L7{t3SzbRkP8@t<@6U$~gs{)MXu-7fg4b#SNAyO%!J;e|s){G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`b>0t(|8Gei z6OW=+c>Ar=2gAQK&9m?$HhTHhF;K??;lIAKr|KtvUsv^P%LCy5IsE)w?W^Ah^>BXx zG*CBbjAyUsj(28kN6eTYC@gXjFYgYF?nmnzyU{rBo4bC`5?60%Cw~5?yLWVd z7zNKcS$ceqKgxA@{3!y6@%Cex_s7wl>MtYw%xpcEWaejIe);(vZgynF?qrR0Z(r7` z9^Q4DBOd_&?fvSoskfo=`5%40US?hZjm`hE*_94^;a0b)arsxg)~qgz23s1H|0i|Q zf(CgLU?cMX;W^Lf@UGk&k$<&0_#W8RL20z{SJv92>+q?sq4D_F2~X=|S*!hD{*C1G zEC1DhEyKFUhkxzwU;Fc-fxD%)bx9g`{cWxPMbT~V8A#*uU+bG*Phh-Po>6!3(9*d4 zUqeW~&dUq(uf_}ECz`xnjm{q=(0E>B;44NCkAFQb?4gbSq44)!#(BLS-lVxv$1n4K z{AS(5;!k@$@#h%yu=u0azj#?q%jk#3AITPb7E!+()8OgSMxB2$&Q7)dpCW}up9TgG zphoA9&{Kz;lW=QISi{^O2!AA;ex8+Jm$#Ru9s)gp@dJm@c)eaf)Pt4R#|OjTD=V*! z|MGVltNZ7D?!R6&+;HQ+`ghm6^ZsA`H*7VH2d&5c;A>Y8=km_qG4VNq^91VE4Km4!$ACCI#i9i3<|3gwg%5!eHwLf(ai~p?JeEBEGL;G&1?|0q=_^6?j zv2j(?=0sfqJ`HbN9u4*uVf(AL1m~xb!q7v!GaJ`aiw#?f3uy literal 0 HcmV?d00001 diff --git a/setup/data/osx/NetRadiant.app/Contents/Resources/share/gtk-2.0/icons/.turd b/setup/data/osx/NetRadiant.app/Contents/Resources/share/gtk-2.0/icons/.turd new file mode 100644 index 00000000..e69de29b diff --git a/setup/data/osx/NetRadiant.app/Contents/Resources/share/gtk-2.0/themes/.turd b/setup/data/osx/NetRadiant.app/Contents/Resources/share/gtk-2.0/themes/.turd new file mode 100644 index 00000000..e69de29b diff --git a/setup/data/osx/README.md b/setup/data/osx/README.md new file mode 100644 index 00000000..8122c170 --- /dev/null +++ b/setup/data/osx/README.md @@ -0,0 +1,50 @@ +GtkRadiant for Apple OSX +======================== + +This directory provides packaging steps for GtkRadiant for OSX. This document describes compiling the application on OSX as well as generating distributable bundles using the framework provided in this directory. + +Dependencies & Compilation +-------------------------- + +Directions for OSX Mavericks 10.9 - your mileage may vary: + +- Install [MacPorts](http://macports.org). +- Install [XQuartz](http://xquartz.macosforge.org/) + +- Install dependencies with MacPorts: + +``` +sudo port install dylibbundler pkgconfig gtkglext scons +``` + +- Get the GtkRadiant code and compile: + +``` +git clone https://github.com/TTimo/GtkRadiant.git +cd GtkRadiant/ +scons +``` + +- Run the build: + +(from the GtkRadiant/ directory) +``` +./install/radiant.bin +``` + +XQuartz note: on my configuration XQuartz doesn't automatically start for some reason. I have to open another terminal, and run the following command: `/Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin`, then start radiant. + +Building GtkRadiant.app +----------------------- + +The `Makefile` in the 'apple/' directory will produce a distributable .app bundle for GtkRadiant using `dylibbundler`: + +``` +make +make image +``` + +Getting help +------------ + +Get on irc: Quakenet #radiant, or ask on the mailing list, or post something on the issue tracker.. -- 2.39.2