Package Details: viewnior-git 1.8.r0.g4a4c6e8-2

Git Clone URL: https://aur.archlinux.org/viewnior-git.git (read-only, click to copy)
Package Base: viewnior-git
Description: Simple, fast, elegant and minimalistic image viewer, written in C(GTK+) with a new GtkImageView library. Git Version
Upstream URL: http://siyanpanayotov.com/project/viewnior
Licenses: GPL
Conflicts: viewnior
Provides: viewnior
Submitter: None
Maintainer: Florian
Last Packager: Florian
Votes: 6
Popularity: 0.030769
First Submitted: 2009-08-05 01:30 (UTC)
Last Updated: 2025-01-06 18:14 (UTC)

Required by (13)

Sources (4)

Latest Comments

1 2 3 Next › Last »

Florian commented on 2025-01-06 18:16 (UTC)

Added your changes, thanks! Sorry for the delay.

lectrode commented on 2024-08-09 23:33 (UTC)

Seems like upstream is no longer maintained (last commit was 3 years ago). Would you consider adding pull 108 (build against gtk3) and pull 135 (fix viewing images in gvfs mounts) as well?

This PKGBUILD has the requested changes:

# Maintainer: Florian Dejonckheere <florian at floriandejonckheere dot be>
# Contributor: Berseker <berseker86 at gmail.com>

pkgname=viewnior-git
pkgver=1.8.r0.g4a4c6e8
pkgrel=2
pkgdesc="Simple, fast, elegant and minimalistic image viewer, written in C(GTK+) with a new GtkImageView library. Git Version"
arch=('i686' 'x86_64')
url='http://siyanpanayotov.com/project/viewnior'
license=('GPL')
depends=('exiv2' 'gtk3')
makedepends=('gnome-common' 'intltool' 'meson' 'ninja')
provides=('viewnior')
conflicts=('viewnior')
source=(
    "${pkgname}::git+https://github.com/hellosiyan/Viewnior.git"
    'https://patch-diff.githubusercontent.com/raw/hellosiyan/Viewnior/pull/108.patch' #use gtk3 instead of gtk2
    'https://patch-diff.githubusercontent.com/raw/hellosiyan/Viewnior/pull/130.patch' #fix compiling with exiv2 >=0.28.0
    'https://patch-diff.githubusercontent.com/raw/hellosiyan/Viewnior/pull/135.patch' #fix viewing images in gvfs mounts (ssh, smb)
)
md5sums=(
    'SKIP'
    '3ddc5cfffd9c8e856646b8ceb96780ce'
    '975eeae744a613e326b89b5dd4ef1fbe'
    '5df6ff28e88322956b981c446fd5dfb1'
)

pkgver()
{
    cd "${srcdir}/${pkgname}"
    git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/viewnior.//'
}

prepare() {
    cd "${srcdir}/${pkgname}"
    sed -zi.bak 's|\s\\ No newline at end of file||' "${srcdir}/108.patch"
    patch --forward --strip=1 --input="${srcdir}/108.patch"
    patch --forward --strip=1 --input="${srcdir}/130.patch"
    patch --forward --strip=1 --input="${srcdir}/135.patch"
}


build()
{
    cd "${srcdir}/${pkgname}"
    meson builddir --prefix=/usr
    ninja -C builddir
}

package()
{
    cd "${srcdir}/${pkgname}"
    DESTDIR="${pkgdir}" ninja -C builddir install
}

Florian commented on 2023-06-20 13:54 (UTC)

Added, thanks! I'll revert once the PR is merged upstream.

ncmprhnsbl commented on 2023-06-13 09:11 (UTC) (edited on 2023-06-14 03:05 (UTC) by ncmprhnsbl)

currently not building(or running) due to exiv2-0.28.0 incompatibility. to fix: add this patch to the build: https://github.com/hellosiyan/Viewnior/pull/130.patch

Florian commented on 2018-06-01 07:31 (UTC)

Updated. Thanks for the suggestions!

FabioLolix commented on 2018-05-31 17:54 (UTC)

Thanks for updating but the URL is still the old one, new is http://siyanpanayotov.com/project/viewnior

TrialnError commented on 2015-07-09 11:44 (UTC)

Please change the pkgver sed command to something like this: git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/viewnior.//' That way the version number is a proper one and just contains numerical information

mrbit commented on 2015-02-05 11:47 (UTC)

Done , thanks Florian :)

Florian commented on 2015-02-05 09:29 (UTC)

Updated version: https://github.com/floriandejonckheere/PKGBUILD/blob/master/viewnior-git/PKGBUILD

orschiro commented on 2014-06-08 12:09 (UTC)

Why the dependency on the following two packages? fontconfig-ubuntu freetype2-ubuntu