From owner-freebsd-ports@FreeBSD.ORG Sat Aug 13 17:34:05 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2164B16A41F for ; Sat, 13 Aug 2005 17:34:05 +0000 (GMT) (envelope-from freebsd@akruijff.dds.nl) Received: from smtp14.wxs.nl (smtp14.wxs.nl [195.121.6.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3A2143D46 for ; Sat, 13 Aug 2005 17:34:04 +0000 (GMT) (envelope-from freebsd@akruijff.dds.nl) Received: from smtp.planet.nl (ip51cc8423.speed.planet.nl [81.204.132.35]) by smtp14.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IL600G7P8SENM@smtp14.wxs.nl> for freebsd-ports@freebsd.org; Sat, 13 Aug 2005 19:33:50 +0200 (CEST) Received: from Alex.lan (localhost [127.0.0.1]) by smtp.planet.nl (8.13.3/8.13.3) with ESMTP id j7DHXoO6040081; Sat, 13 Aug 2005 19:33:50 +0200 Received: (from akruijff@localhost) by Alex.lan (8.13.3/8.13.3/Submit) id j7DHXoVF040080; Sat, 13 Aug 2005 19:33:50 +0200 Content-return: prohibited Date: Sat, 13 Aug 2005 19:33:50 +0200 From: Alex de Kruijff In-reply-to: <20050813172928.GD850@Alex.lan> To: Kirill Ponomarew Message-id: <20050813173349.GE850@Alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: <20050813151726.GC850@Alex.lan> <20050813165952.GC737@voodoo.oberon.net> <20050813172928.GD850@Alex.lan> X-Authentication-warning: Alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f Cc: freebsd-ports@freebsd.org, Alex de Kruijff Subject: Re: Need help with upgrading workrave X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@akruijff.dds.nl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2005 17:34:05 -0000 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 > #include > #include > +#include > > #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