aboutsummaryrefslogtreecommitdiff
path: root/package/slackware
diff options
context:
space:
mode:
authorJohn Ankarstr\xf6m <john@ankarstrom.se>2021-05-29 12:54:47 +0200
committerJohn Ankarstr\xf6m <john@ankarstrom.se>2021-05-29 13:18:40 +0200
commita041d9898e6d699bd8c0c25482ec574feb03c547 (patch)
tree7f094e33fb530152c3ab6238ce7300750b47addb /package/slackware
downloadjwm-a041d9898e6d699bd8c0c25482ec574feb03c547.tar.gz
First commit
This is the original state of the released tarball for JWM 1.8, which will serve as my starting point for further modifications.
Diffstat (limited to 'package/slackware')
-rw-r--r--package/slackware/Makefile.in27
-rw-r--r--package/slackware/slack-desc.in20
-rw-r--r--package/slackware/slackware.jwmrc111
3 files changed, 158 insertions, 0 deletions
diff --git a/package/slackware/Makefile.in b/package/slackware/Makefile.in
new file mode 100644
index 0000000..f4c698c
--- /dev/null
+++ b/package/slackware/Makefile.in
@@ -0,0 +1,27 @@
+
+BINDIR = @BINDIR@
+MANDIR = @MANDIR@
+SYSCONF = @SYSCONF@
+VERSION = @VERSION@
+ARCH = @ARCH@
+
+PACKAGE_FILE = "jwm-$(VERSION)-slackware-$(ARCH).tgz"
+
+all:
+ mkdir -p "pkg/install"
+ mkdir -p "pkg/$(BINDIR)"
+ mkdir -p "pkg/$(MANDIR)/man1"
+ mkdir -p "pkg/$(SYSCONF)"
+ cp ../../src/jwm "pkg/$(BINDIR)"
+ cp ../../jwm.1 "pkg/$(MANDIR)/man1"
+ cp slackware.jwmrc "pkg/$(SYSCONF)/system.jwmrc"
+ cp slack-desc pkg/install
+ cd pkg ; tar -cf - * | gzip > ../$(PACKAGE_FILE) ; cd ..
+
+clean:
+ rm -f $(PACKAGE_FILE)
+ rm -rf pkg
+
+distclean:
+ rm -f slack-desc Makefile
+
diff --git a/package/slackware/slack-desc.in b/package/slackware/slack-desc.in
new file mode 100644
index 0000000..62a9828
--- /dev/null
+++ b/package/slackware/slack-desc.in
@@ -0,0 +1,20 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+jwm: JWM v@VERSION@ by Joe Wingbermuehle
+jwm:
+jwm: JWM is a window manager for the X11 Window System. JWM is written
+jwm: in C and uses only Xlib and (optionally) the shape extension. It
+jwm: can support some MWM, GNOME, and WM Spec hints.
+jwm:
+jwm:
+jwm:
+jwm:
+jwm:
+jwm:
+
diff --git a/package/slackware/slackware.jwmrc b/package/slackware/slackware.jwmrc
new file mode 100644
index 0000000..260c8ca
--- /dev/null
+++ b/package/slackware/slackware.jwmrc
@@ -0,0 +1,111 @@
+<?xml version="1.0"?>
+
+<JWM>
+
+ <!-- The root menu, if this is undefined you will not get a menu. -->
+ <RootMenu>
+ <Program label="Terminal">xterm</Program>
+ <Menu label="Applications">
+ <Program label="Mozilla">mozilla</Program>
+ <Program label="File Manager">$HOME/bin/fm</Program>
+ <Program label="Gaim">gaim</Program>
+ <Program label="Gimp">gimp</Program>
+ <Program label="XMMS">xmms</Program>
+ </Menu>
+ <Menu label="Utilities">
+ <Program>xfontsel</Program>
+ <Program>xmag</Program>
+ </Menu>
+ <Menu label="Games">
+ <Program label="Doom">/usr/games/doom/doom</Program>
+ <Program label="Doom II">/usr/games/doom2/doom2</Program>
+ <Program label="Hacknoid">/usr/games/hacknoid/run</Program>
+ <Program label="Mines">/usr/games/mines/run</Program>
+ <Program label="Quake II">/usr/games/quake2/quake2</Program>
+ </Menu>
+ <Separator/>
+ <Restart/>
+ <Exit/>
+ </RootMenu>
+
+ <Border>
+ <Font antialias="true">-sgi-rock-*-*-*-*-18-*-*-*-*-*-*-*</Font>
+ <Width>5</Width>
+ <Height>20</Height>
+ <Foreground>black</Foreground>
+ <Background>#DCDAD5</Background>
+ <ActiveForeground>white</ActiveForeground>
+ <ActiveBackground>#3A4956</ActiveBackground>
+ </Border>
+
+ <Tray autohide="false">
+ <Font antialias="true">-sgi-rock-*-*-*-*-18-*-*-*-*-*-*-*</Font>
+ <Height>28</Height>
+ <Foreground>black</Foreground>
+ <Background>#DCDAD5</Background>
+ <ActiveForeground>black</ActiveForeground>
+ <ActiveBackground>#8899AA</ActiveBackground>
+ </Tray>
+
+ <Pager>
+ <Outline>black</Outline>
+ <Foreground>#DCDAD5</Foreground>
+ <Background>#888888</Background>
+ <ActiveForeground>#8899AA</ActiveForeground>
+ <ActiveBackground>#3A4956</ActiveBackground>
+ </Pager>
+
+ <Load>
+ <Program>xload</Program>
+ <Outline>black</Outline>
+ <Foreground>red</Foreground>
+ <Background>#DCDAD5</Background>
+ </Load>
+
+ <Clock>
+ <Program>xclock</Program>
+ </Clock>
+
+ <Popup enabled="true">
+ <Font antialias="true">-sgi-screen-*-r-*-*-15-*-*-*-*-*-*-*</Font>
+ <Outline>black</Outline>
+ <Foreground>black</Foreground>
+ <Background>yellow</Background>
+ </Popup>
+
+ <Menu>
+ <Font antialias="true">-sgi-screen-*-r-*-*-15-*-*-*-*-*-*-*</Font>
+ <Foreground>black</Foreground>
+ <Background>#DCDAD5</Background>
+ <ActiveForeground>white</ActiveForeground>
+ <ActiveBackground>#3A4956</ActiveBackground>
+ </Menu>
+
+ <!-- Number of virtual desktops -->
+ <DesktopCount>4</DesktopCount>
+
+ <!-- Double click speed (in milliseconds) -->
+ <DoubleClickSpeed>400</DoubleClickSpeed>
+
+ <!-- Double click delta (in pixels) -->
+ <DoubleClickDelta>2</DoubleClickDelta>
+
+ <!-- The focus model (sloppy or click) -->
+ <FocusModel>sloppy</FocusModel>
+
+ <!-- Key bindings -->
+ <Key key="Up">up</Key>
+ <Key key="Down">down</Key>
+ <Key key="Right">right</Key>
+ <Key key="Left">left</Key>
+ <Key key="Return">select</Key>
+ <Key key="Escape">escape</Key>
+
+ <Key mask="A" key="Tab">next</Key>
+ <Key mask="A" key="F4">close</Key>
+ <Key mask="A" key="#">desktop#</Key>
+ <Key mask="A" key="F1">root</Key>
+ <Key mask="A" key="F2">window</Key>
+
+</JWM>
+