Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 118178
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tiziano Müller <dev-zero@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
kdnssd-avahi-0.1.2.ebuild kdnssd-avahi-0.1.2.ebuild text/plain Tiziano Müller 2006-01-08 05:58 0000 620 bytes Details
kdnssd-avahi-0.1.2.ebuild.txt kdnssd-avahi-0.1.2.ebuild text/plain Robin Perkins 2006-03-04 16:33 0000 620 bytes Details
kdnssd-avahi-0.1.2.ebuild kdnssd-avahi-0.1.2.ebuild text/plain Nathan Caldwell 2006-04-23 23:42 0000 773 bytes Details
kdelibs-3.5.2-r4.ebuild.diff kdelibs-3.5.2-r4.ebuild_kdnssd-avahi.diff patch Nathan Caldwell 2006-04-23 23:45 0000 1.54 KB Details | Diff
kdnssd-avahi-0.1.2-r1.ebuild kdnssd-avahi-0.1.2.ebuild text/plain Nathan Caldwell 2006-04-24 01:07 0000 837 bytes Details
kdelibs-3.5.2-r6_kdnssd-avahi.patch kdelibs-3.5.2-r6_kdnssd-avahi.patch patch Nathan Caldwell 2006-05-28 18:57 0000 1.61 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 118178 depends on: Show dependency tree
Bug 118178 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-07 05:55 0000
Today I compiled kdelibs using avahi-0.6.2 with the mdnsresponder-compat
use-flag set instead of the mDNSResponder ebuild.
It compiled and linked without problems.
If upstream doesn't include direct support for avahi in future versions, it
would be nice to have the dependency on mDSNResponder in kdelibs changed in the
way avahi could be used.
What do you think?

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-01-07 06:06:08 0000 -------
That it does not work, already tried.

------- Comment #2 From Tiziano Müller 2006-01-07 13:12:36 0000 -------
You're right. It doesn't work out of the box.
The kdnssd-avahi package from http://helios.et.put.poznan.pl/~jstachow/pub/ is
needed. Compilation was a bit of a problem (usual qt/3 problems), but it works
or at least "zeroconf:/" in konqueror works.

------- Comment #3 From Tiziano Müller 2006-01-08 05:56:36 0000 -------
I hope I do not get on your nerves, but I tried it and also made an ebuild for
kdnssd-avahi and it seems to work perfectly.
What was the problem, when you tried it?

------- Comment #4 From Tiziano Müller 2006-01-08 05:58:13 0000 -------
Created an attachment (id=76520) [details]
kdnssd-avahi-0.1.2.ebuild

This is the ebuild for kdnssd-avahi, which replaces mDNSResponder with avahi
support in kde.

------- Comment #5 From Diego E. 'Flameeyes' Pettenò 2006-01-08 06:02:54 0000 -------
Okay it might work with the other package then :)
For sure, it wasn't working out of the box.
But I'd rather wait to see what upstream says, kdnssd-avahi is in playground,
that means "no support from upstream".

------- Comment #6 From Robin Perkins 2006-03-04 16:33:51 0000 -------
Created an attachment (id=81356) [details]
Ebuild for kdnssd-avahi

'need-kde 3.5' needs to be inside the function src_compile() otherwise emerge
looks for kde v0.1.2 and not kde v3.5

------- Comment #7 From Robin Perkins 2006-03-12 03:37:47 0000 -------
(From update of attachment 81356 [details])
My patch doesn't work either. There is an issue with the need-kde command.
Outside the src_compile function (as in the original ebuild) I get the error:
emerge: there are no ebuilds to satisfy "~kde-base/kdelibs-0.1.2".
(dependency required by "kde-base/kdnssd-avahi-0.1.2" [ebuild])

With it inside the src_compile function (as with my patch) I get the error:
+ make install DESTDIR=/var/tmp/portage/kdnssd-avahi-0.1.2/image/
destdir=/var/tmp/portage/kdnssd-avahi-0.1.2/image/
make: *** No rule to make target 'install'. Stop.
...
!!! died running make install, kde_src_install:make
!!! if you need support, post the topmost build error, and the call stack if
relevant.

If i remove 'need-kde 3.5' all together then the libraries get installed to
/usr/lib instead of the required /usr/kde/3.5/lib/

(a manual copy seems to fix everything)

------- Comment #8 From Nathan Caldwell 2006-04-23 23:42:25 0000 -------
Created an attachment (id=85330) [details]
kdnssd-avahi-0.1.2.ebuild

Fixed the ebuild, hopefully someone that knows the kde eclass better than me
can make this prettier, but it works now.

------- Comment #9 From Nathan Caldwell 2006-04-23 23:45:22 0000 -------
Created an attachment (id=85331) [details]
kdelibs-3.5.2-r4.ebuild_kdnssd-avahi.diff

Here's a patch to the kdelibs-3.5.2-r4 ebuild that has the proper dependencies
for kdnssd-avahi.

------- Comment #10 From Nathan Caldwell 2006-04-24 01:07:10 0000 -------
Created an attachment (id=85337) [details]
kdnssd-avahi-0.1.2.ebuild

Forgot to handle the arts and kdeenablefinal USE flags.

------- Comment #11 From Robin Perkins 2006-05-13 20:25:35 0000 -------
(In reply to comment #9)
> Created an attachment (id=85331) [edit] [details]
> kdelibs-3.5.2-r4.ebuild_kdnssd-avahi.diff
> 
> Here's a patch to the kdelibs-3.5.2-r4 ebuild that has the proper dependencies
> for kdnssd-avahi.
> 

Should the last part of that  patch read:

if (use zeroconf || use avahi); then
     myconf="${myconf} --enable-dnssd"
else
     myconf="${myconf} --disable-dnssd"
fi

------- Comment #12 From Nathan Caldwell 2006-05-14 23:05:57 0000 -------
(In reply to comment #11)
> Should the last part of that  patch read:
> 
> if (use zeroconf || use avahi); then
>      myconf="${myconf} --enable-dnssd"
> else
>      myconf="${myconf} --disable-dnssd"
> fi
> 

No, because that would use the zeroconf support built into kdelibs instead of
the avahi support the new kdnssd-avahi package provides.

------- Comment #13 From Nathan Caldwell 2006-05-28 18:57:07 0000 -------
Created an attachment (id=87773) [details]
kdelibs-3.5.2-r6_kdnssd-avahi.patch

Patch against the kdelibs-3.5.2-r6 ebuild to support kdnssd-avahi

------- Comment #14 From Malte S. Stretz 2006-09-29 05:31:02 0000 -------
Is there any chance to get Avahi support integrated into the 3.5.4 ebuils?  As
the KDE team is concentrating on KDE4 now, chances that kdnssd-avahi will be
included in kdelibs3 or whatever are IMO pretty low.

Updated DEPENDs to allow avahi would be cool, I'd test the avahi-enabled
ebuilds :)

I'm not sure, but I think this <http://bugs.kde.org/show_bug.cgi?id=134212>
patch will be needed.

------- Comment #15 From Stuart Longland 2006-11-04 23:03:04 0000 -------
I've found that USE=mdnsresponder-compat makes little difference to KDE's use
of Avahi, it seems to ignore it regardless.

That said, with the kdnssd-avahi package, all is happy.  Is it worth poking
upstream again on this?  I run a dual-stack IPv4/IPv6 network, and as long as
mDNSResponder lacks IPv6 support, I cannot use it on my network.

------- Comment #16 From Diego E. 'Flameeyes' Pettenò 2006-11-05 02:19:31 0000 -------
I'll be taking care of this as soon as I have time, but right now is likely to
be next week..

------- Comment #17 From Diego E. 'Flameeyes' Pettenò 2006-11-17 09:42:38 0000 -------
Will take care of it now, although the kdnssd-avahi ebuild I rewrote for the
most part.

------- Comment #18 From Diego E. 'Flameeyes' Pettenò 2006-11-17 10:42:56 0000 -------
Thanks Nathan, all in portage now :)

------- Comment #19 From Nathan Caldwell 2006-11-17 20:23:23 0000 -------
(In reply to comment #18)
> Thanks Nathan, all in portage now :)
> 

So that's the correct way to do that. Much simpler :)
Good to see this is in portage now!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug