wok-next rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | da24d490b955 |
children | 63ae365eb07d |
files | putty/receipt putty/stuff/applications/pterm.desktop putty/stuff/applications/putty.desktop putty/stuff/pterm.png putty/stuff/putty.png |
line diff
1.1 --- a/putty/receipt Fri May 11 16:56:15 2018 +0300 1.2 +++ b/putty/receipt Sat May 12 05:17:48 2018 +0300 1.3 @@ -1,49 +1,47 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="putty" 1.8 -VERSION="0.64" 1.9 +VERSION="0.70" 1.10 CATEGORY="utilities" 1.11 -SHORT_DESC="A free telnet/SSH client." 1.12 +SHORT_DESC="A free telnet/SSH client" 1.13 MAINTAINER="rcx@zoominternet.net" 1.14 LICENSE="MIT" 1.15 +WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/putty/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/" 1.19 -#WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL" 1.20 -WGET_URL="http://the.earth.li/~sgtatham/putty/latest/$TARBALL" 1.21 -TAGS="ssh" 1.22 +WGET_URL="https://the.earth.li/~sgtatham/putty/latest/$TARBALL" 1.23 1.24 -DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \ 1.25 -pango xorg-pixman libpng16 xorg-libxcb xorg-xcb-util xorg-libX11 xorg-libXau \ 1.26 -xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ 1.27 -xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5 libcomerr3" 1.28 -BUILD_DEPENDS="gtk+-dev imagemagick python perl krb5-dev openexr libltdl" 1.29 +BUILD_DEPENDS="gtk+-dev gtk+3-dev krb5-dev" 1.30 +SPLIT="putty putty-gtk3:gtk3" 1.31 1.32 -# Rules to configure and make the package. 1.33 -compile_rules() 1.34 -{ 1.35 +compile_rules() { 1.36 + case $SET in 1.37 + '') SET_ARGS='--with-gtk=2';; 1.38 + gtk3) SET_ARGS='--with-gtk=3';; 1.39 + esac 1.40 1.41 - cd $src/icons && 1.42 + ./configure \ 1.43 + $SET_ARGS \ 1.44 + $CONFIGURE_ARGS && 1.45 make && 1.46 - make install && 1.47 - mkdir -p $DESTDIR/usr/share/pixmaps && 1.48 - cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png && 1.49 - cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png && 1.50 - 1.51 - cd $src/unix && 1.52 + make install || return 1 1.53 1.54 - sed -e 's/-Werror//g' -i configure && 1.55 - ./configure $CONFIGURE_ARGS && 1.56 - make XFLAGS=-DTELNET_DEFAULT && 1.57 - make install 1.58 + install -Dm644 $stuff/putty.png $install/usr/share/pixmaps/putty.png 1.59 + install -Dm644 $stuff/pterm.png $install/usr/share/pixmaps/pterm.png 1.60 } 1.61 1.62 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.63 -genpkg_rules() 1.64 -{ 1.65 - mkdir -p $fs/usr/share $fs/usr/share/pixmaps 1.66 - 1.67 - cp -a $stuff/applications $install/usr/share 1.68 - cp -a $install/usr/bin $fs/usr 1.69 - cp -a $install/usr/share/applications $fs/usr/share 1.70 - cp -a $install/usr/share/pixmaps $fs/usr/share 1.71 +genpkg_rules() { 1.72 + case $PACKAGE in 1.73 + putty) 1.74 + copy @std 1.75 + DEPENDS="cairo gdk-pixbuf glib gtk+ pango xorg-libX11 krb5" 1.76 + CAT="utilities|using GTK+2" 1.77 + ;; 1.78 + putty-gtk3) 1.79 + copy @std 1.80 + DEPENDS="cairo gdk-pixbuf glib gtk+3 pango xorg-libX11 krb5" 1.81 + CAT="utilities|using GTK+3" 1.82 + ;; 1.83 + esac 1.84 + TAGS="ssh" 1.85 }
2.1 --- a/putty/stuff/applications/pterm.desktop Fri May 11 16:56:15 2018 +0300 2.2 +++ b/putty/stuff/applications/pterm.desktop Sat May 12 05:17:48 2018 +0300 2.3 @@ -1,8 +1,6 @@ 2.4 [Desktop Entry] 2.5 -Encoding=UTF-8 2.6 -Name=PTerm Terminal 2.7 -Name[fr]=Terminal PTerm 2.8 +Type=Application 2.9 +Name=Terminal emulator for X 2.10 Exec=pterm -ls 2.11 Icon=pterm 2.12 -Type=Application 2.13 Categories=Utility;Terminal;
3.1 --- a/putty/stuff/applications/putty.desktop Fri May 11 16:56:15 2018 +0300 3.2 +++ b/putty/stuff/applications/putty.desktop Sat May 12 05:17:48 2018 +0300 3.3 @@ -1,7 +1,7 @@ 3.4 [Desktop Entry] 3.5 -Encoding=UTF-8 3.6 +Type=Application 3.7 Name=PuTTY 3.8 -Exec=putty 3.9 +Comment=Graphical SSH, Telnet and Rlogin client for X 3.10 +Exec=putty %u 3.11 Icon=putty 3.12 -Type=Application 3.13 -Categories=Utility;Terminal; 3.14 +Categories=Network;Remote;
4.1 Binary file putty/stuff/pterm.png has changed
5.1 Binary file putty/stuff/putty.png has changed