View | Details | Raw Unified | Return to bug 176480
Collapse All | Expand All

(-)x11-wm/Makefile (+1 lines)
Lines 25-30 Link Here
25
    SUBDIR += compiz-plugins-unsupported
25
    SUBDIR += compiz-plugins-unsupported
26
    SUBDIR += compizconfig-backend-gconf
26
    SUBDIR += compizconfig-backend-gconf
27
    SUBDIR += compizconfig-python
27
    SUBDIR += compizconfig-python
28
    SUBDIR += compton
28
    SUBDIR += ctwm
29
    SUBDIR += ctwm
29
    SUBDIR += devilspie
30
    SUBDIR += devilspie
30
    SUBDIR += dwm
31
    SUBDIR += dwm
(-)x11-wm/compton/Makefile (+63 lines)
Line 0 Link Here
1
# $FreeBSD$
2
#
3
4
PORTNAME=	compton
5
PORTVERSION=	20130206
6
CATEGORIES=	x11-wm
7
MASTER_SITES=	https://github.com/${GITHUB_USER}/${PORTNAME}/tarball/${GITVERSION}/
8
DISTNAME=	${GITHUB_USER}-${PORTNAME}-${GITVERSION}
9
10
MAINTAINER=	femc7488@gmail.com
11
COMMENT=	A compositor for X11
12
13
BUILD_DEPENDS=	asciidoc:${PORTSDIR}/textproc/asciidoc \
14
		docbook-xml=4.5:${PORTSDIR}/textproc/docbook-xml-450
15
LIB_DEPENDS=	config:${PORTSDIR}/devel/libconfig \
16
		pcre:${PORTSDIR}/devel/pcre
17
18
USE_XORG=	x11 xcomposite xfixes xdamage xrender xext xrandr
19
USE_GMAKE=	yes
20
USE_PKGCONFIG=	yes
21
22
MAKE_ARGS=	COMPTON_VERSION=git-${GITVERSION}-fbsd
23
ALL_TARGET=	compton
24
25
FETCH_ARGS=	-pRr
26
GITHUB_USER=	chjj
27
GITVERSION=	2182505
28
29
.if !defined(NOPORTDOCS)
30
PORTDOCS=	README.md compton.sample.conf cdbus-driver.sh
31
MAN1=		compton.1 compton-trans.1
32
MAKE_ARGS+=	DOCDIR=${DOCSDIR} \
33
		MANDIR=${MANPREFIX}/man/man1
34
.endif
35
36
OPTIONS_DEFINE=	DRM OPENGL DBUS
37
OPTIONS_DEFAULT=DRM OPENGL
38
39
DRM_DESC=	DRM Vsync Support
40
OPENGL_DESC=	OpenGL Vsync Support
41
DBUS_DESC=	D-Bus Support
42
43
.include <bsd.port.options.mk>
44
45
.if ${PORT_OPTIONS:MDRM}
46
LIB_DEPENDS+=	drm:${PORTSDIR}/graphics/libdrm
47
.else
48
MAKE_ARGS+=	NO_VSYNC_DRM=yes
49
.endif
50
51
.if ${PORT_OPTIONS:MOPENGL}
52
USE_GL=		gl
53
.else
54
MAKE_ARGS+=	NO_VSYNC_OPENGL=yes
55
.endif
56
57
.if ${PORT_OPTIONS:MDBUS}
58
LIB_DEPENDS+=	dbus-1:${PORTSDIR}/devel/dbus
59
.else
60
MAKE_ARGS+=	NO_DBUS=yes
61
.endif
62
63
.include <bsd.port.mk>
(-)x11-wm/compton/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (chjj-compton-2182505.tar.gz) = cf022e0825555fdf82046a0534b2f6f5463c3ab6285b03ea3c647dd55950d916
2
SIZE (chjj-compton-2182505.tar.gz) = 107968
(-)x11-wm/compton/files/patch-c2.h (+15 lines)
Line 0 Link Here
1
--- src/c2.h.orig	2013-02-06 01:40:34.000000000 +0800
2
+++ src/c2.h	2013-02-06 01:40:53.000000000 +0800
3
@@ -35,10 +35,8 @@
4
 /// Pointer to a condition tree.
5
 typedef struct {
6
   bool isbranch : 1;
7
-  union {
8
-    c2_b_t *b;
9
-    c2_l_t *l;
10
-  };
11
+  c2_b_t *b;
12
+  c2_l_t *l;
13
 } c2_ptr_t;
14
 
15
 /// Initializer for c2_ptr_t.
(-)x11-wm/compton/pkg-descr (+11 lines)
Line 0 Link Here
1
Compton is a compositor for X, and a fork of xcompmgr-dana.
2
3
I was frustrated by the low amount of standalone lightweight compositors. 
4
Compton was forked from Dana Jansens' fork of xcompmgr and refactored. 
5
I fixed whatever bug I found, and added features I wanted. 
6
Things seem stable, but don't quote me on it. 
7
I will most likely be actively working on this until I get the features I want.
8
This is also a learning experience for me. 
9
That is, I'm partially doing this out of a desire to learn Xlib.
10
11
WWW: https://github.com/chjj/compton
(-)x11-wm/compton/pkg-plist (+3 lines)
Line 0 Link Here
1
@comment $FreeBSD$
2
bin/compton
3
bin/compton-trans

Return to bug 176480