Re: devel/9base v2 upgrade to v4

2009-09-10 Thread Sofian Brabez
Hi Jason

On Wed, Sep 9, 2009 at 6:10 PM, Jason J. Hellenthal jas...@dataix.net wrote:

 Would it be possible to fit in 9base-4 before the ports freeze. I am
 planning on going off air within the next couple of weeks and this is my
 preferred window manager and the provided with 9base-4 read command sure
 would come in handy.

 http://dl.suckless.org/tools/9base-4.tar.gz

 Thanks in advance.

 --

  |-|

  Jason J. Hellenthal
  http://www.DataIX.net/
  jas...@dataix.net
  0x691411AC

  - (2^(N-1))


I prefer wait the port freeze of 14 September to update devel/9base but as you
need it. I attached a unified diff which allow you to compile and install the
new version 9base-4 released the 2009/09/27.

As you could see, It needs lot of changes because lot of new binaries are now
in plan9port distribution. That's why I want to wait the port freeze to
correct handle them.

Regards

-- 
sbz
diff -ruN 9base.orig/Makefile 9base/Makefile
--- 9base.orig/Makefile 2009-09-10 10:10:10.0 +0200
+++ 9base/Makefile  2009-09-10 09:50:03.0 +0200
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=  9base
-DISTVERSION=   b20090309
+DISTVERSION=   b20090927
 CATEGORIES=devel
 MASTER_SITES=  http://dl.suckless.org/tools/
-DISTNAME=  ${PORTNAME}-2
+DISTNAME=  ${PORTNAME}-4
 
 MAINTAINER=sbra...@gmail.com
 COMMENT=   Port of various original plan9 tools
@@ -19,17 +19,44 @@
 MANPREFIX= ${PREFIX}/9
 MAKE_ARGS= PREFIX=${PREFIX}/9 CC=${CC} MANPREFIX=${MANPREFIX}/man \
CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS}
+
 MAKE_JOB_SAFE= yes
-APPS=  awk basename bc cat cleanname date dc echo grep mk rc sed \
-   seq sleep sort tee test touch tr uniq yacc
-MAN1=  ${APPS:S|$|.1|}
-MAN7=  regexp.7
+
+APPS=  ${AWK} \
+   ${BASENAME} \
+   bc \
+   cal \
+   ${CAT} \
+   cleanname \
+   date \
+   ${DC} \
+   du \
+   ${ECHO_CMD} \
+   ${GREP} \
+   hoc \
+   ${LS} \
+   mk \
+   read \
+   rc \
+   ${SED} \
+   seq \
+   sleep \
+   ${SORT} \
+   tee \
+   test \
+   ${TOUCH} \
+   ${TR} \
+   troff \
+   uniq \
+   yacc
+
+MAN1=  ${APPS:S|LANG=C||:C|.*/||:S|$|.1|}
 
 ONLY_FOR_ARCHS=i386 amd64 sparc64
 ONLY_FOR_ARCHS_REASON= has low-level code unavailable for ${ARCH}
 
 post-patch:
-   @${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}/9|' ${WRKSRC}/rc/plan9ish.c
+   @${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}/9|' ${WRKSRC}/lib9/get9root.c
@${REINPLACE_CMD} -e 
'/OBJTYPE!=/s|!=.*|=${ARCH:S,i386,386,:S,amd64,x86_64,:S,sparc64,sun4u,}|' 
${WRKSRC}/lib9/Makefile
 
 post-install:
diff -ruN 9base.orig/distinfo 9base/distinfo
--- 9base.orig/distinfo 2009-09-10 10:10:10.0 +0200
+++ 9base/distinfo  2009-09-10 01:45:57.0 +0200
@@ -1,3 +1,3 @@
-MD5 (9base-2.tar.gz) = f9d30509996ec178702af20fec986e9d
-SHA256 (9base-2.tar.gz) = 
fc60a3af4a2a21167403c099192842e00e5a6416af6b76512262059a203c3534
-SIZE (9base-2.tar.gz) = 301740
+MD5 (9base-4.tar.gz) = af10410542ea6b6875a71e06fdc12c66
+SHA256 (9base-4.tar.gz) = 
704dde999650ce07486a208683475d8f93e8083041bb57a3dc469e12f43eb1d5
+SIZE (9base-4.tar.gz) = 961809
diff -ruN 9base.orig/pkg-plist 9base/pkg-plist
--- 9base.orig/pkg-plist2009-09-10 10:10:10.0 +0200
+++ 9base/pkg-plist 2009-09-10 09:58:14.0 +0200
@@ -1,13 +1,18 @@
 9/bin/awk
 9/bin/basename
 9/bin/bc
+9/bin/cal
 9/bin/cat
 9/bin/cleanname
 9/bin/date
 9/bin/dc
+9/bin/du
 9/bin/echo
 9/bin/grep
+9/bin/hoc
+9/bin/ls
 9/bin/mk
+9/bin/read
 9/bin/rc
 9/bin/sed
 9/bin/seq
@@ -17,12 +22,208 @@
 9/bin/test
 9/bin/touch
 9/bin/tr
+9/bin/troff
 9/bin/uniq
 9/bin/yacc
 9/etc/rcmain
-...@dirrm 9/man/man7
+9/lib/troff/tmac/tmac.v
+9/lib/troff/tmac/tmac.uni
+9/lib/troff/tmac/tmac.twb
+9/lib/troff/tmac/tmac.srefs
+9/lib/troff/tmac/tmac.spe
+9/lib/troff/tmac/tmac.soft
+9/lib/troff/tmac/tmac.skeep
+9/lib/troff/tmac/tmac.sdisp
+9/lib/troff/tmac/tmac.scover
+9/lib/troff/tmac/tmac.s
+9/lib/troff/tmac/tmac.rscover
+9/lib/troff/tmac/tmac.ptx
+9/lib/troff/tmac/tmac.psychrefs
+9/lib/troff/tmac/tmac.pm
+9/lib/troff/tmac/tmac.pictures
+9/lib/troff/tmac/tmac.org
+9/lib/troff/tmac/tmac.nihongo
+9/lib/troff/tmac/tmac.mcs
+9/lib/troff/tmac/tmac.m
+9/lib/troff/tmac/tmac.jsdisp
+9/lib/troff/tmac/tmac.html
+9/lib/troff/tmac/tmac.e
+9/lib/troff/tmac/tmac.cs
+9/lib/troff/tmac/tmac.bits
+9/lib/troff/tmac/tmac.antimes
+9/lib/troff/tmac/tmac.anhtml
+9/lib/troff/tmac/tmac.an
+9/lib/troff/tmac/strings.mm
+9/lib/troff/tmac/sendcover
+9/lib/troff/tmac/name.sed
+9/lib/troff/tmac/mmt
+9/lib/troff/tmac/mmn
+9/lib/troff/tmac/me/thesis.me
+9/lib/troff/tmac/me/tbl.me

Re: devel/9base v2 upgrade to v4

2009-09-10 Thread Jason J. Hellenthal

On Thu, 10 Sep 2009 04:24 -, sbrabez wrote:


Hi Jason

On Wed, Sep 9, 2009 at 6:10 PM, Jason J. Hellenthal jas...@dataix.net wrote:


Would it be possible to fit in 9base-4 before the ports freeze. I am
planning on going off air within the next couple of weeks and this is my
preferred window manager and the provided with 9base-4 read command sure
would come in handy.

http://dl.suckless.org/tools/9base-4.tar.gz

Thanks in advance.

--

 |-|

 Jason J. Hellenthal
 http://www.DataIX.net/
 jas...@dataix.net
 0x691411AC

 - (2^(N-1))



I prefer wait the port freeze of 14 September to update devel/9base but as you
need it. I attached a unified diff which allow you to compile and install the
new version 9base-4 released the 2009/09/27.

As you could see, It needs lot of changes because lot of new binaries are now
in plan9port distribution. That's why I want to wait the port freeze to
correct handle them.

Regards



Thank you very much, This is much appreciated.

As a workaround I have been just doing a local compile of 9lib and read then 
just copying the resulting read static binary to local/9/bin. Though this has 
provided temporary fixes its a pretty tedious process.


Curious question:

Have you noticed any weirdness the user environment whether it be in X or on the
console while the fdescfs module is loaded ?. I have had some impacts with this
being loaded in the past that I can not really explain and has deterred me from 
wanting to use the environment with that module loaded. I have noticed this 
happening since 6.1 through 7.2-STABLE and not specific to just the wmii port.


Best regards. And thanks again.

--

 ||

 Jason J. Hellenthal
 http://www.DataIX.net/
 jas...@dataix.net
 0x691411AC

 - (2^(N-1))
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


devel/9base v2 upgrade to v4

2009-09-09 Thread Jason J. Hellenthal


Would it be possible to fit in 9base-4 before the ports freeze. I am planning on 
going off air within the next couple of weeks and this is my preferred window 
manager and the provided with 9base-4 read command sure would come in handy.


http://dl.suckless.org/tools/9base-4.tar.gz

Thanks in advance.

--

 |-|

 Jason J. Hellenthal
 http://www.DataIX.net/
 jas...@dataix.net
 0x691411AC

 - (2^(N-1))
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org