wok-next rev 20844

Add amiwm, tklauncher (thanks Pasquale Frega), tcl2c.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 22 20:40:27 2018 +0300 (15 months ago)
parents 8e7b854500ca
children 5ae348053c83
files amiwm/description.txt amiwm/receipt amiwm/stuff/amiwm.xdesktop amiwm/stuff/patches/amiwm-man.patch amiwm/stuff/patches/series amiwm/stuff/ppmtoinfo.1 amiwm/stuff/requestchoice.1 tcl2c/receipt tklauncher/description.txt tklauncher/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/amiwm/description.txt	Fri Jun 22 20:40:27 2018 +0300
     1.3 @@ -0,0 +1,9 @@
     1.4 +amiwm is an X window manager that tries to make your display look and
     1.5 +feel like an Amiga Workbench screen. It is fully functional and can
     1.6 +do all the usual window manager stuff, like moving and resizing
     1.7 +windows.
     1.8 +
     1.9 +The purpose of amiwm is to make life more pleasant for Amiga-freaks
    1.10 +like myself who has/wants to use UNIX workstations once in a while.
    1.11 +It can also be used on the Amiga with the AmiWin X server, although
    1.12 +this part needs some more work.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/amiwm/receipt	Fri Jun 22 20:40:27 2018 +0300
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="amiwm"
     2.7 +VERSION="0.21pl2"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="Amiga look alike window manager"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="other"
    2.12 +WEB_SITE="http://www.lysator.liu.se/~marcus/amiwm.html"
    2.13 +
    2.14 +TARBALL="$PACKAGE$VERSION.tar.gz"
    2.15 +WGET_URL="ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/$TARBALL"
    2.16 +
    2.17 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libICE-dev xorg-libXt-dev \
    2.18 +xorg-libXmu-dev"
    2.19 +
    2.20 +compile_rules() {
    2.21 +	./configure $CONFIGURE_ARGS &&
    2.22 +	make gram.h &&
    2.23 +	make &&
    2.24 +	make prefix=$install/usr mandir='${prefix}/share/man' install || return 1
    2.25 +
    2.26 +	ln -sf ../lib/amiwm/requestchoice $install/usr/bin/requestchoice
    2.27 +	install -Dm644 $stuff/amiwm.xdesktop $install/usr/share/xsessions/amiwm.desktop
    2.28 +
    2.29 +	cook_pick_manpages $stuff/*.1 # from Debian
    2.30 +	cook_pick_docs README* LICENSE
    2.31 +}
    2.32 +
    2.33 +genpkg_rules() {
    2.34 +	copy @std
    2.35 +	DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu"
    2.36 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/amiwm/stuff/amiwm.xdesktop	Fri Jun 22 20:40:27 2018 +0300
     3.3 @@ -0,0 +1,9 @@
     3.4 +[Window Manager]
     3.5 +SessionManaged=true
     3.6 +
     3.7 +[Desktop Entry]
     3.8 +Name=amiwm
     3.9 +Terminal=False
    3.10 +Exec=amiwm
    3.11 +Type=Application
    3.12 +Comment=The Amiga look alike window manager
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/amiwm/stuff/patches/amiwm-man.patch	Fri Jun 22 20:40:27 2018 +0300
     4.3 @@ -0,0 +1,169 @@
     4.4 +--- a/amiwm.1
     4.5 ++++ b/amiwm.1
     4.6 +@@ -1,6 +1,3 @@
     4.7 +-.\" @(#)amiwm.1
     4.8 +-'\"macro stdmacro
     4.9 +-.nr X
    4.10 + .TH amiwm 1 "19 Jul 2010"
    4.11 + .SH NAME
    4.12 + amiwm \- Amiga Workbench-like X Window Manager
    4.13 +@@ -16,17 +13,17 @@
    4.14 + .I Amiwm 
    4.15 + is configurable with a $HOME/\.amiwmrc-file containing some or all
    4.16 + of the following options:
    4.17 +-.SH FastQuit:  {yes|no}
    4.18 ++.SH FastQuit:  {yes | no}
    4.19 + 
    4.20 + Specifies whether amiwm should quit directly when the Quit
    4.21 + menu item is selected, rather than popping up a requester.
    4.22 + (on/off or true/false can be used instead of yes/no.)
    4.23 + 
    4.24 +-.SH SizeBorder {right|bottom|both|none}
    4.25 ++.SH SizeBorder {right | bottom | both | none}
    4.26 + 
    4.27 + Specifies which border should be enlarged when a sizegadget is present.
    4.28 + 
    4.29 +-.SH ForceMove {manual|auto|always}
    4.30 ++.SH ForceMove {manual | auto | always}
    4.31 + 
    4.32 + Enables you to move windows outside the perimeter of the root window
    4.33 + when pressing shift, when trying to drag at least 25% of the window
    4.34 +@@ -41,59 +38,60 @@
    4.35 + Gives the filename of the .info file to use as a default icon.
    4.36 + It is relative to the IconDir.
    4.37 + 
    4.38 +-.SH IconPalette {system|magicwb|schwartz|\f1\*(lq\f3filename"}
    4.39 ++.SH IconPalette {system | magicwb | schwartz | \(lqfilename\(rq}
    4.40 + 
    4.41 + Selects either the Workbench\*R default palette, or the MagicWorkbench
    4.42 + standard palette for use with icons.  The third option is a 16 color
    4.43 + palette used on the "Eric Schwartz Productions CD Archive".  Alternatively,
    4.44 + the filename of a PPM file representing the palette to use can be used.
    4.45 + 
    4.46 +-.SH ScreenFont \f1\*(lq\f3fontname"
    4.47 ++.SH ScreenFont \(lqfontname\(rq
    4.48 + 
    4.49 + Selects a font to use for windowtitles etc.
    4.50 + 
    4.51 +-.SH IconFont \f1\*(lq\f3fontname"
    4.52 ++.SH IconFont \(lqfontname\(rq
    4.53 + 
    4.54 + Selects a font for icontitles.
    4.55 + 
    4.56 +-.SH {detailpen|blockpen|textpen|shinepen|shadowpen|fillpen|filltextpen|
    4.57 +-        backgroundpen|highlighttextpen|bardetailpen|barblockpen|
    4.58 +-        bartrimpen} \f1\*(lq\f3colorname"
    4.59 ++.SH {detailpen | blockpen | textpen | shinepen | shadowpen | fillpen | filltextpen | backgroundpen | highlighttextpen | bardetailpen | barblockpen | bartrimpen} \(lqcolorname\(rq
    4.60 + 
    4.61 + Modifies the colour scheme for the window manager.
    4.62 + 
    4.63 +-.SH CustomIconsOnly {yes|no}
    4.64 ++.SH CustomIconsOnly {yes | no}
    4.65 + 
    4.66 + This prevent applications to display their own icons when in iconified state.
    4.67 + Only icons defined in amiwmrc for each apps will be used.
    4.68 + Because apps own icon are too different from one eachother.
    4.69 + They comes in various sizes and themes. Some icons will be 32x32,
    4.70 +-while some other will be a 128x128 or even bigger .. By using this option,
    4.71 ++while some other will be a 128x128 or even bigger. By using this option,
    4.72 + You have the possibility to decide which icon should be used for each app.  
    4.73 + If no custom icons are defined at all, the def_tool.info will be used for 
    4.74 +-all iconified apps. Format is: style { class "myClass" icon "myIcon.info" }
    4.75 ++all iconified apps. Format is:
    4.76 ++.nf
    4.77 ++style { class "myClass" icon "myIcon.info" }
    4.78 ++.fi
    4.79 + To find out a given program's class, use "xlsclients -l" to list all opened
    4.80 + applications, and then use "xprop -id <0x0000000>" to list a 
    4.81 + given app's properties. Use either WM_CLASS or WM_ICON_NAME strings in amiwmrc.
    4.82 + 
    4.83 +-.SH ShortLabelIcons {yes|no}
    4.84 ++.SH ShortLabelIcons {yes | no}
    4.85 + 
    4.86 + This limit the length of the text for iconified programs. For example, if this 
    4.87 + option is activated, an iconified program text will be limited to 8 chars + ".."
    4.88 + Use this option if you don't want iconified program text to be loong strings..
    4.89 + 
    4.90 +-.SH TitleBarClock {yes|no}
    4.91 ++.SH TitleBarClock {yes | no}
    4.92 + 
    4.93 + Enables a clock in the titlebar.  It displays the date and time.
    4.94 + 
    4.95 +-.SH TitleClockFormat [<number>] "time string"
    4.96 ++.SH TitleClockFormat [<number>] \(lqtime string\(rq
    4.97 + 
    4.98 + This lets you choose a new format to display the Title Bar Clock.
    4.99 + The time string is formatted with the standard strftime() parameters.
   4.100 + The default is "%c".  It has been found that "%a %b %e %Y   %l:%M %p" works
   4.101 + well too.  Number is the update interval in seconds.  
   4.102 + 
   4.103 +-.SH ToolItem \f1\*(lq\f3name" \f1\*(lq\f3command" \f1\*(lq\f3hotkey"
   4.104 ++.SH ToolItem \(lqname\(rq \(lqcommand\(rq \(lqhotkey\(rq
   4.105 + 
   4.106 + Adds an item in the Tools menu with the specified name, which executes
   4.107 + the command when selected.  A string containing a single uppercase letter
   4.108 +@@ -104,26 +102,26 @@
   4.109 + 
   4.110 + Inserts a separator bar in the Tools menu.
   4.111 + 
   4.112 +-.SH ToolItem \f1\*(lq\f3name" { <tool item commands>}
   4.113 ++.SH ToolItem \(lqname\(rq { <tool item commands>}
   4.114 + 
   4.115 + Create ToolItem:s in a submenu with the specified name.  It is not legal
   4.116 + to create a submenu inside another submenu.
   4.117 + 
   4.118 +-.SH Screen [<number>] \f1\*(lq\f3name"
   4.119 ++.SH Screen [<number>] \(lqname\(rq
   4.120 + 
   4.121 + Create a new screen with the specified name.  It will be placed below all
   4.122 + earlier created screens.  To move a window between two screens, iconify it
   4.123 + and drag the icon over to the other screen.  If the second argument is given,
   4.124 + this screen is placed on the corresponding X screen.
   4.125 + 
   4.126 +-.SH ModulePath \f1\*(lq\f3path(:path...)"
   4.127 +- 
   4.128 ++.SH ModulePath \(lqpath(:path...)\(rq
   4.129 ++
   4.130 + Sets one or more directories where amiwm will look for module binaries.
   4.131 + The default is AMIWM_HOME.  Note that the module binaries cannot be
   4.132 + shared amongst different architectures.
   4.133 +- 
   4.134 +-.SH Module \f1\*(lq\f3name" ["initstring"]
   4.135 +- 
   4.136 ++
   4.137 ++.SH Module \(lqname\(rq ["initstring"]
   4.138 ++
   4.139 + Start a module with the specified name.  If initstring is specified, it
   4.140 + is sent to the module.  There are currently two modules shipped with
   4.141 + amiwm; Background and Keyboard.  These are documented in the file
   4.142 +@@ -131,16 +129,16 @@
   4.143 + Background module, the screen that was created last is used.
   4.144 + 
   4.145 + .SH InterScreenGap number
   4.146 +- 
   4.147 ++
   4.148 + Sets the size in number of pixels of the "video DMA off" area that appears
   4.149 + between screens when they are dragged.
   4.150 +- 
   4.151 +-.SH AutoRaise {yes|no}
   4.152 +- 
   4.153 ++
   4.154 ++.SH AutoRaise {yes | no}
   4.155 ++
   4.156 + Selects whether windows will automatically be moved to the front when
   4.157 + they are activated.
   4.158 + 
   4.159 +-.SH Focus {followmouse|sloppy|clicktotype}
   4.160 ++.SH Focus {followmouse | sloppy | clicktotype}
   4.161 + 
   4.162 + Sets the policy by which windows are given focus.  Followmouse is the
   4.163 + default and means that the window that contains the mouse pointer will
   4.164 +@@ -158,7 +156,7 @@
   4.165 + sure that either 'make install' runs successfully (in which case
   4.166 + amiwm will know where its icon is), or that the file .amiwmrc
   4.167 + contains a correct specification of the icon's location.
   4.168 +- 
   4.169 ++
   4.170 + .SH FILES
   4.171 + .nf
   4.172 + $HOME/.amiwmrc
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/amiwm/stuff/patches/series	Fri Jun 22 20:40:27 2018 +0300
     5.3 @@ -0,0 +1,1 @@
     5.4 +amiwm-man.patch
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/amiwm/stuff/ppmtoinfo.1	Fri Jun 22 20:40:27 2018 +0300
     6.3 @@ -0,0 +1,63 @@
     6.4 +.TH ppmtoinfo 1 "March  3, 2000"
     6.5 +.SH NAME
     6.6 +ppmtoinfo \- convert a portable pixmap into an Amiga .info file
     6.7 +.SH SYNOPSIS
     6.8 +.B ppmtoinfo
     6.9 +[\-type icontype] [\-floyd|\-fs] [\-map mapfile] [ppmfile] [ppmfile]
    6.10 +.SH DESCRIPTION
    6.11 +This manpage documents briefly the
    6.12 +.B ppmtoinfo
    6.13 +command.
    6.14 +This manual page was written for the Debian GNU/Linux distribution
    6.15 +because the original program does not have a manual page.
    6.16 +.PP
    6.17 +.B ppmtoinfo
    6.18 +is a program that converts portable pixmap (.ppm) files into the
    6.19 +Amiga info format which is used to store icons as.
    6.20 +.SH OPTIONS
    6.21 +.TP
    6.22 +.BI \-type " icontype"
    6.23 +set the type of the icon.
    6.24 +.TP
    6.25 +.B \-floyd, \-fs
    6.26 +Enable Floyd\-Steinberg
    6.27 +.TP
    6.28 +.BI \-map " mapfile"
    6.29 +Use the map file mapfile
    6.30 +.br
    6.31 +.SH ICON TYPES
    6.32 +The
    6.33 +.B \-type
    6.34 +option lets you set the type of the icon you creat.  The parameter
    6.35 +can be any of
    6.36 +.TP
    6.37 +.B appicon
    6.38 +A normal application
    6.39 +.TP
    6.40 +.B device
    6.41 +A device
    6.42 +.TP
    6.43 +.B disk
    6.44 +A disk
    6.45 +.TP
    6.46 +.B drawer
    6.47 +A drawer (directory)
    6.48 +.TP
    6.49 +.B garbage
    6.50 +A garbage can
    6.51 +.TP
    6.52 +.B kick
    6.53 +A kickstart?
    6.54 +.TP
    6.55 +.B project
    6.56 +A project?
    6.57 +.TP
    6.58 +.B tool 
    6.59 +A toolbox?
    6.60 +
    6.61 +.SH SEE ALSO
    6.62 +.BR amiwm (1)
    6.63 +.br
    6.64 +.SH AUTHOR
    6.65 +This manual page was written by Jorgen Schaefer <forcer@mindless.com>
    6.66 +for the Debian GNU/Linux system (but may be used by others).
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/amiwm/stuff/requestchoice.1	Fri Jun 22 20:40:27 2018 +0300
     7.3 @@ -0,0 +1,35 @@
     7.4 +.TH requestchoice 1 "March  3, 2000"
     7.5 +.SH NAME
     7.6 +requestchoice \- request a user choice
     7.7 +.SH SYNOPSIS
     7.8 +.B requestchoice
     7.9 +.IR title " " text " [ " b1 " ] [ " b2 " ] [ " ... " ] [ " b0 " ]"
    7.10 +.SH DESCRIPTION
    7.11 +This manual page documents briefly the
    7.12 +.B requestchoice
    7.13 +command.
    7.14 +This manual page was written for the Debian GNU/Linux distribution
    7.15 +because the original program does not have a manual page.
    7.16 +.PP
    7.17 +.B requestchoice
    7.18 +is a program that pops up a window with a title, a textarea, and one
    7.19 +or more buttons from which the user can chose one.
    7.20 +.SH OPTIONS
    7.21 +.TP
    7.22 +.B title
    7.23 +The title of the request window.
    7.24 +.TP
    7.25 +.B text
    7.26 +The text in the body of the request window.
    7.27 +.TP
    7.28 +.B b1, b2, ...
    7.29 +The text on the button.  They're numbered from left to right, with the
    7.30 +rightmost button being "button 0" and the leftmost being "button 1".
    7.31 +When clicked, requestchoice will print the button number to
    7.32 +.I stdout
    7.33 +
    7.34 +.SH SEE ALSO
    7.35 +.BR amiwm (1).
    7.36 +.SH AUTHOR
    7.37 +This manual page was written by Jorgen Schaefer <forcer@mindless.com>
    7.38 +for the Debian GNU/Linux system (but may be used by others).
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/tcl2c/receipt	Fri Jun 22 20:40:27 2018 +0300
     8.3 @@ -0,0 +1,27 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="tcl2c"
     8.7 +VERSION="2016.4"
     8.8 +CATEGORY="development"
     8.9 +SHORT_DESC="Create a C file from Tcl file for C compiler"
    8.10 +MAINTAINER="al.bobylev@gmail.com"
    8.11 +LICENSE="GPL2"
    8.12 +WEB_SITE="http://tcl2c.sourceforge.net/"
    8.13 +
    8.14 +TARBALL="$PACKAGE.$VERSION.zip"
    8.15 +WGET_URL="$SF_MIRROR/tcl2c/$TARBALL"
    8.16 +
    8.17 +BUILD_DEPENDS="tcl-dev"
    8.18 +
    8.19 +compile_rules() {
    8.20 +	cd generic
    8.21 +	sed -i 's|libtcl8\.5\.so|-ltcl8.6|' makefile
    8.22 +
    8.23 +	make linux &&
    8.24 +	install -Dm755 tcl2c $install/usr/bin/tcl2c
    8.25 +}
    8.26 +
    8.27 +genpkg_rules() {
    8.28 +	copy @std
    8.29 +	DEPENDS="tcl"
    8.30 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/tklauncher/description.txt	Fri Jun 22 20:40:27 2018 +0300
     9.3 @@ -0,0 +1,2 @@
     9.4 +TkLauncher is a small desktop launcher similar to AmiDock. Developed in Tcl/Tk
     9.5 +and C it is mainly intended to be used with amiwm.
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/tklauncher/receipt	Fri Jun 22 20:40:27 2018 +0300
    10.3 @@ -0,0 +1,34 @@
    10.4 +# SliTaz package receipt.
    10.5 +
    10.6 +PACKAGE="tklauncher"
    10.7 +VERSION="0.31"
    10.8 +CATEGORY="x-window"
    10.9 +SHORT_DESC="TkLauncher desktop launcher"
   10.10 +MAINTAINER="pasquale_frega@tiscali.it"
   10.11 +LICENSE="BSD"
   10.12 +WEB_SITE="http://web.tiscali.it/pas80/tklauncher.htm"
   10.13 +
   10.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   10.15 +WGET_URL="http://web.tiscali.it/pas80/$TARBALL"
   10.16 +
   10.17 +BUILD_DEPENDS="tcl tk libtkimg tcl-dev tk-dev libtkimg-dev"
   10.18 +BUILD_DEPENDS="tcl-dev tk-dev libtkimg-dev tcl2c"
   10.19 +
   10.20 +compile_rules() {
   10.21 +	sed -i 's|/usr/local|/usr|; s|8\.5|8.6|g' Makefile
   10.22 +
   10.23 +	tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk &&
   10.24 +	make &&
   10.25 +	make INSTALLDIR=$install/usr install || return 1
   10.26 +
   10.27 +	chmod 755 $install/usr/lib/amiwm/TkLauncher # was 751
   10.28 +	cook_pick_docs README LICENSE
   10.29 +}
   10.30 +
   10.31 +genpkg_rules() {
   10.32 +	copy @std
   10.33 +	DEPENDS="tcl tk   libtkimg"
   10.34 +	SUGGESTED="amiwm"
   10.35 +	CONFIG_FILES="/usr/share/tklauncher/tklauncherrc"
   10.36 +	TAGS="amiwm AmiDock Amiga"
   10.37 +}