Commit 0c01d5c3 authored by Yves Combe's avatar Yves Combe

add SDL* frameworks copy

svn path=/trunk/; revision=2552
parent 16756441
2007-03-27 Yves Combe <yves@ycombe.net>
Add SDL* frameworks copy in bundle.
* Makefile.am:
* macosx/Info-gnustep.plist:
* macosx/Info.plist:
* macosx/PkgInfo:
2007-03-26 Yves Combe <yves@ycombe.net>
Small fix for GNUstep compatibility
......
......@@ -132,7 +132,7 @@ FCT_LDD_CP=function ldd_cp { \
FCT_OTOOL_CP=function otool_cp { \
for f in $$(otool -L $$1 | grep $$2 | eval "sed -e 's,^.*$$2/\(.*.dylib\).*$$,\1,' " ); do \
echo install_name_tool -change $$2/$$f @executable_path$$4/$$f $$1;\
install_name_tool -change $$2/$$f @executable_path$$4/$$f $$1 ; \
install_name_tool -change $$2/$$f @executable_path$$4/$$f $$1 ; \
if test ! -f $$3/$$f ; then \
echo "$(INSTALL) -d $$(dirname $$3/$$f)"; \
echo "$(INSTALL) $$2/$$f $$3/$$f "; \
......@@ -184,16 +184,22 @@ endif
for f in $(EXTERN_BIN); do \
$(INSTALL_D) $(prefix)/bin/$$f $(BUNDLE_RESOURCES_DIR)/bin/$$f; \
done
$(INSTALL) $(top_srcdir)/macosx/Info.plist $(BUNDLE_RESOURCES_DIR)/
$(INSTALL) $(top_srcdir)/macosx/gcompris.svg $(BUNDLE_RESOURCES_DIR)/
$(INSTALL) $(top_srcdir)/macosx/gcompris.png $(BUNDLE_RESOURCES_DIR)/
if OS_MACOSX
$(INSTALL) $(top_srcdir)/macosx/Info.plist $(BUNDLE_RESOURCES_DIR)/../
$(INSTALL) $(top_srcdir)/macosx/PkgInfo $(BUNDLE_RESOURCES_DIR)/../
$(INSTALL) $(top_srcdir)/macosx/GCompris.icns $(BUNDLE_RESOURCES_DIR)/
$(FCT_OTOOL_CP) ; for s in $$(find $(BUNDLE_EXEC_DIR)$(NSBUNDLE_GTK_DIR)/ -name '*.so') ; do \
otool_cp $$s $(prefix) $(BUNDLE_EXEC_DIR)$(NSBUNDLE_GTK_DIR) $(NSBUNDLE_GTK_DIR) ; \
done
$(FCT_OTOOL_CP) ; for s in $$(find $(BUNDLE_RESOURCES_DIR) -name '*.so') ; do \
otool_cp $$s $(prefix) $(BUNDLE_EXEC_DIR)$(NSBUNDLE_GTK_DIR) $(NSBUNDLE_GTK_DIR) ; \
done
echo WARNING ! I suppose SDL Framewroks installed in /Library/Frameworks
$(FCT_CP_TAR); cp_tar /Library/Frameworks/SDL.framework $(BUNDLE_EXEC_DIR)/../Frameworks/SDL.framework
$(FCT_CP_TAR); cp_tar /Library/Frameworks/SDL_mixer.framework $(BUNDLE_EXEC_DIR)/../Frameworks/SDL_mixer.framework
else
$(INSTALL) $(top_srcdir)/macosx/gcompris.png $(BUNDLE_RESOURCES_DIR)/
$(INSTALL) $(top_srcdir)/macosx/Info-gnustep.plist $(BUNDLE_RESOURCES_DIR)/
endif
endif
......
{
NSExecutable = "GCompris";
NSIcon = "gcompris.png";
}
\ No newline at end of file
{
NSExecutable = "GCompris";
NSIcon = "gcompris.png";
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>GCompris</string>
<key>CFBundleGetInfoString</key>
<string>8.3BETA1 200-2006 Bruno Coudoin and the GCompris Team</string>
<key>CFBundleIconFile</key>
<string>GCompris.icns</string>
<key>CFBundleIdentifier</key>
<string>org.gcompris.GCompris</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>8.3.BETA1</string>
<key>CFBundleSignature</key>
<string>GCom</string>
<key>CFBundleVersion</key>
<string>8.3.BETA1</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2000-2007 GCompris Developers, GNU General Public Licensev2.</string>
<key>LSMinimumSystemVersion</key>
<string>10.3</string>
</dict>
</plist>
APPLGCompris
APPLGCom
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment