public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/calamares/
Date: Sat,  7 Sep 2024 21:26:33 +0000 (UTC)	[thread overview]
Message-ID: <1725740741.3b42ef3569f34544aa893885ccd741cd9eade917.asturm@gentoo> (raw)

commit:     3b42ef3569f34544aa893885ccd741cd9eade917
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  7 16:21:20 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Sep  7 20:25:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b42ef35

app-admin/calamares: Drop IUSE qt6 (Qt5 option cleanup)

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-admin/calamares/calamares-3.3.6-r2.ebuild | 115 ++++++++++++++++++++++++++
 1 file changed, 115 insertions(+)

diff --git a/app-admin/calamares/calamares-3.3.6-r2.ebuild b/app-admin/calamares/calamares-3.3.6-r2.ebuild
new file mode 100644
index 000000000000..a5d4f885a03d
--- /dev/null
+++ b/app-admin/calamares/calamares-3.3.6-r2.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="true"
+PYTHON_COMPAT=( python3_{10..12} )
+
+QTMIN="6.7.1"
+KFMIN="6.0.0"
+inherit ecm python-single-r1
+
+DESCRIPTION="Distribution-independent installer framework"
+HOMEPAGE="https://calamares.io"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="5"
+KEYWORDS="~amd64"
+IUSE="+networkmanager +upower"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+	dev-cpp/yaml-cpp:=
+	$(python_gen_cond_dep '
+		>=dev-libs/boost-1.72.0:=[python,${PYTHON_USEDEP}]
+		dev-libs/libpwquality[${PYTHON_USEDEP}]
+	')
+	>=dev-qt/qtbase-${QTMIN}:6[concurrent,dbus,gui,network,widgets,xml]
+	>=dev-qt/qtdeclarative-${QTMIN}:6
+	>=dev-qt/qtsvg-${QTMIN}:6
+	>=dev-qt/qtwebengine-${QTMIN}:6[widgets]
+	>=kde-frameworks/kconfig-${KFMIN}:6
+	>=kde-frameworks/kcoreaddons-${KFMIN}:6
+	>=kde-frameworks/kcrash-${KFMIN}:6
+	>=kde-frameworks/ki18n-${KFMIN}:6
+	>=kde-frameworks/kpackage-${KFMIN}:6
+	>=kde-frameworks/kparts-${KFMIN}:6
+	>=kde-frameworks/kservice-${KFMIN}:6
+	>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+	sys-auth/polkit-qt[qt6(-)]
+	>=sys-libs/kpmcore-24.01.75:6=
+	sys-apps/dbus
+	sys-apps/dmidecode
+	virtual/libcrypt:=
+"
+RDEPEND="${DEPEND}
+	app-admin/sudo
+	dev-libs/libatasmart
+	net-misc/rsync
+	|| (
+		sys-boot/grub:2
+		sys-apps/systemd[boot(-)]
+		sys-apps/systemd-utils[boot]
+	)
+	sys-boot/os-prober
+	sys-fs/squashfs-tools
+	sys-libs/timezone-data
+	virtual/udev
+	networkmanager? ( net-misc/networkmanager )
+	upower? ( sys-power/upower )
+"
+BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]"
+
+src_prepare() {
+	ecm_src_prepare
+	export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \
+		PYTHON_INCLUDE_PATH="$(python_get_library_path)"\
+		PYTHON_CFLAGS="$(python_get_CFLAGS)"\
+		PYTHON_LIBS="$(python_get_LIBS)"
+
+	cp "${FILESDIR}/calamares-gentoo-branding.desc" src/branding/default/branding.desc || die "Failed to overwrite branding file"
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DINSTALL_CONFIG=ON
+		-DINSTALL_COMPLETION=ON
+		-DINSTALL_POLKIT=ON
+		-DCMAKE_DISABLE_FIND_PACKAGE_LIBPARTED=ON
+		-DWITH_PYTHON=ON
+		# Use system instead
+		-DWITH_PYBIND11=OFF
+		-DBUILD_APPDATA=ON
+		-DWITH_QT6=ON
+	)
+
+	ecm_src_configure
+}
+
+src_test() {
+	local myctestargs=(
+		# Skipped tests:
+		# load-dracut: tries and fails to find Dracut config
+		# libcalamaresnetworktest: needs network
+		# libcalamaresutilstest: inspects /tmp (expects namespace?)
+		#
+		# Need investigation:
+		# test_libcalamaresuipaste
+		# validate-netinstall
+		# validate-services-systemd
+		# localetest
+		# machineidtest
+		# packagechoosertest
+		#
+		# Requires removed dev-python/toml
+		# lint-displaymanager
+		#
+		# E1101
+		# lint-dummypython
+		-E "(load-dracut|libcalamaresnetworktest|libcalamaresutilstest|test_libcalamaresuipaste|validate-netinstall|validate-services-systemd|localetest|machineidtest|packagechoosertest|lint-displaymanager|lint-dummypython)"
+	)
+
+	cmake_src_test
+}


             reply	other threads:[~2024-09-07 21:26 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-07 21:26 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-02 10:16 [gentoo-commits] repo/gentoo:master commit in: app-admin/calamares/ Nowa Ammerlaan
2024-09-07 21:26 Andreas Sturmlechner
2024-05-27 21:26 Andrew Ammerlaan
2024-05-27 21:26 Andrew Ammerlaan
2024-05-27 19:29 Andrew Ammerlaan
2024-04-29 19:16 Andrew Ammerlaan
2024-03-05  9:57 Andreas Sturmlechner
2023-06-15 21:45 Sam James
2023-06-15  2:27 Sam James
2023-06-15  2:27 Sam James
2023-03-18 20:38 Ulrich Müller
2022-07-19 20:47 Sam James
2022-07-19 18:48 Sam James
2021-08-22  3:17 Sam James
2021-02-01 16:32 Sam James
2020-10-21 11:54 David Seifert
2020-08-20  5:37 Johannes Huber
2020-08-20  5:37 Johannes Huber
2020-03-19  7:08 Johannes Huber
2020-03-19  7:08 Johannes Huber
2020-03-12 15:50 Andreas Sturmlechner
2020-02-09 15:54 Michał Górny
2020-01-01 19:47 Johannes Huber
2019-08-18 11:26 Andreas Sturmlechner
2019-08-18 11:26 Andreas Sturmlechner
2018-10-01 10:48 Johannes Huber
2018-09-27 20:29 Ettore Di Giacinto
2018-09-27 20:29 Ettore Di Giacinto
2018-05-19 10:47 Johannes Huber
2018-05-07 16:38 Johannes Huber
2018-05-07 16:38 Johannes Huber
2018-03-29 19:26 Johannes Huber
2018-03-29 18:38 Johannes Huber
2018-03-29 18:38 Johannes Huber
2018-02-08 20:22 Johannes Huber
2018-01-24 18:30 Johannes Huber
2018-01-24 18:30 Johannes Huber
2018-01-02 13:39 Johannes Huber
2018-01-02 13:32 Johannes Huber
2017-11-13 18:17 Johannes Huber
2017-10-27 21:09 Johannes Huber
2017-10-27 21:09 Johannes Huber
2017-10-15 16:42 Johannes Huber
2017-10-15 16:42 Johannes Huber
2017-10-07 16:47 Johannes Huber
2017-10-07 16:47 Johannes Huber
2017-09-15 18:42 Johannes Huber
2017-09-06 17:20 Johannes Huber
2017-09-04 19:51 Johannes Huber
2017-07-30  8:36 Michał Górny
2017-07-14 17:34 Johannes Huber
2017-07-14 17:34 Johannes Huber
2017-06-04 12:04 Johannes Huber
2017-06-04 12:04 Johannes Huber
2017-03-03 18:20 Johannes Huber
2017-02-18 19:08 Ettore Di Giacinto
2017-02-16 18:32 Ettore Di Giacinto
2017-02-16 10:43 Ettore Di Giacinto
2017-01-19 17:55 Johannes Huber
2017-01-19 17:55 Johannes Huber
2016-12-18 18:27 Johannes Huber
2016-11-28 19:34 Johannes Huber
2016-11-28 19:34 Johannes Huber
2016-11-07 19:43 Johannes Huber
2016-11-07 19:43 Johannes Huber
2016-11-07 19:43 Johannes Huber
2016-11-01 21:12 Johannes Huber
2016-11-01 21:12 Johannes Huber
2016-10-17 17:56 Johannes Huber
2016-10-17 17:56 Johannes Huber
2016-10-14  6:14 Johannes Huber
2016-10-14  6:14 Johannes Huber
2016-08-28 16:36 Johannes Huber
2016-08-28 16:36 Johannes Huber
2016-07-25 22:13 Johannes Huber
2016-07-01 17:20 Johannes Huber
2016-07-01 17:20 Johannes Huber
2016-06-06 18:40 Johannes Huber
2016-06-06 18:40 Johannes Huber
2016-05-22 19:09 Johannes Huber
2016-05-15 11:40 Johannes Huber
2016-05-15 11:40 Johannes Huber
2016-04-25 15:48 Johannes Huber
2016-04-12 17:48 Johannes Huber
2016-04-10 19:07 Johannes Huber
2016-04-08 18:22 Johannes Huber
2016-04-08 18:22 Johannes Huber
2016-04-07 18:37 Johannes Huber
2016-04-07 18:37 Johannes Huber
2016-03-15 16:04 Johannes Huber
2016-03-13 11:11 Johannes Huber
2016-03-12 13:40 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1725740741.3b42ef3569f34544aa893885ccd741cd9eade917.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox