diff -Nru wine-1.8.4/debian/changelog wine-1.8.4/debian/changelog --- wine-1.8.4/debian/changelog 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/changelog 2016-09-20 10:53:55.000000000 +0200 @@ -1,3 +1,17 @@ +wine (1.8.4-1ubuntu1) yakkety; urgency=medium + + * Merge with Debian unstable. (LP: #1558480) + * Use unversioned sonames in debian/scripts/sonames2elf + so that dpkg-shlibdeps can find libGL.so in Ubuntu (closes: #827770). + * Add versioned breaks/replaces against the wine1.6 packages. + * Rename d/wineVERSION* files to d/wineDEBSUFFIX*. + * Rename pkg wine to wine-stable and make it the first package + in d/control.in. + * Add dummy package wine with versioned depends on wine-stable. + * Generate the correct SERVER_PROTOCOL_VERSION. + + -- Jens Reyer Tue, 20 Sep 2016 01:02:21 +0200 + wine (1.8.4-1) unstable; urgency=medium * New upstream release 1.8.4, released Aug 22, 2016. diff -Nru wine-1.8.4/debian/control wine-1.8.4/debian/control --- wine-1.8.4/debian/control 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/control 2016-09-20 10:54:26.000000000 +0200 @@ -1,7 +1,8 @@ Source: wine Section: otherosfs Priority: optional -Maintainer: Debian Wine Party +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Wine Party Uploaders: Michael Gilbert , Stephen Kitt , @@ -70,7 +71,7 @@ Vcs-Browser: https://anonscm.debian.org/git/pkg-wine/wine.git/?h=stretch Vcs-Git: https://anonscm.debian.org/git/pkg-wine/wine.git -b stretch -Package: wine +Package: wine-stable Architecture: all Multi-Arch: foreign Built-Using: ${built:Using} @@ -83,6 +84,16 @@ playonlinux, wine-binfmt, dosbox (>= 0.74-4.2~), +Conflicts: + wine (>= 1:1), +Breaks: + wine1.6 (<< 1:1.8.4ubuntu1~), + wine1.6-i386 (<< 1:1.8.4ubuntu1~), +Replaces: + wine1.6 (<< 1:1.8.4ubuntu1~), + wine1.6-i386 (<< 1:1.8.4ubuntu1~), +Provides: + wine, Description: Windows API implementation - standard suite Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -90,6 +101,17 @@ This package provides essential wrappers and convenience tools for the standard Wine components. +Package: wine +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, + wine-stable (= ${source:Version}), +Description: Windows API implementation - empty dependency package + This is a real but empty package as long as the migration to Debian's + src:wine is ongoing. It depends on wine-stable, which replaces the wine + package during the transition. + Package: wine-binfmt Architecture: all Multi-Arch: foreign @@ -97,6 +119,10 @@ ${misc:Depends}, wine, binfmt-support, +Breaks: + wine1.6 (<< 1:1.8.4ubuntu1~), +Replaces: + wine1.6 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - binfmt support Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -112,7 +138,7 @@ ${shlibs:Depends}, libwine (= ${binary:Version}), Recommends: - wine (= ${source:Version}), + wine-stable (= ${source:Version}), Suggests: wine32-preloader (= ${binary:Version}), Breaks: @@ -133,13 +159,16 @@ ${shlibs:Depends}, libwine (= ${binary:Version}), Recommends: - wine (= ${source:Version}), + wine-stable (= ${source:Version}), wine32 (= ${binary:Version}), Suggests: wine64-preloader (= ${binary:Version}), Breaks: wine (<< 1.7.50-3~), wine64-preloader (<< 1.7.51-2~), + wine1.6-amd64 (<< 1:1.8.4ubuntu1~), +Replaces: + wine1.6-amd64 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - 64-bit binary loader Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -184,10 +213,14 @@ ${shlibs:Depends}, libwine-dev (= ${binary:Version}), Recommends: - wine (= ${source:Version}), + wine-stable (= ${source:Version}), g++ | g++-multilib:amd64 [i386], +Breaks: + wine1.6 (<< 1:1.8.4ubuntu1~), Conflicts: wine64-tools, +Replaces: + wine1.6 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - 32-bit developer tools Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -210,10 +243,14 @@ libwine-dev:armel (= ${binary:Version}) [arm64] | libwine-dev:armhf (= ${binary:Version}) [arm64], Recommends: - wine (= ${source:Version}), + wine-stable (= ${source:Version}), g++, +Breaks: + wine1.6 (<< 1:1.8.4ubuntu1~), Conflicts: wine32-tools, +Replaces: + wine1.6 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - 64-bit developer tools Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -230,8 +267,10 @@ ${misc:Depends}, Replaces: libwine (<< 1.7.41-2~), + wine1.6 (<< 1:1.8.4ubuntu1~), Breaks: libwine (<< 1.7.41-2~), + wine1.6 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - fonts Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -261,6 +300,11 @@ Breaks: wine32 (<< 1.7.51-2~), wine64 (<< 1.7.51-2~), + wine1.6-amd64 (<< 1:1.8.4ubuntu1~), + wine1.6-i386 (<< 1:1.8.4ubuntu1~), +Replaces: + wine1.6-amd64 (<< 1:1.8.4ubuntu1~), + wine1.6-i386 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - library Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -281,6 +325,9 @@ Breaks: wine32 (<< 1.7.51-2~), wine64 (<< 1.7.51-2~), + wine1.6-dev (<< 1:1.8.4ubuntu1~), +Replaces: + wine1.6-dev (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - development files Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. diff -Nru wine-1.8.4/debian/control.in wine-1.8.4/debian/control.in --- wine-1.8.4/debian/control.in 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/control.in 2016-09-19 23:19:34.000000000 +0200 @@ -1,7 +1,8 @@ Source: wineVERSION Section: otherosfs Priority: optional -Maintainer: Debian Wine Party +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Wine Party Uploaders: Michael Gilbert , Stephen Kitt , @@ -70,7 +71,7 @@ Vcs-Browser: https://anonscm.debian.org/git/pkg-wine/wine.git/?h=stretch Vcs-Git: https://anonscm.debian.org/git/pkg-wine/wine.git -b stretch -Package: wineVERSION +Package: wineDEBSUFFIX Architecture: all Multi-Arch: foreign Built-Using: ${built:Using} @@ -83,6 +84,16 @@ playonlinux, wine-binfmt, dosbox (>= 0.74-4.2~), +Conflicts: + wine (>= 1:1), +Breaks: + wine1.6 (<< 1:1.8.4ubuntu1~), + wine1.6-i386 (<< 1:1.8.4ubuntu1~), +Replaces: + wine1.6 (<< 1:1.8.4ubuntu1~), + wine1.6-i386 (<< 1:1.8.4ubuntu1~), +Provides: + wine, Description: Windows API implementation - standard suite Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -90,6 +101,17 @@ This package provides essential wrappers and convenience tools for the standard Wine components. +Package: wine +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, + wine-stable (= ${source:Version}), +Description: Windows API implementation - empty dependency package + This is a real but empty package as long as the migration to Debian's + src:wine is ongoing. It depends on wine-stable, which replaces the wine + package during the transition. + Package: wine-binfmt Architecture: all Multi-Arch: foreign @@ -97,6 +119,10 @@ ${misc:Depends}, wine, binfmt-support, +Breaks: + wine1.6 (<< 1:1.8.4ubuntu1~), +Replaces: + wine1.6 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - binfmt support Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -112,7 +138,7 @@ ${shlibs:Depends}, libwineVERSION (= ${binary:Version}), Recommends: - wineVERSION (= ${source:Version}), + wineDEBSUFFIX (= ${source:Version}), Suggests: wine32VERSION-preloader (= ${binary:Version}), Breaks: @@ -133,13 +159,16 @@ ${shlibs:Depends}, libwineVERSION (= ${binary:Version}), Recommends: - wineVERSION (= ${source:Version}), + wineDEBSUFFIX (= ${source:Version}), wine32VERSION (= ${binary:Version}), Suggests: wine64VERSION-preloader (= ${binary:Version}), Breaks: wineVERSION (<< 1.7.50-3~), wine64VERSION-preloader (<< 1.7.51-2~), + wine1.6-amd64 (<< 1:1.8.4ubuntu1~), +Replaces: + wine1.6-amd64 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - 64-bit binary loader Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -184,10 +213,14 @@ ${shlibs:Depends}, libwineVERSION-dev (= ${binary:Version}), Recommends: - wineVERSION (= ${source:Version}), + wineDEBSUFFIX (= ${source:Version}), g++ | g++-multilib:amd64 [i386], +Breaks: + wine1.6 (<< 1:1.8.4ubuntu1~), Conflicts: wine64VERSION-tools, +Replaces: + wine1.6 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - 32-bit developer tools Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -210,10 +243,14 @@ libwineVERSION-dev:armel (= ${binary:Version}) [arm64] | libwineVERSION-dev:armhf (= ${binary:Version}) [arm64], Recommends: - wineVERSION (= ${source:Version}), + wineDEBSUFFIX (= ${source:Version}), g++, +Breaks: + wine1.6 (<< 1:1.8.4ubuntu1~), Conflicts: wine32VERSION-tools, +Replaces: + wine1.6 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - 64-bit developer tools Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -230,8 +267,10 @@ ${misc:Depends}, Replaces: libwineVERSION (<< 1.7.41-2~), + wine1.6 (<< 1:1.8.4ubuntu1~), Breaks: libwineVERSION (<< 1.7.41-2~), + wine1.6 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - fonts Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -261,6 +300,11 @@ Breaks: wine32VERSION (<< 1.7.51-2~), wine64VERSION (<< 1.7.51-2~), + wine1.6-amd64 (<< 1:1.8.4ubuntu1~), + wine1.6-i386 (<< 1:1.8.4ubuntu1~), +Replaces: + wine1.6-amd64 (<< 1:1.8.4ubuntu1~), + wine1.6-i386 (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - library Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. @@ -281,6 +325,9 @@ Breaks: wine32VERSION (<< 1.7.51-2~), wine64VERSION (<< 1.7.51-2~), + wine1.6-dev (<< 1:1.8.4ubuntu1~), +Replaces: + wine1.6-dev (<< 1:1.8.4ubuntu1~), Description: Windows API implementation - development files Wine is a free MS-Windows API implementation. This is still a work in progress and many applications may still not work. diff -Nru wine-1.8.4/debian/patches/generate/request.patch wine-1.8.4/debian/patches/generate/request.patch --- wine-1.8.4/debian/patches/generate/request.patch 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/patches/generate/request.patch 2016-09-20 00:56:10.000000000 +0200 @@ -3,7 +3,22 @@ --- a/tools/make_requests +++ b/tools/make_requests -@@ -437,7 +437,7 @@ foreach my $err (sort keys %errors) +@@ -270,13 +270,7 @@ sub PARSE_REQUESTS() + + sub GET_PROTOCOL_VERSION() + { +- my $protocol = 0; +- open SERVER_PROT, "include/wine/server_protocol.h" or return 0; +- while () +- { +- if (/^\#define SERVER_PROTOCOL_VERSION (\d+)/) { $protocol = $1; last; } +- } +- close SERVER_PROT; ++ my $protocol = 489; + return $protocol; + } + +@@ -437,7 +431,7 @@ foreach my $err (sort keys %errors) push @trace_lines, " { NULL, 0 }\n"; push @trace_lines, "};\n"; @@ -12,7 +27,7 @@ "### make_requests begin ###", "### make_requests end ###", @trace_lines ); -@@ -464,7 +464,7 @@ foreach my $type (sort keys %formats) +@@ -464,7 +458,7 @@ foreach my $type (sort keys %formats) push @request_lines, @asserts; push @request_lines, "\n#endif /* WANT_REQUEST_HANDLERS */\n"; diff -Nru wine-1.8.4/debian/rules wine-1.8.4/debian/rules --- wine-1.8.4/debian/rules 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/rules 2016-09-19 23:19:34.000000000 +0200 @@ -67,6 +67,7 @@ # additional files to generate INSTALLS=$(shell ls debian/*VERSION* | sed s/VERSION/$(VERSION)/) \ + $(shell ls debian/*DEBSUFFIX* | sed s/DEBSUFFIX/$(DEBSUFFIX)/) \ debian/bug-control \ # sonames to compute additional dependencies @@ -80,9 +81,9 @@ cut -d\" -f2) debian/control: debian/control.in - sed s/VERSION/$(VERSION)/g < $< > $@ + sed "s/VERSION/$(VERSION)/g;s/DEBSUFFIX/$(DEBSUFFIX)/g" < $< > $@ -debian/wine$(VERSION)%: debian/wineVERSION% +debian/wine$(DEBSUFFIX)%: debian/wineDEBSUFFIX% sed "s/VERSION/$(VERSION)/g;s/DEBSUFFIX/$(DEBSUFFIX)/g" < $< > $@ debian/wine32$(VERSION)%: debian/wine32VERSION% diff -Nru wine-1.8.4/debian/scripts/import wine-1.8.4/debian/scripts/import --- wine-1.8.4/debian/scripts/import 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/scripts/import 2016-09-19 23:25:06.000000000 +0200 @@ -49,3 +49,11 @@ sed -n 's/^ - \(.*\)/- \1/p' ANNOUNCE | while read line; do dch $line done + +# set upstream's SERVER_PROTOCOL_VERSION in request.patch +# this is usually stored in include/wine/server_protocol.h, but we clean that file because it is generated +proto_version=$(expr $(grep "#define SERVER_PROTOCOL_VERSION" include/wine/server_protocol.h | cut -d\ -f 3) - 1) +[ "$proto_version" -lt 32767 ] || { + echo "error: proto_version $proto_version is not valid." + exit 1;} +sed -i "s|\(+ my \$protocol = \)[[:digit:]]*;|\1${proto_version};|" debian/patches/generate/request.patch diff -Nru wine-1.8.4/debian/scripts/sonames2elf wine-1.8.4/debian/scripts/sonames2elf --- wine-1.8.4/debian/scripts/sonames2elf 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/scripts/sonames2elf 2016-09-19 23:19:34.000000000 +0200 @@ -29,7 +29,10 @@ fi tmpdir=$(mktemp -d -t sonames2elf.XXXXXX) cd "$tmpdir" -printf 'INPUT(%s)\n' "$@" > libeverything.so +# Use the unversioned solink because the soname might be not found. +# solink always points to the default soname, which is what wine uses. +SOLINKS="$(echo $@ | sed "s|\([[:alnum:]]*\.so\)[\.[0-9]*]*|\1|g")" +printf 'INPUT(%s)\n' "$SOLINKS" > libeverything.so gcc -shared -nostdlib -Wl,--no-as-needed -L. -leverything -o elf cat elf rm -rf "$tmpdir" diff -Nru wine-1.8.4/debian/wineDEBSUFFIX.docs wine-1.8.4/debian/wineDEBSUFFIX.docs --- wine-1.8.4/debian/wineDEBSUFFIX.docs 1970-01-01 02:00:00.000000000 +0200 +++ wine-1.8.4/debian/wineDEBSUFFIX.docs 2016-09-19 23:19:34.000000000 +0200 @@ -0,0 +1,2 @@ +debian/tmp/changelog +debian/tmp/README.winedbg diff -Nru wine-1.8.4/debian/wineDEBSUFFIX.install wine-1.8.4/debian/wineDEBSUFFIX.install --- wine-1.8.4/debian/wineDEBSUFFIX.install 1970-01-01 02:00:00.000000000 +0200 +++ wine-1.8.4/debian/wineDEBSUFFIX.install 2016-09-19 23:19:34.000000000 +0200 @@ -0,0 +1,4 @@ +debian/tmp/wineDEBSUFFIX usr/bin +debian/tmp/wineserver usr/lib/wineVERSION +debian/tmp/wineapploader usr/lib/wineVERSION + diff -Nru wine-1.8.4/debian/wineDEBSUFFIX.links wine-1.8.4/debian/wineDEBSUFFIX.links --- wine-1.8.4/debian/wineDEBSUFFIX.links 1970-01-01 02:00:00.000000000 +0200 +++ wine-1.8.4/debian/wineDEBSUFFIX.links 2016-09-19 23:19:34.000000000 +0200 @@ -0,0 +1,11 @@ +usr/lib/wineVERSION/wineserver usr/bin/wineserverDEBSUFFIX + +usr/lib/wineVERSION/wineapploader usr/bin/msiexecDEBSUFFIX +usr/lib/wineVERSION/wineapploader usr/bin/regeditDEBSUFFIX +usr/lib/wineVERSION/wineapploader usr/bin/winecfgDEBSUFFIX +usr/lib/wineVERSION/wineapploader usr/bin/winedbgDEBSUFFIX +usr/lib/wineVERSION/wineapploader usr/bin/winebootDEBSUFFIX +usr/lib/wineVERSION/wineapploader usr/bin/winefileDEBSUFFIX +usr/lib/wineVERSION/wineapploader usr/bin/winepathDEBSUFFIX +usr/lib/wineVERSION/wineapploader usr/bin/regsvr32DEBSUFFIX +usr/lib/wineVERSION/wineapploader usr/bin/wineconsoleDEBSUFFIX diff -Nru wine-1.8.4/debian/wineDEBSUFFIX.manpages wine-1.8.4/debian/wineDEBSUFFIX.manpages --- wine-1.8.4/debian/wineDEBSUFFIX.manpages 1970-01-01 02:00:00.000000000 +0200 +++ wine-1.8.4/debian/wineDEBSUFFIX.manpages 2016-09-19 23:19:34.000000000 +0200 @@ -0,0 +1,18 @@ +debian/tmp/wineDEBSUFFIX.man +debian/tmp/wineDEBSUFFIX.de.man +debian/tmp/wineDEBSUFFIX.fr.man +debian/tmp/wineDEBSUFFIX.pl.man + +debian/tmp/wineserverDEBSUFFIX.man +debian/tmp/wineserverDEBSUFFIX.de.man +debian/tmp/wineserverDEBSUFFIX.fr.man + +debian/tmp/msiexecDEBSUFFIX.man +debian/tmp/regeditDEBSUFFIX.man +debian/tmp/winecfgDEBSUFFIX.man +debian/tmp/winedbgDEBSUFFIX.man +debian/tmp/winebootDEBSUFFIX.man +debian/tmp/winefileDEBSUFFIX.man +debian/tmp/winepathDEBSUFFIX.man +debian/tmp/regsvr32DEBSUFFIX.man +debian/tmp/wineconsoleDEBSUFFIX.man diff -Nru wine-1.8.4/debian/wineDEBSUFFIX.postinst wine-1.8.4/debian/wineDEBSUFFIX.postinst --- wine-1.8.4/debian/wineDEBSUFFIX.postinst 1970-01-01 02:00:00.000000000 +0200 +++ wine-1.8.4/debian/wineDEBSUFFIX.postinst 2016-09-19 23:19:34.000000000 +0200 @@ -0,0 +1,76 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + dpkg-trigger wineVERSION + ;; + triggered) + # debian alternatives system + case DEBSUFFIX in + -stable) + PRIORITY=70;; + -development) + PRIORITY=50;; + *) + echo "DEBSUFFIX unknown"; exit 1;; + esac + + apps="wineserver + msiexec + regedit + winecfg + winedbg + wineboot + winefile + winepath + regsvr32 + wineconsole + + wine64 + + wmc + wrc + widl + winecpp + winegcc + wineg++ + winedump + winebuild + winemaker" + + slaves= + for app in $apps; do + slaves="$slaves + --slave /usr/bin/$app $app + /usr/bin/${app}DEBSUFFIX + --slave /usr/share/man/man1/${app}.1.gz ${app}.1.gz + /usr/share/man/man1/${app}DEBSUFFIX.1.gz" + done + + update-alternatives --quiet \ + --install /usr/bin/wine wine /usr/bin/wineDEBSUFFIX $PRIORITY \ + $slaves \ + --slave /usr/share/man/man1/wine.1.gz wine.1.gz \ + /usr/share/man/man1/wineDEBSUFFIX.1.gz \ + --slave /usr/share/man/de/man1/wine.1.gz wine.de.1.gz \ + /usr/share/man/de/man1/wineDEBSUFFIX.1.gz \ + --slave /usr/share/man/fr/man1/wine.1.gz wine.fr.1.gz \ + /usr/share/man/fr/man1/wineDEBSUFFIX.1.gz \ + --slave /usr/share/man/pl/man1/wine.1.gz wine.pl.1.gz \ + /usr/share/man/pl/man1/wineDEBSUFFIX.1.gz \ + --slave /usr/share/man/de/man1/wineserver.1.gz wineserver.de.1.gz \ + /usr/share/man/de/man1/wineserverDEBSUFFIX.1.gz \ + --slave /usr/share/man/fr/man1/wineserver.1.gz wineserver.fr.1.gz \ + /usr/share/man/fr/man1/wineserverDEBSUFFIX.1.gz \ + --slave /usr/share/man/de/man1/winemaker.1.gz winemaker.de.1.gz \ + /usr/share/man/de/man1/winemakerDEBSUFFIX.1.gz \ + --slave /usr/share/man/fr/man1/winemaker.1.gz winemaker.fr.1.gz \ + /usr/share/man/fr/man1/winemakerDEBSUFFIX.1.gz + ;; +esac + +#DEBHELPER# + +exit 0 diff -Nru wine-1.8.4/debian/wineDEBSUFFIX.prerm wine-1.8.4/debian/wineDEBSUFFIX.prerm --- wine-1.8.4/debian/wineDEBSUFFIX.prerm 1970-01-01 02:00:00.000000000 +0200 +++ wine-1.8.4/debian/wineDEBSUFFIX.prerm 2016-09-19 23:19:34.000000000 +0200 @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +case "$1" in + remove|deconfigure) + update-alternatives --quiet --remove wine /usr/bin/wineDEBSUFFIX + ;; +esac + +#DEBHELPER# + +exit 0 diff -Nru wine-1.8.4/debian/wineDEBSUFFIX.triggers wine-1.8.4/debian/wineDEBSUFFIX.triggers --- wine-1.8.4/debian/wineDEBSUFFIX.triggers 1970-01-01 02:00:00.000000000 +0200 +++ wine-1.8.4/debian/wineDEBSUFFIX.triggers 2016-09-19 23:19:34.000000000 +0200 @@ -0,0 +1,10 @@ +# update the wine alternatives in "wineVERSION.postinst triggered" + +# explicit trigger +interest wineVERSION + +# indicates package wine64 installation status changed +interest /usr/bin/wine64DEBSUFFIX + +# indicates package wine{32|64}-tools installation status changed +interest /usr/bin/winegccDEBSUFFIX diff -Nru wine-1.8.4/debian/wineVERSION.docs wine-1.8.4/debian/wineVERSION.docs --- wine-1.8.4/debian/wineVERSION.docs 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/wineVERSION.docs 1970-01-01 02:00:00.000000000 +0200 @@ -1,2 +0,0 @@ -debian/tmp/changelog -debian/tmp/README.winedbg diff -Nru wine-1.8.4/debian/wineVERSION.install wine-1.8.4/debian/wineVERSION.install --- wine-1.8.4/debian/wineVERSION.install 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/wineVERSION.install 1970-01-01 02:00:00.000000000 +0200 @@ -1,4 +0,0 @@ -debian/tmp/wineDEBSUFFIX usr/bin -debian/tmp/wineserver usr/lib/wineVERSION -debian/tmp/wineapploader usr/lib/wineVERSION - diff -Nru wine-1.8.4/debian/wineVERSION.links wine-1.8.4/debian/wineVERSION.links --- wine-1.8.4/debian/wineVERSION.links 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/wineVERSION.links 1970-01-01 02:00:00.000000000 +0200 @@ -1,11 +0,0 @@ -usr/lib/wineVERSION/wineserver usr/bin/wineserverDEBSUFFIX - -usr/lib/wineVERSION/wineapploader usr/bin/msiexecDEBSUFFIX -usr/lib/wineVERSION/wineapploader usr/bin/regeditDEBSUFFIX -usr/lib/wineVERSION/wineapploader usr/bin/winecfgDEBSUFFIX -usr/lib/wineVERSION/wineapploader usr/bin/winedbgDEBSUFFIX -usr/lib/wineVERSION/wineapploader usr/bin/winebootDEBSUFFIX -usr/lib/wineVERSION/wineapploader usr/bin/winefileDEBSUFFIX -usr/lib/wineVERSION/wineapploader usr/bin/winepathDEBSUFFIX -usr/lib/wineVERSION/wineapploader usr/bin/regsvr32DEBSUFFIX -usr/lib/wineVERSION/wineapploader usr/bin/wineconsoleDEBSUFFIX diff -Nru wine-1.8.4/debian/wineVERSION.manpages wine-1.8.4/debian/wineVERSION.manpages --- wine-1.8.4/debian/wineVERSION.manpages 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/wineVERSION.manpages 1970-01-01 02:00:00.000000000 +0200 @@ -1,18 +0,0 @@ -debian/tmp/wineDEBSUFFIX.man -debian/tmp/wineDEBSUFFIX.de.man -debian/tmp/wineDEBSUFFIX.fr.man -debian/tmp/wineDEBSUFFIX.pl.man - -debian/tmp/wineserverDEBSUFFIX.man -debian/tmp/wineserverDEBSUFFIX.de.man -debian/tmp/wineserverDEBSUFFIX.fr.man - -debian/tmp/msiexecDEBSUFFIX.man -debian/tmp/regeditDEBSUFFIX.man -debian/tmp/winecfgDEBSUFFIX.man -debian/tmp/winedbgDEBSUFFIX.man -debian/tmp/winebootDEBSUFFIX.man -debian/tmp/winefileDEBSUFFIX.man -debian/tmp/winepathDEBSUFFIX.man -debian/tmp/regsvr32DEBSUFFIX.man -debian/tmp/wineconsoleDEBSUFFIX.man diff -Nru wine-1.8.4/debian/wineVERSION.postinst wine-1.8.4/debian/wineVERSION.postinst --- wine-1.8.4/debian/wineVERSION.postinst 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/wineVERSION.postinst 1970-01-01 02:00:00.000000000 +0200 @@ -1,76 +0,0 @@ -#!/bin/sh - -set -e - -case "$1" in - configure) - dpkg-trigger wineVERSION - ;; - triggered) - # debian alternatives system - case DEBSUFFIX in - -stable) - PRIORITY=70;; - -development) - PRIORITY=50;; - *) - echo "DEBSUFFIX unknown"; exit 1;; - esac - - apps="wineserver - msiexec - regedit - winecfg - winedbg - wineboot - winefile - winepath - regsvr32 - wineconsole - - wine64 - - wmc - wrc - widl - winecpp - winegcc - wineg++ - winedump - winebuild - winemaker" - - slaves= - for app in $apps; do - slaves="$slaves - --slave /usr/bin/$app $app - /usr/bin/${app}DEBSUFFIX - --slave /usr/share/man/man1/${app}.1.gz ${app}.1.gz - /usr/share/man/man1/${app}DEBSUFFIX.1.gz" - done - - update-alternatives --quiet \ - --install /usr/bin/wine wine /usr/bin/wineDEBSUFFIX $PRIORITY \ - $slaves \ - --slave /usr/share/man/man1/wine.1.gz wine.1.gz \ - /usr/share/man/man1/wineDEBSUFFIX.1.gz \ - --slave /usr/share/man/de/man1/wine.1.gz wine.de.1.gz \ - /usr/share/man/de/man1/wineDEBSUFFIX.1.gz \ - --slave /usr/share/man/fr/man1/wine.1.gz wine.fr.1.gz \ - /usr/share/man/fr/man1/wineDEBSUFFIX.1.gz \ - --slave /usr/share/man/pl/man1/wine.1.gz wine.pl.1.gz \ - /usr/share/man/pl/man1/wineDEBSUFFIX.1.gz \ - --slave /usr/share/man/de/man1/wineserver.1.gz wineserver.de.1.gz \ - /usr/share/man/de/man1/wineserverDEBSUFFIX.1.gz \ - --slave /usr/share/man/fr/man1/wineserver.1.gz wineserver.fr.1.gz \ - /usr/share/man/fr/man1/wineserverDEBSUFFIX.1.gz \ - --slave /usr/share/man/de/man1/winemaker.1.gz winemaker.de.1.gz \ - /usr/share/man/de/man1/winemakerDEBSUFFIX.1.gz \ - --slave /usr/share/man/fr/man1/winemaker.1.gz winemaker.fr.1.gz \ - /usr/share/man/fr/man1/winemakerDEBSUFFIX.1.gz - ;; -esac - -#DEBHELPER# - -exit 0 diff -Nru wine-1.8.4/debian/wineVERSION.prerm wine-1.8.4/debian/wineVERSION.prerm --- wine-1.8.4/debian/wineVERSION.prerm 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/wineVERSION.prerm 1970-01-01 02:00:00.000000000 +0200 @@ -1,13 +0,0 @@ -#!/bin/sh - -set -e - -case "$1" in - remove|deconfigure) - update-alternatives --quiet --remove wine /usr/bin/wineDEBSUFFIX - ;; -esac - -#DEBHELPER# - -exit 0 diff -Nru wine-1.8.4/debian/wineVERSION.triggers wine-1.8.4/debian/wineVERSION.triggers --- wine-1.8.4/debian/wineVERSION.triggers 2016-08-29 17:49:04.000000000 +0200 +++ wine-1.8.4/debian/wineVERSION.triggers 1970-01-01 02:00:00.000000000 +0200 @@ -1,10 +0,0 @@ -# update the wine alternatives in "wineVERSION.postinst triggered" - -# explicit trigger -interest wineVERSION - -# indicates package wine64 installation status changed -interest /usr/bin/wine64DEBSUFFIX - -# indicates package wine{32|64}-tools installation status changed -interest /usr/bin/winegccDEBSUFFIX