Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #114 from kerneltravel/Feat_qianniu_debian9_i386
Browse files Browse the repository at this point in the history
增加脚本,针对debian9的支持。 增加了deepin-wine对淘宝的千牛卖家工作台软件的支持
  • Loading branch information
wszqkzqk authored Jun 23, 2019
2 parents 02aed6e + a669e74 commit f0bb24b
Show file tree
Hide file tree
Showing 64 changed files with 699 additions and 2 deletions.
Binary file added 3.4deepin-wine32-preloader_2.18-12_i386.deb
Binary file not shown.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Deepin wine for Ubuntu
# Deepin wine for Ubuntu and Debian

## 一、项目介绍

> Deepin-wine 环境的 Ubuntu 移植版
> Deepin-wine 环境的 Ubuntu/Debian 移植版
> 使用deepin原版二进制文件,解决依赖问题
Expand Down Expand Up @@ -33,6 +33,9 @@ wget -qO- https://raw.githubusercontent.com/wszqkzqk/deepin-wine-ubuntu/master/o

KDE或其他按照普通安装方式安装后运行出现X错误的桌面环境执行 `./KDE-install.sh` )。

* Debian9(amd64)下的安装方式:
解压或git clone项目后切换到文件目录,在终端中以root用户权限运行(授予可执行权限后): `./Debian9-install.sh`
若一路无提示错误信息,则安装通过。命令方式启动千牛工作台 /opt/deepinwine/apps/Deepin-QianNiu/run.sh(或通过debian的系统菜单里找到 千牛工作台 运行)


### (2)使用说明
Expand All @@ -50,6 +53,7 @@ wget -qO- https://raw.githubusercontent.com/wszqkzqk/deepin-wine-ubuntu/master/o
7. [360压缩](https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.cn.360.yasuo/)
8. [WinRAR](https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.cn.com.winrar/)
9. [迅雷极速版](https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.thunderspeed/)
10. [千牛卖家工作台](https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.taobao.aliclient.qianniu/)

其它deepin-wine容器:[阿里云镜像下载](https://mirrors.aliyun.com/deepin/pool/non-free/d/)

Expand Down
Binary file not shown.
Binary file added debian-special-pkgs/deepin-wine_2.18-12_i386.deb
Binary file not shown.
17 changes: 17 additions & 0 deletions debian-special-pkgs/deepin-wine_2.18-12_i386/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Package: deepin-wine
Version: 2.18-12
Architecture: i386
Maintainer: Debian Wine Party <pkg-wine-party@lists.alioth.debian.org>
Installed-Size: 131
Depends: deepin-wine32 (>= 2.18-12), deepin-wine32 (<< 2.18-12.1~), libjpeg62:i386
Suggests: deepin-wine-binfmt, dosbox (>= 0.74-4.2~)
Built-Using: khronos-api (= 0~svn29735-1.1), unicode-data (= 9.0-1)
Section: otherosfs
Priority: optional
Multi-Arch: foreign
Homepage: http://www.winehq.org/
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.
.
This package provides convenience tools for the standard Wine components.
19 changes: 19 additions & 0 deletions debian-special-pkgs/deepin-wine_2.18-12_i386/DEBIAN/md5sums
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
5c82d4f02c2e9dfdc88cd2ac36d42d95 lib/udev/rules.d/ukeys.rules
dae6d6f23e70a83ca249caf6bd379b60 usr/bin/deepin-wine
64d0727f144ecb8a8662cdbfe9753491 usr/lib/deepin-wine/wineapploader
0968ea0d39ccaddd2febb0d9e143abe2 usr/share/bug/deepin-wine/control
615e80bb4c4f9bddb5003dac588c5476 usr/share/doc/deepin-wine/README.Debian
f65e2155d3f30712a529a19687f9c059 usr/share/doc/deepin-wine/README.winedbg.gz
ee9ca81d39a985fcb76ee80c14068826 usr/share/doc/deepin-wine/TODO.Debian
fdf9aa97154cd8df38bf4e1ace6ae0d5 usr/share/doc/deepin-wine/changelog.Debian.gz
eb7c252e870dbb4334d38644f1b07463 usr/share/doc/deepin-wine/changelog.gz
b5ff054c53edb3bb9ebf7bc718d69692 usr/share/doc/deepin-wine/copyright
7be430d537356c9e25b377d1de6af784 usr/share/man/man1/deepin-msiexec.1.gz
f3f554a208aecf6daee7ee4a461cd94e usr/share/man/man1/deepin-regedit.1.gz
0f882db8289dd17889a50844b2a328f4 usr/share/man/man1/deepin-regsvr32.1.gz
03e41ee1cddf4e3ecced93dc92ef25cb usr/share/man/man1/deepin-wine.1.gz
43c53db41e841bed2c3ad55d56530c8b usr/share/man/man1/deepin-wineboot.1.gz
412431d7ad64e663b631c61c7f132422 usr/share/man/man1/deepin-winecfg.1.gz
df58b8d4701702b157d20db93b7dc729 usr/share/man/man1/deepin-wineconsole.1.gz
5401af5224eb3db170e4ab4881b50d61 usr/share/man/man1/deepin-winedbg.1.gz
60ead946a5c164c3085050bb32e3dde3 usr/share/man/man1/deepin-winefile.1.gz
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Package: deepin-wine
Version: 2.18-12
Architecture: all
Maintainer: Debian Wine Party <pkg-wine-party@lists.alioth.debian.org>
Installed-Size: 131
Depends: deepin-wine64 (>= 2.18-12) | deepin-wine32 (>= 2.18-12), deepin-wine64 (<< 2.18-12.1~) | deepin-wine32 (<< 2.18-12.1~), libjpeg62:i386
Suggests: deepin-wine-binfmt, dosbox (>= 0.74-4.2~)
Built-Using: khronos-api (= 0~svn29735-1.1), unicode-data (= 9.0-1)
Section: otherosfs
Priority: optional
Multi-Arch: foreign
Homepage: http://www.winehq.org/
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.
.
This package provides convenience tools for the standard Wine components.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
5c82d4f02c2e9dfdc88cd2ac36d42d95 lib/udev/rules.d/ukeys.rules
dae6d6f23e70a83ca249caf6bd379b60 usr/bin/deepin-wine
64d0727f144ecb8a8662cdbfe9753491 usr/lib/deepin-wine/wineapploader
0968ea0d39ccaddd2febb0d9e143abe2 usr/share/bug/deepin-wine/control
615e80bb4c4f9bddb5003dac588c5476 usr/share/doc/deepin-wine/README.Debian
f65e2155d3f30712a529a19687f9c059 usr/share/doc/deepin-wine/README.winedbg.gz
ee9ca81d39a985fcb76ee80c14068826 usr/share/doc/deepin-wine/TODO.Debian
fdf9aa97154cd8df38bf4e1ace6ae0d5 usr/share/doc/deepin-wine/changelog.Debian.gz
eb7c252e870dbb4334d38644f1b07463 usr/share/doc/deepin-wine/changelog.gz
b5ff054c53edb3bb9ebf7bc718d69692 usr/share/doc/deepin-wine/copyright
7be430d537356c9e25b377d1de6af784 usr/share/man/man1/deepin-msiexec.1.gz
f3f554a208aecf6daee7ee4a461cd94e usr/share/man/man1/deepin-regedit.1.gz
0f882db8289dd17889a50844b2a328f4 usr/share/man/man1/deepin-regsvr32.1.gz
03e41ee1cddf4e3ecced93dc92ef25cb usr/share/man/man1/deepin-wine.1.gz
43c53db41e841bed2c3ad55d56530c8b usr/share/man/man1/deepin-wineboot.1.gz
412431d7ad64e663b631c61c7f132422 usr/share/man/man1/deepin-winecfg.1.gz
df58b8d4701702b157d20db93b7dc729 usr/share/man/man1/deepin-wineconsole.1.gz
5401af5224eb3db170e4ab4881b50d61 usr/share/man/man1/deepin-winedbg.1.gz
60ead946a5c164c3085050bb32e3dde3 usr/share/man/man1/deepin-winefile.1.gz
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SUBSYSTEM=="usb", MODE="0666"
SUBSYSTEM=="tty", MODE="0666"
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/bin/sh -e

name=$(basename $0)
bindir=/usr/lib/$name

wine32=$bindir/wine
wine64=$bindir/wine64

if test -x $wine32 -a "$WINEARCH" != "win64"; then
wine=$wine32
elif test -x $wine64; then
wine=$wine64
if [ "$(dpkg --print-architecture)" = "amd64" -a "$(dpkg --print-foreign-architectures | grep -cx "i386")" -ne 1 ]; then
echo "it looks like multiarch needs to be enabled. as root, please"
echo "execute \"dpkg --add-architecture i386 && apt-get update &&"
echo "apt-get install $(echo $name | sed s/wine/wine32/)\""
fi
else
echo "error: unable to find wine executable. this shouldn't happen."
exit 1
fi

if test -z "$WINEPREFIX"; then
if test "$wine" = "$wine64"; then
wineprefix=$HOME/.wine64
else
wineprefix=$HOME/.wine
fi
else
wineprefix=$WINEPREFIX
fi

if test -z "$WINELOADER"; then
wineloader=$wine
else
wineloader=$WINELOADER
fi

if test -z "$WINEDEBUG"; then
winedebug=-all
else
winedebug=$WINEDEBUG
fi

WINEPREFIX=$wineprefix WINELOADER=$wineloader WINEDEBUG=$winedebug $wine "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#!/bin/sh
#
# Wrapper script to start a Winelib application once it is installed
#
# Copyright (C) 2002 Alexandre Julliard
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#

# determine the app Winelib library name
appname=`basename "$0" .exe`.exe

# first try explicit WINELOADER
if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi

# now try the directory containing $0
appdir=""
case "$0" in
*/*)
# $0 contains a path, use it
appdir=`dirname "$0"`
;;
*)
# no directory in $0, search in PATH
saved_ifs=$IFS
IFS=:
for d in $PATH
do
IFS=$saved_ifs
if [ -x "$d/$0" ]; then appdir="$d"; break; fi
done
;;
esac
if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi
if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi

# now look in PATH
saved_ifs=$IFS
IFS=:
for d in $PATH
do
IFS=$saved_ifs
if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi
if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi
done

# finally, the default bin directory
if [ -x "/usr/lib/i386-linux-gnu/deepin-wine/wine" ]; then exec "/usr/lib/i386-linux-gnu/deepin-wine/wine" "$appname" "$@"; fi
if [ -x "/usr/lib/i386-linux-gnu/deepin-wine/wine64" ]; then exec "/usr/lib/i386-linux-gnu/deepin-wine/wine64" "$appname" "$@"; fi

echo "$0: the Wine loader is missing"
exit 1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-status: deepin-wine deepin-wine32 deepin-wine64 deepin-wine32-preloader deepin-wine64-preloader deepin-wine32-tools deepin-wine64-tools deepin-fonts-wine deepin-linwine deepin-libwine-dev deepin-libwine-dbg
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
Resources
=========

If you have any problems, the Wine Troubleshooting Guide is often very useful:
http://www.winehq.com/Trouble

The Wine FAQ may also be informative:
http://www.winehq.com/FAQ

Detailed documentation about Wine and it's internals are available in the
various User Guides and manpages:
http://www.winehq.org/documentation

For resources related to Debian wine packaging, please visit:
http://pkg-wine.alioth.debian.org

To participate in development and/or discussion about the Debian packages,
please subscribe to the pkg-wine-party mailing list:
http://lists.alioth.debian.org/mailman/listinfo/pkg-wine-party

The Debian package repository can also be checked out with git:
$ git clone git://anonscm.debian.org/pkg-wine/wine.git

Or viewed online at:
http://anonscm.debian.org/gitweb/?p=pkg-wine/wine.git

Debugging
=========

Debugging information is no longer output by default. If you are interested in
more verbose debugging output, you can set the WINEDEBUG environment variable.

Examples:
$ WINEDEBUG=all wine
$ WINEDEBUG=all wine-development

If you always want verbose information, you can include an
"export WINEDEBUG=all" line in your ~/.bashrc file.

Old Versions
============

If you want to install a previous version of Wine, you should be able to fetch
prior Debian versions from:
http://snapshot.debian.org/package/wine
http://snapshot.debian.org/package/wine-development

You can also use debsnap from the devscripts package, for example:
$ debsnap -v -d . wine 1.6.1-1
$ debsnap -v -d . wine-development 1.7.24-3

debsnap fetches source packages by default, which you will then need to build
(see debuild). debsnap also lets you fetch the binary packages with the
"-a <architecture>" option and then specifying each of the binary packages.

Configuration
=============
Usually everything is automatically configured, but for fine-tuning a good tool
is winecfg or winecfg-development.

If you need to set up Wine manually, without winecfg, you can force the
creation of a ~/.wine directory by running:
$ wineboot

If something goes horribly wrong, you can always completely wipe your Wine
setup with "rm -rf ~/.wine". This will destroy everything you've installed,
including configuration and data files, so if you have anything important,
please back it up first. You can then start fresh.

Wine Gecko
==========
The downloader for Wine Gecko is intentionally disabled in the Debian packages.
Instead libwine-gecko-* packages are available in the official Debian archives,
which provide Wine Gecko support.

Information about which Wine Gecko should be associated with any particular
wine version is available at:
http://wiki.winehq.org/Gecko

If the right libwine-gecko-*.deb package is not currently available, you can
manually extract an associated upstream WineGecko tarball to
/usr/share/wine-development/gecko. Or preferably, please provide help building
the new Debian libwine-gecko-* package that is needed.

Automatically Launching Windows Executables
===========================================

You can configure wine to automatically launch Windows executables from
the command line, for example:

$ notepad.exe

To configure backend support for that, you'll need to install the
wine-binfmt package first and then execute:

$ sudo update-binfmts --import wine

This change increases the risk of inadvertently launching Windows
malware, so please make sure that you understand the security risks
before blindly setting this up.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
finish update to tools/make_unicode
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit f0bb24b

Please sign in to comment.