From root@techpc04.okladot.state.ok.us  Wed Jun 16 20:16:44 2004
Return-Path: <root@techpc04.okladot.state.ok.us>
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])
	by odot.okladot.state.ok.us (AIX4.3/8.9.3/8.9.2) with ESMTP id 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])
	by isdmon2.okladot.state.ok.us (8.12.6/8.12.6) with ESMTP id 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)
Message-Id: <20040616200458.8A5CF5C94@techpc04.okladot.state.ok.us>
Date: Wed, 16 Jun 2004 15:04:58 -0500 (CDT)
From: "Paul Seniura" <pdseniura@techie.com>
Sender: "Paul Seniura" <pdseniura@techie.com>
Reply-To: "Paul Seniura" <pdseniura@techie.com>
To: <FreeBSD-gnats-submit@freebsd.org>
Cc: <roger@freebsd.org>, <freebsd-gnome@freebsd.org>
Subject: [PATCH] net/gnomemeeting: a possible work-around for compile problems on -Current
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         68022
>Category:       ports
>Synopsis:       [PATCH] net/gnomemeeting: a possible work-around for compile problems on -Current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 16 20:20:21 GMT 2004
>Closed-Date:    Tue Feb 01 18:56:48 GMT 2005
>Last-Modified:  Tue Feb 01 18:56:48 GMT 2005
>Originator:     "Paul Seniura" <pdseniura@techie.com>
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
State of Okla. D.O.T.
>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.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->roger 
Responsible-Changed-By: mezz 
Responsible-Changed-When: Thu Jun 17 06:57:37 GMT 2004 
Responsible-Changed-Why:  
Hands over to roger. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68022 

From: "Peter Cornelius" <pcc@gmx.net>
To: freebsd-gnats-submit@freebsd.org, pdseniura@techie.com
Cc:  
Subject: Re: ports/68022: [PATCH] net/gnomemeeting: a possible work-around for compile problems on -Current
Date: Sat, 20 Nov 2004 22:03:28 +0100 (MET)

 Hi, Paul and Roger, 
  
 this is just a quick note to confirm that the patch for the Makefile that 
 Paul has provided does indeed render a usable version of gnomemeeting on 
 FreeBSD4-STABLE (FreeBSD petra.cornelius 4.10-STABLE FreeBSD 4.10-STABLE 
 #15: Mon Sep 13 18:42:25 CEST 2004  
 root@petra.cornelius:/usr/obj/usr/src/sys/PETRA  i386). I have just played 
 with it. 
  
 Thanks a lot and 
  
 All the best regards, 
  
 Peter. 
 
 -- 
 Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
 ++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++
Responsible-Changed-From-To: roger->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Dec 5 05:05:22 GMT 2004 
Responsible-Changed-Why:  
Reassign to pool; maintainer is away from FreeBSD work at the moment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68022 
State-Changed-From-To: open->closed 
State-Changed-By: kwm 
State-Changed-When: Tue Feb 1 18:56:30 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68022 
>Unformatted:
