[gentoo-commits] repo/gentoo:master commit in: dev-util/lxqt-build-tools/, dev-util/lxqt-build-tools/files/

2023-02-16 Thread Jimi Huotari
commit: 59d072a9f459d7bea68b571dc6497f82257b3ad9
Author: V3n3RiX  koprulu  sector>
AuthorDate: Wed Feb 15 23:45:40 2023 +
Commit: Jimi Huotari  gentoo  org>
CommitDate: Thu Feb 16 19:16:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d072a9

dev-util/lxqt-build-tools: bump the minimum C++ compatibility level

- https://github.com/lxqt/lxqt-build-tools/pull/83

Bug: https://bugs.gentoo.org/894468
Signed-off-by: Ghiunhan Mamut  redcorelinux.org>
Signed-off-by: Jimi Huotari  gentoo.org>

 .../files/lxqt-build-tools-cpp17-standard.patch| 30 ++
 .../lxqt-build-tools-0.12.0-r1.ebuild  | 30 ++
 2 files changed, 60 insertions(+)

diff --git 
a/dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch 
b/dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch
new file mode 100644
index ..21009b89c6f4
--- /dev/null
+++ b/dev-util/lxqt-build-tools/files/lxqt-build-tools-cpp17-standard.patch
@@ -0,0 +1,30 @@
+Gentoo Bug: https://bugs.gentoo.org/894468
+Upstream: https://github.com/lxqt/lxqt-build-tools/pull/83
+
+From 4a3a7038b1927dc43942a930db103023efdcbe2c Mon Sep 17 00:00:00 2001
+From: Simon Quigley 
+Date: Wed, 25 Jan 2023 09:39:41 -0600
+Subject: [PATCH] Bump the minimum compatibility level to C++17.
+
+---
+ cmake/modules/LXQtCompilerSettings.cmake | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cmake/modules/LXQtCompilerSettings.cmake 
b/cmake/modules/LXQtCompilerSettings.cmake
+index a8cb16d..acba891 100644
+--- a/cmake/modules/LXQtCompilerSettings.cmake
 b/cmake/modules/LXQtCompilerSettings.cmake
+@@ -181,11 +181,11 @@ endif()
+ 
+ 
+ #-
+-# CXX14 requirements - no checks, we just set it
++# CXX17 requirements - no checks, we just set it
+ #-
+ set(CMAKE_CXX_STANDARD_REQUIRED True)
+ set(CMAKE_CXX_EXTENSIONS OFF)
+-set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ ISO Standard")
++set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ ISO Standard")
+ 
+ 
+ #-

diff --git a/dev-util/lxqt-build-tools/lxqt-build-tools-0.12.0-r1.ebuild 
b/dev-util/lxqt-build-tools/lxqt-build-tools-0.12.0-r1.ebuild
new file mode 100644
index ..ecbde452e97b
--- /dev/null
+++ b/dev-util/lxqt-build-tools/lxqt-build-tools-0.12.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="LXQt Build Tools"
+HOMEPAGE="https://lxqt-project.org/;
+
+if [[ ${PV} = ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/lxqt/${PN}.git;
+else
+   
SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz;
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+DEPEND="
+   >=dev-libs/glib-2.50.0
+   >=dev-qt/qtcore-5.15:5
+"
+RDEPEND="${DEPEND}"
+
+# https://bugs.gentoo.org/894468
+# https://github.com/lxqt/lxqt-build-tools/pull/83
+PATCHES=( "${FILESDIR}"/"${PN}"-cpp17-standard.patch )



[gentoo-commits] repo/gentoo:master commit in: dev-util/lxqt-build-tools/, dev-util/lxqt-build-tools/files/

2022-04-04 Thread Sam James
commit: 1f21c0b5fc563408466284a7fcb06a1a5ce0974f
Author: Jimi Huotari  gentoo  org>
AuthorDate: Thu Mar 31 13:49:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr  4 21:43:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f21c0b5

dev-util/lxqt-build-tools: fix build-issues with glib-2.72

This patches in a fix for CMake-time issues with
'dev-libs/libqtxdg' and 'x11-libs/libfm-qt'.

Closes: https://bugs.gentoo.org/835648
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jimi Huotari  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/24835
Signed-off-by: Sam James  gentoo.org>

 .../files/lxqt-build-tools-0.10.0-glib-2.72.patch  | 25 +++
 .../lxqt-build-tools-0.10.0-r1.ebuild  | 28 ++
 2 files changed, 53 insertions(+)

diff --git 
a/dev-util/lxqt-build-tools/files/lxqt-build-tools-0.10.0-glib-2.72.patch 
b/dev-util/lxqt-build-tools/files/lxqt-build-tools-0.10.0-glib-2.72.patch
new file mode 100644
index ..359a4a966f40
--- /dev/null
+++ b/dev-util/lxqt-build-tools/files/lxqt-build-tools-0.10.0-glib-2.72.patch
@@ -0,0 +1,25 @@
+From 62b77bb807aa2ac2c1df8eec372df771da8d2203 Mon Sep 17 00:00:00 2001
+From: Dmitry Shachnev 
+Date: Tue, 29 Mar 2022 00:29:49 +0300
+Subject: [PATCH] Replace gunixconnection.h file in gio-unix include dir check
+ (#74)
+
+That file was moved from gio-unix to gio in GLib 2.71.1:
+https://gitlab.gnome.org/GNOME/glib/-/commit/83d45c4f35dc87ba
+---
+ cmake/find-modules/FindGLIB.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/find-modules/FindGLIB.cmake 
b/cmake/find-modules/FindGLIB.cmake
+index 0564b8d..bb2336a 100644
+--- a/cmake/find-modules/FindGLIB.cmake
 b/cmake/find-modules/FindGLIB.cmake
+@@ -101,7 +101,7 @@ foreach (_component ${GLIB_FIND_COMPONENTS})
+ elseif (${_component} STREQUAL "gio-unix")
+ pkg_check_modules(GIO_UNIX gio-unix-2.0)
+ find_path(GLIB_GIO_UNIX_INCLUDE_DIR
+-  NAMES gio/gunixconnection.h
++  NAMES gio/gunixfdlist.h
+   HINTS ${GIO_UNIX_INCLUDEDIR}
+   PATH_SUFFIXES gio-unix-2.0)
+ 

diff --git a/dev-util/lxqt-build-tools/lxqt-build-tools-0.10.0-r1.ebuild 
b/dev-util/lxqt-build-tools/lxqt-build-tools-0.10.0-r1.ebuild
new file mode 100644
index ..1f28afe1af42
--- /dev/null
+++ b/dev-util/lxqt-build-tools/lxqt-build-tools-0.10.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="LXQt Build Tools"
+HOMEPAGE="https://lxqt-project.org/;
+
+if [[ ${PV} = ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/lxqt/${PN}.git;
+else
+   
SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz;
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+DEPEND="
+   >=dev-libs/glib-2.50.0
+   >=dev-qt/qtcore-5.15:5
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-0.10.0-glib-2.72.patch" ) # 
https://bugs.gentoo.org/835648