Comment 39 for bug 1558480

Revision history for this message
jre (jre-phoenix) wrote : Re: Make Wine packages synced from Debian

I've now got two solutions (tested in Debian with rebuilt Ubuntu packages) for an upgrade path from src:wine1.6 (1:1.6.2-0ubuntu15) to either the Debian packages src:wine (1.8.3-3) or src:wine-development (1.9.16-1). After a transition (until including the next 18.04) the Debian packages might theoretically be synced.

- Both make src:wine1.6 ship only transitional packages (based on ginggs' previous attempt).
- Both work with "apt dist-upgrade" and uninstall the old wine metapackage.
- There are minor unrelated TODOs in the changelog.

I've pushed the proposals to my git repository at github[1] and uploaded to 2 separate PPAs. Check the launchpad sites to see which versions you need from git. NOTE: wine-development is the same for both versions, but currently only uploaded to one repo.

Unfortunately src:wine-development fails to build because of a new cups version (but ginggs told me that this is fixed in the next version) and src:wine fails, too (someone needs to investigate).

[1]: https://github.com/jre-wine/wine
git branches:
  jre.stretch/Ubuntu.src.wine
  jre/Ubuntu.src.wine.development
  jre/wine1.6-transition

For building the packages I made the following changes:
* Use unversioned sonames in debian/scripts/sonames2elf
  so that dpkg-shlibdeps can find libGL.so in Ubuntu.
* Don't build on armhf.

1.) Transition to src:wine-development

- This switches users to the *development branch* from winehq, but that might be not wanted for these packages, especially in a LTS! Up for discussion!
- The recently implemented Debian alternatives system makes sure that the commands can be used without any suffix, e.g. /usr/bin/wine.
- "apt install wine" installs Debian's wine *next to* wine-development.
  The system defaults to use src:wine's commands then.

https://launchpad.net/~jre-phoenix/+archive/ubuntu/transition+wine1.6+wine-development

2.) Transition to src:wine

- src:wine:
  - Rename binary package wine -> wine-stable
- Additionally create a native src:wine1.6-transition:
  - Package wine depends wine-stable
  - Not needed for the transition itself, but to make sure that
    "apt install wine" installs the default src:wine.

https://launchpad.net/~jre-phoenix/+archive/ubuntu/transition+wine1.6+wine

So a transition to src:wine would be cleaner, but put a higher burden on the maintainers the next 2 years (these changes wouldn't be in Debian). There are a few (not much) changes to d/control.in and d/rules necessary, and some files need to be renamed. Don't know how this works with the Ubuntu merging.