pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/jwm Import jwm from pkgsrc-wip.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb0895c4d203
branches:  trunk
changeset: 517088:eb0895c4d203
user:      reed <reed%pkgsrc.org@localhost>
date:      Fri Aug 04 01:08:21 2006 +0000

description:
Import jwm from pkgsrc-wip.

This was packaged by pip88nl of gmail.com with some minor changes
by me.

JWM is a light-weight window manager for the X11 Window System.
It provides a menu, taskbar, key binding, system notification tray,
pager, a dock, and simple customizations.  JWM is written in C and
uses only Xlib and the shape extension, libXpm and (optionally)
libpng. It can support some MWM, GNOME, and WM Spec hints.

(This software needs some work, but I import to official pkgsrc
so it will get more usage. I have been using it for a couple
months now. With its built-in features, it is a smaller than
blackbox with add-ons.)

diffstat:

 wm/jwm/DESCR            |   5 +++++
 wm/jwm/Makefile         |  40 ++++++++++++++++++++++++++++++++++++++++
 wm/jwm/PLIST            |   5 +++++
 wm/jwm/distinfo         |   7 +++++++
 wm/jwm/options.mk       |  19 +++++++++++++++++++
 wm/jwm/patches/patch-aa |  26 ++++++++++++++++++++++++++
 wm/jwm/patches/patch-ab |  12 ++++++++++++
 7 files changed, 114 insertions(+), 0 deletions(-)

diffs (142 lines):

diff -r bdbbe47d58e0 -r eb0895c4d203 wm/jwm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/jwm/DESCR      Fri Aug 04 01:08:21 2006 +0000
@@ -0,0 +1,5 @@
+JWM is a light-weight window manager for the X11 Window System.
+It provides a menu, taskbar, key binding, system notification tray,
+pager, a dock, and simple customizations.  JWM is written in C and
+uses only Xlib and the shape extension, libXpm and (optionally)
+libpng. It can support some MWM, GNOME, and WM Spec hints.
diff -r bdbbe47d58e0 -r eb0895c4d203 wm/jwm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/jwm/Makefile   Fri Aug 04 01:08:21 2006 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $
+#
+
+DISTNAME=              jwm-1.7
+CATEGORIES=            wm x11
+MASTER_SITES=          http://www.joewing.net/programs/jwm/
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            pip88nl%gmail.com@localhost
+HOMEPAGE=              http://www.joewing.net/programs/jwm/
+COMMENT=               Lightweight window manager with virtual desktops
+
+GNU_CONFIGURE=         yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if exists(${X11BASE}/include/X11/extensions/Xinerama.h)
+CONFIGURE_ARGS+=       --enable-xinerama
+# XXX maybe set some build variable about that
+.endif
+
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
+
+SUBST_CLASSES+=                egdir
+SUBST_STAGE.egdir=     pre-configure
+SUBST_FILES.egdir=     Makefile.in
+SUBST_SED.egdir=       -e 's,@@EGDIR@@,${EGDIR},g'
+
+PKG_SYSCONFSUBDIR=     jwm
+EGDIR=                 ${PREFIX}/share/examples/jwm
+CONF_FILES=            ${EGDIR}/system.jwmrc ${PKG_SYSCONFDIR}/system.jwmrc
+
+.include "options.mk"
+
+#.include "../../fonts/Xft2/buildlink3.mk"
+#.include "../../graphics/xpm/buildlink3.mk"
+.include "../../wip/libXft/buildlink3.mk"
+.include "../../wip/libXpm/buildlink3.mk"
+.include "../../mk/x11.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bdbbe47d58e0 -r eb0895c4d203 wm/jwm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/jwm/PLIST      Fri Aug 04 01:08:21 2006 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $
+bin/jwm
+man/man1/jwm.1
+share/examples/jwm/system.jwmrc
+@dirrm share/examples/jwm
diff -r bdbbe47d58e0 -r eb0895c4d203 wm/jwm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/jwm/distinfo   Fri Aug 04 01:08:21 2006 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $
+
+SHA1 (jwm-1.7.tar.bz2) = 2ad8029277d1ba530c314ea4e5a9f930afa56a78
+RMD160 (jwm-1.7.tar.bz2) = fca374a54cff0f17eef537a228a696c79ec04fa6
+Size (jwm-1.7.tar.bz2) = 121405 bytes
+SHA1 (patch-aa) = ac33481d7e4d081960977a05f87c698865d19c63
+SHA1 (patch-ab) = 37dde771f21eb0ae63af01ecd53f2f201dd1c6fc
diff -r bdbbe47d58e0 -r eb0895c4d203 wm/jwm/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/jwm/options.mk Fri Aug 04 01:08:21 2006 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.jwm
+PKG_SUPPORTED_OPTIONS= debug png
+PKG_SUGGESTED_OPTIONS= png
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+=       --enable-debug
+.endif
+
+.if !empty(PKG_OPTIONS:Mpng)
+.include "../../graphics/png/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=        --disable-png
+.endif
+
+# TODO: fribidi
diff -r bdbbe47d58e0 -r eb0895c4d203 wm/jwm/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/jwm/patches/patch-aa   Fri Aug 04 01:08:21 2006 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $
+
+--- Makefile.in.orig   2005-11-21 04:02:12.000000000 +0000
++++ Makefile.in
+@@ -1,5 +1,5 @@
+ 
+-SYSCONF = @SYSCONF@
++SYSCONF = @@EGDIR@@
+ MANDIR = @MANDIR@
+ VERSION = @VERSION@
+ 
+@@ -8,10 +8,10 @@ all:
+ 
+ install: all
+       cd src ; $(MAKE) install ; cd ..
+-      install -d $(SYSCONF)
+-      install -m 644 example.jwmrc $(SYSCONF)/system.jwmrc
+-      install -d $(MANDIR)/man1
+-      install -m 644 jwm.1 $(MANDIR)/man1/jwm.1
++      ${BSD_INSTALL_DATA_DIR} $(SYSCONF)
++      ${BSD_INSTALL_DATA} example.jwmrc $(SYSCONF)/system.jwmrc
++      ${BSD_INSTALL_MAN_DIR} $(MANDIR)/man1
++      ${BSD_INSTALL_MAN} jwm.1 $(MANDIR)/man1/jwm.1
+ 
+ depend:
+       cd src ; $(MAKE) depend
diff -r bdbbe47d58e0 -r eb0895c4d203 wm/jwm/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/jwm/patches/patch-ab   Fri Aug 04 01:08:21 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/08/04 01:08:21 reed Exp $
+
+--- jwm.1.in.orig      2005-09-23 03:48:27.000000000 +0200
++++ jwm.1.in
+@@ -1,7 +1,6 @@
+ ./"
+ ./" groff -man -Tascii jwm.1
+ ./"
+-
+ .TH jwm 1 "@DATE@" "v@VERSION@"
+ .SH NAME
+ JWM - Joe's Window Manager



Home | Main Index | Thread Index | Old Index