pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/gnome-tracker gnome-tracker: Include termios ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f139974e081
branches:  trunk
changeset: 378999:1f139974e081
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue May 10 09:37:38 2022 +0000

description:
gnome-tracker: Include termios for TIOCGWINSZ.

While here fix the test target and pkglint.

diffstat:

 sysutils/gnome-tracker/Makefile                                                 |   7 +++-
 sysutils/gnome-tracker/distinfo                                                 |   3 +-
 sysutils/gnome-tracker/patches/patch-src_libtracker-common_tracker-term-utils.c |  14 ++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (64 lines):

diff -r 31fde5035ce6 -r 1f139974e081 sysutils/gnome-tracker/Makefile
--- a/sysutils/gnome-tracker/Makefile   Tue May 10 08:51:45 2022 +0000
+++ b/sysutils/gnome-tracker/Makefile   Tue May 10 09:37:38 2022 +0000
@@ -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 @@
 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 @@
 # 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 @@
 .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"
diff -r 31fde5035ce6 -r 1f139974e081 sysutils/gnome-tracker/distinfo
--- a/sysutils/gnome-tracker/distinfo   Tue May 10 08:51:45 2022 +0000
+++ b/sysutils/gnome-tracker/distinfo   Tue May 10 09:37:38 2022 +0000
@@ -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
diff -r 31fde5035ce6 -r 1f139974e081 sysutils/gnome-tracker/patches/patch-src_libtracker-common_tracker-term-utils.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gnome-tracker/patches/patch-src_libtracker-common_tracker-term-utils.c   Tue May 10 09:37:38 2022 +0000
@@ -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