pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/gnome-tracker



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue May 10 09:37:38 UTC 2022

Modified Files:
        pkgsrc/sysutils/gnome-tracker: Makefile distinfo
Added Files:
        pkgsrc/sysutils/gnome-tracker/patches:
            patch-src_libtracker-common_tracker-term-utils.c

Log Message:
gnome-tracker: Include termios for TIOCGWINSZ.

While here fix the test target and pkglint.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/sysutils/gnome-tracker/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/gnome-tracker/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/gnome-tracker/patches/patch-src_libtracker-common_tracker-term-utils.c

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

Modified files:

Index: pkgsrc/sysutils/gnome-tracker/Makefile
diff -u pkgsrc/sysutils/gnome-tracker/Makefile:1.12 pkgsrc/sysutils/gnome-tracker/Makefile:1.13
--- pkgsrc/sysutils/gnome-tracker/Makefile:1.12 Mon Apr 18 19:10:06 2022
+++ pkgsrc/sysutils/gnome-tracker/Makefile      Tue May 10 09:37:38 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/04/18 19:10:06 adam Exp $
+# $NetBSD: Makefile,v 1.13 2022/05/10 09:37:38 jperkin Exp $
 
 DISTNAME=      tracker-3.0.1
 PKGNAME=       gnome-${DISTNAME}
@@ -17,6 +17,8 @@ USE_TOOLS+=   pkg-config xgettext
 TOOL_DEPENDS+= asciidoc>=10.1.4:../../textproc/asciidoc
 TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt # xsltproc
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
+
 MESON_ARGS+=   -Ddocs=false
 MESON_ARGS+=   -Dsystemd_user_services=false
 
@@ -24,6 +26,8 @@ MESON_ARGS+=  -Dsystemd_user_services=fal
 # https://gitlab.gnome.org/GNOME/json-glib/issues/35
 MAKE_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/output/src:${WRKSRC}/output/src/libtracker-sparql/
 
+TEST_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/output/tests/common
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "NetBSD"
@@ -48,7 +52,6 @@ PKGCONFIG_OVERRIDE+=          output/meson-priva
 .include "../../devel/glib2/buildlink3.mk"
 BUILDLINK_DEPMETHOD.gobject-introspection?=    build
 .include "../../devel/gobject-introspection/buildlink3.mk"
-BUILDLINK_DEPMETHOD.vala?=     build
 .include "../../lang/vala/buildlink3.mk"
 .include "../../net/libsoup/buildlink3.mk"
 .include "../../textproc/icu/buildlink3.mk"

Index: pkgsrc/sysutils/gnome-tracker/distinfo
diff -u pkgsrc/sysutils/gnome-tracker/distinfo:1.3 pkgsrc/sysutils/gnome-tracker/distinfo:1.4
--- pkgsrc/sysutils/gnome-tracker/distinfo:1.3  Tue Oct 26 11:19:39 2021
+++ pkgsrc/sysutils/gnome-tracker/distinfo      Tue May 10 09:37:38 2022
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:19:39 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/05/10 09:37:38 jperkin Exp $
 
 BLAKE2s (tracker-3.0.1.tar.xz) = b2c542ebf83191e9046c0367d4848073ba854db48d3c59cb95beaa50a3fae06c
 SHA512 (tracker-3.0.1.tar.xz) = d1c82c7189dc29d65a0b349d1918e309b3e0606e7a046e523bd7511bb51fea3e1561416f8c140635263a7ca90d99aa9ec24a5841ffebb2ab2d400287ff04c7d5
 Size (tracker-3.0.1.tar.xz) = 1418944 bytes
+SHA1 (patch-src_libtracker-common_tracker-term-utils.c) = 72397019611180c6de8b3dc700215b29c6342d9f

Added files:

Index: pkgsrc/sysutils/gnome-tracker/patches/patch-src_libtracker-common_tracker-term-utils.c
diff -u /dev/null pkgsrc/sysutils/gnome-tracker/patches/patch-src_libtracker-common_tracker-term-utils.c:1.1
--- /dev/null   Tue May 10 09:37:38 2022
+++ pkgsrc/sysutils/gnome-tracker/patches/patch-src_libtracker-common_tracker-term-utils.c      Tue May 10 09:37:38 2022
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_libtracker-common_tracker-term-utils.c,v 1.1 2022/05/10 09:37:38 jperkin Exp $
+
+Include termios for TIOCGWINSZ.
+
+--- src/libtracker-common/tracker-term-utils.c.orig    2020-10-02 09:59:29.818610200 +0000
++++ src/libtracker-common/tracker-term-utils.c
+@@ -27,6 +27,7 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <stdio.h>
++#include <termios.h>
+ 
+ static guint n_columns = 0;
+ static guint n_rows = 0;



Home | Main Index | Thread Index | Old Index