Change the version in a way requiring less maintenance
authorChristophe Mutricy <xtophe@videolan.org>
Tue, 25 Sep 2007 21:30:02 +0000 (21:30 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Tue, 25 Sep 2007 21:30:02 +0000 (21:30 +0000)
extras/contrib/src/Makefile
extras/contrib/src/Patches/live-starttime.patch

index 886e22c..9557dc1 100644 (file)
@@ -1155,6 +1155,9 @@ ifdef HAVE_DARWIN_OS
        patch -p0 < Patches/live-osx.patch
 endif
        patch -p0 < Patches/live-starttime.patch
+       (cd live/liveMedia/include; \
+               mv liveMedia_version.hh liveMedia_version.hh.bak; \
+       sed -e 's/.*LIVEMEDIA_LIBRARY_VERSION_INT.*/#define LIVEMEDIA_LIBRARY_VERSION_INT         9999999999/' liveMedia_version.hh.bak > liveMedia_version.hh )
        patch -Np0 < Patches/live-config.patch
 ifdef HAVE_UCLIBC
        patch -p0 < Patches/live-noapps.patch
index 5d97701..4b24f0a 100644 (file)
@@ -158,20 +158,3 @@ diff -ruN live.orig/liveMedia/include/RTSPClient.hh live/liveMedia/include/RTSPC
    Boolean parseGetParameterHeader(char const* line, 
                                    const char* param,
                                    char*& value);
-*** hhhh       Wed Sep  5 15:42:26 2007
---- live/liveMedia/include/liveMedia_version.hh        Sat Aug  4 02:38:58 2007
-***************
-*** 5,10 ****
-  #define _LIVEMEDIA_VERSION_HH
-  
-  #define LIVEMEDIA_LIBRARY_VERSION_STRING     "2007.08.03"
-! #define LIVEMEDIA_LIBRARY_VERSION_INT                1186099200
-  
-  #endif
---- 5,10 ----
-  #define _LIVEMEDIA_VERSION_HH
-  
-  #define LIVEMEDIA_LIBRARY_VERSION_STRING     "2007.08.03"
-! #define LIVEMEDIA_LIBRARY_VERSION_INT                9999999999
-  
-  #endif