diff -Nru libfm-qt-0.16.0/debian/changelog libfm-qt-0.16.0/debian/changelog --- libfm-qt-0.16.0/debian/changelog 2021-01-08 19:15:46.000000000 +0000 +++ libfm-qt-0.16.0/debian/changelog 2021-01-14 21:07:39.000000000 +0000 @@ -1,3 +1,20 @@ +libfm-qt (0.16.0-3+rpi1) bullseye-staging; urgency=medium + + [changes brought forward from 0.12.0-13+rpi1 by Peter Michael Green at Wed, 13 Dec 2017 01:52:52 +0000] + * Add symbols file hack for Raspbian. + + [changes introduced in 0.12.0-16+rpi1 by Peter Michael Green] + * Extend symbols file hack to work with riscv64 changes. + + [changes introduced in 0.13.1-5+rpi1 by Peter Michael Green] + * Use wildcard for symbols file name in symbols file hack so that it keeps + working across soname changes. + + [changes introduced in 0.14.0-3+rpi1 by Peter Michael Green] + * Further extend symbols file hack so it covers a new entry added in 0.14.0 + + -- Raspbian forward porter Thu, 14 Jan 2021 21:07:39 +0000 + libfm-qt (0.16.0-3) unstable; urgency=high * Update symbols for armel, armhf, i386, mipsel and s390x to fit FTBFS. diff -Nru libfm-qt-0.16.0/debian/control libfm-qt-0.16.0/debian/control --- libfm-qt-0.16.0/debian/control 2021-01-05 19:31:32.000000000 +0000 +++ libfm-qt-0.16.0/debian/control 2021-01-14 21:07:39.000000000 +0000 @@ -14,7 +14,8 @@ libqt5x11extras5-dev, libx11-dev, lxqt-build-tools (>= 0.6.0~), - qtbase5-private-dev + qtbase5-private-dev, + python3 Standards-Version: 4.4.1 Vcs-Browser: https://salsa.debian.org/lxqt-team/libfm-qt Vcs-Git: https://salsa.debian.org/lxqt-team/libfm-qt.git diff -Nru libfm-qt-0.16.0/debian/raspbiansymbolshack.py libfm-qt-0.16.0/debian/raspbiansymbolshack.py --- libfm-qt-0.16.0/debian/raspbiansymbolshack.py 1970-01-01 00:00:00.000000000 +0000 +++ libfm-qt-0.16.0/debian/raspbiansymbolshack.py 2021-01-14 21:07:39.000000000 +0000 @@ -0,0 +1,29 @@ +#!/usr/bin/python3 +import sys +if len(sys.argv) != 3: + print('raspbiansymbolshack: wrong number of command line parameters') + sys.exit(1) + +armellines=set() +f = open(sys.argv[1],'r') +for line in f: + line = line.rstrip('\n') + armellines.add(line) +f.close() + +resultlines = [] +f = open(sys.argv[2],'r') +for line in f: + line = line.rstrip('\n') + if (line in armellines) or (line[0:1] != ' '): + resultlines.append(line) + else: + resultlines.append(" (optional=notarmelandprobabllynotraspbian)"+line[1:]) +f.close() + +f = open(sys.argv[2],'w') +for line in resultlines: + f.write(line+'\n') +f.close() + + diff -Nru libfm-qt-0.16.0/debian/rules libfm-qt-0.16.0/debian/rules --- libfm-qt-0.16.0/debian/rules 2021-01-05 21:44:52.000000000 +0000 +++ libfm-qt-0.16.0/debian/rules 2021-01-14 21:07:39.000000000 +0000 @@ -12,6 +12,11 @@ dh_missing --fail-missing override_dh_auto_configure: + debian/raspbiansymbolshack.py debian/libfm-qt*.symbols.armel debian/libfm-qt*.symbols.armhf dh_auto_configure -- \ -DUPDATE_TRANSLATIONS=OFF \ -DCMAKE_BUILD_TYPE=RelWithDebInfo + +override_dh_auto_clean: + dh_auto_clean + sed -i 's/(optional=notarmelandprobabllynotraspbian)//' debian/libfm-qt*.symbols.armhf