Bug#641566: scenic: patches for various Ubuntu build failures

2011-09-14 Thread Colin Watson
Package: scenic
Version: 0.6.3-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch oneiric

This Ubuntu bug shows a build failure in scenic due to a module having
been removed from gstreamer:

  https://bugs.launchpad.net/ubuntu/+source/scenic/+bug/756010

I worked on this and found a succession of other build failures behind
it.  I hope you don't mind me attaching a patch for the whole lot in a
single bug report.

Whether to disable error options is probably a matter of opinion, but
-pedantic definitely had to go because the file that's breaking it is a
header file outside scenic's control.  As for the rest, my feeling is
that -Werror belongs in maintainer-only test builds and not in release
builds.

  * Make v4lsrc optional; it's gone, and v4l2src will do (LP: #756010).
  * Drop -pedantic -Wfatal-errors -Werror; the  header
fails -pedantic, and we also run into deprecations in libjack.
  * Fix link order to list libraries after other libraries that depend on
them.

diff -Nru scenic-0.6.3/debian/patches/2002_optional_v4lsrc.patch 
scenic-0.6.3/debian/patches/2002_optional_v4lsrc.patch
--- scenic-0.6.3/debian/patches/2002_optional_v4lsrc.patch  1970-01-01 
01:00:00.0 +0100
+++ scenic-0.6.3/debian/patches/2002_optional_v4lsrc.patch  2011-09-14 
11:35:55.0 +0100
@@ -0,0 +1,19 @@
+Description: Make v4lsrc optional; it's gone, and v4l2src will do
+Author: Colin Watson 
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/756010
+Forwarded: no
+Last-Update: 2011-09-14
+
+Index: b/utils/gst_check.py
+===
+--- a/utils/gst_check.py
 b/utils/gst_check.py
+@@ -91,7 +91,7 @@
+ except:
+ pass
+ 
+-optional_plugins = ["dc1394src", "dv1394src", "dvdemux", "dvdec", "alsasrc", 
"alsasink", "pulsesrc", "pulsesink", "glimagesink", "theoraenc", "theoradec", 
"lamemp3enc", "mp3parse", "mad", "x264enc", "ffenc_mpeg4", "ffenc_h263p", 
"celtenc", "celtdec"]
++optional_plugins = ["dc1394src", "dv1394src", "dvdemux", "dvdec", "alsasrc", 
"alsasink", "pulsesrc", "pulsesink", "glimagesink", "theoraenc", "theoradec", 
"lamemp3enc", "mp3parse", "mad", "x264enc", "ffenc_mpeg4", "ffenc_h263p", 
"celtenc", "celtdec", "v4lsrc"]
+ 
+ for plugin in gst_plugins:
+ if gst.element_factory_find(plugin) is None: 
diff -Nru scenic-0.6.3/debian/patches/2003_no_pedantic.patch 
scenic-0.6.3/debian/patches/2003_no_pedantic.patch
--- scenic-0.6.3/debian/patches/2003_no_pedantic.patch  1970-01-01 
01:00:00.0 +0100
+++ scenic-0.6.3/debian/patches/2003_no_pedantic.patch  2011-09-14 
12:05:04.0 +0100
@@ -0,0 +1,33 @@
+Description: Drop -pedantic -Wfatal-errors -Werror
+ The  header fails -pedantic, and we also run into
+ deprecations in libjack.
+Author: Colin Watson 
+Forwarded: no
+Last-Update: 2011-09-14
+
+Index: b/configure
+===
+--- a/configure
 b/configure
+@@ -21307,7 +21307,7 @@
+ 
+ $as_echo "#define CONFIG_DEBUG_LOCAL /**/" >>confdefs.h
+ 
+-CFLAGS="-O2 -Wextra -pedantic -Wfatal-errors -Werror -Wall -Wno-long-long 
-Wno-variadic-macros -Wshadow"
++CFLAGS="-O2 -Wextra -Wall -Wno-long-long -Wno-variadic-macros -Wshadow"
+ CXXFLAGS="-Weffc++ "
+ CXXFLAGS+=$CFLAGS
+ fi
+Index: b/configure.ac
+===
+--- a/configure.ac
 b/configure.ac
+@@ -212,7 +212,7 @@
+ 
+ if test "x${enable_debug}" = "xyes" ; then
+ AC_DEFINE(CONFIG_DEBUG_LOCAL,[],[Debug define from configure])
+-CFLAGS="-O2 -Wextra -pedantic -Wfatal-errors -Werror -Wall -Wno-long-long 
-Wno-variadic-macros -Wshadow"
++CFLAGS="-O2 -Wextra -Wall -Wno-long-long -Wno-variadic-macros -Wshadow"
+ CXXFLAGS="-Weffc++ "
+ CXXFLAGS+=$CFLAGS
+ fi
diff -Nru scenic-0.6.3/debian/patches/2004_link_order.patch 
scenic-0.6.3/debian/patches/2004_link_order.patch
--- scenic-0.6.3/debian/patches/2004_link_order.patch   1970-01-01 
01:00:00.0 +0100
+++ scenic-0.6.3/debian/patches/2004_link_order.patch   2011-09-14 
11:35:51.0 +0100
@@ -0,0 +1,59 @@
+Description: List libraries after other libraries that depend on them
+Author: Colin Watson 
+Forwarded: no
+Last-Update: 2011-09-14
+
+Index: b/src/main/Makefile.am
+===
+--- a/src/main/Makefile.am
 b/src/main/Makefile.am
+@@ -13,16 +13,17 @@
+ milhouse_CPPFLAGS += -D SVNVERSION=\"$(shell svnversion)\"
+ endif
+ 
+-milhouse_LDADD = $(ALL_GST_LIBS) $(JACK_LIBS) \
+-  $(GTK_LIBS) $(LIBAVC1394_LIBS) $(GL_LIBS) $(GLU_LIBS) 
$(BOOST_ASIO_LIB) \
+-  $(BOOST_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIB) $(LIBDC1394_LIBS) 
\
+-$(BOOST_THREAD_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_FILESYSTEM_LIB) \
++milhouse_LDADD = \
+ $(top_builddir)/src/gst/libgst.la  \
+ $(top_builddir)/src/caps/libcaps.la \
+ $(top_builddir)/src/

Bug#641604: [vlc] leaves xdg-screensaver running in directory where is some file opened

2011-09-14 Thread Marek Straka
Package: vlc
Version: 1.1.11-2+b2
Severity: normal

--- Please enter the report below this line. ---

If removable media is mounted or CD-Rom opened and some media played from 
there, it is started process "/bin/sh /usr/bin/xdg-screensaver suspend 
0x044001d5"
After VLC is closed, this process stays running in this directory. Unmounting 
is not possible without killing this process then.

Something very similar is reported here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640245

--- System information. ---
Architecture: i386
Kernel:   Linux 3.0.0-1-686-pae

Debian Release: wheezy/sid
  500 testing ftp.at.debian.org 

--- Package information. ---
Depends(Version) | Installed
-+-===
ttf-freefont | 20100919-1
vlc-nox  (= 1.1.11-2+b2) | 1.1.11-2+b2
libaa1(>= 1.4p5) | 1.4p5-38+b1
libavcodec52  (>= 4:0.6-1~)  | 4:0.6.2-5
 OR libavcodec-extra-52(>= 4:0.6-1~) | 
libavutil50   (>= 4:0.6-1~)  | 4:0.6.2-5
 OR libavutil-extra-50 (>= 4:0.6-1~) | 
libc6   (>= 2.8) | 2.13-18
libfreetype6  (>= 2.2.1) | 2.4.6-2
libfribidi0  (>= 0.19.2) | 0.19.2-1
libgcc1 (>= 1:4.1.1) | 1:4.6.1-4
libgl1-mesa-glx  | 7.11-5
 OR libgl1   | 
libqtcore4(>= 4:4.7.0~beta1) | 4:4.7.3-5
libqtgui4   (>= 4:4.5.3) | 4:4.7.3-5
libsdl-image1.2  (>= 1.2.10) | 1.2.10-2.1
libsdl1.2debian(>= 1.2.10-1) | 1.2.14-6.4
libstdc++6  (>= 4.6) | 4.6.1-4
libtar0  | 1.2.11-8
libva-x11-1 (>> 1.0.12~) | 1.0.12-2
libva1  (>> 1.0.12~) | 1.0.12-2
libvlccore4   (>= 1.1.0) | 1.1.11-2+b2
libx11-6 | 2:1.4.4-1
libx11-xcb1  | 2:1.4.4-1
libxcb-keysyms1   (>= 0.3.8) | 0.3.8-1
libxcb-randr0   (>= 1.1) | 1.7-3
libxcb-shm0  | 1.7-3
libxcb-xv0  (>= 1.2) | 1.7-3
libxcb1  | 1.7-3
libxext6 | 2:1.3.0-3
libxpm4  | 1:3.5.9-1
zlib1g   (>= 1:1.2.3.3.dfsg) | 1:1.2.3.4.dfsg-3
ttf-freefont | 20100919-1
vlc-nox  (= 1.1.11-2+b2) | 1.1.11-2+b2
libaa1(>= 1.4p5) | 1.4p5-38+b1
libavcodec52  (>= 4:0.6-1~)  | 4:0.6.2-5
 OR libavcodec-extra-52(>= 4:0.6-1~) | 
libavutil50   (>= 4:0.6-1~)  | 4:0.6.2-5
 OR libavutil-extra-50 (>= 4:0.6-1~) | 
libc6   (>= 2.8) | 2.13-18
libfreetype6  (>= 2.2.1) | 2.4.6-2
libfribidi0  (>= 0.19.2) | 0.19.2-1
libgcc1 (>= 1:4.1.1) | 1:4.6.1-4
libgl1-mesa-glx  | 7.11-5
 OR libgl1   | 
libqtcore4(>= 4:4.7.0~beta1) | 4:4.7.3-5
libqtgui4   (>= 4:4.5.3) | 4:4.7.3-5
libsdl-image1.2  (>= 1.2.10) | 1.2.10-2.1
libsdl1.2debian(>= 1.2.10-1) | 1.2.14-6.4
libstdc++6  (>= 4.6) | 4.6.1-4
libtar0  | 1.2.11-8
libva-x11-1 (>> 1.0.12~) | 1.0.12-2
libva1  (>> 1.0.12~) | 1.0.12-2
libvlccore4   (>= 1.1.0) | 1.1.11-2+b2
libx11-6 | 2:1.4.4-1
libx11-xcb1  | 2:1.4.4-1
libxcb-keysyms1   (>= 0.3.8) | 0.3.8-1
libxcb-randr0   (>= 1.1) | 1.7-3
libxcb-shm0  | 1.7-3
libxcb-xv0  (>= 1.2) | 1.7-3
libxcb1  | 1.7-3
libxext6 | 2:1.3.0-3
libxpm4  | 1:3.5.9-1
zlib1g   (>= 1:1.2.3.3.dfsg) | 1:1.2.3.4.dfsg-3
liba52-0.7.4 | 0.7.4-16
libasound2 (>> 1.0.24.1) | 1.0.24.1-2
libass4   (>= 0.9.7) | 0.9.13-1
libavahi-client3 (>= 0.6.16) | 0.6.30-5
libavahi-common3 (>= 0.6.16) | 0.6.30-5
libavc1394-0  (>= 0.5.3) | 0.5.3-1+b2
libavco

Bug#641610: package ftbfs with ld --as-needed

2011-09-14 Thread Matthias Klose
Package: muse
Version: 1.1-0
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch
User: debian-...@lists.debian.org
Usertags: ld-as-needed

see http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries

patch at
http://launchpadlibrarian.net/79892438/muse_1.1-0ubuntu5_1.1-0ubuntu6.diff.gz

(please ignore the debian/rules chunk)




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


dvbcut 0.5.4+svn170-2 MIGRATED to testing

2011-09-14 Thread Debian testing watch
FYI: The status of the dvbcut source package
in Debian's testing distribution has changed.

  Previous version: 0.5.4+svn146-2
  Current version:  0.5.4+svn170-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 http://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


ffms2 2.16-1 MIGRATED to testing

2011-09-14 Thread Debian testing watch
FYI: The status of the ffms2 source package
in Debian's testing distribution has changed.

  Previous version: 2.15-1
  Current version:  2.16-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 http://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


gmerlin-encoders 1.0.0-4 MIGRATED to testing

2011-09-14 Thread Debian testing watch
FYI: The status of the gmerlin-encoders source package
in Debian's testing distribution has changed.

  Previous version: 1.0.0-3
  Current version:  1.0.0-4

-- 
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 http://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


lives 1.4.6-1 MIGRATED to testing

2011-09-14 Thread Debian testing watch
FYI: The status of the lives source package
in Debian's testing distribution has changed.

  Previous version: 1.4.5-2
  Current version:  1.4.6-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 http://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


mplayer 2:1.0~rc4.dfsg1+svn33713-2 MIGRATED to testing

2011-09-14 Thread Debian testing watch
FYI: The status of the mplayer source package
in Debian's testing distribution has changed.

  Previous version: 2:1.0~rc4.dfsg1-2
  Current version:  2:1.0~rc4.dfsg1+svn33713-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 http://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


idjc 0.8.5-3 MIGRATED to testing

2011-09-14 Thread Debian testing watch
FYI: The status of the idjc source package
in Debian's testing distribution has changed.

  Previous version: 0.8.5-2
  Current version:  0.8.5-3

-- 
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 http://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


gmerlin-avdecoder 1.1.0~dfsg-3 MIGRATED to testing

2011-09-14 Thread Debian testing watch
FYI: The status of the gmerlin-avdecoder source package
in Debian's testing distribution has changed.

  Previous version: 1.1.0~dfsg-2
  Current version:  1.1.0~dfsg-3

-- 
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 http://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


libav-extra 4:0.7.1.2 MIGRATED to testing

2011-09-14 Thread Debian testing watch
FYI: The status of the libav-extra source package
in Debian's testing distribution has changed.

  Previous version: (not in testing)
  Current version:  4:0.7.1.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 http://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


xcfa 4.2.4-1 MIGRATED to testing

2011-09-14 Thread Debian testing watch
FYI: The status of the xcfa source package
in Debian's testing distribution has changed.

  Previous version: 4.2.1-1
  Current version:  4.2.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 http://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


src:ecasound / src:ecasound2.2

2011-09-14 Thread Felipe Sateler
What's the difference? Should ecasound2.2 be RMed?

-- 

Saludos,
Felipe Sateler

___
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: src:ecasound / src:ecasound2.2

2011-09-14 Thread Micah Gersten
On 09/14/2011 05:35 PM, Felipe Sateler wrote:
> What's the difference? Should ecasound2.2 be RMed?
>
>From the Ubuntu side this would be great as with the 2.8 upload,
ecasound2.2 retook the ecasound source package.  This is causing the
ecasound2.2 binaries to fail to upload since they're superseded.

Thanks,
Micah

___
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#641675: mplayer: Spelling and grammar errors

2011-09-14 Thread Paul Stewart
Package: mplayer
Version: 2:1.0~rc4.dfsg1-1
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

There are some spelling errors in the description.


*** /tmp/tmpqtEFLr
In Ubuntu, the attached patch was applied to achieve the following:

##  REPLACE THIS WITH ACTUAL INFORMATION -
## Please add all necessary information about why the change needed to go in
## Ubuntu, quote policy, spec or any other background material and why it can
## and should be used in Debian too.  If the patch is composed of multiple
## independent pieces, please send them as separate bug reports.
##  REPLACE THIS WITH ACTUAL INFORMATION -


  * debian/control: Changed "usefule" to "useful" /n Changed
"fullscreen" to "full-screen" /n Changed "abilities" to
"capabilities" /n Changed "You only need these..." to "This package
is required..." /n Changed instances of "mplayer" to "MPlayer"
throughout the documentation.


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 
'natty-proposed'), (500, 'natty'), (100, 'natty-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control  2011-02-26 14:37:59 +
+++ debian/control  2011-09-15 05:23:24 +
@@ -3,9 +3,7 @@
 Priority: optional
 Maintainer: Ubuntu Developers 
 XSBC-Original-Maintainer: Debian multimedia packages maintainers 

-Uploaders: A Mennucc1 ,
-   Reinhard Tartler ,
-   Andres Mejia 
+Uploaders: A Mennucc1 , Reinhard Tartler 
, Andres Mejia 
 DM-Upload-Allowed: yes
 Standards-Version: 3.8.4
 Vcs-Git: git://git.debian.org/git/pkg-multimedia/mplayer.git
@@ -97,11 +95,11 @@
  DirectFB, but also SDL (plus all its drivers) and some
  low level card-specific drivers (for Matrox, 3Dfx and Radeon, Mach64
  and Permedia3). Most of them support software or hardware scaling,
- therefore allowing fullscreen display.  MPlayer is also able
+ therefore allowing full-screen display.  MPlayer is also able
  to use some hardware MPEG decoder boards, such as the DVB
  and DXR3/Hollywood+.
  .
- This package includes the gui variant of mplayer.
+ This package includes the GUI variant of MPlayer.
 
 Package: mencoder
 Architecture: any
@@ -122,8 +120,8 @@
  encode MPlayer-playable movies
  (AVI/ASF/OGG/DVD/VCD/VOB/MPG/MOV/VIV/FLI/RM/NUV/NET) to other
  MPlayer-playable formats. It can encode with various codecs, like DivX4
- (1 or 2 passes), libavcodec, PCM/MP3/VBRMP3 audio. Also has stream
- copying and video resizing abilities.
+ (1 or 2 passes), libavcodec, PCM/MP3/VBRMP3 audio. MPlayer also has stream
+ copying and video resizing capabilities.
 
 Package: mplayer
 Architecture: any
@@ -148,7 +146,7 @@
  DirectFB, but also SDL (plus all its drivers) and some
  low level card-specific drivers (for Matrox, 3Dfx and Radeon, Mach64
  and Permedia3). Most of them support software or hardware scaling,
- therefore allowing fullscreen display.  MPlayer is also able
+ therefore allowing full-screen display.  MPlayer is also able
  to use some hardware MPEG decoder boards, such as the DVB
  and DXR3/Hollywood+.
  .
@@ -166,8 +164,8 @@
  This package contains the debugging symbols for MPlayer, a movie
  player for Unix-like systems.
  .
- You only need these if you want to generate usefule debugging
- backtraces.
+ This package is required if you want to generate useful debugging
+ back-traces.
 
 Package: mplayer-doc
 Architecture: all
@@ -179,5 +177,5 @@
  This package contains the HTML documentation for MPlayer, a movie player for
  Unix-like systems. It is available in several languages.
  .
- You only need this package if you want to read the mplayer manual. The 
manpages
- are included in the regular mplayer package.
+ This package is required if you want to read the MPlayer manual. The manpages
+ are included in the regular MPlayer package.

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