Imported Upstream version 0.72

This commit is contained in:
TANIGUCHI Takaki
2009-11-21 16:29:02 +09:00
commit a39ce4fddf
879 changed files with 252874 additions and 0 deletions

26
macinst/Info.plist Normal file
View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key></key>
<string></string>
<key>CFBundleExecutable</key>
<string>dvdisaster</string>
<key>CFBundleIconFile</key>
<string>dvdisaster</string>
<key>CFBundleIdentifier</key>
<string>com.dvdisaster.dvdisaster</string>
<key>CFBundleName</key>
<string>dvdisaster</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.71.28</string>
<key>CFBundleSignature</key>
<string>CGCG</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSHumanReadableCopyright</key>
<string>© 2004-2009 Carsten Gnörlich et al</string>
</dict>
</plist>

View File

@@ -0,0 +1,96 @@
<?xml version="1.0"?> <!--*- mode: xml -*-->
<app-bundle>
<meta>
<prefix>${env:JHBUILD_PREFIX}</prefix>
<prefix name="src">%srcdir%</prefix>
</meta>
<plist>${project}/Info.plist</plist>
<!-- Builtin launcher messes up LANG settings. -->
<launcher-script>${project}/launcher.sh</launcher-script>
<!-- The executable for the application -->
<main-binary>${prefix:src}/dvdisaster</main-binary>
<!-- Modules for GTK+ (image loaders, etc) -->
<binary>${prefix}/lib/gtk-2.0</binary>
<!-- Application icons -->
<data dest="${bundle}/Contents/Resources/dvdisaster.icns">
${project}/dvdisaster.icns
</data>
<!-- Plain text documentation -->
<data dest="${bundle}/Contents/Resources/doc/CHANGELOG">
${prefix:src}/CHANGELOG
</data>
<data dest="${bundle}/Contents/Resources/doc/COPYING">
${prefix:src}/COPYING
</data>
<data dest="${bundle}/Contents/Resources/doc/CREDITS*">
${prefix:src}/CREDITS*
</data>
<data dest="${bundle}/Contents/Resources/doc/README.MODIFYING">
${prefix:src}/README.MODIFYING
</data>
<data dest="${bundle}/Contents/Resources/doc/TODO">
${prefix:src}/TODO
</data>
<!-- Locales -->
<data dest="${bundle}/Contents/Resources/locale/cs/LC_MESSAGES/dvdisaster.mo">
${prefix:src}/locale/cs/LC_MESSAGES/dvdisaster.mo
</data>
<data dest="${bundle}/Contents/Resources/locale/de/LC_MESSAGES/dvdisaster.mo">
${prefix:src}/locale/de/LC_MESSAGES/dvdisaster.mo
</data>
<data dest="${bundle}/Contents/Resources/locale/it/LC_MESSAGES/dvdisaster.mo">
${prefix:src}/locale/it/LC_MESSAGES/dvdisaster.mo
</data>
<data dest="${bundle}/Contents/Resources/locale/ru/LC_MESSAGES/dvdisaster.mo">
${prefix:src}/locale/ru/LC_MESSAGES/dvdisaster.mo
</data>
<data dest="${bundle}/Contents/Resources/locale/sv/LC_MESSAGES/dvdisaster.mo">
${prefix:src}/locale/sv/LC_MESSAGES/dvdisaster.mo
</data>
<!-- User manuals-->
<data dest="${bundle}/Contents/Resources/doc/include/dvdisaster.css">
${prefix:src}/documentation/include/dvdisaster.css
</data>
<data dest="${bundle}/Contents/Resources/doc/images/*.png">
${prefix:src}/documentation/images/*.png
</data>
<data dest="${bundle}/Contents/Resources/doc/de/images/*.png">
${prefix:src}/documentation/de/images/*.png
</data>
<data dest="${bundle}/Contents/Resources/doc/de/thumbnails/*.png">
${prefix:src}/documentation/de/thumbnails/*.png
</data>
<data dest="${bundle}/Contents/Resources/doc/de/*.html">
${prefix:src}/documentation/de/*.html
</data>
<data dest="${bundle}/Contents/Resources/doc/en/images/*.png">
${prefix:src}/documentation/en/images/*.png
</data>
<data dest="${bundle}/Contents/Resources/doc/en/thumbnails/*.png">
${prefix:src}/documentation/en/thumbnails/*.png
</data>
<data dest="${bundle}/Contents/Resources/doc/en/*.html">
${prefix:src}/documentation/en/*.html
</data>
<data dest="${bundle}/Contents/Resources/doc/ru/images/*.png">
${prefix:src}/documentation/ru/images/*.png
</data>
<data dest="${bundle}/Contents/Resources/doc/ru/thumbnails/*.png">
${prefix:src}/documentation/ru/thumbnails/*.png
</data>
<data dest="${bundle}/Contents/Resources/doc/ru/*.html">
${prefix:src}/documentation/ru/*.html
</data>
</app-bundle>

BIN
macinst/dvdisaster.icns Normal file

Binary file not shown.

63
macinst/launcher.sh Executable file
View File

@@ -0,0 +1,63 @@
#!/bin/sh
if test "x$IGE_DEBUG_LAUNCHER" != x; then
set -x
fi
if test "x$IGE_DEBUG_GDB" != x; then
EXEC="gdb --args"
else
EXEC=exec
fi
name="`basename $0`"
tmp="`pwd`/$0"
tmp=`dirname "$tmp"`
tmp=`dirname "$tmp"`
bundle=`dirname "$tmp"`
bundle_contents="$bundle"/Contents
bundle_res="$bundle_contents"/Resources
bundle_lib="$bundle_res"/lib
bundle_bin="$bundle_res"/bin
bundle_data="$bundle_res"/share
bundle_etc="$bundle_res"/etc
export DYLD_LIBRARY_PATH="$bundle_lib"
export XDG_CONFIG_DIRS="$bundle_etc"/xdg
export XDG_DATA_DIRS="$bundle_data"
export GTK_DATA_PREFIX="$bundle_res"
export GTK_EXE_PREFIX="$bundle_res"
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"
# We need a UTF-8 locale.
lang=`defaults read .GlobalPreferences AppleLocale 2>/dev/null`
if test "$?" != "0"; then
lang=`defaults read .GlobalPreferences AppleCollationOrder 2>/dev/null | sed 's/_.*//'`
fi
if test "$?" == "0"; then
export LANG=${lang}.UTF-8
# export LANG1="`grep \"\`echo $lang\`_\" /usr/share/locale/locale.alias | \
# tail -n1 | sed 's/\./ /' | awk '{print $2}'`.UTF-8"
fi
if test -f "$bundle_lib/charset.alias"; then
export CHARSETALIASDIR="$bundle_lib"
fi
# Extra arguments can be added in environment.sh.
EXTRA_ARGS=
if test -f "$bundle_res/environment.sh"; then
source "$bundle_res/environment.sh"
fi
# Strip out the argument added by the OS.
if [ x`echo "x$1" | sed -e "s/^x-psn_.*//"` == x ]; then
shift 1
fi
$EXEC "$bundle_contents/MacOS/$name-bin" $* $EXTRA_ARGS