Re: libgtop2 and xorg break

2007-08-25 Thread Pieter Dumon
Finally found some time to fix libgtop2 to get it compiled on -preview. Probably doesn't show all the right numbers, though :-) All of the gnome meta-package now compiles on my machine and it seems to run. However, the first window or menu I try to open makes the mouse jump to the upper left corn

Re: libgtop2 and xorg break

2007-08-14 Thread Simon 'corecode' Schubert
Matthew Dillon wrote: :For the proc's memory stats, it wants to run through the mmap entry :list amongst other things. Here is an excerpt of the original code. As :I know about nothing about this, it's a bit too difficult to patch :-) /proc can be used to read the mmap entry list and get mos

Re: libgtop2 and xorg break

2007-08-14 Thread Matthew Dillon
:For the proc's memory stats, it wants to run through the mmap entry :list amongst other things. Here is an excerpt of the original code. As :I know about nothing about this, it's a bit too difficult to patch :-) /proc can be used to read the mmap entry list and get most of the statistics

Re: libgtop2 and xorg break

2007-08-14 Thread Joerg Sonnenberger
On Mon, Aug 13, 2007 at 05:56:33PM -0400, Justin C. Sherrill wrote: > Technically, we can remove PKG_DBDIR, LOCALBASE< VARBASE, and X11_TYPE, as > the values we have in /etc/mk.conf are the defaults on DragonFly anyway. > Joerg, can you confirm this? For X11_TYPE yes, for the others: objected. It

Re: libgtop2 and xorg break

2007-08-14 Thread Pieter Dumon
On 8/13/07, Simon 'corecode' Schubert <[EMAIL PROTECTED]> wrote: > Nothing at all -- the vmspace is not being exported. You might want to be > interested in some memory statistics though. All fields should be documented > in /usr/include/sys/kinfo.h. > > If you're in doubt, just list what the o

Re: libgtop2 and xorg break

2007-08-13 Thread Pieter Dumon
> X11_TYPE, as > the values we have in /etc/mk.conf are the defaults on DragonFly anyway. In any case: the default value for X11_TYPE works for the modular xorg packages. I bmake installed it without any problem

Re: libgtop2 and xorg break

2007-08-13 Thread Simon 'corecode' Schubert
Matthew Dillon wrote: I'm thinking we will want something in the make upgrade path as well, but it probably shouldn't just remove /etc/mk.conf outright. Maybe rename it to /etc/mk.conf.obsolete and prepend some # comments explaining why it was renamed. Let's put some more tho

Re: libgtop2 and xorg break

2007-08-13 Thread Justin C. Sherrill
On Mon, August 13, 2007 5:01 pm, Matthew Dillon wrote: > > :Does the installer still create /etc/mk.conf by default? > > I think it does. If /etc/mk.conf is obsolete then we need to do > something about it but I'm not really up on all the ins and outs > of pkgsrc so it has to be someon

Re: libgtop2 and xorg break

2007-08-13 Thread Simon 'corecode' Schubert
Pieter Dumon wrote: Hmm, I'm afraid I don't know enough about the kvm changes (or would need to browse through the diffs). I found most members of kinfo_proc and kinfo_proc.kp_lwp that replace the old structures and members. But, for instance, what should I replace .kp_proc.p_vmspace by ? the l

Re: libgtop2 and xorg break

2007-08-13 Thread Matthew Dillon
:Damn, I should have caught that. The pkgsrc bootstrap installs a good mk.conf, so we should remove the mk.conf from the skel. Doing so as we speak. : :cheers : simon : :-- :Serve - BSD +++ RENT this banner advert +++ASCII Ribbon /"\ I'm thinking we will want something in the

Re: libgtop2 and xorg break

2007-08-13 Thread Simon 'corecode' Schubert
Matthew Dillon wrote: :Does the installer still create /etc/mk.conf by default? I think it does. If /etc/mk.conf is obsolete then we need to do something about it but I'm not really up on all the ins and outs of pkgsrc so it has to be someone who actually understands what is goin

Re: libgtop2 and xorg break

2007-08-13 Thread Pieter Dumon
On 8/13/07, Chris Turner <[EMAIL PROTECTED]> wrote: > Pieter Dumon wrote: > > pkgsrc/sysutils/libgtop2 doesn't compile on my fresh 1.10 system > > (don't know if it did before): > > > > proclist.c: In function 'glibtop_get_proclist_p': > > proclist.c:106: error: structure has no member 'kp_proc' >

Re: libgtop2 and xorg break

2007-08-13 Thread Matthew Dillon
:Does the installer still create /etc/mk.conf by default? I think it does. If /etc/mk.conf is obsolete then we need to do something about it but I'm not really up on all the ins and outs of pkgsrc so it has to be someone who actually understands what is going on with the conf stu

Re: libgtop2 and xorg break

2007-08-13 Thread Justin C. Sherrill
On Mon, August 13, 2007 5:51 am, Joerg Sonnenberger wrote: > On Mon, Aug 13, 2007 at 08:28:32AM +0200, Pieter Dumon wrote: >> however, /etc/mk.conf contains >> X11_TYPE=xorg >> (within the .ifdef BSD_PKG_MK .endif) > > Just remove that one, there should be /usr/pkg/etc/mk.conf which should > b

Re: libgtop2 and xorg break

2007-08-13 Thread Pieter Dumon
Ok, Thanks for the X11 help. On 8/13/07, Chris Turner <[EMAIL PROTECTED]> wrote: > The error is probably due to DF struct proc diverging from freebsd > somewhere along the line. Probably just a few lines of diff would get > things working, but that may be more than you feel like doing.. Yeah, I'l

Re: libgtop2 and xorg break

2007-08-13 Thread Chris Turner
Pieter Dumon wrote: > pkgsrc/sysutils/libgtop2 doesn't compile on my fresh 1.10 system > (don't know if it did before): > > proclist.c: In function 'glibtop_get_proclist_p': > proclist.c:106: error: structure has no member 'kp_proc' The error is probably due to DF struct proc diverging from freeb

Re: libgtop2 and xorg break

2007-08-13 Thread Joerg Sonnenberger
On Mon, Aug 13, 2007 at 08:28:32AM +0200, Pieter Dumon wrote: > however, /etc/mk.conf contains > X11_TYPE=xorg > (within the .ifdef BSD_PKG_MK .endif) Just remove that one, there should be /usr/pkg/etc/mk.conf which should be used instead. Joerg

Re: libgtop2 and xorg break

2007-08-13 Thread Erik Wikström
On 2007-08-13 08:28, Pieter Dumon wrote: Hi, pkgsrc/sysutils/libgtop2 doesn't compile on my fresh 1.10 system (don't know if it did before): proclist.c: In function 'glibtop_get_proclist_p': proclist.c:106: error: structure has no member 'kp_proc' proclist.c:106: error: 'SRUN' undeclared (first

libgtop2 and xorg break

2007-08-12 Thread Pieter Dumon
Hi, pkgsrc/sysutils/libgtop2 doesn't compile on my fresh 1.10 system (don't know if it did before): proclist.c: In function 'glibtop_get_proclist_p': proclist.c:106: error: structure has no member 'kp_proc' proclist.c:106: error: 'SRUN' undeclared (first use in this function) ... proclist.c:109: