pkgsrc-WIP-changes archive

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

Remove lemonbar-xft: import into main



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Mon Jul 4 21:43:51 2022 +0200
Changeset:	97e8f413429853be0ec58a4627001a3a24a07149

Modified Files:
	Makefile
Removed Files:
	lemonbar-xft/DESCR
	lemonbar-xft/Makefile
	lemonbar-xft/PLIST
	lemonbar-xft/distinfo
	lemonbar-xft/patches/patch-lemonbar.c

Log Message:
Remove lemonbar-xft: import into main

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

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

diffstat:
 Makefile                              |  1 -
 lemonbar-xft/DESCR                    |  3 ---
 lemonbar-xft/Makefile                 | 31 ---------------------
 lemonbar-xft/PLIST                    |  3 ---
 lemonbar-xft/distinfo                 |  6 -----
 lemonbar-xft/patches/patch-lemonbar.c | 51 -----------------------------------
 6 files changed, 95 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 2ea18f6fe8..c9f0579da7 100644
--- a/Makefile
+++ b/Makefile
@@ -2007,7 +2007,6 @@ SUBDIR+=	lde
 SUBDIR+=	ldtp
 SUBDIR+=	lebiniou
 SUBDIR+=	lebiniou-data
-SUBDIR+=	lemonbar-xft
 SUBDIR+=	leo
 SUBDIR+=	leocad
 SUBDIR+=	lfe
diff --git a/lemonbar-xft/DESCR b/lemonbar-xft/DESCR
deleted file mode 100644
index 25fbad089e..0000000000
--- a/lemonbar-xft/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-lemonbar (formerly known as bar) is a lightweight bar entirely based on
-XCB. Provides full UTF-8 support, basic formatting, RandR and Xinerama
-support and EWMH compliance without wasting your precious memory.
diff --git a/lemonbar-xft/Makefile b/lemonbar-xft/Makefile
deleted file mode 100644
index e519f94593..0000000000
--- a/lemonbar-xft/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	lemonbar-xft-1.3
-CATEGORIES=	x11
-MASTER_SITES=	https://gitlab.com/protesilaos/lemonbar-xft/-/archive/0042efd2ec1477ab96eb044ebba72a10aefff21f/
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://gitlab.com/protesilaos/lemonbar-xft/
-COMMENT=	Featherweight lemon-scented bar
-LICENSE=	mit
-
-WRKSRC=	${WRKDIR}/lemonbar-xft-0042efd2ec1477ab96eb044ebba72a10aefff21f
-
-CONFLICTS=	lemonbar-[0-9]*
-
-USE_TOOLS+=	gmake pod2man
-
-BUILD_TARGET=	all doc
-
-CFLAGS.NetBSD+=	-D_NETBSD_SOURCE # memrchr
-
-INSTALLATION_DIRS+=	bin
-INSTALLATION_DIRS+=	${PKGMANDIR}/man1
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/lemonbar ${DESTDIR}${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/lemonbar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
-
-.include "../../x11/libxcb/buildlink3.mk"
-.include "../../x11/libXft/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/lemonbar-xft/PLIST b/lemonbar-xft/PLIST
deleted file mode 100644
index b6ba7f18d7..0000000000
--- a/lemonbar-xft/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD$
-bin/lemonbar
-man/man1/lemonbar.1
diff --git a/lemonbar-xft/distinfo b/lemonbar-xft/distinfo
deleted file mode 100644
index dc3d39c2f6..0000000000
--- a/lemonbar-xft/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD$
-
-BLAKE2s (lemonbar-xft-1.3.tar.gz) = 709001c325c7873bb22ef05103ff564c8c1cf592c6689bb5a8f5358f85cb7d36
-SHA512 (lemonbar-xft-1.3.tar.gz) = b106a18e1628f29be8bff3964599a52c852dfce4eec4dafde10e25c84580ba533bec20ef0b5151521f33fe26b1c2803f8491a3d315640d9642d9c196a0de1402
-Size (lemonbar-xft-1.3.tar.gz) = 17111 bytes
-SHA1 (patch-lemonbar.c) = 578b2fdd58af3d173b7a7844ee59c15f30a9df80
diff --git a/lemonbar-xft/patches/patch-lemonbar.c b/lemonbar-xft/patches/patch-lemonbar.c
deleted file mode 100644
index 66ef2ccdeb..0000000000
--- a/lemonbar-xft/patches/patch-lemonbar.c
+++ /dev/null
@@ -1,51 +0,0 @@
-$NetBSD$
-
-Adapt pkgsrc lemonbar patch
-
---- lemonbar.c.orig	2020-12-13 07:41:32.000000000 +0000
-+++ lemonbar.c
-@@ -616,7 +616,7 @@ parse (char *text)
-             p++;
-             while (p < block_end) {
-                 int w;
--                while (isspace(*p))
-+                while (isspace((unsigned char)*p))
-                     p++;
- 
-                 switch (*p++) {
-@@ -638,7 +638,7 @@ parse (char *text)
-                     case 'A':
-                               button = XCB_BUTTON_INDEX_1;
-                               // The range is 1-5
--                              if (isdigit(*p) && (*p > '0' && *p < '6'))
-+                              if (isdigit((unsigned char)*p) && (*p > '0' && *p < '6'))
-                                   button = *p++ - '0';
-                               if (!area_add(p, block_end, &p, cur_mon, pos_x, align, button))
-                                   return;
-@@ -657,7 +657,7 @@ parse (char *text)
-                               { cur_mon = monhead; }
-                               else if (*p == 'l')
-                               { cur_mon = montail ? montail : monhead; }
--                              else if (isdigit(*p))
-+                              else if (isdigit((unsigned char)*p))
-                               { cur_mon = monhead;
-                                 for (int i = 0; i != *p-'0' && cur_mon->next; i++)
-                                     cur_mon = cur_mon->next;
-@@ -689,7 +689,7 @@ parse (char *text)
-                                   font_index = -1;
-                                   p++;
-                                   break;
--                              } else if (isdigit(*p)) {
-+                              } else if (isdigit((unsigned char)*p)) {
-                                   font_index = (int)strtoul(p, &ep, 10);
-                                   // User-specified 'font_index' ∊ (0,font_count]
-                                   // Otherwise just fallback to the automatic font selection
-@@ -1214,7 +1214,7 @@ parse_geometry_string (char *str, int *t
-             p++; continue;
-         }
-         // A digit must follow
--        if (!isdigit(*p)) {
-+        if (!isdigit((unsigned char)*p)) {
-             fprintf(stderr, "Invalid geometry specified\n");
-             return false;
-         }


Home | Main Index | Thread Index | Old Index