libcupsfilters (2.0~rc1-0ubuntu1) lunar; urgency=medium

 10. On the symbols diff from build log of the upstream update do
      - s/^+#MISSING: <version># \(optional\)/+ (optional)/
     to conserve the entries of other architectures.
     As this time the upstream release did not have any C++ changes, there
     remain only actual symbol changes.

 -- Till Kamppeter <till.kamppeter@gmail.com>  Tue, 11 Apr 2023 20:28:45 +0200

libcupsfilters (2.0~b4-0ubuntu5) lunar; urgency=medium

  9. Generally edit symbols file patches taken from Launchpad's build logs
     as follows:
      - s/^+#MISSING: <version># /+ /
      - s/^+ _/+ (optional)_/
     and then apply the patch to your symbols file.
     This makes all symbols which are different on that architecture compared
     to the other architectures optional.

 -- Till Kamppeter <till.kamppeter@gmail.com>  Fri, 24 Feb 2023 09:13:16 +0100

libcupsfilters (2.0~b4-0ubuntu3) lunar; urgency=medium

  8. If a Launchpad build fails because of symbols missing on that architecture
     mark these symbols in debian/libcupsfilters2.symbols as (optional) and
     upload again.

 -- Till Kamppeter <till.kamppeter@gmail.com>  Thu, 23 Feb 2023 22:43:16 +0100

libcupsfilters (2.0~b4-0ubuntu1) lunar; urgency=medium

  Libraries which are (at least partially) written in C++ produce very messy
  debian/*.symbols files, often depending on the architecture.
  To have a clean debian/libcupsfilters2.symbols file we use KDE's
  symbolshelper as described on
  https://qt-kde-team.pages.debian.net/symbolfiles.html:

  1. Add "--with pkgkde_symbolshelper" argument to the "dh $@" in debian/rules
  2. Build the package, do not clean afterwards
  3. Run commands:

     pkgkde-gensymbols -plibcupsfilters2 -v2.0~b4-0ubuntu1 -Osymbols.amd64 \
     -edebian/libcupsfilters2/usr/lib/x86_64-linux-gnu/libcupsfilters.so.2.0.0 \
         > ../diff
     pkgkde-symbolshelper create -o ../libcupsfilters2.symbols \
         -v 2.0~b4-0ubuntu1 symbols.amd64

     Note: Version must be of the package we are building.
  4. Use the resulting file ../libcupsfilters2.symbols as
     debian/libcupsfilters2.symbols
  5. If Launchpad does not build on some architectures, take the diffs from
     Launchpad's build logs.
  6. Edit the diffs to mark any extra symbol "(optional)".
  7. Apply the diffs to update the debian/libcupsfilters2.symbols file and
     upload again.
     Note: Do not edit the version numbers in the extra symbols they must stay
           the ones of the failed build.

 -- Till Kamppeter <till.kamppeter@gmail.com>  Thu, 23 Feb 2023 17:23:16 +0100
