From 7c33a3fa0a57286adf2f8e4adf9b774471ee7525 Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Mon, 13 Feb 2017 22:38:10 +0700 Subject: system/wine-staging: Updated for version 2.1. Signed-off-by: Willy Sudiarto Raharjo --- system/wine-staging/30-win32-aliases.conf | 20 +++++ system/wine-staging/wine-staging.SlackBuild | 17 +++- system/wine-staging/wine-staging.info | 10 +-- system/wine-staging/wine.svg | 127 ++++++++++++++++++++++++++++ system/wine-staging/winecfg.desktop | 8 ++ system/wine-staging/winecfg.png | Bin 0 -> 22388 bytes 6 files changed, 175 insertions(+), 7 deletions(-) create mode 100644 system/wine-staging/30-win32-aliases.conf create mode 100644 system/wine-staging/wine.svg create mode 100644 system/wine-staging/winecfg.desktop create mode 100644 system/wine-staging/winecfg.png diff --git a/system/wine-staging/30-win32-aliases.conf b/system/wine-staging/30-win32-aliases.conf new file mode 100644 index 0000000000000..99ae1f7b83a5e --- /dev/null +++ b/system/wine-staging/30-win32-aliases.conf @@ -0,0 +1,20 @@ + + + + + MS Shell Dlg + Microsoft Sans Serif + sans-serif + + + MS Shell Dlg 2 + Tahoma + sans-serif + + + + MS Sans Serif + Microsoft Sans Serif + sans-serif + + diff --git a/system/wine-staging/wine-staging.SlackBuild b/system/wine-staging/wine-staging.SlackBuild index 1680b2d8e7b7c..e94005e710013 100644 --- a/system/wine-staging/wine-staging.SlackBuild +++ b/system/wine-staging/wine-staging.SlackBuild @@ -30,7 +30,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=wine-staging -VERSION=${VERSION:-2.0} +VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,7 +83,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION rm -rf wine-$VERSION -tar xvf $CWD/wine-$VERSION.tar.bz2 +tar xvf $CWD/wine-$VERSION.tar.xz tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz # Apply Staging patches: @@ -211,6 +211,19 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +# Add font configuration: +install -d $PKG/etc/fonts/conf.{avail,d} +install -m644 $CWD/30-win32-aliases.conf $PKG/etc/fonts/conf.avail +ln -sf /etc/fonts/conf.avail/30-win32-aliases.conf $PKG/etc/fonts/conf.d/30-win32-aliases.conf + +# Add a desktop menu for the wine and winecfg programs: +mkdir -p $PKG/usr/share/{applications,icons/hicolor/scalable/apps,pixmaps} +convert $CWD/wine.svg -scale 64 $PKG/usr/share/pixmaps/wine.png +cp -a $CWD/wine.svg $PKG/usr/share/icons/hicolor/scalable/apps/ +convert $CWD/winecfg.png -scale 64 $PKG/usr/share/pixmaps/winecfg.png +cp -a programs/winecfg/winecfg.svg $PKG/usr/share/icons/hicolor/scalable/apps/ +cp -a $CWD/winecfg.desktop $PKG/usr/share/applications/ + DOCS="ANNOUNCE AUTHORS COPYING.LIB LICENSE* MAINTAINERS README VERSION" mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/system/wine-staging/wine-staging.info b/system/wine-staging/wine-staging.info index 1848b95471699..4b90d43ee40bc 100644 --- a/system/wine-staging/wine-staging.info +++ b/system/wine-staging/wine-staging.info @@ -1,10 +1,10 @@ PRGNAM="wine-staging" -VERSION="2.0" +VERSION="2.1" HOMEPAGE="http://www.wine-staging.com/" -DOWNLOAD="https://dl.winehq.org/wine/source/2.0/wine-2.0.tar.bz2 \ - https://github.com/wine-compholio/wine-staging/archive/v2.0/wine-staging-2.0.tar.gz" -MD5SUM="fde8a855080279f74fb2e9ccec926db7 \ - 3b919e4f8ea7ed7bcc22f311213b2868" +DOWNLOAD="https://dl.winehq.org/wine/source/2.x/wine-2.1.tar.xz \ + https://github.com/wine-compholio/wine-staging/archive/v2.1/wine-staging-2.1.tar.gz" +MD5SUM="ff793738a8274af3ae71dc143dda89e8 \ + 642627da85a22f08f968c3b1ee5c7ec5" DOWNLOAD_x86_64="UNSUPPORTED" MD5SUM_x86_64="" REQUIRES="" diff --git a/system/wine-staging/wine.svg b/system/wine-staging/wine.svg new file mode 100644 index 0000000000000..15fa028df2281 --- /dev/null +++ b/system/wine-staging/wine.svg @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/system/wine-staging/winecfg.desktop b/system/wine-staging/winecfg.desktop new file mode 100644 index 0000000000000..782679cd80fef --- /dev/null +++ b/system/wine-staging/winecfg.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Exec=winecfg +Icon=winecfg +Terminal=false +Name=Wine Configuration +Comment=Configure Wine +Type=Application +Categories=Application;Settings diff --git a/system/wine-staging/winecfg.png b/system/wine-staging/winecfg.png new file mode 100644 index 0000000000000..48812f040a582 Binary files /dev/null and b/system/wine-staging/winecfg.png differ -- cgit v1.2.3