pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xclock: start working on update, doesn't build
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Sat Jun 27 22:38:17 2026 +0200
Changeset: fa0afcff12c0b11b79eaebcc696a1eb9f168316d
Modified Files:
Makefile
Added Files:
xclock/DESCR
xclock/Makefile
xclock/PLIST
xclock/TODO
xclock/distinfo
Log Message:
xclock: start working on update, doesn't build
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fa0afcff12c0b11b79eaebcc696a1eb9f168316d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 2 ++
xclock/DESCR | 3 +++
xclock/Makefile | 29 +++++++++++++++++++++++++++++
xclock/PLIST | 5 +++++
xclock/TODO | 31 +++++++++++++++++++++++++++++++
xclock/distinfo | 5 +++++
6 files changed, 75 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index beaff9c2fe..1fb931d68e 100644
--- a/Makefile
+++ b/Makefile
@@ -1432,6 +1432,7 @@ SUBDIR+= gosec
SUBDIR+= gosuki
SUBDIR+= gotify
SUBDIR+= gotop
+SUBDIR+= gotosocial
SUBDIR+= goyq
SUBDIR+= gp-toric
SUBDIR+= gpak
@@ -6124,6 +6125,7 @@ SUBDIR+= xcanvas
SUBDIR+= xcape
SUBDIR+= xcb-util-xrm-git
SUBDIR+= xchat2-tcl
+SUBDIR+= xclock
SUBDIR+= xdg
SUBDIR+= xdg-desktop-portal
SUBDIR+= xdg-desktop-portal-gtk
diff --git a/xclock/DESCR b/xclock/DESCR
new file mode 100644
index 0000000000..589acd3e74
--- /dev/null
+++ b/xclock/DESCR
@@ -0,0 +1,3 @@
+xclock is the classic X Window System clock utility. It displays
+the time in analog or digital form, continuously updated at a
+frequency which may be specified by the user.
diff --git a/xclock/Makefile b/xclock/Makefile
new file mode 100644
index 0000000000..f9bc17baa1
--- /dev/null
+++ b/xclock/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.16 2023/11/12 13:23:45 wiz Exp $
+
+DISTNAME= xclock-1.2.0
+CATEGORIES= time x11
+MASTER_SITES= ${MASTER_SITE_XORG:=app/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://xorg.freedesktop.org/
+COMMENT= Analog / digital clock for X
+
+PREV_PKGPATH= x11/xclock
+
+#GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+
+#CONFIGURE_ENV+= APP_MAN_SUFFIX=1
+#LDFLAGS+= ${BUILDLINK_LDADD.iconv}
+
+#MAKE_FLAGS+= appdefaultdir=${PREFIX}/lib/X11/app-defaults
+
+.include "../../devel/meson/build.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXaw/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../x11/libXrender/buildlink3.mk"
+.include "../../x11/libxkbfile/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/xclock/PLIST b/xclock/PLIST
new file mode 100644
index 0000000000..952db05409
--- /dev/null
+++ b/xclock/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2013/05/27 10:51:01 rodent Exp $
+bin/xclock
+lib/X11/app-defaults/XClock
+lib/X11/app-defaults/XClock-color
+man/man1/xclock.1
diff --git a/xclock/TODO b/xclock/TODO
new file mode 100644
index 0000000000..3a046f79a4
--- /dev/null
+++ b/xclock/TODO
@@ -0,0 +1,31 @@
+[2/4] Compiling C object xclock.p/Clock.c.o
+FAILED: [code=1] xclock.p/Clock.c.o
+gcc -Ixclock.p -I. -I.. -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fno-strict-aliasing -DHAVE_CONFIG_H -D_CONST_X_STRING -O2 -g -fstack-clash-protection -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -MD -MQ xclock.p/Clock.c.o -MF xclock.p/Clock.c.o.d -o xclock.p/Clock.c.o -c ../Clock.c
+../Clock.c: In function 'XmuCvtStringToXftShape':
+../Clock.c:612:24: error: implicit declaration of function 'uselocale'; did you mean 'setlocale'? [-Wimplicit-function-declaration]
+ 612 | locale_t old_loc = uselocale(c_loc);
+ | ^~~~~~~~~
+ | setlocale
+../Clock.c:612:24: error: initialization of 'locale_t' {aka 'struct _locale *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
+In file included from /usr/include/stdio.h:595,
+ from /tmp/wip/xclock/work/.buildlink/include/freetype2/freetype/config/ftstdlib.h:112,
+ from /tmp/wip/xclock/work/.buildlink/include/freetype2/freetype/config/ftconfig.h:41,
+ from /tmp/wip/xclock/work/.buildlink/include/freetype2/freetype/freetype.h:24,
+ from /tmp/wip/xclock/work/.buildlink/include/X11/Xft/Xft.h:41,
+ from ../ClockP.h:61,
+ from ../Clock.c:85:
+../Clock.c:701:32: warning: format '%d' expects argument of type 'int', but argument 6 has type 'ptrdiff_t' {aka 'long int'} [-Wformat=]
+ 701 | "Error in shape at position %d: %s.", errpos + 1,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
+ | |
+ | ptrdiff_t {aka long int}
+../Clock.c:701:61: note: format string is defined here
+ 701 | "Error in shape at position %d: %s.", errpos + 1,
+ | ~^
+ | |
+ | int
+ | %ld
+../Clock.c: In function 'clock_to_utf8':
+../Clock.c:2426:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
+ 2426 | inptr = str;
+ | ^
diff --git a/xclock/distinfo b/xclock/distinfo
new file mode 100644
index 0000000000..762cb494ab
--- /dev/null
+++ b/xclock/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.10 2022/04/08 06:16:20 wiz Exp $
+
+BLAKE2s (xclock-1.2.0.tar.xz) = cf90e7c198a852fcec29abd376ad33bc377a210bbda7ffc042958af5fe7ae355
+SHA512 (xclock-1.2.0.tar.xz) = acfe4000fc84f511145404ef1f98058d0cdd1d2238942a7a4beaf4781238c2085364e78449418fa46e7957700befeb720efa6f49382e1f8a5759829456d391c2
+Size (xclock-1.2.0.tar.xz) = 177848 bytes
Home |
Main Index |
Thread Index |
Old Index