pkgsrc-Bugs archive

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

pkg/42796: wm/musca pkg.



>Number:         42796
>Category:       pkg
>Synopsis:       wm/musca pkg.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 12 11:35:00 +0000 2010
>Originator:     Demelier David
>Release:        NetBSD-5
>Organization:
>Environment:
NetBSD Abricot.malikania.org 5.0_STABLE NetBSD 5.0_STABLE (Abricot 0.1) #0: Wed 
Jan 27 16:11:21 CET 2010  
root%Abricot.malikania.org@localhost:/usr/obj/sys/arch/i386/compile/Abricot.gdb 
i386

>Description:
In my painful quest to find the best wm I stumbled across musca, and wasn't in 
the magic pkgsrc so I tried to make a little pkg. It's pretty easy.

I noticed too late that wip/musca exists but I'm not sure if it takes care 
about x11 modular or native.

Please send any feedback. (Last time I tried to send a patch they advised me to 
use send-pr so I attached the patch in plain text..)
>How-To-Repeat:

>Fix:
Apply the patch in pkgsrc/wm/musca :

--- /dev/null   2010-02-12 12:24:36.000000000 +0100
+++ DESCR       2010-02-12 12:25:30.000000000 +0100
@@ -0,0 +1,38 @@
+A simple dynamic window manager for X, with features nicked from
+ratpoison and dwm:
+
+  * Musca operates as a tiling window manager by default. It uses
+    manual tiling, which means the user determines how the screen is
+    divided into non-overlapping frames, with no restrictions on
+    layout.  Application windows always fill their assigned frame,
+    with the exception of transient windows and popup dialog boxes
+    which float above their parent application at the appropriate
+    size.  Once visible, applications do not change frames unless
+    so instructed.
+  * Since not all applications suit tiling, a more traditional
+    stacking window manager mode is also available, allowing windows
+    to float at any screen location and overlap.
+  * There are no built in status bars, panels, tabs or window
+    decorations to take up screen real estate. If the user wants
+    any of these things, there are plenty of external applications
+    available to do the job. Window decoration is limited to a
+    slender border, which is coloured to indicate keyboard focus.
+  * Windows are placed in named groups which can be used in a
+    similar fashion to virtual desktops. Groups can be added and
+    removed on the fly, and each group has its own frame layout.
+  * The excellent dmenu utility is used to execute commands and
+    launch applications, and it can also act as a window and group
+    switcher. Basic EWMH support allows use of common panels, pagers
+    and wmctrl.
+  * Windows and frames are navigated and focused on any mouse button
+    click, including rolling the wheel, or alternatively driven
+    entirely by the keyboard. Simple key combinations exist for
+    window switching, group switching, frame control and screen
+    switching.
+  * Frames can be dedicated to a single application window, preventing
+    new windows usurping said frame. One frame per group can also
+    be flagged as a catch-all so that all new application windows
+    open there. The frame border colour changes to reflect these
+    modes.
+  * Musca has multi-screen support out of the box, and will
+    automatically create groups for every available screen.
--- /dev/null   2010-02-12 12:24:36.000000000 +0100
+++ Makefile    2010-02-12 12:25:30.000000000 +0100
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.10 2009/10/18 12:15:18 tnn Exp $
+#
+
+DISTNAME=      musca-0.9.24
+CATEGORIES=    wm
+MASTER_SITES=  http://aerosuidae.net/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER=    pkgsrc-users%netbsd.org@localhost
+HOMEPAGE=      http://aerosuidae.net/musca/Musca_Window_Manager
+COMMENT=       Simple dynamic window manager for X
+LICENSE=       gnu-gpl-v3
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+NO_CONFIGURE=  yes
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+SUBST_CLASSES+=                makefile
+SUBST_STAGE.makefile=  pre-build
+SUBST_MESSAGE.makefile=        Fixing Makefile
+SUBST_FILES.makefile=  Makefile
+SUBST_SED.makefile+=   -e 's,/usr/X11R6,${X11BASE},'
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/apis ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/musca ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/xlisten ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/musca.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
--- /dev/null   2010-02-12 12:24:36.000000000 +0100
+++ PLIST       2010-02-12 12:25:30.000000000 +0100
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+bin/apis
+bin/musca
+bin/xlisten
+man/man1/musca.1
--- /dev/null   2010-02-12 12:24:36.000000000 +0100
+++ distinfo    2010-02-12 12:25:30.000000000 +0100
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (musca-0.9.24.tgz) = a74d27a352b76dccf09792a00e50ba3c05b9929b
+RMD160 (musca-0.9.24.tgz) = 599e6539455b94d05a48485ad28f4b28ca7d73e1
+Size (musca-0.9.24.tgz) = 81210 bytes



Home | Main Index | Thread Index | Old Index