From 93739a24d5c03163b0946b56025a7d78d9a50a93 Mon Sep 17 00:00:00 2001 From: tnut Date: Fri, 22 Oct 2010 22:31:15 +0200 Subject: qingy, port nettoyé MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/qingy/ChatIrssi | 1 - base/qingy/MidnightCommander | 1 - base/qingy/NaviLinks | 1 - base/qingy/Pkgfile | 2 +- base/qingy/nutyx-attapu.jpg | Bin 51183 -> 0 bytes base/qingy/qingy-attapu-01.tar.gz | Bin 623323 -> 0 bytes base/qingy/startx | 230 ------------------------------- base/qingy/theme | 279 -------------------------------------- 8 files changed, 1 insertion(+), 513 deletions(-) delete mode 100755 base/qingy/ChatIrssi delete mode 100755 base/qingy/MidnightCommander delete mode 100755 base/qingy/NaviLinks delete mode 100644 base/qingy/nutyx-attapu.jpg delete mode 100644 base/qingy/qingy-attapu-01.tar.gz delete mode 100755 base/qingy/startx delete mode 100644 base/qingy/theme diff --git a/base/qingy/ChatIrssi b/base/qingy/ChatIrssi deleted file mode 100755 index 1ffe8c624..000000000 --- a/base/qingy/ChatIrssi +++ /dev/null @@ -1 +0,0 @@ -irssi diff --git a/base/qingy/MidnightCommander b/base/qingy/MidnightCommander deleted file mode 100755 index dfd5d4cff..000000000 --- a/base/qingy/MidnightCommander +++ /dev/null @@ -1 +0,0 @@ -mc diff --git a/base/qingy/NaviLinks b/base/qingy/NaviLinks deleted file mode 100755 index 35e037516..000000000 --- a/base/qingy/NaviLinks +++ /dev/null @@ -1 +0,0 @@ -links -mode 1024x768x16 diff --git a/base/qingy/Pkgfile b/base/qingy/Pkgfile index 7c9de7de3..96da02fa8 100644 --- a/base/qingy/Pkgfile +++ b/base/qingy/Pkgfile @@ -7,7 +7,7 @@ name=qingy version=0.9.9 release=5 source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2\ - startx ChatIrssi NaviLinks MidnightCommander\ + http://nutyx.meticul.eu/files/patchs/$name/{startx,ChatIrssi,NaviLinks,MidnightCommander}\ http://kiao.no-ip.info/NuTyX/files/qingy-nutyx.tar.bz2) build() { diff --git a/base/qingy/nutyx-attapu.jpg b/base/qingy/nutyx-attapu.jpg deleted file mode 100644 index 52771c4c3..000000000 Binary files a/base/qingy/nutyx-attapu.jpg and /dev/null differ diff --git a/base/qingy/qingy-attapu-01.tar.gz b/base/qingy/qingy-attapu-01.tar.gz deleted file mode 100644 index b07e5e9ea..000000000 Binary files a/base/qingy/qingy-attapu-01.tar.gz and /dev/null differ diff --git a/base/qingy/startx b/base/qingy/startx deleted file mode 100755 index 1e8dee553..000000000 --- a/base/qingy/startx +++ /dev/null @@ -1,230 +0,0 @@ -#!/bin/sh - -# -# This is just a sample implementation of a slightly less primitive -# interface than xinit. It looks for user .xinitrc and .xserverrc -# files, then system xinitrc and xserverrc files, else lets xinit choose -# its default. The system xinitrc should probably do things like check -# for .Xresources files and merge them in, startup up a window manager, -# and pop a clock and serveral xterms. -# -# Site administrators are STRONGLY urged to write nicer versions. -# - -unset DBUS_SESSION_BUS_ADDRESS -unset SESSION_MANAGER - - -# userclientrc=$HOME/.xinitrc -sysclientrc=/usr/lib/X11/xinit/xinitrc - - -userserverrc=$HOME/.xserverrc -sysserverrc=/usr/lib/X11/xinit/xserverrc -defaultclient=xterm -defaultserver=/usr/bin/X -defaultclientargs="" -defaultserverargs="" -defaultdisplay=":0" -clientargs="" -serverargs="" - -enable_xauth=1 - - - -whoseargs="client" -while [ x"$1" != x ]; do - case "$1" in - # '' required to prevent cpp from treating "/*" as a C comment. - /''*|\./''*) - if [ "$whoseargs" = "client" ]; then - if [ x"$client" = x ] && [ x"$clientargs" = x ]; then - client="$1" - else - clientargs="$clientargs $1" - fi - else - if [ x"$server" = x ] && [ x"$serverargs" = x ]; then - server="$1" - else - serverargs="$serverargs $1" - fi - fi - ;; - --) - whoseargs="server" - ;; - *) - if [ "$whoseargs" = "client" ]; then - clientargs="$clientargs $1" - else - # display must be the FIRST server argument - if [ x"$serverargs" = x ] && \ - expr "$1" : ':[0-9][0-9]*$' > /dev/null 2>&1; then - display="$1" - else - serverargs="$serverargs $1" - fi - fi - ;; - esac - shift -done - -# process client arguments -if [ x"$client" = x ]; then - client=$defaultclient - - # if no client arguments either, use rc file instead - if [ x"$clientargs" = x ]; then - if [ -f "$userclientrc" ]; then - client=$userclientrc - elif [ -f "$sysclientrc" ]; then - client=$sysclientrc - - - - - - - fi - - clientargs=$defaultclientargs - fi -fi - -# process server arguments -if [ x"$server" = x ]; then - server=$defaultserver - - # if no server arguments or display either, use defaults - if [ x"$serverargs" = x -a x"$display" = x ]; then - # For compatibility reasons, only use xserverrc if there were no server command line arguments - if [ -f "$userserverrc" ]; then - server=$userserverrc - elif [ -f "$sysserverrc" ]; then - server=$sysserverrc - fi - - serverargs=$defaultserverargs - display=$defaultdisplay - fi -fi - -if [ x"$enable_xauth" = x1 ] ; then - if [ x"$XAUTHORITY" = x ]; then - XAUTHORITY=$HOME/.Xauthority - export XAUTHORITY - fi - - removelist= - - # set up default Xauth info for this machine - case `uname` in - Linux*) - if [ -z "`hostname --version 2>&1 | grep GNU`" ]; then - hostname=`hostname -f` - else - hostname=`hostname` - fi - ;; - *) - hostname=`hostname` - ;; - esac - - authdisplay=${display:-:0} - - mcookie=`/usr/bin/mcookie` - - - - - - - - if test x"$mcookie" = x; then - echo "Couldn't create cookie" - exit 1 - fi - dummy=0 - - # create a file with auth information for the server. ':0' is a dummy. - xserverauthfile=$HOME/.serverauth.$$ - trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP KILL BUS TERM - xauth -q -f "$xserverauthfile" << EOF -add :$dummy . $mcookie -EOF - - - - serverargs=${serverargs}" -auth "${xserverauthfile} - - - # now add the same credentials to the client authority file - # if '$displayname' already exists do not overwrite it as another - # server man need it. Add them to the '$xserverauthfile' instead. - for displayname in $authdisplay $hostname$authdisplay; do - authcookie=`xauth list "$displayname" \ - | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null; - if [ "z${authcookie}" = "z" ] ; then - xauth -q << EOF -add $displayname . $mcookie -EOF - removelist="$displayname $removelist" - else - dummy=$(($dummy+1)); - xauth -q -f "$xserverauthfile" << EOF -add :$dummy . $authcookie -EOF - fi - done -fi - - - - - - - - - - - - -xinit "$client" $clientargs -- "$server" $display $serverargs - - - -retval=$? - -if [ x"$enable_xauth" = x1 ] ; then - if [ x"$removelist" != x ]; then - xauth remove $removelist - fi - if [ x"$xserverauthfile" != x ]; then - rm -f "$xserverauthfile" - fi -fi - - - - - - - - - - - - - - - - - - - -exit $retval - diff --git a/base/qingy/theme b/base/qingy/theme deleted file mode 100644 index 289f30d09..000000000 --- a/base/qingy/theme +++ /dev/null @@ -1,279 +0,0 @@ -theme -{ - background = "background.jpg" - font = "decker.ttf" - -# opacity values, from 0 (transparent) to 255 (opaque) - button_opacity = 255 - window_opacity = 128 - selected_window_opacity = 255 - -# Colors can be given in a hex quadruplet (values from 00 to ff) -# or via comma-separated decimals (0 to 255). Format is RGBA -# mask_text_color = [ 28b428ff ] -# cursor_text_color = [ 145a14dd ] -# other_text_color = [ 404040ff ] - default_text_color = 40, 180, 40, 255 - default_cursor_color = 20, 90, 20, 221 - other_text_color = 255, 255, 0, 255 - -# wether we should clear background image during dialogs -# (default is no, unless you set it differently in qingy config file)... - clear_background = yes - -# this is the native resolution of the theme, i.e. the resolution the theme -# was designed for. If qingy detects a running resolution different than this -# one, it will (try to) scale things so that they will look the same across -# all resolutions. If this is omitted, qingy will default to 800x600 to -# maintain compatibility with older themes... - native_resolution = 1024x768 - - #mouse_cursor = yes - mouse_cursor = - { - "Arrow.png", # image path - 0, # hotspot: x offset - 0 # hotspot: y offset - } - -# how many seconds should we wait when displaying the 'system will XXX in YYY seconds...'? - countdown_timeout = 5 - -# how many seconds should we wait when displaying informative messages ('login failed', ...)? - info_message_timeout = 2 - -# how many seconds should we wait when displaying welcome message in case of successful login? - welcome_message_timeout = 1 - -# these are the various messages that qingy may show up in its GUI -# you are free to change them. If you do not define these variables -# default (English) messages will be shown - shutdown_timeout_message = "system shutdown in seconds" - restart_timeout_message = "system restart in seconds" - sleep_timeout_message = "system will fall asleep in seconds" - sleep_forbidden_message = "Putting this machine in sleep mode is not allowed!" - shutdown_forbidden_message = "Shutting down this machine is not allowed!" - sleep_password_message = "You must enter root password to put this machine to sleep!" - shutdown_password_message = "You must enter root password to shut down this machine!" - shutdown_message = "shutting down system..." - restart_message = "rebooting system..." - login_message = "Logging in" - login_failed_message = "Login failed!" - abort_message = "Press ESC key to abort" - caps_message = "CAPS LOCK is pressed" - sleep_cmd_message = "You must define sleep command in settings file!" - crypto_error_message = "Crypto error - regenerate your keys!" - welcome_message = "Starting selected session..." -} - -window -{ - # window geometry - x = 0 - y = 96 - width = 1024 - height = 64 - - # text size: chose between 'small', 'medium' and 'large' - # default is 'large' - #text_size = large - - # text alignment: 'left', 'center', 'right'. Default is 'left' - text_orientation = center - - #colors: if not defined, theme defaults will be used - #text_color = 180, 40, 40, 255 - #cursor_color = 90, 20, 20, 221 - - # update time, 0 means do not update, which is default - # this setting has meaning only if window type is "label" - # time = 0 - - # window type, allowed values are: - # "label", "button", "login", "password", "combo" - type = "label" - content = "Bienvenue sur " - # The above is substituted with the output of 'command' - command = "hostname" -} - -window -{ - x = 0 - y = 746 - width = 1024 - height = 38 - - text_orientation = center - text_size = small - - text_color = 200, 200, 40, 255 - time = 1 - - type = "label" - content = "" - command = "echo `date +%a,` `date +%d` `date +%b` `date +%Y,` `uptime`" -} - -window -{ - x = 128 - y = 281 - width = 153 - height = 64 - text_orientation = right - type = "label" - content = "login:" - linkto = "login" -} - -window -{ - x = 307 - y = 281 - width = 716 - height = 64 - text_color = 200, 200, 40, 255 - cursor_color = 90, 90, 20, 221 - type = "login" - - mouse_cursor = - { - "IBeam.png", # image path - 6, # hotspot: x offset - 16 # hotspot: y offset - } -} - -window -{ - x = 128 - y = 377 - width = 153 - height = 64 - text_orientation = right - type = "label" - content = "passwd:" - linkto = "password" -} - -window -{ - x = 307 - y = 377 - width = 716 - height = 64 - text_color = 180, 40, 40, 255 - cursor_color = 90, 20, 20, 221 - type = "password" - - mouse_cursor = - { - "IBeam.png", # image path - 6, # hotspot: x offset - 16 # hotspot: y offset - } -} - -window -{ - x = 128 - y = 473 - width = 153 - height = 64 - text_orientation = right - type = "label" - content = "session:" - linkto = "session" -} - -window -{ - x = 307 - y = 473 - width = 716 - height = 64 - text_color = 200, 200, 40, 255 - type = "combo" - - # So far, the only combobox allowed is "sessions" - command = "sessions" - - mouse_cursor = - { - "Hand.png", # image path - 0, # hotspot: x offset - 0 # hotspot: y offset - } -} - -window -{ - # window geometry - x = 966 - y = 719 - type = "button" - - # Allowed commands: - # "halt", "reboot", "sleep", "screensaver" - command = "halt" - - # Image prefix: will be converted to - # "_normal.png" and "_mouseover.png" - content = "power" - - mouse_cursor = - { - "Hand.png", # image path - 0, # hotspot: x offset - 0 # hotspot: y offset - } -} - -window -{ - x = 966 - y = 659 - type = "button" - command = "reboot" - content = "reset" - - mouse_cursor = - { - "Hand.png", # image path - 0, # hotspot: x offset - 0 # hotspot: y offset - } -} - -window -{ - x = 966 - y = 601 - type = "button" - command = "screensaver" - content = "screensaver" - - mouse_cursor = - { - "Hand.png", # image path - 0, # hotspot: x offset - 0 # hotspot: y offset - } -} - -window -{ - x = 966 - y = 544 - type = "button" - command = "sleep" - content = "sleep" - - mouse_cursor = - { - "Hand.png", # image path - 0, # hotspot: x offset - 0 # hotspot: y offset - } -} -- cgit v1.2.3-70-g09d2