[arch-commits] Commit in moc/repos (5 files)

2012-01-09 Thread Stéphane Gaudreault
Date: Monday, January 9, 2012 @ 13:52:49
  Author: stephane
Revision: 146347

db-move: moved moc from [staging] to [testing] (x86_64)

Added:
  moc/repos/testing-x86_64/
  moc/repos/testing-x86_64/PKGBUILD
(from rev 146321, moc/repos/staging-x86_64/PKGBUILD)
  moc/repos/testing-x86_64/gcc-undefined-symbols.diff
(from rev 146321, moc/repos/staging-x86_64/gcc-undefined-symbols.diff)
  moc/repos/testing-x86_64/moc-ffmpeg.patch
(from rev 146321, moc/repos/staging-x86_64/moc-ffmpeg.patch)
Deleted:
  moc/repos/staging-x86_64/

+
 PKGBUILD   |   44 +++
 gcc-undefined-symbols.diff |   12 +++
 moc-ffmpeg.patch   |   26 +
 3 files changed, 82 insertions(+)

Copied: moc/repos/testing-x86_64/PKGBUILD (from rev 146321, 
moc/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-01-09 18:52:49 UTC (rev 146347)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=moc
+pkgver=20110528
+pkgrel=5
+pkgdesc="An ncurses console audio player with support for the mp3, ogg, and 
wave formats"
+arch=('i686' 'x86_64')
+url="http://moc.daper.net/";
+license=('GPL')
+depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file')
+makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug')
+optdepends=('speex: for using the speex plugin' 
+   'ffmpeg: for using the ffmpeg plugin'
+   'taglib: for using the musepack plugin' 
+   'libmpcdec: for using the musepack plugin' 
+'wavpack: for using the wavpack plugin' 
+   'libmodplug: for using the modplug plugin')
+options=('!libtool')
+source=(ftp://ftp.archlinux.org/other/moc/${pkgname}-${pkgver}.tar.xz \
+gcc-undefined-symbols.diff moc-ffmpeg.patch)
+sha1sums=('f79049136ce6616bfd6af2f5e08246a5921441cf'
+  'a811a4ac7e049914aab528d3f06a6be6634c2720'
+  'f7e8eb17a89fea1c08c8a68f5afd1ffdc641ce9d')
+
+build() {
+  cd "${srcdir}/${pkgname}"
+  patch -p0 -i ../gcc-undefined-symbols.diff
+  patch -p0 -i ../moc-ffmpeg.patch
+
+# Disabling aac to use the external ffmpeg to play them (FS#13164)
+  ./autogen.sh
+  ./configure --prefix=/usr --without-rcc --without-aac \
+--with-oss  --with-alsa  --with-jack --with-mp3 \
+--with-musepack --with-vorbis --with-flac --with-wavpack \
+--with-sndfile --with-modplug --with-ffmpeg --with-speex \
+--with-samplerate --with-curl --disable-debug
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: moc/repos/testing-x86_64/gcc-undefined-symbols.diff (from rev 146321, 
moc/repos/staging-x86_64/gcc-undefined-symbols.diff)
===
--- testing-x86_64/gcc-undefined-symbols.diff   (rev 0)
+++ testing-x86_64/gcc-undefined-symbols.diff   2012-01-09 18:52:49 UTC (rev 
146347)
@@ -0,0 +1,12 @@
+--- decoder.c~ 2011-05-08 09:28:28.077137883 +0200
 decoder.c  2011-05-10 21:40:48.887941968 +0200
+@@ -259,6 +259,9 @@
+   for (i = 0; i < plugins_num; i++)
+   if (plugins[i].decoder->destroy)
+   plugins[i].decoder->destroy ();
++  for (i = 0; i < plugins_num; i++)
++  if (plugins[i].handle)
++lt_dlclose(plugins[i].handle);
+ 
+   if (lt_dlexit())
+   logit ("lt_exit() failed: %s", lt_dlerror());

Copied: moc/repos/testing-x86_64/moc-ffmpeg.patch (from rev 146321, 
moc/repos/staging-x86_64/moc-ffmpeg.patch)
===
--- testing-x86_64/moc-ffmpeg.patch (rev 0)
+++ testing-x86_64/moc-ffmpeg.patch 2012-01-09 18:52:49 UTC (rev 146347)
@@ -0,0 +1,26 @@
+Index: decoder_plugins/ffmpeg/ffmpeg.c
+===
+--- decoder_plugins/ffmpeg/ffmpeg.c(revision 2307)
 decoder_plugins/ffmpeg/ffmpeg.c(working copy)
+@@ -28,12 +28,6 @@
+ #include 
+ #endif
+ 
+-/* libavformat's API will be changing at version 53, but at present there
+- * appears to be no guidance on what will replace the deprecated fields. */
+-#ifndef FF_API_OLD_METADATA
+-#define FF_API_OLD_METADATA(LIBAVFORMAT_VERSION_MAJOR < 53)
+-#endif
+-
+ /* FFmpeg also likes common names, without that, our common.h and log.h
+  * would not be included. */
+ #undef COMMON_H
+@@ -137,7 +131,7 @@
+   av_read_play (data->ic);
+   for (i = 0; i < data->ic->nb_streams; i++) {
+   data->enc = data->ic->streams[i]->codec;
+-  if (data->enc->codec_type == CODEC_TYPE_AUDIO) {
++  if (data->enc->codec_type == AVMEDIA_TYPE_AUDIO) {
+   audio_index = i;
+   break;
+   }



[arch-commits] Commit in moc/repos (5 files)

2012-01-09 Thread Stéphane Gaudreault
Date: Monday, January 9, 2012 @ 13:52:46
  Author: stephane
Revision: 146346

db-move: moved moc from [staging] to [testing] (i686)

Added:
  moc/repos/testing-i686/
  moc/repos/testing-i686/PKGBUILD
(from rev 146321, moc/repos/staging-i686/PKGBUILD)
  moc/repos/testing-i686/gcc-undefined-symbols.diff
(from rev 146321, moc/repos/staging-i686/gcc-undefined-symbols.diff)
  moc/repos/testing-i686/moc-ffmpeg.patch
(from rev 146321, moc/repos/staging-i686/moc-ffmpeg.patch)
Deleted:
  moc/repos/staging-i686/

+
 PKGBUILD   |   44 +++
 gcc-undefined-symbols.diff |   12 +++
 moc-ffmpeg.patch   |   26 +
 3 files changed, 82 insertions(+)

Copied: moc/repos/testing-i686/PKGBUILD (from rev 146321, 
moc/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-01-09 18:52:46 UTC (rev 146346)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=moc
+pkgver=20110528
+pkgrel=5
+pkgdesc="An ncurses console audio player with support for the mp3, ogg, and 
wave formats"
+arch=('i686' 'x86_64')
+url="http://moc.daper.net/";
+license=('GPL')
+depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file')
+makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug')
+optdepends=('speex: for using the speex plugin' 
+   'ffmpeg: for using the ffmpeg plugin'
+   'taglib: for using the musepack plugin' 
+   'libmpcdec: for using the musepack plugin' 
+'wavpack: for using the wavpack plugin' 
+   'libmodplug: for using the modplug plugin')
+options=('!libtool')
+source=(ftp://ftp.archlinux.org/other/moc/${pkgname}-${pkgver}.tar.xz \
+gcc-undefined-symbols.diff moc-ffmpeg.patch)
+sha1sums=('f79049136ce6616bfd6af2f5e08246a5921441cf'
+  'a811a4ac7e049914aab528d3f06a6be6634c2720'
+  'f7e8eb17a89fea1c08c8a68f5afd1ffdc641ce9d')
+
+build() {
+  cd "${srcdir}/${pkgname}"
+  patch -p0 -i ../gcc-undefined-symbols.diff
+  patch -p0 -i ../moc-ffmpeg.patch
+
+# Disabling aac to use the external ffmpeg to play them (FS#13164)
+  ./autogen.sh
+  ./configure --prefix=/usr --without-rcc --without-aac \
+--with-oss  --with-alsa  --with-jack --with-mp3 \
+--with-musepack --with-vorbis --with-flac --with-wavpack \
+--with-sndfile --with-modplug --with-ffmpeg --with-speex \
+--with-samplerate --with-curl --disable-debug
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: moc/repos/testing-i686/gcc-undefined-symbols.diff (from rev 146321, 
moc/repos/staging-i686/gcc-undefined-symbols.diff)
===
--- testing-i686/gcc-undefined-symbols.diff (rev 0)
+++ testing-i686/gcc-undefined-symbols.diff 2012-01-09 18:52:46 UTC (rev 
146346)
@@ -0,0 +1,12 @@
+--- decoder.c~ 2011-05-08 09:28:28.077137883 +0200
 decoder.c  2011-05-10 21:40:48.887941968 +0200
+@@ -259,6 +259,9 @@
+   for (i = 0; i < plugins_num; i++)
+   if (plugins[i].decoder->destroy)
+   plugins[i].decoder->destroy ();
++  for (i = 0; i < plugins_num; i++)
++  if (plugins[i].handle)
++lt_dlclose(plugins[i].handle);
+ 
+   if (lt_dlexit())
+   logit ("lt_exit() failed: %s", lt_dlerror());

Copied: moc/repos/testing-i686/moc-ffmpeg.patch (from rev 146321, 
moc/repos/staging-i686/moc-ffmpeg.patch)
===
--- testing-i686/moc-ffmpeg.patch   (rev 0)
+++ testing-i686/moc-ffmpeg.patch   2012-01-09 18:52:46 UTC (rev 146346)
@@ -0,0 +1,26 @@
+Index: decoder_plugins/ffmpeg/ffmpeg.c
+===
+--- decoder_plugins/ffmpeg/ffmpeg.c(revision 2307)
 decoder_plugins/ffmpeg/ffmpeg.c(working copy)
+@@ -28,12 +28,6 @@
+ #include 
+ #endif
+ 
+-/* libavformat's API will be changing at version 53, but at present there
+- * appears to be no guidance on what will replace the deprecated fields. */
+-#ifndef FF_API_OLD_METADATA
+-#define FF_API_OLD_METADATA(LIBAVFORMAT_VERSION_MAJOR < 53)
+-#endif
+-
+ /* FFmpeg also likes common names, without that, our common.h and log.h
+  * would not be included. */
+ #undef COMMON_H
+@@ -137,7 +131,7 @@
+   av_read_play (data->ic);
+   for (i = 0; i < data->ic->nb_streams; i++) {
+   data->enc = data->ic->streams[i]->codec;
+-  if (data->enc->codec_type == CODEC_TYPE_AUDIO) {
++  if (data->enc->codec_type == AVMEDIA_TYPE_AUDIO) {
+   audio_index = i;
+   break;
+   }



[arch-commits] Commit in moc/repos (5 files)

2011-11-05 Thread Ionut Biru
Date: Saturday, November 5, 2011 @ 07:38:06
  Author: ibiru
Revision: 142155

db-move: moved moc from [staging] to [testing] (x86_64)

Added:
  moc/repos/testing-x86_64/
  moc/repos/testing-x86_64/PKGBUILD
(from rev 142117, moc/repos/staging-x86_64/PKGBUILD)
  moc/repos/testing-x86_64/gcc-undefined-symbols.diff
(from rev 142117, moc/repos/staging-x86_64/gcc-undefined-symbols.diff)
  moc/repos/testing-x86_64/moc-ffmpeg.patch
(from rev 142117, moc/repos/staging-x86_64/moc-ffmpeg.patch)
Deleted:
  moc/repos/staging-x86_64/

+
 PKGBUILD   |   44 +++
 gcc-undefined-symbols.diff |   12 +++
 moc-ffmpeg.patch   |   26 +
 3 files changed, 82 insertions(+)

Copied: moc/repos/testing-x86_64/PKGBUILD (from rev 142117, 
moc/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-11-05 11:38:06 UTC (rev 142155)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=moc
+pkgver=20110528
+pkgrel=4
+pkgdesc="An ncurses console audio player with support for the mp3, ogg, and 
wave formats"
+arch=('i686' 'x86_64')
+url="http://moc.daper.net/";
+license=('GPL')
+depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file')
+makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug')
+optdepends=('speex: for using the speex plugin' 
+   'ffmpeg: for using the ffmpeg plugin'
+   'taglib: for using the musepack plugin' 
+   'libmpcdec: for using the musepack plugin' 
+'wavpack: for using the wavpack plugin' 
+   'libmodplug: for using the modplug plugin')
+options=('!libtool')
+source=(ftp://ftp.archlinux.org/other/moc/${pkgname}-${pkgver}.tar.xz \
+gcc-undefined-symbols.diff moc-ffmpeg.patch)
+sha1sums=('f79049136ce6616bfd6af2f5e08246a5921441cf'
+  'a811a4ac7e049914aab528d3f06a6be6634c2720'
+  'f7e8eb17a89fea1c08c8a68f5afd1ffdc641ce9d')
+
+build() {
+  cd "${srcdir}/${pkgname}"
+  patch -p0 -i ../gcc-undefined-symbols.diff
+  patch -p0 -i ../moc-ffmpeg.patch
+
+# Disabling aac to use the external ffmpeg to play them (FS#13164)
+  ./autogen.sh
+  ./configure --prefix=/usr --without-rcc --without-aac \
+--with-oss  --with-alsa  --with-jack --with-mp3 \
+--with-musepack --with-vorbis --with-flac --with-wavpack \
+--with-sndfile --with-modplug --with-ffmpeg --with-speex \
+--with-samplerate --with-curl --disable-debug
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: moc/repos/testing-x86_64/gcc-undefined-symbols.diff (from rev 142117, 
moc/repos/staging-x86_64/gcc-undefined-symbols.diff)
===
--- testing-x86_64/gcc-undefined-symbols.diff   (rev 0)
+++ testing-x86_64/gcc-undefined-symbols.diff   2011-11-05 11:38:06 UTC (rev 
142155)
@@ -0,0 +1,12 @@
+--- decoder.c~ 2011-05-08 09:28:28.077137883 +0200
 decoder.c  2011-05-10 21:40:48.887941968 +0200
+@@ -259,6 +259,9 @@
+   for (i = 0; i < plugins_num; i++)
+   if (plugins[i].decoder->destroy)
+   plugins[i].decoder->destroy ();
++  for (i = 0; i < plugins_num; i++)
++  if (plugins[i].handle)
++lt_dlclose(plugins[i].handle);
+ 
+   if (lt_dlexit())
+   logit ("lt_exit() failed: %s", lt_dlerror());

Copied: moc/repos/testing-x86_64/moc-ffmpeg.patch (from rev 142117, 
moc/repos/staging-x86_64/moc-ffmpeg.patch)
===
--- testing-x86_64/moc-ffmpeg.patch (rev 0)
+++ testing-x86_64/moc-ffmpeg.patch 2011-11-05 11:38:06 UTC (rev 142155)
@@ -0,0 +1,26 @@
+Index: decoder_plugins/ffmpeg/ffmpeg.c
+===
+--- decoder_plugins/ffmpeg/ffmpeg.c(revision 2307)
 decoder_plugins/ffmpeg/ffmpeg.c(working copy)
+@@ -28,12 +28,6 @@
+ #include 
+ #endif
+ 
+-/* libavformat's API will be changing at version 53, but at present there
+- * appears to be no guidance on what will replace the deprecated fields. */
+-#ifndef FF_API_OLD_METADATA
+-#define FF_API_OLD_METADATA(LIBAVFORMAT_VERSION_MAJOR < 53)
+-#endif
+-
+ /* FFmpeg also likes common names, without that, our common.h and log.h
+  * would not be included. */
+ #undef COMMON_H
+@@ -137,7 +131,7 @@
+   av_read_play (data->ic);
+   for (i = 0; i < data->ic->nb_streams; i++) {
+   data->enc = data->ic->streams[i]->codec;
+-  if (data->enc->codec_type == CODEC_TYPE_AUDIO) {
++  if (data->enc->codec_type == AVMEDIA_TYPE_AUDIO) {
+   audio_index = i;
+   break;
+   }



[arch-commits] Commit in moc/repos (5 files)

2011-11-05 Thread Ionut Biru
Date: Saturday, November 5, 2011 @ 07:38:05
  Author: ibiru
Revision: 142154

db-move: moved moc from [staging] to [testing] (i686)

Added:
  moc/repos/testing-i686/
  moc/repos/testing-i686/PKGBUILD
(from rev 142117, moc/repos/staging-i686/PKGBUILD)
  moc/repos/testing-i686/gcc-undefined-symbols.diff
(from rev 142117, moc/repos/staging-i686/gcc-undefined-symbols.diff)
  moc/repos/testing-i686/moc-ffmpeg.patch
(from rev 142117, moc/repos/staging-i686/moc-ffmpeg.patch)
Deleted:
  moc/repos/staging-i686/

+
 PKGBUILD   |   44 +++
 gcc-undefined-symbols.diff |   12 +++
 moc-ffmpeg.patch   |   26 +
 3 files changed, 82 insertions(+)

Copied: moc/repos/testing-i686/PKGBUILD (from rev 142117, 
moc/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2011-11-05 11:38:05 UTC (rev 142154)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=moc
+pkgver=20110528
+pkgrel=4
+pkgdesc="An ncurses console audio player with support for the mp3, ogg, and 
wave formats"
+arch=('i686' 'x86_64')
+url="http://moc.daper.net/";
+license=('GPL')
+depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file')
+makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug')
+optdepends=('speex: for using the speex plugin' 
+   'ffmpeg: for using the ffmpeg plugin'
+   'taglib: for using the musepack plugin' 
+   'libmpcdec: for using the musepack plugin' 
+'wavpack: for using the wavpack plugin' 
+   'libmodplug: for using the modplug plugin')
+options=('!libtool')
+source=(ftp://ftp.archlinux.org/other/moc/${pkgname}-${pkgver}.tar.xz \
+gcc-undefined-symbols.diff moc-ffmpeg.patch)
+sha1sums=('f79049136ce6616bfd6af2f5e08246a5921441cf'
+  'a811a4ac7e049914aab528d3f06a6be6634c2720'
+  'f7e8eb17a89fea1c08c8a68f5afd1ffdc641ce9d')
+
+build() {
+  cd "${srcdir}/${pkgname}"
+  patch -p0 -i ../gcc-undefined-symbols.diff
+  patch -p0 -i ../moc-ffmpeg.patch
+
+# Disabling aac to use the external ffmpeg to play them (FS#13164)
+  ./autogen.sh
+  ./configure --prefix=/usr --without-rcc --without-aac \
+--with-oss  --with-alsa  --with-jack --with-mp3 \
+--with-musepack --with-vorbis --with-flac --with-wavpack \
+--with-sndfile --with-modplug --with-ffmpeg --with-speex \
+--with-samplerate --with-curl --disable-debug
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: moc/repos/testing-i686/gcc-undefined-symbols.diff (from rev 142117, 
moc/repos/staging-i686/gcc-undefined-symbols.diff)
===
--- testing-i686/gcc-undefined-symbols.diff (rev 0)
+++ testing-i686/gcc-undefined-symbols.diff 2011-11-05 11:38:05 UTC (rev 
142154)
@@ -0,0 +1,12 @@
+--- decoder.c~ 2011-05-08 09:28:28.077137883 +0200
 decoder.c  2011-05-10 21:40:48.887941968 +0200
+@@ -259,6 +259,9 @@
+   for (i = 0; i < plugins_num; i++)
+   if (plugins[i].decoder->destroy)
+   plugins[i].decoder->destroy ();
++  for (i = 0; i < plugins_num; i++)
++  if (plugins[i].handle)
++lt_dlclose(plugins[i].handle);
+ 
+   if (lt_dlexit())
+   logit ("lt_exit() failed: %s", lt_dlerror());

Copied: moc/repos/testing-i686/moc-ffmpeg.patch (from rev 142117, 
moc/repos/staging-i686/moc-ffmpeg.patch)
===
--- testing-i686/moc-ffmpeg.patch   (rev 0)
+++ testing-i686/moc-ffmpeg.patch   2011-11-05 11:38:05 UTC (rev 142154)
@@ -0,0 +1,26 @@
+Index: decoder_plugins/ffmpeg/ffmpeg.c
+===
+--- decoder_plugins/ffmpeg/ffmpeg.c(revision 2307)
 decoder_plugins/ffmpeg/ffmpeg.c(working copy)
+@@ -28,12 +28,6 @@
+ #include 
+ #endif
+ 
+-/* libavformat's API will be changing at version 53, but at present there
+- * appears to be no guidance on what will replace the deprecated fields. */
+-#ifndef FF_API_OLD_METADATA
+-#define FF_API_OLD_METADATA(LIBAVFORMAT_VERSION_MAJOR < 53)
+-#endif
+-
+ /* FFmpeg also likes common names, without that, our common.h and log.h
+  * would not be included. */
+ #undef COMMON_H
+@@ -137,7 +131,7 @@
+   av_read_play (data->ic);
+   for (i = 0; i < data->ic->nb_streams; i++) {
+   data->enc = data->ic->streams[i]->codec;
+-  if (data->enc->codec_type == CODEC_TYPE_AUDIO) {
++  if (data->enc->codec_type == AVMEDIA_TYPE_AUDIO) {
+   audio_index = i;
+   break;
+   }