Re: wmii window manager port update

2007-09-14 Thread Stuart Henderson
On 2007/09/14 12:10, Pau Amaro-Seoane wrote:
> I am running current... I applied the patch and the output looked
> fine; then I tried to install the port and... Please note that I am a
> perfect beginner... I ask for mercy if I did some very stupid
> mistake... but I would really like to have wmii working (3.1).

wmii-3.1 is in packages already... (personally I prefer it to the
newer versions).

> Any hint of what have I screwed up?

I would guess your ports tree wasn't updated before you patched,
and the Makefile diff didn't apply. This would be confirmed if you
have a Makefile.rej



Re: wmii window manager port update

2007-09-14 Thread Pau Amaro-Seoane
Hi,

I am running current... I applied the patch and the output looked
fine; then I tried to install the port and... Please note that I am a
perfect beginner... I ask for mercy if I did some very stupid
mistake... but I would really like to have wmii working (3.1). Any
hint of what have I screwed up?

Pau

>> wmii-3.1.tar.gz doesn't seem to exist on this system.
>> Fetch http://wmii.suckless.org/download/wmii-3.1.tar.gz.
>> No size recorded for /usr/ports/distfiles/wmii-3.1.tar.gz
>> No sha256 checksum recorded for wmii-3.1.tar.gz.
>> No sha1 checksum recorded for wmii-3.1.tar.gz.
>> No rmd160 checksum recorded for wmii-3.1.tar.gz.
>> No md5 checksum recorded for wmii-3.1.tar.gz.
>> No checksum recorded for wmii-3.1.tar.gz.
Make sure the Makefile and checksum file (/usr/ports/x11/wmii/distinfo)
are up to date.  If you want to fetch a good copy of this
file from the OpenBSD main archive, type
"make REFETCH=true [other args]".
*** Error code 1

Stop in /usr/ports/x11/wmii (line 1755 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/wmii (line 1892 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/wmii (line 1373 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/wmii (line 1861 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/x11/wmii (line 1403 of
/usr/ports/infrastructure/mk/bsd.port.mk).



2007/9/13, Jasper Lievisse Adriaanse <[EMAIL PROTECTED]>:
> On Thu, Sep 13, 2007 at 11:25:48PM +0200, Benoit Chesneau wrote:
> > On 9/13/07, Jacob Meuser <[EMAIL PROTECTED]> wrote:
> > >
> > > Benoit, are you going to take over maintainership of this?
> > >
> >
> > ok for me. Main problem is lack of "stable" releases of wmii, they
> > only provide snapshots these days. Is this ok for ports ?
> if projects done have a "normal" release cycle, like in this case, sure.
>
> >
> >
> > - Beno?t
> cheers,
> jasper
>
> >
> >
>
> --
> ``Sapere aude!''
>
>



Re: wmii window manager port update

2007-09-13 Thread Jasper Lievisse Adriaanse
On Thu, Sep 13, 2007 at 11:25:48PM +0200, Benoit Chesneau wrote:
> On 9/13/07, Jacob Meuser <[EMAIL PROTECTED]> wrote:
> >
> > Benoit, are you going to take over maintainership of this?
> >
> 
> ok for me. Main problem is lack of "stable" releases of wmii, they
> only provide snapshots these days. Is this ok for ports ?
if projects done have a "normal" release cycle, like in this case, sure.

> 
> 
> - Beno?t
cheers,
jasper

> 
> 

-- 
``Sapere aude!''



Re: wmii window manager port update

2007-09-13 Thread Benoit Chesneau
On 9/13/07, Jacob Meuser <[EMAIL PROTECTED]> wrote:
>
> Benoit, are you going to take over maintainership of this?
>

ok for me. Main problem is lack of "stable" releases of wmii, they
only provide snapshots these days. Is this ok for ports ?


- BenoƮt



Re: wmii window manager port update

2007-09-13 Thread Jacob Meuser
On Thu, Sep 13, 2007 at 11:43:11AM +0200, Catalin Stoian wrote:
> Can someone please update this wm in the ports tree to the latest
> version ? It is still a very old and unsupported version being present
> at the moment (3.1). There's already an unofficial one here:
> http://marc.info/?l=openbsd-ports&m=118151081820139&w=2 that I've
> tested and works, but it's not in the ports tree yet. I think the 4.2
> release would really deserve to have such a wonderful window manager
> in the official ports tree and as a package. Thanks in advance,

way, way too late for 4.2 release.

here's that port as a diff against the x11/wmii in-tree port,
with some tweaks.

testing on amd64 looks good so far.

Benoit, are you going to take over maintainership of this?

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: Makefile
===
RCS file: /home/cvs/OpenBSD/ports/x11/wmii/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile17 Jun 2007 09:06:03 -  1.6
+++ Makefile13 Sep 2007 10:23:08 -
@@ -1,12 +1,12 @@
-# $OpenBSD: Makefile,v 1.6 2007/06/17 09:06:03 steven Exp $
+# $OpenBSD$
 
-COMMENT=   "dynamic window manager"
+COMMENT=   dynamic window manager
 
-DISTNAME=  wmii-3.1
-PKGNAME=   ${DISTNAME}p2
-CATEGORIES=x11
+DISTNAME=  wmii+ixp-20070516
+PKGNAME=   ${DISTNAME:S/+ixp//}
+CATEGORIES=x11
 
-HOMEPAGE=  http://wmii.suckless.org
+HOMEPAGE=  http://www.suckless.org/wiki/wmii
 
 # MIT/X
 PERMIT_PACKAGE_CDROM=  Yes
@@ -14,19 +14,13 @@
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-MASTER_SITES=  ${HOMEPAGE}/download/
+WANTLIB=   X11 Xext c m
 
-WANTLIB=   X11 c m
+MASTER_SITES=  http://www.suckless.org/snaps/
+EXTRACT_SUFX=  .tgz
 
-USE_X11=   Yes
-
-NO_REGRESS=Yes
-
-FAKE_FLAGS=SYSCONFDIR=${SYSCONFDIR}
-
-post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/wmii-3
-   ${INSTALL_DATA} ${WRKINST}${SYSCONFDIR}/wmii-3/* \
-   ${PREFIX}/share/examples/wmii-3
+USE_X11=   Yes
+NO_REGRESS=Yes
 
 .include 
+
Index: distinfo
===
RCS file: /home/cvs/OpenBSD/ports/x11/wmii/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo5 Apr 2007 17:36:25 -   1.3
+++ distinfo13 Sep 2007 10:23:08 -
@@ -1,5 +1,5 @@
-MD5 (wmii-3.1.tar.gz) = EIFHpCg7120qduR7sMlrrA==
-RMD160 (wmii-3.1.tar.gz) = xauqCYKwNrja+iJHUbgNgmXBn1k=
-SHA1 (wmii-3.1.tar.gz) = NjtSIH0lBdWSGtvNqYE27iQKZz0=
-SHA256 (wmii-3.1.tar.gz) = k0KKTe/P+eFPKLkH8ifVZXBmqYOp719KbU5fq1bncWs=
-SIZE (wmii-3.1.tar.gz) = 60935
+MD5 (wmii+ixp-20070516.tgz) = LQvXOHCk0811xEVOBNvT2w==
+RMD160 (wmii+ixp-20070516.tgz) = bl2myZt3Aj6z6F+NKnfV9duk8tQ=
+SHA1 (wmii+ixp-20070516.tgz) = n1AfIwU+FaAWHAUNm3sRul+wBsE=
+SHA256 (wmii+ixp-20070516.tgz) = iuxAcxx794J7VzOvHad4fQJzS6Vrv+RZjpy/4iRGkQQ=
+SIZE (wmii+ixp-20070516.tgz) = 84114
Index: patches/patch-cmd_wm_area_c
===
RCS file: patches/patch-cmd_wm_area_c
diff -N patches/patch-cmd_wm_area_c
--- patches/patch-cmd_wm_area_c 17 Jun 2006 17:42:03 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
 cmd/wm/area.c.orig Sat Jun 17 13:44:30 2006
-+++ cmd/wm/area.c  Sat Jun 17 19:39:01 2006
-@@ -150,7 +150,7 @@ place_client(Area *a, Client *c)
-   static unsigned int mx, my;
-   static Bool *field = nil;
-   Bool fit = False;
--  unsigned int i, j, k, x, y, maxx, maxy, dx, dy, cx, cy, diff;
-+  unsigned int i, j, k, x, y, maxx, maxy, dx, dy, cx = 0, cy = 0, diff;
-   XPoint p1 = {0, 0}, p2 = {0, 0};
-   Frame *f = c->frame.data[c->sel];
- 
Index: patches/patch-config_mk
===
RCS file: /home/cvs/OpenBSD/ports/x11/wmii/patches/patch-config_mk,v
retrieving revision 1.2
diff -u -r1.2 patch-config_mk
--- patches/patch-config_mk 17 Jun 2006 17:42:03 -  1.2
+++ patches/patch-config_mk 13 Sep 2007 10:23:08 -
@@ -1,22 +1,28 @@
 config.mk.orig Sat Jun 17 13:44:29 2006
-+++ config.mk  Sat Jun 17 19:28:41 2006
-@@ -2,8 +2,8 @@
+$OpenBSD$
+--- config.mk.orig Wed May  9 19:04:41 2007
 config.mk  Sun Jun 10 22:23:06 2007
+@@ -1,10 +1,10 @@
+ # Customize below to fit your system
  
  # paths
- PREFIX = /usr/local
--CONFPREFIX = ${PREFIX}/etc
--MANPREFIX = ${PREFIX}/share/man
-+CONFPREFIX = ${SYSCONFDIR}
-+MANPREFIX = ${PREFIX}/man
+-PREFIX = /usr/local
++#PREFIX = /usr/local
+ BIN = ${PREFIX}/bin
+-MAN = ${PREFIX}/share/man
+-ETC = ${PREFIX}/etc
++MAN = ${PREFIX}/man
++ETC = ${PREFIX}/share/examples/wmii
+ LIBDIR = ${PREFIX}/lib
+ INCLUDE = ${PREFIX}/include
  
- X11INC = /usr/X11R6/include
- X11LIB = /usr/X11R6/lib
-@@ -14,7 +14,7 @@ VERSION =

wmii window manager port update

2007-09-13 Thread Catalin Stoian
Can someone please update this wm in the ports tree to the latest
version ? It is still a very old and unsupported version being present
at the moment (3.1). There's already an unofficial one here:
http://marc.info/?l=openbsd-ports&m=118151081820139&w=2 that I've
tested and works, but it's not in the ports tree yet. I think the 4.2
release would really deserve to have such a wonderful window manager
in the official ports tree and as a package. Thanks in advance,

Catalin Stoian
http://unixlust.com