Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2002 20:08:50 -0700
From:      "VVI hostmaster" <xavier@vvi.at>
To:        "'Joe Marcus Clarke'" <marcus@marcuscom.com>
Cc:        <freebsd-gnome@FreeBSD.ORG>
Subject:   RE: bonobo-1.0.18 gnomeprint-0.34  missing on ports and pkgs
Message-ID:  <000701c1f574$8399a2e0$39e1fcd0@xavier2>
In-Reply-To: <1020739419.343.23.camel@shumai.marcuscom.com>

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

I got a "Patch failed to apply cleanly error"

ursula# make
===>  Extracting for gnomemm-1.2.2
>> Checksum OK for gnomemm-1.2.2.tar.bz2.
===>   gnomemm-1.2.2 depends on executable: m4 - found
===>   gnomemm-1.2.2 depends on executable: gmake - found
===>   gnomemm-1.2.2 depends on executable: libtool - found
===>   gnomemm-1.2.2 depends on shared library: gtkmm.2 - found
===>   gnomemm-1.2.2 depends on shared library: X11.6 - found
===>   gnomemm-1.2.2 depends on shared library: esd.2 - found
===>   gnomemm-1.2.2 depends on shared library: glib12.3 - found
===>   gnomemm-1.2.2 depends on shared library: gtk12.2 - found
===>   gnomemm-1.2.2 depends on shared library: Imlib.5 - found
===>   gnomemm-1.2.2 depends on shared library: gnome.5 - found
===>   gnomemm-1.2.2 depends on shared library: capplet.5 - found
===>   gnomemm-1.2.2 depends on shared library: panel_applet.5 - found
===>  Patching for gnomemm-1.2.2
===>  Applying FreeBSD patches for gnomemm-1.2.2
2 out of 2 hunks failed--saving rejects to src/procbar.gen_h.rej
>> Patch patch-src_procbar.gen_h failed to apply cleanly.
>> Patch(es) patch-Makefile.in patch-aa applied cleanly.
*** Error code 1



Here is
src/procbar.gen_h.rej

***************
*** 42,48 ****
  
    ProcBar(const Gtk::Label &label,
  		const vector<Gdk_Color*> &colors,
- 		gint (*cb)());
  
    void set_values (const vector<unsigned> &values);
  
--- 42,48 ----
  
    ProcBar(const Gtk::Label &label,
  		const vector<Gdk_Color*> &colors,
+ 		gint (*cb)(gpointer));
  
    void set_values (const vector<unsigned> &values);
  
***************
*** 72,78 ****
  
  ProcBar::ProcBar(const Gtk::Label &label,
  			     const vector<Gdk_Color*> &colors,
- 			     gint (*cb)())
    : Gtk::HBox(GTK_HBOX(gtk_object_new(get_type(),0))),
      colors_(0)
  {
--- 72,78 ----
  
  ProcBar::ProcBar(const Gtk::Label &label,
  			     const vector<Gdk_Color*> &colors,
+ 			     gint (*cb)(gpointer))
    : Gtk::HBox(GTK_HBOX(gtk_object_new(get_type(),0))),
      colors_(0)
  {

Thanks
Jason

-----Original Message-----
From: Joe Marcus Clarke [mailto:marcus@marcuscom.com] 
Sent: Monday, May 06, 2002 7:44 PM
To: VVI hostmaster
Cc: freebsd-gnome@FreeBSD.ORG
Subject: Re: bonobo-1.0.18 gnomeprint-0.34 missing on ports and pkgs

On Mon, 2002-05-06 at 23:31, Joe Marcus Clarke wrote:
> On Sun, 2001-05-06 at 22:33, VVI hostmaster wrote:
> > Hi thanks Joe for the reply.
> > 
> > I have gotten far with the compile but I got stuck on gnomemm
> > 
> > If anyone has any ideas what is wrong please drop me a message cause
I
> > am not on the list.
> 
> Take the attached patch, copy it to x11-toolkits/gnome--/files
> (overwriting the one currently there), then make clean in gnome--, and
> try rebuilding.  See if this corrects your build problem.

Whoops, no patch.  Try now.

Joe

> 
> Joe
> 
> > 
> > Best Regards,
> > Jason
> > 
> > c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gnome--\" -I.
> > -I./.. -I.. -I../../src -I../../src -I../../src/gtk-- -I../../gdk--
> > -I/usr/X11R6/lib/gtkmm/include -I/usr/X11R6/include
> > -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
> > -I/usr/local/include -I/usr/X11R6/include/gnome-1.0
-I/usr/X11R6/include
> > -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include
> > -I/usr/X11R6/include/gtk12
> > -I/usr/local/include/glib12 -I/usr/local/include
> > -I/usr/X11R6/include/gnome-1.0
> > -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H
> > -I/usr/X11R6/lib/gnome-libs/include -I/usr/X11R6/include/gtk12
> > -I/usr/local/include/glib12 -I/usr/local/include -O -pipe -Wall
> > -Wno-unused -c procbar.cc  -fPIC -DPIC -o .libs/procbar.lo
> > procbar.cc: In method `Gnome::ProcBar::ProcBar(const Gtk::Label &,
const
> > vector<Gdk_Color *,allocator<Gdk_Color *> > &, gint (*)(void *))':
> > procbar.cc:23: ANSI C++ prohibits conversion from `(void *)' to
`(...)'
> > gmake[4]: *** [procbar.lo] Error 1
> > gmake[4]: Leaving directory
> > `/usr/ports/x11/gnome--/work/gnomemm-1.2.2/src/gnome--'
> > gmake[3]: *** [all-recursive] Error 1
> > gmake[3]: Leaving directory
> > `/usr/ports/x11/gnome--/work/gnomemm-1.2.2/src/gnome--'
> > gmake[2]: *** [all-recursive] Error 1
> > gmake[2]: Leaving directory
> > `/usr/ports/x11/gnome--/work/gnomemm-1.2.2/src'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory
`/usr/ports/x11/gnome--/work/gnomemm-1.2.2'
> > gmake: *** [all-recursive-am] Error 2
> > *** Error code 2
> > 
> > Stop in /usr/ports/x11/gnome--.
> > 
> > 
> > 
> > 
> > 
> > > From: Joe Marcus Clarke <marcus@marcuscom.com>
> > > Date: 06 May 2002 20:37:47 -0400
> > > To: Jason de Cordoba <jason@vvi.at>
> > > Cc: freebsd-gnome@FreeBSD.ORG
> > > Subject: Re: bonobo-1.0.18 gnomeprint-0.34  missing on ports and
pkgs
> > > 
> > > On Mon, 2002-05-06 at 20:50, Jason de Cordoba wrote:
> > >> Hi,
> > >> 
> > >> 1.
> > >> Trying to
> > >> /stand/sysinstall
> > >> 
> > >> Install package
> > >> x11/gnome
> > >> 
> > >> I get errors that dependent files gnomeprint-0.34  &
bonobo-1.0.18 
> > >> not found on ftp server
> > > 
> > > This is broken.  Do not build GNOME from packages.
> > > 
> > >> 
> > >> Also
> > >> 
> > >> 2.
> > >> Trying to pkg_add -r gnome on fbsd 4.5
> > >> 
> > >> I get errors that
> > >> 
> > >> pkg_add: could not find package bonobo-1.0.18 !
> > >> pkg_add: could not find package gnomeprint-0.34 !
> > >> pkg_add: could not find package libgda-0.2.93_2 !
> > >> pkg_add: could not find package gnomedb-0.2.93_3 !
> > >> pkg_add: could not find package gal-0.19 !
> > >> pkg_add: could not find package libglade-0.17_1 !
> > >> pkg_add: could not find package gtkhtml-1.0.1 !
> > >> pkg_add: pkg_add of dependency `gnomecore-1.4.0.4_3'
> > >> failed!
> > >> 
> > >> 
> > >> 
> > >> Also
> > >> 
> > >> 3.
> > >> after cvsup'ing my ports and then trying to install 
> > >> /usr/ports/x11/gnome
> > >> 
> > >> I also get errors of bonobo and gnomeprint is missing
> > > 
> > > Try deleting all the previously installed GNOME packages, then
make 
> > > everything from ports (i.e. cd /usr/ports/x11/gnome ; make clean 
> > > install).  If you run into problems, send the build logs.
> > > 
> > > Joe
> > > 
> > >> 
> > >> 
> > >> Please help I have a c programmer coming tomorrow that thinks
linux 
> > >> is kewl and he uses gnome!  ;o)
> > >> 
> > >> Best Regards,
> > >> Jason
> > >> 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c1f574$8399a2e0$39e1fcd0>