mozilla: keep version info automatically up-to-date.
authorJean-Paul Saman <jpsaman@videolan.org>
Tue, 3 Feb 2009 15:41:49 +0000 (16:41 +0100)
committerJean-Paul Saman <jpsaman@videolan.org>
Tue, 3 Feb 2009 15:44:39 +0000 (16:44 +0100)
configure.ac
projects/mozilla/vlc.r [deleted file]
projects/mozilla/vlc.r.in [new file with mode: 0644]

index 5f9e09b..26bc6fd 100644 (file)
@@ -5891,6 +5891,7 @@ AC_CONFIG_FILES([
   po/Makefile.in
   projects/activex/axvlc_rc.rc
   projects/mozilla/npvlc_rc.rc
+  projects/mozilla/vlc.r
   share/Makefile
   share/vlc_win32_rc.rc
   share/libvlc_win32_rc.rc
diff --git a/projects/mozilla/vlc.r b/projects/mozilla/vlc.r
deleted file mode 100644 (file)
index e5174e9..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-/*****************************************************************************
- * VLC Plugin description for OS X
- *****************************************************************************/
-
-/* Definitions of system resource types */
-
-data 'carb' (0)
-{
-};
-
-/* The first string in the array is a plugin description,
- * the second is the plugin name */
-resource 'STR#' (126)
-{
-    {
-        "Version 1.0.0-git, copyright 1996-2009 The VideoLAN Team"
-        "<BR><A HREF='http://www.videolan.org'>http://www.videolan.org</A>",
-        "VLC Multimedia Plug-in"
-    };
-};
-
-/* A description for each MIME type in resource 128 */
-resource 'STR#' (127)
-{
-    {
-        /* MPEG-1 and MPEG-2 */
-        "MPEG audio",
-        "MPEG audio",
-        "MPEG video",
-        "MPEG video",
-        "MPEG video",
-        "MPEG video",
-        /* MPEG-4 */
-        "MPEG-4 video",
-        "MPEG-4 audio",
-        "MPEG-4 video",
-        "MPEG-4 video",
-        /* AVI */
-        "AVI video",
-        /* Quicktime */
-/*        "QuickTime video", */
-        /* OGG */
-        "Ogg stream",
-        "Ogg stream",
-        /* VLC */
-        "VLC plug-in",
-        /* Windows Media */
-        "Windows Media video",
-        "Windows Media video",
-        "Windows Media plug-in",
-        "Windows Media video",
-        /* Google VLC */
-        "Google VLC plug-in",
-        /* WAV audio */
-        "WAV audio",
-        "WAV audio",
-        /* 3GPP */
-        "3GPP audio",
-        "3GPP video",
-        /* 3GPP2 */
-        "3GPP2 audio",
-        "3GPP2 video",
-        /* DIVX */
-        "DivX video",
-        /* FLV */
-        "FLV video",
-        "FLV video",
-        /* MkV */
-        "MKV video",
-        "MKV audio",
-    };
-};
-
-/* A series of pairs of strings... first MIME type, then file extension(s) */
-resource 'STR#' (128,"MIME Type")
-{
-    {
-        /* MPEG-1 and MPEG-2 */
-        "audio/mpeg", "mp2,mp3,mpga,mpega",
-        "audio/x-mpeg", "mp2,mp3,mpga,mpega",
-        "video/mpeg", "mpg,mpeg,mpe",
-        "video/x-mpeg", "mpg,mpeg,mpe",
-        "video/mpeg-system", "mpg,mpeg,vob",
-        "video/x-mpeg-system", "mpg,mpeg,vob",
-        /* MPEG-4 */
-        "video/mp4", "mp4,mpg4",
-        "audio/mp4", "mp4,mpg4",
-        "application/mpeg4-iod", "mp4,mpg4",
-        "application/mpeg4-muxcodetable", "mp4,mpg4",
-        /* AVI */
-        "video/x-msvideo", "avi",
-        /* Quicktime */
-/*        "video/quicktime", "mov,qt", */
-        /* OGG */
-        "application/ogg", "ogg",
-        "application/x-ogg", "ogg",
-        /* VLC */
-        "application/x-vlc-plugin", "vlc",
-        /* Windows Media */
-        "video/x-ms-asf-plugin", "asf,asx",
-        "video/x-ms-asf", "asf,asx",
-        "application/x-mplayer2", "",
-        "video/x-ms-wmv", "wmv",
-        /* Google VLC */
-        "video/x-google-vlc-plugin", "",
-        /* WAV audio */
-        "audio/wav", "wav",
-        "audio/x-wav", "wav",
-        /* 3GPP */
-        "audio/3gpp", "3gp,3gpp",
-        "video/3gpp", "3gp,3gpp",
-        /* 3GPP2 */
-        "audio/3gpp2", "3g2,3gpp2",
-        "video/3gpp2", "3g2,3gpp2",
-        /* DIVX */
-        "video/divx", "divx",
-        /* FLV */
-        "video/flv", "flv",
-        "video/x-flv", "flv",
-        /* MKV */
-        "video/x-matroska", "mkv",
-        "audio/x-matroska", "mka",
-        /* XSPF */
-        "application/xspf+xml", "xspf",
-
-    };
-};
-
diff --git a/projects/mozilla/vlc.r.in b/projects/mozilla/vlc.r.in
new file mode 100644 (file)
index 0000000..7679784
--- /dev/null
@@ -0,0 +1,128 @@
+/*****************************************************************************
+ * VLC Plugin description for OS X
+ *****************************************************************************/
+
+/* Definitions of system resource types */
+
+data 'carb' (0)
+{
+};
+
+/* The first string in the array is a plugin description,
+ * the second is the plugin name */
+resource 'STR#' (126)
+{
+    {
+       "@COPYRIGHT_MESSAGE@"
+        "<BR><A HREF='http://www.videolan.org'>http://www.videolan.org</A>",
+        "VLC Multimedia Plug-in"
+    };
+};
+
+/* A description for each MIME type in resource 128 */
+resource 'STR#' (127)
+{
+    {
+        /* MPEG-1 and MPEG-2 */
+        "MPEG audio",
+        "MPEG audio",
+        "MPEG video",
+        "MPEG video",
+        "MPEG video",
+        "MPEG video",
+        /* MPEG-4 */
+        "MPEG-4 video",
+        "MPEG-4 audio",
+        "MPEG-4 video",
+        "MPEG-4 video",
+        /* AVI */
+        "AVI video",
+        /* Quicktime */
+/*        "QuickTime video", */
+        /* OGG */
+        "Ogg stream",
+        "Ogg stream",
+        /* VLC */
+        "VLC plug-in",
+        /* Windows Media */
+        "Windows Media video",
+        "Windows Media video",
+        "Windows Media plug-in",
+        "Windows Media video",
+        /* Google VLC */
+        "Google VLC plug-in",
+        /* WAV audio */
+        "WAV audio",
+        "WAV audio",
+        /* 3GPP */
+        "3GPP audio",
+        "3GPP video",
+        /* 3GPP2 */
+        "3GPP2 audio",
+        "3GPP2 video",
+        /* DIVX */
+        "DivX video",
+        /* FLV */
+        "FLV video",
+        "FLV video",
+        /* MkV */
+        "MKV video",
+        "MKV audio",
+    };
+};
+
+/* A series of pairs of strings... first MIME type, then file extension(s) */
+resource 'STR#' (128,"MIME Type")
+{
+    {
+        /* MPEG-1 and MPEG-2 */
+        "audio/mpeg", "mp2,mp3,mpga,mpega",
+        "audio/x-mpeg", "mp2,mp3,mpga,mpega",
+        "video/mpeg", "mpg,mpeg,mpe",
+        "video/x-mpeg", "mpg,mpeg,mpe",
+        "video/mpeg-system", "mpg,mpeg,vob",
+        "video/x-mpeg-system", "mpg,mpeg,vob",
+        /* MPEG-4 */
+        "video/mp4", "mp4,mpg4",
+        "audio/mp4", "mp4,mpg4",
+        "application/mpeg4-iod", "mp4,mpg4",
+        "application/mpeg4-muxcodetable", "mp4,mpg4",
+        /* AVI */
+        "video/x-msvideo", "avi",
+        /* Quicktime */
+/*        "video/quicktime", "mov,qt", */
+        /* OGG */
+        "application/ogg", "ogg",
+        "application/x-ogg", "ogg",
+        /* VLC */
+        "application/x-vlc-plugin", "vlc",
+        /* Windows Media */
+        "video/x-ms-asf-plugin", "asf,asx",
+        "video/x-ms-asf", "asf,asx",
+        "application/x-mplayer2", "",
+        "video/x-ms-wmv", "wmv",
+        /* Google VLC */
+        "video/x-google-vlc-plugin", "",
+        /* WAV audio */
+        "audio/wav", "wav",
+        "audio/x-wav", "wav",
+        /* 3GPP */
+        "audio/3gpp", "3gp,3gpp",
+        "video/3gpp", "3gp,3gpp",
+        /* 3GPP2 */
+        "audio/3gpp2", "3g2,3gpp2",
+        "video/3gpp2", "3g2,3gpp2",
+        /* DIVX */
+        "video/divx", "divx",
+        /* FLV */
+        "video/flv", "flv",
+        "video/x-flv", "flv",
+        /* MKV */
+        "video/x-matroska", "mkv",
+        "audio/x-matroska", "mka",
+        /* XSPF */
+        "application/xspf+xml", "xspf",
+
+    };
+};
+