Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2003 09:24:08 +0200
From:      Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        gnome freebsd <freebsd-gnome@freebsd.org>
Subject:   Re: patch- depends on libversion
Message-ID:  <20030424072407.GA411@martin.kleinerdrache.org>
In-Reply-To: <1051131829.410.104.camel@gyros>; from marcus@marcuscom.com on Mi, Apr 23, 2003 at 23:03:49 %2B0200
References:  <20030423200444.GA14406@martin.kleinerdrache.org> <1051131829.410.104.camel@gyros>

next in thread | previous in thread | raw e-mail | index | archive | help

--T4sUOijqQbZv57TR
Content-Type: text/plain; format=flowed; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit


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?
> 
> 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.

Hm.  I read this site you gave me the link.  But here is my patch:

--- 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=1;
        gcompris_bar_set(GCOMPRIS_BAR_CONFIG|GCOMPRIS_BAR_ABOUT);
                                                                             
+      gnome_canvas_update_now(gcomprisBoard->canvas);
        menu_pause(FALSE);
                                                                                  
}

It is stored in files/patch-src::boards::menu.c, I will attach the 
ports .sh file.

This is only needed for libcanvas 2.3 which is only in the marcuscom 
ports, as I could see.  In the official ports collection there is 2.2 
available.  For 2.2 this is not needed.  But how can I do that?

I don't know if that patch would also work with 2.2.  Maybe you can 
place this port in the marcuscom ports until you patch all your ports 
into the official collection?

Thanks for your help.

Martin


> Joe
> 
> >
> > Martin
> > _______________________________________________
> > freebsd-ports@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to 
> "freebsd-ports-unsubscribe@freebsd.org"
> --
> PGP Key : http://www.marcuscom.com/pgp.asc
> 
> 
> 

-- 
PGP-Key:  http://www.thats-me.net/pgp.asc
--T4sUOijqQbZv57TR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030424072407.GA411>