From owner-freebsd-gnome@FreeBSD.ORG Wed Jun 16 20:16:44 2004 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 0393616A4F7; Wed, 16 Jun 2004 20:16:43 +0000 (GMT) Received: from odot.okladot.state.ok.us (odot.okladot.state.ok.us [192.149.244.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id D39F443D48; Wed, 16 Jun 2004 20:16:41 +0000 (GMT) (envelope-from root@techpc04.okladot.state.ok.us) Received: from notes9c.okladot.state.ok.us (notes9c.okladot.state.ok.us [10.36.36.31])PAA15850; Wed, 16 Jun 2004 15:16:34 -0500 Received: from isdmon2.okladot.state.ok.us ([192.149.244.24]) by notes9c.okladot.state.ok.us (Lotus Domino Release 6.5.1) with ESMTP id 2004061615171719-26743 ; Wed, 16 Jun 2004 15:17:17 -0500 Received: from techpc04.okladot.state.ok.us (techpc04.okladot.state.ok.us [199.27.9.37])i5GKFThq052417; Wed, 16 Jun 2004 15:15:30 -0500 (CDT) (envelope-from root@techpc04.okladot.state.ok.us) Received: by techpc04.okladot.state.ok.us (Postfix, from userid 0) id 8A5CF5C94; Wed, 16 Jun 2004 15:04:58 -0500 (CDT) To: X-send-pr-version: 3.113 X-GNATS-Notify: From: "Paul Seniura" Errors-To: "Paul Seniura" Sender: "Paul Seniura" Message-Id: <20040616200458.8A5CF5C94@techpc04.okladot.state.ok.us> Date: Wed, 16 Jun 2004 15:04:58 -0500 (CDT) X-ODOT-MailScanner-Information: Please contact the Help Desk for more information X-ODOT-MailScanner: This E-mail appears not to contain malware. X-ODOT-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-7.1, required 5, BAYES_30 -1.60, FVGT_u_BZ_TLD 2.40, J_CHICKENPOX_12 1.00, MY_MTPARENS 0.44, PATCH_UNIFIED_DIFF -6.30, QUOTED_EMAIL_TEXT -3.20, RCVD_IN_ORBS 0.12, TW_BG 0.08) X-MIMETrack: Itemize by SMTP Server on Notes9c/ODOT(Release 6.5.1|January 21, 2004) at 06/16/2004 03:17:17 PM,at 06/16/2004 03:17:18 PM, Serialize complete at 06/16/2004 03:17:18 PM cc: roger@freebsd.org cc: freebsd-gnome@freebsd.org Subject: X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Seniura List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 20:16:45 -0000 >Submitter-Id: current-users >Originator: "Paul Seniura" >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 ) 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 + +.include + +post-patch: + ${REINPLACE_CMD} -E -e 's=-D[[:punct:][:alnum:]]+_DISABLE_DEPRECATED==g' \ + ${WRKSRC}/src/Makefile.am \ + ${WRKSRC}/src/Makefile.in + +.include === 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.