Date: Wed, 16 Jun 2004 15:04:58 -0500 (CDT) From: "Paul Seniura" <pdseniura@techie.com> To: <FreeBSD-gnats-submit@freebsd.org> Cc: freebsd-gnome@freebsd.org Message-ID: <20040616200458.8A5CF5C94@techpc04.okladot.state.ok.us>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: "Paul Seniura" <pdseniura@techie.com> >Organization: State of Okla. D.O.T. >Confidential: no >Synopsis: [PATCH] net/gnomemeeting: a possible work-around for compile problems on -Current >Severity: serious >Priority: medium >Category: ports >Class: change-request >Release: FreeBSD 5.2-CURRENT i386 >Environment: System: FreeBSD techpc04.okladot.state.ok.us 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Jun 15 01:48:20 CDT 2004 root@techpc04.okladot.state.ok.us:/usr/obj/src/sys/IBM300SY_4BSD_Os i386 >Description: Several people have mentioned problems with compiling gnomemeeting. I've seen it, too. My log shows this: [...] ================ Final configuration =================== Installing into prefix: /usr/X11R6 OpenH323 Include Directory is : /src/ports/net/gnomemeeting/../openh323/work/openh323/include OpenH323 Libraries Directory is : /src/ports/net/gnomemeeting/../openh323/work/openh323/lib PTLIB Include Directory is : /src/ports/net/gnomemeeting/../../devel/pwlib/work/pwlib/include/ptlib PTLIB Libraries Directory is : /src/ports/net/gnomemeeting/../../devel/pwlib/work/pwlib/lib Quicknet support : disabled SDL Fullscreen support : enabled OS Type : freebsd5.2 Machine Type : i386 If all settings are OK, type make and make install ======================================================== ===> Building for gnomemeeting-0.98.5_3 gmake all-recursive gmake[1]: Entering directory `/src/ports/net/gnomemeeting/work/gnomemeeting-0.98.5' [...] c++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\" -I../src -I../lib -I../lib/widgets -I../lib/xdap -I/src/ports/net/gnomemeeting/../../devel/pwlib/work/pwlib/include/ptlib/unix -I/src/ports/net/gnomemeeting/../../devel/pwlib/work/pwlib/include/ptlib/.. -I/src/ports/net/gnomemeeting/../../devel/pwlib/work/pwlib/include/ptlib/../ptclib -I/src/ports/net/gnomemeeting/../openh323/work/openh323/include -DP_FREEBSD=400001 -O2 -Wall -DPHAS_TEMPLATES -DP_USE_PRAGMA -DPTRACING -DSTATIC_LIBS_USED -DORBIT2=1 -D_REENTRANT -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/orbit-2.0 -I/usr/local/include/libxml2 -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libart-2.0 -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/X11R6/ include/gconf/2 -I/usr/X11R6/include/libgnome-2.0 -I/usr/X11R6/include/gnome-vfs-2.0 -I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/libbonoboui-2.0 -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -DHAS_SDL -DGNOMEMEETING_IMAGES=\""/usr/X11R6/share/gnome/pixmaps"\" -DSCHEMA_AGE=26 -DDATADIR=\""/usr/X11R6/share/gnome"\" -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -I/usr/local/include -c gnomemeeting.cpp In file included from /src/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/videoio.h:113, from /src/ports/devel/pwlib/work/pwlib/include/ptlib/video.h:89, from /src/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/video.h:66, from /src/ports/devel/pwlib/work/pwlib/include/ptlib.h:269, from common.h:45, from gnomemeeting.h:42, from gnomemeeting.cpp:41: /usr/include/machine/ioctl_meteor.h:33:2: warning: #warning Include dev/bktr/ioctl_meteor.h instead of this header. In file included from gnomemeeting.cpp:55: ../lib/widgets/history-combo.h:61: error: 'GtkCombo' is used as a type, but is not defined as a type. ../lib/widgets/history-combo.h:69: error: 'GtkComboClass' is used as a type, but is not defined as a type. gnomemeeting.cpp: In member function `void GnomeMeeting::Connect()': gnomemeeting.cpp:184: error: `GTK_COMBO' undeclared (first use this function) gnomemeeting.cpp:184: error: (Each undeclared identifier is reported only once for each function it appears in.) gnomemeeting.cpp: In member function `void GnomeMeeting::BuildGUI()': gnomemeeting.cpp:487: error: `gtk_timeout_add' undeclared (first use this function) /src/ports/devel/pwlib/work/pwlib/include/ptlib/pdirect.h: At global scope: /src/ports/devel/pwlib/work/pwlib/include/ptlib/pdirect.h:458: warning: inline function `static BOOL PDirectory::Remove(const PString&)' used but never defined gmake[2]: *** [gnomemeeting.o] Error 1 gmake[2]: Leaving directory `/src/ports/net/gnomemeeting/work/gnomemeeting-0.98.5/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/src/ports/net/gnomemeeting/work/gnomemeeting-0.98.5' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /src/ports/net/gnomemeeting. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade43992.52 make ** Fix the problem and try again. ---> Build of net/gnomemeeting ended at: Wed, 16 Jun 2004 10:00:31 -0500 (consumed 00:02:26) ---> Upgrade of net/gnomemeeting ended at: Wed, 16 Jun 2004 10:00:31 -0500 (consumed 00:02:26) [...] ---> Packages processed: 1 done, 103 ignored, 0 skipped and 1 failed ---> Session ended at: Wed, 16 Jun 2004 10:12:37 -0500 (consumed 00:16:03) Wed Jun 16 10:12:37 CDT 2004 >How-To-Repeat: Upgrade the port on -Current. >Fix: Digging thru the maillist archives, it seems this particular problem has been occurring since April 2004 (maybe before). Joe Marcus Clarke mentioned the following on April 15: > You'd have to remove the DISABLE_DEPRECATED stuff. However, I would try > to get Roger to port the newer version of gnomemeeting (if possible). (the above is a quote from the message at <http://docs.FreeBSD.org/cgi/mid.cgi?1082065354.63773.0.camel>) I found where we need to remove the stuff is in the original project's sources. The FreeBSD ports Makefile can do this automatically after applying this patch: === cut here === --- Makefile_orig Mon Jun 14 00:53:39 2004 +++ Makefile Wed Jun 16 13:53:49 2004 @@ -27,6 +27,7 @@ USE_GNOME= libgnomeui libbonobo gnomeprefix gnomehack USE_OPENLDAP= yes USE_BISON= yes +USE_REINPLACE= yes # Clear configure target so we stop getting binaries prefixed with i386-portbld-freebsd46 CONFIGURE_TARGET= GNU_CONFIGURE= YES @@ -45,4 +46,12 @@ --with-openldap-libs=${LOCALBASE}/lib MAN1= gnomemeeting.1 -.include <bsd.port.mk> + +.include <bsd.port.pre.mk> + +post-patch: + ${REINPLACE_CMD} -E -e 's=-D[[:punct:][:alnum:]]+_DISABLE_DEPRECATED==g' \ + ${WRKSRC}/src/Makefile.am \ + ${WRKSRC}/src/Makefile.in + +.include <bsd.port.post.mk> === cut here === At least it compiles & installs now. I have no way to test the app, tho. I had installed the mega-port for Gnome2 many months ago when gnomemeeting was a required piece. Portupgrade has been griping about it, tho, for several months. I'm hoping to show TPTB how we can do net-meetings "for free", so I'd like to have this app working whenever we "get there". ;) Hope this helps. -- thx, Paul Seniura System Specialist State of Okla. D.O.T.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040616200458.8A5CF5C94>