mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Working with no GTK errors whatsoever, crashes on GL init.
This commit is contained in:
parent
430696eacf
commit
9237b835f7
4 changed files with 18 additions and 7 deletions
|
@ -21,6 +21,6 @@ export PANGO_SYSCONFDIR="${resources}/etc"
|
|||
export PANGO_LIBDIR="${resources}/lib"
|
||||
|
||||
cd "${resources}/install"
|
||||
./radiant.bin $@
|
||||
./radiant.bin
|
||||
|
||||
set +x
|
|
@ -1,4 +1,4 @@
|
|||
# Makefile for GtkRadiant, requires http://macdylibbundler.sourceforge.net/
|
||||
# Makefile for GtkRadiant.app, requires http://macdylibbundler.sourceforge.net/
|
||||
|
||||
INSTALL = ../install
|
||||
TARGET = target
|
||||
|
@ -12,7 +12,7 @@ VERSION = 1.6.4
|
|||
DMG = $(TARGET)/GtkRadiant-$(VERSION).dmg
|
||||
VOLUME_NAME = "GtkRadiant $(VERSION)"
|
||||
|
||||
all: install
|
||||
all: install gtk-runtime bundle
|
||||
|
||||
pre-install:
|
||||
install -d $(TARGET)
|
||||
|
@ -22,21 +22,32 @@ pre-install:
|
|||
install: pre-install
|
||||
cp -r $(INSTALL) $(RESOURCES)
|
||||
rm -rf `find $(INSTDIR)/installs -type d -name .svn`
|
||||
|
||||
|
||||
gtk-runtime:
|
||||
gdk-pixbuf-query-loaders | sed $(PREFIX_SED_EXPR) > \
|
||||
$(CONFDIR)/gtk-2.0/gdk-pixbuf.loaders
|
||||
|
||||
gtk-query-immodules-2.0 | sed $(PREFIX_SED_EXPR) > \
|
||||
$(CONFDIR)/gtk-2.0/gtk.immodules
|
||||
|
||||
pango-querymodules | sed $(PREFIX_SED_EXPR) > \
|
||||
$(CONFDIR)/pango/pango.modules
|
||||
|
||||
cp -r /opt/local/lib/gdk-pixbuf-2.0 $(LIBDIR)
|
||||
cp -r /opt/local/lib/gtk-2.0 $(LIBDIR)
|
||||
cp -r /opt/local/lib/pango $(LIBDIR)
|
||||
|
||||
find $(LIBDIR) -type f ! -name "*.so" -delete
|
||||
find $(LIBDIR)/gdk-pixbuf-2.0 -type f ! -name "*.so" -delete
|
||||
find $(LIBDIR)/gtk-2.0 -type f ! -name "*.so" -delete
|
||||
find $(LIBDIR)/pango -type f ! -name "*.so" -delete
|
||||
|
||||
rm -rf $(LIBDIR)/gtk-2.0/{includes,modules}
|
||||
rm -rf $(LIBDIR)/gtk-2.0/*/printbackends
|
||||
|
||||
dylibbundler -b \
|
||||
`find $(LIBDIR) -type f | xargs -I {} echo -x {}` \
|
||||
`find $(LIBDIR)/gdk-pixbuf-2.0 -type f | xargs -I {} echo -x {}` \
|
||||
`find $(LIBDIR)/gtk-2.0 -type f | xargs -I {} echo -x {}` \
|
||||
`find $(LIBDIR)/pango -type f | xargs -I {} echo -x {}` \
|
||||
-d $(LIBDIR) -of -p @executable_path/../lib
|
||||
|
||||
cp -r /opt/local/share/themes/Default $(RESOURCES)/share
|
||||
|
|
|
@ -248,7 +248,7 @@ class Config:
|
|||
env.Append( LINKFLAGS = '-Wl,-rpath,.' )
|
||||
|
||||
# On Mac, we pad headers so that we may rewrite them for packaging
|
||||
if ( self.platform == 'Darwin') :
|
||||
if ( self.platform == 'Darwin' ) :
|
||||
env.Append( LINKFLAGS = [ '-headerpad_max_install_names' ] )
|
||||
|
||||
def CheckoutOrUpdate( self, svnurl, path ):
|
||||
|
|
Loading…
Reference in a new issue