New package: kf6-kio-6.1.0
This commit is contained in:
parent
ceb32c3970
commit
62a2e7c52c
|
@ -1958,6 +1958,10 @@ libKF6I18nLocaleData.so.6 kf6-ki18n-6.0.0_1
|
|||
libKF6I18n.so.6 kf6-ki18n-6.0.0_1
|
||||
libKF6IconThemes.so.6 kf6-kiconthemes-6.0.0_1
|
||||
libKF6IconWidgets.so.6 kf6-kiconthemes-6.0.0_1
|
||||
libKF6KIOCore.so.6 kf6-kio-6.0.0_1
|
||||
libKF6KIOFileWidgets.so.6 kf6-kio-6.0.0_1
|
||||
libKF6KIOGui.so.6 kf6-kio-6.0.0_1
|
||||
libKF6KIOWidgets.so.6 kf6-kio-6.0.0_1
|
||||
libKF6ItemViews.so.6 kf6-kitemviews-6.0.0_1
|
||||
libKF6JobWidgets.so.6 kf6-kjobwidgets-6.0.0_1
|
||||
libKF6Wallet.so.6 kf6-kwallet-6.0.0_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
kf6-kio
|
|
@ -0,0 +1,79 @@
|
|||
--- a/autotests/kacltest.cpp 2024-02-21 12:25:36.000000000 +0100
|
||||
+++ - 2024-03-02 20:04:25.695983576 +0100
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
m_testACL = QStringLiteral(
|
||||
"user::rw-\n"
|
||||
- "user:bin:rwx\n"
|
||||
+ "user:nobody:rwx\n"
|
||||
"group::rw-\n"
|
||||
"mask::rwx\n"
|
||||
"other::r--\n");
|
||||
@@ -64,7 +64,7 @@
|
||||
m_testACL2 =
|
||||
QLatin1String{
|
||||
"user::rwx\n"
|
||||
- "user:bin:rwx\n"
|
||||
+ "user:nobody:rwx\n"
|
||||
"group::rw-\n"}
|
||||
+ orderedGroups
|
||||
+ QLatin1String{
|
||||
@@ -74,7 +74,7 @@
|
||||
m_testACLEffective =
|
||||
QLatin1String{
|
||||
"user::rwx\n"
|
||||
- "user:bin:rwx #effective:r-x\n"
|
||||
+ "user:nobody:rwx #effective:r-x\n"
|
||||
"group::rw- #effective:r--\n"}
|
||||
+ orderedGroups
|
||||
+ QLatin1String{
|
||||
@@ -131,7 +131,7 @@
|
||||
++count;
|
||||
}
|
||||
QCOMPARE(count, 1);
|
||||
- QCOMPARE(name, QStringLiteral("bin"));
|
||||
+ QCOMPARE(name, QStringLiteral("nobody"));
|
||||
QCOMPARE(permissions, 7);
|
||||
}
|
||||
|
||||
@@ -205,19 +205,19 @@
|
||||
bool dummy = false;
|
||||
QCOMPARE(int(CharlesII.maskPermissions(dummy)), 7);
|
||||
|
||||
- const QString expected(QStringLiteral("user::rw-\nuser:root:rwx\nuser:bin:r--\ngroup::rw-\nmask::rwx\nother::r--\n"));
|
||||
+ const QString expected(QStringLiteral("user::rw-\nuser:root:rwx\nuser:nobody:r--\ngroup::rw-\nmask::rwx\nother::r--\n"));
|
||||
|
||||
ACLUserPermissionsList users;
|
||||
ACLUserPermissions user = qMakePair(QStringLiteral("root"), (unsigned short)7);
|
||||
users.append(user);
|
||||
- user = qMakePair(QStringLiteral("bin"), (unsigned short)4);
|
||||
+ user = qMakePair(QStringLiteral("nobody"), (unsigned short)4);
|
||||
users.append(user);
|
||||
CharlesII.setAllUserPermissions(users);
|
||||
QCOMPARE(CharlesII.asString(), expected);
|
||||
|
||||
CharlesII.setACL(m_testACL); // reset
|
||||
// it already has an entry for bin, let's change it
|
||||
- CharlesII.setNamedUserPermissions(QStringLiteral("bin"), 4);
|
||||
+ CharlesII.setNamedUserPermissions(QStringLiteral("nobody"), 4);
|
||||
CharlesII.setNamedUserPermissions(QStringLiteral("root"), 7);
|
||||
QCOMPARE(CharlesII.asString(), expected);
|
||||
|
||||
@@ -237,7 +237,7 @@
|
||||
const QString expected2 =
|
||||
QLatin1String{
|
||||
"user::rw-\n"
|
||||
- "user:bin:rwx\n"
|
||||
+ "user:nobody:rwx\n"
|
||||
"group::rw-\n"}
|
||||
+ orderedGroups
|
||||
+ QLatin1String{
|
||||
@@ -267,7 +267,7 @@
|
||||
v = foo.setNamedGroupPermissions(QStringLiteral("jongel"), 7); // non-existing group
|
||||
QVERIFY(!v);
|
||||
|
||||
- v = foo.setNamedUserPermissions(QStringLiteral("bin"), 7); // existing user
|
||||
+ v = foo.setNamedUserPermissions(QStringLiteral("nobody"), 7); // existing user
|
||||
QVERIFY(v);
|
||||
v = foo.setNamedUserPermissions(QStringLiteral("jongel"), 7); // non-existing user
|
||||
QVERIFY(!v);
|
|
@ -0,0 +1,57 @@
|
|||
# Template file for 'kf6-kio'
|
||||
pkgname=kf6-kio
|
||||
version=6.1.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
build_helper=qemu
|
||||
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
|
||||
-DKF6_HOST_TOOLING=/usr/lib/cmake
|
||||
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
||||
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
|
||||
gettext kf6-kdoctools kf6-kconfig kf6-kauth-tools"
|
||||
makedepends="kf6-karchive-devel kf6-kauth-devel kf6-kbookmarks-devel
|
||||
kf6-kservice-devel kf6-solid-devel kf6-kcrash-devel kf6-kdbusaddons-devel
|
||||
kf6-kcompletion-devel kf6-kiconthemes-devel kf6-kitemviews-devel
|
||||
kf6-kjobwidgets-devel kf6-kwindowsystem-devel kf6-kwallet-devel
|
||||
kf6-kded-devel qt6-qt5compat-devel qt6-tools-devel acl-devel
|
||||
kf6-kdoctools-devel"
|
||||
checkdepends="xvfb-run"
|
||||
short_desc="KDE Network transparent access to files and data"
|
||||
maintainer="John <me@johnnynator.dev>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://invent.kde.org/frameworks/kio"
|
||||
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
|
||||
checksum=47cb00258ca38f9c1ee2aa7929f5b12bc7d99cb580da560ada71050fa089ffd2
|
||||
|
||||
do_check() {
|
||||
cd build
|
||||
# disable failing tests
|
||||
tests=("kpasswdservertest"
|
||||
"kiocore-kmountpointtest"
|
||||
"kiocore-jobtest"
|
||||
"kiocore-kfileitemtest"
|
||||
"kiocore-filefiltertest"
|
||||
"kiogui-favicontest"
|
||||
"kiogui-openurljobtest"
|
||||
"applicationlauncherjob_servicetest"
|
||||
"commandlauncherjob_servicetest"
|
||||
"kiowidgets-kdirmodeltest"
|
||||
"kiowidgets-kfileitemactionstest"
|
||||
"kiowidgets-kurifiltertest-colon-separator"
|
||||
"kiowidgets-kurifiltertest-space-separator"
|
||||
"kiofilewidgets-kfilewidgettest"
|
||||
"kiofilewidgets-kfileplacesmodeltest"
|
||||
"kiowidgets-kdirlistertest")
|
||||
xvfb-run ctest -E "($( echo ${tests[@]} | tr " " "|"))"
|
||||
}
|
||||
|
||||
kf6-kio-devel_package() {
|
||||
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/cmake
|
||||
vmove "usr/lib/libKF6KIO*.so"
|
||||
vmove usr/share/doc
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue