pkgsrc-WIP-changes archive

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

xmoji: add incomplete package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Aug 7 18:54:34 2024 +0200
Changeset:	150991d4bd2d5fc72710b679261049c9c5abfc52

Modified Files:
	Makefile
Added Files:
	xmoji/DESCR
	xmoji/Makefile
	xmoji/PLIST
	xmoji/TODO
	xmoji/distinfo
	xmoji/patches/patch-src_bin_xmoji_filewatcher.c
	xmoji/patches/patch-src_bin_xmoji_unistr.h
	xmoji/patches/patch-src_bin_xmoji_unistrbuilder.h
	xmoji/patches/patch-tools_emojigen_src_emojigen.c

Log Message:
xmoji: add incomplete package

Builds, but fails to install.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=150991d4bd2d5fc72710b679261049c9c5abfc52

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

diffstat:
 Makefile                                          |  1 +
 xmoji/DESCR                                       |  3 +++
 xmoji/Makefile                                    | 31 +++++++++++++++++++++++
 xmoji/PLIST                                       |  4 +++
 xmoji/TODO                                        |  1 +
 xmoji/distinfo                                    |  9 +++++++
 xmoji/patches/patch-src_bin_xmoji_filewatcher.c   | 14 ++++++++++
 xmoji/patches/patch-src_bin_xmoji_unistr.h        | 17 +++++++++++++
 xmoji/patches/patch-src_bin_xmoji_unistrbuilder.h | 17 +++++++++++++
 xmoji/patches/patch-tools_emojigen_src_emojigen.c | 15 +++++++++++
 10 files changed, 112 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index a174fca53b..8efe924342 100644
--- a/Makefile
+++ b/Makefile
@@ -5890,6 +5890,7 @@ SUBDIR+=	xmms-skin-nixamp
 SUBDIR+=	xmms-skins
 SUBDIR+=	xmms-volnorm
 SUBDIR+=	xmms2
+SUBDIR+=	xmoji
 SUBDIR+=	xmoto
 SUBDIR+=	xnee
 SUBDIR+=	xonotic
diff --git a/xmoji/DESCR b/xmoji/DESCR
new file mode 100644
index 0000000000..32e555d6a4
--- /dev/null
+++ b/xmoji/DESCR
@@ -0,0 +1,3 @@
+Xmoji is a simple emoji keyboard for X11 designed to work without
+relying on any toolkit or input method. It doesn't use a toolkit
+itself and instead renders its GUI using XRender requests.
diff --git a/xmoji/Makefile b/xmoji/Makefile
new file mode 100644
index 0000000000..ac1ed1c9da
--- /dev/null
+++ b/xmoji/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD$
+
+DISTNAME=	xmoji-0.4
+CATEGORIES=	inputmethod
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Zirias/}
+GITHUB_RELEASE=	v${PKGVERSION_NOREV}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/Zirias/xmoji/
+COMMENT=	Plain X11 emoji keyboard
+LICENSE=	2-clause-bsd
+
+MAKE_FILE=	GNUmakefile
+MAKE_FLAGS+=	SH=${CONFIG_SHELL}
+
+USE_TOOLS+=	gmake pkg-config
+
+USE_CC_FEATURES+=	c11
+LDFLAGS+=		-L${WRKSRC}/lib/x86_64--netbsd/release
+
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../fonts/harfbuzz/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../x11/libxcb/buildlink3.mk"
+.include "../../x11/libxkbcommon/buildlink3.mk"
+.include "../../x11/xcb-util-cursor/buildlink3.mk"
+.include "../../x11/xcb-util-image/buildlink3.mk"
+#.include "../../x11/xcb-util-xkb/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/xmoji/PLIST b/xmoji/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/xmoji/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/xmoji/TODO b/xmoji/TODO
new file mode 100644
index 0000000000..de18edc26d
--- /dev/null
+++ b/xmoji/TODO
@@ -0,0 +1 @@
+Installation fails.
diff --git a/xmoji/distinfo b/xmoji/distinfo
new file mode 100644
index 0000000000..b8d9102587
--- /dev/null
+++ b/xmoji/distinfo
@@ -0,0 +1,9 @@
+$NetBSD$
+
+BLAKE2s (xmoji-0.4.tar.xz) = 4503cd5952067d1fae4795955e93fab7d617805a9696ed170183b5c6f8d85110
+SHA512 (xmoji-0.4.tar.xz) = edd6576f5790138b4d4faae8263395928687a1436a82e4c72becac80cc77423b3e086ff353953190f5f2d28d0a7f7911b639fb107844318ac94a2c20909d8a07
+Size (xmoji-0.4.tar.xz) = 266972 bytes
+SHA1 (patch-src_bin_xmoji_filewatcher.c) = e68f3747d65ee902dc43fbedcd59efea4e98df94
+SHA1 (patch-src_bin_xmoji_unistr.h) = 64ccb13c715e9ae66600881eaffb0ccd68effe47
+SHA1 (patch-src_bin_xmoji_unistrbuilder.h) = 4effbe15d5ccc4fa11590b532f41658c45c7db28
+SHA1 (patch-tools_emojigen_src_emojigen.c) = 32d63010fd903d77a8d4e3f769d9878356e9097f
diff --git a/xmoji/patches/patch-src_bin_xmoji_filewatcher.c b/xmoji/patches/patch-src_bin_xmoji_filewatcher.c
new file mode 100644
index 0000000000..73ef3d9b59
--- /dev/null
+++ b/xmoji/patches/patch-src_bin_xmoji_filewatcher.c
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- src/bin/xmoji/filewatcher.c.orig	2024-08-07 16:43:16.520801223 +0000
++++ src/bin/xmoji/filewatcher.c
+@@ -17,6 +17,9 @@
+ #    define _BSD_SOURCE
+ #  endif
+ #endif
++#ifdef __NetBSD__
++#define statfs statvfs
++#endif
+ 
+ #include "filewatcher.h"
+ 
diff --git a/xmoji/patches/patch-src_bin_xmoji_unistr.h b/xmoji/patches/patch-src_bin_xmoji_unistr.h
new file mode 100644
index 0000000000..63dea8ef03
--- /dev/null
+++ b/xmoji/patches/patch-src_bin_xmoji_unistr.h
@@ -0,0 +1,17 @@
+$NetBSD$
+
+--- src/bin/xmoji/unistr.h.orig	2024-08-02 06:42:32.000000000 +0000
++++ src/bin/xmoji/unistr.h
+@@ -4,7 +4,11 @@
+ #include "macros.h"
+ 
+ #include <poser/decl.h>
+-#include <uchar.h>
++#include <stddef.h>
++#include <stdint.h>
++#ifndef char32_t
++#define char32_t uint32_t
++#endif
+ 
+ C_CLASS_DECL(PSC_List);
+ 
diff --git a/xmoji/patches/patch-src_bin_xmoji_unistrbuilder.h b/xmoji/patches/patch-src_bin_xmoji_unistrbuilder.h
new file mode 100644
index 0000000000..c2fa337cfb
--- /dev/null
+++ b/xmoji/patches/patch-src_bin_xmoji_unistrbuilder.h
@@ -0,0 +1,17 @@
+$NetBSD$
+
+--- src/bin/xmoji/unistrbuilder.h.orig	2024-08-07 16:44:35.604855277 +0000
++++ src/bin/xmoji/unistrbuilder.h
+@@ -2,7 +2,11 @@
+ #define XMOJI_UNISTRBUILDER_H
+ 
+ #include <poser/decl.h>
+-#include <uchar.h>
++#include <stddef.h>
++#include <stdint.h>
++#ifndef char32_t
++#define char32_t uint32_t
++#endif
+ 
+ C_CLASS_DECL(UniStr);
+ C_CLASS_DECL(UniStrBuilder);
diff --git a/xmoji/patches/patch-tools_emojigen_src_emojigen.c b/xmoji/patches/patch-tools_emojigen_src_emojigen.c
new file mode 100644
index 0000000000..43b57255b7
--- /dev/null
+++ b/xmoji/patches/patch-tools_emojigen_src_emojigen.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- tools/emojigen/src/emojigen.c.orig	2024-08-07 16:40:05.656695985 +0000
++++ tools/emojigen/src/emojigen.c
+@@ -2,7 +2,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <uchar.h>
++#ifndef char32_t
++#define char32_t uint32_t
++#endif
+ 
+ typedef struct Emoji Emoji;
+ typedef struct EmojiGroup EmojiGroup;


Home | Main Index | Thread Index | Old Index