pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/oculante graphics/oculante: fix cpu usage wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bbd025fdaff0
branches:  trunk
changeset: 383866:bbd025fdaff0
user:      pin <pin%pkgsrc.org@localhost>
date:      Wed Aug 24 05:20:19 2022 +0000

description:
graphics/oculante: fix cpu usage with tiling wms

While here update DESCR and clean-up leftover.

diffstat:

 graphics/oculante/DESCR                     |  11 +++++------
 graphics/oculante/Makefile                  |   5 +++--
 graphics/oculante/distinfo                  |   4 ++--
 graphics/oculante/patches/patch-src_main.rs |   4 ++--
 4 files changed, 12 insertions(+), 12 deletions(-)

diffs (76 lines):

diff -r 4e11737fe730 -r bbd025fdaff0 graphics/oculante/DESCR
--- a/graphics/oculante/DESCR   Wed Aug 24 05:18:37 2022 +0000
+++ b/graphics/oculante/DESCR   Wed Aug 24 05:20:19 2022 +0000
@@ -1,13 +1,12 @@
 A no-nonsense hardware-accelerated image viewer.
 
-It began as a toy project to make a simple image viewer. The vision is to
-create something with a broad support of industry-standard files and gradually
-add more image analysis and editing tools.
-Here are some reasons why this might be helpful to you:
+Oculante's vision is to be a fast, unobtrusive, portable image viewer with wide
+image format support, offering image analysis and basic editing tools.
 - Completely bloat-free
+- Available for Win, Mac, Linux and NetBSD
 - Supports a wide range of images and SVG
-- Can display unassociated channels correctly (For example if your image uses
-  alpha and color channels to encode data in a special way)
+- Can display unassociated channels correctly (If your image uses alpha and
+  color channels to encode data in a special way)
 - Lets you pick pixels, displays location and color values
 - Offers basic nondestructive editing: Crop, resize, paint, contrast, HSV,
   rotate, blur, noise, ...
diff -r 4e11737fe730 -r bbd025fdaff0 graphics/oculante/Makefile
--- a/graphics/oculante/Makefile        Wed Aug 24 05:18:37 2022 +0000
+++ b/graphics/oculante/Makefile        Wed Aug 24 05:20:19 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2022/08/23 06:45:01 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/08/24 05:20:19 pin Exp $
 
 DISTNAME=      oculante-0.5.47
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=woelper/}
 
@@ -16,7 +17,7 @@
 USE_LANGUAGES+=                c c++
 USE_TOOLS+=            pkg-config
 
-INSTALLATION_DIRS=     bin share/icons/hicolor/scalable/apps
+INSTALLATION_DIRS=     bin
 
 MAKE_ENV+=     OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
diff -r 4e11737fe730 -r bbd025fdaff0 graphics/oculante/distinfo
--- a/graphics/oculante/distinfo        Wed Aug 24 05:18:37 2022 +0000
+++ b/graphics/oculante/distinfo        Wed Aug 24 05:20:19 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2022/08/22 18:29:28 pin Exp $
+$NetBSD: distinfo,v 1.2 2022/08/24 05:20:19 pin Exp $
 
 BLAKE2s (ab_glyph-0.2.16.crate) = bed0ba08196fcb3f64003e2c8e4171efe9673c92f2aa3349a97f3de3fb81da7b
 SHA512 (ab_glyph-0.2.16.crate) = 8b57a351108c71d4fff0701589d7112b1ef582c56afe3bca7ed144255d3aa02704a1ef9e44ab729db07d22b589b4d4ad30f5a90d1a848a2d0dba895fbab4ffd4
@@ -1197,4 +1197,4 @@
 BLAKE2s (xmlwriter-0.1.0.crate) = 3b1f6def954abf771cd4d95c93c386f8ac1bdb790c75b35a2839a1eb0d59c1d7
 SHA512 (xmlwriter-0.1.0.crate) = a0d8bfe6e3d220358e8523212cddb84541e9d8208b2aea64a89037e4e9f4de62a7b549c9f1bacbd71e14de16707f061e547d89ba459843be45fa802db297fd58
 Size (xmlwriter-0.1.0.crate) = 6261 bytes
-SHA1 (patch-src_main.rs) = fd1502126bb46b7ea46d51664db43fbbad12e882
+SHA1 (patch-src_main.rs) = 04117cf3e1a7fa623a45c4ad78abc17cc25c040c
diff -r 4e11737fe730 -r bbd025fdaff0 graphics/oculante/patches/patch-src_main.rs
--- a/graphics/oculante/patches/patch-src_main.rs       Wed Aug 24 05:18:37 2022 +0000
+++ b/graphics/oculante/patches/patch-src_main.rs       Wed Aug 24 05:20:19 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_main.rs,v 1.1 2022/08/22 18:29:28 pin Exp $
+$NetBSD: patch-src_main.rs,v 1.2 2022/08/24 05:20:19 pin Exp $
 
 Allow lazy_loop on NetBSD to reduce CPU load
 
@@ -10,7 +10,7 @@
  
 +    #[cfg(target_os = "netbsd")]
 +    {
-+        window_config = window_config.lazy_loop();
++        window_config = window_config.lazy_loop().vsync();
 +    }
 +
      #[cfg(target_os = "macos")]



Home | Main Index | Thread Index | Old Index