Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ffba28850d282292e42a5112fb9de72d59470708

commit ffba28850d282292e42a5112fb9de72d59470708
Author: Slown <slownli...@gmail.com>
Date:   Thu Apr 12 18:52:20 2012 +0100

libmediainfo-0.7.56-1-i686

* version bump
* remove old patch

diff --git a/source/lib-extra/libmediainfo/FrugalBuild 
b/source/lib-extra/libmediainfo/FrugalBuild
index 1f99124..6428ce1 100644
--- a/source/lib-extra/libmediainfo/FrugalBuild
+++ b/source/lib-extra/libmediainfo/FrugalBuild
@@ -1,4 +1,4 @@
-# Compiling Time: 4.14 SBU
+# Compiling Time: 3.24 SBU
# Maintainer: Slown <sl...@frugalware.org>

pkgname=libmediainfo
@@ -14,14 +14,11 @@ _F_sourceforge_ext=".tar.bz2"
Fconfopts="$Fconfopts --enable-shared --with-libcurl --with-libmms"
Finclude sourceforge
up2date="Flasttar http://mediainfo.sourceforge.net/fr/Download/Source";
-source=($source libmms.patch)
_F_cd_path="MediaInfoLib/Project/GNU/Library"
-sha1sums=('742723207cc89048ae414ee07516cc56a567f6f3' \
-          'cbf583e07f084d2c6b997816c2511f2f6a71c668')
+sha1sums=('742723207cc89048ae414ee07516cc56a567f6f3')

build() {
Fcd MediaInfoLib
-       Fpatchall
cd $Fsrcdir/$_F_cd_path || Fdie
Fautoreconf
Fmake
@@ -34,5 +31,4 @@ build() {
done
}

-
# optimization OK
diff --git a/source/lib-extra/libmediainfo/libmms.patch 
b/source/lib-extra/libmediainfo/libmms.patch
deleted file mode 100644
index 8f3f6e0..0000000
--- a/source/lib-extra/libmediainfo/libmms.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -Naur MediaInfoLib/Source/MediaInfo/Reader/Reader_libmms.cpp 
MediaInfoLib.new/Source/MediaInfo/Reader/Reader_libmms.cpp
---- MediaInfoLib/Source/MediaInfo/Reader/Reader_libmms.cpp     2011-11-11 
09:21:07.000000000 +0100
-+++ MediaInfoLib.new/Source/MediaInfo/Reader/Reader_libmms.cpp 2011-12-14 
20:37:21.000000000 +0100
-@@ -48,10 +48,8 @@
- #else
-     #ifdef MEDIAINFO_LIBMMS_FROMSOURCE
-         #include "mmsx.h"
--        #include "mmsh.h"
-     #else //MEDIAINFO_LIBMMS_FROMSOURCE
-         #include "libmms/mmsx.h"
--        #include "libmms/mmsh.h"
-     #endif //MEDIAINFO_LIBMMS_FROMSOURCE
- #endif
- #include <iostream>
-@@ -71,34 +69,9 @@
- //---------------------------------------------------------------------------
- size_t Reader_libmms::Format_Test(MediaInfo_Internal* MI, const String 
&File_Name)
- {
--    mmsx_t* Handle;
--
--    //Opening the file
--    #if MEDIAINFO_LIBMMS_DESCRIBE_SUPPORT
--    if (MI->Config.File_Mmsh_Describe_Only_Get())
--    {
--        // Use MMSH & Send a DESCRIBE request
--        mmsh_t* MmshHandle;
--
--        MmshHandle=mmsh_describe_request(0, 0, 
Ztring(File_Name).To_Local().c_str());
--        if (MmshHandle==NULL)
--            return 0;
--
--        Handle=mmsx_set_mmsh_handle(MmshHandle);
--        if (Handle==NULL)
--        {
--            mmsh_close(MmshHandle);
--            return 0;
--        }
--    }
--    else
--    #endif //MEDIAINFO_LIBMMS_DESCRIBE_SUPPORT
--    {
--       // Use MMS or MMSH (Send a DESCRIBE & PLAY request)
--       Handle=mmsx_connect(0, 0, Ztring(File_Name).To_Local().c_str(), 
(int)-1);
-+       mmsx_t* Handle=mmsx_connect(0, 0, 
Ztring(File_Name).To_Local().c_str(), (int)-1);
-        if (Handle==NULL)
-            return 0;
--    }
-
-     //Init
-     size_t Buffer_Size_Max;
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to