Bug#758330: marked as done (blender: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758330,
regarding blender: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758330: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758330
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: blender
Version: 2.71+dfsg0-4
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 000..05b6c03
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,17 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun andreas.cadhal...@googlemail.com
+Last-Update: 2014-07-27
+
+--- blender-2.70.orig/CMakeLists.txt
 blender-2.70/CMakeLists.txt
+@@ -679,7 +679,8 @@ if(UNIX AND NOT APPLE)
+ 
+ 	if(WITH_CODEC_FFMPEG)
+ 		set(FFMPEG /usr CACHE PATH FFMPEG Directory)
+-		set(FFMPEG_LIBRARIES avformat avcodec avutil avdevice swscale CACHE STRING FFMPEG Libraries)
++		INCLUDE(FindPkgConfig REQUIRED)
++		pkg_check_modules(FFMPEG libavformat libavcodec libavutil libavdevice libswscale)
+ 
+ 		mark_as_advanced(FFMPEG)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index f217945..5f3628e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
 0007-look_for_droid_ttf_with_fontconfig.patch
 0008-fix_FTBFS_on_unofficial_64bit_archs.patch
 0009-fix_includes_on_different_endian_systems.patch
+pkg-config.patch

---End Message---
---BeginMessage---

Dear maintainer,

I have found a simpler way to make it possible to link your package 
against FFmpeg in Debian:
The lib*-ffmpeg-dev packages now install symbolic links from the 
standard lib*.so library names to the suffixed ones.
This makes it possible to use the normal linker flags, e.g. '-lavcodec', 
to link against the FFmpeg libraries with '-ffmpeg' suffix.


Thus the pkg-config patch is no longer necessary.

I wish I had found this solution sooner and am sorry for the noise I 
created in your inbox.


Best regards,
Andreas---End Message---
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#758331: marked as done (cantata: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758331,
regarding cantata: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758331: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758331
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: cantata
Version: 1.3.4.ds1-1
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 000..3e1121a
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,23 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun andreas.cadhal...@googlemail.com
+Last-Update: 2014-08-06
+
+--- cantata-1.1.3.ds1.orig/cmake/FindFFMPEG.cmake
 cantata-1.1.3.ds1/cmake/FindFFMPEG.cmake
+@@ -7,12 +7,9 @@ pkg_check_modules(PC_LIBAVUTIL QUIET lib
+ find_path(FFMPEG_INCLUDE_DIR libavcodec/avcodec.h
+   HINTS ${PC_LIBAVCODEC_INCLUDEDIR} ${PC_LIBAVCODEC_INCLUDE_DIRS})
+ 
+-find_library(LIBAVCODEC_LIBRARY NAMES avcodec avcodec-52
+- HINTS ${PC_LIBAVCODEC_LIBDIR} ${PC_LIBAVCODEC_LIBRARY_DIRS})
+-find_library(LIBAVFORMAT_LIBRARY NAMES avformat avformat-52
+- HINTS ${PC_LIBAVFORMAT_LIBDIR} ${PC_LIBAVFORMAT_LIBRARY_DIRS})
+-find_library(LIBAVUTIL_LIBRARY NAMES avutil avutil-50
+- HINTS ${PC_LIBAVUTIL_LIBDIR} ${PC_LIBAVUTIL_LIBRARY_DIRS})
++set(LIBAVCODEC_LIBRARY ${PC_LIBAVCODEC_LIBRARIES})
++set(LIBAVFORMAT_LIBRARY ${PC_LIBAVFORMAT_LIBRARIES})
++set(LIBAVUTIL_LIBRARY ${PC_LIBAVUTIL_LIBRARIES})
+ 
+ set(FFMPEG_LIBRARIES ${LIBAVCODEC_LIBRARY} ${LIBAVFORMAT_LIBRARY} ${LIBAVUTIL_LIBRARY})
+ set(FFMPEG_INCLUDE_DIRS ${FFMPEG_INCLUDE_DIR})
diff --git a/debian/patches/series b/debian/patches/series
index 574311c..3463e59 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 # only needed for Qt in wheezy
 #playeradaptor.patch
+pkg-config.patch

---End Message---
---BeginMessage---

Dear maintainer,

I have found a simpler way to make it possible to link your package 
against FFmpeg in Debian:
The lib*-ffmpeg-dev packages now install symbolic links from the 
standard lib*.so library names to the suffixed ones.
This makes it possible to use the normal linker flags, e.g. '-lavcodec', 
to link against the FFmpeg libraries with '-ffmpeg' suffix.


Thus the pkg-config patch is no longer necessary.

I wish I had found this solution sooner and am sorry for the noise I 
created in your inbox.


Best regards,
Andreas---End Message---
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#758335: marked as done (ffdiaporama: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758335,
regarding ffdiaporama: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758335: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758335
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: ffdiaporama
Version: 1.5-4
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 000..2e98bcb
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,13 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun andreas.cadhal...@googlemail.com
+Last-Update: 2014-05-16
+
+--- ffdiaporama-1.5.orig/src/common.pri
 ffdiaporama-1.5/src/common.pri
+@@ -78,4 +78,4 @@ win32 {
+ # Libs for windows and linux
+ LIBS+= -ltag#-- TAGlib
+ LIBS	+= -lSDL#-- SDL
+-LIBS+= -lavformat -lavcodec -lavutil -lswscale -lavfilter -lavresample #-- libav lib link
++LIBS+= `pkg-config --libs libavformat libavcodec libavutil libswscale libavfilter libavresample`   #-- libav lib link
diff --git a/debian/patches/series b/debian/patches/series
index 48238b7..7f988c8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix_hardening_flags.patch
 libav_0.9.patch
 libav10.patch
+pkg-config.patch

---End Message---
---BeginMessage---

Dear maintainer,

I have found a simpler way to make it possible to link your package 
against FFmpeg in Debian:
The lib*-ffmpeg-dev packages now install symbolic links from the 
standard lib*.so library names to the suffixed ones.
This makes it possible to use the normal linker flags, e.g. '-lavcodec', 
to link against the FFmpeg libraries with '-ffmpeg' suffix.


Thus the pkg-config patch is no longer necessary.

I wish I had found this solution sooner and am sorry for the noise I 
created in your inbox.


Best regards,
Andreas---End Message---
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#758340: marked as done (gpac: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758340,
regarding gpac: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758340: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758340
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: gpac
Version: 0.5.0+svn5324~dfsg1-1
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 000..51ef041
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,63 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun andreas.cadhal...@googlemail.com
+Last-Update: 2014-08-06
+
+--- gpac-0.5.0+svn5324~dfsg1.orig/applications/dashcast/Makefile
 gpac-0.5.0+svn5324~dfsg1/applications/dashcast/Makefile
+@@ -26,7 +26,7 @@ endif
+ 
+ ifneq ($(CONFIG_LIBAVRESAMPLE),no)
+ CFLAGS+=-DDC_AUDIO_RESAMPLER
+-LINKLIBS+=-lavresample
++LINKLIBS+=$(avr_lflags)
+ endif
+ 
+ #common obj
+--- gpac-0.5.0+svn5324~dfsg1.orig/configure
 gpac-0.5.0+svn5324~dfsg1/configure
+@@ -1289,12 +1289,16 @@ fi
+ 
+ ffmpeg_cflags=
+ ffmpeg_lflags=-lz -lavcodec -lavformat -lavutil -lswscale -lavdevice
++avr_lflags=-lavresample
+ if test $cross_prefix =  -a $pkg_config != no; then
+   if $pkg_config --exists libavcodec libavformat libswscale libavdevice libavutil 2 /dev/null  ; then
+ ffmpeg_cflags=`$pkg_config --cflags libavcodec libavformat libswscale libavutil libavdevice`
+ ffmpeg_lflags=`$pkg_config --libs libavcodec libavformat libswscale libavutil libavdevice`
+ has_ffmpeg=system
+   fi
++  if $pkg_config --exists libavresample 2 /dev/null  ; then
++avr_lflags=`$pkg_config --libs libavresample`
++  fi
+ fi
+ 
+ cat  $TMPC  EOF
+@@ -1388,7 +1392,7 @@ int main(void) {
+ }
+ EOF
+ 
+-if $cc -o $TMPO $TMPC $ffmpeg_cflags $ffmpeg_lflags -lavresample 2 /dev/null  ; then
++if $cc -o $TMPO $TMPC $ffmpeg_cflags $ffmpeg_lflags $avr_lflags 2 /dev/null  ; then
+ has_libavresample=yes
+ else
+ has_libavresample=no
+@@ -2932,6 +2936,7 @@ echo DISABLE_DASHCAST=yes  config.ma
+ else
+ echo ffmpeg_cflags=$ffmpeg_cflags  config.mak
+ echo ffmpeg_lflags=$ffmpeg_lflags  config.mak
++echo avr_lflags=$avr_lflags  config.mak
+ echo CONFIG_LIBAV=$is_libav  config.mak
+ echo CONFIG_LIBAVRESAMPLE=$has_libavresample  config.mak
+ fi
+--- gpac-0.5.0+svn5194~dfsg1.orig/modules/ffmpeg_in/Makefile
 gpac-0.5.0+svn5194~dfsg1/modules/ffmpeg_in/Makefile
+@@ -25,8 +25,6 @@ endif
+ #old ffmpeg lib
+ ifeq ($(CONFIG_FFMPEG_OLD), yes)
+ CFLAGS+=-DFFMPEG_OLD_HEADERS -I/usr/include
+-else
+-LINKLIBS+=-lswscale
+ endif
+ 
+ #common obj
diff --git a/debian/patches/series b/debian/patches/series
index 49b48c8..7c5b369 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ mp4box-manpage-fix.patch
 gcc-optflags.patch
 libav10.patch
 export_gf_isom_set_pixel_aspect_ratio.patch
+pkg-config.patch

---End Message---
---BeginMessage---

Dear maintainer,

I have found a simpler way to make it possible to link your package 
against FFmpeg in Debian:
The lib*-ffmpeg-dev packages now install symbolic links from the 
standard lib*.so library names to the suffixed ones.
This makes it possible to use the normal linker flags, e.g. '-lavcodec', 
to link against the FFmpeg libraries with '-ffmpeg' suffix.


Thus the pkg-config patch is no longer necessary.

I wish I 

Bug#758332: marked as done (chromaprint: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758332,
regarding chromaprint: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758332: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758332
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: chromaprint
Version: 1.1-1
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/control b/debian/control
index 52ddf8e..8e62bcc 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,8 @@ Build-Depends:
  libavresample-dev,
  libfftw3-dev,
  libgtest-dev,
- python-docutils (= 0.6)
+ python-docutils (= 0.6),
+ pkg-config
 Standards-Version: 3.9.5
 Section: libs
 Homepage: http://wiki.acoustid.org/wiki/Chromaprint
diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 000..44f8e95
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,48 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun andreas.cadhal...@googlemail.com
+Last-Update: 2014-07-27
+
+--- chromaprint-1.1.orig/CMakeLists.txt
 chromaprint-1.1/CMakeLists.txt
+@@ -66,6 +66,7 @@ option(WITH_VDSP Use vDSP for FFT calcu
+ set(TESTS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/tests/)
+ 
+ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
++find_package(PkgConfig)
+ find_package(FFmpeg)
+ find_package(FFTW3)
+ if(APPLE)
+--- chromaprint-1.1.orig/cmake/modules/FindFFmpeg.cmake
 chromaprint-1.1/cmake/modules/FindFFmpeg.cmake
+@@ -47,29 +47,7 @@ MACRO(FFMPEG_FIND varname shortname head
+ 		DOC Location of FFMPEG Headers
+ 	)
+ 
+-FIND_LIBRARY(FFMPEG_${varname}_LIBRARIES
+-NAMES ${shortname}
+-PATHS
+-${FFMPEG_ROOT}/lib
+-$ENV{FFMPEG_DIR}/lib
+-~/Library/Frameworks
+-/Library/Frameworks
+-/usr/local/lib
+-/usr/local/lib64
+-/usr/lib
+-/usr/lib64
+-/sw/lib
+-/opt/local/lib
+-/opt/csw/lib
+-/opt/lib
+-/usr/freeware/lib64
+-		NO_DEFAULT_PATH
+-DOC Location of FFMPEG Libraries
+-)
+-FIND_LIBRARY(FFMPEG_${varname}_LIBRARIES
+-NAMES ${shortname}
+-DOC Location of FFMPEG Libraries
+-)
++	pkg_check_modules(FFMPEG_${varname} lib${shortname})
+ 
+ IF (FFMPEG_${varname}_LIBRARIES AND FFMPEG_${varname}_INCLUDE_DIRS)
+ SET(FFMPEG_${varname}_FOUND 1)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 000..9937964
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pkg-config.patch

---End Message---
---BeginMessage---

Dear maintainer,

I have found a simpler way to make it possible to link your package 
against FFmpeg in Debian:
The lib*-ffmpeg-dev packages now install symbolic links from the 
standard lib*.so library names to the suffixed ones.
This makes it possible to use the normal linker flags, e.g. '-lavcodec', 
to link against the FFmpeg libraries with '-ffmpeg' suffix.


Thus the pkg-config patch is no longer necessary.

I wish I had found this solution sooner and am sorry for the noise I 
created in your inbox.


Best regards,
Andreas---End Message---
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#758343: marked as done (idjc: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758343,
regarding idjc: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758343: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758343
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: idjc
Version: 0.8.14-1
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 000..fd88c6a
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,17 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun andreas.cadhal...@googlemail.com
+Last-Update: 2014-05-14
+
+--- idjc-0.8.14.orig/configure.ac
 idjc-0.8.14/configure.ac
+@@ -46,7 +46,8 @@ if test $makelibav != no ; then
+ 
+PKG_CHECK_MODULES([LIBAVCODEC], [libavcodec], [AC_DEFINE(HAVE_AVCODEC, 1, [Set if libavcodec was found])
+ AC_SUBST(HAVE_AVCODEC, 1)
+-AC_CHECK_LIB([avcodec],[avcodec_decode_audio4], :, AC_MSG_ERROR(configure with --disable-libav or update ffmpeg/libav))
++avc_name=`echo $LIBAVCODEC_LIBS | sed 's/-l//'`
++AC_CHECK_LIB([$avc_name],[avcodec_decode_audio4], :, AC_MSG_ERROR(configure with --disable-libav or update ffmpeg/libav))
+ ],
+ AC_SUBST(HAVE_AVCODEC, 0)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index aede80e..9ac970d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ libav.patch
 implicit-declarations.patch
 desktop.patch
 man.patch
+pkg-config.patch

---End Message---
---BeginMessage---

Dear maintainer,

I have found a simpler way to make it possible to link your package 
against FFmpeg in Debian:
The lib*-ffmpeg-dev packages now install symbolic links from the 
standard lib*.so library names to the suffixed ones.
This makes it possible to use the normal linker flags, e.g. '-lavcodec', 
to link against the FFmpeg libraries with '-ffmpeg' suffix.


Thus the pkg-config patch is no longer necessary.

I wish I had found this solution sooner and am sorry for the noise I 
created in your inbox.


Best regards,
Andreas---End Message---
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#758341: marked as done (handbrake: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758341,
regarding handbrake: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758341: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758341
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: handbrake
Version: 0.9.9+svn6032+dfsg1-2
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 000..4ec87ee
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,36 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun andreas.cadhal...@googlemail.com
+Last-Update: 2014-05-21
+
+--- handbrake-0.9.9+svn6032+dfsg1.orig/gtk/configure.ac
 handbrake-0.9.9+svn6032+dfsg1/gtk/configure.ac
+@@ -183,7 +183,9 @@ case $host in
+ ;;
+ esac
+ 
+-HB_LIBS=-lhandbrake -la52 -lavresample -lavformat -lavcodec -lavutil -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lsamplerate -lx264 -lswscale -ltheoraenc -ltheoradec -lz -lbz2 -lpthread -lbluray -lass -lfontconfig -lfreetype -lxml2 -ldl
++PKG_CHECK_MODULES([FFMPEG], [libavresample libavformat libavcodec libavutil libswscale])
++
++HB_LIBS=-lhandbrake -la52 $FFMPEG_LIBS -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lsamplerate -lx264 -ltheoraenc -ltheoradec -lz -lbz2 -lpthread -lbluray -lass -lfontconfig -lfreetype -lxml2 -ldl
+ 
+ if test x$use_fdk_aac = xyes ; then
+ HB_LIBS+= -lfdk-aac
+--- handbrake-0.9.9+svn6032+dfsg1.orig/test/module.defs
 handbrake-0.9.9+svn6032+dfsg1/test/module.defs
+@@ -11,10 +11,13 @@ TEST.exe = $(BUILD/)$(call TARGET.exe,$(
+ 
+ TEST.libs = $(LIBHB.a)
+ 
++FFMPEG_LIBS = $(shell $(PKGCONFIG.exe) --libs libavcodec libavformat libavutil libavresample libswscale)
++FFMPEG_NAMES = $(subst -l,,$(FFMPEG_LIBS))
++
+ TEST.GCC.l = \
+-a52 ass avcodec avformat avutil avresample dvdnav dvdread \
++a52 ass $(FFMPEG_NAMES) dvdnav dvdread \
+ fontconfig mp3lame ogg \
+-samplerate swscale theoraenc theoradec vorbis vorbisenc x264 \
++samplerate theoraenc theoradec vorbis vorbisenc x264 \
+ bluray freetype xml2 bz2 z
+ 
+ ifeq (1,$(FEATURE.qsv))
diff --git a/debian/patches/series b/debian/patches/series
index b887273..4e453ae 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 001-Do-not-require-wget-or-curl.patch
 002-Remove-embedded-downloaded-copies-of-various-librari.patch
 004-link-fix-add-ldl.patch
+pkg-config.patch

---End Message---
---BeginMessage---

Dear maintainer,

I have found a simpler way to make it possible to link your package 
against FFmpeg in Debian:
The lib*-ffmpeg-dev packages now install symbolic links from the 
standard lib*.so library names to the suffixed ones.
This makes it possible to use the normal linker flags, e.g. '-lavcodec', 
to link against the FFmpeg libraries with '-ffmpeg' suffix.


Thus the pkg-config patch is no longer necessary.

I wish I had found this solution sooner and am sorry for the noise I 
created in your inbox.


Best regards,
Andreas---End Message---
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#758350: marked as done (libgroove: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758350,
regarding libgroove: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758350: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758350
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: libgroove
Version: 4.1.1+dfsg-1
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 000..0d888f1
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,37 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun andreas.cadhal...@googlemail.com
+Last-Update: 2014-05-20
+
+--- libgroove-4.0.1+dfsg.orig/CMakeLists.txt
 libgroove-4.0.1+dfsg/CMakeLists.txt
+@@ -121,7 +121,7 @@ else(DISABLE_PLAYER)
+ endif(DISABLE_PLAYER)
+ 
+ # check for libav
+-find_package(LibAV 10.0)
++find_package(LibAV)
+ if(LIBAV_AVCODEC_FOUND AND LIBAV_AVFILTER_FOUND AND LIBAV_AVFORMAT_FOUND AND LIBAV_AVUTIL_FOUND)
+   set(LIBAV_IS_BUNDLED FALSE)
+   set(STATUS_DEP_LIBAV using system libraries)
+--- libgroove-4.0.1+dfsg.orig/cmake/FindLibAV.cmake
 libgroove-4.0.1+dfsg/cmake/FindLibAV.cmake
+@@ -72,12 +72,17 @@ if (NOT LibAV_FIND_COMPONENTS)
+   set (LibAV_FIND_COMPONENTS avcodec avdevice avfilter avformat avutil swscale)
+ endif (NOT LibAV_FIND_COMPONENTS)
+ 
++find_package(PkgConfig)
++
+ FOREACH (_LIBAV_COMPONENT ${LibAV_FIND_COMPONENTS})
+   STRING (TOUPPER ${_LIBAV_COMPONENT} _LIBAV_COMPONENT_UPPER)
+   SET (_LIBAV_LIBRARY_BASE LIBAV_${_LIBAV_COMPONENT_UPPER}_LIBRARY)
+ 
++  pkg_check_modules(PC_${_LIBAV_COMPONENT} lib${_LIBAV_COMPONENT})
++  string(REPLACE -l  ${_LIBAV_COMPONENT}_name ${PC_${_LIBAV_COMPONENT}_LIBRARIES})
++
+   FIND_LIBRARY (${_LIBAV_LIBRARY_BASE}
+-NAMES ${_LIBAV_COMPONENT}
++NAMES ${${_LIBAV_COMPONENT}_name} ${_LIBAV_COMPONENT}
+ HINTS ${LIBAV_ROOT_DIR}
+ PATH_SUFFIXES bin lib
+ DOC libav ${_LIBAV_COMPONENT} library)
diff --git a/debian/patches/series b/debian/patches/series
index 5a34f1b..d6bd28d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,1 +1,2 @@
 gnu-install-dirs.patch
+pkg-config.patch

---End Message---
---BeginMessage---

Dear maintainer,

I have found a simpler way to make it possible to link your package 
against FFmpeg in Debian:
The lib*-ffmpeg-dev packages now install symbolic links from the 
standard lib*.so library names to the suffixed ones.
This makes it possible to use the normal linker flags, e.g. '-lavcodec', 
to link against the FFmpeg libraries with '-ffmpeg' suffix.


Thus the pkg-config patch is no longer necessary.

I wish I had found this solution sooner and am sorry for the noise I 
created in your inbox.


Best regards,
Andreas---End Message---
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#758352: marked as done (lives: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758352,
regarding lives: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758352: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758352
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: lives
Version: 2.2.5~ds0-1
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/patches/04-pkg-config.patch b/debian/patches/04-pkg-config.patch
new file mode 100644
index 000..9f2001b
--- /dev/null
+++ b/debian/patches/04-pkg-config.patch
@@ -0,0 +1,34 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun andreas.cadhal...@googlemail.com
+Last-Update: 2014-05-14
+
+--- lives-2.2.4~ds0.orig/configure.ac
 lives-2.2.4~ds0/configure.ac
+@@ -460,18 +460,20 @@ HAVE_AV_SET_PTS_INFO=false
+ HAVE_AVPRIV_SET_PTS_INFO=false
+ 
+ if test $HAVE_AVCODEC = true ; then
+-AC_CHECK_LIB(avcodec,avcodec_open2,HAVE_AVCODEC_OPEN2=true,HAVE_AVCODEC_OPEN2=false)
+-AC_CHECK_LIB(avcodec,avcodec_alloc_context3,HAVE_AVCODEC_ALLOC_CONTEXT3=true,HAVE_AVCODEC_ALLOC_COBTEXT3=false)
++avc_name=`echo $LIBAVCODEC_LIBS | sed 's/-l//'`
++AC_CHECK_LIB([$avc_name],avcodec_open2,HAVE_AVCODEC_OPEN2=true,HAVE_AVCODEC_OPEN2=false)
++AC_CHECK_LIB([$avc_name],avcodec_alloc_context3,HAVE_AVCODEC_ALLOC_CONTEXT3=true,HAVE_AVCODEC_ALLOC_COBTEXT3=false)
+ fi
+ 
+ if test $HAVE_AVFORMAT = true ; then
+-AC_CHECK_LIB(avformat,avformat_new_stream,HAVE_AVFORMAT_NEW_STREAM=true,HAVE_AVFORMAT_NEW_STREAM=false)
+-AC_CHECK_LIB(avformat,avformat_find_stream_info,HAVE_AVFORMAT_FIND_STREAM_INFO=true,HAVE_AVFORMAT_FIND_STREAM_INFO=false)
++avf_name=`echo $LIBAVFORMAT_LIBS | sed 's/-l//'`
++AC_CHECK_LIB([$avf_name],avformat_new_stream,HAVE_AVFORMAT_NEW_STREAM=true,HAVE_AVFORMAT_NEW_STREAM=false)
++AC_CHECK_LIB([$avf_name],avformat_find_stream_info,HAVE_AVFORMAT_FIND_STREAM_INFO=true,HAVE_AVFORMAT_FIND_STREAM_INFO=false)
+ 
+-AC_CHECK_LIB(avformat,av_set_pts_info,HAVE_AV_SET_PTS_INFO=true,HAVE_AV_SET_PTS_INFO=false)
++AC_CHECK_LIB([$avf_name],av_set_pts_info,HAVE_AV_SET_PTS_INFO=true,HAVE_AV_SET_PTS_INFO=false)
+ 
+ if test $HAVE_AV_SET_PTS_INFO = false; then
+-AC_CHECK_LIB(avformat,avpriv_set_pts_info,HAVE_AVPRIV_SET_PTS_INFO=true,HAVE_AVPRIV_SET_PTS_INFO=false)
++AC_CHECK_LIB([$avf_name],avpriv_set_pts_info,HAVE_AVPRIV_SET_PTS_INFO=true,HAVE_AVPRIV_SET_PTS_INFO=false)
+ if test $HAVE_AV_SET_PTS_INFO = true; then
+ 
+ AC_CHECK_HEADERS(libavformat/internal.h,HAVE_AVFORMAT_INTERNAL_H=true,HAVE_AVFORMAT_INTERNAL_H=false)
diff --git a/debian/patches/series b/debian/patches/series
index 4b273e0..084d548 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01-cdda2wav_to_icedax.patch
 02-drop_py3_multiencoder.patch
 03-libav10.patch
+04-pkg-config.patch

---End Message---
---BeginMessage---

Dear maintainer,

I have found a simpler way to make it possible to link your package 
against FFmpeg in Debian:
The lib*-ffmpeg-dev packages now install symbolic links from the 
standard lib*.so library names to the suffixed ones.
This makes it possible to use the normal linker flags, e.g. '-lavcodec', 
to link against the FFmpeg libraries with '-ffmpeg' suffix.


Thus the pkg-config patch is no longer necessary.

I wish I had found this solution sooner and am sorry for the noise I 
created in your inbox.


Best regards,
Andreas---End Message---

Bug#758354: marked as done (mediatomb: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758354,
regarding mediatomb: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758354: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758354
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: mediatomb
Version: 0.12.1-5
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/control b/debian/control
index 84ae488..59419c3 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,8 @@ Build-Depends:
  libmysqlclient-dev,
  libsqlite3-dev,
  libtag1-dev,
- libz-dev
+ libz-dev,
+ pkg-config
 Standards-Version: 3.9.4
 Homepage: http://mediatomb.cc/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/mediatomb.git
diff --git a/debian/patches/0012_pkg-config.patch b/debian/patches/0012_pkg-config.patch
new file mode 100644
index 000..cd349ce
--- /dev/null
+++ b/debian/patches/0012_pkg-config.patch
@@ -0,0 +1,22 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun andreas.cadhal...@googlemail.com
+Last-Update: 2014-05-15
+
+--- mediatomb-0.12.1.orig/configure.ac
 mediatomb-0.12.1/configure.ac
+@@ -1556,8 +1556,12 @@ if test x$FFMPEG_OPTION_ENABLED = xyes
+ fi
+ 
+ if test x$AVFORMAT_STATUS = xyes; then
+-MT_CHECK_LIBRARY([avformat], [avformat], [av_register_all])
+-MT_CHECK_LIBRARY([avutil], [avutil], [av_log_set_callback])
++PKG_CHECK_MODULES([libavformat],[libavformat])
++avf_name=`echo $libavformat_LIBS | sed 's/-l//'`
++MT_CHECK_LIBRARY([avformat], [$avf_name], [av_register_all])
++PKG_CHECK_MODULES([libavutil],[libavutil])
++avu_name=`echo $libavutil_LIBS | sed 's/-l//'`
++MT_CHECK_LIBRARY([avutil], [$avu_name], [av_log_set_callback])
+ fi
+ AC_LANG_RESTORE
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 404e199..2904c79 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@
 0009b_fix_ffmpeg_metadata.patch
 0010_fix_libmp4v2_build.patch
 0011_libav_9_support.patch
+0012_pkg-config.patch

---End Message---
---BeginMessage---

Dear maintainer,

I have found a simpler way to make it possible to link your package 
against FFmpeg in Debian:
The lib*-ffmpeg-dev packages now install symbolic links from the 
standard lib*.so library names to the suffixed ones.
This makes it possible to use the normal linker flags, e.g. '-lavcodec', 
to link against the FFmpeg libraries with '-ffmpeg' suffix.


Thus the pkg-config patch is no longer necessary.

I wish I had found this solution sooner and am sorry for the noise I 
created in your inbox.


Best regards,
Andreas---End Message---
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#758366: marked as done (shotdetect: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758366,
regarding shotdetect: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758366: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758366
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: shotdetect
Version: 1.0.86-4
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package. Please apply it to
facilitate building your package with FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/control b/debian/control
index 17a3872..79f34b9 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends: cdbs,
  autotools-dev,
  devscripts,
  debhelper (= 9~),
+ dh-autoreconf,
  dh-buildinfo,
  libxml2-dev,
  libxslt1-dev,
diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 000..d109177
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,43 @@
+Description: Use pkg-config to determine FFmpeg linker flags
+
+Author: Andreas Cadhalpun andreas.cadhal...@googlemail.com
+Last-Update: 2014-05-15
+
+--- shotdetect-1.0.86.orig/configure.in
 shotdetect-1.0.86/configure.in
+@@ -77,13 +77,21 @@ if test -z $XSLT_CONFIG; then
+AC_MSG_ERROR([xslt-config not found. Please reinstall the libxslt = 1.1.0 distribution])
+ fi
+ # Checks for libraries.
++PKG_PROG_PKG_CONFIG([])
++PKG_CHECK_MODULES([avc], [libavcodec])
++PKG_CHECK_MODULES([avf], [libavformat])
++PKG_CHECK_MODULES([avu], [libavutil])
++PKG_CHECK_MODULES([sws], [libswscale])
++avc_name=`echo $avc_LIBS | sed 's/-l//'`
++avf_name=`echo $avf_LIBS | sed 's/-l//'`
++avu_name=`echo $avu_LIBS | sed 's/-l//'`
+ # FIXME: Replace `main' with a function in `-lavcodec':
+ AC_CHECK_LIB(stdc++, main,,AC_MSG_ERROR(shotdetect requires libstdc++))
+-AC_CHECK_LIB([avcodec], [main],,  AC_MSG_ERROR([Please install libavcodec]))
++AC_CHECK_LIB([$avc_name], [main],,  AC_MSG_ERROR([Please install libavcodec]))
+ # FIXME: Replace `main' with a function in `-lavformat':
+-AC_CHECK_LIB([avformat], [main],,  AC_MSG_ERROR([Please install libavformat]))
++AC_CHECK_LIB([$avf_name], [main],,  AC_MSG_ERROR([Please install libavformat]))
+ # FIXME: Replace `main' with a function in `-lavutil':
+-AC_CHECK_LIB([avutil], [main],,  AC_MSG_ERROR([Please install libavutil]))
++AC_CHECK_LIB([$avu_name], [main],,  AC_MSG_ERROR([Please install libavutil]))
+ # FIXME: Replace `main' with a function in `-lgd':
+ AC_CHECK_LIB([gd], [main],,  AC_MSG_ERROR([Please install libgd2 !]))
+ AC_HEADER_STDC
+--- shotdetect-1.0.86.orig/src/Makefile.am
 shotdetect-1.0.86/src/Makefile.am
+@@ -1,7 +1,7 @@
+ # Fichier pour automake
+ INCLUDES= -I../include -I../resources/ -I/usr/include/ffmpeg `xslt-config --cflags`
+ bin_PROGRAMS = shotdetect
+-shotdetect_LDADD = -lgd -lz -lswscale -lavformat -lavcodec -lavutil
++shotdetect_LDADD = -lgd -lz $(sws_LIBS) $(avf_LIBS) $(avc_LIBS) $(avu_LIBS)
+ shotdetect_LDFLAGS = `xslt-config --libs`
+ shotdetect_SOURCES = \
+ graph.cpp \
diff --git a/debian/patches/series b/debian/patches/series
index a9283dd..92c9be0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 1004-fix_comments_and_names.patch
 
 libav10.patch
+pkg-config.patch
diff --git a/debian/rules b/debian/rules
index 83faa3b..deb080d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@ include /usr/share/dpkg/buildflags.mk
 
 include /usr/share/cdbs/1/rules/upstream-tarball.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include 

Bug#758374: marked as done (x264: Use pkg-config to determine FFmpeg linker flags)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 12:29:40 +0200
with message-id 53f86d14.60...@googlemail.com
and subject line pkg-config patch no longer necessary, better solution found
has caused the Debian Bug report #758374,
regarding x264: Use pkg-config to determine FFmpeg linker flags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
758374: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758374
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---

Source: x264
Version: 2:0.142.2431+gita5831aa-1
Severity: wishlist
Tags: patch
Usertags: reintroducing-ffmpeg

Dear maintainer,

I am working on reintroducing FFmpeg to Debian [1-2].

In order to make FFmpeg co-installable with Libav, the libraries were
renamed to lib*-ffmpeg. Thus using linker flags like '-lavcodec' doesn't
work with the FFmpeg packages.

To get the correct linking flags for both FFmpeg and Libav, one can
(and should) use pkg-config.

Attached patch achieves that for this package, by simply build-depending
on pkg-config. Please apply it to facilitate building your package with
FFmpeg in Debian.

If you want to facilitate this even further, you can also add
lib*-ffmpeg-dev alternatives to the Libav build-dependencies.

While the FFmpeg package is still waiting in the NEW queue [3], it can
already be built from the git repository [4].

Best regards,
Andreas


1: https://lists.debian.org/debian-devel/2014/07/msg01010.html
2: https://bugs.debian.org/729203
3: https://ftp-master.debian.org/new/ffmpeg_7:2.3.1-1.html
4: https://anonscm.debian.org/cgit/collab-maint/ffmpeg.git

diff --git a/debian/control.in b/debian/control.in
index 7e5f0d5..4f6f2f8 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -13,6 +13,7 @@ Uploaders:
  libffms2-dev,
  libgpac-dev (= 0.5.0+svn4288~),
  libx11-dev,
+ pkg-config,
  yasm [any-i386 any-amd64]
 Standards-Version: 3.9.5
 Vcs-Git: git://anonscm.debian.org/pkg-multimedia/x264.git

---End Message---
---BeginMessage---

Dear maintainer,

I have found a simpler way to make it possible to link your package 
against FFmpeg in Debian:
The lib*-ffmpeg-dev packages now install symbolic links from the 
standard lib*.so library names to the suffixed ones.
This makes it possible to use the normal linker flags, e.g. '-lavcodec', 
to link against the FFmpeg libraries with '-ffmpeg' suffix.


Thus the pkg-config patch is no longer necessary.

I wish I had found this solution sooner and am sorry for the noise I 
created in your inbox.


Best regards,
Andreas---End Message---
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: git-packaging workflows

2014-08-23 Thread Reinhard Tartler
On Fri, Aug 22, 2014 at 11:08 AM, Felipe Sateler fsate...@debian.org wrote:
 Resurrecting an old thread

 On Sat, Apr 6, 2013 at 4:32 AM, Reinhard Tartler siret...@gmail.com wrote:
 Hi,

 Recently, Russ' blog post was echoed on http://planet.debian.org:

 http://www.eyrie.org/~eagle/journal/2013-04/001.html

 In that post, he describes how to combine both the import tarball
 and the have upstream history available in the upstream packaging
 branch. AFAIUI, the heavy work is implemented in git-buildpackage's
 --upstream-vcs-tag tag option.

 While that option is news to me, I wonder if maybe anyone else already
 experiments with this? Does the team feel that making it mandatory for
 our package would be beneficial and appropriate?

 I know some in the team have experimented with this new workflow.
 Could you share your experiences with it? I'm thinking that we should
 encourage this workflow a bit more: it makes collaboration with
 upstream easier (in both directions). However I'm still not too clear
 on what would it look like, so I'd like to hear from people that have
 been using it about their thoughts.

I've been using that for libav, and am comfortable with it. The
caveats that I've found so far:

1. you need to manually add a named remote (git remote add upstream
«upstream_git_url»  git remote update upstream)
2. you need to identify the upstream tag and must not forget to pass
it to git-import-orig --upstream-vcs-tag

The first one could be scripted, I guess.


 Questions of interest: are you using gbp pq? If not, how do you pick
 patches from upstream? How do you post patches back to upstream?

 I do think we need to somehow restrict the commits that get posted on
 the commit list. Sometimes we get a mailbomb of new commits... :p

Yes, that's the third caveat. I promised at some point to have a look
at the mail hook, but didn't find the time. Sorry

Best,
Reinhard

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#753528: marked as done (libav-tools: Floating point exception is raised when recording vom video4linux2)

2014-08-23 Thread Debian Bug Tracking System
Your message dated Sat, 23 Aug 2014 09:55:52 -0400
with message-id 
CAJ0cceYVVM1O1C7aCPxfB40y+i4BkZQgduY=dpmbs-dohdv...@mail.gmail.com
and subject line Re: Fwd: Bug#753528: libav-tools: Floating point exception is 
raised when recording vom video4linux2
has caused the Debian Bug report #753528,
regarding libav-tools: Floating point exception is raised when recording vom 
video4linux2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
753528: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753528
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: libav-tools
Version: 6:10.2-1
Severity: minor
Tags: patch

Dear Maintainer,
tried to record some old analog tapes from tv card to DVD compatible files.

In avconv_opt.c:opt_target it is tried to determine the norm.
For this the streams are evaluated.
This leads in my case to this exception.

A Workaround is to specify the norm as prefix to the target (instead -target
dvd use -target pal-dvd).

Attached patch avoids the exception so avconv can print the message that the
user have to specify manualle the norm.


Console output:
$ export LANG=C

$ avconv -f alsa -i hw:0,0 -f video4linux2 -channel 2 -i /dev/video0 -qscale 8
-target dvd out.mpeg
avconv version 10.2-6:10.2-1, Copyright (c) 2000-2014 the Libav developers
  built on Jun 28 2014 13:45:13 with gcc 4.9 (Debian 4.9.0-9)
[alsa @ 0x20f5900] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, alsa, from 'hw:0,0':
  Duration: N/A, start: 90.295177, bitrate: N/A
Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[video4linux2 @ 0x2106720] Estimating duration from bitrate, this may be
inaccurate
Input #1, video4linux2, from '/dev/video0':
  Duration: N/A, start: 90.796022, bitrate: 124416 kb/s
Stream #1.0: Video: rawvideo, yuv420p, 720x576, 124416 kb/s, 25 fps, 1000k
tbn
Floating point exception

$ gdb --args avconv -f alsa -i hw:0,0 -f video4linux2 -channel 2 -i /dev/video0
-qscale 8 -target dvd out.mpeg
(gdb) run

Program received signal SIGFPE, Arithmetic exception.
0x0040c4bb in opt_target (optctx=0x7fffda90, opt=optimized out,
arg=optimized out) at /build/libav-KCSjC9/libav-10.2/avconv_opt.c:1731
1731/build/libav-KCSjC9/libav-10.2/avconv_opt.c: No such file or directory.

(gdb) bt
#0  0x0040c4bb in opt_target (optctx=0x7fffda90, opt=optimized
out, arg=optimized out) at /build/libav-KCSjC9/libav-10.2/avconv_opt.c:1731
#1  0x00409f07 in write_option (arg=0x7fffe49f dvd,
opt=optimized out, po=0x6212c0 options+1600, optctx=0x7fffda90) at
/build/libav-KCSjC9/libav-10.2/cmdutils.c:287
#2  parse_optgroup (optctx=0x7fffda90, g=0x6ba350) at /build/libav-
KCSjC9/libav-10.2/cmdutils.c:387
#3  0x00410088 in open_files (l=optimized out, l=optimized out,
open_file=optimized out, inout=optimized out) at /build/libav-
KCSjC9/libav-10.2/avconv_opt.c:2083
#4  avconv_parse_options (argc=0, argv=0x0) at /build/libav-
KCSjC9/libav-10.2/avconv_opt.c:2135
#5  0x00405785 in main (argc=16, argv=0x7fffe0d8) at /build/libav-
KCSjC9/libav-10.2/avconv.c:2455

(gdb) info locals
c = 0x6d1b40
i = optimized out
j = optimized out
fr = optimized out
o = 0x7fffda90
norm = UNKNOWN
frame_rates = {0x41a5de 25, 0x41a977 3/1001, 0x41a982 24000/1001}

(gdb) display c-time_base
1: c-time_base = {num = 0, den = 1}



Patch:
--- libav-10.2.orig/avconv_opt.c
+++ libav-10.2/avconv_opt.c
@@ -1728,6 +1728,8 @@ static int opt_target(void *optctx, cons
 AVCodecContext *c =
input_files[j]-ctx-streams[i]-codec;
 if (c-codec_type != AVMEDIA_TYPE_VIDEO)
 continue;
+if (!c-time_base.num)
+continue;
 fr = c-time_base.den * 1000 / c-time_base.num;
 if (fr == 25000) {
 norm = PAL;



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (990, 'testing-updates'), (990, 'testing'), (500, 
'testing-proposed-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libav-tools depends on:
ii  dpkg 1.17.10
ii  libavcodec55 6:10.2-1
ii  libavdevice546:10.2-1
ii  libavfilter4 6:10.2-1
ii  libavformat556:10.2-1
ii  libavresample1   6:10.2-1
ii  libavutil53  6:10.2-1
ii  

Bug#758543: libdvdnav4: libdvdnavmini.so.4 is missing as of libdvdnav4-5.0.0-1

2014-08-23 Thread Louis Moebius
I can confirm this on amd64.

Regards

-- 
Louis

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


libav 6:10.4-1 MIGRATED to testing

2014-08-23 Thread Debian testing watch
FYI: The status of the libav source package
in Debian's testing distribution has changed.

  Previous version: 6:10.3-1
  Current version:  6:10.4-1

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See https://release.debian.org/testing-watch/ for more information.

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


forked-daapd 21.0-2 MIGRATED to testing

2014-08-23 Thread Debian testing watch
FYI: The status of the forked-daapd source package
in Debian's testing distribution has changed.

  Previous version: 21.0-1
  Current version:  21.0-2

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See https://release.debian.org/testing-watch/ for more information.

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


streamtuner2 2.1.3-1 MIGRATED to testing

2014-08-23 Thread Debian testing watch
FYI: The status of the streamtuner2 source package
in Debian's testing distribution has changed.

  Previous version: 2.1.2-1
  Current version:  2.1.3-1

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See https://release.debian.org/testing-watch/ for more information.

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Processed: soundgrain: Please update to use wxpython3.0

2014-08-23 Thread Debian Bug Tracking System
Processing control commands:

 block 755757 by -1
Bug #755757 [release.debian.org] transition: wxpython3.0
755757 was blocked by: 757755 757431 759048 758954 758507 758947 759047 758941 
759045 758956 758953 758948 758950 758944 758942 759043 759053 758943 759044 
758499 757886 757313 758957 757299 759049 759057 759052 758949 757306 758436 
734799 758955 757429 757289 758695 759055 758946 758714 759054 759051 757308 
757434 758940 759056 757304 758951 758939 759046 758952 759050 758846 758204
755757 was not blocking any bugs.
Added blocking bug(s) of 755757: 759058

-- 
755757: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755757
759058: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759058
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#759058: soundgrain: Please update to use wxpython3.0

2014-08-23 Thread Olly Betts
Source: soundgrain
Version: 4.1.1-2
Severity: important
Tags: sid jessie
User: freewx-ma...@lists.alioth.debian.org
Usertags: wxpy3.0
Control: block 755757 by -1

We're aiming to migrate the archive to using wxpython3.0 instead of
wxwidgets2.8, and hope to drop wxwidgets2.8 before jessie is released.
This transition is already underway, and is being tracked by the release
team here:

https://release.debian.org/transitions/html/wxpython3.0.html

The wxPython 3.0 API mostly adds to the wxPython2.8 API.  Many packages
work with wxPython 3.0 without any changes, but there are a few
incompatibilities.  For example, wx.Color is no longer supported as
an alias for wx.Colour, and some constants which were deprecated in 2.8
have been removed.  All the removed constants I'm aware of were set to 0
in wxPython 2.8, so removing them is still compatible with 2.8.

To assist updating to wxPython 3.0, I've put together a script which
will help make the mechanical changes required.  This is in a git repo
on collab-maint along with a README about using it and updating packages
for wxPython 3.0 in general:

http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git

The script has some options to control the sorts of changes it makes -
see the README and --help output for more information - you can view
the latest version of the README online here:

http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git/tree/README

I've developed this script by trying to convert 20+ packages.  Please
try it out on your package - in many cases, it should be enough to get
your package working (if it doesn't already) - if it does, please upload
(and close this bug).

If the script doesn't do the job, please let me know (or improve the
script if you can figure out what it needs to do to get your package
working).

Another issue you may hit is that wxWidgets 3.0 now defaults to enabling
its WXDEBUG checks for incorrect API usage, so some applications will
emit scary sounding assertion failures.  These are unlikely to
actually be new, just in a default build of 2.8, such incorrect uses
were handled quietly behind the scenes.  Sometimes these are easy to
fix, but if not you can easily patch the application to tell wx 3.0 to
handle them in the same way wx 2.8 does - details of how to do so are in
the README:

http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git/tree/README

I'm happy to sponsor uploads for this transition, though if you have an
active sponsor already check with them first - I don't want to tread on
anyone's toes.

Cheers,
Olly

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#759092: python-pyo: Please update to use wxpython3.0

2014-08-23 Thread Olly Betts
Source: python-pyo
Version: 0.6.9-1
Severity: important
Tags: sid jessie
User: freewx-ma...@lists.alioth.debian.org
Usertags: wxpy3.0
Control: block 755757 by -1

We're aiming to migrate the archive to using wxpython3.0 instead of
wxwidgets2.8, and hope to drop wxwidgets2.8 before jessie is released.
This transition is already underway, and is being tracked by the release
team here:

https://release.debian.org/transitions/html/wxpython3.0.html

The wxPython 3.0 API mostly adds to the wxPython2.8 API.  Many packages
work with wxPython 3.0 without any changes, but there are a few
incompatibilities.  For example, wx.Color is no longer supported as
an alias for wx.Colour, and some constants which were deprecated in 2.8
have been removed.  All the removed constants I'm aware of were set to 0
in wxPython 2.8, so removing them is still compatible with 2.8.

To assist updating to wxPython 3.0, I've put together a script which
will help make the mechanical changes required.  This is in a git repo
on collab-maint along with a README about using it and updating packages
for wxPython 3.0 in general:

http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git

The script has some options to control the sorts of changes it makes -
see the README and --help output for more information - you can view
the latest version of the README online here:

http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git/tree/README

I've developed this script by trying to convert 20+ packages.  Please
try it out on your package - in many cases, it should be enough to get
your package working (if it doesn't already) - if it does, please upload
(and close this bug).

If the script doesn't do the job, please let me know (or improve the
script if you can figure out what it needs to do to get your package
working).

Another issue you may hit is that wxWidgets 3.0 now defaults to enabling
its WXDEBUG checks for incorrect API usage, so some applications will
emit scary sounding assertion failures.  These are unlikely to
actually be new, just in a default build of 2.8, such incorrect uses
were handled quietly behind the scenes.  Sometimes these are easy to
fix, but if not you can easily patch the application to tell wx 3.0 to
handle them in the same way wx 2.8 does - details of how to do so are in
the README:

http://anonscm.debian.org/cgit/collab-maint/wx-migration-tools.git/tree/README

I'm happy to sponsor uploads for this transition, though if you have an
active sponsor already check with them first - I don't want to tread on
anyone's toes.

Cheers,
Olly

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Processed: python-pyo: Please update to use wxpython3.0

2014-08-23 Thread Debian Bug Tracking System
Processing control commands:

 block 755757 by -1
Bug #755757 [release.debian.org] transition: wxpython3.0
755757 was blocked by: 757755 757431 759048 759076 758954 759075 758947 759047 
758941 759045 759083 758953 758948 758950 758944 758942 759043 758943 759044 
757886 758957 757299 759049 759052 757306 734799 758955 757429 759059 759074 
758695 759055 758946 759061 759070 759054 757308 759073 757434 759084 757304 
759078 758952 759077 758204 759082 758507 759091 758956 759058 759060 759053 
758499 757313 759071 758949 759057 759065 758436 759067 759090 757289 759066 
758714 759069 759051 759087 758940 759056 758951 758939 759068 759079 759046 
759050 758846
755757 was not blocking any bugs.
Added blocking bug(s) of 755757: 759092

-- 
755757: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755757
759092: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759092
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers