Accepting request 1168675 from home:sfalken:branches:X11:LXQt

New package, this allows for lxqt <= 1.4.1 and lxqt >= 2.0.0 components to still be co-installed, as not everything has been ported to Qt6 for 2.0.0 yet.

OBS-URL: https://build.opensuse.org/request/show/1168675
OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt2-build-tools?expand=0&rev=1
This commit is contained in:
Axel Braun 2024-04-28 17:48:02 +00:00 committed by Git OBS Bridge
commit b8c8d43650
6 changed files with 246 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4599c47d1db35e0bb91e62b672e3fb7eb2ec1fb4dafcab94599b0156f54e7f07
size 26072

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmYfn0UVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+c6QQAKZAAxNGT0r2VO5DE0IXEEVW9oXR
SEpTycUdtKrwR9rMtX8EVm2R4zbH1fo/i/HrC7DbDHxGAef6FyDmwSL/1O0PgTU8
DpTJe8I7W9zdIDvQ4UFzAVMrHBFosG/k6mggaELow9b9D6dSoqmcWTPV/93x4M4I
3ApJ1Vywz37V9UsH5k6chZhTcTfce7fATAmqJq60tMM8vtve2GhpyR9HVRuY08HC
qnh7n1apVuF87JTzorNE8FgRU5dY3NBBOaSOgFFQBRs09sfQfOEOet5fL6jscBfZ
3aCBfEERMS7AQD+/7WCQDKghDk2DvH8PsaWFy2GLIJG6BTQ1IHaakjm8cR8zyZXJ
/UILhg3cURB/Kj1KGV/r+LTWZngLhALs0o7jMTjhoQSJ5SP1ruWaTTrJXmkhV7kZ
eaCtC+UIaEeEvvsh4ALgHDrr4SpA69u6NN0OChyvfy5H6VU5/lgolTgz+AxY6uUR
k5TsmPFQUq/I0DZE77lXffdZAr9xlIGxWoZz0aQLadgaV5RM58sE/Pf+4tp+ZynF
W9o8WUxzbsZ/nMImFRWug/ragYWWlha1ttdAb8w55/wOEfrdX8E56nPIcc4kAaNi
i5ml1dpyyKfKQfNSl4EjqVe51o122z9LaKMTM2d4KZUNDLl9dwdDY4K2BiOSJ+91
Xz4LUQseWvREKBS1
=tvkM
-----END PGP SIGNATURE-----

141
lxqt2-build-tools.changes Normal file
View File

@ -0,0 +1,141 @@
-------------------------------------------------------------------
Wed Apr 17 21:14:01 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Update to 2.0.0
* Ported to Qt6 with the new project name lxqt2-build-tools, such
that the Qt5-based version 0.13.0 can be installed alongside it.
- Specfile modernization and cleanup
-------------------------------------------------------------------
Sat Apr 15 17:01:20 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>
- Update to 0.13.0
* Bumped minimum compatibility level to C++17
- Remove lxqt-build-tools-0.12.0-cpp17.patch
-------------------------------------------------------------------
Tue Feb 14 12:41:31 UTC 2023 - Michael Vetter <mvetter@suse.com>
- boo#1208217: Bump required C++ version
See also: gh/lxqt/lxqt-config#903
Add lxqt-build-tools-0.12.0-cpp17.patch
-------------------------------------------------------------------
Sat Nov 5 16:28:08 UTC 2022 - Shawn Dunn <sfalken@cloverleaf-linux.org>
- Update to 0.12.0
* Support absolute `CMAKE_INSTALL_{INCLUDE,LIB}DIR` in
`LXQtCreatePkgConfigFile'
* Use `gdesktopappinfo.h` to find gio-unix-2.0 in
`FindGLIB.cmake`
* Drop use of `-Bsymbolic` in `LXQtCompilerSettings`
- Remove lxqt-build-tools-symbolic.patch
- Remove 4991811-fix-FindGLIB.cmake.patch
-------------------------------------------------------------------
Thu Sep 29 09:18:23 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Add patch to fix libqt5xdg with latest glib-2.0:
* 4991811-fix-FindGLIB.cmake.patch
-------------------------------------------------------------------
Mon Aug 29 14:23:55 UTC 2022 - Michael Vetter <mvetter@suse.com>
- bsc#1195421: Add lxqt-build-tools-symbolic.patch
Thanks to Fabian Vogt
-------------------------------------------------------------------
Wed Apr 20 19:09:51 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to 0.11.0
* Fixed build scripts for GLib 2.71.1
-------------------------------------------------------------------
Fri Nov 5 15:42:21 UTC 2021 - Michael Vetter <mvetter@suse.com>
- Update to 0.10.0:
* Set the minimum required version of Qt to 5.15.
-------------------------------------------------------------------
Fri Apr 16 06:32:51 UTC 2021 - Michael Vetter <mvetter@suse.com>
- Update to 0.9.0:
* A CMake FindXTerm module is added.
-------------------------------------------------------------------
Wed Nov 4 13:15:13 UTC 2020 - Michael Vetter <mvetter@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.
-------------------------------------------------------------------
Fri Apr 24 19:41:58 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Update to version 0.7.0
* String casts are forbidden explicitly.
* CMake find modules are added for some xdg-utils tools.
* The minimum Qt version is incremented to 5.10.
-------------------------------------------------------------------
Thu Jan 31 09:59:32 UTC 2019 - Michael Vetter <mvetter@suse.com>
- Update to 0.6.0:
* Introduced lxqt-transupdate for translation updates
* Set cmake_minimum_required to 3.1.0
* Consider QT_SELECT - some distributions use this tool
* Drop 0X and 11 support, require c++14
* Removed obsolete FindFm module
-------------------------------------------------------------------
Tue May 22 14:00:41 UTC 2018 - mvetter@suse.com
- Update to 0.5.0:
* LXQtCompilerSettings: Set CMAKE_C_VISIBILITY_PRESET to hidden
* Dont allow Qt foreach/Q_FOREACH
* Require Qt 5.7.1
* Adds a FindXKBCommon CMake module
* Adds ECMFindModuleHelpers CMake module
-------------------------------------------------------------------
Mon Oct 23 09:48:31 UTC 2017 - mvetter@suse.com
- Update to 0.4.0:
* Bump version to 0.4.0
* Added needed versions
* remove version set from LXQtConfigVars.in
* Move LXQt version to liblxqt
* Fixes a FTBFS with superbuild mode
* Adds a FindExif module
* LXQtCompilerSettings: Fixes a typo in diagnostics-color
* Adds (Ninja) colored diagnostics for GCC (>=4.9)
* Enable strict iterators for debug builds
-------------------------------------------------------------------
Tue Jun 20 14:55:29 UTC 2017 - alarrosa@suse.com
- Update to 0.3.2
* Bump version to 0.3.2 - finally the build tools are arch: all (#15)
* Warnings (#16)
* Remove arched bits from version.cmake-file (#14)
* Fixed missing point in version string
- Update Source URLs
-------------------------------------------------------------------
Sat Mar 4 19:20:45 UTC 2017 - sfalken@opensuse.org
- Update Source URLs
- Normalize .spec file to match with version in X11:LXQt:git
-------------------------------------------------------------------
Sat Mar 4 08:21:04 UTC 2017 - mvetter@suse.com
- Install BSD License file
-------------------------------------------------------------------
Thu Feb 23 05:15:22 UTC 2017 - sfalken@opensuse.org
- Initial Commit. New Package that will be needed for building
lxqt going forward.

61
lxqt2-build-tools.spec Normal file
View File

@ -0,0 +1,61 @@
#
# spec file for package lxqt2-build-tools
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _name lxqt-build-tools
Name: lxqt2-build-tools
Version: 2.0.0
Release: 0
Summary: Core build tools for LXQt
License: BSD-3-Clause
URL: http://www.lxqt.org
Source: https://github.com/lxqt/%{_name}/releases/download/%{version}/%{_name}-%{version}.tar.xz
Source1: https://github.com/lxqt/%{_name}/releases/download/%{version}/%{_name}-%{version}.tar.xz.asc
BuildRequires: cmake >= 3.5.0
BuildRequires: pkgconfig
BuildRequires: cmake(Qt6Core) >= 6.6
BuildRequires: pkgconfig(glib-2.0) >= 2.50
BuildArch: noarch
%description
This package provides several tools needed to build LXQt itself as well as other components maintained by the LXQt project.
%package devel
Summary: Tools for building lxqt
Requires: cmake(Qt6Core)
%description devel
This package provides several tools needed to build LXQt itself as well as other components maintained by the LXQt project.
These tools used to be spread over the repositories of various other components and were summarized to ease dependency management. So far many components, in particular [liblxqt](https://github.com/lxde/liblxqt), were representing a build dependency without being needed themselves but only because their repository was providing a subset of the tools which are now summarized here. So the use of this repository will reduce superfluous and bloated dependencies.
%prep
%autosetup -p1 -n %{_name}-%{version}
%build
%cmake_qt6
%{qt6_build}
%install
%{qt6_install}
%files devel
%doc AUTHORS CHANGELOG README.md
%license BSD-3-Clause
%{_datadir}/cmake/
%{_bindir}/lxqt2-transupdate
%changelog