FreeBSD Bugzilla – Attachment 170166 Details for
Bug 209391
[NEW PORT] x11/dmenu2: dynamic menu extended
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
third version
dmenu2.shar (text/plain), 5.13 KB, created by
Timothy Beyer
on 2016-05-10 05:19:28 UTC
(
hide
)
Description:
third version
Filename:
MIME Type:
Creator:
Timothy Beyer
Created:
2016-05-10 05:19:28 UTC
Size:
5.13 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># dmenu2 ># dmenu2/Makefile ># dmenu2/distinfo ># dmenu2/files ># dmenu2/files/patch-Makefile ># dmenu2/files/patch-dmenu2_path ># dmenu2/files/patch-stest.c ># dmenu2/pkg-descr ># >echo c - dmenu2 >mkdir -p dmenu2 > /dev/null 2>&1 >echo x - dmenu2/Makefile >sed 's/^X//' >dmenu2/Makefile << '419c63a402246dac85bd4eaba69cf703' >X# Created by: Timothy Beyer <beyert@cs.ucr.edu> >X# $FreeBSD$ >X >XPORTNAME= dmenu2 >XPORTVERSION= 0.0.20150210 >XCATEGORIES= x11 >X >XMAINTAINER= beyert@cs.ucr.edu >XCOMMENT= X11 menu application, dynamic menu extended >X >XLICENSE= MIT >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XLIB_DEPENDS= libfreetype.so:print/freetype2 \ >X libfontconfig.so:x11-fonts/fontconfig >X >XUSE_GITHUB= yes >XGH_TUPLE= mrshankly:dmenu2:a4eb44b >X >XOPTIONS_DEFINE= XINERAMA >XOPTIONS_DEFAULT= XINERAMA >X >XUSE_XORG= x11 xft >XMAKE_ARGS= CC="${CC}" PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}/man" \ >X X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib" VERSION="0.2" >X >XPLIST_FILES= bin/dmenu2 bin/dmenu2_path bin/dmenu2_run bin/stest2 \ >X man/man1/dmenu2.1.gz man/man1/stest2.1.gz >X >XXINERAMA_USE= XORG=xinerama >XXINERAMA_MAKE_ARGS_OFF= XINERAMAFLAGS= XINERAMALIBS= >X >Xpost-patch: >X ${REINPLACE_CMD} 's|/usr/include|${PREFIX}/include|g' \ >X ${WRKSRC}/Makefile >X ${REINPLACE_CMD} 's|dmenu.1 stest.1|dmenu2.1 stest2.1|g' ${WRKSRC}/Makefile >X ${MV} ${WRKSRC}/dmenu.1 ${WRKSRC}/dmenu2.1 >X ${MV} ${WRKSRC}/stest.1 ${WRKSRC}/stest2.1 >X >Xpre-install: >X ${CHMOD} +x ${WRKSRC}/dmenu2_path >X ${CP} -pR ${WRKSRC}/dmenu2_path ${STAGEDIR}${PREFIX}/bin/dmenu2_path >X >Xpost-install: >X ${MV} ${STAGEDIR}${PREFIX}/bin/dmenu ${STAGEDIR}${PREFIX}/bin/dmenu2 >X ${MV} ${STAGEDIR}${PREFIX}/bin/dmenu_run ${STAGEDIR}${PREFIX}/bin/dmenu2_run >X ${REINPLACE_CMD} 's|dmenu|dmenu2|g' ${STAGEDIR}${PREFIX}/bin/dmenu2_run >X ${REINPLACE_CMD} 's|stest|stest2|g' ${STAGEDIR}${PREFIX}/bin/dmenu2_run >X ${MV} ${STAGEDIR}${PREFIX}/bin/stest ${STAGEDIR}${PREFIX}/bin/stest2 >X ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dmenu2 \ >X ${STAGEDIR}${PREFIX}/bin/stest2 >X >X.include <bsd.port.mk> >419c63a402246dac85bd4eaba69cf703 >echo x - dmenu2/distinfo >sed 's/^X//' >dmenu2/distinfo << 'ea961f29e4cc098b86f16cf981dd5721' >XSHA256 (mrshankly-dmenu2-0.0.20150210-a4eb44b_GH0.tar.gz) = a7a7bbc425c5331926c193b35c8e423f2f94a4ee23d46dd201c8b6e0b194ac9d >XSIZE (mrshankly-dmenu2-0.0.20150210-a4eb44b_GH0.tar.gz) = 15533 >ea961f29e4cc098b86f16cf981dd5721 >echo c - dmenu2/files >mkdir -p dmenu2/files > /dev/null 2>&1 >echo x - dmenu2/files/patch-Makefile >sed 's/^X//' >dmenu2/files/patch-Makefile << '1366cd05ae4b51535f0eaadebefe67b6' >X--- Makefile.orig 2015-02-10 20:52:44 UTC >X+++ Makefile >X@@ -1,10 +1,10 @@ >X VERSION = 0.1 >X >X CC ?= gcc >X-LIBS = -lX11 -lXinerama -lXft -lXrender -lfreetype -lz -lfontconfig >X-CFLAGS += -std=c99 -pedantic -Wall -Wextra -I/usr/include/freetype2 >X+LIBS = -L${X11LIB} -lX11 -lXinerama -lXft -lXrender -lfreetype -lz -lfontconfig >X+CFLAGS += -std=c99 -pedantic -Wall -Wextra -Os -I${X11INC} -I/usr/include/freetype2 >X CFLAGS += -DXINERAMA -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" >X-LDFLAGS += >X+LDFLAGS = -s ${LIBS} >X >X PREFIX ?= /usr/local >X BINPREFIX = $(PREFIX)/bin >X@@ -16,8 +16,6 @@ DM_OBJ = $(DM_SRC:.c=.o) >X ST_SRC = stest.c >X ST_OBJ = $(ST_SRC:.c=.o) >X >X-all: CFLAGS += -Os >X-all: LDFLAGS += -s >X all: dmenu stest >X >X debug: CFLAGS += -g -O0 -DDEBUG >1366cd05ae4b51535f0eaadebefe67b6 >echo x - dmenu2/files/patch-dmenu2_path >sed 's/^X//' >dmenu2/files/patch-dmenu2_path << 'ceafecb4436f8e15e44f1a65ae373c30' >X--- dmenu2_path.orig 2016-05-09 09:15:36 UTC >X+++ dmenu2_path >X@@ -0,0 +1,14 @@ >X+#!/bin/sh >X+# adapted from dmenu_path in original dmenu distribution >X+cachedir=${XDG_CACHE_HOME:-"$HOME/.cache"} >X+if [ -d "$cachedir" ]; then >X+ cache=$cachedir/dmenu2_run >X+else >X+ cache=$HOME/.dmenu2_cache # if no xdg dir, fall back to dotfile in ~ >X+fi >X+IFS=: >X+if stest2 -dqr -n "$cache" $PATH; then >X+ stest2 -flx $PATH | sort -u | tee "$cache" >X+else >X+ cat "$cache" >X+fi >ceafecb4436f8e15e44f1a65ae373c30 >echo x - dmenu2/files/patch-stest.c >sed 's/^X//' >dmenu2/files/patch-stest.c << '9ff81aa6561c6563dde8f28946962d09' >X--- stest.c.orig 2015-02-10 20:52:44 UTC >X+++ stest.c >X@@ -8,6 +8,7 @@ >X #include <sys/stat.h> >X >X #define FLAG(x) (flag[(x)-'a']) >X+#define S_ISLNK(m) (((m) & 0170000) == 0120000) /* symbolic link */ >X >X static void test(const char *, const char *); >X >9ff81aa6561c6563dde8f28946962d09 >echo x - dmenu2/pkg-descr >sed 's/^X//' >dmenu2/pkg-descr << 'dbef5b80ded40eda66635413adf18d13' >Xdmenu2 is the fork of original dmenu - an efficient dynamic menu for X, patched >Xwith XFT, quiet, x & y, token, fuzzy matching, follow focus, tab nav, filter. >XAdded option to set screen on which dmenu apperars, as long as opacity, window >Xclass and window name. Also allows to dim screen with selected color and >Xopacity while dmenu2 is running. Added underline color and height. (options >X-uc and -uh) >X >XWWW: https://github.com/mrshankly/dmenu2 >dbef5b80ded40eda66635413adf18d13 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 209391
:
170135
|
170164
| 170166