From owner-freebsd-gnome@FreeBSD.ORG Thu Apr 24 00:27:50 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4875137B401 for ; Thu, 24 Apr 2003 00:27:50 -0700 (PDT) Received: from ms-smtp-02.southeast.rr.com (ms-smtp-02.southeast.rr.com [24.93.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5705743FBF for ; Thu, 24 Apr 2003 00:27:49 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from mail5.nc.rr.com (fe5 [24.93.67.52])h3O7Phgs023137; Thu, 24 Apr 2003 03:25:43 -0400 (EDT) Received: from creme-brulee.marcuscom.com ([66.57.17.158]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Thu, 24 Apr 2003 03:24:51 -0400 Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) h3O7Pdaa000855; Thu, 24 Apr 2003 03:25:40 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Martin Klaffenboeck In-Reply-To: <20030424072407.GA411@martin.kleinerdrache.org> References: <20030423200444.GA14406@martin.kleinerdrache.org> <1051131829.410.104.camel@gyros> <20030424072407.GA411@martin.kleinerdrache.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-OWujzEg9ygXZQe46vfzJ" Organization: MarcusCom, Inc. Message-Id: <1051169262.47874.63.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.2 (Preview Release) Date: 24 Apr 2003 03:27:42 -0400 X-Spam-Status: No, hits=-39.4 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: gnome freebsd Subject: Re: patch- depends on libversion X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 07:27:50 -0000 --=-OWujzEg9ygXZQe46vfzJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-04-24 at 03:24, Martin Klaffenboeck wrote: > Am 2003.04.23 23:03 schrieb(en) Joe Marcus Clarke: > > On Wed, 2003-04-23 at 16:04, Martin Klaffenboeck wrote: > > > Hello, > > > > > > I'm using libgnomecanvas-2.300 here, so I have to patch gcompris2 > > (2.1; > > > next new port from me) in a file. for libgnomecanvas-2.200 it is > > not > > > necessary to patch with this file. So can I use a patch depending > > on > > > the installed version of a lib? (In this case, I have to tell the > > port > > > to use files/patch-src::boards::menu.c only when gnomecanvas 2.3 is > > > installed and not if 2.2 is installed.) Is that possible? > >=20 > > You should be using the new GNOME infrastructure as described at > > http://www.freebsd.org/gnome/docs/porting.html. If you use this, > > things > > should automatically work for you. >=20 > Hm. I read this site you gave me the link. But here is my patch: >=20 > --- src/boards/menu.c.orig Wed Apr 23 21:38:22 2003 > +++ src/boards/menu.c Wed Apr 23 21:39:20 2003 > @@ -153,6 +153,7 @@ > gcomprisBoard->maxlevel=3D1; > gcompris_bar_set(GCOMPRIS_BAR_CONFIG|GCOMPRIS_BAR_ABOUT); > = =20 > + gnome_canvas_update_now(gcomprisBoard->canvas); > menu_pause(FALSE); > = =20 > } >=20 > It is stored in files/patch-src::boards::menu.c, I will attach the=20 > ports .sh file. >=20 > This is only needed for libcanvas 2.3 which is only in the marcuscom=20 > ports, as I could see. In the official ports collection there is 2.2=20 > available. For 2.2 this is not needed. But how can I do that? Sorry, I completely misunderstood the question. =20 >=20 > I don't know if that patch would also work with 2.2. Maybe you can=20 > place this port in the marcuscom ports until you patch all your ports=20 > into the official collection? That's exactly what I'll do. Joe >=20 > Thanks for your help. >=20 > Martin >=20 >=20 > > Joe > >=20 > > > > > > Martin > > > _______________________________________________ > > > freebsd-ports@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > > To unsubscribe, send any mail to=20 > > "freebsd-ports-unsubscribe@freebsd.org" > > -- > > PGP Key : http://www.marcuscom.com/pgp.asc > >=20 > >=20 > >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-OWujzEg9ygXZQe46vfzJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+p5Hub2iPiv4Uz4cRAm9IAJ9smUlXWha6aTHUr+/9lay3JM9P4gCglAwy Rs2xxIp4yg8MAq8wCho9Njc= =1qEF -----END PGP SIGNATURE----- --=-OWujzEg9ygXZQe46vfzJ--