From kde-buildsystem Tue Aug 24 19:31:15 2010 From: "Friedrich W. H. Kossebau" Date: Tue, 24 Aug 2010 19:31:15 +0000 To: kde-buildsystem Subject: Re: Please review: cmake check for Cagibi Message-Id: <201008242131.17273.kossebau () kde ! org> X-MARC-Message: https://marc.info/?l=kde-buildsystem&m=128267833121466 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_F4BdMr5CbyHJVee" --Boundary-00=_F4BdMr5CbyHJVee Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mardi, le 24 ao=FBt 2010, =E0 21:23, vous avez =E9crit: > On Tuesday 24 August 2010, Friedrich W. H. Kossebau wrote: > > Mardi, le 24 ao=FBt 2010, =E0 20:40, vous avez =E9crit: > > So okay to commit the attached patch, both to trunk and 4.5 branch? >=20 > No, no. >=20 > Index: kdebase/runtime/cmake/modules/CMakeLists.txt > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- kdebase/runtime/cmake/modules/CMakeLists.txt (Revision 1157717) > +++ kdebase/runtime/cmake/modules/CMakeLists.txt (Arbeitskopie) > @@ -2,6 +2,7 @@ >=20 > # don't glob for the files, we don't want to install e.g. > FindLibKNotification-1.cmake > set(cmakeFiles FindCLucene.cmake > + FindCagibiDaemon.cmake > FindSLP.cmake) >=20 > set(module_install_dir ${DATA_INSTALL_DIR}/cmake/modules ) >=20 >=20 > Do you *really* want to install that file ? > I think that shouldn't be necessary. Alright. What about this attached version? :) =46riedrich =2D-=20 KDE Okteta - a simple hex editor - http://utils.kde.org/projects/okteta --Boundary-00=_F4BdMr5CbyHJVee Content-Type: text/x-patch; charset="utf-8"; name="addCheckForCagibiDaemon.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="addCheckForCagibiDaemon.patch" Index: kdebase/runtime/cmake/modules/FindCagibiDaemon.cmake =================================================================== --- kdebase/runtime/cmake/modules/FindCagibiDaemon.cmake (Revision 0) +++ kdebase/runtime/cmake/modules/FindCagibiDaemon.cmake (Revision 0) @@ -0,0 +1,15 @@ +# +# This module looks for the Cagibi daemon, +# a SSDP (Simple Service Discovery Protocol, used by UPnP) cache/proxy daemon +# http://websvn.kde.org/trunk/kdesupport/cagibi/ + +# It will define the following values +# +# CAGIBI_DAEMON_EXECUTABLE = the executable of the cagibi daemon +# CAGIBI_DAEMON_FOUND = set to 1 if cagibi daemon is found +# + +find_program(CAGIBI_DAEMON_EXECUTABLE NAMES cagibid) +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(Cagibi_DAEMON DEFAULT_MSG CAGIBI_DAEMON_EXECUTABLE) +mark_as_advanced(CAGIBI_DAEMON_FOUND CAGIBI_DAEMON_EXECUTABLE) Index: kdebase/runtime/CMakeLists.txt =================================================================== --- kdebase/runtime/CMakeLists.txt (Revision 1167176) +++ kdebase/runtime/CMakeLists.txt (Arbeitskopie) @@ -37,6 +37,11 @@ "OpenSLP" "SLP (Service Location Protocol) implementation" "http://www.openslp.org/" FALSE "" "Provides SLP support in the network:/ kioslave." ) +macro_optional_find_package(CagibiDaemon) +macro_log_feature( CAGIBI_DAEMON_FOUND + "Cagibi daemon" "SSDP (Simple Service Discovery Protocol, used by UPnP) cache/proxy daemon (RUNTIME DEPENDENCY)" "http://websvn.kde.org/trunk/kdesupport/cagibi/" FALSE + "0.1.1" "Provides UPnP device/service listing in the network:/ kio-slave." +) set(LIBATTICA_MIN_VERSION "0.1.4") find_package(LibAttica) --Boundary-00=_F4BdMr5CbyHJVee Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem --Boundary-00=_F4BdMr5CbyHJVee--