Date: Sat, 13 Aug 2005 19:33:50 +0200 From: Alex de Kruijff <freebsd@akruijff.dds.nl> To: Kirill Ponomarew <krion@voodoo.oberon.net> Cc: freebsd-ports@freebsd.org, Alex de Kruijff <freebsd@akruijff.dds.nl> Subject: Re: Need help with upgrading workrave Message-ID: <20050813173349.GE850@Alex.lan> In-Reply-To: <20050813172928.GD850@Alex.lan> References: <20050813151726.GC850@Alex.lan> <20050813165952.GC737@voodoo.oberon.net> <20050813172928.GD850@Alex.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 13, 2005 at 07:29:28PM +0200, Alex de Kruijff wrote: > On Sat, Aug 13, 2005 at 06:59:52PM +0200, Kirill Ponomarew wrote: > > On Sat, Aug 13, 2005 at 05:17:26PM +0200, Alex de Kruijff wrote: > > > Hi, > > > > > > I like to upgrade the port workrave from 1.6 to 1.8. (This solves the > > > freezing problem with kde) This will be my first port upgrade and things > > > are a bit unfamiliar for my. > > > > > > I have problems with two tings. > > > > > > 1. The port doesn't compile properly. I've spoken with the developer and > > > we have a solution. He will add this to the CVS, but i am betting this > > > doesn't help the port in the sort term. I need to insert one line to one > > > file to make it work. How should i go about this? > > I've tried paching. I've added files/patch-path > --- workrave-1.8.1/frontend/common/src/System.cc Sat Aug 13 > 19:16:05 2005 > +++ workrave-1.8.1/frontend/common/src/System.cc Sat Aug 13 > 19:16:16 2005 > @@ -20,6 +20,7 @@ > #include <glib.h> > #include <stdlib.h> > #include <string.h> > +#include <strings.h> > > #include "System.hh" > #include "debug.hh" > > but it keeps giving errors afther make patch. I've tried a number of > variants. Its seems oke for me. > > > > > > > 2. I'm trying to upgrade the plist and this is all strange for me. I've > > > created an auto plist and don't know how to continue. I don't think > > > there are any man pages or info files. That leaves me with the shared > > > libraries section. What should I look for? > > > > > > I've read: > > > http://freebsd.m.flirble.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-desc.html > > > > > > and executed the command on: > > > http://freebsd.m.flirble.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-autoplist.html > > > > > > Just a couple strange lines out my plist to keep it short: > > > - lines in the file section looks oke (they all have the port name) > > > - dir section looks as it it would like to remove much more. > > > @dirrm share/gnome/sounds > > > @dirrm share/gnome/apps/Utilities > > > @dirrm libdata/bonobo > > > @dirrm lib/vfs > > > @dirrm lib/bonobo > > > @dirrm include/gconf > > > @dirrm etc/X11 > > > > Do you use /etc/mtree/BSD.x11-4.dist to generate plist ? > > Yes The port was in /usr/ports/x11/workrave -- Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050813173349.GE850>