From owner-svn-ports-all@freebsd.org Sun Jul 3 18:05:10 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E1BBB90BD6; Sun, 3 Jul 2016 18:05:10 +0000 (UTC) (envelope-from pawel@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 mx1.freebsd.org (Postfix) with ESMTPS id 47D452309; Sun, 3 Jul 2016 18:05:10 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u63I59Hf071489; Sun, 3 Jul 2016 18:05:09 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u63I59AC071484; Sun, 3 Jul 2016 18:05:09 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201607031805.u63I59AC071484@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Sun, 3 Jul 2016 18:05:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417984 - in head/x11: . xkb-switch xkb-switch/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2016 18:05:10 -0000 Author: pawel Date: Sun Jul 3 18:05:08 2016 New Revision: 417984 URL: https://svnweb.freebsd.org/changeset/ports/417984 Log: Small program that allows to query and change the XKB layout state from command line. WWW: https://github.com/ierton/xkb-switch PR: 210501 Submitted by: Dmitri Goutnik Added: head/x11/xkb-switch/ head/x11/xkb-switch/Makefile (contents, props changed) head/x11/xkb-switch/distinfo (contents, props changed) head/x11/xkb-switch/files/ head/x11/xkb-switch/files/patch-CMakeLists.txt (contents, props changed) head/x11/xkb-switch/pkg-descr (contents, props changed) Modified: head/x11/Makefile Modified: head/x11/Makefile ============================================================================== --- head/x11/Makefile Sun Jul 3 17:55:05 2016 (r417983) +++ head/x11/Makefile Sun Jul 3 18:05:08 2016 (r417984) @@ -395,6 +395,7 @@ SUBDIR += xineramaproto SUBDIR += xinit SUBDIR += xinput + SUBDIR += xkb-switch SUBDIR += xkbcomp SUBDIR += xkbctrl SUBDIR += xkbevd Added: head/x11/xkb-switch/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xkb-switch/Makefile Sun Jul 3 18:05:08 2016 (r417984) @@ -0,0 +1,32 @@ +# Created by: Dmitri Goutnik +# $FreeBSD$ + +PORTNAME= xkb-switch +PORTVERSION= 0.0.20160417 +CATEGORIES= x11 + +MAINTAINER= dg@syrec.org +COMMENT= Switch your X keyboard layouts from the command line + +LICENSE= GPLv3 + +USE_GITHUB= yes +GH_ACCOUNT= ierton +GH_TAGNAME= e6266a1 + +USES= cmake +USE_XORG= x11 xkbfile +USE_LDCONFIG= yes + +OPTIONS_DEFINE= DOCS + +PLIST_FILES= bin/xkb-switch \ + lib/libxkbswitch.so + +PORTDOCS= README.md + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +.include Added: head/x11/xkb-switch/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xkb-switch/distinfo Sun Jul 3 18:05:08 2016 (r417984) @@ -0,0 +1,3 @@ +TIMESTAMP = 1467568131 +SHA256 (ierton-xkb-switch-0.0.20160417-e6266a1_GH0.tar.gz) = 5dd873c6a89a07fe18261a01eb168a2d23da47603ca0f2bd531afd68f0a90da7 +SIZE (ierton-xkb-switch-0.0.20160417-e6266a1_GH0.tar.gz) = 18840 Added: head/x11/xkb-switch/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xkb-switch/files/patch-CMakeLists.txt Sun Jul 3 18:05:08 2016 (r417984) @@ -0,0 +1,14 @@ +--- CMakeLists.txt.orig 2016-04-17 08:55:32 UTC ++++ CMakeLists.txt +@@ -4,6 +4,11 @@ PROJECT( XKB-SWITCH ) + + FIND_PROGRAM(CTAGS ctags) + ++FIND_PACKAGE(X11 REQUIRED) ++ ++INCLUDE_DIRECTORIES(${X11_INCLUDE_DIR}) ++LINK_DIRECTORIES(${X11_LIBRARY_DIR}) ++ + ADD_EXECUTABLE(xkb-switch XKbSwitch.cpp XKeyboard.cpp) + + TARGET_LINK_LIBRARIES(xkb-switch X11 xkbfile) Added: head/x11/xkb-switch/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xkb-switch/pkg-descr Sun Jul 3 18:05:08 2016 (r417984) @@ -0,0 +1,4 @@ +Small program that allows to query and change the XKB layout state from +command line. + +WWW: https://github.com/ierton/xkb-switch