Hello community, here is the log from the commit of package lxqt-build-tools for openSUSE:Factory checked in at 2020-11-04 18:27:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lxqt-build-tools (Old) and /work/SRC/openSUSE:Factory/.lxqt-build-tools.new.11331 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxqt-build-tools" Wed Nov 4 18:27:50 2020 rev:7 rq:845993 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lxqt-build-tools/lxqt-build-tools.changes 2020-04-28 22:29:56.541481945 +0200 +++ /work/SRC/openSUSE:Factory/.lxqt-build-tools.new.11331/lxqt-build-tools.changes 2020-11-04 18:32:30.132133088 +0100 @@ -1,0 +2,9 @@ +Wed Nov 4 13:15:13 UTC 2020 - Michael Vetter <mvet...@suse.com> + +- Update to 0.8.0: + * Removed version checks for some LXQt dependencies. + * Added a Fontconfig CMake find module. + * Suppressed warning about find_package_handle_standard_args + package name mismatch. + +------------------------------------------------------------------- Old: ---- lxqt-build-tools-0.7.0.tar.xz lxqt-build-tools-0.7.0.tar.xz.asc New: ---- lxqt-build-tools-0.8.0.tar.xz lxqt-build-tools-0.8.0.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxqt-build-tools.spec ++++++ --- /var/tmp/diff_new_pack.juCqVQ/_old 2020-11-04 18:32:30.756131705 +0100 +++ /var/tmp/diff_new_pack.juCqVQ/_new 2020-11-04 18:32:30.756131705 +0100 @@ -1,7 +1,7 @@ # # spec file for package lxqt-build-tools # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: lxqt-build-tools -Version: 0.7.0 +Version: 0.8.0 Release: 0 Summary: Core build tools for LXQt License: BSD-3-Clause ++++++ lxqt-build-tools-0.7.0.tar.xz -> lxqt-build-tools-0.8.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-build-tools-0.7.0/CHANGELOG new/lxqt-build-tools-0.8.0/CHANGELOG --- old/lxqt-build-tools-0.7.0/CHANGELOG 2020-04-21 19:02:33.000000000 +0200 +++ new/lxqt-build-tools-0.8.0/CHANGELOG 2020-10-30 14:17:17.000000000 +0100 @@ -1,3 +1,9 @@ +lxqt-build-tools-0.8.0 / 2020-11-01 +=================================== + * Removed version checks for some LXQt dependencies. + * Added a Fontconfig CMake find module. + * Suppressed warning about find_package_handle_standard_args package name mismatch. + lxqt-build-tools-0.7.0 / 2020-04-21 =================================== * Bump version to 0.7.0. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-build-tools-0.7.0/CMakeLists.txt new/lxqt-build-tools-0.8.0/CMakeLists.txt --- old/lxqt-build-tools-0.7.0/CMakeLists.txt 2020-04-21 19:02:33.000000000 +0200 +++ new/lxqt-build-tools-0.8.0/CMakeLists.txt 2020-10-30 14:17:17.000000000 +0100 @@ -9,17 +9,10 @@ option(WITH_XDG_DIRS_FALLBACK "Use our XDG_CONFIG_DIRS fallback" ON) set(LXQT_BUILD_TOOLS_MAJOR_VERSION 0) -set(LXQT_BUILD_TOOLS_MINOR_VERSION 7) +set(LXQT_BUILD_TOOLS_MINOR_VERSION 8) set(LXQT_BUILD_TOOLS_PATCH_VERSION 0) set(LXQT_BUILD_TOOLS_VERSION ${LXQT_BUILD_TOOLS_MAJOR_VERSION}.${LXQT_BUILD_TOOLS_MINOR_VERSION}.${LXQT_BUILD_TOOLS_PATCH_VERSION}) - -# Check for needed versions -# We need at least Qt 5.10.0 and glib-2.0 >= 2.50 to build all LXQt parts -find_package(PkgConfig REQUIRED) -find_package(Qt5Core "5.10.0" REQUIRED) -pkg_check_modules(GLIB2 glib-2.0>=2.50 REQUIRED) - include(CMakePackageConfigHelpers) include(GNUInstallDirs) # Standard directories for installation include(cmake/FindInstallConfigPath.cmake) # sets LXQT_ETC_XDG_DIR, if unset diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-build-tools-0.7.0/cmake/find-modules/FindFontconfig.cmake new/lxqt-build-tools-0.8.0/cmake/find-modules/FindFontconfig.cmake --- old/lxqt-build-tools-0.7.0/cmake/find-modules/FindFontconfig.cmake 1970-01-01 01:00:00.000000000 +0100 +++ new/lxqt-build-tools-0.8.0/cmake/find-modules/FindFontconfig.cmake 2020-10-30 14:17:17.000000000 +0100 @@ -0,0 +1,97 @@ +#.rst: +# FindFontconfig +# -------------- +# +# Try to find Fontconfig. +# Once done this will define the following variables: +# +# ``Fontconfig_FOUND`` +# True if Fontconfig is available +# ``Fontconfig_INCLUDE_DIRS`` +# The include directory to use for the Fontconfig headers +# ``Fontconfig_LIBRARIES`` +# The Fontconfig libraries for linking +# ``Fontconfig_DEFINITIONS`` +# Compiler switches required for using Fontconfig +# ``Fontconfig_VERSION`` +# The version of Fontconfig that has been found +# +# If ``Fontconfig_FOUND`` is TRUE, it will also define the following +# imported target: +# +# ``Fontconfig::Fontconfig`` +# +# Since 5.57.0. + +#============================================================================= +# SPDX-FileCopyrightText: 2006, 2007 Laurent Montel <mon...@kde.org> +# SPDX-FileCopyrightText: 2018 Volker Krause <vkra...@kde.org> +# +# SPDX-License-Identifier: BSD-3-Clause +#============================================================================= + +# use pkg-config to get the directories and then use these values +# in the FIND_PATH() and FIND_LIBRARY() calls +find_package(PkgConfig QUIET) +pkg_check_modules(PC_FONTCONFIG QUIET fontconfig) + +set(Fontconfig_DEFINITIONS ${PC_FONTCONFIG_CFLAGS_OTHER}) + +find_path(Fontconfig_INCLUDE_DIRS fontconfig/fontconfig.h + PATHS + ${PC_FONTCONFIG_INCLUDE_DIRS} + /usr/X11/include +) + +find_library(Fontconfig_LIBRARIES NAMES fontconfig + PATHS + ${PC_FONTCONFIG_LIBRARY_DIRS} +) + +set(Fontconfig_VERSION ${PC_FONTCONFIG_VERSION}) +if (NOT Fontconfig_VERSION) + find_file(Fontconfig_VERSION_HEADER + NAMES "fontconfig/fontconfig.h" + HINTS ${Fontconfig_INCLUDE_DIRS} + ) + mark_as_advanced(Fontconfig_VERSION_HEADER) + if (Fontconfig_VERSION_HEADER) + file(READ ${Fontconfig_VERSION_HEADER} _fontconfig_version_header_content) + string(REGEX MATCH "#define FC_MAJOR[ \t]+[0-9]+" Fontconfig_MAJOR_VERSION_MATCH ${_fontconfig_version_header_content}) + string(REGEX MATCH "#define FC_MINOR[ \t]+[0-9]+" Fontconfig_MINOR_VERSION_MATCH ${_fontconfig_version_header_content}) + string(REGEX MATCH "#define FC_REVISION[ \t]+[0-9]+" Fontconfig_PATCH_VERSION_MATCH ${_fontconfig_version_header_content}) + string(REGEX REPLACE ".*FC_MAJOR[ \t]+(.*)" "\\1" Fontconfig_MAJOR_VERSION ${Fontconfig_MAJOR_VERSION_MATCH}) + string(REGEX REPLACE ".*FC_MINOR[ \t]+(.*)" "\\1" Fontconfig_MINOR_VERSION ${Fontconfig_MINOR_VERSION_MATCH}) + string(REGEX REPLACE ".*FC_REVISION[ \t]+(.*)" "\\1" Fontconfig_PATCH_VERSION ${Fontconfig_PATCH_VERSION_MATCH}) + set(Fontconfig_VERSION "${Fontconfig_MAJOR_VERSION}.${Fontconfig_MINOR_VERSION}.${Fontconfig_PATCH_VERSION}") + endif() +endif() + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(Fontconfig + FOUND_VAR Fontconfig_FOUND + REQUIRED_VARS Fontconfig_LIBRARIES Fontconfig_INCLUDE_DIRS + VERSION_VAR Fontconfig_VERSION +) +mark_as_advanced(Fontconfig_LIBRARIES Fontconfig_INCLUDE_DIRS) + +if(Fontconfig_FOUND AND NOT TARGET Fontconfig::Fontconfig) + add_library(Fontconfig::Fontconfig UNKNOWN IMPORTED) + set_target_properties(Fontconfig::Fontconfig PROPERTIES + IMPORTED_LOCATION "${Fontconfig_LIBRARIES}" + INTERFACE_INCLUDE_DIRECTORIES "${Fontconfig_INCLUDE_DIRS}" + INTERFACE_COMPILER_DEFINITIONS "${Fontconfig_DEFINITIONS}" + ) +endif() + +# backward compatibility, remove in kf6 +set(FONTCONFIG_INCLUDE_DIR "${Fontconfig_INCLUDE_DIRS}") +set(FONTCONFIG_LIBRARIES "${Fontconfig_LIBRARIES}") +set(FONTCONFIG_DEFINITIONS "${Fontconfig_DEFINITIONS}") +mark_as_advanced(FONTCONFIG_INCLUDE_DIR FONTCONFIG_LIBRARIES FONTCONFIG_DEFINITIONS) + +include(FeatureSummary) +set_package_properties(Fontconfig PROPERTIES + URL "https://www.fontconfig.org/" + DESCRIPTION "Fontconfig is a library for configuring and customizing font access" +) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-build-tools-0.7.0/cmake/find-modules/FindXdgScreensaver.cmake new/lxqt-build-tools-0.8.0/cmake/find-modules/FindXdgScreensaver.cmake --- old/lxqt-build-tools-0.7.0/cmake/find-modules/FindXdgScreensaver.cmake 1970-01-01 01:00:00.000000000 +0100 +++ new/lxqt-build-tools-0.8.0/cmake/find-modules/FindXdgScreensaver.cmake 2020-10-30 14:17:17.000000000 +0100 @@ -0,0 +1,98 @@ +#.rst: +# FindXdgScreensaver +# ------------ +# +# Try to find the xdg-screensaver executable +# +# This will define the following variables: +# +# ``XdgScreensaver_FOUND`` +# True if (the requested version of) XdgScreensaver is available +# +# ``XdgScreensaver_VERSION`` +# The version of XdgScreensaver +# +# ``XdgScreensaver_EXECUTABLE`` +# The xdg-screensaver executable +# +# If ``XdgScreensaver_FOUND`` is TRUE, it will also define the following imported +# target: +# +# ``XdgScreensaver::XdgScreensaver`` +# The xdg-screensaver executable +# +# +#============================================================================= +# Copyright (c) 2020, Luís Pereira <luis.artur.pere...@gmail.com> +# All rights reserved. +# +# 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 above copyright notice, this +# list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# 3. Neither the name of the copyright holder nor the names of its +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT HOLDER OR CONTRIBUTORS 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. +#============================================================================= + +include(FindPackageHandleStandardArgs) + +set(_xdgscreensaver_REQUIRED_VARS) + +set(_xdgscreensaver_QUIET) +if (XdgScreensaver_FIND_QUIETLY) + set(_xdgscreensaver_QUIET QUIET) +endif() + +set(_xdgscreensaver_REQUIRED) +if (XdgScreensaver_FIND_REQUIRED) + set(_xdgscreensaver_REQUIRED REQUIRED) +endif() + +find_program(XdgScreensaver_EXECUTABLE NAMES xdg-screensaver) + +if (XdgScreensaver_EXECUTABLE) + execute_process(COMMAND ${XdgScreensaver_EXECUTABLE} --version + OUTPUT_VARIABLE _xdgscreensaver_version + ERROR_QUIET + OUTPUT_STRIP_TRAILING_WHITESPACE + ) +endif() + +string(REGEX REPLACE "xdg-screensaver ([0-9]\\.[0-9]\\.[0-9]+).*" + "\\1" XdgScreensaver_VERSION_STRING "${_xdgscreensaver_version}") + +if (XdgScreensaver_FIND_REQUIRED) + list(APPEND _xdgscreensaver_REQUIRED_VARS ${XdgScreensaver_EXECUTABLE}) +endif() + +find_package_handle_standard_args(XdgScreensaver + REQUIRED_VARS _xdgscreensaver_REQUIRED_VARS + VERSION_VAR XdgScreensaver_VERSION_STRING +) + +if (XdgScreensaver_FOUND AND NOT TARGET XdgScreensaver::XdgScreensaver) + add_executable(XdgScreensaver::XdgScreensaver IMPORTED) + set_target_properties(XdgScreensaver::XdgScreensaver PROPERTIES + IMPORTED_LOCATION "${XdgScreensaver_EXECUTABLE}" + ) +endif() + +mark_as_advanced(XdgScreensaver_EXECUTABLE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-build-tools-0.7.0/cmake/modules/ECMFindModuleHelpers.cmake new/lxqt-build-tools-0.8.0/cmake/modules/ECMFindModuleHelpers.cmake --- old/lxqt-build-tools-0.7.0/cmake/modules/ECMFindModuleHelpers.cmake 2020-04-21 19:02:33.000000000 +0200 +++ new/lxqt-build-tools-0.8.0/cmake/modules/ECMFindModuleHelpers.cmake 2020-10-30 14:17:17.000000000 +0100 @@ -245,6 +245,7 @@ set(${module_name}_VERSION ${${module_name}_${ecm_fpwc_comp}_VERSION}) endif() + set(FPHSA_NAME_MISMATCHED 1) find_package_handle_standard_args(${module_name}_${ecm_fpwc_comp} FOUND_VAR ${module_name}_${ecm_fpwc_comp}_FOUND @@ -255,6 +256,7 @@ VERSION_VAR ${module_name}_${ecm_fpwc_comp}_VERSION ) + unset(FPHSA_NAME_MISMATCHED) mark_as_advanced( ${module_name}_${ecm_fpwc_comp}_LIBRARY