Bug#678182: mixxx: FTBFS in Ubuntu (gcc 4.7)

2012-06-19 Thread Ilya Barygin
Package: mixxx
Version: 1.10.0~dfsg0-4
Severity: normal
Tags: patch

Hello,

Please also add 1001-ftbfs_gcc47.patch (from bug #674335) to
debian/patches/ubuntu.series, otherwise patch is not applied and Ubuntu build
fails:
https://launchpad.net/ubuntu/+source/mixxx/1.10.0~dfsg0-4

-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-26-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



___
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#652158: naspro-bridges: FTBFS: configure: error: LV2 Dynamic Manifest header not found.

2011-12-20 Thread Ilya Barygin
retitle 652158 naspro-bridges: FTBFS: configure: error: LV2 Dynamic
Manifest header not found.
tags 652158 patch
thanks

The actual error is:

checking lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h usability... no
checking lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h presence... no
checking for lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h... no
configure: error: LV2 Dynamic Manifest header not found.

Patch from Ubuntu:
https://launchpad.net/ubuntu/+source/naspro-bridges/0.2.91-1ubuntu1

(Actually, this patch is minimal. lv2-extensions-good provides .pc files
for other headers as well, so AC_CHECK_HEADER's in configure.ac can
easily be replaced with PKG_CHECK_MODULES. This looks like something for
upstream to do, anyway.)

diff -Nru
naspro-bridges-0.2.91/debian/patches/dynmanifest-location.patch
naspro-bridges-0.2.91/debian/patches/dynmanifest-location.patch
--- naspro-bridges-0.2.91/debian/patches/dynmanifest-location.patch
1970-01-01 03:00:00.0 +0300
+++ naspro-bridges-0.2.91/debian/patches/dynmanifest-location.patch
2011-12-20 22:54:22.0 +0400
@@ -0,0 +1,38 @@
+Description: name and location of dyn-manifest.h have changed
+ Remove hardcoded path from configure script and source files. Necessary
+ build flags will be provided from debian/rules.
+Author: Ilya Barygin 
+
+--- naspro-bridges-0.2.91.orig/configure.ac
 naspro-bridges-0.2.91/configure.ac
+@@ -37,7 +37,7 @@ AC_PROG_LIBTOOL
+ PKG_CHECK_MODULES([NABRIT], [nabrit-1 >= 0.2.90])
+
+ # Checks for header files.
+-AC_CHECK_HEADER([lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h], ,
++AC_CHECK_HEADER([dynmanifest.h], ,
+   [AC_MSG_ERROR([LV2 Dynamic Manifest header not found.])])
+
+ AC_CHECK_HEADER([ladspa.h], [build_ladspa=yes], [build_ladspa=no])
+--- naspro-bridges-0.2.91.orig/ladspa/internal.h
 naspro-bridges-0.2.91/ladspa/internal.h
+@@ -18,7 +18,7 @@
+
+ #include 
+
+-#include "lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h"
++#include "dynmanifest.h"
+
+ #include 
+
+--- naspro-bridges-0.2.91.orig/dssi/internal.h
 naspro-bridges-0.2.91/dssi/internal.h
+@@ -20,7 +20,7 @@
+
+ #include 
+
+-#include "lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h"
++#include "dynmanifest.h"
+ #include "lv2/lv2plug.in/ns/ext/event/event.h"
+ #include "lv2/lv2plug.in/ns/ext/uri-map/uri-map.h"
+
diff -Nru naspro-bridges-0.2.91/debian/patches/series
naspro-bridges-0.2.91/debian/patches/series
--- naspro-bridges-0.2.91/debian/patches/series 1970-01-01
03:00:00.0 +0300
+++ naspro-bridges-0.2.91/debian/patches/series 2011-12-20
22:57:30.0 +0400
@@ -0,0 +1 @@
+dynmanifest-location.patch
diff -Nru naspro-bridges-0.2.91/debian/rules
naspro-bridges-0.2.91/debian/rules
--- naspro-bridges-0.2.91/debian/rules  2011-05-31 12:06:32.0 +0400
+++ naspro-bridges-0.2.91/debian/rules  2011-12-20 22:50:32.0 +0400
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f

+CFLAGS += $(shell pkg-config --cflags lv2-lv2plug.in-ns-ext-dynmanifest)
+
 %:
dh $@ --parallel --with autoreconf





___
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#647047: drc: FTBFS with ld --as-needed

2011-10-29 Thread Ilya Barygin
Package: drc
Version: 3.1.1~dfsg0-1
Severity: normal
Tags: upstream patch
User: debian-...@lists.debian.org
Usertags: ld-as-needed

drc fails to build when --as-needed linker option is enabled,
because of incorrect order of parameters passed to ld. Here's a log of
failed build in Ubuntu:
https://launchpad.net/ubuntu/+source/drc/3.1.1~dfsg0-1/+build/2862778/+files/buildlog_ubuntu-precise-i386.drc_3.1.1%7Edfsg0-1_FAILEDTOBUILD.txt.gz

See also
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries

The attached patch was used in Ubuntu to fix the problem.
https://launchpad.net/ubuntu/+source/drc/3.1.1~dfsg0-1ubuntu1

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric-proposed'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-13-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: fix FTBFS with ld --as-needed
 Place libraries after source files in gcc invocations.
Author: Ilya Barygin 
--- drc-3.1.1~dfsg0.orig/source/makefile
+++ drc-3.1.1~dfsg0/source/makefile
@@ -73,13 +73,13 @@ BIN_TARGETS=drc lsconv glsweep
 ALL: drc glsweep lsconv
 
 drc: $(DRCSRC)
-   $(CC) $(CFLAGS) -lm -lstdc++ -o drc $(DRCSRC)
+   $(CC) $(CFLAGS) -o drc $(DRCSRC) -lm -lstdc++
 
 glsweep: $(GLSWEEPSRC)
-   $(CC) $(GLSCFLAGS) -lm -o glsweep $(GLSWEEPSRC)
+   $(CC) $(GLSCFLAGS) -o glsweep $(GLSWEEPSRC) -lm

 lsconv: $(LSCONVSRC)
-   $(CC) $(CFLAGS) -lm -o lsconv $(LSCONVSRC)
+   $(CC) $(CFLAGS) -o lsconv $(LSCONVSRC) -lm

 clean:
rm -f $(OBJS)
___
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#647040: beast: FTBFS with -Werror=format-security

2011-10-29 Thread Ilya Barygin
Package: beast
Version: 0.7.4-3
Severity: normal
Tags: upstream patch
User: debian...@lists.debian.org
Usertags: hardening-format-security

beast fails to build with -Werror=format-security compiler option.
Build log in Ubuntu:
https://launchpad.net/ubuntu/+source/beast/0.7.4-3/+build/2861170/+files/buildlog_ubuntu-precise-i386.beast_0.7.4-3_FAILEDTOBUILD.txt.gz

See also:
http://wiki.debian.org/Hardening
http://lists.debian.org/debian-devel-announce/2011/09/msg1.html

Patch from Ubuntu attached.
https://launchpad.net/ubuntu/+source/beast/0.7.4-3ubuntu1

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric-proposed'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-13-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: fix warnings generated with -Wformat-security
Author: Ilya Barygin 

--- beast-0.7.4.orig/sfi/sfidl-parser.cc
+++ beast-0.7.4/sfi/sfidl-parser.cc
@@ -238,7 +238,7 @@
   if (isSequence (type))  return SEQUENCE;
   if (isRecord (type))	  return RECORD;
   if (isClass (type))	  return OBJECT;
-  g_error (("invalid type: " + type).c_str());
+  g_error ("%s", ("invalid type: " + type).c_str());
   return VOID;
 }
 
--- beast-0.7.4.orig/bse/bsemain.cc
+++ beast-0.7.4/bse/bsemain.cc
@@ -267,9 +267,9 @@
   /* dump device list */
   if (bse_main_args->dump_driver_list)
 {
-  g_printerr (_("\nAvailable PCM drivers:\n"));
+  g_printerr ("%s", _("\nAvailable PCM drivers:\n"));
   bse_device_dump_list (BSE_TYPE_PCM_DEVICE, "  ", TRUE, NULL, NULL);
-  g_printerr (_("\nAvailable MIDI drivers:\n"));
+  g_printerr ("%s", _("\nAvailable MIDI drivers:\n"));
   bse_device_dump_list (BSE_TYPE_MIDI_DEVICE, "  ", TRUE, NULL, NULL);
 }
 }
___
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#638599: sineshaper: FTBFS with ld --as-needed

2011-08-19 Thread Ilya Barygin
Package: sineshaper
Version: 0.4.2-6
Severity: normal
Tags: upstream patch
User: debian-...@lists.debian.org
Usertags: ld-as-needed

The package fails to build when --as-needed linker option is enabled,
because of incorrect order of parameters passed to ld. Here's a log of
failed build in Ubuntu:
https://launchpadlibrarian.net/76089806/buildlog_ubuntu-oneiric-i386.sineshaper_0.4.2-6_FAILEDTOBUILD.txt.gz

See also
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries

The attached patch was used in Ubuntu to fix the problem.
https://launchpad.net/ubuntu/+source/sineshaper/0.4.2-6ubuntu1

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric
  APT policy: (500, 'oneiric')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-11-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Description: Change order of libraries to enable linking with --as-needed
 option.
Author: Ilya Barygin 
--- sineshaper-0.4.2.orig/src/sineshaper/Makefile.am
+++ sineshaper-0.4.2/src/sineshaper/Makefile.am
@@ -14,7 +14,7 @@ sineshaper_gtk_SOURCES = \
skindial_gtkmm.cpp skindial_gtkmm.hpp \
sineshapergui.hpp sineshapergui.cpp \
sineshaperports.hpp
-sineshaper_gtk_LDADD = @DSSI_LIBS@ @LIBGLADEMM_LIBS@ @LIBLO_LIBS@ 
../common/libdssi_ui.la ../common/libdssi_common.la
+sineshaper_gtk_LDADD = ../common/libdssi_ui.la ../common/libdssi_common.la 
@DSSI_LIBS@ @LIBGLADEMM_LIBS@ @LIBLO_LIBS@
 sineshaper_gtk_CXXFLAGS = @LIBLO_CFLAGS@ @DSSI_CFLAGS@ -D_XOPEN_SOURCE 
@LIBGLADEMM_CFLAGS@ -DINSTALL_DIR=\"$(dssidir)\" -I../common/ 
-I../gui-components
 
 dist_bin_SCRIPTS = sineshaper.sh
--- sineshaper-0.4.2.orig/src/sineshaper/Makefile.in
+++ sineshaper-0.4.2/src/sineshaper/Makefile.in
@@ -220,7 +220,7 @@ sineshaper_gtk_SOURCES = \
sineshapergui.hpp sineshapergui.cpp \
sineshaperports.hpp
 
-sineshaper_gtk_LDADD = @DSSI_LIBS@ @LIBGLADEMM_LIBS@ @LIBLO_LIBS@ 
../common/libdssi_ui.la ../common/libdssi_common.la
+sineshaper_gtk_LDADD = ../common/libdssi_ui.la ../common/libdssi_common.la 
@DSSI_LIBS@ @LIBGLADEMM_LIBS@ @LIBLO_LIBS@
 sineshaper_gtk_CXXFLAGS = @LIBLO_CFLAGS@ @DSSI_CFLAGS@ -D_XOPEN_SOURCE 
@LIBGLADEMM_CFLAGS@ -DINSTALL_DIR=\"$(dssidir)\" -I../common/ 
-I../gui-components
 dist_bin_SCRIPTS = sineshaper.sh
 gui_DATA = sineshaper.glade dial.png pixmaps/dummydial.png 
pixmaps/sineshaper.png presets
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers