libpar2 needs oudated libsigc++-2.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpar2 |
New
|
Undecided
|
Unassigned |
Bug Description
libpar2 uses the oudated libsigc++ 2.0, of which the 3.x series is current.
Using the patch below, this can be fixed:
```patch
--- configure.ac
+++ configure.ac
@@ -40,7 +40,7 @@
AC_PROG_LIBTOOL
AM_PROG_LIBTOOL
AC_CHECK_
-AC_CHECK_
+AC_CHECK_
dnl Checks for header files.
AC_HEADER_DIRENT
@@ -48,7 +48,7 @@
AC_HEADER_STDC
AC_CHECK_
AC_CHECK_
-PKG_CHECK_
+PKG_CHECK_
dnl AC_CHECK_
dnl Checks for typedefs, structures, and compiler characteristics.
--- libpar2.h
+++ libpar2.h
@@ -31,10 +31,10 @@ class LibPar2
Result PreProcess();
Result Process(bool dorepair);
- sigc::signal<void, std::string> sig_filename;
- sigc::signal<void, double> sig_progress;
- sigc::signal<void, ParHeaders*> sig_headers;
- sigc::signal<void, std::string, int, int> sig_done;
+ sigc::signal<
+ sigc::signal<
+ sigc::signal<
+ sigc::signal<
protected:
void signal_
--- par2repairer.h
+++ par2repairer.h
@@ -31,10 +31,10 @@ public:
Result PreProcess(const CommandLine &commandline);
Result Process(const CommandLine &commandline, bool dorepair);
- sigc::signal<void, std::string> sig_filename;
- sigc::signal<void, double> sig_progress;
- sigc::signal<void, ParHeaders*> sig_headers;
- sigc::signal<void, std::string, int, int> sig_done;
+ sigc::signal<
+ sigc::signal<
+ sigc::signal<
+ sigc::signal<
// This method allows to determine whether libpar2 includes the patches
// ("libpar2-
```