[pkg-wine-party] [wine] 01/01: Don't create native file type associations automatically.

Jens Reyer jreyer-guest at moszumanska.debian.org
Thu Jan 5 16:32:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

jreyer-guest pushed a commit to branch master
in repository wine.

commit 2675e4bf6df46a74847cebc1c363de4d65877a0c
Author: Jens Reyer <jre.winesim at gmail.com>
Date:   Wed Jan 4 23:01:26 2017 +0100

    Don't create native file type associations automatically.
    
    See: #845334
    
    To create them manually run:
    
      wine winemenubuilder -a -r
    
    The creation/removal of Desktop launchers, menu entries and icons
    for installed Windows applications is not affected by this change.
---
 debian/changelog                                   |  6 +++++
 .../disable/native-file-type-association.patch     | 30 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 37 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6e6816c..98fa29d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+wine-development (2.0~rc3-2) UNRELEASED; urgency=medium
+
+  * Don't create native file type associations automatically.
+
+ -- Jens Reyer <jre.winesim at gmail.com>  Thu, 05 Jan 2017 16:58:25 +0100
+
 wine-development (2.0~rc3-1) unstable; urgency=medium
 
   * New upstream release 2.0-rc3, released Dec 23, 2016.
diff --git a/debian/patches/disable/native-file-type-association.patch b/debian/patches/disable/native-file-type-association.patch
new file mode 100644
index 0000000..a812b4a
--- /dev/null
+++ b/debian/patches/disable/native-file-type-association.patch
@@ -0,0 +1,30 @@
+Description: Don't create native file type associations automatically.
+Author: Jens Reyer <jre.winesim at gmail.com>
+Bug: https://bugs.winehq.org/show_bug.cgi?id=28159
+Bug-Debian: https://bugs.debian.org/845334
+
+--- a/loader/wine.inf.in
++++ b/loader/wine.inf.in
+@@ -3309,7 +3309,7 @@ HKR,Parameters,"ServiceDll",,"%11%\sched
+ HKLM,%CurrentVersionNT%\SvcHost,"netsvcs",0x00010008,"Schedule"
+ 
+ [Services]
+-HKLM,%CurrentVersion%\RunServices,"winemenubuilder",2,"%11%\winemenubuilder.exe -a -r"
++HKLM,%CurrentVersion%\RunServices,"winemenubuilder",2,"%11%\winemenubuilder.exe -r"
+ HKLM,"System\CurrentControlSet\Services\Eventlog\Application",,16
+ HKLM,"System\CurrentControlSet\Services\Eventlog\System",,16
+ HKLM,"System\CurrentControlSet\Services\Tcpip\Parameters",,16
+--- a/dlls/shell32/changenotify.c
++++ b/dlls/shell32/changenotify.c
+@@ -415,9 +415,9 @@ void WINAPI SHChangeNotify(LONG wEventId
+ 
+     if (wEventId & SHCNE_ASSOCCHANGED)
+     {
+-        static const WCHAR args[] = {' ','-','a',0 };
+         TRACE("refreshing file type associations\n");
+-        run_winemenubuilder( args );
++        TRACE("refreshing native associations is disabled deliberately in Debian\n");
++        run_winemenubuilder;
+     }
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 65c24be..606d1bd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,6 +4,7 @@ manpages-wineserver-persistence.patch
 disable/tests.patch
 disable/addons-download.patch
 disable/rerun-configure.patch
+disable/native-file-type-association.patch
 
 generate/fonts.patch
 generate/opengl.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list