From owner-svn-ports-head@freebsd.org Tue Oct 6 11:25:00 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 909ED43054A; Tue, 6 Oct 2020 11:25:00 +0000 (UTC) (envelope-from 0mp@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C5FW036Rdz4MdZ; Tue, 6 Oct 2020 11:25:00 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4B4BE25EA5; Tue, 6 Oct 2020 11:25:00 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 096BP0WD033248; Tue, 6 Oct 2020 11:25:00 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 096BOx4x033229; Tue, 6 Oct 2020 11:24:59 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <202010061124.096BOx4x033229@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Tue, 6 Oct 2020 11:24:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r551573 - in head/x11: . pmenu pmenu/files X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/x11: . pmenu pmenu/files X-SVN-Commit-Revision: 551573 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2020 11:25:00 -0000 Author: 0mp Date: Tue Oct 6 11:24:59 2020 New Revision: 551573 URL: https://svnweb.freebsd.org/changeset/ports/551573 Log: Add x11/pmenu Pmenu is a pie menu utility for X. Pmenu receives a menu specification in stdin, shows a menu for the user to select one of the options, and outputs the option selected to stdout. Pmenu comes with the following features: - Pmenu reads something in and prints something out, the UNIX way. - Submenus (some pie-menu slices can spawn another menu). - Icons (pie-menu slices can contain icon image). - X resources support (you don't need to recompile pmenu for configuring it). Check out my other project, xclickroot for an application that can spawn pmenu by right clicking on the root window (i.e. on the desktop). WWW: https://github.com/phillbush/pmenu Added: head/x11/pmenu/ head/x11/pmenu/Makefile (contents, props changed) head/x11/pmenu/distinfo (contents, props changed) head/x11/pmenu/files/ head/x11/pmenu/files/patch-config.mk (contents, props changed) head/x11/pmenu/pkg-descr (contents, props changed) Modified: head/x11/Makefile Modified: head/x11/Makefile ============================================================================== --- head/x11/Makefile Tue Oct 6 10:57:12 2020 (r551572) +++ head/x11/Makefile Tue Oct 6 11:24:59 2020 (r551573) @@ -262,6 +262,7 @@ SUBDIR += plasma5-plasma-desktop SUBDIR += plasma5-plasma-integration SUBDIR += plasma5-plasma-workspace + SUBDIR += pmenu SUBDIR += polybar SUBDIR += printscreen SUBDIR += py-caffeine-ng Added: head/x11/pmenu/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/pmenu/Makefile Tue Oct 6 11:24:59 2020 (r551573) @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= pmenu +DISTVERSIONPREFIX= v +DISTVERSION= 2.1.2 +CATEGORIES= x11 +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= 91d52b3dbe197681c3252703ae57594dfd755f5a.patch:-p1 + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Pie menu for X + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libImlib2.so:graphics/imlib2 + +USES= localbase xorg +USE_GITHUB= yes +GH_ACCOUNT= phillbush +USE_XORG= x11 xext xft xinerama + +MAKE_ARGS= FREETYPEINC="${LOCALBASE}/include/freetype2" \ + PREFIX="${PREFIX}" + +PLIST_FILES= bin/${PORTNAME} \ + share/man/man1/${PORTNAME}.1.gz + +PORTEXAMPLES= ${PORTNAME}.sh + +OPTIONS_DEFINE= EXAMPLES + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} + +.include Added: head/x11/pmenu/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/pmenu/distinfo Tue Oct 6 11:24:59 2020 (r551573) @@ -0,0 +1,5 @@ +TIMESTAMP = 1601983413 +SHA256 (phillbush-pmenu-v2.1.2_GH0.tar.gz) = 6e10de31b923f96ae0eb0b7fc37097c0ac94e8af6bf688dd931cc0cf554367e5 +SIZE (phillbush-pmenu-v2.1.2_GH0.tar.gz) = 14160 +SHA256 (91d52b3dbe197681c3252703ae57594dfd755f5a.patch) = 4d3bcde210d9e96c76a81507defe5a2e0f24997127405ba4ccb20aead3cec1b6 +SIZE (91d52b3dbe197681c3252703ae57594dfd755f5a.patch) = 939 Added: head/x11/pmenu/files/patch-config.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/pmenu/files/patch-config.mk Tue Oct 6 11:24:59 2020 (r551573) @@ -0,0 +1,20 @@ +--- config.mk.orig 2020-10-06 11:12:09 UTC ++++ config.mk +@@ -17,12 +17,12 @@ FREETYPEINC = /usr/include/freetype2 + + # includes and libs + INCS = -I${LOCALINC} -I${X11INC} -I${FREETYPEINC} +-LIBS = -L${LOCALLIB} -L${X11LIB} -lm -lfontconfig -lXft -lX11 -lXinerama -lXext -lImlib2 ++LIBS += -L${LOCALLIB} -L${X11LIB} -lm -lfontconfig -lXft -lX11 -lXinerama -lXext -lImlib2 + + # flags +-CPPFLAGS = +-CFLAGS = -Wall -Wextra ${INCS} ${CPPFLAGS} +-LDFLAGS = ${LIBS} ++CPPFLAGS += ++CFLAGS += -Wall -Wextra ${INCS} ${CPPFLAGS} ++LDFLAGS += ${LIBS} + + # compiler and linker +-CC = cc ++CC ?= cc Added: head/x11/pmenu/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/pmenu/pkg-descr Tue Oct 6 11:24:59 2020 (r551573) @@ -0,0 +1,15 @@ +Pmenu is a pie menu utility for X. Pmenu receives a menu specification +in stdin, shows a menu for the user to select one of the options, +and outputs the option selected to stdout. + +Pmenu comes with the following features: + +- Pmenu reads something in and prints something out, the UNIX way. +- Submenus (some pie-menu slices can spawn another menu). +- Icons (pie-menu slices can contain icon image). +- X resources support (you don't need to recompile pmenu for configuring it). + +Check out my other project, xclickroot for an application that can spawn pmenu +by right clicking on the root window (i.e. on the desktop). + +WWW: https://github.com/phillbush/pmenu