mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
kio_extras_kf6, bump to 25.04.0 (#12366)
This commit is contained in:
@@ -14,9 +14,8 @@ COPYRIGHT="2010-2025 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kio-extras-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="c4374fe36e87e7b0eb745a1bba8f4b066f58b84139f9cd7b42cab6711bfb6e2f"
|
||||
CHECKSUM_SHA256="7c87dc107ed375f5dfed74ffaf86a25990c131e539a4789b78ba70751b2fefac"
|
||||
SOURCE_DIR="kio-extras-$portVersion"
|
||||
PATCHES="kio_extras-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -135,6 +134,7 @@ BUILD_PREREQUIRES="
|
||||
|
||||
PATCH()
|
||||
{
|
||||
# disable docs generation
|
||||
sed -e '/add_subdirectory(doc)/ s/^#*/#/' -i CMakeLists.txt
|
||||
sed -e '/kdoctools_install(po)/ s/^#*/#/' -i CMakeLists.txt
|
||||
}
|
||||
@@ -162,8 +162,10 @@ INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
|
||||
# don't mess with shared_mime_info files
|
||||
rm -rf $dataDir/mime/{aliases,generic-icons,globs,globs2,icons,magic}
|
||||
rm -rf $dataDir/mime/{mime.cache,subclasses,treemagic,types,version,XMLnamespaces}
|
||||
# cleanup
|
||||
rm -rf $dataDir/applications
|
||||
|
||||
prepareInstalledDevelLib \
|
||||
@@ -1,32 +0,0 @@
|
||||
From 3a921cff2328f5f5222a7f6aa03a83c4b53b40e1 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Wed, 11 May 2022 10:49:55 +1000
|
||||
Subject: Disable shm for haiku
|
||||
|
||||
|
||||
diff --git a/thumbnail/thumbnail.cpp b/thumbnail/thumbnail.cpp
|
||||
index f58255b..7e2a9f2 100644
|
||||
--- a/thumbnail/thumbnail.cpp
|
||||
+++ b/thumbnail/thumbnail.cpp
|
||||
@@ -17,7 +17,9 @@
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <sys/ipc.h>
|
||||
+#ifndef Q_OS_HAIKU
|
||||
#include <sys/shm.h>
|
||||
+#endif
|
||||
#include <unistd.h> // nice()
|
||||
#endif
|
||||
|
||||
@@ -297,7 +299,7 @@ KIO::WorkerResult ThumbnailProtocol::get(const QUrl &url)
|
||||
// qDebug() << "IMAGE TO STREAM";
|
||||
stream << img;
|
||||
}
|
||||
-#ifndef Q_OS_WIN
|
||||
+#if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU)
|
||||
else {
|
||||
// qDebug() << "IMAGE TO SHMID";
|
||||
void *shmaddr = shmat(shmid.toInt(), nullptr, 0);
|
||||
--
|
||||
2.48.1
|
||||
|
||||
Reference in New Issue
Block a user