ok ?

Index: Makefile
===================================================================
RCS file: /local/cvs/ports/wayland/swayimg/Makefile,v
diff -u -p -u -r1.13 Makefile
--- Makefile    5 Nov 2024 17:28:41 -0000       1.13
+++ Makefile    23 Mar 2025 19:47:32 -0000
@@ -5,7 +5,7 @@ COMMENT =       image display utility for Wayl
 
 GH_ACCOUNT =   artemsen
 GH_PROJECT =   swayimg
-GH_TAGNAME =   v3.4
+GH_TAGNAME =   v3.9
 
 CATEGORIES =   wayland
 
@@ -18,9 +18,9 @@ COMPILER_LANGS =      c
 MODULES =      devel/meson
 
 WANTLIB =      OpenEXRCore-3_3 avif cairo epoll-shim exif fontconfig freetype
-WANTLIB +=     gif gobject-2.0 heif jpeg json-c jxl png rsvg-2 tiff
+WANTLIB +=     gif gobject-2.0 heif jpeg json-c jxl png raw rsvg-2 sixel tiff
 WANTLIB +=     wayland-client webp webpdemux xkbcommon
-WANTLIB +=     pthread c
+WANTLIB +=     pthread c m
 
 CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
                 LDFLAGS="-L${LOCALBASE}/lib -pthread"
@@ -33,6 +33,8 @@ LIB_DEPENDS = devel/epoll-shim \
                graphics/libavif \
                graphics/libexif \
                graphics/libjxl \
+               graphics/libraw \
+               graphics/libsixel \
                graphics/libwebp \
                graphics/openexr \
                graphics/png \
Index: distinfo
===================================================================
RCS file: /local/cvs/ports/wayland/swayimg/distinfo,v
diff -u -p -u -r1.8 distinfo
--- distinfo    5 Nov 2024 17:28:41 -0000       1.8
+++ distinfo    23 Mar 2025 19:47:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (swayimg-3.4.tar.gz) = IsM3n7PqtfbC31OLRBO16KRFrhGrpOge3+ZvMpItDY4=
-SIZE (swayimg-3.4.tar.gz) = 668782
+SHA256 (swayimg-3.9.tar.gz) = 0hp8qe9NIc+FKImTKZnp7dTs8sWHMhEg9bTWFHWA58s=
+SIZE (swayimg-3.9.tar.gz) = 756909
Index: patches/patch-meson_build
===================================================================
RCS file: /local/cvs/ports/wayland/swayimg/patches/patch-meson_build,v
diff -u -p -u -r1.7 patch-meson_build
--- patches/patch-meson_build   5 Nov 2024 17:28:41 -0000       1.7
+++ patches/patch-meson_build   23 Mar 2025 19:47:32 -0000
@@ -5,26 +5,26 @@ make sure rpath is set in the resulting 
 Index: meson.build
 --- meson.build.orig
 +++ meson.build
-@@ -41,7 +41,7 @@ xkb = dependency('xkbcommon')
+@@ -42,7 +42,7 @@ xkb = dependency('xkbcommon')
  fontconfig = dependency('fontconfig')
  freetype = dependency('freetype2')
  threads = dependency('threads')
 -rt = cc.find_library('rt')
 +# rt = cc.find_library('rt')
+ m = cc.find_library('m')
  
  # optional dependencies: file formats support
- exr = dependency('OpenEXR', version: '>=3.1', required: get_option('exr'))
-@@ -234,7 +234,7 @@ executable(
-   sources,
+@@ -263,7 +263,7 @@ executable(
    dependencies: [
      # runtime
+     m,
 -    rt,
 +    # rt,
      threads,
      wlcln,
      epoll,
-@@ -256,5 +256,6 @@ executable(
-     tiff,
+@@ -287,5 +287,6 @@ executable(
+     raw,
      webp, webp_demux,
    ],
 +  install_rpath : '${LOCALBASE}/lib/inotify',
Index: patches/patch-src_application_c
===================================================================
RCS file: /local/cvs/ports/wayland/swayimg/patches/patch-src_application_c,v
diff -u -p -u -r1.4 patch-src_application_c
--- patches/patch-src_application_c     5 Nov 2024 17:28:41 -0000       1.4
+++ patches/patch-src_application_c     23 Mar 2025 19:47:32 -0000
@@ -3,9 +3,9 @@ required for WEXITSTATUS macro
 Index: src/application.c
 --- src/application.c.orig
 +++ src/application.c
-@@ -24,6 +24,7 @@
+@@ -23,6 +23,7 @@
+ #include <stdlib.h>
  #include <string.h>
- #include <sys/wait.h>
  #include <unistd.h>
 +#include <sys/wait.h>
  
Index: pkg/PLIST
===================================================================
RCS file: /local/cvs/ports/wayland/swayimg/pkg/PLIST,v
diff -u -p -u -r1.3 PLIST
--- pkg/PLIST   12 Aug 2024 16:03:48 -0000      1.3
+++ pkg/PLIST   23 Mar 2025 19:47:32 -0000
@@ -8,8 +8,6 @@ share/icons/hicolor/256x256/apps/swayimg
 share/icons/hicolor/64x64/apps/swayimg.png
 share/swayimg/
 share/swayimg/swayimgrc
-share/zsh/
-share/zsh/site-functions/
 share/zsh/site-functions/_swayimg
 @tag update-desktop-database
 @tag gtk-update-icon-cache %D/share/icons/hicolor

-- 
Matthieu Herrb

Reply via email to