# HG changeset patch # User Aleksej Bobylev # Date 1538988077 -10800 # Node ID 6565d9a3d3eb4fb42ff2f27aa11164b7b4952935 # Parent e43c543a4c5b25e8e609cd90cafe3c610f0db8e2 Small updates diff -r e43c543a4c5b -r 6565d9a3d3eb cpu-g/receipt --- a/cpu-g/receipt Sun Oct 07 11:36:30 2018 +0300 +++ b/cpu-g/receipt Mon Oct 08 11:41:17 2018 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cpu-g" VERSION="0.9.0" @@ -6,31 +6,27 @@ SHORT_DESC="Shows useful information about your hardware" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" -WEB_SITE="http://cpug.sourceforge.net/" +WEB_SITE="https://sourceforge.net/projects/cpug/" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/cpug/$TARBALL" -DEPENDS="python-pygtk" +compile_rules() { + sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' cpu-g + sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' cpu-g + sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' cpu-g.glade -# Rules to configure and make the package. -compile_rules() -{ - cook_pick_manpages doc/* + install -Dm755 cpu-g $install/usr/bin/cpu-g + install -Dm644 cpu-g.glade $install/usr/share/cpu-g/cpu-g.glade + install -Dm644 data/cpu-g.png $install/usr/share/pixmaps/cpu-g.png + mkdir -p $install/usr/share/cpu-g/ + cp -r data/logos/ $install/usr/share/cpu-g/ + + cook_pick_manpages doc/cpu-g.1 + cook_pick_docs README } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - sed -i 's|data/logos/|/usr/share/cpu-g/logos/|' $src/cpu-g - sed -i 's|cpu-g.glade|/usr/share/cpu-g/cpu-g.glade|' $src/cpu-g - sed -i 's|data/cpu-g.png|/usr/share/pixmaps/cpu-g.png|' $src/cpu-g.glade - mkdir -p \ - $fs/usr/bin \ - $fs/usr/share/applications \ - $fs/usr/share/cpu-g \ - $fs/usr/share/pixmaps - cp -a $src/cpu-g $fs/usr/bin - cp -a $src/cpu-g.glade $fs/usr/share/cpu-g - cp -a $src/data/logos $fs/usr/share/cpu-g - cp -a $src/data/cpu-g.png $fs/usr/share/pixmaps +genpkg_rules() { + copy @std + DEPENDS="python-pygtk" } diff -r e43c543a4c5b -r 6565d9a3d3eb dconf-editor/.icon.png Binary file dconf-editor/.icon.png has changed diff -r e43c543a4c5b -r 6565d9a3d3eb dconf-editor/receipt --- a/dconf-editor/receipt Sun Oct 07 11:36:30 2018 +0300 +++ b/dconf-editor/receipt Mon Oct 08 11:41:17 2018 +0300 @@ -1,30 +1,29 @@ # SliTaz package receipt v2. PACKAGE="dconf-editor" -VERSION="3.22.3" +VERSION="3.30.2" CATEGORY="system-tools" SHORT_DESC="A low-level configuration system (graphical editor)" MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" WEB_SITE="https://wiki.gnome.org/Projects/dconf" -LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/dconf.html" +LFS="http://www.linuxfromscratch.org/blfs/view/svn/gnome/dconf.html" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -BUILD_DEPENDS="vala glib-dev gtk+3-dev dconf-dev gettext intltool" +BUILD_DEPENDS="meson ninja vala libxml2-tools dconf-dev gtk3-dev gettext" compile_rules() { - # sdft can't process keywords - sed -i '/_Keywords=/d' editor/ca.desrt.dconf-editor.desktop.in.in + mkdir build + cd build - ./configure $CONFIGURE_ARGS && - make && - make install + meson-wrapper && + ninja && + ninja install } genpkg_rules() { copy @std @ico # only 16 and 48 icons - rm -r $fs/usr/share/appdata - DEPENDS="atk cairo dconf gdk-pixbuf glib gtk+3 pango dbus" + DEPENDS="dconf glib gtk3 dbus" } diff -r e43c543a4c5b -r 6565d9a3d3eb gtk+3/receipt --- a/gtk+3/receipt Sun Oct 07 11:36:30 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,103 +0,0 @@ -# SliTaz package receipt v2. - -PACKAGE="gtk+3" -VERSION="3.22.8" -CATEGORY="x-window" -SHORT_DESC="The GIMP Toolkit 3.x" -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2" -WEB_SITE="https://www.gtk.org/" -LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/gtk3.html" -REPOLOGY="gtk3" - -TARBALL="gtk+-$VERSION.tar.xz" -WGET_URL="$GNOME_MIRROR/gtk+/${VERSION%.*}/$TARBALL" - -BUILD_DEPENDS_arm="atk-dev pango-dev gdk-pixbuf-dev dbus-dev dbus-glib-dev \ -xorg-xorgproto" -BUILD_DEPENDS="glib-dev atk-dev pango-dev cairo-dev gdk-pixbuf-dev gettext \ -xorg-libXinerama-dev xorg-libXi-dev xorg-libXrandr-dev xorg-libXcomposite-dev \ -xorg-libXdamage-dev libepoxy-dev at-spi2-atk-dev cups-dev colord-dev gtk-doc \ -libxslt gobject-introspection-dev xorg-libSM-dev" -SPLIT="gtk+3-demo gtk+3-widget-factory gtk+3-icon-browser gtk+3 gtk+3-dev" -COOKOPTS="skip-log-errors" # Failed to open file ?./gdk.gresource.xml?: No such file or directory -CROSS_BUGS="bug: /bin/bash: no: command not found" - -compile_rules() { - # Handle cross compilation. - case "$ARCH" in - arm*) - ARCH_ARGS="--enable-introspection=no --disable-glibtest \ - --disable-cups --disable-papi --with-xinput gio_can_sniff=yes" - export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib" - export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" - ;; - esac - - ./configure \ - --disable-debug \ - --enable-xkb \ - --enable-xinerama \ - --enable-xrandr \ - --enable-xfixes \ - --enable-xcomposite \ - --enable-xdamage \ - --enable-x11-backend \ - --enable-introspection \ - --enable-colord \ - --disable-wayland-backend \ - --disable-broadway-backend \ - --with-x \ - $CONFIGURE_ARGS $ARCH_ARGS && - fix libtool && - make $MAKEFLAGS && - make DESTDIR=$DESTDIR install || return 1 - - cp -f $stuff/settings.ini $install/etc/gtk-3.0 - find $install -name '*.desktop' | xargs sed -i '/NoDisplay/d' -} - -genpkg_rules() { - case $PACKAGE in - gtk+3-demo) - copy gtk3-demo* *Demo* *exampleapp* - rm -r $fs/usr/share/gtk-doc $fs/usr/share/man - CAT="development|example code and demo" - DEPENDS="cairo gdk-pixbuf glib gtk+3 libepoxy libharfbuzz pango" - ;; - gtk+3-widget-factory) - copy gtk3-widget* - rm -r $fs/usr/share/gtk-doc $fs/usr/share/man - CAT="development|widget factory" - DEPENDS="atk cairo gdk-pixbuf glib gtk+3" - ;; - gtk+3-icon-browser) - copy gtk3-icon-browser gtk3-icon-browser.desktop - CAT="development|icon browser" - DEPENDS="glib gtk+3" - ;; - gtk+3) - COOKOPTS="!menus" - copy etc/ bin/ themes/ *.so* *.xml @rm - DEPENDS="at-spi2-atk atk cairo colord fontconfig gdk-pixbuf glib \ - libcups libepoxy pango xorg-libX11 xorg-libXcomposite \ - xorg-libXdamage xorg-libXext xorg-libXfixes xorg-libXi \ - xorg-libXinerama xorg-libXrandr" - CONFIG_FILES="/etc/gtk-3.0/settings.ini" - SUGGESTED="cups" - ;; - gtk+3-dev) - copy @dev *.its *.loc *.rng - DEPENDS="gtk+3 gtk+3-demo gtk+3-icon-browser gtk+3-widget-factory \ - at-spi2-atk-dev atk-dev cairo-dev fontconfig-dev gdk-pixbuf-dev \ - glib-dev libepoxy-dev pango-dev xorg-libX11-dev \ - xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXext-dev \ - xorg-libXfixes-dev xorg-libXi-dev xorg-libXinerama-dev \ - xorg-libXrandr-dev" - ;; - esac -} - -post_install_gtk_3() { - chroot "$1/" /usr/bin/gtk-query-immodules-3.0 --update-cache -} diff -r e43c543a4c5b -r 6565d9a3d3eb gtk+3/stuff/patches/gtk3-misc.patch --- a/gtk+3/stuff/patches/gtk3-misc.patch Sun Oct 07 11:36:30 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ ---- a/gtk/gtktextview.h -+++ b/gtk/gtktextview.h -@@ -56,9 +56,9 @@ - */ - typedef enum - { -- /*< private >*/ -+ /* < private > */ - GTK_TEXT_WINDOW_PRIVATE, -- /*< public >*/ -+ /* < public > */ - GTK_TEXT_WINDOW_WIDGET, - GTK_TEXT_WINDOW_TEXT, - GTK_TEXT_WINDOW_LEFT, diff -r e43c543a4c5b -r 6565d9a3d3eb gtk+3/stuff/patches/series --- a/gtk+3/stuff/patches/series Sun Oct 07 11:36:30 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -gtk3-misc.patch diff -r e43c543a4c5b -r 6565d9a3d3eb gtk+3/stuff/settings.ini --- a/gtk+3/stuff/settings.ini Sun Oct 07 11:36:30 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -[Settings] -gtk-theme-name = SliTaz -gtk-icon-theme-name = SliTaz -gtk-font-name = DejaVu Sans 9 -gtk-cursor-theme-name = slitaz-polar -gtk-cursor-theme-size = 0 -gtk-toolbar-style = GTK_TOOLBAR_ICONS -gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR -gtk-button-images = 1 -gtk-menu-images = 1 -gtk-enable-event-sounds = 1 -gtk-enable-input-feedback-sounds = 1 -gtk-xft-antialias = 1 -gtk-xft-hinting = 1 -gtk-xft-hintstyle = hintfull -gtk-xft-rgba = rgb diff -r e43c543a4c5b -r 6565d9a3d3eb gtk3/.icon.png Binary file gtk3/.icon.png has changed diff -r e43c543a4c5b -r 6565d9a3d3eb gtk3/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gtk3/receipt Mon Oct 08 11:41:17 2018 +0300 @@ -0,0 +1,106 @@ +# SliTaz package receipt v2. + +PACKAGE="gtk3" +VERSION="3.24.1" +CATEGORY="x-window" +SHORT_DESC="GNOME Toolkit 3" # it isn't GIMP Toolkit, don't try to convince me +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2" +WEB_SITE="https://www.gtk.org/" +LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/gtk3.html" +REPOLOGY="gtk3" + +TARBALL="gtk+-$VERSION.tar.xz" +WGET_URL="$GNOME_MIRROR/gtk+/${VERSION%.*}/$TARBALL" + +BUILD_DEPENDS="xorg-libSM-dev" +BUILD_DEPENDS="gettext wayland-protocols-dev wayland-dev glib-dev atk-dev \ +pango-dev cairo-dev gdk-pixbuf-dev xorg-libXinerama-dev xorg-libXi-dev \ +xorg-libXrandr-dev xorg-libXcomposite-dev xorg-libXdamage-dev libxkbcommon-dev \ +mesa-dev libepoxy-dev at-spi2-atk-dev iso-codes-dev cups-dev rest-dev \ +json-glib-dev gobject-introspection-dev colord-dev gtk-doc libxslt " +SPLIT="$PACKAGE-demo $PACKAGE-widget-factory $PACKAGE-icon-browser \ +$PACKAGE-broadwayd $PACKAGE-dev $PACKAGE" + +COOKOPTS="skip-log-errors" # Failed to open file ?./gdk.gresource.xml?: No such file or directory + +compile_rules() { + ./configure \ + --disable-debug \ + --enable-xkb \ + --enable-xinerama \ + --enable-xrandr \ + --enable-xfixes \ + --enable-xcomposite \ + --enable-xdamage \ + --enable-x11-backend \ + --enable-broadway-backend \ + --enable-wayland-backend \ + --enable-introspection \ + --enable-colord \ + --enable-man \ + --with-x \ + $CONFIGURE_ARGS && + fix libtool && + make && + make install || return 1 + + cp -f $stuff/settings.ini $install/etc/gtk-3.0 +# find $install -name '*.desktop' | xargs sed -i '/NoDisplay/d' +} + +genpkg_rules() { + case $PACKAGE in + *-demo) + copy gtk3-demo* *Demo* *exampleapp* + rm -r $fs/usr/share/gtk-doc $fs/usr/share/man + CAT="development|example code and demo" + DEPENDS="cairo gdk-pixbuf glib gtk3 libepoxy libharfbuzz pango" + PROVIDE="gtk+3-demo" + ;; + *-widget-factory) + copy gtk3-widget* + rm -r $fs/usr/share/gtk-doc $fs/usr/share/man + CAT="development|widget factory" + DEPENDS="atk cairo gdk-pixbuf glib gtk3" + PROVIDE="gtk+3-widget-factory" + ;; + *-icon-browser) + copy gtk3-icon-browser gtk3-icon-browser.desktop + CAT="development|icon browser" + DEPENDS="glib gtk3" + PROVIDE="gtk+3-icon-browser" + ;; + *-broadwayd) + copy broadwayd + CAT="x-window|HTML5 GTK backend" + DEPENDS="cairo glib" + ;; + *-dev) + copy @dev *.its *.loc *.rng + DEPENDS="gtk3 \ + at-spi2-atk-dev atk-dev cairo-dev fontconfig-dev gdk-pixbuf-dev \ + glib-dev libepoxy-dev libxkbcommon-dev mesa-dev pango-dev \ + wayland-dev wayland-protocols-dev xorg-libX11-dev \ + xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXext-dev \ + xorg-libXfixes-dev xorg-libXi-dev xorg-libXinerama-dev \ + xorg-libXrandr-dev" + PROVIDE="gtk+3-dev" + ;; + *) + COOKOPTS="!menus" + copy etc/ bin/ themes/ *.so* *.xml @rm + DEPENDS="at-spi2-atk atk cairo colord fontconfig freetype \ + gdk-pixbuf glib json-glib libcups libepoxy libharfbuzz \ + libxkbcommon mesa-libwayland-egl pango rest wayland xorg-libX11 \ + xorg-libXcomposite xorg-libXdamage xorg-libXext xorg-libXfixes \ + xorg-libXi xorg-libXinerama xorg-libXrandr" + PROVIDE="gtk+3" + CONFIG_FILES="/etc/gtk-3.0/settings.ini" + ;; + esac +} + +post_install_gtk3() { + chroot "$1/" /usr/bin/gtk-query-immodules-3.0 --update-cache +} diff -r e43c543a4c5b -r 6565d9a3d3eb gtk3/stuff/settings.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gtk3/stuff/settings.ini Mon Oct 08 11:41:17 2018 +0300 @@ -0,0 +1,16 @@ +[Settings] +gtk-theme-name = SliTaz +gtk-icon-theme-name = SliTaz +gtk-font-name = DejaVu Sans 9 +gtk-cursor-theme-name = slitaz-polar +gtk-cursor-theme-size = 0 +gtk-toolbar-style = GTK_TOOLBAR_ICONS +gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR +gtk-button-images = 1 +gtk-menu-images = 1 +gtk-enable-event-sounds = 1 +gtk-enable-input-feedback-sounds = 1 +gtk-xft-antialias = 1 +gtk-xft-hinting = 1 +gtk-xft-hintstyle = hintfull +gtk-xft-rgba = rgb