# HG changeset patch # User Aleksej Bobylev # Date 1528311760 -10800 # Node ID fb26e10987dc51d7219c43d23afb3c443338f57c # Parent b179f9dccd7427406b93460e604032f2eae6d809 gnome-calculator: up (3.28.1); go-bin and go: up (1.10.2) diff -r b179f9dccd74 -r fb26e10987dc gnome-calculator/receipt --- a/gnome-calculator/receipt Wed Jun 06 20:53:55 2018 +0300 +++ b/gnome-calculator/receipt Wed Jun 06 22:02:40 2018 +0300 @@ -1,39 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gnome-calculator" -VERSION="3.10.2" +VERSION="3.28.1" CATEGORY="utilities" +SHORT_DESC="GNOME Calculator is a powerful graphical calculator with \ +financial, logical and scientific modes" +MAINTAINER="yuripourre@gmail.com" LICENSE="GPL3" -SHORT_DESC="GNOME Calculator is a powerful graphical calculator with financial, logical and scientific modes." -MAINTAINER="yuripourre@gmail.com" +WEB_SITE="https://wiki.gnome.org/Apps/Calculator" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="https://wiki.gnome.org/Apps/Calculator" -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="gtk+3 glib" -BUILD_DEPENDS="gtk+3-dev glib-dev itstool yelp-xsl vala" +BUILD_DEPENDS="meson ninja vala gtk+3-dev gtksourceview3-dev libsoup-dev \ +gettext mpfr-dev gmp-dev mpc-library-dev itstool yelp-xsl" -L10N_MO="af am ar as ast az be@latin be bg bn_IN bn bs ca ca@valencia cs cy da \ -de dz el en_CA en_GB en@shaw en_US eo es et eu fa fi fr ga gl gu he hi hr hu \ -hy id it ja ka kk km kn ko ku lt lv mai mg mk ml mn mr ms my nb ne nl nn oc or \ -pa pl pt_BR pt ro ru rw si sk sl sq sr@latin sr sv ta te tg th tk tr ug uk vi \ -xh zh_CN zh_HK zh_TW" - -# Rules to configure and make the package. -compile_rules() -{ - # SliTaz icon theme has no symbolic icons - sed -i 's|-symbolic||g' $src/data/buttons*.ui - - ./configure \ - --prefix=/usr \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install +compile_rules() { + meson-wrapper build && + ninja -C build && + DESTDIR="$install" ninja -C build install } -genpkg_rules() -{ - cp -a $install/usr $fs - rm -rf $fs/usr/share/locale +genpkg_rules() { + copy @std + DEPENDS="atk glib gtk+3 gtksourceview3 libsoup libxml2 mpc-library mpfr" } diff -r b179f9dccd74 -r fb26e10987dc go-bin/receipt --- a/go-bin/receipt Wed Jun 06 20:53:55 2018 +0300 +++ b/go-bin/receipt Wed Jun 06 22:02:40 2018 +0300 @@ -1,22 +1,26 @@ # SliTaz package receipt v2. PACKAGE="go-bin" -VERSION="1.9.2" +VERSION="1.10.2" CATEGORY="development" SHORT_DESC="The Go programming language, binary distribution" MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" -WEB_SITE="http://golang.org/" +WEB_SITE="https://golang.org/" -TARBALL="go$VERSION.linux-386.tar.gz" -WGET_URL="https://redirector.gvt1.com/edgedl/go/$TARBALL" +case $ARCH in + i?86) TARBALL="go$VERSION.linux-386.tar.gz";; + x86_64) TARBALL="go$VERSION.linux-amd64.tar.gz";; +esac +WGET_URL="https://dl.google.com/go/$TARBALL" -COOKOPTS="!strip" # stripping an *.a archives producing errors +COOKOPTS="!strip !zip" # stripping an *.a archives producing errors; +# *.zip archives have weird content and fail to recompress compile_rules() { - mkdir -p $install/usr/lib/go/ + mkdir -p $install/usr/lib/go/ cp -a $src/* $install/usr/lib/go/ - rm -rf $install/usr/lib/go/blog/ # blog?! + rm -rf $install/usr/lib/go/blog/ # blog?! } genpkg_rules() { diff -r b179f9dccd74 -r fb26e10987dc go/receipt --- a/go/receipt Wed Jun 06 20:53:55 2018 +0300 +++ b/go/receipt Wed Jun 06 22:02:40 2018 +0300 @@ -1,15 +1,15 @@ # SliTaz package receipt v2. PACKAGE="go" -VERSION="1.9.2" +VERSION="1.10.2" CATEGORY="development" SHORT_DESC="The Go programming language" MAINTAINER="domcox@slitaz.org" LICENSE="BSD" WEB_SITE="http://golang.org/" -TARBALL="$PACKAGE$VERSION.tar.gz" -WGET_URL="https://go.googlesource.com/go/+archive/$TARBALL" +TARBALL="$PACKAGE$VERSION.src.tar.gz" +WGET_URL="https://dl.google.com/go/$TARBALL" BUILD_DEPENDS="go-bin bash bison make ed" SPLIT="go-sources emacs-pkg-go-mode go"