Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KNotes
Commits
a24d98ae
Commit
a24d98ae
authored
Aug 27, 2021
by
Laurent Montel
😁
Browse files
Remove kcfg_generate_dbus_interface CMake macro copy
parent
85cf3485
Pipeline
#76767
passed with stage
in 7 minutes and 20 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
a24d98ae
...
...
@@ -107,9 +107,7 @@ endif()
set
(
KDEPIM_HAVE_X11
${
X11_FOUND
}
)
set
(
CMAKE_MODULE_PATH
${
knotes_SOURCE_DIR
}
/cmake/modules
${
ECM_MODULE_PATH
}
)
find_package
(
Xsltproc
)
set_package_properties
(
Xsltproc PROPERTIES DESCRIPTION
"XSLT processor from libxslt"
TYPE REQUIRED PURPOSE
"Required to generate D-Bus interfaces for all Akonadi resources."
)
set
(
CMAKE_MODULE_PATH
${
ECM_MODULE_PATH
}
)
include_directories
(
${
knotes_SOURCE_DIR
}
${
knotes_BINARY_DIR
}
)
...
...
cmake/modules/COPYING-CMAKE-SCRIPTS
deleted
100644 → 0
View file @
85cf3485
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cmake/modules/FindXsltproc.cmake
deleted
100644 → 0
View file @
85cf3485
# Find xsltproc executable and provide a macro to generate D-Bus interfaces.
#
# The following variables are defined :
# XSLTPROC_EXECUTABLE - path to the xsltproc executable
# Xsltproc_FOUND - true if the program was found
#
find_program
(
XSLTPROC_EXECUTABLE xsltproc DOC
"Path to the xsltproc executable"
)
mark_as_advanced
(
XSLTPROC_EXECUTABLE
)
if
(
XSLTPROC_EXECUTABLE
)
set
(
Xsltproc_FOUND TRUE
)
# We depend on kdepimlibs, make sure it's found
if
(
NOT DEFINED KF5Akonadi_DATA_DIR
)
find_package
(
KF5Akonadi REQUIRED
)
endif
()
# Macro to generate a D-Bus interface description from a KConfigXT file
macro
(
kcfg_generate_dbus_interface _kcfg _name
)
add_custom_command
(
OUTPUT
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
_name
}
.xml
COMMAND
${
XSLTPROC_EXECUTABLE
}
--stringparam interfaceName
${
_name
}
${
KF5Akonadi_DATA_DIR
}
/kcfg2dbus.xsl
${
_kcfg
}
>
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
_name
}
.xml
DEPENDS
${
KF5Akonadi_DATA_DIR
}
/kcfg2dbus.xsl
${
_kcfg
}
)
endmacro
()
endif
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment