app update

This commit is contained in:
Ali Riza KESKIN committed 2026-06-20 18:17:44 +03:00
1 parent 31df195117
commit 55ffe1e708
12 files changed
+26 -181

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
set -ex
ymp build --install --output=/root/main/output --no-emerge spectacle
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='ark'
release='5'
version='25.08.1'
release='6'
version='26.04.2'
url='https://kde.org/applications/utilities/org.kde.ark'
description='Graphical file compression/decompression utility with support for multiple formats'
email='akarsu@protonmail.com'
@@ -10,7 +10,7 @@ license=('GPLv3')
source=("https://download.kde.org/stable/release-service/${version}/src/ark-${version}.tar.xz")
depends=(kio libarchive kparts kfilemetadata kpty)
makedepends=()
sha256sums=('2febbab11881e3d32f44c4107041d53b1d5353c8c95c4d6536ab57de0958f96f')
sha256sums=( 'b81c4055486c99f4f21ff228bf12485bc73e8e6b0064edee1043a11ad5d1e555' )
group=(kde.apps)
uses=()
arch=('x86_64')
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='baloo-widgets'
release='5'
version='25.08.1'
release='6'
version='26.04.2'
url='https://www.kde.org/'
description='Widgets for Baloo'
email='akarsu@protonmail.com'
@@ -10,7 +10,7 @@ license=('LGPL')
source=("https://download.kde.org/stable/release-service/${version}/src/baloo-widgets-${version}.tar.xz")
depends=(baloo kio)
makedepends=(extra-cmake-modules kdoctools)
sha256sums=('864d76546dad21cefb68f761504dc89bbfe2b24fc403ed3589fa609ba87655f1')
sha256sums=( '7daf3e6821b9988c171a316cb547591fba2caca78818c2da1d409603ea93c00a' )
group=(kde.apps)
uses=()
arch=('x86_64')
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='dolphin'
release='5'
version='25.08.1'
release='6'
version='26.04.2'
url='https://apps.kde.org/dolphin/'
description='KDE File Manager'
email='akarsu@protonmail.com'
@@ -10,7 +10,7 @@ license=('LGPL')
source=("https://download.kde.org/stable/release-service/${version}/src/dolphin-${version}.tar.xz")
depends=(baloo-widgets knewstuff kcmutils kparts phonon ktextwidgets)
makedepends=(extra-cmake-modules kdoctools)
sha256sums=('08b051c0696724fd8d620ffa6afc1bff080592a356b79ce2bb50bc841071eacd')
sha256sums=( 'c7e90beb8ce13aea091494ae7ddfabde999b1297986a596403828010bec59346' )
group=(kde.apps)
uses=()
arch=('x86_64')
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='kate'
release='5'
version='25.08.1'
release='6'
version='26.04.2'
url='https://kde.org/applications/utilities/org.kde.kate'
description='A multi-document, multi-view text editor'
email='akarsu@protonmail.com'
@@ -10,7 +10,7 @@ license=('GPL' 'LGPL' 'FDL')
source=("https://invent.kde.org/utilities/kate/-/archive/v${version}/kate-v${version}.tar.gz")
depends=(knewstuff ktexteditor hicolor-icon-theme)
makedepends=(extra-cmake-modules kdoctools)
sha256sums=('aae1025ff0370592d2977ae937e5bb2b28051b6059782dae9ee938d7586b981c')
sha256sums=( 'f34f126c76f48f8698adb6197580d6feaf077fc760df1621aca9a4752f2a1eb6' )
group=(kde.apps)
uses_extra=(kwrite)
uses=()
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='kcalc'
release='5'
version='25.08.1'
release='6'
version='26.04.2'
url='https://kde.org/applications/utilities/org.kde.kcalc'
description='Scientific Calculator'
email='akarsu@protonmail.com'
@@ -10,7 +10,7 @@ license=('GPL' 'LGPL' 'FDL')
source=(https://download.kde.org/stable/release-service/${version}/src/${name}-${version}.tar.xz)
depends=(mpfr kxmlgui knotifications)
makedepends=(extra-cmake-modules kdoctools)
sha256sums=("fa9a892ac539dc250e4bdb243358d859aa024bf65479576c5a089c6b4435c155")
sha256sums=( 'dbdf29db1774d884e2d7ee543c6b919cd0f578dbd517a449a794bf854509b30d' )
group=(kde.apps)
uses=()
arch=('x86_64')
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='kfind'
release='5'
version='25.08.1'
release='6'
version='26.04.2'
url='https://www.kde.org/applications/utilities/kfind'
description='Find Files/Folders'
email='brkt8khn@gmailmail.com'
@@ -11,7 +11,7 @@ source=("https://download.kde.org/stable/release-service/${version}/src/kfind-${
depends=(karchive kcompletion kconfig kconfigwidgets kcoreaddons kfilemetadata ki18n kio kwidgetsaddons
kxmlgui qt6-5compat qt6-base)
makedepends=(extra-cmake-modules kdoctools)
sha256sums=('06155b309fba75dcd373a86bd5f89f08425455168470c7f69b62f09f05c5a4e1')
sha256sums=( '2902110890a9dd96a017e71fae9b0c28ae53c946b977f3ff5f53b30e8932b553' )
group=(kde.apps)
uses=()
arch=('x86_64')
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
name='konsole'
release='5'
version='25.08.1'
release='6'
version='26.04.2'
url='https://kde.org/applications/system/konsole'
description="KDE's terminal emulator"
email='akarsu@protonmail.com'
@@ -10,7 +10,7 @@ license=('LGPL' 'GPL' 'FDL')
source=("https://download.kde.org/stable/release-service/${version}/src/konsole-${version}.tar.xz")
depends=(kpty kparts knewstuff knotifyconfig)
makedepends=(extra-cmake-modules kdoctools)
sha256sums=('60911fe7abe13dfcce1a6e4f97da6fd12122444be6ab5a4d0278d09741053ce0')
sha256sums=( 'd81a696d6a316d0c8fabe3cecd83783f656ee97c70ced89513b3fd16e9d216ac' )
group=(kde.apps)
uses=()
arch=('x86_64')
-99
View File
@@ -1,99 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dc4b770..f8eac22 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,7 +88,7 @@ find_package(Wayland REQUIRED COMPONENTS Client)
find_package(PlasmaWaylandProtocols REQUIRED)
find_package(LayerShellQt REQUIRED)
find_package(KPipeWire)
-find_package(OpenCV REQUIRED core imgproc)
+#find_package(OpenCV REQUIRED core imgproc)
set_package_properties(KPipeWire PROPERTIES DESCRIPTION
"Used to record pipewire streams into a file"
diff --git a/src/Gui/Annotations/EffectUtils.cpp b/src/Gui/Annotations/EffectUtils.cpp
index 7d505a5..a61e4b2 100755
--- a/src/Gui/Annotations/EffectUtils.cpp
+++ b/src/Gui/Annotations/EffectUtils.cpp
@@ -5,7 +5,7 @@
*/
#include "EffectUtils.h"
-#include "QtCV.h"
+//#include "QtCV.h"
#include <QDebug>
#include <QPainter>
@@ -147,6 +147,7 @@ QImage shapeShadow(const Traits::OptTuple &traits, qreal devicePixelRatio)
p.drawText(geometryTrait->path.boundingRect(), textTrait->textFlags(), textTrait->text());
}
p.end();
+ /*
auto mat = QtCV::qImageToMat(shadow);
const qreal sigma = Traits::Shadow::radius * devicePixelRatio;
const int ksize = QtCV::sigmaToKSize(sigma);
@@ -155,5 +156,6 @@ QImage shapeShadow(const Traits::OptTuple &traits, qreal devicePixelRatio)
// We only want black shadows with opacity, so we only need black and 8 bits of alpha.
// If we don't do this, color emojis won't have black semi-transparent shadows.
shadow.convertTo(QImage::Format_Alpha8);
+ */
return shadow;
}
diff --git a/src/Gui/Annotations/Traits.cpp b/src/Gui/Annotations/Traits.cpp
index 396d341..7049fe6 100755
--- a/src/Gui/Annotations/Traits.cpp
+++ b/src/Gui/Annotations/Traits.cpp
@@ -5,7 +5,7 @@
#include "Traits.h"
#include "Geometry.h"
-#include "QtCV.h"
+//#include "QtCV.h"
#include "settings.h"
#include <QLocale>
#include <QUuid>
@@ -81,6 +81,7 @@ QImage Traits::ImageEffects::Blur::image(const std::function<QImage()> &getImage
|| m_backingStoreCache.devicePixelRatio() != dpr //
|| m_backingStoreCache.text(strengthKey).toDouble() != m_strength)
&& getImage) {
+/*
m_backingStoreCache = getImage();
if (m_backingStoreCache.isNull()) {
return m_backingStoreCache;
@@ -99,6 +100,7 @@ QImage Traits::ImageEffects::Blur::image(const std::function<QImage()> &getImage
QtCV::stackOrGaussianBlurCompatibility(mat, mat, {}, sigma, sigma);
m_backingStoreCache.setDevicePixelRatio(dpr);
m_backingStoreCache.setText(strengthKey, strengthString(m_strength));
+*/
}
QRect copyRect = G::rectScaled(rect, m_backingStoreCache.devicePixelRatio()).toAlignedRect();
if (copyRect.size() != m_backingStoreCache.size()) {
diff --git a/src/Platforms/ImagePlatformKWin.cpp b/src/Platforms/ImagePlatformKWin.cpp
index 4105aae..6f94a71 100755
--- a/src/Platforms/ImagePlatformKWin.cpp
+++ b/src/Platforms/ImagePlatformKWin.cpp
@@ -7,7 +7,7 @@
#include "ImagePlatformKWin.h"
#include "ExportManager.h"
#include "Geometry.h"
-#include "QtCV.h"
+//#include "QtCV.h"
#include "DebugUtils.h"
#include "ImageMetaData.h"
@@ -107,6 +107,7 @@ QImage combinedImage(const QList<QImage> &images)
// Not sure what to do if we end up having different formats for different screens.
QImage finalImage{imageRect.size().toSize() * finalDpr, finalFormat};
finalImage.fill(Qt::transparent);
+ /*
auto mainMat = QtCV::qImageToMat(finalImage);
for (auto &image : images) {
// Region Of Interest to put the image in the main image.
@@ -126,6 +127,7 @@ QImage combinedImage(const QList<QImage> &images)
// Will just copy if there's no difference in size
cv::resize(mat, mainMat(rect), rect.size(), 0, 0, interpolation);
}
+ */
finalImage.setDevicePixelRatio(finalDpr);
ImageMetaData::setSubGeometryList(finalImage, geometryList);
return finalImage;
-9
View File
@@ -1,9 +0,0 @@
[Desktop Entry]
Name=spectacle
Comment=Start spectacle DBus service
Type=Application
Exec=/usr/bin/spectacle --dbus
TryExec=/usr/bin/spectacle
OnlyShowIn=KDE;
Terminal=false
-50
View File
@@ -1,50 +0,0 @@
#!/usr/bin/env bash
name='spectacle'
release='3'
version='6.4.5'
url='https://kde.org/applications/utilities/org.kde.spectacle'
description='Application for capturing desktop screenshots'
email='osman.coskun95@gmail.com'
maintainer='mergin'
license=('GPLv3')
source=("https://download.kde.org/stable/plasma/$version/spectacle-$version.tar.xz"
"remove-opencv.patch"
"spectacle.desktop")
depends=(qt6-base kwayland kpipewire)
makedepends=(extra-cmake-modules ki18n kdoctools)
sha256sums=('42a56f0593c0c5c7b661088ef6e6e32a0ea248354fbbfdb4a20f3a21ba5540e7'
'SKIP'
'SKIP')
group=(kde.apps)
uses=()
arch=('x86_64')
cd $name-$version
export PATH=$PATH:/usr/lib64/qt6/libexec/rcc
export LANG=en_US.UTF-8
prepare(){
patch -Np1 -i ../remove-opencv.patch
}
setup(){
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib64
}
build(){
ninja -C build $jobs
}
package(){
ninja -C build install $jobs
# fix symlink
rm -f $DESTDIR/usr/share/kglobalaccel/org.kde.spectacle.desktop
ln -s ../applications/org.kde.spectacle.desktop \
$DESTDIR/usr/share/kglobalaccel/org.kde.spectacle.desktop
# install autostart file
install -Dm644 ../spectacle.desktop -t "$DESTDIR"/etc/xdg/autostart/
}
+3 -2
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
DOWNLOAD_DIR="/tmp/ymp-downloads/"
DOWNLOAD_DIR="/tmp/ymp-build/.cache"
mkdir -p "$DOWNLOAD_DIR"
@@ -37,7 +37,8 @@ update_ympbuild() {
fi
filename="${url##*/}"
local dest="$DOWNLOAD_DIR/$filename"
mkdir -p "$DOWNLOAD_DIR/$name"
local dest="$DOWNLOAD_DIR/$name/$filename"
if [ ! -f "$dest" ]; then
echo " DL $filename"