Date: Tuesday, January 29, 2019 @ 19:25:10 Author: heftig Revision: 344925
archrelease: copy trunk to extra-x86_64 Added: eog/repos/extra-x86_64/0001-EogScrollView-Set-scale-1-for-the-image-surface.patch (from rev 344924, eog/trunk/0001-EogScrollView-Set-scale-1-for-the-image-surface.patch) eog/repos/extra-x86_64/PKGBUILD (from rev 344924, eog/trunk/PKGBUILD) Deleted: eog/repos/extra-x86_64/PKGBUILD ------------------------------------------------------------+ 0001-EogScrollView-Set-scale-1-for-the-image-surface.patch | 30 ++++ PKGBUILD | 79 +++++------ 2 files changed, 73 insertions(+), 36 deletions(-) Copied: eog/repos/extra-x86_64/0001-EogScrollView-Set-scale-1-for-the-image-surface.patch (from rev 344924, eog/trunk/0001-EogScrollView-Set-scale-1-for-the-image-surface.patch) =================================================================== --- 0001-EogScrollView-Set-scale-1-for-the-image-surface.patch (rev 0) +++ 0001-EogScrollView-Set-scale-1-for-the-image-surface.patch 2019-01-29 19:25:10 UTC (rev 344925) @@ -0,0 +1,30 @@ +From c2e8cc6b1f1a22227d475e145de9fa847a4c407d Mon Sep 17 00:00:00 2001 +Message-Id: <c2e8cc6b1f1a22227d475e145de9fa847a4c407d.1548789435.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" <jan.steff...@gmail.com> +Date: Tue, 29 Jan 2019 20:07:03 +0100 +Subject: [PATCH] EogScrollView: Set scale=1 for the image surface + +Rendering the pixbuf to a surface with a different scale will apply +filtering, which we don't want at this step. + +This fixes zoomed-in images being blurry even when anti-aliasing has +been disabled. +--- + src/eog-scroll-view.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c +index 76ca8d49..93eb1c51 100644 +--- a/src/eog-scroll-view.c ++++ b/src/eog-scroll-view.c +@@ -211,6 +211,7 @@ create_surface_from_pixbuf (EogScrollView *view, GdkPixbuf *pixbuf) + CAIRO_CONTENT_COLOR | CAIRO_CONTENT_ALPHA, + gdk_pixbuf_get_width (pixbuf), + gdk_pixbuf_get_height (pixbuf)); ++ cairo_surface_set_device_scale (surface, 1.0, 1.0); + cr = cairo_create (surface); + gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0); + cairo_paint (cr); +-- +2.20.1 + Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-29 19:24:52 UTC (rev 344924) +++ PKGBUILD 2019-01-29 19:25:10 UTC (rev 344925) @@ -1,36 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> -# Contributor: Jan de Groot <j...@archlinux.org> - -pkgname=eog -pkgver=3.28.4 -pkgrel=2 -pkgdesc="Eye of Gnome: An image viewing and cataloging program" -url="https://wiki.gnome.org/Apps/EyeOfGnome" -arch=(x86_64) -license=(GPL) -depends=(gnome-desktop libexif lcms2 exempi libpeas librsvg dconf) -makedepends=(intltool itstool gobject-introspection gtk-doc gnome-common git meson) -optdepends=('eog-plugins: Additional features') -groups=(gnome) -options=(!emptydirs) -_commit=cc4251a53feced98507abc284d90781130f59de7 # tags/3.28.4^0 -source=("git+https://gitlab.gnome.org/GNOME/eog.git#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd $pkgname - git describe --tags | sed 's/-/+/g' -} - -build() { - arch-meson $pkgname build -D gtk_doc=true - ninja -C build -} - -check() { - meson test -C build -} - -package() { - DESTDIR="$pkgdir" meson install -C build -} Copied: eog/repos/extra-x86_64/PKGBUILD (from rev 344924, eog/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-29 19:25:10 UTC (rev 344925) @@ -0,0 +1,43 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=eog +pkgver=3.28.4+5+ge02a9ae0 +pkgrel=1 +pkgdesc="Eye of Gnome: An image viewing and cataloging program" +url="https://wiki.gnome.org/Apps/EyeOfGnome" +arch=(x86_64) +license=(GPL) +depends=(gnome-desktop libexif lcms2 exempi libpeas librsvg dconf) +makedepends=(intltool itstool gobject-introspection gtk-doc gnome-common git meson) +optdepends=('eog-plugins: Additional features') +groups=(gnome) +options=(!emptydirs) +_commit=e02a9ae0c7120538a2711929ff4e16d41a7d67aa # gnome-3-28 +source=("git+https://gitlab.gnome.org/GNOME/eog.git#commit=$_commit" + 0001-EogScrollView-Set-scale-1-for-the-image-surface.patch) +sha256sums=('SKIP' + '5d2c0dea7f1775fd54a0568984bcd72854b29a414d14201dadf15d4f92b42cb9') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + patch -Np1 -i ../0001-EogScrollView-Set-scale-1-for-the-image-surface.patch +} + +build() { + arch-meson $pkgname build -D gtk_doc=true + ninja -C build +} + +check() { + meson test -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}