pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/webp-pixbuf-loader



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sat Jul 29 18:08:38 UTC 2023

Added Files:
        pkgsrc/graphics/webp-pixbuf-loader: DESCR Makefile PLIST distinfo
        pkgsrc/graphics/webp-pixbuf-loader/patches: patch-io-webp.c

Log Message:
graphics/webp-pixbuf-loader: import webp-pixbuf-loader-0.2.4

webp-pixbuf-loader is a GdkPixbuf loader module to load WebP Image format.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/webp-pixbuf-loader/DESCR \
    pkgsrc/graphics/webp-pixbuf-loader/Makefile \
    pkgsrc/graphics/webp-pixbuf-loader/PLIST \
    pkgsrc/graphics/webp-pixbuf-loader/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/webp-pixbuf-loader/patches/patch-io-webp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/graphics/webp-pixbuf-loader/DESCR
diff -u /dev/null pkgsrc/graphics/webp-pixbuf-loader/DESCR:1.1
--- /dev/null   Sat Jul 29 18:08:38 2023
+++ pkgsrc/graphics/webp-pixbuf-loader/DESCR    Sat Jul 29 18:08:38 2023
@@ -0,0 +1 @@
+webp-pixbuf-loader is a GdkPixbuf loader module to load WebP Image format.
Index: pkgsrc/graphics/webp-pixbuf-loader/Makefile
diff -u /dev/null pkgsrc/graphics/webp-pixbuf-loader/Makefile:1.1
--- /dev/null   Sat Jul 29 18:08:38 2023
+++ pkgsrc/graphics/webp-pixbuf-loader/Makefile Sat Jul 29 18:08:38 2023
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2023/07/29 18:08:38 tsutsui Exp $
+
+DISTNAME=      webp-pixbuf-loader-0.2.4
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=aruiz/}
+GITHUB_PROJECT=        ${DISTNAME:S/-${PKGVERSION_NOREV}//}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+
+MAINTAINER=    tsutsui%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/aruiz/webp-pixbuf-loader
+COMMENT=       WebP Image format GdkPixbuf loader
+LICENSE=       gnu-lgpl-v2
+
+USE_TOOLS+=    pkg-config
+MAKE_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/output
+# For Darwin
+MAKE_ENV+=     DYLD_LIBRARY_PATH=${WRKSRC}/output
+
+_BUILDING_GTK2= yes
+.include "../../graphics/gdk-pixbuf2/loaders.mk"
+
+.include "../../devel/meson/build.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../graphics/libwebp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/webp-pixbuf-loader/PLIST
diff -u /dev/null pkgsrc/graphics/webp-pixbuf-loader/PLIST:1.1
--- /dev/null   Sat Jul 29 18:08:38 2023
+++ pkgsrc/graphics/webp-pixbuf-loader/PLIST    Sat Jul 29 18:08:38 2023
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2023/07/29 18:08:38 tsutsui Exp $
+lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-webp.so
+share/thumbnailers/webp-pixbuf.thumbnailer
Index: pkgsrc/graphics/webp-pixbuf-loader/distinfo
diff -u /dev/null pkgsrc/graphics/webp-pixbuf-loader/distinfo:1.1
--- /dev/null   Sat Jul 29 18:08:38 2023
+++ pkgsrc/graphics/webp-pixbuf-loader/distinfo Sat Jul 29 18:08:38 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/07/29 18:08:38 tsutsui Exp $
+
+BLAKE2s (webp-pixbuf-loader-0.2.4.tar.gz) = a0ebdbe37b5ba2a163801b780fd2a900bdc47e590eecd119dedd8eef6402db9a
+SHA512 (webp-pixbuf-loader-0.2.4.tar.gz) = a367987a7c7ca4df594233a7b6fb281a1484026cdf8cb653d8513103e5d59e69d6ffaef1da8c6875be6d978b8a29251e5d89b6e2959e67057aae0f6cd7464b5e
+Size (webp-pixbuf-loader-0.2.4.tar.gz) = 9136758 bytes
+SHA1 (patch-io-webp.c) = cf7f40d83b2704735cc827d807e514127c5ccb24

Index: pkgsrc/graphics/webp-pixbuf-loader/patches/patch-io-webp.c
diff -u /dev/null pkgsrc/graphics/webp-pixbuf-loader/patches/patch-io-webp.c:1.1
--- /dev/null   Sat Jul 29 18:08:38 2023
+++ pkgsrc/graphics/webp-pixbuf-loader/patches/patch-io-webp.c  Sat Jul 29 18:08:38 2023
@@ -0,0 +1,16 @@
+$NetBSD: patch-io-webp.c,v 1.1 2023/07/29 18:08:38 tsutsui Exp $
+
+- update_func() shall be called for proper signal delivery
+  https://github.com/aruiz/webp-pixbuf-loader/pull/73
+
+--- io-webp.c.orig     2023-03-30 00:29:21.000000000 +0000
++++ io-webp.c
+@@ -189,6 +189,8 @@ stop_load (gpointer data, GError **error
+         {
+           if (context->prepare_func)
+             context->prepare_func (pb, NULL, context->user_data);
++          if (context->update_func)
++            context->update_func (pb, 0, 0, context->width, context->height, context->user_data);
+ 
+           g_clear_object (&pb);
+ 



Home | Main Index | Thread Index | Old Index