macosx: Use autoconf to handle version strings
authorChristophe Mutricy <xtophe@videolan.org>
Sun, 27 Jul 2008 00:11:47 +0000 (01:11 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Sun, 27 Jul 2008 00:13:32 +0000 (01:13 +0100)
configure.ac
extras/package/macosx/Info.plist [deleted file]
extras/package/macosx/Info.plist.in [new file with mode: 0644]
extras/package/macosx/Resources/English.lproj/InfoPlist.strings [deleted file]
extras/package/macosx/Resources/English.lproj/InfoPlist.strings.in [new file with mode: 0644]
extras/package/macosx/plugin/Info.plist [deleted file]
extras/package/macosx/plugin/Info.plist.in [new file with mode: 0644]
extras/package/macosx/plugin/InstallerInfo.plist [deleted file]
extras/package/macosx/plugin/InstallerInfo.plist.in [new file with mode: 0644]

index bfbe3ce..ad47540 100644 (file)
@@ -5695,17 +5695,22 @@ AS_IF([test "${SYS}" = "mingw32"], [
 dnl
 dnl  Stuff used by the program
 dnl
-AC_DEFINE_UNQUOTED(VERSION_MESSAGE, "${VERSION} ${CODENAME}", [Simple version string])
-AC_DEFINE_UNQUOTED(COPYRIGHT_MESSAGE, "VLC media player - version ${VERSION} ${CODENAME} - (c) ${COPYRIGHT_YEARS} the VideoLAN team", [Copyright string])
+VERSION_MESSAGE="${VERSION} ${CODENAME}"
+COPYRIGHT_MESSAGE="VLC media player - version ${VERSION_MESSAGE} - (c) ${COPYRIGHT_YEARS} the VideoLAN team"
+AC_DEFINE_UNQUOTED(VERSION_MESSAGE, "${VERSION_MESSAGE}", [Simple version string])
+AC_DEFINE_UNQUOTED(COPYRIGHT_MESSAGE, "${COPYRIGHT_MESSAGE}", [Copyright string])
 AC_DEFINE_UNQUOTED(COPYRIGHT_YEARS, "${COPYRIGHT_YEARS}", [The copyright years])
 AC_DEFINE_UNQUOTED(CONFIGURE_LINE, "${CONFIGURE_LINE}", [The ./configure command line])
 AC_DEFINE_UNQUOTED(PACKAGE_VERSION_MAJOR,"${VERSION_MAJOR}", [version major number])
 AC_DEFINE_UNQUOTED(PACKAGE_VERSION_MINOR,"${VERSION_MINOR}", [version minor number])
 AC_DEFINE_UNQUOTED(PACKAGE_VERSION_REVISION,"${VERSION_REVISION}", [version minor number])
 AC_DEFINE_UNQUOTED(PACKAGE_VERSION_EXTRA,"${VERSION_EXTRA}", [version minor number])
+AC_SUBST(COPYRIGHT_MESSAGE)
+AC_SUBST(VERSION_MESSAGE)
 AC_SUBST(VERSION_MAJOR)
 AC_SUBST(VERSION_MINOR)
 AC_SUBST(VERSION_REVISION)
+AC_SUBST(COPYRIGHT_YEARS)
 AC_DEFINE_UNQUOTED(VLC_COMPILE_BY, "`whoami`", [user who ran configure]) 
 if test "${build_os}" = "cygwin"
 then
@@ -5757,6 +5762,11 @@ VLC_OUTPUT_VLC_CONFIG_IN
 
 AC_CONFIG_FILES([
   extras/package/win32/vlc.win32.nsi
+  extras/package/macosx/Info.plist
+  extras/package/macosx/Resources/English.lproj/About.nib/keyedobjects.nib
+  extras/package/macosx/Resources/English.lproj/InfoPlist.strings
+  extras/package/macosx/plugin/Info.plist
+  extras/package/macosx/plugin/InstallerInfo.plist
   Makefile
   projects/activex/Makefile
   projects/activex/axvlc.inf
diff --git a/extras/package/macosx/Info.plist b/extras/package/macosx/Info.plist
deleted file mode 100644 (file)
index 8f6e0d3..0000000
+++ /dev/null
@@ -1,804 +0,0 @@
-<?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>CFBundleDevelopmentRegion</key>
-       <string>English</string>
-       <key>CFBundleDocumentTypes</key>
-       <array>
-               <dict>
-                       <key>CFBundleTypeName</key>
-                       <string>Folder</string>
-                       <key>CFBundleTypeOSTypes</key>
-                       <array>
-                               <string>fold</string>
-                       </array>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>flv</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Flash Video File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>gvp</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Google Video Playlist</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>flac</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeMIMETypes</key>
-                       <array>
-                               <string>audio/flac</string>
-                       </array>
-                       <key>CFBundleTypeName</key>
-                       <string>FLAC Audio File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>xspf</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>Generic.icns</string>
-                       <key>CFBundleTypeMIMETypes</key>
-                       <array>
-                               <string>application/xspf+xml</string>
-                       </array>
-                       <key>CFBundleTypeName</key>
-                       <string>XSPF Playlist</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>ram</string>
-                               <string>rm</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>RealPlayer Media Files</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>img</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>IMG Disk Image</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mod</string>
-                       </array>
-                       <key>CFBundleTypeName</key>
-                       <string>MOD Audio File</string>
-                       <key>CFBundleTypeOSTypes</key>
-                       <array>
-                               <string>generic.icns</string>
-                       </array>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>it</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Impulse Tracker Module File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>aiff</string>
-                               <string>aif</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>AIFF file</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>vlc</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeMIMETypes</key>
-                       <array>
-                               <string>application/x-videolan-vlc</string>
-                               <string>application/videolan-vlc</string>
-                       </array>
-                       <key>CFBundleTypeName</key>
-                       <string>VLC file</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>spx</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>ogg.icns</string>
-                       <key>CFBundleTypeMIMETypes</key>
-                       <array>
-                               <string>audio/ogg</string>
-                       </array>
-                       <key>CFBundleTypeName</key>
-                       <string>Speex Audio File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>sdp</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Session Description Protocol File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>wav</string>
-                       </array>
-                       <key>CFBundleTypeName</key>
-                       <string>WAVE Audio File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>asx</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>asx.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>ASX file</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>sub</string>
-                               <string>srt</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>sub.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Subtitle file</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>pls</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>pls.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Shoutcast playlist</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>m3u</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>m3u.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Playlist file</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>vob</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>vob.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>VOB File (DVD Video)</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>dat</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>dat.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>DAT file</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>cue</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>cue.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>CUE file</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>iso</string>
-                               <string>bin</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>bin.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>ISO file</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>a52</string>
-                               <string>ac3</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>a52.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Digital Audio</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>aac</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg4.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>AAC file</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>ogm</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>ogm.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Ogg MPEG-4 Video File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>ogg</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>ogg.icns</string>
-                       <key>CFBundleTypeMIMETypes</key>
-                       <array>
-                               <string>audio/ogg</string>
-                       </array>
-                       <key>CFBundleTypeName</key>
-                       <string>Ogg Vorbis File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>oga</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>ogg.icns</string>
-                       <key>CFBundleTypeMIMETypes</key>
-                       <array>
-                               <string>audio/ogg</string>
-                       </array>
-                       <key>CFBundleTypeName</key>
-                       <string>Ogg Audio File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>ogv</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>ogg.icns</string>
-                       <key>CFBundleTypeMIMETypes</key>
-                       <array>
-                               <string>video/ogg</string>
-                       </array>
-                       <key>CFBundleTypeName</key>
-                       <string>Ogg Video File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>ogx</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>ogg.icns</string>
-                       <key>CFBundleTypeMIMETypes</key>
-                       <array>
-                               <string>application/ogg</string>
-                       </array>
-                       <key>CFBundleTypeName</key>
-                       <string>Ogg Application File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>anx</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>ogg.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Annodex Application File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>axa</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>ogg.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Annodex Audio File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>axv</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>ogg.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Annodex Video File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>avi</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>avi.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>AVI container</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mov</string>
-                               <string>moov</string>
-                               <string>qt</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Apple QuickTime container</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>divx</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>divx.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>DivX file</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>dv</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>dv.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>DV file</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>asf</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>asf.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Advanced Streaming Format</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>wma</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>wma.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>WIndows Media Audio</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>wmv</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>wmv.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Windows Media Video</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mpg</string>
-                               <string>mpeg</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>multiplexed MPEG-1/2</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>m1v</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg1.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>MPEG-1 Video File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>m2a</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>MPEG-1/2 Audio File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mp1</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>MPEG Audio Layer 1</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mp2</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg2.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>MPEG Audio Layer 2</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mp3</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mp3.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>MPEG Audio Layer 3</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>m2p</string>
-                               <string>ps</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg2.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>MPEG-2 Program Stream</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>ts</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg2.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>MPEG-2 Transport Stream</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>m2v</string>
-                               <string>mpv</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg2.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>MPEG-2 Video File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mpa</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>MPEG-2 Audio File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mp4</string>
-                               <string>m4v</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg4.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>MPEG-4 File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>3gp</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>3GPP File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mka</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Matroska Audio File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mkv</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Matroska Video File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mks</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Matroska Elementry Stream</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>m4a</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>mpeg4.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>MPEG-4 Audio File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-               <dict>
-                       <key>CFBundleTypeExtensions</key>
-                       <array>
-                               <string>mpc</string>
-                       </array>
-                       <key>CFBundleTypeIconFile</key>
-                       <string>generic.icns</string>
-                       <key>CFBundleTypeName</key>
-                       <string>Musepack Audio File</string>
-                       <key>CFBundleTypeRole</key>
-                       <string>Viewer</string>
-               </dict>
-       </array>
-       <key>CFBundleExecutable</key>
-       <string>VLC</string>
-       <key>CFBundleGetInfoString</key>
-       <string>VLC media player 0.9.0-test2, Copyright (c) 1996-2008 the VideoLAN Team</string>
-       <key>CFBundleIconFile</key>
-       <string>vlc.icns</string>
-       <key>CFBundleIdentifier</key>
-       <string>org.videolan.vlc</string>
-       <key>CFBundleInfoDictionaryVersion</key>
-       <string>6.0</string>
-       <key>CFBundleName</key>
-       <string>VLC media player</string>
-       <key>CFBundlePackageType</key>
-       <string>APPL</string>
-       <key>CFBundleShortVersionString</key>
-       <string>0.9.0-test2</string>
-       <key>CFBundleSignature</key>
-       <string>VLC#</string>
-       <key>CFBundleURLTypes</key>
-       <array>
-               <dict>
-                       <key>CFBundleURLIconFile</key>
-                       <string>generic</string>
-                       <key>CFBundleURLName</key>
-                       <string>http url</string>
-                       <key>CFBundleURLSchemes</key>
-                       <array>
-                               <string>http</string>
-                       </array>
-               </dict>
-               <dict>
-                       <key>CFBundleURLIconFile</key>
-                       <string>generic</string>
-                       <key>CFBundleURLName</key>
-                       <string>ftp url</string>
-                       <key>CFBundleURLSchemes</key>
-                       <array>
-                               <string>ftp</string>
-                       </array>
-               </dict>
-               <dict>
-                       <key>CFBundleURLIconFile</key>
-                       <string>generic</string>
-                       <key>CFBundleURLName</key>
-                       <string>Multimedia Stream URL</string>
-                       <key>CFBundleURLSchemes</key>
-                       <array>
-                               <string>mms</string>
-                       </array>
-               </dict>
-               <dict>
-                       <key>CFBundleURLIconFile</key>
-                       <string>generic</string>
-                       <key>CFBundleURLName</key>
-                       <string>RTSP</string>
-                       <key>CFBundleURLSchemes</key>
-                       <array>
-                               <string>rtsp</string>
-                       </array>
-               </dict>
-               <dict>
-                       <key>CFBundleURLIconFile</key>
-                       <string>generic</string>
-                       <key>CFBundleURLName</key>
-                       <string>udp url</string>
-                       <key>CFBundleURLSchemes</key>
-                       <array>
-                               <string>udp</string>
-                       </array>
-               </dict>
-       </array>
-       <key>CFBundleVersion</key>
-       <string>0.9.0-test2</string>
-       <key>NSAppleScriptEnabled</key>
-       <string>YES</string>
-       <key>NSMainNibFile</key>
-       <string>MainMenu</string>
-       <key>NSPrincipalClass</key>
-       <string>VLCApplication</string>
-</dict>
-</plist>
diff --git a/extras/package/macosx/Info.plist.in b/extras/package/macosx/Info.plist.in
new file mode 100644 (file)
index 0000000..fd0218e
--- /dev/null
@@ -0,0 +1,804 @@
+<?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>CFBundleDevelopmentRegion</key>
+       <string>English</string>
+       <key>CFBundleDocumentTypes</key>
+       <array>
+               <dict>
+                       <key>CFBundleTypeName</key>
+                       <string>Folder</string>
+                       <key>CFBundleTypeOSTypes</key>
+                       <array>
+                               <string>fold</string>
+                       </array>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>flv</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Flash Video File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>gvp</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Google Video Playlist</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>flac</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeMIMETypes</key>
+                       <array>
+                               <string>audio/flac</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>FLAC Audio File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>xspf</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>Generic.icns</string>
+                       <key>CFBundleTypeMIMETypes</key>
+                       <array>
+                               <string>application/xspf+xml</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>XSPF Playlist</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>ram</string>
+                               <string>rm</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>RealPlayer Media Files</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>img</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>IMG Disk Image</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mod</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>MOD Audio File</string>
+                       <key>CFBundleTypeOSTypes</key>
+                       <array>
+                               <string>generic.icns</string>
+                       </array>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>it</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Impulse Tracker Module File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>aiff</string>
+                               <string>aif</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>AIFF file</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>vlc</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeMIMETypes</key>
+                       <array>
+                               <string>application/x-videolan-vlc</string>
+                               <string>application/videolan-vlc</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>VLC file</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>spx</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>ogg.icns</string>
+                       <key>CFBundleTypeMIMETypes</key>
+                       <array>
+                               <string>audio/ogg</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>Speex Audio File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>sdp</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Session Description Protocol File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>wav</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>WAVE Audio File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>asx</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>asx.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>ASX file</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>sub</string>
+                               <string>srt</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>sub.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Subtitle file</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>pls</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>pls.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Shoutcast playlist</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>m3u</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>m3u.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Playlist file</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>vob</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>vob.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>VOB File (DVD Video)</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>dat</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>dat.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>DAT file</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>cue</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>cue.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>CUE file</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>iso</string>
+                               <string>bin</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>bin.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>ISO file</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>a52</string>
+                               <string>ac3</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>a52.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Digital Audio</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>aac</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg4.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>AAC file</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>ogm</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>ogm.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Ogg MPEG-4 Video File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>ogg</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>ogg.icns</string>
+                       <key>CFBundleTypeMIMETypes</key>
+                       <array>
+                               <string>audio/ogg</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>Ogg Vorbis File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>oga</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>ogg.icns</string>
+                       <key>CFBundleTypeMIMETypes</key>
+                       <array>
+                               <string>audio/ogg</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>Ogg Audio File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>ogv</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>ogg.icns</string>
+                       <key>CFBundleTypeMIMETypes</key>
+                       <array>
+                               <string>video/ogg</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>Ogg Video File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>ogx</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>ogg.icns</string>
+                       <key>CFBundleTypeMIMETypes</key>
+                       <array>
+                               <string>application/ogg</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>Ogg Application File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>anx</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>ogg.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Annodex Application File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>axa</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>ogg.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Annodex Audio File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>axv</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>ogg.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Annodex Video File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>avi</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>avi.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>AVI container</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mov</string>
+                               <string>moov</string>
+                               <string>qt</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Apple QuickTime container</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>divx</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>divx.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>DivX file</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>dv</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>dv.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>DV file</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>asf</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>asf.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Advanced Streaming Format</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>wma</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>wma.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>WIndows Media Audio</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>wmv</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>wmv.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Windows Media Video</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mpg</string>
+                               <string>mpeg</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>multiplexed MPEG-1/2</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>m1v</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg1.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>MPEG-1 Video File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>m2a</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>MPEG-1/2 Audio File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mp1</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>MPEG Audio Layer 1</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mp2</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg2.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>MPEG Audio Layer 2</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mp3</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mp3.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>MPEG Audio Layer 3</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>m2p</string>
+                               <string>ps</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg2.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>MPEG-2 Program Stream</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>ts</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg2.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>MPEG-2 Transport Stream</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>m2v</string>
+                               <string>mpv</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg2.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>MPEG-2 Video File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mpa</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>MPEG-2 Audio File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mp4</string>
+                               <string>m4v</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg4.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>MPEG-4 File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>3gp</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>3GPP File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mka</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Matroska Audio File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mkv</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Matroska Video File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mks</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Matroska Elementry Stream</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>m4a</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>mpeg4.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>MPEG-4 Audio File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>mpc</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>generic.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Musepack Audio File</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+       </array>
+       <key>CFBundleExecutable</key>
+       <string>VLC</string>
+       <key>CFBundleGetInfoString</key>
+       <string>@COPYRIGHT_MESSAGE@</string>
+       <key>CFBundleIconFile</key>
+       <string>vlc.icns</string>
+       <key>CFBundleIdentifier</key>
+       <string>org.videolan.vlc</string>
+       <key>CFBundleInfoDictionaryVersion</key>
+       <string>6.0</string>
+       <key>CFBundleName</key>
+       <string>VLC media player</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+       <key>CFBundleShortVersionString</key>
+       <string>@VERSION@</string>
+       <key>CFBundleSignature</key>
+       <string>VLC#</string>
+       <key>CFBundleURLTypes</key>
+       <array>
+               <dict>
+                       <key>CFBundleURLIconFile</key>
+                       <string>generic</string>
+                       <key>CFBundleURLName</key>
+                       <string>http url</string>
+                       <key>CFBundleURLSchemes</key>
+                       <array>
+                               <string>http</string>
+                       </array>
+               </dict>
+               <dict>
+                       <key>CFBundleURLIconFile</key>
+                       <string>generic</string>
+                       <key>CFBundleURLName</key>
+                       <string>ftp url</string>
+                       <key>CFBundleURLSchemes</key>
+                       <array>
+                               <string>ftp</string>
+                       </array>
+               </dict>
+               <dict>
+                       <key>CFBundleURLIconFile</key>
+                       <string>generic</string>
+                       <key>CFBundleURLName</key>
+                       <string>Multimedia Stream URL</string>
+                       <key>CFBundleURLSchemes</key>
+                       <array>
+                               <string>mms</string>
+                       </array>
+               </dict>
+               <dict>
+                       <key>CFBundleURLIconFile</key>
+                       <string>generic</string>
+                       <key>CFBundleURLName</key>
+                       <string>RTSP</string>
+                       <key>CFBundleURLSchemes</key>
+                       <array>
+                               <string>rtsp</string>
+                       </array>
+               </dict>
+               <dict>
+                       <key>CFBundleURLIconFile</key>
+                       <string>generic</string>
+                       <key>CFBundleURLName</key>
+                       <string>udp url</string>
+                       <key>CFBundleURLSchemes</key>
+                       <array>
+                               <string>udp</string>
+                       </array>
+               </dict>
+       </array>
+       <key>CFBundleVersion</key>
+       <string>@VERSION@</string>
+       <key>NSAppleScriptEnabled</key>
+       <string>YES</string>
+       <key>NSMainNibFile</key>
+       <string>MainMenu</string>
+       <key>NSPrincipalClass</key>
+       <string>VLCApplication</string>
+</dict>
+</plist>
diff --git a/extras/package/macosx/Resources/English.lproj/InfoPlist.strings b/extras/package/macosx/Resources/English.lproj/InfoPlist.strings
deleted file mode 100644 (file)
index 03a702d..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* Localized versions of Info.plist keys */
-
-CFBundleName = "VLC";
-CFBundleShortVersionString = "0.9.0-test2";
-CFBundleGetInfoString = "VLC media player 0.9.0-test2 Copyright (c) 1996-2008 the VideoLAN Team";
-NSHumanReadableCopyright = "Copyright (c) 1996-2008 the VideoLAN Team";
diff --git a/extras/package/macosx/Resources/English.lproj/InfoPlist.strings.in b/extras/package/macosx/Resources/English.lproj/InfoPlist.strings.in
new file mode 100644 (file)
index 0000000..6e3f4ea
--- /dev/null
@@ -0,0 +1,6 @@
+/* Localized versions of Info.plist keys */
+
+CFBundleName = "VLC";
+CFBundleShortVersionString = "@VERSION@";
+CFBundleGetInfoString = "@COPYRIGHT_MESSAGE@";
+NSHumanReadableCopyright = "Copyright (c) @COPYRIGHT_YEARS@ the VideoLAN Team";
diff --git a/extras/package/macosx/plugin/Info.plist b/extras/package/macosx/plugin/Info.plist
deleted file mode 100644 (file)
index 5ab5ac9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?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>VLC Plugin</string>
-       <key>CFBundleGetInfoString</key>
-       <string>Copyright 2002-2008 The VideoLAN Team. All Rights Reserved</string>
-       <key>CFBundleIdentifier</key>
-       <string>com.netscape.vlc</string>
-       <key>CFBundleInfoDictionaryVersion</key>
-       <string>6.0</string>
-       <key>CFBundleName</key>
-       <string>VideoLAN VLC Plug-in</string>
-       <key>CFBundlePackageType</key>
-       <string>BRPL</string>
-       <key>CFBundleSignature</key>
-       <string>MOSS</string>
-       <key>CFBundleVersion</key>
-       <string>0.9.0-test2</string>
-       <key>CFBundleShortVersionString</key>
-       <string>0.9.0-test2</string>
-       <key>CSResourcesFileMapped</key>
-       <true/>
-</dict>
-</plist>
diff --git a/extras/package/macosx/plugin/Info.plist.in b/extras/package/macosx/plugin/Info.plist.in
new file mode 100644 (file)
index 0000000..79aa41b
--- /dev/null
@@ -0,0 +1,28 @@
+<?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>VLC Plugin</string>
+       <key>CFBundleGetInfoString</key>
+       <string>Copyright @COPYRIGHT_YEARS@ The VideoLAN Team.</string>
+       <key>CFBundleIdentifier</key>
+       <string>com.netscape.vlc</string>
+       <key>CFBundleInfoDictionaryVersion</key>
+       <string>6.0</string>
+       <key>CFBundleName</key>
+       <string>VideoLAN VLC Plug-in</string>
+       <key>CFBundlePackageType</key>
+       <string>BRPL</string>
+       <key>CFBundleSignature</key>
+       <string>MOSS</string>
+       <key>CFBundleVersion</key>
+       <string>@VERSION@</string>
+       <key>CFBundleShortVersionString</key>
+       <string>@VERSION@</string>
+       <key>CSResourcesFileMapped</key>
+       <true/>
+</dict>
+</plist>
diff --git a/extras/package/macosx/plugin/InstallerInfo.plist b/extras/package/macosx/plugin/InstallerInfo.plist
deleted file mode 100644 (file)
index 88fbc34..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?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>CFBundleGetInfoString</key>
-       <string>0.9.0-test2, The VideoLAN Team, All Rights Reserved.</string>
-       <key>CFBundleIdentifier</key>
-       <string>org.videolan.vlc</string>
-       <key>CFBundleShortVersionString</key>
-       <string>0.9.0-test2</string>
-       <key>IFMajorVersion</key>
-       <integer>0</integer>
-       <key>IFMinorVersion</key>
-       <integer>8</integer>
-       <key>IFPkgFlagAllowBackRev</key>
-       <false/>
-       <key>IFPkgFlagAuthorizationAction</key>
-       <string>AdminAuthorization</string>
-       <key>IFPkgFlagBackgroundAlignment</key>
-       <string>topleft</string>
-       <key>IFPkgFlagBackgroundScaling</key>
-       <string>none</string>
-       <key>IFPkgFlagDefaultLocation</key>
-       <string>/Library/Internet Plug-Ins</string>
-       <key>IFPkgFlagFollowLinks</key>
-       <true/>
-       <key>IFPkgFlagInstallFat</key>
-       <false/>
-       <key>IFPkgFlagInstalledSize</key>
-       <integer>30212</integer>
-       <key>IFPkgFlagIsRequired</key>
-       <false/>
-       <key>IFPkgFlagOverwritePermissions</key>
-       <false/>
-       <key>IFPkgFlagRelocatable</key>
-       <false/>
-       <key>IFPkgFlagRestartAction</key>
-       <string>NoRestart</string>
-       <key>IFPkgFlagRootVolumeOnly</key>
-       <true/>
-       <key>IFPkgFlagUpdateInstalledLanguages</key>
-       <false/>
-       <key>IFPkgFormatVersion</key>
-       <real>0.10000000149011612</real>
-</dict>
-</plist>
diff --git a/extras/package/macosx/plugin/InstallerInfo.plist.in b/extras/package/macosx/plugin/InstallerInfo.plist.in
new file mode 100644 (file)
index 0000000..461437a
--- /dev/null
@@ -0,0 +1,46 @@
+<?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>CFBundleGetInfoString</key>
+       <string>@VERSION@, The VideoLAN Team</string>
+       <key>CFBundleIdentifier</key>
+       <string>org.videolan.vlc</string>
+       <key>CFBundleShortVersionString</key>
+       <string>@VERSION@</string>
+       <key>IFMajorVersion</key>
+       <integer>0</integer>
+       <key>IFMinorVersion</key>
+       <integer>8</integer>
+       <key>IFPkgFlagAllowBackRev</key>
+       <false/>
+       <key>IFPkgFlagAuthorizationAction</key>
+       <string>AdminAuthorization</string>
+       <key>IFPkgFlagBackgroundAlignment</key>
+       <string>topleft</string>
+       <key>IFPkgFlagBackgroundScaling</key>
+       <string>none</string>
+       <key>IFPkgFlagDefaultLocation</key>
+       <string>/Library/Internet Plug-Ins</string>
+       <key>IFPkgFlagFollowLinks</key>
+       <true/>
+       <key>IFPkgFlagInstallFat</key>
+       <false/>
+       <key>IFPkgFlagInstalledSize</key>
+       <integer>30212</integer>
+       <key>IFPkgFlagIsRequired</key>
+       <false/>
+       <key>IFPkgFlagOverwritePermissions</key>
+       <false/>
+       <key>IFPkgFlagRelocatable</key>
+       <false/>
+       <key>IFPkgFlagRestartAction</key>
+       <string>NoRestart</string>
+       <key>IFPkgFlagRootVolumeOnly</key>
+       <true/>
+       <key>IFPkgFlagUpdateInstalledLanguages</key>
+       <false/>
+       <key>IFPkgFormatVersion</key>
+       <real>0.10000000149011612</real>
+</dict>
+</plist>