Package Details: gwenview-git 24.04.70_r7415.g194ac16b-2

Git Clone URL: https://aur.archlinux.org/gwenview-git.git (read-only, click to copy)
Package Base: gwenview-git
Description: A fast and easy to use image viewer
Upstream URL: https://apps.kde.org/gwenview/
Licenses: GPL-2.0-or-later, LGPL-2.0-or-later
Groups: kde-applications-git, kde-graphics-git
Conflicts: gwenview
Provides: gwenview
Submitter: arojas
Maintainer: IslandC0der (chaotic-aur)
Last Packager: IslandC0der
Votes: 6
Popularity: 0.000000
First Submitted: 2014-08-15 18:40 (UTC)
Last Updated: 2024-03-01 19:27 (UTC)

Latest Comments

1 2 3 4 Next › Last »

xiota commented on 2023-06-11 00:42 (UTC)

I'm trying to build on chaotic servers. The qt/kde/plasma packages seem to be in an inconsistent state. Outside of my scope.

IslandC0der commented on 2023-06-11 00:14 (UTC)

Thank you :)

As for the KF6 errors, it looks like you're using KF5 dependencies; for example kitemmodels-git is included as a dependency in the PKGBUILD, yet your error message says it's missing: that's because it was built with Qt5. To fix this, please compile everything with Qt6 and try again. If there are still any issues after that, let me know!

xiota commented on 2023-06-10 18:06 (UTC) (edited on 2023-06-10 18:11 (UTC) by xiota)

Clean chroot. Missing qt6-svg.

-- Could NOT find Qt6Svg (missing: Qt6Svg_DIR)

Missing qt6-wayland.

-- Could NOT find Qt6WaylandClient (missing: Qt6WaylandClient_DIR)

Missing... I have no idea:

-- Could NOT find KF6KIO (missing: KF6KIO_DIR)
-- Could NOT find KF6KIO: found neither KF6KIOConfig.cmake nor kf6kio-config.cmake
-- Could NOT find KF6ItemModels (missing: KF6ItemModels_DIR)
-- Could NOT find KF6ItemModels: found neither KF6ItemModelsConfig.cmake nor kf6itemmodels-config.cmake
-- Could NOT find KF6I18n (missing: KF6I18n_DIR)
-- Could NOT find KF6I18n: found neither KF6I18nConfig.cmake nor kf6i18n-config.cmake
-- Could NOT find KF6Parts (missing: KF6Parts_DIR)
-- Could NOT find KF6Parts: found neither KF6PartsConfig.cmake nor kf6parts-config.cmake
-- Could NOT find KF6WindowSystem (missing: KF6WindowSystem_DIR)
-- Could NOT find KF6WindowSystem: found neither KF6WindowSystemConfig.cmake nor kf6windowsystem-config.cmake
-- Could NOT find KF6IconThemes (missing: KF6IconThemes_DIR)
-- Could NOT find KF6IconThemes: found neither KF6IconThemesConfig.cmake nor kf6iconthemes-config.cmake
-- Could NOT find KF6Notifications (missing: KF6Notifications_DIR)
-- Could NOT find KF6Notifications: found neither KF6NotificationsConfig.cmake nor kf6notifications-config.cmake
-- Found KF6GuiAddons: /usr/lib/cmake/KF6GuiAddons/KF6GuiAddonsConfig.cmake (found version "5.240.0")
-- Could NOT find KF6WidgetsAddons (missing: KF6WidgetsAddons_DIR)
-- Could NOT find KF6WidgetsAddons: found neither KF6WidgetsAddonsConfig.cmake nor kf6widgetsaddons-config.cmake

MarsSeed commented on 2022-05-03 09:45 (UTC)

Source needs to be changed to:

https://invent.kde.org/graphics/gwenview.git

Also it does not need and support the following dependencies, please remove:

  • kdelibs4support
  • libkipi (since v22.04)
  • kipi-plugins (since v22.04)

There are also new dependencies, please sync with Arch repo gwenview.

GC268DM commented on 2022-05-01 11:04 (UTC)

==> Retrieving sources...
  -> Cloning libkipi git repo...
Cloning into bare repository '/var/tmp/pamac-build-.../libkipi-git/libkipi'...
fatal: remote error: Please use the https: protocol to connect to anongit

derwhalfisch commented on 2021-10-21 05:24 (UTC) (edited on 2021-10-21 05:40 (UTC) by derwhalfisch)

Error during git clone: fatal: remote error: Please use the https: protocol to connect to anongit

And "gwenview-git/gwenview does not appear to contain CMakeLists.txt."

davvore33 commented on 2020-06-28 19:26 (UTC)

Sorry to bother again, I'd also suggest to put libraw in the deps, I know it is already a dep of libkdcraw but gwenview directly links it (https://wiki.archlinux.org/index.php/PKGBUILD#Dependencies)

thanks for your help

EndlessEden commented on 2020-06-28 12:01 (UTC)

updated to include kactivies-frameworks from the kactivities-git package; NOTE: The kactivities-framework package is still being maintained on github, the author dropped official support and its against Submission Guidelines(https://wiki.archlinux.org/index.php/AUR_submission_guidelines) to repost it...

Because id rather not deal with the annoyance, or lack of research offsite, i have updated this to use exclusively the only package availible on AUR. Please modify the pkgbuild if you continue to use kactivies-frameworks.

--

Note to @aviallon, i will not be including your changes at this time. Dependencies: As covered above kactivies-frameworks is still availible from both aur4 and github. I converted it to kactivities-git for complaints recieved over it... Removing it completely from the build dependencies would be a issue. While its not a exclusive requirement, it is part of kde4/plasma5.x still, and compatibility is more important. Your encouraged to edit all pkgbuilds prior to compiling anyways, so if you may remove it locally if you prefer.

version numbering: i kept the current versioning system temporarily. - Have limited time to do anything at the moment, so testing compatibility with aur repo's with existing packages is not currently a option. There is also the issue with version-bashing with extra/gwenview. pacman doesnt always treat the entire version string correctly and will replace gwenview-git with gwenview in rare occasions when the sub-version updates but the package is not altered to reflect this. (Ex: gwenview:20.04.2-1 | gwenview-git:v20.03.80.r31.g5f85b6ca | gwenview is newer) - This is a big issue since i cant update the subversion at each minor version change upstream. Git is continous, while the arch rolling-release-version. Versioning system from arch will always be ahead as there is no automated way to increment the versioning system without scripting a check for the version arch currently has listed.

Sources: There is no benifit to using https over git protocol. However i will enable pkgname subdirectory creation in the future. As this package is extremely old and i never bothered to update it for packaging standards changes.

build() changes: The use of a build-subdirectory is recommended behavior for all cmake packages. Prefix is often ignored by cmake thats why it was set exclusively. Ill test in the future to see if this has been fixed however. DCMAKE_BUILD_TYPE=Release is required for compile and runtime optimisation. Options like hardware acceleration are disabled in the default "Debug", thus why this option has still remained.

However when i have time to test i will be adding recent changes from upstream recommendations of '-DGWENVIEW_SEMANTICINFO_BACKEND="Baloo"' '-DBUILD_TESTING=OFF'

davvore33 commented on 2020-06-28 10:26 (UTC)

Reading repository package databases... Resolving AUR dependencies... :: error: Can't resolve dependencies for AUR package 'gwenview-git': :: error: Dependencies missing for gwenview-git :: warning: Following package cannot be found in AUR: kactivities-frameworks

please fix this dependence, packet doesn't exist anymore

aviallon commented on 2020-06-15 21:32 (UTC)

Needs to be fixed

diff --git a/PKGBUILD b/PKGBUILD
index 738266d..00a5189 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,30 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=gwenview-git
-pkgver=r5432.be0da0e
+pkgver=v20.03.80.r31.g5f85b6ca
pkgrel=1
pkgdesc='A fast and easy to use image viewer for KDE'
arch=('i686' 'x86_64')
url='http://kde.org/applications/graphics/gwenview/'
license=('GPL')
-depends=('kactivities-frameworks' 'kdelibs4support' 'exiv2' 'libkdcraw-git' 'libkipi-git')
+depends=('kdelibs4support' 'exiv2' 'libkdcraw-git' 'libkipi-git')
makedepends=('extra-cmake-modules' 'git' 'kdoctools' 'python')
conflicts=('kdegraphics-gwenview' 'gwenview')
provides=('gwenview')
-source=("git://anongit.kde.org/gwenview.git")
+source=("$pkgname::git+https://anongit.kde.org/gwenview.git")
install=$pkgname.install
sha256sums=('SKIP')

pkgver() {
-  cd gwenview
-  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
-prepare() {
-  mkdir -p build
+  cd "$pkgname"
+  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
+  cd "$pkgname"
+  mkdir -p build
cd build
-  cmake ../gwenview \
+  cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
@@ -35,6 +33,7 @@ build() {
}

package() {
+  cd "$pkgname"
cd build
make DESTDIR="$pkgdir" install
}