Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2017 15:09:44 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r444032 - in head/misc: . unclutter-xfixes unclutter-xfixes/files
Message-ID:  <201706211509.v5LF9iOi083001@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Wed Jun 21 15:09:44 2017
New Revision: 444032
URL: https://svnweb.freebsd.org/changeset/ports/444032

Log:
  This is a rewrite of the popular tool unclutter, but using the x11-xfixes
  extension. This means that this rewrite doesn't use fake windows or
  pointer grabbing and hence causes less problems with window managers
  and/or applications.
  
  WWW: https://github.com/Airblader/unclutter-xfixes
  
  PR:		210302
  Submitted by:	Oleg Gushchenkov <gor@clogic.com.ua>
  Differential Revision:		 https://reviews.freebsd.org/D6785

Added:
  head/misc/unclutter-xfixes/
  head/misc/unclutter-xfixes/Makefile   (contents, props changed)
  head/misc/unclutter-xfixes/distinfo   (contents, props changed)
  head/misc/unclutter-xfixes/files/
  head/misc/unclutter-xfixes/files/patch-Makefile   (contents, props changed)
  head/misc/unclutter-xfixes/pkg-descr   (contents, props changed)
Modified:
  head/misc/Makefile

Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile	Wed Jun 21 12:44:39 2017	(r444031)
+++ head/misc/Makefile	Wed Jun 21 15:09:44 2017	(r444032)
@@ -476,6 +476,7 @@
     SUBDIR += uk-postcodes
     SUBDIR += umodunpack
     SUBDIR += unclutter
+    SUBDIR += unclutter-xfixes
     SUBDIR += upclient
     SUBDIR += us-zipcodes
     SUBDIR += usbids

Added: head/misc/unclutter-xfixes/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/unclutter-xfixes/Makefile	Wed Jun 21 15:09:44 2017	(r444032)
@@ -0,0 +1,34 @@
+# Created by: Oleg Gushchenkov <gor@clogic.com.ua>
+# $FreeBSD$
+
+PORTNAME=	unclutter-xfixes
+PORTVERSION=	1.1
+DISTVERSIONPREFIX=	v
+CATEGORIES=	misc
+
+MAINTAINER=	gor@clogic.com.ua
+COMMENT=	Rewrite of unclutter using the x11-xfixes extension
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	a2x:textproc/asciidoc
+LIB_DEPENDS=	libev.so:devel/libev
+
+CONFLICTS_INSTALL=	unclutter-8*
+
+CFLAGS+=	-I${LOCALBASE}/include
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	Airblader
+
+USE_XORG=	x11 xi xfixes
+
+USES=		gmake pkgconfig
+
+PLIST_FILES=	bin/unclutter \
+		man/man1/unclutter.1.gz
+
+MAKE_ENV+=	UNCLUTTER_VERSION=${PORTVERSION}
+MAKE_ARGS=	CC=${CC}
+
+.include <bsd.port.mk>

Added: head/misc/unclutter-xfixes/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/unclutter-xfixes/distinfo	Wed Jun 21 15:09:44 2017	(r444032)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1465305813
+SHA256 (Airblader-unclutter-xfixes-v1.1_GH0.tar.gz) = 91635c64a2075cb4e8926d84c09931c957e5f1d824a249cddb7ec109378090ad
+SIZE (Airblader-unclutter-xfixes-v1.1_GH0.tar.gz) = 5812

Added: head/misc/unclutter-xfixes/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/unclutter-xfixes/files/patch-Makefile	Wed Jun 21 15:09:44 2017	(r444032)
@@ -0,0 +1,32 @@
+Index: Makefile
+===================================================================
+--- Makefile.orig	2016-05-16 09:27:55 UTC
++++ Makefile
+@@ -4,9 +4,9 @@ IDIR = include
+ ODIR = obj
+ 
+ INSTALL = install
+-PREFIX = /usr/bin
+ 
+-MANDIR = /usr/share/man/man1
++BINDIR = /bin
++MANDIR = /man/man1
+ 
+ CC = gcc
+ CFLAGS += -I$(IDIR)
+@@ -32,12 +32,12 @@ $(TARGET): $(OBJS)
+ 	$(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
+ 
+ $(ODIR)/%.o: $(SDIR)/%.c $(INCS)
+-	$(CC) -D'__VERSION="$(shell git describe --all --long --always)"' $(CFLAGS) -o $@ -c $<
++	$(CC) -D'__VERSION="$(UNCLUTTER_VERSION)"' $(CFLAGS) -o $@ -c $<
+ 
+ .PHONY: install
+ install: $(TARGET)
+-	$(INSTALL) -Dm 0755 $(TARGET) $(DESTDIR)$(PREFIX)/$(TARGET)
+-	$(INSTALL) -Dm 0644 man/unclutter-xfixes.1 $(DESTDIR)$(MANDIR)/unclutter.1
++	$(BSD_INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(PREFIX)$(BINDIR)/$(TARGET)
++	$(BSD_INSTALL_MAN) man/unclutter-xfixes.1 $(DESTDIR)$(PREFIX)$(MANDIR)/$(TARGET).1
+ 
+ .PHONY: uninstall
+ uninstall:

Added: head/misc/unclutter-xfixes/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/unclutter-xfixes/pkg-descr	Wed Jun 21 15:09:44 2017	(r444032)
@@ -0,0 +1,6 @@
+This is a rewrite of the popular tool unclutter, but using the x11-xfixes
+extension. This means that this rewrite doesn't use fake windows or
+pointer grabbing and hence causes less problems with window managers
+and/or applications.
+
+WWW: https://github.com/Airblader/unclutter-xfixes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706211509.v5LF9iOi083001>