Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305229 - media-tv/xbmc-9999 has optional webserver support
Summary: media-tv/xbmc-9999 has optional webserver support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 332315 (view as bug list)
Depends on: 224165
Blocks:
  Show dependency tree
 
Reported: 2010-02-15 12:02 UTC by Jan Vansteenkiste
Modified: 2010-08-14 17:56 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Vansteenkiste 2010-02-15 12:02:41 UTC
Looks like xbmc required an additional library.

I found net-libs/libmicrohttpd-0.4.5 in the zugaina overlay and am currently testing to see if that works.

Reproducible: Always
Comment 1 hal 2010-02-15 13:47:50 UTC
(In reply to comment #0)
> Looks like xbmc required an additional library.
> 
> I found net-libs/libmicrohttpd-0.4.5 in the zugaina overlay and am currently
> testing to see if that works.
> 
> Reproducible: Always
> 

(In reply to comment #0)
> Looks like xbmc required an additional library.
> 
> I found net-libs/libmicrohttpd-0.4.5 in the zugaina overlay and am currently
> testing to see if that works.
> 
> Reproducible: Always
> 

there is also a request on the bugtracker to get libmicrohttpd into the official portage tree: http://bugs.gentoo.org/show_bug.cgi?id=224165

yesterday i posted a slightly modified ebuild (path to sources) over there. libmicrohttpd was built fine (local overlay) and xbmc compiled fine, too.

Comment 2 Cameron Tacklind 2010-02-26 19:14:25 UTC
You can also disable webserver support in xbmc to get past this dependancy:

--- /usr/portage/media-tv/xbmc/xbmc-9999.ebuild 2010-01-25 06:07:03.000000000 -0800
+++ /usr/local/portage/media-tv/xbmc/xbmc-9999.ebuild   2010-02-23 01:24:02.000000000 -0800
@@ -157,6 +157,7 @@
        econf \
                --disable-ccache \
                --disable-optimizations \
+               --disable-webserver \
                --enable-external-libraries \
                --enable-goom \
                --enable-gl \

I see a new use flag in the future. However I cannot say that this works %100 since I'm caught up in the `doins -r "${S}"/web/*/styles/*/ || die`
Comment 3 SpanKY gentoo-dev 2010-03-07 06:30:56 UTC
re-open once the dep gets added.  the webserver is disabled in the meantime.

http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.48&r2=1.49
Comment 4 Stijn Tintel 2010-03-29 09:53:25 UTC
libmicrohttpd, which is the only dependency to be able to build the webserver again, is in the zugaina overlay, and works fine with Xbmc-9999 and the webserver enabled.

Please have libmicrohttpd in portage ASAP, as XBMC is useless without webserver. (many remotes are controlling XBMC via HTTP).

Comment 5 metolic147 2010-04-26 18:11:37 UTC
I still have problems compiling with 9999 ebuild even with libmicrohttpd installed.

I got libmicrohttpd installed adding the ebuild to /usr/local/portage, then enabled the webserver commenting the "--disable-webserver \" line in the ebuild. Compilation fails near the end of the process, here's the output: http://pastebin.com/TUhBEfCR

here's "emerge --info" http://pastebin.com/MTW7UaQz

here's "emerge -pv xbmc":

[ebuild   R   ] media-tv/xbmc-9999  USE="aac alsa sse sse2 vdpau xrandr (-altivec) -avahi -css -debug -joystick -midi -profile -pulseaudio" 0 kB


If I leave webserver disabled it compiles successfully.
Comment 6 hal 2010-04-26 22:25:23 UTC
i guess commenting with a "#" isn't a good idea, since "\" is a linebreak. just try to remove the entire line or set "--enable-webserver \". 
Comment 7 SpanKY gentoo-dev 2010-08-12 05:13:47 UTC
*** Bug 332315 has been marked as a duplicate of this bug. ***
Comment 8 Craig Andrews gentoo-dev 2010-08-14 16:40:52 UTC
libmicrohttpd is now in portage (bug 224165 has been resolved).

Can we re-open this bug and add the webserver use flag with the libmicrohttpd dependency?