diff -Nru lv2-c++-tools-1.0.4/ChangeLog lv2-c++-tools-1.0.3/ChangeLog --- lv2-c++-tools-1.0.4/ChangeLog 2011-02-27 12:34:39.000000000 +0000 +++ lv2-c++-tools-1.0.3/ChangeLog 2010-01-07 14:19:06.000000000 +0000 @@ -1,8 +1,3 @@ -Version 1.0.4 (2011-02-27): - * Fixed bug in LV2::Synth that made all synth plugins require the - event refcounting feature (reported by many people before I realised - it was actually a bug rather than a feature) - Version 1.0.3 (2010-01-07): * Fixed build system bug that added $(LDFLAGS) to the static linker (reported by Philipp Überbacher) diff -Nru lv2-c++-tools-1.0.4/debian/changelog lv2-c++-tools-1.0.3/debian/changelog --- lv2-c++-tools-1.0.4/debian/changelog 2011-03-25 11:46:27.000000000 +0000 +++ lv2-c++-tools-1.0.3/debian/changelog 2012-02-26 03:49:03.000000000 +0000 @@ -1,32 +1,8 @@ -lv2-c++-tools (1.0.4-3) unstable; urgency=low +lv2-c++-tools (1.0.3-3~karmic1) karmic; urgency=medium - * Install all missing headers. + * Backport from maverick. - -- Alessio Treglia Fri, 25 Mar 2011 12:46:24 +0100 - -lv2-c++-tools (1.0.4-2) unstable; urgency=low - - * Re-introduce static objects lv2-{gui,plugin}. - After a brief chat with Lars on IRC, we realize that it is - unappropriate to go on diverging from upstream build strategies. - So, I am re-introducing the static objects lv2-{gui,plugin} in - order to avoid breakage with some LV2 hosts. - * Change section of lv2-c++-tools to libdevel. - * Re-write packages descriptions. - * Set Breaks/Replaces fields properly, since some files have moved - from libpaq-dev to lv2-c++-tools. - * Add Suggests: lv2-c++-tools-doc on lv2-c++-tools. - - -- Alessio Treglia Wed, 23 Mar 2011 10:50:07 +0100 - -lv2-c++-tools (1.0.4-1) unstable; urgency=low - - * New upstream release: - - Fixed bug in LV2::Synth that made all synth plugins require the - event refcounting feature. - * Small fix to doc-base control file. - - -- Alessio Treglia Sun, 27 Feb 2011 15:07:00 +0100 + -- DNS777 Sat, 25 Feb 2012 00:00:00 +0000 lv2-c++-tools (1.0.3-3) unstable; urgency=medium diff -Nru lv2-c++-tools-1.0.4/debian/control lv2-c++-tools-1.0.3/debian/control --- lv2-c++-tools-1.0.4/debian/control 2011-03-23 09:49:30.000000000 +0000 +++ lv2-c++-tools-1.0.3/debian/control 2010-08-07 14:04:23.000000000 +0000 @@ -22,45 +22,40 @@ Homepage: http://ll-plugins.nongnu.org/hacking.html Package: lv2-c++-tools -Section: libdevel +Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libpaq0 -Breaks: libpaq0 (<= 1.0.4-1) -Replaces: libpaq0 (<= 1.0.4-1) -Suggests: lv2-c++-tools-doc -Description: library and tools for LV2 plugins +Description: tools for LV2 plugins These are some tools and libraries that may come in handy when writing LV2 plugins in C++. . - The following static libraries are provided: - * liblv2-plugin is a C++ library that you can use to write LV2 - plugins by inheriting from a plugin base class and overriding - a small number of functions. - * liblv2-gui is a C++ library that you can use to write LV2 - plugin GUIs. - . - This package also contains the binaries lv2peg and lv2soname: - * lv2peg is a program that generates C header files from - Turtle files containing LV2 plugin data. - * lv2soname is a program that generate the RDF triples needed - to tell hosts that the library with that soname must never be - unloaded even after your plugin GUI library has been unloaded. + This package contains binaries lv2peg and lv2soname + . + lv2peg is a program that generates C header files from + Turtle files containing LV2 plugin data. . - This package provides runtime objects and development files. + lv2soname is a program that generate the RDF triples needed to tell hosts + that the library with that soname must never be unloaded even after your plugin + GUI library has been unloaded. Package: libpaq0 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Description: library for parsing and querying RDF data +Description: libraries for LV2 plugins These are some tools and libraries that may come in handy when writing LV2 plugins in C++. . - This package provides libpaq, which is a LIBrary for Parsing And - Querying RDF data in Turtle format. + libpaq is a LIBrary for Parsing And Querying RDF data in Turtle format. + . + liblv2-plugin is a C++ library that you can use to write LV2 plugins + by inheriting from a plugin base class and overriding + a small number of functions. + . + liblv2-gui is a C++ library that you can use to write LV2 plugin GUIs. Package: libpaq-dev Section: libdevel @@ -69,7 +64,7 @@ libgtkmm-2.4-dev, libpaq0 (= ${binary:Version}) Suggests: lv2-c++-tools-doc -Description: library for parsing and querying RDF data (header files) +Description: lv2-c++-tools development files some tools and libraries that may come in handy when writing LV2 plugins in C++. . diff -Nru lv2-c++-tools-1.0.4/debian/libpaq-dev.install lv2-c++-tools-1.0.3/debian/libpaq-dev.install --- lv2-c++-tools-1.0.4/debian/libpaq-dev.install 2011-03-23 09:19:01.000000000 +0000 +++ lv2-c++-tools-1.0.3/debian/libpaq-dev.install 2010-06-25 10:09:06.000000000 +0000 @@ -1,3 +1,3 @@ -libraries/paq/*.hpp usr/include/lv2-c++-tools/ +usr/include/lv2-c++-tools/* usr/include/lv2-c++-tools/ usr/lib/libpaq.so usr/lib/ usr/lib/pkgconfig/paq.pc usr/lib/pkgconfig/ diff -Nru lv2-c++-tools-1.0.4/debian/lv2-c++-tools-doc.doc-base lv2-c++-tools-1.0.3/debian/lv2-c++-tools-doc.doc-base --- lv2-c++-tools-1.0.4/debian/lv2-c++-tools-doc.doc-base 2011-03-01 11:50:23.000000000 +0000 +++ lv2-c++-tools-1.0.3/debian/lv2-c++-tools-doc.doc-base 2010-06-25 09:35:44.000000000 +0000 @@ -6,4 +6,7 @@ Format: HTML Index: /usr/share/doc/lv2-c++-tools-doc/html/index.html -Files: /usr/share/doc/lv2-c++-tools-doc/html/* +Files: /usr/share/doc/lv2-c++-tools-doc/html/*.html + /usr/share/doc/lv2-c++-tools-doc/html/*.css + /usr/share/doc/lv2-c++-tools-doc/html/*.png + /usr/share/doc/lv2-c++-tools-doc/html/*.gif diff -Nru lv2-c++-tools-1.0.4/debian/lv2-c++-tools.install lv2-c++-tools-1.0.3/debian/lv2-c++-tools.install --- lv2-c++-tools-1.0.4/debian/lv2-c++-tools.install 2011-03-25 11:45:45.000000000 +0000 +++ lv2-c++-tools-1.0.3/debian/lv2-c++-tools.install 2010-06-25 09:35:44.000000000 +0000 @@ -1,6 +1 @@ -usr/bin -libraries/lv2plugin/*.hpp usr/include/lv2-c++-tools/ -libraries/lv2gui/*.hpp usr/include/lv2-c++-tools/ -headers/* usr/include/lv2-c++-tools/ -usr/lib/pkgconfig/lv2-*.pc -usr/lib/liblv2-*.a +usr/bin/* usr/bin/ diff -Nru lv2-c++-tools-1.0.4/debian/patches/01-pkgconfig.patch lv2-c++-tools-1.0.3/debian/patches/01-pkgconfig.patch --- lv2-c++-tools-1.0.4/debian/patches/01-pkgconfig.patch 1970-01-01 00:00:00.000000000 +0000 +++ lv2-c++-tools-1.0.3/debian/patches/01-pkgconfig.patch 2010-06-25 10:08:40.000000000 +0000 @@ -0,0 +1,14 @@ +Author: Alessio Treglia +Description: Make libpaq depends on gtkmm-2.4. +Forwarded: not-needed +--- + paq.pc | 1 + + 1 file changed, 1 insertion(+) + +--- lv2-tools.orig/paq.pc ++++ lv2-tools/paq.pc +@@ -3,3 +3,4 @@ Description: A slow and inefficient RDF + Version: ${PACKAGE_VERSION} + Libs: -L${libdir} -lpaq + Cflags: -I${pkgincludedir} ++Requires: gtkmm-2.4 >= 2.6.0 diff -Nru lv2-c++-tools-1.0.4/debian/patches/02-missing_symbols.patch lv2-c++-tools-1.0.3/debian/patches/02-missing_symbols.patch --- lv2-c++-tools-1.0.4/debian/patches/02-missing_symbols.patch 1970-01-01 00:00:00.000000000 +0000 +++ lv2-c++-tools-1.0.3/debian/patches/02-missing_symbols.patch 2010-08-07 14:04:23.000000000 +0000 @@ -0,0 +1,22 @@ +Author: Alessio Treglia +Description: Some of symbols are missing. + libpaq.so.0.0.0 does not provide all the symbols as expected and + this causes such bugs as #591796. +Bug: http://bugs.debian.org/592061 +--- + Makefile | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +--- lv2-tools.orig/Makefile ++++ lv2-tools/Makefile +@@ -41,7 +41,9 @@ libpaq_a_INSTALLDIR = $(libdir) + + # The shared version of PAQ + libpaq_so_ABI = 0 +-libpaq_so_ARCHIVES = libraries/paq/libpaq.a ++libpaq_so_ARCHIVES = libraries/paq/libpaq.a \ ++ libraries/lv2plugin/liblv2-plugin.a \ ++ libraries/lv2gui/liblv2-gui.a + libpaq_so_HEADERS = turtleparser.hpp rdf.hpp query.hpp unicode.hpp namespaces.hpp + libpaq_so_SOURCEDIR = libraries/paq + diff -Nru lv2-c++-tools-1.0.4/debian/patches/series lv2-c++-tools-1.0.3/debian/patches/series --- lv2-c++-tools-1.0.4/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ lv2-c++-tools-1.0.3/debian/patches/series 2010-08-07 14:04:23.000000000 +0000 @@ -0,0 +1,2 @@ +01-pkgconfig.patch +02-missing_symbols.patch diff -Nru lv2-c++-tools-1.0.4/Doxyfile lv2-c++-tools-1.0.3/Doxyfile --- lv2-c++-tools-1.0.4/Doxyfile 2011-02-27 12:34:39.000000000 +0000 +++ lv2-c++-tools-1.0.3/Doxyfile 2010-01-07 14:19:06.000000000 +0000 @@ -31,7 +31,7 @@ # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 1.0.4 +PROJECT_NUMBER = 1.0.3 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff -Nru lv2-c++-tools-1.0.4/libraries/lv2plugin/lv2synth.hpp lv2-c++-tools-1.0.3/libraries/lv2plugin/lv2synth.hpp --- lv2-c++-tools-1.0.4/libraries/lv2plugin/lv2synth.hpp 2011-02-27 12:34:39.000000000 +0000 +++ lv2-c++-tools-1.0.3/libraries/lv2plugin/lv2synth.hpp 2010-01-07 14:19:06.000000000 +0000 @@ -113,8 +113,8 @@ hard to optimise. You can use @ref pluginmixins "mixins" with this class just like with - the Plugin class, but don't use URIMap - it is already added - automatically. + the Plugin class, but don't use EventRef or URIMap - they are already + added automatically. Here is an example of a complete synth plugin. Granted, not a very exciting one, but it should be enough to explain how to do it: @@ -182,13 +182,13 @@ class Ext1 = End, class Ext2 = End, class Ext3 = End, class Ext4 = End, class Ext5 = End, class Ext6 = End, class Ext7 = End> - class Synth : public Plugin, + class Synth : public Plugin, EventRef, Ext1, Ext2, Ext3, Ext4, Ext5, Ext6, Ext7> { public: /** @internal Convenient typedef for the parent class. */ - typedef Plugin, + typedef Plugin, EventRef, Ext1, Ext2, Ext3, Ext4, Ext5, Ext6, Ext7> Parent; @@ -334,11 +334,16 @@ /* This is what we do with events: - if it's a MIDI event, pass it to handle_midi() + - if it's a reference counted event, decrease the count and ignore it - if it's something else, just ignore it (it's safe) */ if (ev) { if (ev->type == m_midi_type) static_cast(this)->handle_midi(ev->size, event_data); + else if (ev->type == 0) + /* We need to qualify this so the compiler knows that there is an + event_unref() function */ + Parent::event_unref(ev); } } diff -Nru lv2-c++-tools-1.0.4/Makefile lv2-c++-tools-1.0.3/Makefile --- lv2-c++-tools-1.0.4/Makefile 2011-02-27 12:34:39.000000000 +0000 +++ lv2-c++-tools-1.0.3/Makefile 2010-01-07 14:19:06.000000000 +0000 @@ -1,5 +1,5 @@ PACKAGE_NAME = lv2-c++-tools -PACKAGE_VERSION = 1.0.4 +PACKAGE_VERSION = 1.0.3 PKG_DEPS = gtkmm-2.4>=2.8.8 ARCHIVES = liblv2-plugin.a liblv2-gui.a libpaq.a