aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/irix/Makefile.in18
-rw-r--r--package/irix/jwm.idb.in3
-rw-r--r--package/irix/jwm.spec.in23
-rw-r--r--package/slackware/Makefile.in27
-rw-r--r--package/slackware/slack-desc.in20
-rw-r--r--package/slackware/slackware.jwmrc111
-rw-r--r--package/solaris/Makefile.in28
-rw-r--r--package/solaris/pkginfo.in9
-rw-r--r--package/solaris/prototype.in4
-rw-r--r--package/solaris/solaris.jwmrc111
10 files changed, 354 insertions, 0 deletions
diff --git a/package/irix/Makefile.in b/package/irix/Makefile.in
new file mode 100644
index 0000000..4750fa7
--- /dev/null
+++ b/package/irix/Makefile.in
@@ -0,0 +1,18 @@
+
+VERSION = @VERSION@
+
+PACKAGE_FILE = "jwm-$(VERSION).tardist"
+
+all:
+ mkdir -p dist
+ cp jwm.idb jwm.spec dist
+ gendist -rbase / -sbase . -idb jwm.idb -spec jwm.spec -dist dist -all
+ tar -cf $(PACKAGE_FILE) dist/*
+
+clean:
+ rm -fr dist
+ rm -f $(PACKAGE_FILE)
+
+distclean:
+ rm Makefile jwm.spec jwm.idb
+
diff --git a/package/irix/jwm.idb.in b/package/irix/jwm.idb.in
new file mode 100644
index 0000000..05f960b
--- /dev/null
+++ b/package/irix/jwm.idb.in
@@ -0,0 +1,3 @@
+f 0755 root sys .@BINDIR@/jwm ../../src/jwm jwm.sw.base
+f 0644 root sys .@SYSCONF@/system.jwmrc ../../example.jwmrc jwm.sw.base
+f 0644 root sys .@MANDIR@/man1/jwm.1 ../../jwm.1 jwm.man.manpages
diff --git a/package/irix/jwm.spec.in b/package/irix/jwm.spec.in
new file mode 100644
index 0000000..3b7934c
--- /dev/null
+++ b/package/irix/jwm.spec.in
@@ -0,0 +1,23 @@
+product jwm
+ id "JWM v@VERSION@ - Joe's Window Manager"
+ image sw
+ id "Software"
+ version @INSTVERSION@
+ order 9999
+ subsys base default
+ id "Base Software"
+ replaces self
+ exp jwm.sw.base
+ endsubsys
+ endimage
+ image man
+ id "Man Pages"
+ version @INSTVERSION@
+ order 9999
+ subsys manpages default
+ id "Man Pages"
+ replaces self
+ exp jwm.man.manpages
+ endsubsys
+ endimage
+endproduct
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>
+
diff --git a/package/solaris/Makefile.in b/package/solaris/Makefile.in
new file mode 100644
index 0000000..07b3202
--- /dev/null
+++ b/package/solaris/Makefile.in
@@ -0,0 +1,28 @@
+
+ARCH = @ARCH@
+BINDIR = @BINDIR@
+MANDIR = @MANDIR@
+SYSCONF = @SYSCONF@
+VERSION = @VERSION@
+
+PACKAGE_NAME = "jwm-$(VERSION)-solaris-$(ARCH).pkg.tgz"
+
+all:
+ 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 solaris.jwmrc "pkg/$(SYSCONF)/system.jwmrc"
+ cp prototype pkg
+ cp pkginfo pkg
+ pkgmk -o -r `pwd`/pkg -d `pwd` -f prototype
+ tar -cf - JWM | gzip > $(PACKAGE_NAME)
+
+clean:
+ rm -rf pkg JWM
+
+distclean:
+ rm -f pkginfo prototype Makefile
+ rm -f $(PACKAGE_NAME)
+
diff --git a/package/solaris/pkginfo.in b/package/solaris/pkginfo.in
new file mode 100644
index 0000000..00c974d
--- /dev/null
+++ b/package/solaris/pkginfo.in
@@ -0,0 +1,9 @@
+
+PKG="JWM"
+NAME="JWM v@VERSION@"
+VERSION="@INSTVERSION@"
+BASEDIR="/"
+ARCH="@ARCH@"
+CATEGORY="utility"
+EMAIL="joewing@joewing.net"
+
diff --git a/package/solaris/prototype.in b/package/solaris/prototype.in
new file mode 100644
index 0000000..0a42064
--- /dev/null
+++ b/package/solaris/prototype.in
@@ -0,0 +1,4 @@
+i pkginfo
+f none .@BINDIR@/jwm 0755 root root
+f none .@SYSCONF@/system.jwmrc 0644 root root
+f none .@MANDIR@/man1/jwm.1 0644 root root
diff --git a/package/solaris/solaris.jwmrc b/package/solaris/solaris.jwmrc
new file mode 100644
index 0000000..260c8ca
--- /dev/null
+++ b/package/solaris/solaris.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>
+