mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Merge updates from master
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST libtimezonemap_0.4.6-7.debian.tar.xz 11472 BLAKE2B 1df974d14ba6538acf669ffe561d2f5dad9119117a4c4e6000284ba454380231eebeb60f18ddb9ab2d2cc728865121c42b7985366ca4022ba1c0bffe822debf9 SHA512 090314b8eefbc0b19143ce5732b13e58fef18738f051ad686b6760bfd37c65b6ad2c10dd3268c6451cf332de34743b8ed35bf485f75b5f7fa099afa972f19692
|
||||
DIST libtimezonemap_0.4.6.orig.tar.gz 2872895 BLAKE2B ec9da9efe4f58cd7c3cd6cb502ffc23d1331f8b8352021d30c4157d4a6fec983702c049725af672136f332e450191e03bb0c36c752cbd496c37a7e0bf64c4514 SHA512 3cbd4f577684254a91f1e745ecb49e58fe3c75e28c172a6115fbe68e7868c33ff4c68b80ef1d7f5c759f67d288e29a2a057e00e1788a57c4e55e0cbfef351761
|
||||
DIST libtimezonemap_0.4.6.tar.gz 2872895 BLAKE2B ec9da9efe4f58cd7c3cd6cb502ffc23d1331f8b8352021d30c4157d4a6fec983702c049725af672136f332e450191e03bb0c36c752cbd496c37a7e0bf64c4514 SHA512 3cbd4f577684254a91f1e745ecb49e58fe3c75e28c172a6115fbe68e7868c33ff4c68b80ef1d7f5c759f67d288e29a2a057e00e1788a57c4e55e0cbfef351761
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools xdg
|
||||
|
||||
DESCRIPTION="GTK+3 timezone map widget"
|
||||
HOMEPAGE="https://launchpad.net/timezonemap"
|
||||
SRC_URI="mirror://debian/pool/main/libt/${PN}/${PN}_${PV}.orig.tar.gz -> ${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
|
||||
DEPEND="dev-libs/glib:2
|
||||
dev-libs/gobject-introspection:0=
|
||||
dev-libs/json-glib
|
||||
net-libs/libsoup:2.4
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
@@ -23,13 +23,13 @@ SLOT="0"
|
||||
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/glib:2[introspection]
|
||||
dev-libs/gobject-introspection:0=
|
||||
dev-libs/json-glib
|
||||
dev-libs/json-glib[introspection]
|
||||
net-libs/libsoup:3.0
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/gtk+:3[introspection]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DIST rapidjson-1.1.0.tar.gz 1019402 BLAKE2B e1564b3cfa020f76437b0a35048a42ff2cd98b5ce285e63f228e158885182e5cecda13407cdf30c03fa39b47cbc579ff0065f6c2682d04b806e8f9ea8d36fc4e SHA512 2e82a4bddcd6c4669541f5945c2d240fb1b4fdd6e239200246d3dd50ce98733f0a4f6d3daa56f865d8c88779c036099c52a9ae85d47ad263686b68a88d832dff
|
||||
DIST rapidjson-1.1.0_p20250205.tar.gz 1116703 BLAKE2B b4657b1a09437d947fea754f3de492993ae1335228b17d7fd7d4542e47009d7af64d0f8fa39923865accd6e7af86165e2545372bdeb425aef5480dcc96fb111e SHA512 50f8723414a6e63eadd45f97be5c44e9fff2d06216c8cc4df802f5bfc2a9416a039f2c69e9bb1882f7e756cd38a7097eea05cab76c739f45805dc41617140799
|
||||
|
||||
20
dev-libs/rapidjson/files/rapidjson-1.1.1-cmake4.patch
Normal file
20
dev-libs/rapidjson/files/rapidjson-1.1.1-cmake4.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
https://bugs.gentoo.org/951839
|
||||
https://github.com/Tencent/rapidjson/issues/2159 fixed in git already
|
||||
Update further to min. 3.10.
|
||||
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
|
||||
+CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
|
||||
|
||||
SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules)
|
||||
|
||||
--- a/example/CMakeLists.txt
|
||||
+++ b/example/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 2.8)
|
||||
+cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
if(POLICY CMP0054)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
@@ -1,21 +0,0 @@
|
||||
https://github.com/Tencent/rapidjson/issues/1808
|
||||
|
||||
--- a/test/unittest/CMakeLists.txt
|
||||
+++ b/test/unittest/CMakeLists.txt
|
||||
@@ -78,12 +78,15 @@
|
||||
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
|
||||
|
||||
-if(NOT MSVC)
|
||||
+find_program(VALGRIND_EXECUTABLE valgrind)
|
||||
+if(VALGRIND_EXECUTABLE)
|
||||
# Not running SIMD.* unit test cases for Valgrind
|
||||
add_test(NAME valgrind_unittest
|
||||
COMMAND valgrind --suppressions=${CMAKE_SOURCE_DIR}/test/valgrind.supp --leak-check=full --error-exitcode=1 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest --gtest_filter=-SIMD.*
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
|
||||
+endif(VALGRIND_EXECUTABLE)
|
||||
|
||||
+if(NOT MSVC)
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
add_test(NAME symbol_check
|
||||
COMMAND sh -c "objdump -t -C libnamespacetest.a | grep rapidjson ; test $? -ne 0"
|
||||
@@ -6,7 +6,7 @@
|
||||
<name>Craig Andrews</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/miloyip/rapidjson/issues</bugs-to>
|
||||
<remote-id type="github">miloyip/rapidjson</remote-id>
|
||||
<bugs-to>https://github.com/Tencent/rapidjson/issues</bugs-to>
|
||||
<remote-id type="github">Tencent/rapidjson</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
61
dev-libs/rapidjson/rapidjson-1.1.0_p20250205.ebuild
Normal file
61
dev-libs/rapidjson/rapidjson-1.1.0_p20250205.ebuild
Normal file
@@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
|
||||
HOMEPAGE="https://rapidjson.org/"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/Tencent/rapidjson.git"
|
||||
EGIT_SUBMODULES=()
|
||||
inherit git-r3
|
||||
else
|
||||
# no up-to-date releases or tags
|
||||
COMMIT="24b5e7a8b27f42fa16b96fc70aade9106cf7102f"
|
||||
SRC_URI="https://github.com/Tencent/rapidjson/archive/${COMMIT}.tar.gz -> rapidjson-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
S="${WORKDIR}/rapidjson-${COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="doc examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
doc? ( app-text/doxygen )
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.1.0-system_gtest.patch"
|
||||
"${FILESDIR}/${PN}-1.1.1-cmake4.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
sed -i -e 's| -march=native||g' CMakeLists.txt || die
|
||||
sed -i -e 's| -mcpu=native||g' CMakeLists.txt || die
|
||||
sed -i -e 's| -Werror||g' CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
-DRAPIDJSON_BUILD_CXX11=OFF # latest gtest requires C++14 or later
|
||||
-DRAPIDJSON_BUILD_CXX17=ON
|
||||
-DRAPIDJSON_BUILD_DOC=$(usex doc)
|
||||
-DRAPIDJSON_BUILD_EXAMPLES=$(usex examples)
|
||||
-DRAPIDJSON_BUILD_TESTS=$(usex test)
|
||||
-DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF
|
||||
)
|
||||
use test && mycmakeargs+=(
|
||||
-DVALGRIND_EXECUTABLE=
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -9,13 +9,15 @@ DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API"
|
||||
HOMEPAGE="https://rapidjson.org/"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/miloyip/rapidjson.git"
|
||||
EGIT_REPO_URI="https://github.com/Tencent/rapidjson.git"
|
||||
EGIT_SUBMODULES=()
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
S="${WORKDIR}/rapidjson-${PV}"
|
||||
# no up-to-date releases or tags
|
||||
COMMIT="24b5e7a8b27f42fa16b96fc70aade9106cf7102f"
|
||||
SRC_URI="https://github.com/Tencent/rapidjson/archive/${COMMIT}.tar.gz -> rapidjson-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
S="${WORKDIR}/rapidjson-${COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
@@ -30,7 +32,7 @@ BDEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.1.0-system_gtest.patch"
|
||||
"${FILESDIR}/${PN}-1.1.1-valgrind_optional.patch"
|
||||
"${FILESDIR}/${PN}-1.1.1-cmake4.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
DIST python3-xapp-2.4.2.tar.gz 21482 BLAKE2B bacea6a626efa8ee60a4f91923e48e0e9e49d08ca0c9a5998b724284edc353912099f2deafc6eb7cf6a42a983f97f8cc03fe86c18338c89823f103e413685637 SHA512 04f995986eabaf613d166ae31bd36eda2b3563ea58aded64b132940430db9d59f9525eb562b0ad8d7649844adbaf28332c4f51fa633610b102feae97bc1bfc9f
|
||||
DIST python3-xapp-3.0.2.tar.gz 39265 BLAKE2B 33850fdc4e288470af57fa6b5abb27c3984b938ebc80fec4965f0271856a2c239a2ef4f720f31ea013938bdc9022754e114171a98ce80d86e54a5baeafdfab59 SHA512 83e9a3ac6526ffe55543a45f687656cf86e6dc77497610f52012115a8b830e0f8706a82896a0b11b66d5fb26274f06d7fe4d80cd5f9ab6304f513fd2ab2ee2a8
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit meson python-r1
|
||||
|
||||
DESCRIPTION="Python bindings for x11-libs/xapp"
|
||||
HOMEPAGE="https://github.com/linuxmint/python3-xapp"
|
||||
SRC_URI="https://github.com/linuxmint/python3-xapp/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
>=x11-libs/xapp-2.8.4[introspection,${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
configuring() {
|
||||
meson_src_configure \
|
||||
-Dpython_target="${EPYTHON}"
|
||||
}
|
||||
python_foreach_impl configuring
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl meson_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl meson_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installing() {
|
||||
meson_src_install
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl installing
|
||||
}
|
||||
@@ -20,7 +20,7 @@ SRC_URI="
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pydantic-2.11.7[${PYTHON_USEDEP}]
|
||||
|
||||
@@ -17,7 +17,7 @@ HOMEPAGE="
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/email-validator-2[${PYTHON_USEDEP}]
|
||||
|
||||
@@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/cryptography-42[${PYTHON_USEDEP}]
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
DIST cinnamon-control-center-6.4.2.tar.gz 1931786 BLAKE2B 893f649c853bd1fd74cd46d8d75de395f6f13490c42443edb3e1bcde7556a8701a1d112f0f0e78b5e1fb57843abbcc8e0f440d65be67aa77d28542365fb6438f SHA512 d82f9bea2eb7a130aa43cca76324f9e0dc4f96b892285e4e0b5d480b6e03d10f2b58428f58f2a1e94ee8aba1ef3e43e068d16f3a3c1cfd3c3c41188f5fcb5ad7
|
||||
DIST cinnamon-control-center-6.6.0.tar.gz 1894601 BLAKE2B e86c452b7608f2153caf84a8c95fd531adeb70c6df98267a362350857679cdeb8949bacc8503525188e50d37129a8c0593dd051ebc54db4f92003c842edc1ad1 SHA512 c32dd8188a7893b5fcb80d4d97fa6a770b731ae8b08657706a7ba739847294d61982641ca6fbbf3d5fbe03c839a00ca64baa9f420dd17449a24f72b6b842ed6d
|
||||
|
||||
@@ -1,115 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit meson flag-o-matic gnome2-utils python-any-r1 xdg virtualx
|
||||
|
||||
DESCRIPTION="Cinnamons's main interface to configure various aspects of the desktop"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-control-center"
|
||||
SRC_URI="https://github.com/linuxmint/cinnamon-control-center/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE="+colord input_devices_wacom +networkmanager +modemmanager systemd test wayland"
|
||||
REQUIRED_USE="modemmanager? ( networkmanager )"
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-accessibility/at-spi2-core:2
|
||||
>=dev-libs/glib-2.44.0:2
|
||||
>=gnome-base/libgnomekbd-3.0.0:0=
|
||||
>=gnome-extra/cinnamon-desktop-6.4:0=
|
||||
>=gnome-extra/cinnamon-menus-6.4
|
||||
media-libs/fontconfig
|
||||
>=sys-auth/polkit-0.103
|
||||
>=sys-power/upower-0.99.8:=
|
||||
>=x11-libs/gdk-pixbuf-2.23.0:2
|
||||
>=x11-libs/gtk+-3.24.41-r1:3[wayland?,X]
|
||||
>=dev-libs/libgudev-232
|
||||
>=x11-libs/libnotify-0.7.3
|
||||
x11-libs/cairo
|
||||
x11-libs/libX11
|
||||
>=x11-libs/libxklavier-5.1:=
|
||||
x11-libs/pango
|
||||
|
||||
colord? (
|
||||
>=x11-misc/colord-0.1.14:0=
|
||||
)
|
||||
input_devices_wacom? (
|
||||
>=dev-libs/libwacom-0.7:=
|
||||
>=x11-libs/libXi-1.2
|
||||
)
|
||||
networkmanager? (
|
||||
>=gnome-extra/nm-applet-1.2.0
|
||||
>=net-libs/libnma-1.8.34
|
||||
>=net-misc/networkmanager-1.2.0[modemmanager?]
|
||||
|
||||
modemmanager? (
|
||||
>=net-misc/modemmanager-0.7:=
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-themes/adwaita-icon-theme
|
||||
|
||||
colord? (
|
||||
>=gnome-extra/gnome-color-manager-3
|
||||
)
|
||||
input_devices_wacom? (
|
||||
gnome-extra/cinnamon-settings-daemon[input_devices_wacom]
|
||||
)
|
||||
systemd? (
|
||||
>=sys-apps/systemd-31
|
||||
)
|
||||
!systemd? (
|
||||
app-admin/openrc-settingsd
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
app-text/iso-codes
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/glib-utils
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang meson_install_schemas.py
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# defang automagic dependencies
|
||||
use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND
|
||||
|
||||
local emesonargs=(
|
||||
$(meson_use colord color)
|
||||
$(meson_use modemmanager)
|
||||
$(meson_use networkmanager)
|
||||
$(meson_use input_devices_wacom wacom)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx meson_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
DIST cinnamon-desktop-6.4.2.tar.gz 509873 BLAKE2B 3cb8bf41dbef3f3a0e6aa40917a4f1a25930deb4a04ef52af154266b5568cb4956769657c3595714fbe57275fc687ab666d8da38c5f186314993d462e82ea682 SHA512 15311f3a13cb90a976d1f4b9b90323536787a4a45029b30d3c2afd878a95892f4c12a5d3598e619689779a20e7cbbb857e08309863563a51619e662324f4ac90
|
||||
DIST cinnamon-desktop-6.6.2.tar.gz 508681 BLAKE2B 2fc6b1b37ad3c2e7f4bbb5a2a09188deda5a26e730e3d0a779bced83c294baff960fb6a38a4bfc91dc16e3750de4a7fa03b2fa0bb4648b4ca8e5ecae67505d97 SHA512 0637056bc92373909c2ec74bd362819e8fa27092cbcbc79d28a492ac222edd7e7e5e6a6187d1be19084f169a452e64eee5986933c64f8c4f23d425037e6eec0a
|
||||
|
||||
@@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit meson flag-o-matic gnome2-utils python-any-r1
|
||||
|
||||
DESCRIPTION="A collection of libraries and utilites used by Cinnamon"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-desktop"
|
||||
SRC_URI="https://github.com/linuxmint/cinnamon-desktop/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-1 GPL-2+ LGPL-2+ LGPL-2.1+ MIT"
|
||||
SLOT="0/4" # subslot = libcinnamon-desktop soname version
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE="wayland"
|
||||
|
||||
RDEPEND="
|
||||
app-text/iso-codes
|
||||
>=dev-libs/glib-2.37.3:2[dbus]
|
||||
>=dev-libs/gobject-introspection-1.82.0-r2:=
|
||||
>=gnome-base/gsettings-desktop-schemas-3.5.91
|
||||
>=media-libs/libpulse-12.99.3[glib]
|
||||
sys-apps/accountsservice
|
||||
virtual/libudev:=
|
||||
x11-libs/cairo[X]
|
||||
>=x11-libs/gdk-pixbuf-2.22:2[introspection]
|
||||
>=x11-libs/gtk+-3.3.16:3[introspection,wayland?,X]
|
||||
x11-libs/libX11
|
||||
>=x11-libs/libXext-1.1
|
||||
x11-libs/libxkbfile
|
||||
>=x11-libs/libXrandr-1.3
|
||||
x11-misc/xkeyboard-config
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-util/gdbus-codegen-2.80.5-r1
|
||||
dev-util/glib-utils
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Remove dead config option to prevent junk files from being installed
|
||||
# https://github.com/linuxmint/cinnamon-desktop/commit/6f1151f86aaabe9242fabba3f176215a4c248af4
|
||||
"${FILESDIR}/${PN}-6.4.2-remove-pnp_ids-option.patch"
|
||||
|
||||
# Fix GVC Mixer Crash
|
||||
# https://github.com/linuxmint/cinnamon-desktop/pull/254
|
||||
"${FILESDIR}/${PN}-6.4.0-fix-gvc-mixer-crash.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang install-scripts
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# defang automagic dependencies
|
||||
# Preliminary wayland support only. Xorg code is unconditional.
|
||||
use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND
|
||||
|
||||
local emesonargs=(
|
||||
# https://github.com/linuxmint/cinnamon-desktop/commit/7eadfb1da9a42384396978b8ab46e0725d18e04f
|
||||
# > Unless/until this fixes an actual identified issue for us or provides significant advantages
|
||||
# > we're not using it in Cinnamon.
|
||||
-Dsystemd=disabled
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
From 1e68cdbe2d837594d8258a026500a0b84a57e792 Mon Sep 17 00:00:00 2001
|
||||
From: Spencer Lommel <118965093+SpencerLommel@users.noreply.github.com>
|
||||
Date: Wed, 16 Apr 2025 08:10:16 -0500
|
||||
Subject: [PATCH] Cvc null check profile (#254)
|
||||
|
||||
* null checks on mixer profile
|
||||
|
||||
* style fix to conform with the rest of the code
|
||||
---
|
||||
libcvc/gvc-mixer-control.c | 5 +++++
|
||||
libcvc/gvc-mixer-ui-device.c | 5 +++++
|
||||
2 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/libcvc/gvc-mixer-control.c b/libcvc/gvc-mixer-control.c
|
||||
index b385461..acd8d9b 100644
|
||||
--- a/libcvc/gvc-mixer-control.c
|
||||
+++ b/libcvc/gvc-mixer-control.c
|
||||
@@ -549,6 +549,11 @@ gvc_mixer_control_change_profile_on_selected_device (GvcMixerControl *control,
|
||||
g_object_get (G_OBJECT (device), "card", &card, NULL);
|
||||
current_profile = gvc_mixer_card_get_profile (card);
|
||||
|
||||
+ if (!current_profile) {
|
||||
+ g_warning("gvc_mixer_card_get_profile() returned NULL for card %p", card);
|
||||
+ return FALSE;
|
||||
+ }
|
||||
+
|
||||
if (current_profile)
|
||||
best_profile = gvc_mixer_ui_device_get_best_profile (device, profile, current_profile->profile);
|
||||
else
|
||||
diff --git a/libcvc/gvc-mixer-ui-device.c b/libcvc/gvc-mixer-ui-device.c
|
||||
index a0567fc..a6b7882 100644
|
||||
--- a/libcvc/gvc-mixer-ui-device.c
|
||||
+++ b/libcvc/gvc-mixer-ui-device.c
|
||||
@@ -557,6 +557,11 @@ gvc_mixer_ui_device_get_active_profile (GvcMixerUIDevice* device)
|
||||
}
|
||||
|
||||
profile = gvc_mixer_card_get_profile (device->priv->card);
|
||||
+ if (!profile) {
|
||||
+ g_warning ("gvc_mixer_card_get_profile() returned NULL for card %p", device->priv->card);
|
||||
+ return NULL;
|
||||
+ }
|
||||
+
|
||||
return gvc_mixer_ui_device_get_matching_profile (device, profile->profile);
|
||||
}
|
||||
|
||||
@@ -1,193 +0,0 @@
|
||||
From 6f1151f86aaabe9242fabba3f176215a4c248af4 Mon Sep 17 00:00:00 2001
|
||||
From: Matt Turnbull <SparkyBluefang@users.noreply.github.com>
|
||||
Date: Fri, 16 May 2025 09:35:26 -0400
|
||||
Subject: [PATCH] Remove the pnp_ids configuration option (unused as of
|
||||
913198430f27852544f9443a250421168d3d4466) (#249)
|
||||
|
||||
---
|
||||
debian/rules | 3 +-
|
||||
libcinnamon-desktop/meson.build | 7 ---
|
||||
libcinnamon-desktop/pnp.ids | 75 ---------------------------------
|
||||
meson.build | 21 ---------
|
||||
meson_options.txt | 2 -
|
||||
5 files changed, 1 insertion(+), 107 deletions(-)
|
||||
delete mode 100644 libcinnamon-desktop/pnp.ids
|
||||
|
||||
diff --git a/debian/rules b/debian/rules
|
||||
index a368fffd..f6454886 100755
|
||||
--- a/debian/rules
|
||||
+++ b/debian/rules
|
||||
@@ -9,8 +9,7 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL = 2
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- \
|
||||
- --buildtype=debugoptimized \
|
||||
- -Dpnp_ids=/usr/share/hwdata/pnp.ids
|
||||
+ --buildtype=debugoptimized
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip -Xdesktop -Xcinnamon --dbg-package=libcvc-dbg
|
||||
diff --git a/libcinnamon-desktop/meson.build b/libcinnamon-desktop/meson.build
|
||||
index 7bd33339..42b8258e 100644
|
||||
--- a/libcinnamon-desktop/meson.build
|
||||
+++ b/libcinnamon-desktop/meson.build
|
||||
@@ -73,7 +73,6 @@ libcinnamon_desktop = shared_library('cinnamon-desktop',
|
||||
include_directories: [ rootInclude ],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="CinnamonDesktop"',
|
||||
- '-DPNP_IDS="@0@"'.format(pnp_ids_path),
|
||||
'-DXKB_BASE="@0@"'.format(xkb_base),
|
||||
],
|
||||
dependencies: cinnamon_deps,
|
||||
@@ -97,12 +96,6 @@ pkgconfig.generate(
|
||||
variables: [ 'exec_prefix=${prefix}'],
|
||||
)
|
||||
|
||||
-if pnp_ids_install_internal
|
||||
- install_data('pnp.ids',
|
||||
- install_dir: pnp_ids_path,
|
||||
- )
|
||||
-endif
|
||||
-
|
||||
cdesktop_gir = gnome.generate_gir(libcinnamon_desktop,
|
||||
sources: 'cdesktop-enums.h',
|
||||
namespace: 'CDesktopEnums',
|
||||
diff --git a/libcinnamon-desktop/pnp.ids b/libcinnamon-desktop/pnp.ids
|
||||
deleted file mode 100644
|
||||
index 70c10bb4..00000000
|
||||
--- a/libcinnamon-desktop/pnp.ids
|
||||
+++ /dev/null
|
||||
@@ -1,75 +0,0 @@
|
||||
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
-<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
|
||||
-<head>
|
||||
-<title>hwdata.git - Hardware Database, including Monitors, pci.ids, usb.ids, and video cards</title>
|
||||
-<meta name='generator' content='cgit v0.9.1'/>
|
||||
-<meta name='robots' content='index, nofollow'/>
|
||||
-<link rel='stylesheet' type='text/css' href='/cgit-data/cgit.css'/>
|
||||
-<link rel='alternate' title='Atom feed' href='http://git.fedorahosted.org/cgit/hwdata.git/atom/?h=master' type='application/atom+xml'/>
|
||||
-</head>
|
||||
-<body>
|
||||
-<div id='cgit'><table id='header'>
|
||||
-<tr>
|
||||
-<td class='logo' rowspan='2'><a href='/cgit/'><img src='/cgit-data/cgit.png' alt='cgit logo'/></a></td>
|
||||
-<td class='main'><a href='/cgit/'>index</a> : <a title='hwdata.git' href='/cgit/hwdata.git/'>hwdata.git</a></td><td class='form'><form method='get' action=''>
|
||||
-<select name='h' onchange='this.form.submit();'>
|
||||
-<option value='RHEL4'>RHEL4</option>
|
||||
-<option value='RHEL5'>RHEL5</option>
|
||||
-<option value='RHEL6'>RHEL6</option>
|
||||
-<option value='RHEL7'>RHEL7</option>
|
||||
-<option value='master' selected='selected'>master</option>
|
||||
-<option value='rhel5'>rhel5</option>
|
||||
-</select> <input type='submit' name='' value='switch'/></form></td></tr>
|
||||
-<tr><td class='sub'>Hardware Database, including Monitors, pci.ids, usb.ids, and video cards</td><td class='sub right'>Karsten Hopp</td></tr></table>
|
||||
-<table class='tabs'><tr><td>
|
||||
-<a class='active' href='/cgit/hwdata.git/'>summary</a><a href='/cgit/hwdata.git/refs/'>refs</a><a href='/cgit/hwdata.git/log/'>log</a><a href='/cgit/hwdata.git/tree/'>tree</a><a href='/cgit/hwdata.git/commit/'>commit</a><a href='/cgit/hwdata.git/diff/'>diff</a><a href='/cgit/hwdata.git/stats/'>stats</a></td><td class='form'><form class='right' method='get' action='/cgit/hwdata.git/log/'>
|
||||
-<select name='qt'>
|
||||
-<option value='grep'>log msg</option>
|
||||
-<option value='author'>author</option>
|
||||
-<option value='committer'>committer</option>
|
||||
-<option value='range'>range</option>
|
||||
-</select>
|
||||
-<input class='txt' type='text' size='10' name='q' value=''/>
|
||||
-<input type='submit' value='search'/>
|
||||
-</form>
|
||||
-</td></tr></table>
|
||||
-<div class='content'><table summary='repository info' class='list nowrap'><tr class='nohover'><th class='left'>Branch</th><th class='left'>Commit message</th><th class='left'>Author</th><th class='left' colspan='2'>Age</th></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/log/?h=RHEL4'>RHEL4</a></td><td><a href='/cgit/hwdata.git/commit/?h=RHEL4'>bump release and add changelog</a></td><td>Karsten Hopp</td><td colspan='2'><span class='age-years'>2 years</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/log/?h=RHEL5'>RHEL5</a></td><td><a href='/cgit/hwdata.git/commit/?h=RHEL5'>- update pci.ids, usb.ids</a></td><td>Karsten Hopp</td><td colspan='2'><span class='age-years'>2 years</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/log/?h=RHEL6'>RHEL6</a></td><td><a href='/cgit/hwdata.git/commit/?h=RHEL6'>updated pci.ids, usb.ids (#760014)</a></td><td>Karsten Hopp</td><td colspan='2'><span class='age-months'>13 months</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/log/?h=RHEL7'>RHEL7</a></td><td><a href='/cgit/hwdata.git/commit/?h=RHEL7'>update</a></td><td>Karsten Hopp</td><td colspan='2'><span class='age-months'>10 months</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/log/'>master</a></td><td><a href='/cgit/hwdata.git/commit/'>data files update</a></td><td>Michal Minar</td><td colspan='2'><span class='age-weeks'>4 weeks</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/log/?h=rhel5'>rhel5</a></td><td><a href='/cgit/hwdata.git/commit/?h=rhel5'>Merge commit 'origin/master'</a></td><td>Karsten Hopp</td><td colspan='2'><span class='age-years'>5 years</span></td></tr>
|
||||
-<tr class='nohover'><td colspan='4'> </td></tr><tr class='nohover'><th class='left'>Tag</th><th class='left'>Download</th><th class='left'>Author</th><th class='left' colspan='2'>Age</th></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/tag/?id=hwdata-0.243-1'>hwdata-0.243-1</a></td><td><a href='/cgit/hwdata.git/snapshot/hwdata-0.243-1.zip'>hwdata-0.243-1.zip</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.243-1.tar.gz'>hwdata-0.243-1.tar.gz</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.243-1.tar.bz2'>hwdata-0.243-1.tar.bz2</a> </td><td>Michal Minar</td><td colspan='2'><span class='age-weeks'>8 weeks</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/tag/?id=hwdata-0.242-1'>hwdata-0.242-1</a></td><td><a href='/cgit/hwdata.git/snapshot/hwdata-0.242-1.zip'>hwdata-0.242-1.zip</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.242-1.tar.gz'>hwdata-0.242-1.tar.gz</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.242-1.tar.bz2'>hwdata-0.242-1.tar.bz2</a> </td><td>Michal Minar</td><td colspan='2'><span class='age-months'>3 months</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/tag/?id=hwdata-0.241-1'>hwdata-0.241-1</a></td><td><a href='/cgit/hwdata.git/snapshot/hwdata-0.241-1.zip'>hwdata-0.241-1.zip</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.241-1.tar.gz'>hwdata-0.241-1.tar.gz</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.241-1.tar.bz2'>hwdata-0.241-1.tar.bz2</a> </td><td>Michal Minar</td><td colspan='2'><span class='age-months'>4 months</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/tag/?id=hwdata-0.240-1'>hwdata-0.240-1</a></td><td><a href='/cgit/hwdata.git/snapshot/hwdata-0.240-1.zip'>hwdata-0.240-1.zip</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.240-1.tar.gz'>hwdata-0.240-1.tar.gz</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.240-1.tar.bz2'>hwdata-0.240-1.tar.bz2</a> </td><td>Michal Minar</td><td colspan='2'><span class='age-months'>4 months</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/tag/?id=hwdata-0.238-1'>hwdata-0.238-1</a></td><td><a href='/cgit/hwdata.git/snapshot/hwdata-0.238-1.zip'>hwdata-0.238-1.zip</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.238-1.tar.gz'>hwdata-0.238-1.tar.gz</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.238-1.tar.bz2'>hwdata-0.238-1.tar.bz2</a> </td><td>Adam Jackson</td><td colspan='2'><span class='age-months'>7 months</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/tag/?id=hwdata-0.237-1'>hwdata-0.237-1</a></td><td><a href='/cgit/hwdata.git/snapshot/hwdata-0.237-1.zip'>hwdata-0.237-1.zip</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.237-1.tar.gz'>hwdata-0.237-1.tar.gz</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.237-1.tar.bz2'>hwdata-0.237-1.tar.bz2</a> </td><td>Adam Jackson</td><td colspan='2'><span class='age-months'>7 months</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/tag/?id=hwdata-0.236-1'>hwdata-0.236-1</a></td><td><a href='/cgit/hwdata.git/snapshot/hwdata-0.236-1.zip'>hwdata-0.236-1.zip</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.236-1.tar.gz'>hwdata-0.236-1.tar.gz</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.236-1.tar.bz2'>hwdata-0.236-1.tar.bz2</a> </td><td>Adam Jackson</td><td colspan='2'><span class='age-months'>7 months</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/tag/?id=hwdata-0.235-1'>hwdata-0.235-1</a></td><td><a href='/cgit/hwdata.git/snapshot/hwdata-0.235-1.zip'>hwdata-0.235-1.zip</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.235-1.tar.gz'>hwdata-0.235-1.tar.gz</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.235-1.tar.bz2'>hwdata-0.235-1.tar.bz2</a> </td><td>Adam Jackson</td><td colspan='2'><span class='age-months'>7 months</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/tag/?id=hwdata-0.213.16-1'>hwdata-0.213.16-1</a></td><td><a href='/cgit/hwdata.git/snapshot/hwdata-0.213.16-1.zip'>hwdata-0.213.16-1.zip</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.213.16-1.tar.gz'>hwdata-0.213.16-1.tar.gz</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.213.16-1.tar.bz2'>hwdata-0.213.16-1.tar.bz2</a> </td><td>Philip Knirsch</td><td colspan='2'><span class='age-years'>4 years</span></td></tr>
|
||||
-<tr><td><a href='/cgit/hwdata.git/tag/?id=hwdata-0.225-1'>hwdata-0.225-1</a></td><td><a href='/cgit/hwdata.git/snapshot/hwdata-0.225-1.zip'>hwdata-0.225-1.zip</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.225-1.tar.gz'>hwdata-0.225-1.tar.gz</a> <a href='/cgit/hwdata.git/snapshot/hwdata-0.225-1.tar.bz2'>hwdata-0.225-1.tar.bz2</a> </td><td>Adam Jackson</td><td colspan='2'><span class='age-years'>4 years</span></td></tr>
|
||||
-<tr class='nohover'><td colspan='4'><a href='/cgit/hwdata.git/refs/tags'>[...]</a></td></tr><tr class='nohover'><td colspan='4'> </td></tr><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
|
||||
-<tr><td>2013-02-18</td><td><a href='/cgit/hwdata.git/commit/?id=5e931dd336e03c1029b2ae856298e450471f38dc'>data files update</a><a class='deco' href='/cgit/hwdata.git/commit/?id=5e931dd336e03c1029b2ae856298e450471f38dc'>HEAD</a><a class='branch-deco' href='/cgit/hwdata.git/log/'>master</a></td><td>Michal Minar</td><td>3</td><td>-3662/+5993</td></tr>
|
||||
-<tr><td>2013-01-18</td><td><a href='/cgit/hwdata.git/commit/?id=ab16cd38b8c676c69b4e2329d9d36d0f3899dae4'>updated text of GPLv2 file</a></td><td>Michal Minar</td><td>1</td><td>-21/+20</td></tr>
|
||||
-<tr><td>2013-01-18</td><td><a href='/cgit/hwdata.git/commit/?id=1eef266fb376a5208246c0b54da82b8fbe8475ad'>updated data files</a><a class='tag-deco' href='/cgit/hwdata.git/tag/?id=hwdata-0.243-1'>hwdata-0.243-1</a></td><td>Michal Minar</td><td>4</td><td>-511/+372</td></tr>
|
||||
-<tr><td>2012-12-07</td><td><a href='/cgit/hwdata.git/commit/?id=3ec4e33c01d479ed3cf4321a7b7f4dc91a79e970'>Updated data files</a><a class='tag-deco' href='/cgit/hwdata.git/tag/?id=hwdata-0.242-1'>hwdata-0.242-1</a></td><td>Michal Minar</td><td>4</td><td>-2235/+3545</td></tr>
|
||||
-<tr><td>2012-11-07</td><td><a href='/cgit/hwdata.git/commit/?id=1ce7e5ea843892755c43ee751f032c8c6e47137b'>updated spec</a><a class='tag-deco' href='/cgit/hwdata.git/tag/?id=hwdata-0.241-1'>hwdata-0.241-1</a></td><td>Michal Minar</td><td>1</td><td>-1/+4</td></tr>
|
||||
-<tr><td>2012-11-07</td><td><a href='/cgit/hwdata.git/commit/?id=4df2658e8024a019f5621d9c509a6ab2255ee85e'>updated pci.ids and out.txt</a><a class='tag-deco' href='/cgit/hwdata.git/tag/?id=hwdata-0.240-1'>hwdata-0.240-1</a></td><td>Michal Minar</td><td>2</td><td>-191/+1167</td></tr>
|
||||
-<tr><td>2012-10-31</td><td><a href='/cgit/hwdata.git/commit/?id=a7b95c1323b88cacc9ef51ab345a86449dbb965d'>added script for comparison of old and new pci.ids</a></td><td>Michal Minar</td><td>1</td><td>-0/+150</td></tr>
|
||||
-<tr><td>2012-09-26</td><td><a href='/cgit/hwdata.git/commit/?id=2f39fb805e3a861bd49f4524764104f2db0dab37'>update data files, fixed spec file</a></td><td>Michal Minar</td><td>4</td><td>-28/+58</td></tr>
|
||||
-<tr><td>2012-09-25</td><td><a href='/cgit/hwdata.git/commit/?id=9665c98dd34ab927772ce359e9ee9fbc0a549d97'>updated data files (pci.ids, oui.txt, usb.ids)</a></td><td>Michal Minar</td><td>4</td><td>-1839/+3261</td></tr>
|
||||
-<tr><td>2012-08-27</td><td><a href='/cgit/hwdata.git/commit/?id=3ab47e5247be12cb03df83682a6d1c1f5a716cff'>build: Don't depend on hwdata.spec for 'make install'</a></td><td>Colin Walters</td><td>1</td><td>-1/+1</td></tr>
|
||||
-<tr class='nohover'><td colspan='3'><a href='/cgit/hwdata.git/log/'>[...]</a></td></tr>
|
||||
-<tr class='nohover'><td colspan='4'> </td></tr><tr><th class='left' colspan='4'>Clone</th></tr>
|
||||
-<tr><td colspan='4'><a href='git://git.fedorahosted.org/hwdata.git'>git://git.fedorahosted.org/hwdata.git</a></td></tr>
|
||||
-<tr><td colspan='4'><a href='ssh://git.fedorahosted.org/git/hwdata.git'>ssh://git.fedorahosted.org/git/hwdata.git</a></td></tr>
|
||||
-<tr><td colspan='4'><a href='http://git.fedorahosted.org/git/hwdata.git'>http://git.fedorahosted.org/git/hwdata.git</a></td></tr>
|
||||
-</table></div> <!-- class=content -->
|
||||
-<div class='footer'>generated by cgit v0.9.1 at 2013-03-16 18:07:15 (GMT)</div>
|
||||
-</div> <!-- id=cgit -->
|
||||
-</body>
|
||||
-</html>
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 5a82a58b..ff65db7b 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -63,20 +63,6 @@ use_alsa = get_option('alsa')
|
||||
xkb_base = xkbconf.get_variable(pkgconfig: 'xkb_base')
|
||||
iso_codes_prefix = iso_codes.get_variable(pkgconfig: 'prefix')
|
||||
|
||||
-# Path to the pnp.ids file -- to know if we use one shipped with another
|
||||
-# package, or an internal file
|
||||
-
|
||||
-pnp_ids_path = get_option('pnp_ids')
|
||||
-pnp_ids_install_internal = (pnp_ids_path == '')
|
||||
-
|
||||
-if pnp_ids_install_internal
|
||||
- # Default value
|
||||
- pnp_ids_path = join_paths(get_option('datadir'), 'libcinnamon-desktop')
|
||||
- pnp_ids_abspath = join_paths(get_option('prefix'), pnp_ids_path)
|
||||
-else
|
||||
- pnp_ids_abspath = pnp_ids_path
|
||||
-endif
|
||||
-
|
||||
################################################################################
|
||||
# Config
|
||||
|
||||
@@ -113,12 +99,6 @@ subdir('libcinnamon-desktop')
|
||||
subdir('libcvc')
|
||||
subdir('schemas')
|
||||
|
||||
-
|
||||
-pnp_message = '@0@: @1@'.format(
|
||||
- ''+(pnp_ids_install_internal ? 'internal' : 'system'),
|
||||
- pnp_ids_abspath
|
||||
-)
|
||||
-
|
||||
message('\n'.join([
|
||||
'',
|
||||
' prefix: ' + get_option('prefix'),
|
||||
@@ -133,7 +113,6 @@ message('\n'.join([
|
||||
' compiler: ' + cc.get_id(),
|
||||
' debugging support: ' + get_option('buildtype'),
|
||||
' Use *_DISABLE_DEPRECATED: @0@'.format(get_option('deprecation_warnings')),
|
||||
- ' Use PNP files: ' + pnp_message,
|
||||
' Use ALSA: ' + '@0@'.format(use_alsa),
|
||||
' systemd: @0@'.format(systemd.found()),
|
||||
'',
|
||||
diff --git a/meson_options.txt b/meson_options.txt
|
||||
index e0ad4d3a..612c3e39 100644
|
||||
--- a/meson_options.txt
|
||||
+++ b/meson_options.txt
|
||||
@@ -1,7 +1,5 @@
|
||||
option('deprecation_warnings', type: 'boolean', value: false,
|
||||
description: 'Show compiler warnings about deprecated features')
|
||||
-option('pnp_ids', type: 'string', value: '',
|
||||
- description: 'Specify the path to pnp.ids (default is an internal copy)')
|
||||
option('alsa', type: 'boolean', value: false,
|
||||
description: 'ALSA support')
|
||||
option('systemd',
|
||||
@@ -1,2 +1 @@
|
||||
DIST cinnamon-menus-6.4.0.tar.gz 96524 BLAKE2B 3e37d078861eba9ce6144c788e43d0f314e5996c0cc03fbadec0dad78a1221a618880ddecfa620248d3d79da73e63feb3d610fc5fef3e0aa3bbb6af87e337152 SHA512 6e991203148c8bfacded8bdcb6f2a2317bdcd1663df49dac21241a7ad439cd331e576bb5e8ceae65ec9c254f43b0d6340c2e873216f582731e94c28f90625b15
|
||||
DIST cinnamon-menus-6.6.0.tar.gz 96541 BLAKE2B 845d13a47ae50be453d30346aa5c523e976ae583b04d427c2f6330cd02714fdd729fcb965c6df87f107976c53baa7809e3fbf9973e4f188e13a01025b5730817 SHA512 65402ac018ca4dfd5d7b26808dc665916564b2d2dcac72a8b57125e903bd95c1ecf4c35efb8088fcffd5fab3f394e85d3643816fae4e055d85a3f9622148b756
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson xdg
|
||||
|
||||
DESCRIPTION="Cinnamon's library for the Desktop Menu fd.o specification"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-menus"
|
||||
SRC_URI="https://github.com/linuxmint/cinnamon-menus/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE="gtk-doc"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.29.15:2
|
||||
>=dev-libs/gobject-introspection-1.82.0-r2:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
|
||||
gtk-doc? ( dev-util/gtk-doc )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use gtk-doc enable_docs)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
DIST cinnamon-screensaver-6.4.1.tar.gz 160605 BLAKE2B 83a9fda11bc0e1a809b43a2b7c3c4b6b540b0c6415faaa21f31534c550b956b4c67bd67108f2d1c8b66780dbedecf6f726dd9e3e29779ede9a496fce9a59237a SHA512 62125b6c8a0cfa8b969acd2be5f4ce0ae8f092565c45807b7ccedcf626a2c9bb2208838872eeea3ef2c418d902e55a58fab54e7f57cf2e6da00bbf19fd440783
|
||||
DIST cinnamon-screensaver-6.6.1.tar.gz 161364 BLAKE2B 91bf7b85ba43aed0e3530d244a3bda3a58dfe6ea2e7cbf8b088f429b9742efb5042f5dd0ac17831c3c20a88725a140ef97c718e5798f74d40df3db552007fc9f SHA512 7f3f90a0ce392bfa5f1c8a515d31ed3bbacbba30f67328a6831c0ca0fb77ce1ec39c7dcf53969633b6cbcbcb8d7fdaffe0357dcf91110c4ce66c020dbcf35eb7
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit meson python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Screensaver for Cinnamon"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-screensaver"
|
||||
SRC_URI="https://github.com/linuxmint/cinnamon-screensaver/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+ MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE="systemd xinerama"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-libs/glib-2.37.3:2[dbus]
|
||||
>=gnome-extra/cinnamon-desktop-6.4
|
||||
sys-libs/pam
|
||||
>=x11-libs/gtk+-3.22:3[introspection,X]
|
||||
x11-libs/cairo
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
x11-libs/pango
|
||||
x11-misc/xdotool:=
|
||||
x11-themes/adwaita-icon-theme
|
||||
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=app-accessibility/caribou-0.3
|
||||
sys-apps/accountsservice
|
||||
sys-process/procps
|
||||
x11-apps/xprop
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
>=dev-python/python3-xapp-2.4.2[${PYTHON_USEDEP}]
|
||||
')
|
||||
|
||||
systemd? ( >=sys-apps/systemd-31 )
|
||||
!systemd? ( sys-auth/elogind )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-util/gdbus-codegen-2.80.5-r1
|
||||
sys-apps/dbus
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang install-scripts src
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use xinerama)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_optimize "${ED}"/usr/share/cinnamon-screensaver/
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
DIST cinnamon-session-6.4.2.tar.gz 166012 BLAKE2B f14215e9680ead7ab9220911bc5cd0d348c2d7334bbcb9ca3891ee06d3aae7334c89348937217f47b839b086149be473badaed9a1539b205675f653b332c56af SHA512 e0153ddd68f79a23ce6f4220e8dba099a73d922e81a9efe8f994ac80205c5ae178a08cdc036081d60e427dd28b9946e4ffdcc28a5866862fe55a1d1684aeab21
|
||||
DIST cinnamon-session-6.6.3.tar.gz 167006 BLAKE2B 0bd355246a0606e46fa555fc692d850ce8e6d650b0565b50e4a8387c71804c03b90936008e9c6b976b1444c6f5487f13582025ba2df4fc7d691a665612840ca2 SHA512 3b6a89a405ee00adc7a8a62c447d1f92d9fb917b3b1801b3dc34d871e736da787f1b3359b8dc2ef42f097326e78fa364bfd1055cc8a49cc43a4252fa8ce5950b
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit meson gnome2-utils python-single-r1
|
||||
|
||||
DESCRIPTION="Cinnamon session manager"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-session"
|
||||
SRC_URI="https://github.com/linuxmint/cinnamon-session/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE="systemd"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.37.3:2
|
||||
>=gnome-extra/cinnamon-desktop-6.4:0=
|
||||
media-libs/libcanberra[pulseaudio]
|
||||
virtual/opengl
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3:3[introspection,X]
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango[X]
|
||||
>=x11-libs/xapp-2.8.8[introspection]
|
||||
|
||||
systemd? (
|
||||
>=sys-apps/systemd-183
|
||||
)
|
||||
!systemd? (
|
||||
sys-auth/elogind[policykit]
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-libs/xtrans
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=dev-libs/gobject-introspection-1.82.0-r2
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-util/gdbus-codegen-2.80.5-r1
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang data cinnamon-session-quit
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dipv6=true
|
||||
-Dxtrans=true
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST cinnamon-settings-daemon-6.4.3.tar.gz 601452 BLAKE2B 1cb9b49c04f03f3c9d8357e3f9570aecd41bfc4abe5c9fa84410d33566906e4ee8ba44947a98958633ca423b394efc07c0dd670206b332f0efcaf3839e682830 SHA512 d21d8e1fa80f54b7bc5bde9e42c939e99247df6cb1c1f00ec0de46f938c476bf3633647fa8a1d9962498d62aecd7a624826f97c145d9bd05aaf3f82180a95a5a
|
||||
DIST cinnamon-settings-daemon-6.6.3.tar.gz 574147 BLAKE2B 59ba0836afbe4a48dcc92bc75e56ddde850f9256962d3d2545b8d359eecdc5db451fb4a9bbaeba129bda29b2aaec78105774999cf983efd2e6f75881419eb102 SHA512 182325179a4f66362f9c35c5ae3dd59bb39c175c067edf72902d773d96bc3d16d046ed884dd6abe8c18335657504e18855d1846c6c8bfee13b47c59aa18b9c1b
|
||||
DIST cinnamon-settings-daemon-6.6.4.tar.gz 574203 BLAKE2B d014a0c00dceb65931702fa0194f37356875b6a5d51159f709bce111f170137288f8328e1c7ee0a198fc320cc72cf313333881ca57c15e553d9eaa43099f8efc SHA512 a477fd024da9380f254752b66c493198bf38f404bad108d0a4e61f7590b900739063fefe1aa0904b20d33149c8e03871cfb8eb6da673403fa77d12d312b7d628
|
||||
|
||||
@@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit meson flag-o-matic gnome2-utils python-any-r1 xdg
|
||||
|
||||
DESCRIPTION="Cinnamon's settings daemon"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-settings-daemon"
|
||||
SRC_URI="https://github.com/linuxmint/cinnamon-settings-daemon/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+ LGPL-2.1 LGPL-2.1+ MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE="+colord cups input_devices_wacom smartcard systemd wayland"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.40.0:2[dbus]
|
||||
dev-libs/libgudev
|
||||
>=gnome-base/libgnomekbd-3.6:=
|
||||
>=gnome-extra/cinnamon-desktop-6.4:0=
|
||||
media-libs/fontconfig
|
||||
>=media-libs/lcms-2.2:2
|
||||
|| (
|
||||
media-libs/libcanberra-gtk3
|
||||
media-libs/libcanberra[gtk3(-),pulseaudio]
|
||||
)
|
||||
>=media-libs/libpulse-0.9.16[glib]
|
||||
>=sys-auth/polkit-0.97
|
||||
sys-libs/timezone-data:=
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/libnotify-0.7.3
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
>=x11-libs/libxklavier-5.0:=
|
||||
>=x11-libs/pango-1.20.0
|
||||
>=sys-power/upower-0.99.11:=
|
||||
|
||||
colord? ( >=x11-misc/colord-0.1.27:= )
|
||||
cups? (
|
||||
>=net-print/cups-1.4[dbus]
|
||||
app-admin/system-config-printer
|
||||
net-print/cups-pk-helper )
|
||||
input_devices_wacom? (
|
||||
>=x11-libs/gtk+-3.24.41-r1:3[wayland?,X]
|
||||
>=dev-libs/libwacom-0.7:=
|
||||
>=gnome-base/librsvg-2.36.2
|
||||
)
|
||||
!input_devices_wacom? (
|
||||
>=x11-libs/gtk+-3.14.0:3[X]
|
||||
)
|
||||
smartcard? (
|
||||
dev-libs/nspr
|
||||
>=dev-libs/nss-3.11.2
|
||||
)
|
||||
systemd? ( sys-apps/systemd:0= )
|
||||
!systemd? ( sys-auth/elogind )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-libs/libxml2:2
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/glib-utils
|
||||
>=dev-util/gdbus-codegen-2.80.5-r1
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Generate tz data header on build
|
||||
# https://github.com/linuxmint/cinnamon-settings-daemon/pull/405
|
||||
"${FILESDIR}/${PN}-6.4.0-generate-tz-data.patch"
|
||||
|
||||
# Fix tz data coordinate parsing
|
||||
# https://github.com/linuxmint/cinnamon-settings-daemon/commit/eec27984940dfb11904b02228357f430b585c41f
|
||||
"${FILESDIR}/${PN}-6.4.0-fix-tz-data-parsing.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang install-scripts plugins/color
|
||||
rm plugins/color/tz-coords.h || die "Error removing stale tz-coords.h"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# The only component that uses gdk backends is the wacom plugin
|
||||
if use input_devices_wacom; then
|
||||
# defang automagic dependencies
|
||||
use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND
|
||||
fi
|
||||
|
||||
# gudev not optional on Linux platforms
|
||||
local emesonargs=(
|
||||
-Duse_gudev=enabled
|
||||
-Duse_polkit=enabled
|
||||
-Duse_logind=enabled
|
||||
-Dgenerate_tz_coords=true
|
||||
-Dzone_tab="${EPREFIX}/usr/share/zoneinfo/zone1970.tab"
|
||||
$(meson_feature colord use_color)
|
||||
$(meson_feature cups use_cups)
|
||||
$(meson_feature smartcard use_smartcard)
|
||||
$(meson_feature input_devices_wacom use_wacom)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -74,6 +74,12 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Don't install static csd library
|
||||
# https://github.com/linuxmint/cinnamon-settings-daemon/pull/450
|
||||
"${FILESDIR}/${PN}-6.6.0-no-static-install.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang install-scripts plugins/color
|
||||
@@ -1,55 +0,0 @@
|
||||
From eec27984940dfb11904b02228357f430b585c41f Mon Sep 17 00:00:00 2001
|
||||
From: Michael Webster <miketwebster@gmail.com>
|
||||
Date: Wed, 13 Aug 2025 14:24:38 -0400
|
||||
Subject: [PATCH] generate-tz-header.py: Fix position coordinate parsing.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
We were reading zone.tab incorrectly, constructing a decimal
|
||||
value directly from the coordinate data. But described in the
|
||||
companion zone1970.tab file (tzdata package), the format is:
|
||||
# 2. Latitude and longitude of the timezone's principal location
|
||||
# in ISO 6709 sign-degrees-minutes-seconds format,
|
||||
# either ±DDMM±DDDMM or ±DDMMSS±DDDMMSS,
|
||||
# first latitude (+ is north), then longitude (+ is east).
|
||||
|
||||
Update our script to parse and convert these coordinates into
|
||||
decimal values correctly.
|
||||
|
||||
Fixes #415.
|
||||
---
|
||||
plugins/color/generate-tz-header.py | 11 +-
|
||||
plugins/color/tz-coords.h | 834 ++++++++++++++--------------
|
||||
2 files changed, 421 insertions(+), 424 deletions(-)
|
||||
|
||||
diff --git a/plugins/color/generate-tz-header.py b/plugins/color/generate-tz-header.py
|
||||
index d725727..59954f1 100755
|
||||
--- a/plugins/color/generate-tz-header.py
|
||||
+++ b/plugins/color/generate-tz-header.py
|
||||
@@ -4,7 +4,7 @@
|
||||
from argparse import ArgumentParser
|
||||
from pathlib import Path
|
||||
|
||||
-COORDS_RE = re.compile(r"([+-])([0-9]+)([+-])([0-9]+)")
|
||||
+COORDS_RE = re.compile(r"([+-]{1}[0-9]{2})([0-9]{2})([0-9]*)([+-]{1}[0-9]{3})([0-9]{2})([0-9]*)")
|
||||
|
||||
d = {}
|
||||
|
||||
@@ -21,13 +21,10 @@
|
||||
continue
|
||||
|
||||
coords, tz = line.split('\t')[1:3]
|
||||
- lat_sign, lat_val, long_sign, long_val = COORDS_RE.search(coords).groups()
|
||||
+ lat_deg, lat_min, lat_sec, long_deg, long_min, long_sec = COORDS_RE.search(coords).groups()
|
||||
|
||||
- lat_str = lat_sign + lat_val[0:2] + "." + lat_val[2:]
|
||||
- long_str = long_sign + long_val[0:3] + "." + long_val[3:]
|
||||
-
|
||||
- lat = float(lat_str)
|
||||
- long = float(long_str)
|
||||
+ lat = float(lat_deg + str((int(lat_min) / 60.0) + ((int(lat_sec) if lat_sec else 0) / 3600.0))[1:])
|
||||
+ long = float(long_deg + str((int(long_min) / 60.0) + ((int(long_sec) if long_sec else 0) / 3600.0))[1:])
|
||||
|
||||
d[tz] = [lat, long]
|
||||
|
||||
@@ -1,135 +0,0 @@
|
||||
From 2f235c32d055d0a2f0683855a283a049a1905e7c Mon Sep 17 00:00:00 2001
|
||||
From: Sparky Bluefang <sparky@bluefang-logic.com>
|
||||
Date: Mon, 9 Dec 2024 00:24:08 -0500
|
||||
Subject: [PATCH] Add options to call generate-tz-header as part of the build
|
||||
process.
|
||||
|
||||
---
|
||||
meson_options.txt | 12 +++++++++++
|
||||
plugins/color/generate-tz-header.py | 33 +++++++++++++++++------------
|
||||
plugins/color/meson.build | 14 +++++++++++-
|
||||
3 files changed, 45 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/meson_options.txt b/meson_options.txt
|
||||
index e3c89f3..81db2ba 100644
|
||||
--- a/meson_options.txt
|
||||
+++ b/meson_options.txt
|
||||
@@ -58,3 +58,15 @@ option(
|
||||
value: false,
|
||||
description: 'Show additional build warnings'
|
||||
)
|
||||
+option(
|
||||
+ 'generate_tz_coords',
|
||||
+ type: 'boolean',
|
||||
+ value: false,
|
||||
+ description: 'Generate TZCoords header from tzdata'
|
||||
+)
|
||||
+option(
|
||||
+ 'zone_tab',
|
||||
+ type: 'string',
|
||||
+ value: '/usr/share/zoneinfo/zone.tab',
|
||||
+ description: 'Path to tzdata zone.tab or zone1970.tab'
|
||||
+)
|
||||
diff --git a/plugins/color/generate-tz-header.py b/plugins/color/generate-tz-header.py
|
||||
index cc1d399..d725727 100755
|
||||
--- a/plugins/color/generate-tz-header.py
|
||||
+++ b/plugins/color/generate-tz-header.py
|
||||
@@ -1,20 +1,27 @@
|
||||
-#!/usr/bin/python3
|
||||
+#!/usr/bin/env python3
|
||||
|
||||
import re
|
||||
+from argparse import ArgumentParser
|
||||
+from pathlib import Path
|
||||
+
|
||||
+COORDS_RE = re.compile(r"([+-])([0-9]+)([+-])([0-9]+)")
|
||||
|
||||
d = {}
|
||||
|
||||
+parser = ArgumentParser(prog='generate-tz-header',
|
||||
+ description='Generate tz-coords.h header from timezone-data')
|
||||
+parser.add_argument('-i', '--zone_tab', nargs='?', default='/usr/share/zoneinfo/zone.tab', type=Path)
|
||||
+parser.add_argument('-o', '--out_file', nargs='?', default='tz-coords.h', type=Path)
|
||||
+args = parser.parse_args()
|
||||
|
||||
-with open("/usr/share/zoneinfo/zone.tab", "r") as f:
|
||||
+with open(args.zone_tab, "r") as f:
|
||||
for line in f:
|
||||
- if line.startswith("#"):
|
||||
+ line = line.strip()
|
||||
+ if not line or line.startswith("#"):
|
||||
continue
|
||||
|
||||
- res = re.search(r"([A-Z]{2})\s([0-9-+]+)\s([\w/_\-]+)\s", line)
|
||||
- code, coords, tz = res.groups()
|
||||
-
|
||||
- res = re.search(r"([+-]{1})([0-9]+)([+-]{1})([0-9]+)", coords)
|
||||
- lat_sign, lat_val, long_sign, long_val = res.groups()
|
||||
+ coords, tz = line.split('\t')[1:3]
|
||||
+ lat_sign, lat_val, long_sign, long_val = COORDS_RE.search(coords).groups()
|
||||
|
||||
lat_str = lat_sign + lat_val[0:2] + "." + lat_val[2:]
|
||||
long_str = long_sign + long_val[0:3] + "." + long_val[3:]
|
||||
@@ -25,17 +32,17 @@
|
||||
d[tz] = [lat, long]
|
||||
|
||||
header = """
|
||||
-// Generated from /usr/share/zoneinfo/zone.tab, used by csd-nightlight.c to calculate sunrise and sunset based on the system timezone
|
||||
+// Generated from %s, used by csd-nightlight.c to calculate sunrise and sunset based on the system timezone
|
||||
|
||||
typedef struct
|
||||
{
|
||||
- const char *timezone;
|
||||
+ const gchar *timezone;
|
||||
double latitude;
|
||||
double longitude;
|
||||
} TZCoords;
|
||||
|
||||
static TZCoords tz_coord_list[] = {
|
||||
-"""
|
||||
+""" % (args.zone_tab)
|
||||
|
||||
for zone in sorted(d.keys()):
|
||||
latitude, longitude = d[zone]
|
||||
@@ -44,7 +51,7 @@
|
||||
|
||||
header += "};"
|
||||
|
||||
-with open("tz-coords.h", "w") as f:
|
||||
+with open(args.out_file, "w") as f:
|
||||
f.write(header)
|
||||
|
||||
-quit()
|
||||
\ No newline at end of file
|
||||
+quit()
|
||||
diff --git a/plugins/color/meson.build b/plugins/color/meson.build
|
||||
index 42638cf..e421e52 100644
|
||||
--- a/plugins/color/meson.build
|
||||
+++ b/plugins/color/meson.build
|
||||
@@ -1,5 +1,17 @@
|
||||
plugin_name='color'
|
||||
|
||||
+if get_option('generate_tz_coords')
|
||||
+ prog_python = find_program('python3')
|
||||
+
|
||||
+ tz_coords_h = custom_target(
|
||||
+ 'tz_coords_h',
|
||||
+ input: get_option('zone_tab'),
|
||||
+ output: 'tz-coords.h',
|
||||
+ command: [prog_python, '@CURRENT_SOURCE_DIR@/generate-tz-header.py', '-i', '@INPUT@', '-o', '@OUTPUT@']
|
||||
+ )
|
||||
+else
|
||||
+ tz_coords_h = files('tz-coords.h')
|
||||
+endif
|
||||
|
||||
built_sources = gnome.gdbus_codegen(
|
||||
'cinnamon-session-dbus',
|
||||
@@ -32,7 +44,7 @@ color_deps = [
|
||||
|
||||
executable(
|
||||
'csd-' + plugin_name,
|
||||
- sources + built_sources,
|
||||
+ sources + built_sources + [tz_coords_h],
|
||||
include_directories: [include_dirs, common_inc],
|
||||
dependencies: color_deps,
|
||||
c_args: [
|
||||
@@ -1,2 +1 @@
|
||||
DIST cinnamon-translations-6.4.2.tar.gz 13903679 BLAKE2B 16dcc543e8becca4808c670ea08e6850a5931b69bf76e0dbc25d5101ee7228f3f2ddbb70e88cba02a291c1c5c98ce63f1d3677ca34cce0f0be0d275196810e69 SHA512 4fb80a159a9d980e6c0f2a2fd38b3c9493ac447a5ea813ac530b2e78598101db01c203d66906b35c1e3ecc9f4869789140ebed7f6de048d7790bd36dd252dda7
|
||||
DIST cinnamon-translations-6.6.2.tar.gz 13977788 BLAKE2B 6c5c491e75646d6f6a422dd2e0ff470fe41e231c2a398a9a8e3da7e3f1d1ee5066d87011b4b1df24199adacb47f645d316e1b0a013dee2f834aa4423c932073f SHA512 8be5e4a3996732e73e2cf9af3051787c82da53fa9e11e2c6da5b7fbcf1393a96ec86b2d2963a04ead4b1fb8011a22765ac9ce643aa483f50321e74cb06714d48
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PLOCALES="aa af am an ar ary as ast ay az be be@latin ber bg bn bn_IN br bs ca ca@valencia ckb crh cs csb cy da de dz el en@shaw en_AU en_CA en_GB en_IE en_NZ en_ZA eo es es_AR et eu fa fi fil fo fr fr_CA frp fur fy ga gd gl gu ha he hi hr hsb hu hy ia id ie ig is it ja jv ka kab kk km kn ko ksw ku ky la li lmo lo lt lv mai mg mi mk ml mn mnw mo mr ms my nap nb nds ne nl nn no nso oc om or pa pap pl ps pt pt_BR qu ro ru rue rw sa sc sco shn si sk sl so sq sr sr@ijekavian sr@ijekavianlatin sr@latin sv sw szl ta te tg th ti tk tl tlh tpi tr ts tt ug uk ur uz uz@cyrillic vi wa xh yi yo zgh zh_CN zh_HK zh_TW zu"
|
||||
|
||||
inherit plocale
|
||||
|
||||
DESCRIPTION="Translation data for Cinnamon"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-translations"
|
||||
SRC_URI="https://github.com/linuxmint/cinnamon-translations/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
|
||||
BDEPEND="sys-devel/gettext"
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_install() {
|
||||
# Cannot run before since locales are not in the expected place for this to work
|
||||
plocale_find_changes "${S}"/usr/share/locale "" ""
|
||||
|
||||
install_locale() {
|
||||
insinto /usr/share/locale
|
||||
doins -r usr/share/locale/${1}
|
||||
}
|
||||
plocale_for_each_locale install_locale
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST cinnamon-6.4.13.tar.gz 2594054 BLAKE2B 3b78781bab4f6a25464d228e2a333779af67363ec83a8570ff186a7206a958f846db29253b87ee13cde22e6c08802ee436a48ee8048e20aa3a77a9c13b54f3e6 SHA512 2c9196a166cb6e8d8e7442eafa7fda716deb1e613b8e94a55dc61d2b8cf98b81940489fca28482863d3f82058805adfa2d606335041bcc45ba3d444ef1bff5a9
|
||||
DIST cinnamon-6.6.7.tar.gz 2740585 BLAKE2B 83c706a799c8429c9b6b48d036bcb7f31bba0ed18a16b9e3a8f45fa300c9d12e73e3a6aafa965f3c90cc00a63f5d5cd5928688b448df558d4c194469b0d2d740 SHA512 2e308bfcdaca58ced6afa19b62facc9232039ccadc6689ce109203c3390236bbdc7cf374b6915686edd128b411c40668b9384d071cd125d080edcec4e1144400
|
||||
DIST cinnamon-6.6.8.tar.gz 2741522 BLAKE2B a44f677d7caf1fd90b2bdcb35f51ead7d13852e884f9b57638c35382096114247c80cd9c1b9c4acea13030c8bfc9dd566b8804b896859b0b84d8506dfbc5e876 SHA512 de49adb28011982f42e0c09028906e9130e293316bc224796128841582f1fc41ba812a73a6a1499744035264d84d4754f4857819df6cfb9eb1df9caf49331214
|
||||
|
||||
@@ -1,184 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit meson gnome2-utils pax-utils python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon"
|
||||
SRC_URI="https://github.com/linuxmint/cinnamon/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2+ GPL-3+ GPL-3-with-openssl-exception LGPL-2+ LGPL-2.1 LGPL-2.1+ MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
|
||||
IUSE="+eds +gstreamer gtk-doc +nls wayland"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
>=app-crypt/libsecret-0.18
|
||||
>=app-crypt/gcr-3.7.5:0/1
|
||||
>=dev-libs/glib-2.52.0:2[dbus]
|
||||
>=dev-libs/gobject-introspection-1.82.0-r2:=
|
||||
dev-libs/libxml2:2=
|
||||
>=gnome-extra/cinnamon-desktop-6.4:0=
|
||||
>=gnome-extra/cinnamon-menus-6.4
|
||||
>=gnome-extra/cjs-6.4[cairo(+)]
|
||||
>=net-misc/networkmanager-1.10.4[introspection]
|
||||
sys-apps/dbus
|
||||
>=sys-auth/polkit-0.100[introspection]
|
||||
virtual/opengl
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
>=x11-libs/gtk+-3.12.0:3[introspection,wayland?,X]
|
||||
>=x11-libs/libnotify-0.7.3:0=[introspection]
|
||||
x11-libs/libX11
|
||||
>=x11-libs/libXfixes-5.0
|
||||
x11-libs/pango[introspection]
|
||||
>=x11-libs/xapp-2.8.8[introspection]
|
||||
>=x11-wm/muffin-6.4[introspection,wayland?]
|
||||
|
||||
eds? (
|
||||
gnome-extra/evolution-data-server
|
||||
)
|
||||
gstreamer? (
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gstreamer:1.0
|
||||
)
|
||||
"
|
||||
# caribou used by onscreen keyboard
|
||||
# libtimezonemap used by datetime settings
|
||||
# iso-flag-png (unpackaged) used by keyboard layout settings
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=app-accessibility/caribou-0.3
|
||||
dev-libs/keybinder:3[introspection]
|
||||
dev-libs/libtimezonemap
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/python-pam[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
dev-python/tinycss2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python3-xapp-2.4.2[${PYTHON_USEDEP}]
|
||||
')
|
||||
>=gnome-base/dconf-0.4.1
|
||||
>=gnome-base/gsettings-desktop-schemas-2.91.91
|
||||
>=gnome-base/libgnomekbd-2.91.4
|
||||
>=gnome-extra/cinnamon-control-center-6.4[networkmanager=,wayland?]
|
||||
>=gnome-extra/cinnamon-screensaver-6.4
|
||||
>=gnome-extra/cinnamon-session-6.4
|
||||
>=gnome-extra/cinnamon-settings-daemon-6.4[wayland?]
|
||||
>=gnome-extra/nemo-6.4[wayland?]
|
||||
media-libs/gsound
|
||||
net-libs/libsoup:3.0[introspection]
|
||||
net-misc/wget
|
||||
sys-apps/accountsservice[introspection]
|
||||
sys-apps/coreutils
|
||||
sys-apps/pciutils
|
||||
sys-apps/util-linux
|
||||
sys-apps/xdg-desktop-portal-gtk
|
||||
sys-apps/xdg-desktop-portal-xapp
|
||||
sys-power/upower[introspection]
|
||||
x11-misc/xdg-utils
|
||||
x11-themes/adwaita-icon-theme
|
||||
x11-themes/gnome-themes-standard
|
||||
|
||||
nls? (
|
||||
>=gnome-extra/cinnamon-translations-6.4
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
dev-lang/sassc
|
||||
>=dev-util/intltool-0.40
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
|
||||
gtk-doc? ( dev-util/gtk-doc )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Fix backgrounds path as cinnamon doesn't provide them
|
||||
# https://github.com/linuxmint/Cinnamon/issues/3575
|
||||
"${FILESDIR}/${PN}-3.8.0-gnome-background-compatibility.patch"
|
||||
|
||||
# Use wheel group instead of sudo (from Fedora/Arch)
|
||||
# https://github.com/linuxmint/Cinnamon/issues/3576
|
||||
"${FILESDIR}/${PN}-3.6.6-wheel-sudo.patch"
|
||||
|
||||
# Use sassc instead of pysassc
|
||||
# https://github.com/linuxmint/cinnamon/pull/12588
|
||||
"${FILESDIR}/${PN}-6.4.0-use-sassc.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# shebang fixing craziness
|
||||
local p
|
||||
for p in $(grep -rl '#!.*python3' || die); do
|
||||
python_fix_shebang "${p}"
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use gstreamer build_recorder)
|
||||
$(meson_use gtk-doc docs)
|
||||
$(meson_use wayland)
|
||||
|
||||
# https://bugs.gentoo.org/960231
|
||||
-Ddisable_networkmanager=false
|
||||
|
||||
-Dpy3modules_dir="$(python_get_sitedir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
python_optimize "${D}$(python_get_sitedir)"
|
||||
python_optimize "${ED}"/usr/share/cinnamon/
|
||||
|
||||
# Required for gnome-shell on hardened/PaX, bug #398941
|
||||
pax-mark mr "${ED}"/usr/bin/cinnamon
|
||||
|
||||
# Doesn't exist by default
|
||||
keepdir /etc/xdg/menus/applications-merged
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
|
||||
if use gstreamer; then
|
||||
if ! has_version 'media-libs/gst-plugins-good:1.0' || \
|
||||
! has_version 'media-plugins/gst-plugins-vpx:1.0'; then
|
||||
ewarn "To make use of Cinnamon's built-in screen recording utility,"
|
||||
ewarn "you need to either install media-libs/gst-plugins-good:1.0"
|
||||
ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change"
|
||||
ewarn "org.cinnamon.recorder/pipeline to what you want to use."
|
||||
fi
|
||||
else
|
||||
ewarn "Cinnamon's built-in screen recording utility is not installed"
|
||||
ewarn "because gstreamer support is disabled."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit meson gnome2-utils pax-utils python-single-r1 xdg
|
||||
inherit meson gnome2-utils optfeature pax-utils python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon"
|
||||
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/linuxmint/cinnamon/archive/${PV}.tar.gz -> ${P}.tar.
|
||||
|
||||
LICENSE="BSD GPL-2+ GPL-3+ GPL-3-with-openssl-exception LGPL-2+ LGPL-2.1 LGPL-2.1+ MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~riscv x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
|
||||
IUSE="+eds +gstreamer gtk-doc +nls +networkmanager wayland"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
@@ -22,12 +22,12 @@ DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
>=app-crypt/gcr-3.7.5:0/1
|
||||
>=dev-libs/glib-2.52.0:2[dbus]
|
||||
>=dev-libs/glib-2.79.2:2[dbus]
|
||||
>=dev-libs/gobject-introspection-1.82.0-r2:=
|
||||
dev-libs/libxml2:2=
|
||||
>=gnome-extra/cinnamon-desktop-6.4:0=
|
||||
>=gnome-extra/cinnamon-menus-6.4
|
||||
>=gnome-extra/cjs-6.4[cairo(+)]
|
||||
>=gnome-extra/cinnamon-desktop-6.6:0=
|
||||
>=gnome-extra/cinnamon-menus-6.6
|
||||
>=gnome-extra/cjs-128[cairo(+)]
|
||||
sys-apps/dbus
|
||||
>=sys-auth/polkit-0.100[introspection]
|
||||
virtual/opengl
|
||||
@@ -38,8 +38,8 @@ DEPEND="
|
||||
x11-libs/libX11
|
||||
>=x11-libs/libXfixes-5.0
|
||||
x11-libs/pango[introspection]
|
||||
>=x11-libs/xapp-2.8.8[introspection]
|
||||
>=x11-wm/muffin-6.4[introspection,wayland?]
|
||||
>=x11-libs/xapp-3.2.2[introspection]
|
||||
>=x11-wm/muffin-6.6[introspection,wayland?]
|
||||
|
||||
eds? (
|
||||
gnome-extra/evolution-data-server
|
||||
@@ -53,16 +53,15 @@ DEPEND="
|
||||
>=net-misc/networkmanager-1.10.4[introspection]
|
||||
)
|
||||
"
|
||||
# caribou used by onscreen keyboard
|
||||
# libtimezonemap used by datetime settings
|
||||
# iso-flag-png (unpackaged) used by keyboard layout settings
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=app-accessibility/caribou-0.3
|
||||
app-i18n/ibus[introspection]
|
||||
dev-libs/keybinder:3[introspection]
|
||||
dev-libs/libtimezonemap
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/babel[${PYTHON_USEDEP}]
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
@@ -74,16 +73,17 @@ RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
dev-python/tinycss2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python3-xapp-2.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python3-xapp-3.0.2[${PYTHON_USEDEP}]
|
||||
')
|
||||
>=gnome-base/dconf-0.4.1
|
||||
>=gnome-base/gsettings-desktop-schemas-2.91.91
|
||||
>=gnome-base/libgnomekbd-2.91.4
|
||||
>=gnome-extra/cinnamon-control-center-6.4[networkmanager=,wayland?]
|
||||
>=gnome-extra/cinnamon-screensaver-6.4
|
||||
>=gnome-extra/cinnamon-session-6.4
|
||||
>=gnome-extra/cinnamon-settings-daemon-6.4[wayland?]
|
||||
>=gnome-extra/nemo-6.4[wayland?]
|
||||
>=gnome-extra/cinnamon-control-center-6.6[networkmanager=,wayland?]
|
||||
>=gnome-extra/cinnamon-screensaver-6.6
|
||||
>=gnome-extra/cinnamon-session-6.6
|
||||
>=gnome-extra/cinnamon-settings-daemon-6.6[wayland?]
|
||||
>=gnome-extra/nemo-6.6[wayland?]
|
||||
media-libs/graphene[introspection]
|
||||
media-libs/gsound
|
||||
net-libs/libsoup:3.0[introspection]
|
||||
net-misc/wget
|
||||
@@ -97,14 +97,18 @@ RDEPEND="
|
||||
x11-misc/xdg-utils
|
||||
x11-themes/adwaita-icon-theme
|
||||
x11-themes/gnome-themes-standard
|
||||
x11-themes/xapp-symbolic-icon-theme
|
||||
|
||||
nls? (
|
||||
>=gnome-extra/cinnamon-translations-6.4
|
||||
>=gnome-extra/cinnamon-translations-6.6
|
||||
)
|
||||
|
||||
networkmanager? (
|
||||
net-libs/libnma[introspection]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
dev-lang/sassc
|
||||
>=dev-util/intltool-0.40
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
|
||||
@@ -120,9 +124,9 @@ PATCHES=(
|
||||
# https://github.com/linuxmint/Cinnamon/issues/3576
|
||||
"${FILESDIR}/${PN}-3.6.6-wheel-sudo.patch"
|
||||
|
||||
# Use sassc instead of pysassc
|
||||
# https://github.com/linuxmint/cinnamon/pull/12588
|
||||
"${FILESDIR}/${PN}-6.4.0-use-sassc.patch"
|
||||
# Fix crash when networkmanager is not present.
|
||||
# https://github.com/linuxmint/cinnamon/pull/13651
|
||||
"${FILESDIR}/${PN}-6.6.7-fix-disable-networkmanager.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
@@ -140,7 +144,7 @@ src_configure() {
|
||||
$(meson_use gstreamer build_recorder)
|
||||
$(meson_use gtk-doc docs)
|
||||
$(meson_use wayland)
|
||||
-Ddisable_networkmanager=$(usex networkmanager false true)
|
||||
-Dnm_agent=$(usex networkmanager internal disabled)
|
||||
-Dpy3modules_dir="$(python_get_sitedir)"
|
||||
)
|
||||
meson_src_configure
|
||||
@@ -175,6 +179,9 @@ pkg_postinst() {
|
||||
ewarn "Cinnamon's built-in screen recording utility is not installed"
|
||||
ewarn "because gstreamer support is disabled."
|
||||
fi
|
||||
|
||||
optfeature "Thunderbolt security management in System Settings" sys-apps/bolt
|
||||
optfeature "additional hardware information in System Settings" sys-apps/inxi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
@@ -1,2 +1 @@
|
||||
DIST cjs-128.0.tar.gz 981542 BLAKE2B d4b516a8d02fcb297f23f277d8ac12f7cf3c8bf0eec41d22e01ea4ffd3995aedc1b20a173d44c3fc6827e4cb3366c277347fcd11e6362a66d682c47919f84fec SHA512 e7ad28a085788f05bc40dd8a86799c068e54e25d7ed349a610a8935c9de3bc556b72e4b7b2c158f84a4a62a4b10789a3b812ca9e3ae2b3e1b1db471e91ddee97
|
||||
DIST cjs-128.1.tar.gz 984034 BLAKE2B 4b6d0c4d5bb92e8862f0f3ad5703bac5181a68bfc0e3f4167da039d46e4f065d91b49b5345dc97a8b4f991575b6c15a703c36722f4bb47c59b3182263700b18f SHA512 41aff6bfbd64cec59a64eb49c8913637dd0a482316e6b138f3e3ebef071d2668847f0988d2c6bedd7eec394f538c78683d4c9aacb81f95d198722a0e597611aa
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit flag-o-matic meson pax-utils python-any-r1 virtualx
|
||||
|
||||
DESCRIPTION="Linux Mint's fork of gjs for Cinnamon"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cjs"
|
||||
SRC_URI="https://github.com/linuxmint/cjs/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD CC0-1.0 MIT MPL-2.0 || ( MPL-1.1 GPL-2+ LGPL-2.1+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE="examples readline sysprof test"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/spidermonkey:$(ver_cut 1)
|
||||
>=dev-libs/glib-2.66.0:2
|
||||
>=dev-libs/gobject-introspection-1.82.0-r2:=
|
||||
>=dev-libs/libffi-3.3:0=
|
||||
x11-libs/cairo[glib,svg(+),X]
|
||||
x11-libs/libX11
|
||||
readline? ( sys-libs/readline:0= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
|
||||
test? (
|
||||
sys-apps/dbus
|
||||
x11-libs/gtk+:3[introspection]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang build
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags -DG_DISABLE_CAST_CHECKS
|
||||
|
||||
# On musl, it's required that either gjs, pixman or gnome-shell to be built
|
||||
# with a larger stack otherwise librsvg fails to render a particular SVG, as
|
||||
# a result we fail to get gdm or gnome-shell running (greeted with a fail
|
||||
# whale screen). The bug has been reported to librsvg. This is ideally just
|
||||
# a temporary workaround until we understand what exactly needs a larger
|
||||
# stack size, as it's not sufficient to do just librsvg.
|
||||
#
|
||||
# Please refer to:
|
||||
# https://gitlab.gnome.org/GNOME/librsvg/-/issues/686
|
||||
# https://gitlab.gnome.org/GNOME/librsvg/-/issues/874
|
||||
#
|
||||
# TODO: Find an actual fix instead of increasing the stack
|
||||
use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152
|
||||
|
||||
local emesonargs=(
|
||||
$(meson_feature readline)
|
||||
$(meson_feature sysprof profiler)
|
||||
-Dinstalled_tests=false
|
||||
-Dgobject-introspection-tests:install_dir=''
|
||||
$(meson_use !test skip_dbus_tests)
|
||||
$(meson_use !test skip_gtk_tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx meson_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc "${S}"/examples/*
|
||||
fi
|
||||
|
||||
# Required for cjs-console to run correctly on PaX systems
|
||||
pax-mark mr "${ED}/usr/bin/cjs-console"
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
DIST nemo-fileroller-6.4.0.tar.gz 450252 BLAKE2B 5c8b26b12ecd752d8e1fefc055891dc70c91b210c99c729babae3946b134634abfb5ef8f0314c8392f0edad891bee6b8e32fae7e4805f0463f30685dcb88ce11 SHA512 1af12fe9b74b3375de208535fb173000f62036b9a3d631c8be04fcdfd758700d58a3ebb0cfd75a0f6f97d8d068ece1581c61396a3b519d86cd68b14d1c187090
|
||||
DIST nemo-fileroller-6.6.0.tar.gz 450838 BLAKE2B 4cd38ccccabcd5226828c114fb191dd7328768b7ae670a46173dceefcfcd9ab6b8001ed6059b07b3062b325053ee53b9a1d022997b56a610181b2d9b82ccc13a SHA512 5e5a23e4222723a0ebcfb59f4a3af5aa45da5e249ce7ae17099e3f45409091ad8775893c5653831ef7807f37654b4e3eb77dfc90105b0ec7343730792c152f07
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Nemo file-roller integration"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/nemo-extensions"
|
||||
SRC_URI="https://github.com/linuxmint/nemo-extensions/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/nemo-extensions-${PV}/${PN}"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~riscv x86"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.14.0:2
|
||||
>=gnome-extra/nemo-2.0.0
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-arch/file-roller
|
||||
"
|
||||
@@ -1,2 +1 @@
|
||||
DIST nemo-6.4.5.tar.gz 1511087 BLAKE2B 48a620f6aed0c4652f734ce9ee7e0d9a9d5946ab7f2398baba079825dc4a18d829bc2bb0c59796534970f829adc15a9e60c62e9baebed94a2104aac080f77ef3 SHA512 4163dafe0d2c581468b70bf78d928b42d4e71823d698b6e8c5f86e48d148f29fcc7b02f451eba6018ae21c6e3f6ec876c5460ddeff16a8a30613ee19fcec496a
|
||||
DIST nemo-6.6.4.tar.gz 1515207 BLAKE2B 17bb4862cd4c478473b4cf99a57fc638145487b57f16d2a176a0a56f4e00741802e5c4c6588305aa3851e9f147a4585942317b0f73a06a8a6e7c00133cf10dd0 SHA512 03cce308c7845ef97f3405225c9cf9e22e9b7018064180ed88e557321cf136a787fb964dadaf05c603a488fdf6041821a10700686f008e5fd615771cbb5f0b74
|
||||
|
||||
@@ -1,145 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit meson flag-o-matic gnome2-utils python-single-r1 readme.gentoo-r1 virtualx xdg
|
||||
|
||||
DESCRIPTION="A file manager for Cinnamon, forked from Nautilus"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/nemo"
|
||||
SRC_URI="https://github.com/linuxmint/nemo/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ FDL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE="exif gtk-doc +nls selinux test tracker wayland xmp"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# https://github.com/linuxmint/nemo/issues/2501
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
>=dev-libs/glib-2.45.7:2[dbus]
|
||||
>=dev-libs/gobject-introspection-1.82.0-r2:=
|
||||
>=dev-libs/json-glib-1.6.0
|
||||
dev-libs/libxmlb:0/2[introspection]
|
||||
>=gnome-extra/cinnamon-desktop-6.4:0=
|
||||
gnome-extra/libgsf:=
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.24.41-r1:3[introspection,wayland?,X]
|
||||
x11-libs/libX11
|
||||
>=x11-libs/pango-1.40.0
|
||||
>=x11-libs/xapp-2.8.8[introspection]
|
||||
|
||||
exif? (
|
||||
>=media-libs/libexif-0.6.20
|
||||
)
|
||||
selinux? (
|
||||
sys-libs/libselinux
|
||||
)
|
||||
tracker? (
|
||||
app-misc/tinysparql:3
|
||||
)
|
||||
xmp? (
|
||||
>=media-libs/exempi-2.2.0:=
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
x11-themes/adwaita-icon-theme
|
||||
|
||||
nls? (
|
||||
>=gnome-extra/cinnamon-translations-6.4
|
||||
)
|
||||
"
|
||||
PDEPEND="
|
||||
>=gnome-base/gvfs-0.1.2
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-util/gdbus-codegen-2.80.5-r1
|
||||
>=dev-util/intltool-0.40.1
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
|
||||
gtk-doc? (
|
||||
dev-util/gtk-doc
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Undo the switch to untex as it's not packaged.
|
||||
"${FILESDIR}/${PN}-5.0.3-use-detex.patch"
|
||||
)
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
FORCE_PRINT_ELOG="yes"
|
||||
DOC_CONTENTS="
|
||||
${PN} functionality can be extended by installing other packages.
|
||||
|
||||
sys-apps/gnome-disk-utility - Mount archive files
|
||||
gnome-extra/nemo-fileroller - Extract/Create archive files
|
||||
|
||||
${PN} search capabilities can be extended through external
|
||||
helpers. Install any of the following packages to make
|
||||
their associated file types searchable.
|
||||
|
||||
epub - app-arch/unzip and app-text/html2text
|
||||
Image metadata - media-gfx/exif
|
||||
MP3 tags - media-sound/id3
|
||||
Microsoft Office .doc - app-text/catdoc
|
||||
Microsoft Office .xls - dev-python/xlrd
|
||||
PDF - app-text/poppler[utils]
|
||||
PostScript - app-text/ghostscript-gpl
|
||||
TeX - app-text/texlive-core
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang files/usr/share/nemo/actions install-scripts
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# defang automagic dependencies
|
||||
use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND
|
||||
|
||||
local emesonargs=(
|
||||
$(meson_use exif)
|
||||
$(meson_use xmp)
|
||||
$(meson_use selinux)
|
||||
$(meson_use tracker)
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx meson_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -12,7 +12,7 @@ inherit ninja-utils pax-utils python-any-r1 toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
|
||||
HOMEPAGE="https://nodejs.org/"
|
||||
LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT npm? ( Artistic-2 )"
|
||||
LICENSE="Apache-1.1 Apache-2.0 BlueOak-1.0.0 BSD BSD-2 MIT npm? ( Artistic-2 )"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
|
||||
@@ -12,7 +12,7 @@ inherit ninja-utils pax-utils python-any-r1 toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
|
||||
HOMEPAGE="https://nodejs.org/"
|
||||
LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT npm? ( Artistic-2 )"
|
||||
LICENSE="Apache-1.1 Apache-2.0 BlueOak-1.0.0 BSD BSD-2 MIT npm? ( Artistic-2 )"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST amd-2.4.6.tar.bz2 343925 BLAKE2B 296579d888b61e84ec798206fbb6f89fd923f0d762e84e7a1e2e2a5fb502f4822f89a2a4b631dc42fa829e845bf3980886185650e8de28774400e0c351805061 SHA512 6960a557e6c2f82ca2e68e48ddcb502e1527235a3ca34df2f5f7f63f0f12afacedb15fefe4a39768fe7a2c70308793544b5b24b6f2be2c6b934b0c0e0e796d57
|
||||
|
||||
75
sci-libs/amd/amd-3.3.4.ebuild
Normal file
75
sci-libs/amd/amd-3.3.4.ebuild
Normal file
@@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
FORTRAN_NEEDED="fortran"
|
||||
inherit cmake fortran-2
|
||||
|
||||
Sparse_PV="7.12.2"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
LICENSE="BSD"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="doc fortran test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? ( virtual/latex-base )"
|
||||
|
||||
src_configure() {
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DSUITESPARSE_USE_FORTRAN=$(usex fortran ON OFF)
|
||||
-DSUITESPARSE_DEMOS=$(usex test)
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Because we are not using cmake_src_test,
|
||||
# we have to manually go to BUILD_DIR
|
||||
cd "${BUILD_DIR}" || die
|
||||
# Run demo files
|
||||
local demofiles=(
|
||||
amd_demo
|
||||
amd_l_demo
|
||||
amd_demo2
|
||||
amd_simple
|
||||
)
|
||||
if use fortran; then
|
||||
demofiles+=(
|
||||
amd_f77simple
|
||||
amd_f77demo
|
||||
)
|
||||
fi
|
||||
local i
|
||||
for i in ${demofiles[@]}; do
|
||||
./"${i}" > "${i}.out" || die "${i} failed to run"
|
||||
diff "${S}/Demo/${i}.out" "${i}.out" || die "failed testing ${i}"
|
||||
done
|
||||
einfo "All tests passed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
pushd "${S}/Doc" || die
|
||||
emake clean
|
||||
rm -rf *.pdf || die
|
||||
emake
|
||||
popd || die
|
||||
DOCS="${S}/Doc/*.pdf"
|
||||
fi
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST btf-1.2.6.tar.bz2 285699 BLAKE2B 4addeea7b9abe87281f826a67a8a372118579f498057c888008ac93da1cdbfcf8554af6e843d92a07989ff0b24f537588f933fcc33c97317f47536980e551531 SHA512 39c08ec9bf2a85915aeed040dc02c42c10adf5034c3797910dc7cb6942ac6e2ccea47cea4ab0c37e8ed3eb8eac8d2ce946d281c9ec643cccd282af7be5276960
|
||||
|
||||
32
sci-libs/btf/btf-2.3.3.ebuild
Normal file
32
sci-libs/btf/btf-2.3.3.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
Sparse_PV="7.12.2"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Algorithm for matrix permutation into block triangular form"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST camd-2.4.6.tar.bz2 317071 BLAKE2B 8f982050a20f00c9443063a0473caa4aa27efe005fe07b503cb68b29499152561fc9d30d00783607b1e8fb8af88707eabfe22d192b80e375b8a6d04d7a9a26d7 SHA512 c4020ed3e063d04f5d7d1a301719b1a5b5b912d505858f046654c9d283c41ff01d55f668fb7f7179a6ac636f5a5b80f71cac5eb5b1e5cae0ede97d946d62a1d0
|
||||
|
||||
67
sci-libs/camd/camd-3.3.5.ebuild
Normal file
67
sci-libs/camd/camd-3.3.5.ebuild
Normal file
@@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
Sparse_PV="7.12.2"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Library to order a sparse matrix prior to Cholesky factorization"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
LICENSE="BSD"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? ( virtual/latex-base )"
|
||||
|
||||
src_configure() {
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DSUITESPARSE_DEMOS=$(usex test)
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Because we are not using cmake_src_test,
|
||||
# we have to manually go to BUILD_DIR
|
||||
cd "${BUILD_DIR}" || die
|
||||
# Run demo files
|
||||
local demofiles=(
|
||||
camd_demo
|
||||
camd_l_demo
|
||||
camd_demo2
|
||||
camd_simple
|
||||
)
|
||||
local i
|
||||
for i in ${demofiles[@]}; do
|
||||
./"${i}" > "${i}.out" || die "${i} failed to run"
|
||||
diff "${S}/Demo/${i}.out" "${i}.out" || die "failed testing ${i}"
|
||||
done
|
||||
einfo "All tests passed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
pushd "${S}/Doc" || die
|
||||
emake clean
|
||||
rm -rf *.pdf || die
|
||||
emake
|
||||
popd || die
|
||||
DOCS="${S}/Doc/*.pdf"
|
||||
fi
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST ccolamd-2.9.6.tar.bz2 305744 BLAKE2B 0d741ead328a1e888715672ddb617cc96a559f46f2379e1d7792b70868dd290de19b3047e3ed4dd2711084c9afc523d18ecb375aa4ee8a4a12950cee08f238b8 SHA512 cf6f210d26ddb1be454cac377a773b73b75261a74e1e3985565f57f45659b1c11b747829c5bbe99c4bc3e8b364d7b2b3c109e00f6d7e8e41afd713312ebf103c
|
||||
|
||||
48
sci-libs/ccolamd/ccolamd-3.3.5.ebuild
Normal file
48
sci-libs/ccolamd/ccolamd-3.3.5.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
Sparse_PV="7.12.2"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Constrained Column approximate minimum degree ordering algorithm"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
LICENSE="BSD"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DSUITESPARSE_DEMOS=$(usex test)
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Because we are not using cmake_src_test,
|
||||
# we have to manually go to BUILD_DIR
|
||||
cd "${BUILD_DIR}" || die
|
||||
# Run demo files
|
||||
./ccolamd_example > ccolamd_example.out || die "ccolamd_example failed to run"
|
||||
diff "${S}"/Demo/ccolamd_example.out ccolamd_example.out || die "failed testing ccolamd_example"
|
||||
./ccolamd_l_example > ccolamd_l_example.out || die die "ccolamd_l_example failed to run"
|
||||
diff "${S}"/Demo/ccolamd_l_example.out ccolamd_l_example.out || die "failed testing ccolamd_l_example"
|
||||
|
||||
einfo "All tests passed"
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST cholmod-3.0.13.tar.bz2 696002 BLAKE2B 40a065fe1a3585897b3ca554a25fa80ffc68ac70798f2f803e34a231ec4f532d113a3d00ab7ab61f5eb02503a84e1459cdb7e96cb0b0d1dc6975ed3d533104fe SHA512 c6c80d099386bac27e385a1b8ee8941cd2fb4f2dcfcf302b4b17d6477ac9ee17ad8030aae9191f92576dfaeb521e2c98ec24e867281c2405e42f95580e14f0ab
|
||||
DIST cholmod-3.0.14.tar.bz2 696981 BLAKE2B 855927c18833235b3f0835bfba455d83957b9161c0ee885c2d31d126f0f473067f55bcf2cfa163c72efb5de573589ffa54b484a8cf89bc44c9dbf64d43fda5d9 SHA512 f8c12fc3c8787be38bca6c6f84a8279c1380fbe4fabbfba754235fdb042d7050bfb7b5a21ea87ef59dbd5184d28e8cb7667966c38f5dcad78fe8d47111896a3c
|
||||
|
||||
118
sci-libs/cholmod/cholmod-5.3.4.ebuild
Normal file
118
sci-libs/cholmod/cholmod-5.3.4.ebuild
Normal file
@@ -0,0 +1,118 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
Sparse_PV="7.12.2"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Sparse Cholesky factorization and update/downdate library"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
LICENSE="LGPL-2.1+ modify? ( GPL-2+ ) matrixops? ( GPL-2+ )"
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="+cholesky cuda doc openmp +matrixops +modify +partition +supernodal test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}
|
||||
>=sci-libs/amd-3.3.4
|
||||
>=sci-libs/colamd-3.3.5
|
||||
supernodal? ( virtual/lapack )
|
||||
partition? (
|
||||
>=sci-libs/camd-3.3.5
|
||||
>=sci-libs/ccolamd-3.3.5
|
||||
)
|
||||
cuda? (
|
||||
dev-util/nvidia-cuda-toolkit
|
||||
x11-drivers/nvidia-drivers
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? ( virtual/latex-base )"
|
||||
|
||||
REQUIRED_USE="supernodal? ( cholesky )
|
||||
modify? ( cholesky )
|
||||
test? ( cholesky matrixops supernodal )"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Note that "N" prefixed options are negative options
|
||||
# so, they need to be turned OFF if you want that option.
|
||||
# Fortran is turned off as it is only used to compile (untested) demo programs.
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DCHOLMOD_USE_CUDA=$(usex cuda)
|
||||
-DCHOLMOD_USE_OPENMP=$(usex openmp)
|
||||
-DSUITESPARSE_HAS_FORTRAN=OFF
|
||||
-DCHOLMOD_CHOLESKY=$(usex cholesky)
|
||||
-DCHOLMOD_MATRIXOPS=$(usex matrixops)
|
||||
-DCHOLMOD_MODIFY=$(usex modify)
|
||||
-DCHOLMOD_PARTITION=$(usex partition)
|
||||
-DCHOLMOD_SUPERNODAL=$(usex supernodal)
|
||||
-DSUITESPARSE_DEMOS=$(usex test)
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Because we are not using cmake_src_test,
|
||||
# we have to manually go to BUILD_DIR
|
||||
cd "${BUILD_DIR}" || die
|
||||
# Run demo files
|
||||
local type=(
|
||||
di
|
||||
dl
|
||||
si
|
||||
sl
|
||||
)
|
||||
local prog=(
|
||||
demo
|
||||
simple
|
||||
)
|
||||
local matrix_file=(
|
||||
bcsstk01.tri
|
||||
lp_afiro.tri
|
||||
can___24.mtx
|
||||
c.tri
|
||||
bcsstk02.tri
|
||||
)
|
||||
local i
|
||||
local j
|
||||
local k
|
||||
for i in ${type[@]}; do
|
||||
for k in ${prog[@]}; do
|
||||
for j in ${matrix_file[@]}; do
|
||||
./cholmod_${i}_${k} < "${S}/Demo/Matrix/${j}" \
|
||||
|| die "failed testing cholmod_${i}_${k} with ${j}"
|
||||
done
|
||||
done
|
||||
done
|
||||
einfo "All tests passed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
pushd "${S}/Doc" || die
|
||||
emake clean
|
||||
rm -rf *.pdf || die
|
||||
emake
|
||||
popd || die
|
||||
DOCS="${S}/Doc/*.pdf"
|
||||
fi
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST colamd-2.9.6.tar.bz2 298903 BLAKE2B e1e3cfa0153e21b742854d28fb6d3ede287c2ec22cfef4268a8aba8bb239be527433907f6984dad976341cf6e1ca9cb39f5c97029ad9bed032a874add9aa0e02 SHA512 f302d18f9ba004c9d1b0e1ada76e70f20fa1d11896815e5300983513b7ed4a7b969adef33adb1a57d67ce856a5ded410874c23d9bba42b6bf1a6a790430f5137
|
||||
|
||||
48
sci-libs/colamd/colamd-3.3.5.ebuild
Normal file
48
sci-libs/colamd/colamd-3.3.5.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
Sparse_PV="7.12.2"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Column approximate minimum degree ordering algorithm"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
LICENSE="BSD"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DSUITESPARSE_DEMOS=$(usex test)
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Because we are not using cmake_src_test,
|
||||
# we have to manually go to BUILD_DIR
|
||||
cd "${BUILD_DIR}" || die
|
||||
# Run demo files
|
||||
./colamd_example > colamd_example.out
|
||||
diff "${S}"/Demo/colamd_example.out colamd_example.out || die "failed testing colamd_example"
|
||||
./colamd_l_example > colamd_l_example.out
|
||||
diff "${S}"/Demo/colamd_l_example.out colamd_l_example.out || die "failed testing colamd_l_example"
|
||||
|
||||
einfo "All tests passed"
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST cxsparse-3.2.0.tar.bz2 2080196 BLAKE2B 9b89469c45e518077c4348ad3efd8d89d248e4c039057c0286ee44b493ab595075894d01530cbfbe845b91ef5e43cfbfdd102721cfeefe943a1cb4bc5f171843 SHA512 9931dac5b319b61a39ccb5f34309acb4240602b5f55d029c790ed0b7319a373cb925c4b83994526af4bc5b19b88c723f04581068d1fc80960a290c9d6d1e1aef
|
||||
|
||||
113
sci-libs/cxsparse/cxsparse-4.4.2.ebuild
Normal file
113
sci-libs/cxsparse/cxsparse-4.4.2.ebuild
Normal file
@@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
Sparse_PV="7.12.2"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Extended sparse matrix package"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/CXSparse"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DSUITESPARSE_DEMOS=$(usex test)
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Because we are not using cmake_src_test,
|
||||
# we have to manually go to BUILD_DIR
|
||||
cd "${BUILD_DIR}" || die
|
||||
# Programs assume that they can access the Matrix folder in ${S}
|
||||
ln -s "${S}/Matrix" || die
|
||||
# cs_demo2, cs_di_demo2, cs_dl_demo2
|
||||
local demo_set_1=(
|
||||
ash219
|
||||
bcsstk01
|
||||
bcsstk16
|
||||
fs_183_1
|
||||
lp_afiro
|
||||
mbeacxc
|
||||
t1
|
||||
west0067
|
||||
)
|
||||
# cs_demo3, cs_di_demo3, cs_dl_demo3
|
||||
local demo_set_2=(
|
||||
bcsstk01
|
||||
bcsstk16
|
||||
)
|
||||
# cs_ci_demo2, cs_cl_demo2
|
||||
local demo_set_3=(
|
||||
c4
|
||||
c_mbeacxc
|
||||
c_west0067
|
||||
mhd1280b
|
||||
neumann
|
||||
qc324
|
||||
t2
|
||||
t3
|
||||
t4
|
||||
young1c
|
||||
)
|
||||
# cs_ci_demo3, cs_cl_demo3
|
||||
local demo_set_4=(
|
||||
c4
|
||||
mhd1280b
|
||||
)
|
||||
|
||||
declare -A testsuite
|
||||
testsuite+=(
|
||||
["cs_idemo"]=t2
|
||||
["cs_ldemo"]=t2
|
||||
|
||||
["cs_demo1"]=t1
|
||||
["cs_demo2"]=${demo_set_1[@]}
|
||||
["cs_demo3"]=${demo_set_2[@]}
|
||||
|
||||
["cs_ci_demo1"]=t2
|
||||
["cs_ci_demo2"]=${demo_set_3[@]}
|
||||
["cs_ci_demo3"]=${demo_set_4[@]}
|
||||
|
||||
["cs_cl_demo1"]=t2
|
||||
["cs_cl_demo2"]=${demo_set_3[@]}
|
||||
["cs_cl_demo3"]=${demo_set_4[@]}
|
||||
|
||||
["cs_di_demo1"]=t1
|
||||
["cs_di_demo2"]=${demo_set_1[@]}
|
||||
["cs_di_demo3"]=${demo_set_2[@]}
|
||||
|
||||
["cs_dl_demo1"]=t1
|
||||
["cs_dl_demo2"]=${demo_set_1[@]}
|
||||
["cs_dl_demo3"]=${demo_set_2[@]}
|
||||
)
|
||||
|
||||
# Run demo files
|
||||
local i
|
||||
local j
|
||||
for i in ${!testsuite[@]}; do
|
||||
for j in ${testsuite[${i[@]}]}; do
|
||||
./${i} < Matrix/${j} || die "failed testing ${i} with ${j}"
|
||||
done
|
||||
done
|
||||
einfo "All tests passed"
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST klu-1.3.9.tar.bz2 635596 BLAKE2B 6c6c84cf1b30e78cbaaee6bebed21c806d1672bee5f7ea061e7ef057ff56fd456e8517ca2ff1018a14ebcbc8f96b9e87989e22d8996817394666e6d8d2d727dd SHA512 b7fd862fe8443596758c27f9c918e367b3b3816340836e74cf8d97a2e755fbe07d133778eea3d054bc70243fa15c2bd71f4fd90c1179879661ba2d624b8f0706
|
||||
|
||||
80
sci-libs/klu/klu-2.3.6.ebuild
Normal file
80
sci-libs/klu/klu-2.3.6.ebuild
Normal file
@@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
Sparse_PV="7.12.2"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Sparse LU factorization for circuit simulation"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}
|
||||
>=sci-libs/amd-3.3.4
|
||||
>=sci-libs/btf-2.3.3
|
||||
>=sci-libs/colamd-3.3.5
|
||||
>=sci-libs/cholmod-5.3.4"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? ( virtual/latex-base )"
|
||||
|
||||
src_configure() {
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DSUITESPARSE_DEMOS=$(usex test)
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Because we are not using cmake_src_test,
|
||||
# we have to manually go to BUILD_DIR
|
||||
cd "${BUILD_DIR}" || die
|
||||
# Run demo files
|
||||
local dtype=(
|
||||
demo
|
||||
ldemo
|
||||
)
|
||||
local samples=(
|
||||
1c.mtx
|
||||
arrowc.mtx
|
||||
arrow.mtx
|
||||
impcol_a.mtx
|
||||
w156.mtx
|
||||
ctina.mtx
|
||||
)
|
||||
./klu_simple || die "klu_simple failed to run"
|
||||
local i
|
||||
local j
|
||||
for i in ${dtype[@]}; do
|
||||
for j in ${samples[@]}; do
|
||||
./klu${i} < "${S}/Matrix/${j}" || die "failed testing klu${i} with ${j}"
|
||||
done
|
||||
done
|
||||
einfo "All tests passed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
pushd "${S}/Doc" || die
|
||||
emake clean
|
||||
rm -rf *.pdf || die
|
||||
emake
|
||||
popd || die
|
||||
DOCS="${S}/Doc/*.pdf"
|
||||
fi
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST ldl-2.2.6.tar.bz2 342923 BLAKE2B 7acf1a82824de013fe9a7742fb2d5c44c86de96e95d1d7408106d4af420dc3655ab7533eb80592b52523245c7545bc246bf129712547ff6eba856a807c78b6ad SHA512 266c9e62c474a6a9b2d7f74aa580e313fbe4b322197236ba6fbbab6d1756348cf146c1d807ea6d8d0e5941cedc48298e8437aaf386dd6c433dcaf41a9d0b7371
|
||||
|
||||
77
sci-libs/ldl/ldl-3.3.3.ebuild
Normal file
77
sci-libs/ldl/ldl-3.3.3.ebuild
Normal file
@@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
Sparse_PV="7.12.2"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Simple but educational LDL^T matrix factorization algorithm"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}
|
||||
>=sci-libs/amd-3.3.4"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? ( virtual/latex-base )"
|
||||
|
||||
src_configure() {
|
||||
# May slightly skew FP numbers if enabled, and we want to match
|
||||
# the expected output bit-by-bit in tests.
|
||||
use test && append-flags -ffp-contract=off
|
||||
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DSUITESPARSE_DEMOS=$(usex test)
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Because we are not using cmake_src_test,
|
||||
# we have to manually go to BUILD_DIR
|
||||
cd "${BUILD_DIR}" || die
|
||||
# Some programs assume that they can access the Matrix folder in ${S}
|
||||
ln -s "${S}/Matrix" || die
|
||||
# Run demo files
|
||||
local demofiles=(
|
||||
ldllsimple
|
||||
ldlmain
|
||||
ldllmain
|
||||
ldlamd
|
||||
ldllamd
|
||||
)
|
||||
# not running ldlsimple until it does not "test" suitesparse version as well.
|
||||
local i
|
||||
for i in ${demofiles[@]}; do
|
||||
einfo "testing ${i}"
|
||||
./"${i}" > "${i}.out" || die "${i} failed to run"
|
||||
diff "${S}/Demo/${i}.out" "${i}.out" || die "failed testing ${i}"
|
||||
done
|
||||
einfo "All tests passed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
pushd "${S}/Doc" || die
|
||||
emake clean
|
||||
rm -rf *.pdf || die
|
||||
emake
|
||||
popd || die
|
||||
DOCS="${S}/Doc/*.pdf"
|
||||
fi
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST spqr-2.0.9.tar.bz2 2161068 BLAKE2B a662983d2543a65ce36a367749db5585308acb56b016f69a35c46a84e9c12a678f57a3cfd459cc2e887fff2819b00f99981efaadb73831f1b4c54cbef5e1c367 SHA512 54b203e0d68b266473b8a2b7b3b3a55476df54a3ebd5748b70faa7bad1d0a5a7387197f0674ba5f9a5d45887daa736117f8d6ffbbc2eb02482b3374a3babf721
|
||||
|
||||
115
sci-libs/spqr/spqr-4.3.6.ebuild
Normal file
115
sci-libs/spqr/spqr-4.3.6.ebuild
Normal file
@@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
Sparse_PV="7.12.2"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Multithreaded multifrontal sparse QR factorization library"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="cuda doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}
|
||||
>=sci-libs/cholmod-5.3.4
|
||||
virtual/blas
|
||||
cuda? (
|
||||
dev-util/nvidia-cuda-toolkit
|
||||
x11-drivers/nvidia-drivers
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? (
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-plaingeneric
|
||||
)"
|
||||
|
||||
src_configure() {
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DSPQR_USE_CUDA=$(usex cuda)
|
||||
-DSUITESPARSE_DEMOS=$(usex test)
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Because we are not using cmake_src_test,
|
||||
# we have to manually go to BUILD_DIR
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
local simple=(
|
||||
ash219
|
||||
west0067
|
||||
)
|
||||
local demo=(
|
||||
a04
|
||||
a0
|
||||
a1
|
||||
a2
|
||||
a4
|
||||
ash219
|
||||
b1_ss
|
||||
bcspwr01
|
||||
bfwa62
|
||||
c2
|
||||
c32
|
||||
GD01_b
|
||||
GD06_theory
|
||||
GD98_a
|
||||
lfat5b
|
||||
LFAT5
|
||||
lp_e226_transposed
|
||||
lpi_galenet
|
||||
lpi_itest6
|
||||
lp_share1b
|
||||
r2
|
||||
Ragusa16
|
||||
s32
|
||||
Tina_AskCal
|
||||
Tina_AskCal_perm
|
||||
west0067
|
||||
young1c
|
||||
)
|
||||
|
||||
declare -A testsuite
|
||||
local i
|
||||
local j
|
||||
for i in qrsimple qrsimplec; do
|
||||
testsuite["${i}"]=${simple[@]}
|
||||
done
|
||||
for i in qrdemo qrdemoc; do
|
||||
testsuite["${i}"]=${demo[@]}
|
||||
done
|
||||
# Run demo files
|
||||
for i in ${!testsuite[@]}; do
|
||||
for j in ${testsuite[${i[@]}]}; do
|
||||
./${i} < "${S}"/Matrix/${j}.mtx || die "failed testing ${i} with ${j}"
|
||||
done
|
||||
done
|
||||
einfo "All tests passed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
pushd "${S}/Doc" || die
|
||||
emake clean
|
||||
rm -rf *.pdf || die
|
||||
emake
|
||||
popd || die
|
||||
DOCS="${S}/Doc/*.pdf"
|
||||
fi
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST suitesparseconfig-5.4.0.tar.bz2 257352 BLAKE2B 3832e34281c742a7d704dde866c53c742420486d782075e047b605fb2062d77353cda8670138c4bef62c73d16e123a8a74f65272a01766f124c1e53f9ba32e9d SHA512 e91f60f426b73add473c6341e30512b8fbe65b7850cd83f3852e78f1e74ce067b7ae1577ccc795698e680a841a9d32c2ca073651a4fe95f0b723578721aec874
|
||||
|
||||
48
sci-libs/suitesparseconfig/suitesparseconfig-7.12.2.ebuild
Normal file
48
sci-libs/suitesparseconfig/suitesparseconfig-7.12.2.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
Sparse_PV=$(ver_rs 3 '.')
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Common configurations for all packages in suitesparse"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/SuiteSparse_config"
|
||||
LICENSE="BSD"
|
||||
SLOT="0/7"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="openmp"
|
||||
|
||||
# we need to depend on blas as the cmake file looks for it.
|
||||
# It is also a runtime dependency as it has headers to link with blas
|
||||
DEPEND="virtual/blas"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Make sure we always include the Fortran interface.
|
||||
# It doesn't require a Fortran compiler to be present
|
||||
# and simplifies the configuration for dependencies.
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DSUITESPARSE_USE_FORTRAN=ON
|
||||
-DSUITESPARSE_USE_OPENMP=$(usex openmp ON OFF)
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST umfpack-5.7.9.tar.bz2 772026 BLAKE2B 6d6dc1ba47b8f473884c1cb17d3eaa363d88281512e33586a0af0c2bcb7a523272bef4d8da0a29e2a5a84c8f0cd0ee6830ec10247971db63b4c319e6fa9a3c42 SHA512 5ad57467b5b7e4579f3cc9e2e7c92a0262ac2ef991a606d079b749b66e10da60aceaa4b0e741c116f8866da23c0f7c06368fe2b08d66d51383683f0dcbeddba3
|
||||
|
||||
72
sci-libs/umfpack/umfpack-6.3.7.ebuild
Normal file
72
sci-libs/umfpack/umfpack-6.3.7.ebuild
Normal file
@@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
Sparse_PV="7.12.2"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Unsymmetric multifrontal sparse LU factorization library"
|
||||
HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
|
||||
SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="doc openmp test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}
|
||||
>=sci-libs/amd-3.3.4
|
||||
>=sci-libs/cholmod-5.3.4[openmp=]
|
||||
virtual/blas"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? ( virtual/latex-base )"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Fortran is only used to compile additional demo programs that can be tested.
|
||||
# Define SUITESPARSE_INCLUDEDIR_POSTFIX to "" otherwise it take
|
||||
# the value suitesparse, and the include directory would be set to
|
||||
# /usr/include/suitesparse
|
||||
# This need to be set in all suitesparse ebuilds.
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC_LIBS=OFF
|
||||
-DSUITESPARSE_USE_OPENMP=$(usex openmp)
|
||||
-DSUITESPARSE_USE_FORTRAN=OFF
|
||||
-DSUITESPARSE_DEMOS=$(usex test)
|
||||
-DSUITESPARSE_INCLUDEDIR_POSTFIX=""
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Because we are not using cmake_src_test,
|
||||
# we have to manually go to BUILD_DIR
|
||||
cd "${BUILD_DIR}" || die
|
||||
# Run demo files
|
||||
# Other demo files have issues making them unsuitable for testing
|
||||
./umfpack_simple || die "failed testing umfpack_simple"
|
||||
einfo "All tests passed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
pushd "${S}/Doc" || die
|
||||
emake clean
|
||||
rm -rf *.pdf || die
|
||||
emake
|
||||
popd || die
|
||||
DOCS="${S}/Doc/*.pdf"
|
||||
fi
|
||||
cmake_src_install
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
DIST xdg-desktop-portal-xapp-1.1.2.tar.gz 91778 BLAKE2B da5b20a02b4d8ef966de2a076eb7bc2ebcc6bdbcec97d5d49519c1b3426874e7f64220e9321738a2a279659cbc8462f6f1097b127aa38a1b0f48414e58620c4b SHA512 28463daf76f591fc0fb62569915b6329774f94d62bde84657ea45eaa245b7fa343389b9c99628f9dcafeace60861c3b25ee2c1005436b4813a987a466e622c4c
|
||||
DIST xdg-desktop-portal-xapp-1.1.3.tar.gz 91948 BLAKE2B bec3a27c6c0cd42c8f83088c60c78a4eba5ab0cf5b868bbd3a37c2ce99ae30cd60b5120617a1f6afdcc80b3e97f367badae60fd0ff607dc51e760ac404baefd7 SHA512 78efd97af1db8bebab1f3dbd97f0523d5fadaa27df1c27abb80fb859f153ab05f417a84091a42032cb0fca2adf541be7ce2f6a12872eeec2a08eca17247cb217
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson systemd
|
||||
|
||||
DESCRIPTION="Backend implementation for xdg-desktop-portal using Cinnamon/MATE/Xfce"
|
||||
HOMEPAGE="https://github.com/linuxmint/xdg-desktop-portal-xapp/"
|
||||
SRC_URI="https://github.com/linuxmint/xdg-desktop-portal-xapp/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.44:2
|
||||
>=sys-apps/xdg-desktop-portal-1.5
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-apps/xdg-desktop-portal-gtk
|
||||
>=x11-libs/xapp-2.8.9
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-util/gdbus-codegen-2.80.5-r1
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dsystemduserunitdir="$(systemd_get_userunitdir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
DIST xapp-2.8.13.tar.gz 278067 BLAKE2B d7c17cc9908a12e7a82a9e9c78b50959355d72930f022aff6f4a04109da043eae0e1df6b4c52cb2644fb7e350f166b18af1d3f215b9cb326da8e195a13785a5e SHA512 72457a7e15ce7b8eeeff25bd0d50b6bf252ca1e180d859a6530681646b79f7cb09710eded30423858e3b33a4c05357c0b72247e2cb359d6f215db02d44d72c1a
|
||||
DIST xapp-3.2.2.tar.gz 277351 BLAKE2B a071df9eab916b269cbe8ea5490ee28e1243d60d6468cad87fbfeb747ee0e5f5d06c364f61356cda8e5b705c7bfbb5bdb47ac71eb3167bf70543a15ac9fb5ef7 SHA512 7b624e456d390073fad0f22184d2b79dfef39666c9ab3a117117ba98c89f2deb0594e017f8fb5c34debbc9bdd144b63145b930187093bd6ef72e9a013b37d798
|
||||
|
||||
@@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit gnome2-utils vala meson python-r1
|
||||
|
||||
DESCRIPTION="Cross-desktop libraries and common resources"
|
||||
HOMEPAGE="https://github.com/linuxmint/xapp/"
|
||||
|
||||
SRC_URI="https://github.com/linuxmint/xapp/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="LGPL-3 xfce? ( GPL-3 )"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE="gtk-doc introspection mate vala xfce"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE} vala? ( introspection )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.44.0:2
|
||||
dev-libs/libdbusmenu[gtk3]
|
||||
gnome-base/libgnomekbd:=
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gdk-pixbuf-2.22.0:2[introspection?]
|
||||
>=x11-libs/gtk+-3.22.0:3[introspection?,X]
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libX11
|
||||
x11-libs/pango
|
||||
"
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
${DEPEND}
|
||||
sys-power/switcheroo-control
|
||||
|
||||
introspection? (
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-util/gdbus-codegen-2.80.5-r1
|
||||
dev-util/glib-utils
|
||||
sys-apps/dbus
|
||||
sys-devel/gettext
|
||||
|
||||
gtk-doc? (
|
||||
dev-util/gtk-doc
|
||||
)
|
||||
|
||||
introspection? (
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
)
|
||||
|
||||
vala? (
|
||||
$(vala_depend)
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# Don't install pastebin upload wrapper
|
||||
"${FILESDIR}"/0001-don-t-install-pastebin-upload-wrapper.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
use vala && vala_setup
|
||||
|
||||
default
|
||||
|
||||
# Fix meson helpers
|
||||
python_setup
|
||||
python_fix_shebang .
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use gtk-doc docs)
|
||||
$(meson_use introspection)
|
||||
$(meson_use mate)
|
||||
$(meson_use vala vapi)
|
||||
$(meson_use xfce)
|
||||
)
|
||||
|
||||
if use introspection; then
|
||||
local xapp_python_targets=()
|
||||
|
||||
get_xapp_python_targets() {
|
||||
xapp_python_targets+=("${EPYTHON}")
|
||||
}
|
||||
python_foreach_impl get_xapp_python_targets
|
||||
|
||||
emesonargs+=(
|
||||
-Dpython_target="$(echo "${xapp_python_targets[@]}" | tr ' ' ,)"
|
||||
)
|
||||
fi
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use introspection; then
|
||||
python_foreach_impl python_optimize
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
DIST muffin-6.4.1.tar.gz 4523777 BLAKE2B bc77af9f56fce5c50cfa28e468a260876520a3d9e5bfa445af2b16e118b9306973a0632dadf3b7456a2131a6fd01616e2056a5f1799e787ae10777577ffe0ae3 SHA512 7c582c561ba02c197aff56f0346ff4c5e35e0467c494125d8cef2c65e2321d547132f48aa57cea34910c3c442a6cb883b478f037090416f21f652c69be4c239d
|
||||
DIST muffin-6.6.3.tar.gz 4527828 BLAKE2B a95d7f14be183578c94e79f3163feaf82a43c4249435f554a3fb4c2e67ca73aba9fb2e58d28810eb188e419766ed3c0867ca8488f62d36ca02ab10b6b2997de9 SHA512 f9ca11d11bd8b48e83951baada236aac38c53600566bf5739a1162cbc9c94fe32cfbc30998fedc2d9ff8b9afb68db0b053b4476dab2ad9182c07d71fa58e99f7
|
||||
|
||||
@@ -1,181 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit flag-o-matic gnome2-utils meson python-any-r1 virtualx
|
||||
|
||||
DESCRIPTION="Compositing window manager forked from Mutter for use with Cinnamon"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/muffin"
|
||||
SRC_URI="https://github.com/linuxmint/muffin/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+ MIT SGI-B-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE="input_devices_wacom +introspection screencast sysprof systemd test udev wayland video_cards_nvidia"
|
||||
REQUIRED_USE="wayland? ( udev )"
|
||||
|
||||
# Dependencies listed in meson order
|
||||
COMDEPEND="
|
||||
x11-libs/libX11
|
||||
>=media-libs/graphene-1.9.3[introspection?]
|
||||
>=x11-libs/gtk+-3.19.8:3[X,introspection?]
|
||||
x11-libs/gdk-pixbuf:2[introspection?]
|
||||
>=x11-libs/pango-1.20.0[introspection?]
|
||||
>=x11-libs/cairo-1.10.0[X]
|
||||
>=dev-libs/fribidi-1.0.0
|
||||
>=dev-libs/glib-2.67.3:2
|
||||
>=dev-libs/json-glib-0.12.0[introspection?]
|
||||
>=gnome-extra/cinnamon-desktop-6.4:0=
|
||||
>=x11-libs/libXcomposite-0.4
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
>=x11-libs/libXfixes-3
|
||||
>=x11-libs/libXi-1.7.4
|
||||
x11-libs/libXtst
|
||||
x11-libs/libxkbfile
|
||||
x11-misc/xkeyboard-config
|
||||
>=x11-libs/libxkbcommon-0.4.3[X]
|
||||
x11-libs/libXrender
|
||||
>=x11-libs/libXrandr-1.5.0
|
||||
x11-libs/libxcb:=
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXau
|
||||
x11-libs/libICE
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2[introspection?]
|
||||
>=media-libs/libcanberra-0.26
|
||||
sys-apps/dbus
|
||||
media-libs/libglvnd[X]
|
||||
media-libs/mesa[X(+),egl(+)]
|
||||
x11-libs/libSM
|
||||
>=x11-libs/startup-notification-0.7
|
||||
media-libs/fontconfig
|
||||
|
||||
input_devices_wacom? (
|
||||
>=dev-libs/libwacom-0.13:=
|
||||
)
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.82.0-r2:=
|
||||
)
|
||||
screencast? (
|
||||
>=media-video/pipewire-0.3.0:=
|
||||
)
|
||||
sysprof? (
|
||||
>=dev-util/sysprof-capture-3.35.2:3
|
||||
)
|
||||
udev? (
|
||||
>=virtual/libudev-228:=
|
||||
>=dev-libs/libgudev-232
|
||||
)
|
||||
wayland? (
|
||||
>=dev-libs/libinput-1.7:=
|
||||
>=dev-libs/wayland-1.13.0
|
||||
>=dev-libs/wayland-protocols-1.19
|
||||
|| (
|
||||
>=media-libs/mesa-24.1.0_rc1[opengl]
|
||||
<media-libs/mesa-24.1.0_rc1[gbm(+),gles2]
|
||||
)
|
||||
x11-base/xwayland
|
||||
x11-libs/libdrm
|
||||
|
||||
systemd? (
|
||||
sys-apps/systemd
|
||||
)
|
||||
!systemd? (
|
||||
sys-auth/elogind
|
||||
)
|
||||
video_cards_nvidia? (
|
||||
gui-libs/egl-wayland
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMDEPEND}
|
||||
gnome-extra/zenity
|
||||
"
|
||||
DEPEND="${COMDEPEND}
|
||||
x11-base/xorg-proto
|
||||
|
||||
sysprof? (
|
||||
dev-util/sysprof-common
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-util/gdbus-codegen-2.80.5-r1
|
||||
dev-util/glib-utils
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
|
||||
wayland? (
|
||||
dev-util/wayland-scanner
|
||||
>=sys-kernel/linux-headers-4.4
|
||||
x11-libs/libxcvt
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang src/backends/native/gen-default-modes.py
|
||||
}
|
||||
|
||||
# Wayland is not supported upstream.
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dopengl=true
|
||||
#opengl_libname
|
||||
#gles2_libname
|
||||
$(meson_use wayland gles2)
|
||||
-Degl=true
|
||||
-Dglx=true
|
||||
$(meson_use wayland)
|
||||
$(meson_use wayland native_backend)
|
||||
$(meson_use screencast remote_desktop)
|
||||
$(meson_use udev)
|
||||
$(meson_use input_devices_wacom libwacom)
|
||||
-Dpango_ft2=true
|
||||
-Dstartup_notification=true
|
||||
-Dsm=true
|
||||
$(meson_use introspection)
|
||||
$(meson_use test cogl_tests)
|
||||
$(meson_use test clutter_tests)
|
||||
# Wayland/Core tests cause issues. They attempt to access video hardware
|
||||
# and leave /tmp/.X#-lock files behind.
|
||||
-Dcore_tests=false # wayland
|
||||
$(meson_use test tests)
|
||||
$(meson_use sysprof profiler)
|
||||
-Dinstalled_tests=false
|
||||
#verbose
|
||||
)
|
||||
|
||||
if use wayland; then
|
||||
emesonargs+=(
|
||||
$(meson_use video_cards_nvidia egl_device)
|
||||
$(meson_use video_cards_nvidia wayland_eglstream)
|
||||
)
|
||||
fi
|
||||
|
||||
# -Werror=lto-type-mismatch
|
||||
# https://bugs.gentoo.org/933879
|
||||
use wayland && filter-lto
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
gnome2_environment_reset # Avoid dconf that looks at XDG_DATA_DIRS, which can sandbox fail if flatpak is installed
|
||||
glib-compile-schemas "${BUILD_DIR}"/data
|
||||
GSETTINGS_SCHEMA_DIR="${BUILD_DIR}"/data virtx meson_src_test --no-suite flaky
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
Reference in New Issue
Block a user