Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 440B692AE for ; Fri, 7 Oct 2011 14:57:01 +0000 (UTC) Received: (qmail 76628 invoked by uid 500); 7 Oct 2011 14:57:01 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 76576 invoked by uid 500); 7 Oct 2011 14:57:01 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 76568 invoked by uid 99); 7 Oct 2011 14:57:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 14:57:01 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [98.139.91.204] (HELO nm5-vm0.bullet.mail.sp2.yahoo.com) (98.139.91.204) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 07 Oct 2011 14:56:51 +0000 Received: from [98.139.91.63] by nm5.bullet.mail.sp2.yahoo.com with NNFMP; 07 Oct 2011 14:56:30 -0000 Received: from [98.139.91.51] by tm3.bullet.mail.sp2.yahoo.com with NNFMP; 07 Oct 2011 14:56:30 -0000 Received: from [127.0.0.1] by omp1051.mail.sp2.yahoo.com with NNFMP; 07 Oct 2011 14:56:30 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 271867.81574.bm@omp1051.mail.sp2.yahoo.com Received: (qmail 10279 invoked by uid 60001); 7 Oct 2011 14:56:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1317999389; bh=spa/KzlUZ5HjydZ36x6TAJ/wZ7egm8sr3LN3xfmagrc=; h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=paNRWsgy/xXfcksae5ajwt84Oj0pH9AJzLJIUPJm6/wIpAWFISlKgfvbuBxEBX+HVqFLDVYC78Hh72ri4N29S+peoFSm8A0klxf7cmu0zZLInRg7wgG5elZ5l05IEqEEnPDLEocOu0W7o4zsg4uE5m46pD0eSfsSLCo16zkg0JU= X-YMail-OSG: oOHIA28VM1n3Y1BnStKx0YAXZJoUrqdOGLXxOc7JNTFG8PV finBMCLh.Tz_tQ7bsMEH.xhucIJOTrYHr8c4cCOZFmnvEXPKBo2U3WT4PNRK JvIiQ1CSPK.X57WzyWCDKp8pmuPOOJzk6NDOMLc1DitL8WZtLNOtQXNzHvlS RXQaJ5LFNkzJpQUZPvjsojK1u1mXd.v_FTZ2vPgssdw4pkM9N_U0qdBB5gmt 67qL0DQ_QwMDTcrqJu.Ok02h12fPLsR08OwsLwCbsCpJ6xdUzLJjiTW5ZjcS bPVNh86z87x4UBwyjJUt.mwcb54LEOg8.j19D1YOJyT3obbbZ6n4PuGq0d0R jxA77pdNDvgkVOzy45xbHpmv.vTNI6qK9Gz8iwKj.Mao26xhky0ReQkTQ3Ao 6tVW9s4OMwwwMA.x24QBLqL2j1T4spZD_R8ImneyCEw1DdemOjHfWDXzQS70 GN_ZFOOrIMk09jaB2of0DgUyL.gKyLCRQSMiWcyiVZWo2ft3.vDy.DK_7_C0 kgtsZWlZJGsPjzeDjaTbjQmuxFSWrUM.8QnwEAaZhjSZ.mMOrElLN4Z6MjJN dRcnFNsaX5to8FFVLGQtI6XZP8vZWoHHDw82bDHUbp16JHG9THtU2..veWxz RTHpUD6UYY5KZycAFQGnEoEDplas57LBvcbJqXLaR6kP7A.83bC2ZtVExhhn gfEY2YUEL.JHSPNB_SscFCC5xnj4CfUMmt2nR75ft2pnb3D.Uc1xsdmxOjvh 3e3NFtUb0lggMgEcfe46qCt925.x6gSw79hs36gDK7Sa4abuKOs2zP3Sko99 I1fqzdQi53aviayDJ1BS2nSLfmQCRe1DCZhU2 Received: from [200.118.157.7] by web113509.mail.gq1.yahoo.com via HTTP; Fri, 07 Oct 2011 07:56:29 PDT X-RocketYMMF: giffunip X-Mailer: YahooMailClassic/14.0.7 YahooMailWebService/0.8.114.317681 Message-ID: <1317999389.93521.YahooMailClassic@web113509.mail.gq1.yahoo.com> Date: Fri, 7 Oct 2011 07:56:29 -0700 (PDT) From: Pedro Giffuni Reply-To: pfg@apache.org Subject: Re: [CODE] gtk system tray icon and libegg To: ooo-dev@incubator.apache.org In-Reply-To: <20111006081156.GA2836@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello ariel;=0A=0A--- On Thu, 10/6/11, Ariel Constenla-Haile wrote:=0A...=0A> Hi there,=0A> =0A> the GTK system tray= is broken:=0A> =0A> 1) ENABLE_QUICKSTART_APPLET is not defined, so=0A> Shu= tdownIcon::IsQuickstarterInstalled()=0A> =A0=A0=A0returns false, instead of= trying to load=0A> libqstart_gtk.so=0A> =A0=A0=A0http://svn.apache.org/vie= wvc/incubator/ooo/trunk/main/sfx2/source/appl/shutdownicon.cxx?view=3Dmarku= p#l769=0A> =0A> 2) ENABLE_SYSTRAY_GTK is not defined, so the plugin library= =0A> name is not=0A> =A0=A0=A0defined=0A> =A0=A0=A0http://svn.apache.org/vi= ewvc/incubator/ooo/trunk/main/sfx2/source/appl/shutdownicon.cxx?view=3Dmark= up#l96=0A> =A0=A0=A0http://svn.apache.org/viewvc/incubator/ooo/trunk/main/s= fx2/source/appl/shutdownicon.cxx?view=3Dmarkup#l159=0A> =0A> 3) the library= name should be modified, due to changes in=0A> the DLLPOSTFIX;=0A> =A0=A0= =A0and should not be a string, because it is=0A> stringified (or PLUGIN_NAM= E=0A> =A0=A0=A0could be defined in the Makefile)=0A> =0A> 4) the GTK system= tray depends on libegg, a LGPL v2+=0A> library. Quite=0A> =A0=A0=A0strange= the library is build but not=0A> installed. This causes that the=0A> =A0= =A0=A0libqstart_gtk.so cannot be loaded.=0A> =A0=A0=A0libegg is copy-left, = so it should be=0A> replaced by GtkStatusIcon=0A> =A0=A0=A0(requires at mos= t gtk 2.16)=0A> =A0=A0=A0http://developer.gnome.org/gtk/2.24/GtkStatusIcon.= html=0A> =A0=A0=A0This looks like an easy task.=0A> =0A=0AFWIW, libegg is i= ndeed something we have to get rid of, not=0Aonly due to the license issue = but because it looks like it's=0Adeprecated: the code was made part of gtk = and has been=0Achanging a lot since then. I looks like the code we have is= =0Anot available independently so using the functionality in=0AGTK is the w= ay to go.=0A=0A> 5) trunk/main/sfx2/source/appl/shutdowniconunx.cxx has no= =0A> license=A0header. Is this file in the software=0A> grant? =0A> =A0=A0= =A0Looking at the hg log, it comes from:=0A> =0A> changeset:=A0=A0=A0174966= :ddd13100457e=0A> user:=A0 =A0 =A0 =A0 kz=0A> date:=A0 =A0 =A0 =A0 Fri Oct = 06 10:39:32 2006=0A> +0000=0A> files:=A0 =A0=0A> =A0=A0=A0sfx2/source/appl/= shutdowniconunx.cxx=0A> description:=0A> INTEGRATION: CWS gtkquickstart (1.= 1.2); FILE ADDED=0A> 2006/08/01 10:59:27 mmeeks 1.1.2.2: Issue number: i#57= 872#=0A> Submitted by: mmeeks=0A> Warning fixes.=0A> 2006/08/01 10:57:04 mm= eeks 1.1.2.1: #i57872#=0A> gtk systray quickstarter=0A> =0A> https://issues= .apache.org/ooo/show_bug.cgi?id=3D57872=0A> first comment says something ab= out JCAs, but I don't get=0A> it.=0A>=0A=0AMy guess is that mmeeks signed a= JCA for his code and=0Awas even willing to get a JCA for libegg too. His c= ode=0Ashould be covered by the grant but I have no idea what=0Athe lawyers = will do since there is no copyright header=0A(probably just be conservative= and say no).=0AThere is an initial grant already but I forgot where it=0Ai= s.=0A=0A> Attached patch solves (1) and (2) but is useless until=0A> knowin= g the status of (5) and then fixing (4).=0A>=0A=0AI think a patch for (4) w= ould be the way to go. I am in=0Ano position to review your patches for (1)= and (2),=0Ahopefully someone else can.=0A=0AThanks for the research!=0A=0A= Pedro.