Dear Maintainer, as far as I found is the problem related to: debian/patches/generate/icons.patch
That strips away the ico files from being included in the resources in regedit. But the treeview seems just to be shown when programs/regedit/treeview.c:InitTreeViewImageLists was able to load the ico resources. The same might be true for the listview, because a package build just with folder.ico,folderopen.ico,computer.ico did just show the treeview (left), but not the list view (right). This got possibly introduced in 3.14-2: * Rebuild automatically generated icon files. (I would have tested, but unfortunately snapshot.debian.org is currently "503 Service Unavailable".) That patch might remove icons from other programs unnoticed, too. Kind regards, Bernhard
# buster i386 qemu VM apt update apt dist-upgrade apt install xserver-xorg lightdm openbox apt install wine systemctl start lightdm # login export DISPLAY=:0 wine regedit -> debian binary 4.0~rc2-1 shows the bug in plain buster ########## apt install devscripts dpkg-dev apt build-dep wine mkdir source/wine/orig -p cd source/wine/orig apt source wine cd cd source/wine cp orig try1 -a cd try1/wine-4.0~rc2 dpkg-buildpackage dpkg -i fonts-wine_4.0~rc2-1_all.deb libwine_4.0~rc2-1_i386.deb wine_4.0~rc2-1_all.deb wine32_4.0~rc2-1_i386.deb -> self built binary 4.0~rc2-1 shows the bug in plain buster ########## for p in `find -type f -iname "*.patch"`; do sed -i 's/^description: /Subject: /i' $p; done for p in `find -type f -iname "*.patch"`; do sed -i 's/^author: /From: /i' $p; done export DIR=/home/bernhard/data/emu/pc/qemu/machines/debian-10-buster-i386_minimal/sshfs/home/benutzer/source/wine/try3/wine-4.0~rc2 git am $DIR/debian/patches/debianization/addons.patch git am $DIR/debian/patches/debianization/makefile.patch git am $DIR/debian/patches/debianization/version-string.patch git am $DIR/debian/patches/debianization/winemenubuilder.patch git am $DIR/debian/patches/debianization/wineserver-persistence.patch git am $DIR/debian/patches/disable/tests.patch git am $DIR/debian/patches/disable/line-wrapping.patch git am $DIR/debian/patches/disable/addons-download.patch git am $DIR/debian/patches/disable/po-modifications.patch git am $DIR/debian/patches/disable/blacklist-extensions.patch git am $DIR/debian/patches/generate/icons.patch git am $DIR/debian/patches/generate/opengl.patch git am $DIR/debian/patches/generate/unicode.patch git am $DIR/debian/patches/generate/request.patch git am $DIR/debian/patches/binary-indep/manpages.patch git am $DIR/debian/patches/binary-indep/sfnt2fon.patch git am $DIR/debian/patches/fixes/arm.patch git am $DIR/debian/patches/fixes/arm64.patch git am $DIR/debian/patches/fixes/gstbase.patch git am $DIR/debian/patches/fixes/printer-resolution.patch git am $DIR/debian/patches/fixes/temporary-directory.patch git am $DIR/debian/patches/warnings/arm-messages.patch git am $DIR/debian/patches/warnings/arm-longdouble.patch git am $DIR/debian/patches/warnings/arm64-array-bounds.patch git am $DIR/debian/patches/warnings/arm64-excess-precision.patch git am $DIR/debian/patches/warnings/arm64-unused-functions.patch git am $DIR/debian/patches/warnings/arm64-uninitialized-variables.patch git am $DIR/debian/patches/warnings/array-bounds.patch git am $DIR/debian/patches/warnings/dword64-winmm.patch git am $DIR/debian/patches/warnings/format-overflow.patch git am $DIR/debian/patches/warnings/unused-functions.patch git am $DIR/debian/patches/warnings/argument-promotion.patch git am $DIR/debian/patches/warnings/discarded-qualifiers.patch git am $DIR/debian/patches/warnings/uninitialized-variables.patch bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/debianization/addons.patch Wende an: adjust search paths for addon installers bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/debianization/makefile.patch Wende an: don't append wine to the default path settings bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/debianization/version-string.patch Wende an: winelib: Append '(Debian)' at the end of the version string. bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/debianization/winemenubuilder.patch Wende an: call wineDEBSUFFIX instead of wine from desktop launchers bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/debianization/wineserver-persistence.patch Wende an: fix wineserver manpages for Debian's default persistence value bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/disable/tests.patch Wende an: drop generated sources from tests Makefiles bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/disable/line-wrapping.patch Wende an: disable manual line wrapping in makefiles bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/disable/addons-download.patch Wende an: disable gecko/mono installer download bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/disable/po-modifications.patch Wende an: avoid modifications to po files that are under version control bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/disable/blacklist-extensions.patch Wende an: Blacklist all extensions that trigger a freedesktop file type association from an empty prefix. bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/generate/icons.patch Wende an: regenerate all (currently used) icon files bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/generate/opengl.patch Wende an: rebuild automatically generated opengl files bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/generate/unicode.patch Wende an: use system unicode bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/generate/request.patch Wende an: generate automatically generated request code bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/binary-indep/manpages.patch Wende an: add Makefile rules for building just the manpages bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/binary-indep/sfnt2fon.patch Wende an: don't build fonts in the arch:all build bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/fixes/arm.patch Wende an: skip i386 specific code that fails to build on arm bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/fixes/arm64.patch Wende an: retrieve the correct union member bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/fixes/gstbase.patch Wende an: avoid unneeded libgstbase dependency from winegstreamer.dll.so bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/fixes/printer-resolution.patch Wende an: set default printer resolution to 600dpi bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/fixes/temporary-directory.patch Wende an: safer selection of the temporary directory for wineserver bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/arm-messages.patch Wende an: bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/arm-longdouble.patch Wende an: sizeof(long double)=8 on arm architectures bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/arm64-array-bounds.patch Wende an: ignore array bounds warnings involving ANYSIZE_ARRAY bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/arm64-excess-precision.patch Wende an: disable excess precision flag on arm64, clang doesn't support it bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/arm64-unused-functions.patch Wende an: disable functions that are unused on arm64 bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/arm64-uninitialized-variables.patch Wende an: fix uninitialized variable warnings on arm64 bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/array-bounds.patch Wende an: avoid negative array index, gcc array bounds warning bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/dword64-winmm.patch Wende an: fix pointer conversion warnings in winmm on 64 bit archs bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/format-overflow.patch Wende an: fix string format warnings, output buffers were not large enough bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/unused-functions.patch Wende an: these functions are only used on i386 and amd64 bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/argument-promotion.patch Wende an: fix gcc argument promotion warning bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/discarded-qualifiers.patch Wende an: these arguments should not be const, fixes a gcc warning bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ git am $DIR/warnings/uninitialized-variables.patch Wende an: fix uninitialized variable compiler warnings export PKG="unicode-data khronos-api libgettextpo-dev:i386"; apt install $PKG; apt-mark auto $PKG mkdir debian/scripts/ -p cp -a $DIR/debian/scripts/generate debian/scripts/generate mkdir debian/unicode/tr10 -p cp -a $DIR/debian/unicode/tr10/allkeys.txt debian/unicode/tr10 cp -a $DIR/debian/rfc3454.txt debian/ ./debian/scripts/generate libs/port/cptable.generated cpmap ./debian/scripts/generate server/trace.generated make_requests ./debian/scripts/generate server/request.generated make_requests ./tools/make_fir ./tools/make_unicode ./tools/make_requests (cd dlls/opengl32 && ./make_opengl) ln -sf /usr/share/misc/config.sub tools ln -sf /usr/share/misc/config.guess tools PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./configure --with-gnutls --without-hal --without-netapi --disable-tests --enable-maintainer-mode time nice -n 19 make -j16 all 2>&1 | tee $BASE/$WBD/build_$(date +%Y-%m-%d_%H-%M-%S).log ./wine notepad & WINEDEBUG=+pid,+tid,+process,+thread,-timestamp,+message wine regedit 2>&1 | tee -a trace_$(date +%Y-%m-%d_%H-%M-%S).log Compare trace*.log with one from a working plain git build ... The working one has that line, the failing not: trace:message:SPY_EnterMessage (0x10098) L"Tree View" [1109] TVM_SETIMAGELIST sent from self wp=00000000 lp=0016cf20 --> InitTreeViewImageLists uses TVM_SETIMAGELIST ... ./wine winedbg regedit Wine-dbg>b InitTreeViewImageLists No symbols found for InitTreeViewImageLists Unable to add breakpoint, will check again when a new DLL is loaded Wine-dbg>b CreateTreeView Breakpoint 1 at 0x7eb31570 CreateTreeView [/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git/programs/regedit/treeview.c:694] in regedit Wine-dbg>cont Wine-dbg> 607 if (ImageList_GetImageCount(himl) < NUM_ICONS) Wine-dbg> 709 DestroyWindow(hwndTV); --> Shouldn't we go to line 613 ? treeview.c 596 /* Add the open file, closed file, and document bitmaps. */ 597 hico = LoadIconW(hInst, MAKEINTRESOURCEW(IDI_OPEN_FILE)); 598 Image_Open = ImageList_AddIcon(himl, hico); 599 600 hico = LoadIconW(hInst, MAKEINTRESOURCEW(IDI_CLOSED_FILE)); 601 Image_Closed = ImageList_AddIcon(himl, hico); 602 603 hico = LoadIconW(hInst, MAKEINTRESOURCEW(IDI_ROOT)); 604 Image_Root = ImageList_AddIcon(himl, hico); 605 606 /* Fail if not all of the images were added. */ 607 if (ImageList_GetImageCount(himl) < NUM_ICONS) 608 { 609 return FALSE; 610 } 611 612 /* Associate the image list with the tree view control. */ 613 SendMessageW(hwndTV, TVM_SETIMAGELIST, TVSIL_NORMAL, (LPARAM)himl); ... 708 if (!InitTreeViewImageLists(hwndTV) || !InitTreeViewItems(hwndTV, pHostName)) { 709 DestroyWindow(hwndTV); 710 return NULL; 711 } bernhard@rechner:/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git$ ./wine winedbg regedit WineDbg starting on pid 0038 start_process () at /home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git/dlls/kernel32/process.c:1273 0x7b463fc5 start_process+0x135 [/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git/dlls/kernel32/process.c:1273] in kernel32: movl 0xffffff24(%ebp),%esi 1273 ExitThread( call_process_entry( peb, entry )); Wine-dbg>b CreateTreeView Breakpoint 1 at 0x7eb0f570 CreateTreeView [/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git/programs/regedit/treeview.c:694] in regedit Wine-dbg>cont Stopped on breakpoint 1 at 0x7eb0f570 CreateTreeView [/home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git/programs/regedit/treeview.c:694] in regedit CreateTreeView () at /home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git/programs/regedit/treeview.c:694 694 { Wine-dbg>next 700 GetClientRect(hwndParent, &rcClient); Wine-dbg> 694 { Wine-dbg> 694 { Wine-dbg> 697 WCHAR TreeView[] = {'T','r','e','e',' ','V','i','e','w',0}; Wine-dbg> 700 GetClientRect(hwndParent, &rcClient); Wine-dbg> 697 WCHAR TreeView[] = {'T','r','e','e',' ','V','i','e','w',0}; Wine-dbg> 700 GetClientRect(hwndParent, &rcClient); Wine-dbg> 701 hwndTV = CreateWindowExW(WS_EX_CLIENTEDGE, WC_TREEVIEWW, TreeView, Wine-dbg> 701 hwndTV = CreateWindowExW(WS_EX_CLIENTEDGE, WC_TREEVIEWW, TreeView, Wine-dbg> 701 hwndTV = CreateWindowExW(WS_EX_CLIENTEDGE, WC_TREEVIEWW, TreeView, Wine-dbg> 701 hwndTV = CreateWindowExW(WS_EX_CLIENTEDGE, WC_TREEVIEWW, TreeView, Wine-dbg> 701 hwndTV = CreateWindowExW(WS_EX_CLIENTEDGE, WC_TREEVIEWW, TreeView, Wine-dbg> 706 SendMessageW(hwndTV, TVM_SETUNICODEFORMAT, TRUE, 0); Wine-dbg> 701 hwndTV = CreateWindowExW(WS_EX_CLIENTEDGE, WC_TREEVIEWW, TreeView, Wine-dbg> 706 SendMessageW(hwndTV, TVM_SETUNICODEFORMAT, TRUE, 0); Wine-dbg> 589 INT cx = GetSystemMetrics(SM_CXSMICON); Wine-dbg> 590 INT cy = GetSystemMetrics(SM_CYSMICON); Wine-dbg> 589 INT cx = GetSystemMetrics(SM_CXSMICON); Wine-dbg> 590 INT cy = GetSystemMetrics(SM_CYSMICON); Wine-dbg> 593 if ((himl = ImageList_Create(cx, cy, ILC_MASK, 0, NUM_ICONS)) == NULL) Wine-dbg> 593 if ((himl = ImageList_Create(cx, cy, ILC_MASK, 0, NUM_ICONS)) == NULL) Wine-dbg> 597 hico = LoadIconW(hInst, MAKEINTRESOURCEW(IDI_OPEN_FILE)); Wine-dbg>step LoadIconW () at /home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git/dlls/user32/cursoricon.c:2287 2287 { Wine-dbg>next 2287 { Wine-dbg> 2288 TRACE("%p, %s\n", hInstance, debugstr_w(name)); Wine-dbg> 2290 return LoadImageW( hInstance, name, IMAGE_ICON, 0, 0, Wine-dbg>step LoadImageW () at /home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git/dlls/user32/cursoricon.c:3040 3040 { Wine-dbg>next 3040 { Wine-dbg> 3040 { Wine-dbg> 3044 TRACE_(resource)("(%p,%s,%d,%d,%d,0x%08x)\n", Wine-dbg> 3047 if (loadflags & LR_LOADFROMFILE) Wine-dbg> 3053 switch (type) { Wine-dbg> 3059 depth = 1; Wine-dbg> 3060 if (!(loadflags & LR_MONOCHROME)) depth = get_display_bpp(); Wine-dbg> 3060 if (!(loadflags & LR_MONOCHROME)) depth = get_display_bpp(); Wine-dbg> 3061 return CURSORICON_Load(hinst, name, desiredx, desiredy, depth, (type == IMAGE_CURSOR), loadflags); Wine-dbg>step CURSORICON_Load () at /home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git/dlls/user32/cursoricon.c:1777 1777 { Wine-dbg>next 1777 { Wine-dbg> 1777 { Wine-dbg> 1788 TRACE("%p, %s, %dx%d, depth %d, fCursor %d, flags 0x%04x\n", Wine-dbg> 1791 if ( loadflags & LR_LOADFROMFILE ) /* Load from file */ Wine-dbg> 1794 if (!hInstance) hInstance = user32_module; /* Load OEM cursor/icon */ Wine-dbg> 1797 if ((ULONG_PTR)hInstance >> 16 == 0) loadflags &= ~LR_SHARED; Wine-dbg> 1801 if (!(hRsrc = FindResourceW( hInstance, name, Wine-dbg> 1797 if ((ULONG_PTR)hInstance >> 16 == 0) loadflags &= ~LR_SHARED; Wine-dbg> 1801 if (!(hRsrc = FindResourceW( hInstance, name, Wine-dbg> 1801 if (!(hRsrc = FindResourceW( hInstance, name, Wine-dbg> 1805 if (!(hRsrc = FindResourceW( hInstance, name, Wine-dbg> 1805 if (!(hRsrc = FindResourceW( hInstance, name, Wine-dbg> 1805 if (!(hRsrc = FindResourceW( hInstance, name, Wine-dbg> 1806 (LPWSTR)(fCursor ? RT_ANICURSOR : RT_ANIICON) ))) return 0; Wine-dbg> 1869 } Wine-dbg> LoadImageW () at /home/bernhard/data/entwicklung/2018/wine/wine-git/wine-git/dlls/user32/cursoricon.c:3064 3064 } ########### Failing with some channels: WINEDEBUG=+imagelist,+cursor,+resource ./wine regedit 2>&1 | tee -a trace_$(date +%Y-%m-%d_%H-%M-%S).log 0045:trace:imagelist:ImageList_Create (16 16 0x1 0 3) 0045:trace:imagelist:ImageListImpl_CreateInstance ((nil),{46eb5926-582e-4017-9fdf-e8998daa0950},0x33f0bc) 0045:trace:imagelist:ImageListImpl_QueryInterface (0x16a630,{46eb5926-582e-4017-9fdf-e8998daa0950},0x33f0bc) 0045:trace:imagelist:ImageListImpl_AddRef (0x16a630) refcount=2 0045:trace:imagelist:ImageListImpl_Release (0x16a630) refcount=1 0045:trace:imagelist:ImageList_CreateImage Creating DIBSection 64 x 16, 4 Bits per Pixel 0045:trace:imagelist:ImageList_CreateImage returning 0x20059 0045:trace:imagelist:ImageList_Create created imagelist 0x16a630 0045:trace:cursor:LoadIconW 0x7eb00000, #0084 0045:trace:resource:LoadImageW (0x7eb00000,#0084,1,0,0,0x00008040) 0045:trace:cursor:CURSORICON_Load 0x7eb00000, #0084, 0x0, depth 32, fCursor 0, flags 0x8040 0045:trace:resource:FindResourceExW 0x7eb00000 #000e #0084 0000 0045:trace:resource:LdrFindResource_U module 0x7eb00000 type #000e name #0084 lang 0000 level 3 0045:trace:resource:find_entry_by_id root 0x7eb212d8 dir 0x7eb212d8 id 000e ret 0x7eb233b8 0045:trace:resource:find_entry_by_id root 0x7eb212d8 dir 0x7eb233b8 id 0084 not found 0045:trace:resource:FindResourceExW 0x7eb00000 #0016 #0084 0000 0045:trace:resource:LdrFindResource_U module 0x7eb00000 type #0016 name #0084 lang 0000 level 3 0045:trace:resource:find_entry_by_id root 0x7eb212d8 dir 0x7eb212d8 id 0016 not found 0045:trace:imagelist:ImageList_ReplaceIcon (0x16a630 -1 (nil)) WINEDEBUG=+imagelist,+cursor,+resource,+relay ./wine regedit 2>&1 | tee -a trace_$(date +%Y-%m-%d_%H-%M-%S).log 0047:Ret comctl32.ImageList_Create() retval=0017d8e0 ret=7eb27665 0047:Call user32.LoadIconW(7eb10000,00000084) ret=7eb27687 0047:trace:cursor:LoadIconW 0x7eb10000, #0084 0047:trace:resource:LoadImageW (0x7eb10000,#0084,1,0,0,0x00008040) 0047:trace:cursor:CURSORICON_Load 0x7eb10000, #0084, 0x0, depth 32, fCursor 0, flags 0x8040 0047:trace:resource:FindResourceExW 0x7eb10000 #000e #0084 0000 0047:trace:resource:LdrFindResource_U module 0x7eb10000 type #000e name #0084 lang 0000 level 3 0047:trace:resource:find_entry_by_id root 0x7eb2f2d8 dir 0x7eb2f2d8 id 000e ret 0x7eb313b8 0047:trace:resource:find_entry_by_id root 0x7eb2f2d8 dir 0x7eb313b8 id 0084 not found 0047:trace:resource:FindResourceExW 0x7eb10000 #0016 #0084 0000 0047:trace:resource:LdrFindResource_U module 0x7eb10000 type #0016 name #0084 lang 0000 level 3 0047:trace:resource:find_entry_by_id root 0x7eb2f2d8 dir 0x7eb2f2d8 id 0016 not found 0047:Ret user32.LoadIconW() retval=00000000 ret=7eb27687 ############ --- wine-4.0~rc3.orig/programs/regedit/regedit.rc +++ wine-4.0~rc3/programs/regedit/regedit.rc @@ -434,6 +434,15 @@ STRINGTABLE . LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL . +/* @makedep: folderopen.ico */ +IDI_OPEN_FILE ICON folderopen.ico + +/* @makedep: folder.ico */ +IDI_CLOSED_FILE ICON folder.ico + +/* @makedep: computer.ico */ +IDI_ROOT ICON computer.ico + /* @makedep: regedit.ico */ IDI_REGEDIT ICON regedit.ico dpkg-builpackage -b wget https://source.winehq.org/git/wine.git/blob_plain/HEAD:/programs/regedit/folderopen.ico -O programs/regedit/folderopen.ico wget https://source.winehq.org/git/wine.git/blob_plain/HEAD:/programs/regedit/folder.ico -O programs/regedit/folder.ico wget https://source.winehq.org/git/wine.git/blob_plain/HEAD:/programs/regedit/computer.ico -O programs/regedit/computer.ico dpkg-builpackage -b -nc