# HG changeset patch # User Pascal Bellard # Date 1634194492 0 # Node ID 83927a09d38da71da8cc2f57dd1c00877668f876 # Parent 5765a85d3efd4c5dcf9eeaa1621ba2af91d18ab2 Add eudev-lib diff -r 5765a85d3efd -r 83927a09d38d apache-ant/receipt --- a/apache-ant/receipt Wed Oct 06 14:55:24 2021 +0000 +++ b/apache-ant/receipt Thu Oct 14 06:54:52 2021 +0000 @@ -16,6 +16,13 @@ #DEPENDS="java-jdk" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-bin.tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 5765a85d3efd -r 83927a09d38d apache/receipt --- a/apache/receipt Wed Oct 06 14:55:24 2021 +0000 +++ b/apache/receipt Thu Oct 14 06:54:52 2021 +0000 @@ -21,6 +21,13 @@ CONFIG_FILES="/etc/apache /var/www /etc/ssl/apache" TAZPANEL_DAEMON="edit::/etc/apache/httpd.conf|web::$WEB_SITE" +# What is the latest version available today? +current_version() +{ + wget -O - https://downloads.apache.org/httpd/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 5765a85d3efd -r 83927a09d38d boulderdash/stuff/freeze.u --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/boulderdash/stuff/freeze.u Thu Oct 14 06:54:52 2021 +0000 @@ -0,0 +1,41 @@ +--- boulderdash.js ++++ boulderdash.js +@@ -4,7 +4,7 @@ Boulderdash = function() { + // GENERAL purpose constants and helper methods + //========================================================================= + +- var KEY = { ENTER: 13, ESC: 27, SPACE: 32, PAGEUP: 33, PAGEDOWN: 34, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40 }; ++ var KEY = { ENTER: 13, ESC: 27, SPACE: 32, PAGEUP: 33, PAGEDOWN: 34, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40, F: 70 }; + + var Dom = { + get: function(id) { return (id instanceof HTMLElement) ? id : document.getElementById(id); }, +@@ -162,6 +162,7 @@ Boulderdash = function() { + this.step = 1/this.fps; // how long is each game frame (in seconds) + this.birth = 2*this.fps; // in which frame is rockford born ? + this.timer = this.cave.caveTime; // seconds allowed to complete this cave ++ this.freeze = 0; + this.idle = { blink: false, tap: false }; // is rockford showing any idle animation ? + this.flash = false; // trigger white flash when rockford has collected enought diamonds + this.won = false; // set to true when rockford enters the outbox +@@ -261,8 +262,12 @@ Boulderdash = function() { + this.endFrame(); + }, + ++ toggleFreeze: function() { ++ this.freeze = 1 - this.freeze; ++ }, ++ + decreaseTimer: function(n) { +- this.timer = Math.max(0, this.timer - (n || 1)); ++ if (this.freeze === 0) this.timer = Math.max(0, this.timer - (n || 1)); + this.publish('timer', this.timer); + return (this.timer === 0); + }, +@@ -755,6 +760,7 @@ Boulderdash = function() { + case KEY.DOWN: moving.startDown(); handled = true; break; + case KEY.LEFT: moving.startLeft(); handled = true; break; + case KEY.RIGHT: moving.startRight(); handled = true; break; ++ case KEY.F: game.toggleFreeze(); handled = true; break; + case KEY.ESC: game.reset(); handled = true; break; + case KEY.PAGEUP: game.prev(); handled = true; break; + case KEY.PAGEDOWN: game.next(); handled = true; break; diff -r 5765a85d3efd -r 83927a09d38d consolekit2/receipt --- a/consolekit2/receipt Wed Oct 06 14:55:24 2021 +0000 +++ b/consolekit2/receipt Thu Oct 14 06:54:52 2021 +0000 @@ -16,7 +16,7 @@ TARBALL_SHA1="28869807eed0cc4a7a1d98030be1f2c7e5700d0e" -DEPENDS="acl dbus eudev glib polkit xorg-libX11 zlib" +DEPENDS="acl dbus eudev-lib glib polkit xorg-libX11 zlib" BUILD_DEPENDS="acl-dev dbus-dev docbook-xsl eudev-dev gettext-base \ glib-dev libtool libxml2-tools libxslt polkit-dev \ util-linux-getopt util-linux-uuid-dev xmlto xorg-libX11-dev" @@ -30,6 +30,7 @@ compile_rules() { ./configure \ + --sysconfdir=/etc \ --localstatedir=/var \ --enable-udev-acl \ --enable-polkit \ @@ -55,7 +56,7 @@ cp -a $install/etc/X11/app-defaults/xinitrc.d \ $fs/etc/X11/app-defaults - cp -a $install/usr/etc $fs + cp -a $install/etc $fs cp -a $install/usr/bin $fs/usr cp -a $install/lib/udev $fs/lib cp -a $install/usr/lib/ConsoleKit $fs/usr/lib diff -r 5765a85d3efd -r 83927a09d38d eudev-lib/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eudev-lib/receipt Thu Oct 14 06:54:52 2021 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="eudev-lib" +VERSION="3.2.9" +CATEGORY="development" +SHORT_DESC="Eudev library files (libudev)." +MAINTAINER="tcg.thegamer@gmail.com" +LICENSE="GPL2" +WEB_SITE="https://wiki.gentoo.org/wiki/Project:Eudev" + +WANTED="eudev" + +HOST_ARCH="i486 arm" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/lib + cp -a $install/lib/libudev*so* $fs/lib +} diff -r 5765a85d3efd -r 83927a09d38d eudev/receipt --- a/eudev/receipt Wed Oct 06 14:55:24 2021 +0000 +++ b/eudev/receipt Thu Oct 14 06:54:52 2021 +0000 @@ -12,10 +12,16 @@ WGET_URL="https://dev.gentoo.org/~blueness/$PACKAGE/$TARBALL" PROVIDE="udev" -DEPENDS="acl dbus kmod pciids usbids util-linux-blkid" +DEPENDS="acl dbus kmod pciids usbids util-linux-blkid eudev-lib" BUILD_DEPENDS="acl-dev dbus-dev gperf kmod-dev pcre-dev pkg-config util-linux-blkid-dev util-linux-uuid-dev" +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/tar.gz