From f92d228b0a325d160a5cb095e41de077079a666c Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Fri, 23 May 2025 15:47:29 +0200 Subject: [PATCH] hashomatic, drop recipe (no need for now to keep PIM software) (#12426) --- .../additional-files/hashomatic.rdef.in | 51 -------- kde-apps/hashomatic/hashomatic-1.0.1.recipe | 119 ------------------ .../patches/hashomatic-1.0.1.patchset | 24 ---- 3 files changed, 194 deletions(-) delete mode 100644 kde-apps/hashomatic/additional-files/hashomatic.rdef.in delete mode 100644 kde-apps/hashomatic/hashomatic-1.0.1.recipe delete mode 100644 kde-apps/hashomatic/patches/hashomatic-1.0.1.patchset diff --git a/kde-apps/hashomatic/additional-files/hashomatic.rdef.in b/kde-apps/hashomatic/additional-files/hashomatic.rdef.in deleted file mode 100644 index 174431885..000000000 --- a/kde-apps/hashomatic/additional-files/hashomatic.rdef.in +++ /dev/null @@ -1,51 +0,0 @@ -resource app_flags B_SINGLE_LAUNCH; - -resource app_version { - major = @MAJOR@, - middle = @MIDDLE@, - minor = @MINOR@, - - variety = B_APPV_FINAL, - internal = 0, - - short_info = "@APP_NAME@", - long_info = "@LONG_INFO@" -}; - -resource app_signature "@APP_SIGNATURE@"; - -resource("QT:QPA_FLAGS") "Q_KILL_ON_EXIT"; - -resource vector_icon { - $"6E63696604036C3484020006020000003D04E0BD04E0000000464B8E4A0A7500" - $"3DAEE9FFBE44AD020002023B779A3C1CFCBC235D3B6D42493D164B1DFC006C34" - $"84FFFF00000000020002033C2AA90000000000003C116A4A00014B08C300FFFF" - $"F9FFEBC3D4D3FFFFFFFFFF0005020AB84FB520B84FB520BD45B520C72FB520C2" - $"3AB520C8F2B520CA5FB850CA5FB68DCA5FBD45CA5FC730CA5FC23ACA5FC8F2C7" - $"2FCA60C8F2CA60C23ACA60B84FCA60BD45CA60B68DCA60B51FC730B51FC8F2B5" - $"1FC23AB51FB850B51FBD45B51FB68DB84FB520B68DB520B84FB520B84FB520B8" - $"4FB520B84FB520020AB84FB520B84FB520BD45B520C72FB520C23AB520C8F2B5" - $"20CA5FB850CA5FB68DCA5FBD18CA5FC6A8CA5FC1E0CA5FC86BC72FC9D8C8F2C9" - $"D8C23AC9D8B84FC9D8BD45C9D8B68DC9D8B51FC6A8B51FC86BB51FC1E0B51FB8" - $"50B51FBD18B51FB68DB84FB520B68DB520B84FB520B84FB520B84FB520B84FB5" - $"200211C525B740C525B740C4BDB897C3ECBB45C454B9EEC2A6B9EEC01BB740C1" - $"61B897BF89B8D8BE65BC0ABEF7BA71BCDBBC9AB9C8BDBABB52BD2ABAC3BF41BC" - $"B9C24EBBBEC0C8BB6EC2B1B8D7C376BA22C314B9C0C49BBB92C6E3BAA9C5BFBC" - $"5AC578BDE9C2A2BD21C40DBCE2C481BAD3C840BBDAC661BB1FC8C8BBB7C9D7BB" - $"6BC94FC310C9F1C7B0C9D6C524C9D6C957C996CADFC799CAB3C92DCADFC798CA" - $"DFC798CADFC798CAE2C77DCA55C71ECA55C73ACA57C3A3CA5BBCADCA59C028C8" - $"9EBADEC525B740C6E2B90FC525B7400205BDEBC1DABDEBC1DABF01C1DAC12FC1" - $"DAC018C1DAC178C07AC20ABDBBC1C1BF1BC0F3BDBBBEC5BDBBBFDCBDBBBE7CBF" - $"1BBDEBC1DABE34C07ABDEBC1DA021DBFDCC840BFDCC840C031C6A7C0DAC376C0" - $"85C50FBFC3C376BD95C376BEACC376BD40C50FBC97C840BCECC6A7BC01C840BA" - $"D3C840BB6AC840BB27C6A7BBD0C376BB7CC50FBAD2C376B8D7C376B9D5C376B8" - $"D7C2EDB8D7C1DAB8D7C264B9F1C1DABC25C1DABB0BC1DABC6DC07ABCFDBDBBBC" - $"B5BF1BBBECBDBBB9C8BDBBBADABDBBB9C8BD30B9C8BC1CB9C8BCA6BAF6BC1CBD" - $"53BC1CBC24BC1CBDA8BA7DBE54B740BDFEB8DEBEECB740C01CB740BF84B740BF" - $"C6B8DEBF1BBC1CBF70BA7DC031BC1CC25FBC1CC148BC1CC2B5BA7DC360B740C3" - $"0BB8DEC3F7B740C525B740C48EB740C4CFB8DEC424BC1CC47ABA7DC4FBBC1CC6" - $"A8BC1CC5D1BC1CC6A8BCA6C6A8BDBBC6A8BD30C5B5BDBBC3CFBDBBC4C2BDBBC3" - $"86BF1BC2F4C1DAC33DC07AC3E1C1DA4FC1DAC4CDC1DA4FC2644FC3764FC2EDC4" - $"B1C376C29FC376C3A8C376C24AC50FC1A1C840C1F6C6A7C10AC840BFDCC840C0" - $"73C840BFDCC840040A000100000A010101000A020102000A0302030400" -}; diff --git a/kde-apps/hashomatic/hashomatic-1.0.1.recipe b/kde-apps/hashomatic/hashomatic-1.0.1.recipe deleted file mode 100644 index 3709b9835..000000000 --- a/kde-apps/hashomatic/hashomatic-1.0.1.recipe +++ /dev/null @@ -1,119 +0,0 @@ -SUMMARY="Check hashes for your files" -DESCRIPTION="Verifying that a file you downloaded or received is actually the one you were \ -expecting is often overlooked or too time-consuming to do. At the same time, it has become very \ -easy to get your hands on a file that has been tampered with, due to the mass increase of \ -malicious webpages and other actors. - -This tool aims to solve that. Hash-o-matic comes with a simple & clean UI, allowing anyone, from \ -any age and experience group, to generate, compare and verify MD5, SHA-256 and SHA-1 hashes. - -Hash-o-Matic also support verifying a file with the help of a PGP signature." -HOMEPAGE="https://apps.kde.org/hashomatic" -COPYRIGHT="2010-2024 KDE Organisation" -LICENSE="GNU GPL v2" -REVISION="1" -SOURCE_URI="https://download.kde.org/stable/hash-o-matic/hash-o-matic-$portVersion.tar.xz" -CHECKSUM_SHA256="bfabdc12234f9ae73ba652d881d66e9220fba3f8bbf6074fcde6a0e90cc7fc1a" -SOURCE_DIR="hash-o-matic-$portVersion" -PATCHES="hashomatic-$portVersion.patchset" -ADDITIONAL_FILES="hashomatic.rdef.in" - -ARCHITECTURES="all !x86_gcc2" -SECONDARY_ARCHITECTURES="x86" - -PROVIDES=" - hashomatic$secondaryArchSuffix = $portVersion - cmd:hashomatic$secondaryArchSuffix = $portVersion - " -REQUIRES=" - haiku$secondaryArchSuffix - lib:libassuan$secondaryArchSuffix - lib:libGL$secondaryArchSuffix - lib:libgpgmepp$secondaryArchSuffix - lib:libqgpgmeqt6$secondaryArchSuffix - # KF6 - lib:libKF6ConfigCore$secondaryArchSuffix - lib:libKF6CoreAddons$secondaryArchSuffix - lib:libKF6I18n$secondaryArchSuffix - # KPim6 - lib:libKPim6Libkleo$secondaryArchSuffix - # Qt6 - lib:libQt6Core$secondaryArchSuffix - lib:libQt6Qml$secondaryArchSuffix - lib:libQt6Quick$secondaryArchSuffix - lib:libQt6Svg$secondaryArchSuffix - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel - devel:libgpgmepp$secondaryArchSuffix - devel:libqgpgmeqt6$secondaryArchSuffix - # KF6 - extra_cmake_modules$secondaryArchSuffix - devel:libKirigamiPlatform$secondaryArchSuffix - devel:libKF6ConfigCore$secondaryArchSuffix - devel:libKF6CoreAddons$secondaryArchSuffix - devel:libKF6DbusAddons$secondaryArchSuffix - devel:libKF6I18n$secondaryArchSuffix - # KPim6 - devel:libKPim6Libkleo$secondaryArchSuffix - # Qt6 - devel:libQt6Core$secondaryArchSuffix - devel:libQt6Qml$secondaryArchSuffix - devel:libQt6Svg$secondaryArchSuffix - " -BUILD_PREREQUIRES=" - cmd:cmake - cmd:g++$secondaryArchSuffix - cmd:git - cmd:make - cmd:msgfmt - cmd:msgmerge - cmd:pkg_config$secondaryArchSuffix - " - -TEST_REQUIRES=" - qthaikuplugins$secondaryArchSuffix - " - -BUILD() -{ - cmake -Bbuild -S. $cmakeDirArgs \ - -DCMAKE_BUILD_TYPE=Release \ - -DECM_DIR=/system/data/cmake/Modules/ECM/cmake \ - -DBUILD_TESTING=OFF - make -C build $jobArgs -} - -INSTALL() -{ - make -C build install - - # cleanup - rm -rf $dataDir/{applications,metainfo} - - mkdir -p "$dataDir/deskbar/menu/Applications/KDE" - - local MAJOR="`echo "$portVersion" | cut -d. -f1`" - local MIDDLE="`echo "$portVersion" | cut -d. -f2`" - local MINOR="0" - local APP_NAME="Hash-o-matic" - local LONG_INFO="$SUMMARY" - local APP_SIGNATURE="application/x-vnd.hashomatic" - sed \ - -e "s|@MAJOR@|$MAJOR|" \ - -e "s|@MIDDLE@|$MIDDLE|" \ - -e "s|@MINOR@|$MINOR|" \ - -e "s|@LONG_INFO@|$LONG_INFO|" \ - -e "s|@APP_NAME@|$APP_NAME|" \ - -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ - $portDir/additional-files/hashomatic.rdef.in > hashomatic.rdef - - addResourcesToBinaries hashomatic.rdef $binDir/hashomatic - addAppDeskbarSymlink $binDir/hashomatic "KDE/Hash-o-matic" -} - -TEST() -{ - ctest --test-dir build --output-on-failure -} diff --git a/kde-apps/hashomatic/patches/hashomatic-1.0.1.patchset b/kde-apps/hashomatic/patches/hashomatic-1.0.1.patchset deleted file mode 100644 index 6c23ef73a..000000000 --- a/kde-apps/hashomatic/patches/hashomatic-1.0.1.patchset +++ /dev/null @@ -1,24 +0,0 @@ -From 4e62a43bd0b88423a5b23edfeed944353a3c2438 Mon Sep 17 00:00:00 2001 -From: Schrijvers Luc -Date: Mon, 29 Apr 2024 18:33:54 +0200 -Subject: Use software rendering for text displays - - -diff --git a/src/main.cpp b/src/main.cpp -index 1621a06..6f5c643 100644 ---- a/src/main.cpp -+++ b/src/main.cpp -@@ -57,6 +57,10 @@ int main(int argc, char *argv[]) - { - QNetworkProxyFactory::setUseSystemConfiguration(true); - -+#if defined(Q_OS_HAIKU) -+ qputenv("QT_QUICK_BACKEND", "software"); -+#endif -+ - #ifdef Q_OS_ANDROID - QGuiApplication app(argc, argv); - QQuickStyle::setStyle(u"org.kde.breeze"_s); --- -2.45.1 -