From owner-freebsd-questions@FreeBSD.ORG Sun Jun 27 01:32:13 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D5E516A4CE for ; Sun, 27 Jun 2004 01:32:13 +0000 (GMT) Received: from fed1rmmtao05.cox.net (fed1rmmtao05.cox.net [68.230.241.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6878743D2F for ; Sun, 27 Jun 2004 01:32:13 +0000 (GMT) (envelope-from mnavarre@cox.net) Received: from reichlieu.lan ([68.6.195.68]) by fed1rmmtao05.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040627013211.MDUR26142.fed1rmmtao05.cox.net@reichlieu.lan>; Sat, 26 Jun 2004 21:32:11 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by reichlieu.lan (8.12.11/8.12.11) with ESMTP id i5R1WCFm047017; Sat, 26 Jun 2004 18:32:12 -0700 (PDT) (envelope-from mnavarre@cox.net) Message-ID: <40DE239C.8090401@cox.net> Date: Sat, 26 Jun 2004 18:32:12 -0700 From: Matt Navarre User-Agent: Mozilla Thunderbird 0.7 (X11/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Iain Dooley References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SA-Scanned: 0 () X-Scanned-By: MIMEDefang 2.41 cc: freebsd-questions@freebsd.org Subject: Re: Updating source code manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2004 01:32:13 -0000 Iain Dooley wrote: > I am running FreeBSD-STABLE (4.10) and have been using > ports/pkg_add/portupgrade/cvsup to stay current with most programs. > however there are two things that i'm having trouble with, and i'm > hoping someone can point me in the right direction: > > 1) i received a small patch for Kate (K Advanced Text Editor) from one > of the developers, how can i compile this new code into the binary? You could run make extract from whichever kde* port Kate is installed from (kdebase, I think), cd into the work directory, apply the patch, and then run make install clean as normal. It should work if the patch applies cleanly. I think you can also put the patch in the files directory (in the port's dir), and give it the right naming convention and the ports magic will apply it. See the Porters Handbook for more info. It would be cool if there was an easy way to apply a local hack to a port auto-magicaly. > > 2) this question may be answered by any information provided in answer > to my first question, but how can i upgrade specific components of KDE > (such as Kate) without upgrading the entire KDE installation (which > takes a couple of days) , Wish I knew. It would be nice if KDE packaged stuff in smaller chunks than they do, but.... > > > and lastly, a quality of life question: > > 3) Is it safe to do a portupgrade of KDE whilst KDE is still running? I've had mixed results doing this, usually it works fine, but sometimes I've gotten anything from random crashy baddness to weird configuration glitches. I've taken to either killing X and upgrading KDE or changing .xinitrc to start FVWM and rebuild KDE. I usually go with killing X if I know the portupgrade -R is going to end up rebuilding X with everything else. It'll *probably* work fine without being paranoid, but why tempt fate? > > thanks very much, > > Iain Dooley >