[arch-commits] Commit in mkvtoolnix/trunk (PKGBUILD mm_io.patch)

2012-09-03 Thread Giovanni Scafora
Date: Monday, September 3, 2012 @ 01:47:58
  Author: giovanni
Revision: 165890

upgpkg: mkvtoolnix 5.8.0-1

upstream release

Modified:
  mkvtoolnix/trunk/PKGBUILD
Deleted:
  mkvtoolnix/trunk/mm_io.patch

-+
 PKGBUILD|   12 
 mm_io.patch |   11 ---
 2 files changed, 4 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-09-02 22:03:45 UTC (rev 165889)
+++ PKGBUILD2012-09-03 05:47:58 UTC (rev 165890)
@@ -4,23 +4,19 @@
 
 pkgbase=mkvtoolnix
 pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gtk')
-pkgver=5.7.0
-pkgrel=3
+pkgver=5.8.0
+pkgrel=1
 arch=('i686' 'x86_64')
 license=('GPL')
 url=http://www.bunkus.org/videotools/mkvtoolnix/index.html;
 makedepends=('libmatroska' 'flac' 'libvorbis' 'file' 'wxgtk'
  'boost-libs' 'lzo2' 'xdg-utils' 'boost' 'ruby')
-source=(http://www.bunkus.org/videotools/${pkgbase}/sources/${pkgbase}-${pkgver}.tar.bz2;
-'mm_io.patch')
-md5sums=('99ea44be570412dadafe4ccaee0cfe6e'
- '293bd4551ef8529e9d4796c5a201b8fc')
+source=(http://www.bunkus.org/videotools/${pkgbase}/sources/${pkgbase}-${pkgver}.tar.bz2;)
+md5sums=('8caa3d37d2442a525bad35dbb1babc56')
 
 build() {
   cd ${srcdir}/${pkgbase}-${pkgver}
 
-  patch -Np1 -i ${srcdir}/mm_io.patch
-
   # Disable automagic curl dep used for online update checking
   sed -i -e '/curl/d' configure.in
   export CURL_CFLAGS= CURL_LIBS=

Deleted: mm_io.patch
===
--- mm_io.patch 2012-09-02 22:03:45 UTC (rev 165889)
+++ mm_io.patch 2012-09-03 05:47:58 UTC (rev 165890)
@@ -1,11 +0,0 @@
 a/src/common/mm_io.cpp 2012-07-08 20:06:02.0 +0200
-+++ b/src/common/mm_io.cpp 2012-07-21 11:59:59.0 +0200
-@@ -147,7 +147,7 @@
- void
- mm_file_io_c::prepare_path(const std::string path) {
-   boost::filesystem::path directory = 
boost::filesystem::path(path).parent_path();
--  if (boost::filesystem::exists(directory))
-+  if (directory.empty() || boost::filesystem::exists(directory))
- return;
- 
-   boost::system::error_code error_code;



[arch-commits] Commit in mkvtoolnix/trunk (PKGBUILD mm_io.patch)

2012-07-21 Thread Giovanni Scafora
Date: Saturday, July 21, 2012 @ 07:03:32
  Author: giovanni
Revision: 163842

upgpkg: mkvtoolnix 5.7.0-3

Fixed FS30774

Added:
  mkvtoolnix/trunk/mm_io.patch
Modified:
  mkvtoolnix/trunk/PKGBUILD

-+
 PKGBUILD|   10 +++---
 mm_io.patch |   11 +++
 2 files changed, 18 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-07-21 10:59:26 UTC (rev 163841)
+++ PKGBUILD2012-07-21 11:03:32 UTC (rev 163842)
@@ -5,18 +5,22 @@
 pkgbase=mkvtoolnix
 pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gtk')
 pkgver=5.7.0
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 license=('GPL')
 url=http://www.bunkus.org/videotools/mkvtoolnix/index.html;
 makedepends=('libmatroska' 'flac' 'libvorbis' 'file' 'wxgtk'
  'boost-libs' 'lzo2' 'xdg-utils' 'boost' 'ruby')
-source=(http://www.bunkus.org/videotools/${pkgbase}/sources/${pkgbase}-${pkgver}.tar.bz2;)
-md5sums=('99ea44be570412dadafe4ccaee0cfe6e')
+source=(http://www.bunkus.org/videotools/${pkgbase}/sources/${pkgbase}-${pkgver}.tar.bz2;
+'mm_io.patch')
+md5sums=('99ea44be570412dadafe4ccaee0cfe6e'
+ '293bd4551ef8529e9d4796c5a201b8fc')
 
 build() {
   cd ${srcdir}/${pkgbase}-${pkgver}
 
+  patch -Np1 -i ${srcdir}/mm_io.patch
+
   # Disable automagic curl dep used for online update checking
   sed -i -e '/curl/d' configure.in
   export CURL_CFLAGS= CURL_LIBS=

Added: mm_io.patch
===
--- mm_io.patch (rev 0)
+++ mm_io.patch 2012-07-21 11:03:32 UTC (rev 163842)
@@ -0,0 +1,11 @@
+--- a/src/common/mm_io.cpp 2012-07-08 20:06:02.0 +0200
 b/src/common/mm_io.cpp 2012-07-21 11:59:59.0 +0200
+@@ -147,7 +147,7 @@
+ void
+ mm_file_io_c::prepare_path(const std::string path) {
+   boost::filesystem::path directory = 
boost::filesystem::path(path).parent_path();
+-  if (boost::filesystem::exists(directory))
++  if (directory.empty() || boost::filesystem::exists(directory))
+ return;
+ 
+   boost::system::error_code error_code;