Index: head/x11-wm/Makefile =================================================================== --- head/x11-wm/Makefile (revision 516058) +++ head/x11-wm/Makefile (revision 516059) @@ -1,144 +1,145 @@ # $FreeBSD$ # COMMENT = X11 window managers SUBDIR += aewm SUBDIR += afterstep SUBDIR += afterstep-stable SUBDIR += amiwm SUBDIR += antiwm SUBDIR += aphelia SUBDIR += awesome SUBDIR += awesome-vicious SUBDIR += bbkeys SUBDIR += bbpager SUBDIR += blackbox SUBDIR += bspwm SUBDIR += cage SUBDIR += ccsm SUBDIR += clementine-wm SUBDIR += compiz SUBDIR += compiz-fusion SUBDIR += compiz-plugins-extra SUBDIR += compiz-plugins-main SUBDIR += compiz-plugins-unsupported SUBDIR += compizconfig-backend-gconf SUBDIR += compizconfig-python SUBDIR += compton + SUBDIR += compton-yshui SUBDIR += ctwm SUBDIR += cwm SUBDIR += devilspie SUBDIR += dwm SUBDIR += e-module-alarm SUBDIR += e-module-cpu SUBDIR += e-module-deskshow SUBDIR += e-module-everything-places SUBDIR += e-module-mem SUBDIR += e-module-rmb SUBDIR += e-module-wlan SUBDIR += e-modules SUBDIR += e16 SUBDIR += e16-docs SUBDIR += echinus SUBDIR += ede SUBDIR += emerald SUBDIR += enlightenment SUBDIR += epplets SUBDIR += euclid-wm SUBDIR += evilwm SUBDIR += fbcmd SUBDIR += fluxbox SUBDIR += fluxconf SUBDIR += fluxter SUBDIR += flwm SUBDIR += fvwm-crystal SUBDIR += fvwm2 SUBDIR += gcompmgr SUBDIR += herbstluftwm SUBDIR += hikari SUBDIR += hs-xmonad SUBDIR += hs-xmonad-contrib SUBDIR += i3 SUBDIR += i3-gaps SUBDIR += icewm SUBDIR += ion SUBDIR += jewel SUBDIR += jwm SUBDIR += larswm SUBDIR += libcompizconfig SUBDIR += libdockapp SUBDIR += libwraster SUBDIR += lwm SUBDIR += lxappearance-obconf SUBDIR += lxmed SUBDIR += lxqt SUBDIR += lxqt-panel SUBDIR += lxqt-session SUBDIR += lxsession SUBDIR += marco SUBDIR += matwm2 SUBDIR += mcwm SUBDIR += metacity SUBDIR += muffin SUBDIR += mutter SUBDIR += nickleby SUBDIR += obapps SUBDIR += obconf SUBDIR += obconf-qt SUBDIR += obkey SUBDIR += obmenu SUBDIR += obpager SUBDIR += olvwm SUBDIR += openbox SUBDIR += oroborus SUBDIR += pager SUBDIR += peksystray SUBDIR += pekwm SUBDIR += phluid SUBDIR += piewm SUBDIR += plasma5-kdecoration SUBDIR += plasma5-kwin SUBDIR += plwm SUBDIR += pwm SUBDIR += qtile SUBDIR += ratmen SUBDIR += ratmenu SUBDIR += ratpoison SUBDIR += rubygem-uh-layout SUBDIR += rubygem-uh-wm SUBDIR += sawfish SUBDIR += selectwm SUBDIR += simple-ccsm SUBDIR += skippy-xd SUBDIR += spectrwm SUBDIR += stumpwm SUBDIR += subtle SUBDIR += sway SUBDIR += tinywm SUBDIR += transset SUBDIR += treewm SUBDIR += tvtwm SUBDIR += twm SUBDIR += vtwm SUBDIR += w9wm SUBDIR += wayfire SUBDIR += windowmaker SUBDIR += wm2 SUBDIR += wmakerconf SUBDIR += wmanager SUBDIR += wmanager-addons SUBDIR += wmconfig SUBDIR += wmii SUBDIR += wmii-devel SUBDIR += wmname SUBDIR += wmx SUBDIR += xcompmgr SUBDIR += xfce4 SUBDIR += xfce4-desktop SUBDIR += xfce4-panel SUBDIR += xfce4-panel-profiles SUBDIR += xfce4-session SUBDIR += xfce4-wm .include Index: head/x11-wm/compton/Makefile =================================================================== --- head/x11-wm/compton/Makefile (revision 516058) +++ head/x11-wm/compton/Makefile (revision 516059) @@ -1,68 +1,70 @@ # $FreeBSD$ PORTNAME= compton PORTVERSION= 20160907 PORTREVISION= 4 CATEGORIES= x11-wm MAINTAINER= femc7488@gmail.com COMMENT= Feature-rich compositing window manager for X11 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= xprop:x11/xprop \ xwininfo:x11/xwininfo +CONFLICTS_INSTALL= compton-yshui # bin/compton + USE_GITHUB= yes GH_ACCOUNT= chjj GH_TAGNAME= b7f43ee USES= gmake pkgconfig USE_XORG= x11 xcomposite xdamage xext xfixes xrandr xrender MAKE_ARGS= COMPTON_VERSION=git-${PORTVERSION}-${GH_TAGNAME} \ XDGDIR=${LOCALBASE}/etc/xdg ALL_TARGET= ${PORTNAME} OPTIONS_DEFINE= CONFIG PCRE DRM OPENGL DBUS XINERAMA DOCS OPTIONS_DEFAULT= CONFIG PCRE DRM OPENGL DBUS XINERAMA CONFIG_DESC= Configuration file parsing support PCRE_DESC= Blacklist support (via libpcre) DRM_DESC= DRM VSync method support OPENGL_DESC= GLX backend, OpenGL VSync method, etc. DOCS_DESC= Build manpages (requires AsciiDoc/DocBook) CONFIG_LIB_DEPENDS= libconfig.so:devel/libconfig CONFIG_MAKE_ARGS_OFF= NO_LIBCONFIG=yes PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_MAKE_ARGS_OFF= NO_REGEX_PCRE=yes DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm DRM_MAKE_ARGS_OFF= NO_VSYNC_DRM=yes OPENGL_USE= GL=gl OPENGL_MAKE_ARGS_OFF= NO_VSYNC_OPENGL=yes DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_MAKE_ARGS_OFF= NO_DBUS=yes XINERAMA_USE= XORG=xinerama XINERAMA_MAKE_ARGS_OFF= NO_XINERAMA=yes DOCS_BUILD_DEPENDS= a2x:textproc/asciidoc \ xsltproc:textproc/libxslt \ docbook-xml>0:textproc/docbook-xml \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl DOCS_MAKE_ARGS= DOCDIR=${DOCSDIR} MANDIR=${MANPREFIX}/man/man1 DOCS_ALL_TARGET= docs DOCS_PLIST_FILES= man/man1/compton.1.gz man/man1/compton-trans.1.gz DOCS_PORTDOCS= README.md cdbus-driver.sh post-patch: @${REINPLACE_CMD} -e '/config_system_dir/s|/etc|${LOCALBASE}&|' \ ${WRKSRC}/src/compton.c .include Index: head/x11-wm/compton-yshui/Makefile =================================================================== --- head/x11-wm/compton-yshui/Makefile (nonexistent) +++ head/x11-wm/compton-yshui/Makefile (revision 516059) @@ -0,0 +1,77 @@ +# $FreeBSD$ + +PORTNAME= compton +DISTVERSIONPREFIX= v +DISTVERSION= 7.4 +CATEGORIES= x11-wm +PKGNAMESUFFIX= -yshui + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= bd5a5fb56812.patch:-p1 065f9ffd4d35.patch:-p1 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Lightweight X11 compositor + +LICENSE= MIT MPL20 +LICENSE_COMB= multi +LICENSE_FILE_MIT= ${WRKSRC}/LICENSES/MIT + +BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash +LIB_DEPENDS= libev.so:devel/libev \ + libxcb-image.so:x11/xcb-util-image \ + libxcb-render-util.so:x11/xcb-util-renderutil +RUN_DEPENDS= xprop:x11/xprop \ + xwininfo:x11/xwininfo + +CONFLICTS_INSTALL= compton # bin/compton + +USES= compiler:c11 meson localbase pkgconfig python:3.4+,run shebangfix +USE_GITHUB= yes +USE_XORG= x11 xcb xext pixman +GH_ACCOUNT= yshui +SHEBANG_FILES= bin/compton-convgen.py +MESON_ARGS= -Dunittest=true +TEST_TARGET= test + +OPTIONS_DEFINE= CONFIG DBUS DOCS DRM OPENGL PCRE +OPTIONS_DEFAULT=CONFIG DBUS OPENGL PCRE + +CONFIG_DESC= Configuration file parsing support +CONFIG_LIB_DEPENDS= libconfig.so:devel/libconfig \ + libxdg-basedir.so:x11/libxdg-basedir +CONFIG_MESON_TRUE= config_file + +PCRE_LIB_DEPENDS= libpcre.so:devel/pcre +PCRE_MESON_TRUE= regex + +DRM_DESC= DRM VSync fallback (deprecated) +DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm +DRM_MESON_TRUE= vsync_drm + +OPENGL_USE= GL=gl +OPENGL_MESON_TRUE= opengl + +DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus +DBUS_MESON_TRUE= dbus + +DOCS_BUILD_DEPENDS= a2x:textproc/asciidoc +DOCS_MESON_TRUE= build_docs +DOCS_PLIST_FILES= man/man1/${PORTNAME}.1.gz \ + man/man1/${PORTNAME}-trans.1.gz + +post-patch: + @${REINPLACE_CMD} -e '/install_dir/s,share/man,man,' \ + ${WRKSRC}/man/meson.build + @${REINPLACE_CMD} -e '/config_system_dir/s,/etc,${PREFIX}&,' \ + ${WRKSRC}/src/config_libconfig.c +# Extract (snapshot) version from the port instead of meson.build + @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ + -e "/project_version/s/=.*/= '${DISTVERSIONFULL}'/" \ + ${WRKSRC}/meson.build + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.sample.conf \ + ${STAGEDIR}${PREFIX}/etc/xdg/${PORTNAME}.conf.sample + +.include Property changes on: head/x11-wm/compton-yshui/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/compton-yshui/distinfo =================================================================== --- head/x11-wm/compton-yshui/distinfo (nonexistent) +++ head/x11-wm/compton-yshui/distinfo (revision 516059) @@ -0,0 +1,7 @@ +TIMESTAMP = 1569024480 +SHA256 (yshui-compton-v7.4_GH0.tar.gz) = 1911aebb49f765586f655933ee016828e126bc7b2bb016b13c9a34a4865a8fd3 +SIZE (yshui-compton-v7.4_GH0.tar.gz) = 218899 +SHA256 (bd5a5fb56812.patch) = a7e29d526517f05fb90f3a6415ef08108ba45865175a676f50376ef8d0e10a7f +SIZE (bd5a5fb56812.patch) = 680 +SHA256 (065f9ffd4d35.patch) = 5d6d687c9ee1eb6ab7a9d39636bb85c4aac7d36ad13433ac66885914ff2e2944 +SIZE (065f9ffd4d35.patch) = 10209 Property changes on: head/x11-wm/compton-yshui/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/compton-yshui/files/patch-src_log.c =================================================================== --- head/x11-wm/compton-yshui/files/patch-src_log.c (nonexistent) +++ head/x11-wm/compton-yshui/files/patch-src_log.c (revision 516059) @@ -0,0 +1,21 @@ +Drop after FreeBSD 11 EOL, other systems had timespec_get() for years. + +../src/log.c:162:20: error: use of undeclared identifier 'TIME_UTC' + timespec_get(&ts, TIME_UTC); + ^ +log.c:(.text+0x1db): undefined reference to `timespec_get' + +--- src/log.c.orig 2019-09-21 00:08:00 UTC ++++ src/log.c +@@ -159,7 +159,11 @@ attr_printf(4, 5) void log_printf(struct log *l, int l + } + + struct timespec ts; ++#ifdef TIME_UTC + timespec_get(&ts, TIME_UTC); ++#else ++ clock_gettime(CLOCK_REALTIME, &ts); ++#endif + auto tm = localtime(&ts.tv_sec); + char time_buf[100]; + strftime(time_buf, sizeof time_buf, "%x %T", tm); Property changes on: head/x11-wm/compton-yshui/files/patch-src_log.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/compton-yshui/pkg-descr =================================================================== --- head/x11-wm/compton-yshui/pkg-descr (nonexistent) +++ head/x11-wm/compton-yshui/pkg-descr (revision 516059) @@ -0,0 +1,15 @@ +Compton is a standalone compositor for X11 for window managers without +built-in compositing. This is an actively maintained fork of Compton. + +Features: +- Rendering with optional VSync via OpenGL or XRender +- Transparent windows, menus, titlebars, borders +- Shadows and colored shadows +- Fading effects +- Bluring of background +- GLSL fragment shader for window contents +- Conditional settings +- Config, log and PID file support +- Remote control via DBus + +WWW: https://github.com/yshui/compton Property changes on: head/x11-wm/compton-yshui/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/compton-yshui/pkg-plist =================================================================== --- head/x11-wm/compton-yshui/pkg-plist (nonexistent) +++ head/x11-wm/compton-yshui/pkg-plist (revision 516059) @@ -0,0 +1,7 @@ +bin/compton +bin/compton-convgen.py +bin/compton-trans +@sample etc/xdg/compton.conf.sample +share/applications/compton.desktop +share/icons/hicolor/48x48/apps/compton.png +share/icons/hicolor/scalable/apps/compton.svg Property changes on: head/x11-wm/compton-yshui/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property