mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
kpmcore: enable sfdisk backend
This commit is contained in:
@@ -1,5 +1,21 @@
|
||||
SUMMARY="Library for managing partitions"
|
||||
DESCRIPTION="https://www.kde.org/applications/system/kdepartitionmanager."
|
||||
DESCRIPTION="KPMcore, the KDE Partition Manager core, is a library for \
|
||||
examining and modifying partitions, disk devices, and filesystems on a \
|
||||
Linux system. It provides a unified programming interface over top of \
|
||||
(external) system-manipulation tools.
|
||||
|
||||
KPMcore is a library for examining and manipulating all facets of storage \
|
||||
devices on a system:
|
||||
|
||||
* raw disk devices
|
||||
* partition tables on a device
|
||||
* filesystems within a partition
|
||||
|
||||
There are multiple backends so that KPMcore can support different operating \
|
||||
systems, although the only functional backend is the one for Linux systems:
|
||||
|
||||
* sfdisk backend (Linux)
|
||||
* null backend"
|
||||
HOMEPAGE="https://github.com/KDE/kpmcore/"
|
||||
COPYRIGHT="2010-2018 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
@@ -15,7 +31,7 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kpmcore$secondaryArchSuffix = $portVersion
|
||||
lib:libkpmcore$secondaryArchSuffix = $portVersion compat >= 9
|
||||
lib:libkpmcore$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -42,7 +58,7 @@ BUILD_REQUIRES="
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libqca$secondaryArchSuffix
|
||||
devel:libqca$secondaryArchSuffix >= 2
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 6d89629552d7e09b5ad053208e62d4a26c8a7e61 Mon Sep 17 00:00:00 2001
|
||||
From 514b2d1787bf2bd1d4b6a0c8ee0013ae32effaf6 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= <andrius@stikonas.eu>
|
||||
Date: Thu, 12 Apr 2018 15:16:42 +0300
|
||||
Subject: Remove deprecated attribute for now. Not available on current Neon.
|
||||
@@ -27,7 +27,7 @@ index 63f604d..c675c10 100644
|
||||
2.16.2
|
||||
|
||||
|
||||
From a00f757cd306aa3b0a58ead2d24f21971ae0b328 Mon Sep 17 00:00:00 2001
|
||||
From cff2110c47897d98316e68231eb55fe78f3c547b Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Fri, 11 May 2018 17:49:10 +0300
|
||||
Subject: Disable BLKPBSZGET
|
||||
@@ -46,9 +46,11 @@ index 38c8175..481c3cf 100644
|
||||
#endif
|
||||
|
||||
#define d_ptr std::static_pointer_cast<DiskDevicePrivate>(d)
|
||||
--
|
||||
2.16.2
|
||||
|
||||
|
||||
From 711e73f744808a27f232c3d052a6cd9803af21e4 Mon Sep 17 00:00:00 2001
|
||||
From a105024ee4f7fa38a992bf8d324e8a62cfe6c46d Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Fri, 11 May 2018 19:00:27 +0300
|
||||
Subject: Fix headers search path
|
||||
@@ -69,7 +71,6 @@ index caff811..a29a01f 100644
|
||||
|
||||
ecm_configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/KPMcoreConfig.cmake.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/KPMcoreConfig.cmake"
|
||||
|
||||
diff --git a/src/util/CMakeLists.txt b/src/util/CMakeLists.txt
|
||||
index 6e3abb2..a149448 100644
|
||||
--- a/src/util/CMakeLists.txt
|
||||
@@ -86,3 +87,26 @@ index 6e3abb2..a149448 100644
|
||||
--
|
||||
2.16.2
|
||||
|
||||
|
||||
From 53b182ffb0ae5d8e6607bd09effeeee96d35d108 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Sun, 13 May 2018 13:28:40 +0300
|
||||
Subject: Enable sfdisk backend on Haiku
|
||||
|
||||
|
||||
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
|
||||
index 098738c..1df787c 100644
|
||||
--- a/src/plugins/CMakeLists.txt
|
||||
+++ b/src/plugins/CMakeLists.txt
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
############################################
|
||||
|
||||
-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
+if(${CMAKE_SYSTEM_NAME} MATCHES "(Linux|Haiku)")
|
||||
option(PARTMAN_SFDISKBACKEND "Build the sfdisk backend plugin." ON)
|
||||
|
||||
if (PARTMAN_SFDISKBACKEND)
|
||||
--
|
||||
2.16.2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user