FreeBSD Bugzilla – Attachment 164267 Details for
Bug 205339
[PATCH] x11/kdelibs4: add options
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add options to x11/kdelibs4
x11_kdelibs4.patch (text/plain), 3.00 KB, created by
Matthew Rezny
on 2015-12-15 13:18:43 UTC
(
hide
)
Description:
add options to x11/kdelibs4
Filename:
MIME Type:
Creator:
Matthew Rezny
Created:
2015-12-15 13:18:43 UTC
Size:
3.00 KB
patch
obsolete
>Index: x11/kdelibs4/Makefile >=================================================================== >--- x11/kdelibs4/Makefile (revision 403438) >+++ x11/kdelibs4/Makefile (working copy) >@@ -14,13 +14,11 @@ > LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ > libjasper.so:${PORTSDIR}/graphics/jasper \ > libpcre.so:${PORTSDIR}/devel/pcre \ >- libavahi-core.so:${PORTSDIR}/net/avahi-app \ > libenchant.so:${PORTSDIR}/textproc/enchant \ > libgif.so:${PORTSDIR}/graphics/giflib \ > libpng.so:${PORTSDIR}/graphics/png \ > libhal.so:${PORTSDIR}/sysutils/hal \ > libqca.so:${PORTSDIR}/devel/qca \ >- libHUpnp.so:${PORTSDIR}/net/hupnp \ > libpolkit-qt-core-1.so:${PORTSDIR}/sysutils/polkit-qt \ > libdbusmenu-qt.so:${PORTSDIR}/devel/libdbusmenu-qt \ > libgrantlee_gui.so:${PORTSDIR}/devel/grantlee >@@ -52,7 +50,6 @@ > -DWITH_ASPELL:BOOL=Off \ > -DWITH_HSPELL:BOOL=Off \ > -DWITH_UDev:BOOL=Off \ >- -DHUPNP_ENABLED:BOOL=On \ > -DKDE_DISTRIBUTION_TEXT:STRING="${OPSYS}" \ > -DKDE_DEFAULT_HOME:STRING=".kde4" > >@@ -64,6 +61,15 @@ > kio/proxytype.pl \ > kioslave/http/kcookiejar/kcookiescfg.pl > >+OPTIONS_DEFINE= AVAHI UPNP >+OPTIONS_DEFAULT=AVAHI >+ >+AVAHI_LIB_DEPENDS= libavahi-core.so:${PORTSDIR}/net/avahi-app >+ >+UPNP_DESC= UPnP backend for Solid (WARNING: Unstable) >+UPNP_LIB_DEPENDS= libHUpnp.so:${PORTSDIR}/net/hupnp >+UPNP_CMAKE_ON= -DHUPNP_ENABLED:BOOL=On >+ > post-patch: > ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ > ${PATCH_WRKSRC}/kde3support/kdeui/k3sconfig.cpp \ >Index: x11/kdelibs4/files/patch-solid__solid__managerbase.cpp >=================================================================== >--- x11/kdelibs4/files/patch-solid__solid__managerbase.cpp (revision 403438) >+++ x11/kdelibs4/files/patch-solid__solid__managerbase.cpp (nonexistent) >@@ -1,15 +0,0 @@ >---- ./solid/solid/managerbase.cpp.orig 2012-04-17 23:58:05.745260976 +0200 >-+++ ./solid/solid/managerbase.cpp 2012-04-18 00:00:48.605183174 +0200 >-@@ -90,7 +90,11 @@ >- # endif >- >- # if defined (HUPNP_FOUND) >-- m_backends << new Solid::Backends::UPnP::UPnPDeviceManager(0); >-+ bool solidUPnPEnabled >-+ = QString::fromLocal8Bit(qgetenv("SOLID_UPNP")).toInt()==1; >-+ if (solidUPnPEnabled) { >-+ m_backends << new Solid::Backends::UPnP::UPnPDeviceManager(0); >-+ } >- # endif >- } >- } >Index: x11/kdelibs4/pkg-message >=================================================================== >--- x11/kdelibs4/pkg-message (revision 403438) >+++ x11/kdelibs4/pkg-message (nonexistent) >@@ -1,14 +0,0 @@ >-====================================================================== >- >-Due to severe instability, the Solid UPnP backend was disabled. Thus, >-you will not get notifications about networked shares in the device >-notifier. The UPnP functionality can be re-enabled by setting the >-SOLID_UPNP environment variable: >- >-$ cat > ~/.kde4/env/upnp.sh << EOF >-SOLID_UPNP=1 >-export SOLID_UPNP >-EOF >-$ chmod +x ~/.kde4/env/upnp.sh >- >-======================================================================
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205339
: 164267