diff -Nru stopmotion-0.8.5/debian/changelog stopmotion-0.8.5/debian/changelog --- stopmotion-0.8.5/debian/changelog 2021-04-23 19:56:40.000000000 +0000 +++ stopmotion-0.8.5/debian/changelog 2021-04-26 08:01:22.000000000 +0000 @@ -1,3 +1,9 @@ +stopmotion (0.8.5-4) unstable; urgency=medium + + * use pkg-config instead of obsolescent xml2-config (closes: #949501) + + -- Barak A. Pearlmutter Mon, 26 Apr 2021 09:01:22 +0100 + stopmotion (0.8.5-3) unstable; urgency=medium * bump policy, no changes required diff -Nru stopmotion-0.8.5/debian/patches/debian-changes stopmotion-0.8.5/debian/patches/debian-changes --- stopmotion-0.8.5/debian/patches/debian-changes 2021-04-23 19:56:40.000000000 +0000 +++ stopmotion-0.8.5/debian/patches/debian-changes 2021-04-26 08:01:22.000000000 +0000 @@ -14,6 +14,29 @@ if (len2 == 0) { return false; } +--- stopmotion-0.8.5.orig/src/test/test.pro ++++ stopmotion-0.8.5/src/test/test.pro +@@ -99,7 +99,8 @@ SOURCES += \ + FORMS += + RESOURCES += + INCLUDEPATH += ../.. \ +- $$system(xml2-config --cflags | sed -e 's/-I//g') ++ $$system(pkg-config libxml-2.0 --cflags | sed -e 's/-I//g') \ ++ $$system(pkg-config vorbisfile --cflags | sed -e 's/-I//g' ) + oomteststub.target = oomteststub.o + oomteststub.commands = make -f oomtestutil.mak oomteststub.o + oomteststub.depends = oomteststub.cpp oomtestutil.h +@@ -110,8 +111,8 @@ QMAKE_EXTRA_TARGETS += oomtestutil oomte + QMAKE_CLEAN += oomteststub.o oomtestutil.so + PRE_TARGETDEPS = oomteststub.o + LIBS += oomteststub.o -ldl \ +- $$system(xml2-config --libs) \ +- -ltar -lvorbisfile ++ $$system(pkg-config libxml-2.0 --libs) \ ++ -ltar $$system(pkg-config vorbisfile --libs) + DESTDIR=. + release:OBJECTS_DIR=build/release + release:TARGET = test --- stopmotion-0.8.5.orig/src/test/testundo.cpp +++ stopmotion-0.8.5/src/test/testundo.cpp @@ -574,7 +574,7 @@ void testUndo(Executor& e, ModelTestHelp