Re: HEADS UP - massive kqueue changes now in HEAD, and also basic lvm/dm

2010-08-02 Thread Samuel J. Greear
 This 10-second-wait should be fixed with commit 847ff8c.

 While debugging I noticed screen calls close(2) on all descriptors
 except stdin/err/out every time it forks. Making it use DragonFly's
 closefrom(2) would be a great optimization that would reduce new
 window creation times, if anyone felt so inclined.

 Sam


Referenced commit broke xterm (maybe other things). I have just pushed
a fix to master.

Sam


Re: Abnormal termination of greeter - cause is libX11 version

2010-08-02 Thread Pierre Abbat
On Sunday 01 August 2010 21:43:45 Justin C. Sherrill wrote:
 I don't know if the branches are carried through to the git repo.  If it
 isn't, you will need to either switch to CVS to make sure you have the
 same version, or stick to building from source for everything.  There
 isn't a collection of binary packages that tracks the bleeding edge of
 pkgsrc.

I ran git branch and got only vendor and master. Why are there both a CVS 
repo and a git repo? Is it possible to copy the branches to git?

Pierre

-- 
La sal en el mar es más que en la sangre.
Le sel dans la mer est plus que dans le sang.



Re: Abnormal termination of greeter - cause is libX11 version

2010-08-02 Thread Sascha Wildner

On 8/2/2010 22:03, Pierre Abbat wrote:

On Sunday 01 August 2010 21:43:45 Justin C. Sherrill wrote:

I don't know if the branches are carried through to the git repo.  If it
isn't, you will need to either switch to CVS to make sure you have the
same version, or stick to building from source for everything.  There
isn't a collection of binary packages that tracks the bleeding edge of
pkgsrc.


I ran git branch and got only vendor and master. Why are there both a CVS
repo and a git repo? Is it possible to copy the branches to git?


Try git branch -a.

Sascha


Re: Abnormal termination of greeter - cause is libX11 version

2010-08-02 Thread Pierre Abbat
On Monday 02 August 2010 17:48:23 Sascha Wildner wrote:
 Try git branch -a.

That appears to have worked. Here's my modified Makefile.

Pierre
-- 
When a barnacle settles down, its brain disintegrates.
Já não percebe nada, já não percebe nada.
# Makefile.pkgsrc - installed as /usr/pkgsrc/Makefile
#
# Provides simple targets to download and maintain /usr/pkgsrc.
#
# $DragonFly: src/etc/Makefile.usr,v 1.8 2008/09/03 10:38:55 hasso Exp $

pkgsrcver = pkgsrc-2010Q1

help all:
	@echo HELP:
	@echo 
.if exists(${.CURDIR}/pkgsrc/.git)
.if exists(${.CURDIR}/pkgsrc/Makefile)
	@echo make pkgsrc-update   - update your pkgsrc repo from the net
.else
	@echo make pkgsrc-checkout - initial checkout of your pre-packaged
	@echopkgsrc repo.
	@echo make pkgsrc-update   - update your pkgsrc repo from the net
	@echoafter the initial checkout.
.endif
.else
	@echo make pkgsrc-create   - fetch initial pkgsrc repo from the net
	@echo make pkgsrc-update   - update your pkgsrc repo from the net
.endif
	@echo 
.if exists(${.CURDIR}/src/.git)
.if exists(${.CURDIR}/src/Makefile)
	@echo make src-update  - update your src repo from the net
.else
	@echo make src-checkout- initial checkout of your pre-packaged src repo
	@echo make src-update  - update your src repo from the net
	@echoafter the initial checkout.
.endif
.else
	@echo make src-create  - fetch initial src repo from the net
	@echo make src-update  - update your src repo from the net
.endif
	@echo 
.if exists(${.CURDIR}/src-sys.tgz)
	@echo make release-sys-extract - extract the pre-packaged sys-only sources
.endif
	@echo 
	@echo If automating please feel free to run git pull's from cron.
	@echo We prefer once a day but you can run them more often if you
	@echo desire.
	@echo 
	@echo If you have a repo previously maintained via CVS you should
	@echo rm -rf it (save any local modifications) and then use the
	@echo make src-create and/or make pkgsrc-create to set up the initial
	@echo git repo.

pkgsrc-create:
	@echo If problems occur you may have to rm -rf pkgsrc and try again.
	@echo 
	mkdir -p ${.CURDIR}/pkgsrc
	cd ${.CURDIR}/pkgsrc  git init
	cd ${.CURDIR}/pkgsrc  \
		git remote add origin git://git.dragonflybsd.org/pkgsrc.git
	cd ${.CURDIR}/pkgsrc  git fetch origin
	cd ${.CURDIR}/pkgsrc  git branch $(pkgsrcver) origin/$(pkgsrcver)
	cd ${.CURDIR}/pkgsrc  git checkout $(pkgsrcver)
	cd ${.CURDIR}/pkgsrc  git pull

pkgsrc-checkout:
	cd ${.CURDIR}/pkgsrc  git checkout $(pkgsrcver)

pkgsrc-update:
	cd ${.CURDIR}/pkgsrc  git pull

src-create:
	@echo If problems occur you may have to rm -rf src and try again.
	@echo 
	mkdir -p ${.CURDIR}/src
	cd ${.CURDIR}/src  git init
	cd ${.CURDIR}/src  \
		git remote add origin git://git.dragonflybsd.org/dragonfly.git
	cd ${.CURDIR}/src  git fetch origin
	cd ${.CURDIR}/src  git branch master origin/master
	cd ${.CURDIR}/src  git checkout master
	cd ${.CURDIR}/src  git pull

src-checkout:
	cd ${.CURDIR}/src  git checkout master

src-update:
	cd ${.CURDIR}/src  git pull

release-sys-extract:
	cd ${.CURDIR}  tar xvpzf src-sys.tgz