wok-next rev 20333
Up bmpanel2, urxvt, usbip
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 16:27:09 2017 +0200 (2017-11-15) |
parents | fbd490ef13ef |
children | 27bfe81dc6bd |
files | bmpanel2/receipt bmpanel2cfg/receipt urxvt-full/receipt urxvt-full/stuff/urxvt-full.desktop urxvt/receipt urxvt/stuff/gcc.u urxvt/stuff/urxvt-full.desktop usbip-dev/receipt usbip/receipt |
line diff
1.1 --- a/bmpanel2/receipt Wed Nov 15 14:21:32 2017 +0200 1.2 +++ b/bmpanel2/receipt Wed Nov 15 16:27:09 2017 +0200 1.3 @@ -1,38 +1,47 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="bmpanel2" 1.8 VERSION="2.1pre1" 1.9 CATEGORY="misc" 1.10 +SHORT_DESC="Nice NETWM-compatible panel for X11" 1.11 MAINTAINER="jozee@slitaz.org" 1.12 LICENSE="MIT" 1.13 -SHORT_DESC="Nice NETWM-compatible panel for X11" 1.14 -WEB_SITE="http://bmpanel2.googlecode.com/" 1.15 +WEB_SITE="https://github.com/nsf/bmpanel2" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WGET_URL="$WEB_SITE/files/$TARBALL" 1.19 -TAGS="panel" 1.20 +WGET_URL="https://github.com/nsf/bmpanel2/archive/$VERSION.tar.gz" 1.21 1.22 -DEPENDS="pango cairo xorg-libX11 xorg-libXrender" 1.23 -BUILD_DEPENDS="cmake python-dev xorg-libXext-dev cairo-dev pango-dev" 1.24 - 1.25 -# Rules to configure and make the package. 1.26 +BUILD_DEPENDS="cmake xorg-libX11-dev cairo-dev pango-dev" 1.27 +SPLIT="bmpanel2-themes bmpanel2cfg" 1.28 1.29 compile_rules() { 1.30 - cd $src 1.31 # fix "with" statement for python 2.5 1.32 sed -i "s/import sys, os/from __future__ import with_statement \nimport sys, os /" extra/py/${PACKAGE}.py 1.33 - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . 1.34 - make 1.35 - make DESTDIR=$DESTDIR install 1.36 + 1.37 + mkdir build; cd build 1.38 + cmake \ 1.39 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.40 + -DCMAKE_BUILD_TYPE=RELEASE \ 1.41 + .. && 1.42 + make && 1.43 + make install 1.44 } 1.45 - 1.46 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.47 -genpkg_rules() 1.48 -{ 1.49 - mkdir -p $fs/usr/share/$PACKAGE/themes $fs/usr/bin 1.50 - cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.51 - # cp only native and transpy themes 1.52 - cp -a $install/usr/share/$PACKAGE/themes/transpy $fs/usr/share/$PACKAGE/themes 1.53 - cp -a $install/usr/share/$PACKAGE/themes/native $fs/usr/share/$PACKAGE/themes 1.54 - 1.55 - 1.56 + 1.57 +genpkg_rules() { 1.58 + case $PACKAGE in 1.59 + bmpanel2) 1.60 + copy bmpanel2 native/ transpy/ 1.61 + DEPENDS="cairo glib pango xorg-libX11 xorg-libXext" 1.62 + TAGS="panel" 1.63 + ;; 1.64 + bmpanel2-themes) 1.65 + copy themes/ @rm 1.66 + CAT="customization|themes" 1.67 + ;; 1.68 + bmpanel2cfg) 1.69 + copy bmpanel2cfg python2.7/ 1.70 + CAT="misc|configurator" 1.71 + DEPENDS="bmpanel2 pygtk" 1.72 + ;; 1.73 + esac 1.74 }
2.1 --- a/bmpanel2cfg/receipt Wed Nov 15 14:21:32 2017 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,21 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="bmpanel2cfg" 2.7 -VERSION="2.1pre1" 2.8 -CATEGORY="misc" 2.9 -MAINTAINER="jozee@slitaz.org" 2.10 -LICENSE="MIT" 2.11 -SHORT_DESC="bmpanel2 configurator" 2.12 -WEB_SITE="http://bmpanel2.googlecode.com/" 2.13 -WANTED="bmpanel2" 2.14 -TAGS="panel" 2.15 - 2.16 -DEPENDS="pygtk" 2.17 - 2.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.19 -genpkg_rules() 2.20 -{ 2.21 - mkdir -p $fs/usr/lib $fs/usr/bin 2.22 - cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 2.23 - cp -a $install/usr/lib/python* $fs/usr/lib 2.24 -}
3.1 --- a/urxvt-full/receipt Wed Nov 15 14:21:32 2017 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,43 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="urxvt-full" 3.7 -VERSION="9.22" 3.8 -CATEGORY="utilities" 3.9 -SHORT_DESC="Terminal emulator with Unicode support for X11" 3.10 -WEB_SITE="http://software.schmorp.de/pkg/rxvt-unicode.html" 3.11 -MAINTAINER="al.bobylev@gmail.com" 3.12 -LICENSE="GPL2" 3.13 - 3.14 -SOURCE="rxvt-unicode" 3.15 -TARBALL="$SOURCE-$VERSION.tar.bz2" 3.16 -WGET_URL="http://dist.schmorp.de/rxvt-unicode/$TARBALL" 3.17 -TAGS="terminal" 3.18 - 3.19 -DEPENDS="bzlib expat fontconfig freetype gcc-lib-base gdk-pixbuf glib \ 3.20 -glibc-base libffi libpng libxcb startup-notification xcb-util \ 3.21 -xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXft xorg-libXrender zlib" 3.22 -BUILD_DEPENDS="xorg-libX11-dev freetype-dev xorg-libXft-dev gdk-pixbuf-dev \ 3.23 -startup-notification-dev ncurses-extra" 3.24 - 3.25 -PROVIDE="urxvt" 3.26 - 3.27 -# Rules to configure and make the package. 3.28 -compile_rules() 3.29 -{ 3.30 - ./configure \ 3.31 - --enable-everything \ 3.32 - --enable-256-color \ 3.33 - --with-terminfo=/usr/share/terminfo \ 3.34 - $CONFIGURE_ARGS && 3.35 - make && make install 3.36 - 3.37 - R="$install/usr/share/terminfo"; mkdir -p $R 3.38 - tic -s -o $R $src/doc/etc/rxvt-unicode.terminfo 3.39 -} 3.40 - 3.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.42 -genpkg_rules() 3.43 -{ 3.44 - cp -a $install/* $fs 3.45 - rm -rf $fs/usr/share/man 3.46 -}
4.1 --- a/urxvt-full/stuff/urxvt-full.desktop Wed Nov 15 14:21:32 2017 +0200 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,8 +0,0 @@ 4.4 -[Desktop Entry] 4.5 -Type=Application 4.6 -Name=Urxvt-full 4.7 -GenericName=Unicode Terminal 4.8 -Comment=Terminal emulator with unicode CJK support 4.9 -Exec=urxvt -bg black -fg white -cr orange -pr green 4.10 -Icon=utilities-terminal 4.11 -Categories=Utility;Terminal;
5.1 --- a/urxvt/receipt Wed Nov 15 14:21:32 2017 +0200 5.2 +++ b/urxvt/receipt Wed Nov 15 16:27:09 2017 +0200 5.3 @@ -1,38 +1,59 @@ 5.4 -# SliTaz package receipt. 5.5 +# SliTaz package receipt v2. 5.6 5.7 PACKAGE="urxvt" 5.8 VERSION="9.22" 5.9 CATEGORY="utilities" 5.10 -SHORT_DESC="terminal with unicode support" 5.11 +SHORT_DESC="Terminal emulator with Unicode support for X11" 5.12 MAINTAINER="sygne@ombres.eu" 5.13 LICENSE="GPL2" 5.14 -SOURCE="rxvt-unicode" 5.15 -TARBALL="$SOURCE-$VERSION.tar.bz2" 5.16 WEB_SITE="http://software.schmorp.de/pkg/rxvt-unicode.html" 5.17 + 5.18 +TARBALL="rxvt-unicode-$VERSION.tar.bz2" 5.19 WGET_URL="http://dist.schmorp.de/rxvt-unicode/$TARBALL" 5.20 -TAGS="terminal" 5.21 5.22 -DEPENDS="fontconfig xorg-libX11 expat freetype xorg-libXft zlib gcc-lib-base \ 5.23 -xorg-xmessage" 5.24 -BUILD_DEPENDS="xorg-libX11-dev" 5.25 +BUILD_DEPENDS="xorg-libX11-dev xorg-libICE-dev gdk-pixbuf-dev \ 5.26 +startup-notification-dev xorg-libXmu-dev xorg-libXft-dev perl-dev ncurses-extra" 5.27 +SPLIT="urxvt-full" 5.28 5.29 -# Rules to configure and make the package. 5.30 -compile_rules() 5.31 -{ 5.32 - busybox patch -p0 -i $stuff/gcc.u 5.33 +compile_rules() { 5.34 + rm -r $install-full 2>/dev/null 5.35 + cp -a $src $src-full 5.36 + 5.37 ./configure \ 5.38 - --prefix=/usr \ 5.39 - --infodir=/usr/share/info \ 5.40 - --disable-perl \ 5.41 - --with-codesets='eu' \ 5.42 - --mandir=/usr/share/man \ 5.43 - $CONFIGURE_ARGS && \ 5.44 - make && make DESTDIR=$DESTDIR install 5.45 + --disable-everything \ 5.46 + $CONFIGURE_ARGS && 5.47 + make && make install || return 1 5.48 + 5.49 + cd $src-full 5.50 + ./configure \ 5.51 + --enable-everything \ 5.52 + --enable-256-color \ 5.53 + --with-terminfo=/usr/share/terminfo \ 5.54 + $CONFIGURE_ARGS && 5.55 + make && make DESTDIR=$install-full install || return 1 5.56 + 5.57 + install -Dm0644 $stuff/urxvt-full.desktop \ 5.58 + $install-full/usr/share/applications/urxvt-full.desktop 5.59 + 5.60 + R="$install-full/usr/share/terminfo" 5.61 + mkdir -p $R 5.62 + tic -s -o $R $src-full/doc/etc/rxvt-unicode.terminfo 5.63 } 5.64 5.65 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.66 -genpkg_rules() 5.67 -{ 5.68 - mkdir -p $fs/usr 5.69 - cp -a $install/usr/bin $fs/usr 5.70 +genpkg_rules() { 5.71 + case $PACKAGE in 5.72 + urxvt) 5.73 + copy @std 5.74 + DEPENDS="xorg-libX11" 5.75 + ;; 5.76 + urxvt-full) 5.77 + install=$install-full copy @std 5.78 + CAT="utilities|everything enabled" 5.79 + DEPENDS="fontconfig freetype gdk-pixbuf glib perl perl-core \ 5.80 + startup-notification xorg-libX11 xorg-libXft xorg-libXmu \ 5.81 + xorg-libXrender xorg-libXt" 5.82 + PROVIDE="urxvt" 5.83 + ;; 5.84 + esac 5.85 + TAGS="terminal" 5.86 }
6.1 --- a/urxvt/stuff/gcc.u Wed Nov 15 14:21:32 2017 +0200 6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 6.3 @@ -1,23 +0,0 @@ 6.4 ---- src/command.C 6.5 -+++ src/command.C 6.6 -@@ -3336,7 +3336,7 @@ 6.7 - } 6.8 - else 6.9 - { 6.10 -- char *eq = strchr (str, '='); // constness lost, but verified to be ok 6.11 -+ char *eq = strchr ((char *)str, '='); 6.12 - 6.13 - if (eq) 6.14 - { 6.15 - 6.16 ---- src/misc.C 6.17 -+++ src/misc.C 6.18 -@@ -170,7 +170,7 @@ 6.19 - char * 6.20 - rxvt_basename (const char *str) NOTHROW 6.21 - { 6.22 -- char *base = strrchr (str, '/'); 6.23 -+ char *base = strrchr ((char *)str, '/'); 6.24 - 6.25 - return (char *) (base ? base + 1 : str); 6.26 - }
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/urxvt/stuff/urxvt-full.desktop Wed Nov 15 16:27:09 2017 +0200 7.3 @@ -0,0 +1,8 @@ 7.4 +[Desktop Entry] 7.5 +Type=Application 7.6 +Name=Urxvt-full 7.7 +GenericName=Unicode Terminal 7.8 +Comment=Terminal emulator with unicode CJK support 7.9 +Exec=urxvt -bg black -fg white -cr orange -pr green 7.10 +Icon=utilities-terminal 7.11 +Categories=Utility;Terminal;
8.1 --- a/usbip-dev/receipt Wed Nov 15 14:21:32 2017 +0200 8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 8.3 @@ -1,19 +0,0 @@ 8.4 -# SliTaz package receipt. 8.5 - 8.6 -PACKAGE="usbip-dev" 8.7 -VERSION="0.1.7" 8.8 -CATEGORY="development" 8.9 -SHORT_DESC="general USB device sharing system over IP network, development files." 8.10 -MAINTAINER="pascal.bellard@slitaz.org" 8.11 -LICENSE="GPL2" 8.12 -WEB_SITE="http://usbip.sourceforge.net/" 8.13 -WANTED="usbip" 8.14 - 8.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 8.16 -genpkg_rules() 8.17 -{ 8.18 - mkdir -p $fs/usr/lib 8.19 - cp -a $install/usr/include $fs/usr 8.20 - cp -a $install/usr/lib/*a $fs/usr/lib 8.21 -} 8.22 -
9.1 --- a/usbip/receipt Wed Nov 15 14:21:32 2017 +0200 9.2 +++ b/usbip/receipt Wed Nov 15 16:27:09 2017 +0200 9.3 @@ -1,39 +1,47 @@ 9.4 -# SliTaz package receipt. 9.5 +# SliTaz package receipt v2. 9.6 9.7 PACKAGE="usbip" 9.8 VERSION="0.1.7" 9.9 CATEGORY="system-tools" 9.10 -SHORT_DESC="general USB device sharing system over IP network." 9.11 +SHORT_DESC="General USB device sharing system over IP network" 9.12 MAINTAINER="pascal.bellard@slitaz.org" 9.13 LICENSE="GPL2" 9.14 +WEB_SITE="http://usbip.sourceforge.net/" 9.15 + 9.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 9.17 -WEB_SITE="http://usbip.sourceforge.net/" 9.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 9.19 -TAGS="usb" 9.20 9.21 -DEPENDS="sysfsutils glib libwrap linux-usbip" 9.22 -BUILD_DEPENDS="sysfsutils-dev lzma libtool glib-dev libwrap libwrap-dev" 9.23 +BUILD_DEPENDS="automake libtool sysfsutils-dev libwrap-dev glib-dev" 9.24 +SPLIT="usbip-dev" 9.25 9.26 -# Rules to configure and make the package. 9.27 -compile_rules() 9.28 -{ 9.29 - cd $src/drivers 9.30 - KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 9.31 +# From usbip web site: http://usbip.sourceforge.net/#download 9.32 +# 9.33 +# For Linux, the source code of usbip was merged into the staging tree, and 9.34 +# finally has been moved to the mainline since Linux-3.17. Development is 9.35 +# ongoing in the kernel community, not here. Linux distributions will provide 9.36 +# binary packages of usbip. Just for historical records, the project page keeps 9.37 +# old download files of the Linux version. Do not use them. 9.38 +# 9.39 +# ? 9.40 + 9.41 +compile_rules() { 9.42 + KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g') 9.43 9.44 cd $src/src 9.45 - ./autogen.sh 9.46 - ./configure --prefix=/usr --infodir=/usr/share/info \ 9.47 - --mandir=/usr/share/man $CONFIGURE_ARGS && 9.48 - make && 9.49 - make DESTDIR=$DESTDIR install 9.50 + ./autogen.sh && 9.51 + ./configure $CONFIGURE_ARGS && make && make install 9.52 } 9.53 9.54 -# Rules to gen a SliTaz package suitable for Tazpkg. 9.55 -genpkg_rules() 9.56 -{ 9.57 - mkdir -p $fs/usr/lib 9.58 - cp -a $install/usr/bin $fs/usr 9.59 - cp -a $install/usr/share $fs/usr 9.60 - cp -a $install/usr/lib/*.so* $fs/usr/lib 9.61 +genpkg_rules() { 9.62 + case $PACKAGE in 9.63 + usbip) 9.64 + copy @std 9.65 + DEPENDS="glib libwrap pcre sysfsutils linux-usbip" 9.66 + TAGS="usb" 9.67 + ;; 9.68 + *-dev) 9.69 + copy @dev 9.70 + DEPENDS="usbip libwrap-dev sysfsutils-dev" 9.71 + ;; 9.72 + esac 9.73 } 9.74 -