# HG changeset patch # User Aleksej Bobylev # Date 1529689227 -10800 # Node ID fd4410383bce2be14ef45d1b6e03b3a302c6d26b # Parent 8e7b854500ca4bd046c94f9149cb06cd5f8707d5 Add amiwm, tklauncher (thanks Pasquale Frega), tcl2c. diff -r 8e7b854500ca -r fd4410383bce amiwm/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/amiwm/description.txt Fri Jun 22 20:40:27 2018 +0300 @@ -0,0 +1,9 @@ +amiwm is an X window manager that tries to make your display look and +feel like an Amiga Workbench screen. It is fully functional and can +do all the usual window manager stuff, like moving and resizing +windows. + +The purpose of amiwm is to make life more pleasant for Amiga-freaks +like myself who has/wants to use UNIX workstations once in a while. +It can also be used on the Amiga with the AmiWin X server, although +this part needs some more work. diff -r 8e7b854500ca -r fd4410383bce amiwm/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/amiwm/receipt Fri Jun 22 20:40:27 2018 +0300 @@ -0,0 +1,33 @@ +# SliTaz package receipt v2. + +PACKAGE="amiwm" +VERSION="0.21pl2" +CATEGORY="x-window" +SHORT_DESC="Amiga look alike window manager" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="other" +WEB_SITE="http://www.lysator.liu.se/~marcus/amiwm.html" + +TARBALL="$PACKAGE$VERSION.tar.gz" +WGET_URL="ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/$TARBALL" + +BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libICE-dev xorg-libXt-dev \ +xorg-libXmu-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && + make gram.h && + make && + make prefix=$install/usr mandir='${prefix}/share/man' install || return 1 + + ln -sf ../lib/amiwm/requestchoice $install/usr/bin/requestchoice + install -Dm644 $stuff/amiwm.xdesktop $install/usr/share/xsessions/amiwm.desktop + + cook_pick_manpages $stuff/*.1 # from Debian + cook_pick_docs README* LICENSE +} + +genpkg_rules() { + copy @std + DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu" +} diff -r 8e7b854500ca -r fd4410383bce amiwm/stuff/amiwm.xdesktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/amiwm/stuff/amiwm.xdesktop Fri Jun 22 20:40:27 2018 +0300 @@ -0,0 +1,9 @@ +[Window Manager] +SessionManaged=true + +[Desktop Entry] +Name=amiwm +Terminal=False +Exec=amiwm +Type=Application +Comment=The Amiga look alike window manager diff -r 8e7b854500ca -r fd4410383bce amiwm/stuff/patches/amiwm-man.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/amiwm/stuff/patches/amiwm-man.patch Fri Jun 22 20:40:27 2018 +0300 @@ -0,0 +1,169 @@ +--- a/amiwm.1 ++++ b/amiwm.1 +@@ -1,6 +1,3 @@ +-.\" @(#)amiwm.1 +-'\"macro stdmacro +-.nr X + .TH amiwm 1 "19 Jul 2010" + .SH NAME + amiwm \- Amiga Workbench-like X Window Manager +@@ -16,17 +13,17 @@ + .I Amiwm + is configurable with a $HOME/\.amiwmrc-file containing some or all + of the following options: +-.SH FastQuit: {yes|no} ++.SH FastQuit: {yes | no} + + Specifies whether amiwm should quit directly when the Quit + menu item is selected, rather than popping up a requester. + (on/off or true/false can be used instead of yes/no.) + +-.SH SizeBorder {right|bottom|both|none} ++.SH SizeBorder {right | bottom | both | none} + + Specifies which border should be enlarged when a sizegadget is present. + +-.SH ForceMove {manual|auto|always} ++.SH ForceMove {manual | auto | always} + + Enables you to move windows outside the perimeter of the root window + when pressing shift, when trying to drag at least 25% of the window +@@ -41,59 +38,60 @@ + Gives the filename of the .info file to use as a default icon. + It is relative to the IconDir. + +-.SH IconPalette {system|magicwb|schwartz|\f1\*(lq\f3filename"} ++.SH IconPalette {system | magicwb | schwartz | \(lqfilename\(rq} + + Selects either the Workbench\*R default palette, or the MagicWorkbench + standard palette for use with icons. The third option is a 16 color + palette used on the "Eric Schwartz Productions CD Archive". Alternatively, + the filename of a PPM file representing the palette to use can be used. + +-.SH ScreenFont \f1\*(lq\f3fontname" ++.SH ScreenFont \(lqfontname\(rq + + Selects a font to use for windowtitles etc. + +-.SH IconFont \f1\*(lq\f3fontname" ++.SH IconFont \(lqfontname\(rq + + Selects a font for icontitles. + +-.SH {detailpen|blockpen|textpen|shinepen|shadowpen|fillpen|filltextpen| +- backgroundpen|highlighttextpen|bardetailpen|barblockpen| +- bartrimpen} \f1\*(lq\f3colorname" ++.SH {detailpen | blockpen | textpen | shinepen | shadowpen | fillpen | filltextpen | backgroundpen | highlighttextpen | bardetailpen | barblockpen | bartrimpen} \(lqcolorname\(rq + + Modifies the colour scheme for the window manager. + +-.SH CustomIconsOnly {yes|no} ++.SH CustomIconsOnly {yes | no} + + This prevent applications to display their own icons when in iconified state. + Only icons defined in amiwmrc for each apps will be used. + Because apps own icon are too different from one eachother. + They comes in various sizes and themes. Some icons will be 32x32, +-while some other will be a 128x128 or even bigger .. By using this option, ++while some other will be a 128x128 or even bigger. By using this option, + You have the possibility to decide which icon should be used for each app. + If no custom icons are defined at all, the def_tool.info will be used for +-all iconified apps. Format is: style { class "myClass" icon "myIcon.info" } ++all iconified apps. Format is: ++.nf ++style { class "myClass" icon "myIcon.info" } ++.fi + To find out a given program's class, use "xlsclients -l" to list all opened + applications, and then use "xprop -id <0x0000000>" to list a + given app's properties. Use either WM_CLASS or WM_ICON_NAME strings in amiwmrc. + +-.SH ShortLabelIcons {yes|no} ++.SH ShortLabelIcons {yes | no} + + This limit the length of the text for iconified programs. For example, if this + option is activated, an iconified program text will be limited to 8 chars + ".." + Use this option if you don't want iconified program text to be loong strings.. + +-.SH TitleBarClock {yes|no} ++.SH TitleBarClock {yes | no} + + Enables a clock in the titlebar. It displays the date and time. + +-.SH TitleClockFormat [] "time string" ++.SH TitleClockFormat [] \(lqtime string\(rq + + This lets you choose a new format to display the Title Bar Clock. + The time string is formatted with the standard strftime() parameters. + The default is "%c". It has been found that "%a %b %e %Y %l:%M %p" works + well too. Number is the update interval in seconds. + +-.SH ToolItem \f1\*(lq\f3name" \f1\*(lq\f3command" \f1\*(lq\f3hotkey" ++.SH ToolItem \(lqname\(rq \(lqcommand\(rq \(lqhotkey\(rq + + Adds an item in the Tools menu with the specified name, which executes + the command when selected. A string containing a single uppercase letter +@@ -104,26 +102,26 @@ + + Inserts a separator bar in the Tools menu. + +-.SH ToolItem \f1\*(lq\f3name" { } ++.SH ToolItem \(lqname\(rq { } + + Create ToolItem:s in a submenu with the specified name. It is not legal + to create a submenu inside another submenu. + +-.SH Screen [] \f1\*(lq\f3name" ++.SH Screen [] \(lqname\(rq + + Create a new screen with the specified name. It will be placed below all + earlier created screens. To move a window between two screens, iconify it + and drag the icon over to the other screen. If the second argument is given, + this screen is placed on the corresponding X screen. + +-.SH ModulePath \f1\*(lq\f3path(:path...)" +- ++.SH ModulePath \(lqpath(:path...)\(rq ++ + Sets one or more directories where amiwm will look for module binaries. + The default is AMIWM_HOME. Note that the module binaries cannot be + shared amongst different architectures. +- +-.SH Module \f1\*(lq\f3name" ["initstring"] +- ++ ++.SH Module \(lqname\(rq ["initstring"] ++ + Start a module with the specified name. If initstring is specified, it + is sent to the module. There are currently two modules shipped with + amiwm; Background and Keyboard. These are documented in the file +@@ -131,16 +129,16 @@ + Background module, the screen that was created last is used. + + .SH InterScreenGap number +- ++ + Sets the size in number of pixels of the "video DMA off" area that appears + between screens when they are dragged. +- +-.SH AutoRaise {yes|no} +- ++ ++.SH AutoRaise {yes | no} ++ + Selects whether windows will automatically be moved to the front when + they are activated. + +-.SH Focus {followmouse|sloppy|clicktotype} ++.SH Focus {followmouse | sloppy | clicktotype} + + Sets the policy by which windows are given focus. Followmouse is the + default and means that the window that contains the mouse pointer will +@@ -158,7 +156,7 @@ + sure that either 'make install' runs successfully (in which case + amiwm will know where its icon is), or that the file .amiwmrc + contains a correct specification of the icon's location. +- ++ + .SH FILES + .nf + $HOME/.amiwmrc diff -r 8e7b854500ca -r fd4410383bce amiwm/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/amiwm/stuff/patches/series Fri Jun 22 20:40:27 2018 +0300 @@ -0,0 +1,1 @@ +amiwm-man.patch diff -r 8e7b854500ca -r fd4410383bce amiwm/stuff/ppmtoinfo.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/amiwm/stuff/ppmtoinfo.1 Fri Jun 22 20:40:27 2018 +0300 @@ -0,0 +1,63 @@ +.TH ppmtoinfo 1 "March 3, 2000" +.SH NAME +ppmtoinfo \- convert a portable pixmap into an Amiga .info file +.SH SYNOPSIS +.B ppmtoinfo +[\-type icontype] [\-floyd|\-fs] [\-map mapfile] [ppmfile] [ppmfile] +.SH DESCRIPTION +This manpage documents briefly the +.B ppmtoinfo +command. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +.PP +.B ppmtoinfo +is a program that converts portable pixmap (.ppm) files into the +Amiga info format which is used to store icons as. +.SH OPTIONS +.TP +.BI \-type " icontype" +set the type of the icon. +.TP +.B \-floyd, \-fs +Enable Floyd\-Steinberg +.TP +.BI \-map " mapfile" +Use the map file mapfile +.br +.SH ICON TYPES +The +.B \-type +option lets you set the type of the icon you creat. The parameter +can be any of +.TP +.B appicon +A normal application +.TP +.B device +A device +.TP +.B disk +A disk +.TP +.B drawer +A drawer (directory) +.TP +.B garbage +A garbage can +.TP +.B kick +A kickstart? +.TP +.B project +A project? +.TP +.B tool +A toolbox? + +.SH SEE ALSO +.BR amiwm (1) +.br +.SH AUTHOR +This manual page was written by Jorgen Schaefer +for the Debian GNU/Linux system (but may be used by others). diff -r 8e7b854500ca -r fd4410383bce amiwm/stuff/requestchoice.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/amiwm/stuff/requestchoice.1 Fri Jun 22 20:40:27 2018 +0300 @@ -0,0 +1,35 @@ +.TH requestchoice 1 "March 3, 2000" +.SH NAME +requestchoice \- request a user choice +.SH SYNOPSIS +.B requestchoice +.IR title " " text " [ " b1 " ] [ " b2 " ] [ " ... " ] [ " b0 " ]" +.SH DESCRIPTION +This manual page documents briefly the +.B requestchoice +command. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +.PP +.B requestchoice +is a program that pops up a window with a title, a textarea, and one +or more buttons from which the user can chose one. +.SH OPTIONS +.TP +.B title +The title of the request window. +.TP +.B text +The text in the body of the request window. +.TP +.B b1, b2, ... +The text on the button. They're numbered from left to right, with the +rightmost button being "button 0" and the leftmost being "button 1". +When clicked, requestchoice will print the button number to +.I stdout + +.SH SEE ALSO +.BR amiwm (1). +.SH AUTHOR +This manual page was written by Jorgen Schaefer +for the Debian GNU/Linux system (but may be used by others). diff -r 8e7b854500ca -r fd4410383bce tcl2c/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcl2c/receipt Fri Jun 22 20:40:27 2018 +0300 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="tcl2c" +VERSION="2016.4" +CATEGORY="development" +SHORT_DESC="Create a C file from Tcl file for C compiler" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL2" +WEB_SITE="http://tcl2c.sourceforge.net/" + +TARBALL="$PACKAGE.$VERSION.zip" +WGET_URL="$SF_MIRROR/tcl2c/$TARBALL" + +BUILD_DEPENDS="tcl-dev" + +compile_rules() { + cd generic + sed -i 's|libtcl8\.5\.so|-ltcl8.6|' makefile + + make linux && + install -Dm755 tcl2c $install/usr/bin/tcl2c +} + +genpkg_rules() { + copy @std + DEPENDS="tcl" +} diff -r 8e7b854500ca -r fd4410383bce tklauncher/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tklauncher/description.txt Fri Jun 22 20:40:27 2018 +0300 @@ -0,0 +1,2 @@ +TkLauncher is a small desktop launcher similar to AmiDock. Developed in Tcl/Tk +and C it is mainly intended to be used with amiwm. diff -r 8e7b854500ca -r fd4410383bce tklauncher/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tklauncher/receipt Fri Jun 22 20:40:27 2018 +0300 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="tklauncher" +VERSION="0.31" +CATEGORY="x-window" +SHORT_DESC="TkLauncher desktop launcher" +MAINTAINER="pasquale_frega@tiscali.it" +LICENSE="BSD" +WEB_SITE="http://web.tiscali.it/pas80/tklauncher.htm" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://web.tiscali.it/pas80/$TARBALL" + +BUILD_DEPENDS="tcl tk libtkimg tcl-dev tk-dev libtkimg-dev" +BUILD_DEPENDS="tcl-dev tk-dev libtkimg-dev tcl2c" + +compile_rules() { + sed -i 's|/usr/local|/usr|; s|8\.5|8.6|g' Makefile + + tcl2c -o tklauncher.c tklauncher.tcl -tcl -tk && + make && + make INSTALLDIR=$install/usr install || return 1 + + chmod 755 $install/usr/lib/amiwm/TkLauncher # was 751 + cook_pick_docs README LICENSE +} + +genpkg_rules() { + copy @std + DEPENDS="tcl tk libtkimg" + SUGGESTED="amiwm" + CONFIG_FILES="/usr/share/tklauncher/tklauncherrc" + TAGS="amiwm AmiDock Amiga" +}