git: 6a3e56067d8f - main - x11/lemonbar-xft: New port: Fork of lemonbar with support for Xft (fontconfig typefaces)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Aug 2022 01:26:32 UTC
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=6a3e56067d8f7846539afbbdb37fa963d8fbc78b commit 6a3e56067d8f7846539afbbdb37fa963d8fbc78b Author: Jesús Daniel Colmenares Oviedo <DtxdF@riseup.net> AuthorDate: 2022-08-06 01:19:21 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2022-08-06 01:25:55 +0000 x11/lemonbar-xft: New port: Fork of lemonbar with support for Xft (fontconfig typefaces) lemonbar-xft 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. This fork add Xft support WWW: https://gitlab.com/protesilaos/lemonbar-xft PR: 265629 --- x11/Makefile | 1 + x11/lemonbar-xft/Makefile | 28 ++++++++++++++++++++++++++++ x11/lemonbar-xft/distinfo | 3 +++ x11/lemonbar-xft/files/patch-Makefile | 27 +++++++++++++++++++++++++++ x11/lemonbar-xft/pkg-descr | 5 +++++ 5 files changed, 64 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 4b0ab8309b40..7ec94c17f581 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -142,6 +142,7 @@ SUBDIR += konsole SUBDIR += lavalauncher SUBDIR += lemonbar + SUBDIR += lemonbar-xft SUBDIR += libICE SUBDIR += libSM SUBDIR += libX11 diff --git a/x11/lemonbar-xft/Makefile b/x11/lemonbar-xft/Makefile new file mode 100644 index 000000000000..78765642d145 --- /dev/null +++ b/x11/lemonbar-xft/Makefile @@ -0,0 +1,28 @@ +PORTNAME= lemonbar-xft +DISTVERSION= g20201213 +CATEGORIES= x11 + +MAINTAINER= DtxdF@riseup.net +COMMENT= Fork of lemonbar with support for Xft (fontconfig typefaces) + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libfreetype.so:print/freetype2 \ + libfontconfig.so:x11-fonts/fontconfig + +USES= gmake localbase:ldflags perl5 xorg + +USE_XORG= xcb xft x11 +USE_PERL5= build + +CONFLICTS_INSTALL= lemonbar + +PLIST_FILES= bin/lemonbar \ + man/man1/lemonbar.1.gz + +USE_GITLAB= yes +GL_ACCOUNT= protesilaos +GL_COMMIT= 0042efd2ec1477ab96eb044ebba72a10aefff21f + +.include <bsd.port.mk> diff --git a/x11/lemonbar-xft/distinfo b/x11/lemonbar-xft/distinfo new file mode 100644 index 000000000000..ce52d7c1f85a --- /dev/null +++ b/x11/lemonbar-xft/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659558248 +SHA256 (protesilaos-lemonbar-xft-0042efd2ec1477ab96eb044ebba72a10aefff21f_GL0.tar.gz) = cfe2672cb6ff01631c15a7cbcc48f5dcbda4fa2ac4dacd9095a6744089913534 +SIZE (protesilaos-lemonbar-xft-0042efd2ec1477ab96eb044ebba72a10aefff21f_GL0.tar.gz) = 17111 diff --git a/x11/lemonbar-xft/files/patch-Makefile b/x11/lemonbar-xft/files/patch-Makefile new file mode 100644 index 000000000000..88d4c6a0c048 --- /dev/null +++ b/x11/lemonbar-xft/files/patch-Makefile @@ -0,0 +1,27 @@ +--- Makefile 2022-08-04 15:25:38 UTC ++++ Makefile +@@ -7,7 +7,7 @@ ifneq "$(GIT_DESC)" "" + endif + + CC ?= gcc +-CFLAGS += -Wall -std=c99 -Os -DVERSION="\"$(VERSION)\"" -I/usr/include/freetype2 ++CFLAGS += -Wall -std=c99 -DVERSION="\"$(VERSION)\"" -I${LOCALBASE}/include/freetype2 + LDFLAGS += -lxcb -lxcb-xinerama -lxcb-randr -lX11 -lX11-xcb -lXft -lfreetype -lz -lfontconfig + CFDEBUG = -g3 -pedantic -Wall -Wunused-parameter -Wlong-long \ + -Wsign-conversion -Wconversion -Wimplicit-function-declaration +@@ -38,11 +38,12 @@ clean: + rm -f ./${EXEC} + + install: lemonbar doc +- install -D -m 755 lemonbar ${DESTDIR}${BINDIR}/lemonbar +- install -D -m 644 lemonbar.1 ${DESTDIR}${PREFIX}/share/man/man1/lemonbar.1 ++ install -d ${DESTDIR}${BINDIR} ++ install -m 755 lemonbar ${DESTDIR}${BINDIR}/lemonbar ++ install -m 644 lemonbar.1 ${DESTDIR}${PREFIX}/man/man1/lemonbar.1 + + uninstall: + rm -f ${DESTDIR}${BINDIR}/lemonbar +- rm -f $(DESTDIR)$(PREFIX)/share/man/man1/lemonbar.1 ++ rm -f $(DESTDIR)$(PREFIX)/man/man1/lemonbar.1 + + .PHONY: all debug clean install diff --git a/x11/lemonbar-xft/pkg-descr b/x11/lemonbar-xft/pkg-descr new file mode 100644 index 000000000000..8e48c6f19b46 --- /dev/null +++ b/x11/lemonbar-xft/pkg-descr @@ -0,0 +1,5 @@ +lemonbar-xft 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. This fork add Xft support + +WWW: https://gitlab.com/protesilaos/lemonbar-xft