From nobody Fri Nov 22 18:49:49 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xw40F3pGcz5fD0q; Fri, 22 Nov 2024 18:49:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xw40F248Pz4N3G; Fri, 22 Nov 2024 18:49:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732301389; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wqecQV8PdkcxsZjzURGWz7U9PBu+h0U3yBJVSJkb8Po=; b=olTbvlm1z8tcQs54bnld4HPs6C2HxVeAuYAhTX0QpmeEFsxxKdvDKTDfIZf1mWwkkCG6YL J3VCS1LYcMFPglFOTSG/pI4qTUuc0fTUw7/fhq59GS7DXLZCOP6y3JGZBpX4HK3kbaYYtK xK9AABv3PZt5YGH8C6uXz6QU2ahOMC/wLFtXQlEtaxABmhDOhkry17ZD6iri3L4uG+/6Xs VrcvSD9G3sxwnhklLsPm5gWGncNYX1SaQ/WgdRtfnXqgmnxhc02R0R8/HAt0j7YYhY4zHw ytrcUHt3p3eeA1wUe2Z6v7zy3acilk2MvehJHdY2e0+HzhA16njYUu8YTsEjfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732301389; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wqecQV8PdkcxsZjzURGWz7U9PBu+h0U3yBJVSJkb8Po=; b=Kgg/pnAgRiSbIDi/Yd8VJYr702S8OiN20mmvzlL8sZ9AsQYzQA4wx8toFefGo5P5XqikZQ cS2DZ2wYXFDgDK5coGDd9OgmR/RZxSxYsN5VXqik+WzIdn62p6xFz8qgaVVebd+X5wHDws 2a1WMYvv7LHaCZNPG8eFvQmdXwal9ujDtLwpnIQaF4ffCL3i6L2XpStax4m7E5ZSoe4V9h /Vogt/XLrjV4VneQzKtuTinbchRaunau0RJV58c89e8juNk2W8taXS5eWsUj34CJryvvIy Xy1EM/P4GslBqHHJCW6QxQLqy431EGi9jQF8WBEBck/14WEm+rljGo8zZdtSQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732301389; a=rsa-sha256; cv=none; b=WPY8SljeDrUUkm2TyXbWCrQ5xN0KhHx11ZRyAxfAvHznMHk/qzuaQ1IBTgqICJYnKrvv28 4s22x0hTTXLCb+uCE0eDr8H6GoBM/60tqit7MoIOnjmTG+hPE23Gn2jSVOncE4MYST4vdt Y0iWFxUSGe8XfyG/RLcJwd2ObgLJwonNYl8kKzzutfn+16GXLdfEVTRPMvaMM/9apCa6be fOhVnrr4sOPXOYCJmXMLfh26JcNUZjHD1cqN1fC+CogXW0NB7hcBf1IgnrK36OSJxPJf1Q kFCnHZRR/RlI/pT74T59w+2T8cxpc5oweCGvliyygQrgRU85vC2wMHOsu56u3A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xw40F1hLRzcN5; Fri, 22 Nov 2024 18:49:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AMInnmq091542; Fri, 22 Nov 2024 18:49:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AMInn14091539; Fri, 22 Nov 2024 18:49:49 GMT (envelope-from git) Date: Fri, 22 Nov 2024 18:49:49 GMT Message-Id: <202411221849.4AMInn14091539@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Zsolt Udvari Subject: git: eb1d23fff00a - main - x11/tabbed: Update to 0.8 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: uzsolt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eb1d23fff00af57b045fe2cd3aea4ef9c1ecacb7 Auto-Submitted: auto-generated The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=eb1d23fff00af57b045fe2cd3aea4ef9c1ecacb7 commit eb1d23fff00af57b045fe2cd3aea4ef9c1ecacb7 Author: Zsolt Udvari AuthorDate: 2024-11-22 18:45:22 +0000 Commit: Zsolt Udvari CommitDate: 2024-11-22 18:45:22 +0000 x11/tabbed: Update to 0.8 New binary and manpage: xembed. Switch to DISTVERSION. Use localbase:ldflags, doesn't need patching config.mk. Add libfontconfig dependency. Add xft and xorgproto to USES_XORG. Add LICENSE_FILE. PR: 282583 Approved by: maintainer timeout (2+ weeks) --- x11/tabbed/Makefile | 23 +++++++++++++---------- x11/tabbed/distinfo | 5 +++-- x11/tabbed/files/patch-Makefile | 12 ++++++++++++ x11/tabbed/files/patch-config.mk | 18 ------------------ 4 files changed, 28 insertions(+), 30 deletions(-) diff --git a/x11/tabbed/Makefile b/x11/tabbed/Makefile index be06d5f9b8a2..dbfba975dcfb 100644 --- a/x11/tabbed/Makefile +++ b/x11/tabbed/Makefile @@ -1,6 +1,5 @@ PORTNAME= tabbed -PORTVERSION= 0.6 -PORTREVISION= 1 +DISTVERSION= 0.8 CATEGORIES= x11 MASTER_SITES= http://dl.suckless.org/tools/ @@ -9,16 +8,21 @@ COMMENT= Tabbed frontend to Xembed-aware applications WWW= https://tools.suckless.org/tabbed LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE -USES= xorg -USE_XORG= x11 +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig -OPTIONS_DEFINE= DOCS +USES= localbase:ldflags pkgconfig xorg +USE_XORG= x11 xft xorgproto +MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}" PLIST_FILES= bin/tabbed \ - share/man/man1/tabbed.1.gz -PORTDOCS= LICENSE README -MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}" + bin/xembed \ + share/man/man1/tabbed.1.gz \ + share/man/man1/xembed.1.gz +PORTDOCS= README + +OPTIONS_DEFINE= DOCS pre-everything:: @${ECHO_MSG} "You can build tabbed with your own config.h using the TABBED_CONF knob:" @@ -31,7 +35,6 @@ post-extract: .endif post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* .include diff --git a/x11/tabbed/distinfo b/x11/tabbed/distinfo index 8af115909d34..fa01beec6a60 100644 --- a/x11/tabbed/distinfo +++ b/x11/tabbed/distinfo @@ -1,2 +1,3 @@ -SHA256 (tabbed-0.6.tar.gz) = 7651ea3acbec5d6a25469e8665da7fc70aba2b4fa61a2a6a5449eafdfd641c42 -SIZE (tabbed-0.6.tar.gz) = 12926 +TIMESTAMP = 1730835184 +SHA256 (tabbed-0.8.tar.gz) = 95bdffccb071083068d2b555c2524e9c7c57c9b64494d46c697e678d49a0a3d7 +SIZE (tabbed-0.8.tar.gz) = 13970 diff --git a/x11/tabbed/files/patch-Makefile b/x11/tabbed/files/patch-Makefile new file mode 100644 index 000000000000..4a2144cf9161 --- /dev/null +++ b/x11/tabbed/files/patch-Makefile @@ -0,0 +1,12 @@ +--- Makefile.orig 2024-11-06 06:26:09 UTC ++++ Makefile +@@ -9,7 +9,8 @@ DOCPREFIX = ${PREFIX}/share/doc/${NAME} + DOCPREFIX = ${PREFIX}/share/doc/${NAME} + + # use system flags. +-TABBED_CFLAGS = -I/usr/X11R6/include -I/usr/include/freetype2 ${CFLAGS} ++FREETYPE_CFLAGS!=pkg-config --cflags freetype2 ++TABBED_CFLAGS = -I/usr/X11R6/include ${FREETYPE_CFLAGS} ${CFLAGS} + TABBED_LDFLAGS = -L/usr/X11R6/lib -lX11 -lfontconfig -lXft ${LDFLAGS} + TABBED_CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700L + diff --git a/x11/tabbed/files/patch-config.mk b/x11/tabbed/files/patch-config.mk deleted file mode 100644 index 14333c2b76bd..000000000000 --- a/x11/tabbed/files/patch-config.mk +++ /dev/null @@ -1,18 +0,0 @@ ---- config.mk.orig 2014-01-21 18:22:03 UTC -+++ config.mk -@@ -8,12 +8,12 @@ MANPREFIX = ${PREFIX}/share/man - MANPREFIX = ${PREFIX}/share/man - - # includes and libs --INCS = -I. -I/usr/include --LIBS = -L/usr/lib -lc -lX11 -+INCS = -I. -I${LOCALBASE}/include -+LIBS = -L${LOCALBASE}/lib -lX11 - - # flags - CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE --CFLAGS = -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} -+CFLAGS += -Wall ${INCS} ${CPPFLAGS} - LDFLAGS = -s ${LIBS} - - # Solaris