<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>94731</bug_id>
          
          <creation_ts>2005-06-01 06:00 0000</creation_ts>
          <short_desc>kdeutils fails compilation if pbbuttonsd &gt;= 0.6.8 is installed</short_desc>
          <delta_ts>2005-08-04 07:58:20 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>KDE</component>
          <version>unspecified</version>
          <rep_platform>PPC</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>https://bugs.kde.org/show_bug.cgi?id=104517</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>josejx@gentoo.org</reporter>
          <assigned_to>kde@gentoo.org</assigned_to>
          <cc>michael.kiermaier@gmx.net</cc>
    
    <cc>ppc@gentoo.org</cc>
    
    <cc>pylon@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2005-06-01 06:00:07 0000</bug_when>
            <thetext>As I explained in the kde bug above, pbbuttonsd changed its function for starting the ipc.  With versions of pbbuttonsd &gt;= 0.6.8, kdeutils fails when compiling powerbook2.  The attached patch fixes the problem, but makes kdeutils dependent on pbbuttonsd &gt;= 0.6.8.

If you need more details, please let me know.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2005-06-01 06:01:53 0000</bug_when>
            <thetext>Created an attachment (id=60357)
This patch applies cleanly to 3.4.0 and 3.4.1
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2005-06-01 14:21:24 0000</bug_when>
            <thetext>Moreover I wonder why kdeutils is marked ppc, but the dependency is missing at
all. The kde herd is small and x86/amd64 only, we rely on you spotting such
minor missing dependencies.

When will pbbuttonsd 0.6.8 go stable?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2005-06-01 14:24:11 0000</bug_when>
            <thetext>s/marked ppc/keyworded ppc</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2005-06-01 21:15:51 0000</bug_when>
            <thetext>It&apos;s not a hard dependency.  If pbbuttonsd isn&apos;t present, it doesn&apos;t build the
powerbook libraries.  At least that&apos;s what it looks like from the config files
and this would explain the lack of bug reports on it.  So, it&apos;s perfectly
understandable that ppc missed it as a dependency as well.  Only portable Apple
laptops use this package, and kdeutils builds fine without pbbuttonsd, just
without powerbook support.  Non-laptop ppc machines should not depend on
pbbuttonsd, so we probably need a use flag for it.

I don&apos;t think that pbbuttonsd-0.6.8 will go stable soon, as we&apos;re working on a
crash bug with versions 0.6.8 - 0.6.10 and I&apos;m not sure when this will be
resolved.  I created this bug as an FYI, this is a problem, here is the fix.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2005-06-02 07:20:52 0000</bug_when>
            <thetext>&gt; It&apos;s not a hard dependency.

So it needs to become one, optionalised by a use flag. Untracked depedencies are
the worst next to boken autodetection code in build scripts, overriding
configure flags. Joe, we really need to track _all_ dependencies of _all_
ebuilds in a determinist way, otherwise we&apos;ll never see a Portage version with
proper reverse dependency tracking.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2005-06-02 08:55:47 0000</bug_when>
            <thetext>Look, I&apos;m not arguing with you, no need to get all worked up.  I don&apos;t use KDE.
 A user pointed out the problem and we&apos;re fixing it.  I suggested that we use a
USE flag in my previous post, I&apos;m *agreeing* with you.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2005-06-02 17:02:44 0000</bug_when>
            <thetext>O.k., o.k. ;) Is a &quot;powerbook&quot; use flag fine then? Or does it work with iBooks,
too and e.g. &quot;apple-laptop&quot; would be more appropriate?


for reference: https://bugs.kde.org/show_bug.cgi?id=104517</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2005-06-02 19:39:33 0000</bug_when>
            <thetext>Well, I&apos;d probably use &quot;pbbuttonsd&quot; as there is still support for pmu (Apple&apos;s
version of apm) without pbbuttonsd.  pbbuttonsd support allows the use of the
special buttons, such as volume and sound.  The powerbook2 module provides
visual feedback to the user when these buttons are pressed in KDE.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2005-06-03 00:47:21 0000</bug_when>
            <thetext>pbbuttonsd should be good, as ibooks users usually use that, too. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2005-07-03 08:56:07 0000</bug_when>
            <thetext>*** Bug 97802 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2005-07-03 09:51:44 0000</bug_when>
            <thetext>FYI the upstream patch has support for all versions of pbbuttonsd.  If we
include this patch instead and add the pbbuttonsd useflag we can close this bug now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2005-07-03 09:56:52 0000</bug_when>
            <thetext>Created an attachment (id=62553)
Updated patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2005-07-03 10:37:56 0000</bug_when>
            <thetext>We can. But I don&apos;t like to name the use flag &quot;pbbuttonsd&quot;. Imho use flags
should be as abstract as possible, so they can be reused. We have already too
much crappy named and even redundant use flags, making Portage far more complex
than necessary. 

Fear the bloated Gentoo! It won&apos;t be the most speedy penguin anymore. :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2005-07-03 11:05:05 0000</bug_when>
            <thetext>Well, what do you suggest then?  I don&apos;t want to make it conditional on ppc
since non laptop users don&apos;t need pbbuttonsd at all.  We can&apos;t use
powerbook/ibook because both use pbbuttonsd.  If there was an existing laptop
use flag, I would suggest use ppc &amp;&amp; use laptop but since there isn&apos;t, it would
be just as wasteful to add one.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2005-07-26 07:50:48 0000</bug_when>
            <thetext>Carsten, would you like me to just apply the patch myself?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>greg_g@gentoo.org</who>
            <bug_when>2005-07-26 09:18:40 0000</bug_when>
            <thetext>At this point we can just wait a couple of days for kde 3.4.2, which includes 
the patch for pb_monitor.cpp and will be also patched to have a 
--with-powerbook/--without-powerbook switch. Then you can add there the 
optional dependency on pbbuttonsd with a USE flag to be decided. 
 </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>greg_g@gentoo.org</who>
            <bug_when>2005-07-30 02:56:40 0000</bug_when>
            <thetext>kde 3.4.2 is in portage now, feel free to add an USE flag and a dependency on   
pbbuttonsd to kde-base/kdeutils and kde-base/kmilo. 
 </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2005-08-04 07:58:20 0000</bug_when>
            <thetext>Fixed in CVS, thanks!</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>60357</attachid>
            <date>2005-06-01 06:01 0000</date>
            <desc>This patch applies cleanly to 3.4.0 and 3.4.1</desc>
            <filename>kdeutils-3.4.0-pbbuttonsd-fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGttaWxvL3Bvd2VyYm9vazIvcGJfbW9uaXRvci5jcHAuYmFrCTIwMDUtMDUtMjcgMDk6MjA6
MDguMDAwMDAwMDAwIC0wNDAwCisrKyBrbWlsby9wb3dlcmJvb2syL3BiX21vbml0b3IuY3BwCTIw
MDUtMDUtMjcgMDk6MTk6NTcuMDAwMDAwMDAwIC0wNDAwCkBAIC02NSw3ICs2NSw3IEBACiAKIGJv
b2wgUG93ZXJCb29rTW9uaXRvcjo6aW5pdCgpCiB7Ci0JcmV0dXJuICggaXBjX2luaXQoIExJQk1P
REVfQ0xJRU5ULCAxICkgPT0gMCApOworCXJldHVybiAoIGlwY19pbml0KCJQb3dlckJvb2tNb25p
dG9yIiwgTElCTU9ERV9DTElFTlQsIDEgKSA9PSAwICk7CiB9CiAKIAo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>62553</attachid>
            <date>2005-07-03 09:56 0000</date>
            <desc>Updated patch</desc>
            <filename>pbbutonsd.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGttaWxvL3Bvd2VyYm9vazIvcGJfbW9uaXRvci5jcHAuYmFrCTIwMDUtMDctMDMgMTI6NTQ6
MTguMDAwMDAwMDAwIC0wNDAwCisrKyBrbWlsby9wb3dlcmJvb2syL3BiX21vbml0b3IuY3BwCTIw
MDUtMDctMDMgMTI6NTU6MjcuMDAwMDAwMDAwIC0wNDAwCkBAIC02NSw3ICs2NSwxMiBAQAogCiBi
b29sIFBvd2VyQm9va01vbml0b3I6OmluaXQoKQogeworLy9wYmJ1dHRvbnMgMC42Ljcgb3IgbmV3
ZXIKKyNpZmRldiBDTElFTlRfUkVHSVNURVIKKwlyZXR1cm4gKCBpcGNfaW5pdCggImttaWxvIiwg
TElCTU9ERV9DTElFTlQsIENMSUVOVF9SRUdJU1RFUiApID09IDAgKTsKKyNlbHNlCiAJcmV0dXJu
ICggaXBjX2luaXQoIExJQk1PREVfQ0xJRU5ULCAxICkgPT0gMCApOworI2VuZGlmCiB9CiAKIAo=
</data>        

          </attachment>
    </bug>

</bugzilla>