[gentoo-commits] repo/gentoo:master commit in: dev-libs/wlroots/

2019-02-22 Thread Aaron Bauman
commit: 8b43c5710111258e7ee142a1a6ba854f0af20d87
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Feb 22 22:30:43 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Feb 22 22:30:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b43c571

dev-libs/wlroot: drop and move to gui-libs/*

Signed-off-by: Aaron Bauman  gentoo.org>

 dev-libs/wlroots/Manifest|   2 -
 dev-libs/wlroots/metadata.xml|  40 --
 dev-libs/wlroots/wlroots-0.2.ebuild  | 101 ---
 dev-libs/wlroots/wlroots-0.3.ebuild  | 101 ---
 dev-libs/wlroots/wlroots-.ebuild | 101 ---
 5 files changed, 345 deletions(-)

diff --git a/dev-libs/wlroots/Manifest b/dev-libs/wlroots/Manifest
deleted file mode 100644
index a4c642cf78c..000
--- a/dev-libs/wlroots/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST wlroots-0.2.tar.gz 437638 BLAKE2B 
dd7ca737ba2dfc00e30c83e973616cefb77fccb793161794361422a2fcbdf7299aacea8d794b910fdf06c9a191a89f7f1530d312545d08d126a729be41eeb424
 SHA512 
b7727b29ed7e5188d5fa6099687f8e6f48b6b3f17f7a6e136956ad6b607054595de3779118bffd4b9730115eaca2f00c2d30d52f4915b2753a749432ec0c3f2a
-DIST wlroots-0.3.tar.gz 473490 BLAKE2B 
552bcc5d8bb847dbac5caaddeac830a4de25b4cc80abb6c8b8e610b5e40cc20ff50a145fdfb6bb5f0aa53d218400777ca7a5982c74eb01bd973109b2f8fd7938
 SHA512 
ccec1426e6ac86fa63f82763d123162fca5be25fb37bbb44a5de651a7764f5325ef21cbe2cf698cb315f0de4719a6bac8eb0ceeffe2111de7c9f4b59e019

diff --git a/dev-libs/wlroots/metadata.xml b/dev-libs/wlroots/metadata.xml
deleted file mode 100644
index 5fb5999bdba..000
--- a/dev-libs/wlroots/metadata.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   b...@gentoo.org
-   Aaron Bauman
-   
-   
-   speedjac...@gmail.com
-   Niccolò Scatena
-   
-   
-   Pluggable, composable, unopinionated modules for building a 
Wayland
-   compositor.
-
-   wlroots implements a huge variety of Wayland compositor 
features and
-   implements them right. By using wlroots, you get high 
performance,
-   excellent hardware compatibility, broad support for many wayland
-   interfaces, and comfortable development tools.
-
-   wlroots is developed under the direction of the 
dev-libs/sway project.
-   
-   
-   Enable support for rootless session via 
elogind
-   Use xcb-icccm (from 
x11-libs/xcb-util-wm) util library for improved Xwayland 
introspection
-   Build the rootston example 
compositor
-   Enable support for handling 
input/output devices through x11-libs/libxcb
-   Enable support for X11 applications 
(XWayland)
-   
-   
-   swaywm/wlroots
-   
-   s...@cmpwn.com
-   Drew DeVault
-   
-   https://github.com/swaywm/wlroots/issues
-   https://github.com/swaywm/wlroots/wiki
-   
https://github.com/swaywm/wlroots/releases
-   
-

diff --git a/dev-libs/wlroots/wlroots-0.2.ebuild 
b/dev-libs/wlroots/wlroots-0.2.ebuild
deleted file mode 100644
index a3427d6c6fc..000
--- a/dev-libs/wlroots/wlroots-0.2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit fcaps meson
-
-DESCRIPTION="Pluggable, composable, unopinionated modules for building a 
Wayland compositor"
-HOMEPAGE="https://github.com/swaywm/wlroots";
-
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://github.com/swaywm/${PN}.git";
-   inherit git-r3
-else
-   SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="elogind icccm rootston systemd x11-backend X"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-   >=dev-libs/libinput-1.7.0:0=
-   >=dev-libs/wayland-1.16.0
-   media-libs/mesa[egl,gles2,gbm]
-   virtual/libudev
-   x11-libs/libdrm
-   x11-libs/libxkbcommon
-   x11-libs/pixman
-   elogind? ( >=sys-auth/elogind-237 )
-   icccm? ( x11-libs/xcb-util-wm )
-   systemd? ( >=sys-apps/systemd-237 )
-   x11-backend? ( x11-libs/libxcb:0= )
-   X? (
-   x11-base/xorg-server[wayland]
-   x11-libs/libxcb:0=
-   x11-libs/xcb-util-image
-   )
-"
-RDEPEND="
-   ${DEPEND}
-"
-BDEPEND="
-   >=dev-libs/wayland-protocols-1.15
-   virtual/pkgconfig
-"
-
-FILECAPS=( cap_sys_admin usr/bin/rootston )
-
-src_configure() {
-   # xcb-util-errors is not on Gentoo Repository (and upstream seems 
inactive?)
-   local emesonargs=(
-   "-Dxcb-errors=disabled"
- 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/wlroots/

2019-02-12 Thread Aaron Bauman
commit: 6100172b37a08a6b7e0d75c78b4152e7e03b2622
Author: Niccolò Scatena  gmail  com>
AuthorDate: Mon Feb 11 10:53:10 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Feb 13 00:04:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6100172b

dev-libs/wlroots: remove old ebuild

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Niccolò Scatena  gmail.com>
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-libs/wlroots/Manifest   |   1 -
 dev-libs/wlroots/wlroots-0.1.ebuild | 102 
 2 files changed, 103 deletions(-)

diff --git a/dev-libs/wlroots/Manifest b/dev-libs/wlroots/Manifest
index b2061e0ff0d..a4c642cf78c 100644
--- a/dev-libs/wlroots/Manifest
+++ b/dev-libs/wlroots/Manifest
@@ -1,3 +1,2 @@
-DIST wlroots-0.1.tar.gz 436459 BLAKE2B 
8545adb7a9ffe1c4b071ddad1093472f45b24638b29b3c2898b4aa3629c364936be7bec348c9aac5a7d3ecda677df108361fbef08cda8fca9c6bb21639883c86
 SHA512 
43897ac5a512ea26ad9703182dab5de9c714a087449b108472f638148538a632a67cfc778edf3e77940fdd7bdba91d64a4dc4e4ed1903a150f13ca59237ce01e
 DIST wlroots-0.2.tar.gz 437638 BLAKE2B 
dd7ca737ba2dfc00e30c83e973616cefb77fccb793161794361422a2fcbdf7299aacea8d794b910fdf06c9a191a89f7f1530d312545d08d126a729be41eeb424
 SHA512 
b7727b29ed7e5188d5fa6099687f8e6f48b6b3f17f7a6e136956ad6b607054595de3779118bffd4b9730115eaca2f00c2d30d52f4915b2753a749432ec0c3f2a
 DIST wlroots-0.3.tar.gz 473490 BLAKE2B 
552bcc5d8bb847dbac5caaddeac830a4de25b4cc80abb6c8b8e610b5e40cc20ff50a145fdfb6bb5f0aa53d218400777ca7a5982c74eb01bd973109b2f8fd7938
 SHA512 
ccec1426e6ac86fa63f82763d123162fca5be25fb37bbb44a5de651a7764f5325ef21cbe2cf698cb315f0de4719a6bac8eb0ceeffe2111de7c9f4b59e019

diff --git a/dev-libs/wlroots/wlroots-0.1.ebuild 
b/dev-libs/wlroots/wlroots-0.1.ebuild
deleted file mode 100644
index ccb05632597..000
--- a/dev-libs/wlroots/wlroots-0.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit fcaps meson
-
-DESCRIPTION="Pluggable, composable, unopinionated modules for building a 
Wayland compositor"
-HOMEPAGE="https://github.com/swaywm/wlroots";
-
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://github.com/swaywm/${PN}.git";
-   inherit git-r3
-else
-   SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="elogind icccm rootston systemd x11-backend X"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
-   >=dev-libs/libinput-1.7.0:0=
-   >=dev-libs/wayland-1.16.0
-   media-libs/mesa[egl,gles2,gbm]
-   virtual/libudev
-   x11-libs/libdrm
-   x11-libs/libxkbcommon
-   x11-libs/pixman
-   elogind? ( >=sys-auth/elogind-237 )
-   icccm? ( x11-libs/xcb-util-wm )
-   systemd? ( >=sys-apps/systemd-237 )
-   x11-backend? ( x11-libs/libxcb:0=[xkb] )
-   X? (
-   x11-base/xorg-server[wayland]
-   x11-libs/libxcb:0=
-   x11-libs/xcb-util-image
-   )
-"
-RDEPEND="
-   ${DEPEND}
-"
-BDEPEND="
-   >=dev-libs/wayland-protocols-1.15
-   virtual/pkgconfig
-"
-
-FILECAPS=( cap_sys_admin usr/bin/rootston )
-
-src_configure() {
-   # xcb-util-errors is not on Gentoo Repository (and upstream seems 
inactive?)
-   local emesonargs=(
-   "-Dxcb-errors=disabled"
-   -Dlibcap=$(usex filecaps enabled disabled)
-   -Dxcb-icccm=$(usex icccm enabled disabled)
-   -Dxcb-xkb=$(usex x11-backend enabled disabled)
-   -Dxwayland=$(usex X enabled disabled)
-   -Dx11-backend=$(usex x11-backend enabled disabled)
-   $(meson_use rootston)
-   "-Dexamples=false"
-   "-Dwerror=false"
-   )
-   if use systemd; then
-   emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
-   elif use elogind; then
-   emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
-   else
-   emesonargs+=("-Dlogind=disabled")
-   fi
-
-   meson_src_configure
-}
-
-src_install() {
-   if use rootston; then
-   dobin "${BUILD_DIR}"/rootston/rootston
-   newdoc rootston/rootston.ini.example rootston.ini
-   fi
-
-   meson_src_install
-}
-
-pkg_postinst() {
-   elog "You must be in the input group to allow your compositor"
-   elog "to access input devices via libinput."
-   if use rootston; then
-   elog ""
-   elog "You should copy (and decompress) the example 
configuration file"
-   elog "from ${EROOT:-${ROOT}}/usr/share/doc/${PF}/rootston.ini"
-   elog "to the working directory from where you launch rootston"
-   elog "(or pass the '-C path-to-config' option to rootston)."
-   if ! use systemd && ! use elo

[gentoo-commits] repo/gentoo:master commit in: dev-libs/wlroots/

2019-02-12 Thread Aaron Bauman
commit: da7d9e85b3a40e802423651197c2928285baed20
Author: Niccolò Scatena  gmail  com>
AuthorDate: Sat Feb  9 15:43:51 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Feb 13 00:04:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da7d9e85

dev-libs/wlroots: minor fixes

 - Update copyright header in all versions;

 - Use ${PN} wherever possible;

 - Remove explicit dependency on meson (no longer required);

 - Fix the order of (R)DEPEND;

 - wayland-protocols is a build-time dependency: move it in BDEPEND;

 - Add xcb-util-image dependency (required);

 - Remove `xkb` flag from libxcb dep (not required for >=wlroots-0.2).

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Niccolò Scatena  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11017
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-libs/wlroots/metadata.xml|  2 +-
 dev-libs/wlroots/wlroots-0.1.ebuild  | 48 
 dev-libs/wlroots/wlroots-0.2.ebuild  | 48 
 dev-libs/wlroots/wlroots-0.3.ebuild  | 48 
 dev-libs/wlroots/wlroots-.ebuild | 48 
 5 files changed, 109 insertions(+), 85 deletions(-)

diff --git a/dev-libs/wlroots/metadata.xml b/dev-libs/wlroots/metadata.xml
index c5b96abdf82..5fb5999bdba 100644
--- a/dev-libs/wlroots/metadata.xml
+++ b/dev-libs/wlroots/metadata.xml
@@ -9,7 +9,7 @@
speedjac...@gmail.com
Niccolò Scatena

-   
+   
Pluggable, composable, unopinionated modules for building a 
Wayland
compositor.
 

diff --git a/dev-libs/wlroots/wlroots-0.1.ebuild 
b/dev-libs/wlroots/wlroots-0.1.ebuild
index eae2493458c..ccb05632597 100644
--- a/dev-libs/wlroots/wlroots-0.1.ebuild
+++ b/dev-libs/wlroots/wlroots-0.1.ebuild
@@ -1,29 +1,29 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-if [[ ${PV} ==  ]] ; then
-   EGIT_REPO_URI="https://github.com/swaywm/wlroots.git";
-   inherit git-r3
-else
-   SRC_URI="https://github.com/swaywm/wlroots/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
 inherit fcaps meson
 
 DESCRIPTION="Pluggable, composable, unopinionated modules for building a 
Wayland compositor"
 HOMEPAGE="https://github.com/swaywm/wlroots";
 
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://github.com/swaywm/${PN}.git";
+   inherit git-r3
+else
+   SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
 LICENSE="MIT"
 SLOT="0"
 IUSE="elogind icccm rootston systemd x11-backend X"
 REQUIRED_USE="?? ( elogind systemd )"
 
-RDEPEND=">=dev-libs/libinput-1.7.0:0=
+DEPEND="
+   >=dev-libs/libinput-1.7.0:0=
>=dev-libs/wayland-1.16.0
-   >=dev-libs/wayland-protocols-1.15
media-libs/mesa[egl,gles2,gbm]
virtual/libudev
x11-libs/libdrm
@@ -36,10 +36,16 @@ RDEPEND=">=dev-libs/libinput-1.7.0:0=
X? (
x11-base/xorg-server[wayland]
x11-libs/libxcb:0=
-   )"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-util/meson-0.48
-   virtual/pkgconfig"
+   x11-libs/xcb-util-image
+   )
+"
+RDEPEND="
+   ${DEPEND}
+"
+BDEPEND="
+   >=dev-libs/wayland-protocols-1.15
+   virtual/pkgconfig
+"
 
 FILECAPS=( cap_sys_admin usr/bin/rootston )
 
@@ -52,13 +58,13 @@ src_configure() {
-Dxcb-xkb=$(usex x11-backend enabled disabled)
-Dxwayland=$(usex X enabled disabled)
-Dx11-backend=$(usex x11-backend enabled disabled)
-   -Drootston=$(usex rootston true false)
+   $(meson_use rootston)
"-Dexamples=false"
"-Dwerror=false"
)
-   if use systemd ; then
+   if use systemd; then
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
-   elif use elogind ; then
+   elif use elogind; then
emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
else
emesonargs+=("-Dlogind=disabled")
@@ -68,7 +74,7 @@ src_configure() {
 }
 
 src_install() {
-   if use rootston ; then
+   if use rootston; then
dobin "${BUILD_DIR}"/rootston/rootston
newdoc rootston/rootston.ini.example rootston.ini
fi
@@ -79,13 +85,13 @@ src_install() {
 pkg_postinst() {
elog "You must be in the input group to allow your compositor"
elog "to access input devices via libinput."
-   if use rootston ; then
+   if use rootston; then
elog ""
elog "You should copy (and decompress) the example 
configuration file"
elog "from ${EROOT:-${ROOT}}/usr/share/doc/${PF}/rootston.ini"
   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/wlroots/

2019-02-08 Thread Matthew Thode
commit: c50bff0c3c8f8812bc005c066c98e4e01b66cc3d
Author: Matthew Thode  gentoo  org>
AuthorDate: Sat Feb  9 00:53:36 2019 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Sat Feb  9 02:22:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c50bff0c

dev-libs/wlroots: 0.3 bump

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode  gentoo.org>

 dev-libs/wlroots/Manifest   |  1 +
 dev-libs/wlroots/wlroots-0.3.ebuild | 95 +
 2 files changed, 96 insertions(+)

diff --git a/dev-libs/wlroots/Manifest b/dev-libs/wlroots/Manifest
index 8ae2dd30dcd..b2061e0ff0d 100644
--- a/dev-libs/wlroots/Manifest
+++ b/dev-libs/wlroots/Manifest
@@ -1,2 +1,3 @@
 DIST wlroots-0.1.tar.gz 436459 BLAKE2B 
8545adb7a9ffe1c4b071ddad1093472f45b24638b29b3c2898b4aa3629c364936be7bec348c9aac5a7d3ecda677df108361fbef08cda8fca9c6bb21639883c86
 SHA512 
43897ac5a512ea26ad9703182dab5de9c714a087449b108472f638148538a632a67cfc778edf3e77940fdd7bdba91d64a4dc4e4ed1903a150f13ca59237ce01e
 DIST wlroots-0.2.tar.gz 437638 BLAKE2B 
dd7ca737ba2dfc00e30c83e973616cefb77fccb793161794361422a2fcbdf7299aacea8d794b910fdf06c9a191a89f7f1530d312545d08d126a729be41eeb424
 SHA512 
b7727b29ed7e5188d5fa6099687f8e6f48b6b3f17f7a6e136956ad6b607054595de3779118bffd4b9730115eaca2f00c2d30d52f4915b2753a749432ec0c3f2a
+DIST wlroots-0.3.tar.gz 473490 BLAKE2B 
552bcc5d8bb847dbac5caaddeac830a4de25b4cc80abb6c8b8e610b5e40cc20ff50a145fdfb6bb5f0aa53d218400777ca7a5982c74eb01bd973109b2f8fd7938
 SHA512 
ccec1426e6ac86fa63f82763d123162fca5be25fb37bbb44a5de651a7764f5325ef21cbe2cf698cb315f0de4719a6bac8eb0ceeffe2111de7c9f4b59e019

diff --git a/dev-libs/wlroots/wlroots-0.3.ebuild 
b/dev-libs/wlroots/wlroots-0.3.ebuild
new file mode 100644
index 000..c762765d60b
--- /dev/null
+++ b/dev-libs/wlroots/wlroots-0.3.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://github.com/swaywm/wlroots.git";
+   inherit git-r3
+else
+   SRC_URI="https://github.com/swaywm/wlroots/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+inherit fcaps meson
+
+DESCRIPTION="Pluggable, composable, unopinionated modules for building a 
Wayland compositor"
+HOMEPAGE="https://github.com/swaywm/wlroots";
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="elogind icccm rootston systemd x11-backend X"
+REQUIRED_USE="?? ( elogind systemd )"
+
+RDEPEND=">=dev-libs/libinput-1.7.0:0=
+   >=dev-libs/wayland-1.16.0
+   >=dev-libs/wayland-protocols-1.15
+   media-libs/mesa[egl,gles2,gbm]
+   virtual/libudev
+   x11-libs/libdrm
+   x11-libs/libxkbcommon
+   x11-libs/pixman
+   elogind? ( >=sys-auth/elogind-237 )
+   icccm? ( x11-libs/xcb-util-wm )
+   systemd? ( >=sys-apps/systemd-237 )
+   x11-backend? ( x11-libs/libxcb:0=[xkb] )
+   X? (
+   x11-base/xorg-server[wayland]
+   x11-libs/libxcb:0=
+   )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/meson-0.48
+   virtual/pkgconfig"
+
+FILECAPS=( cap_sys_admin usr/bin/rootston )
+
+src_configure() {
+   # xcb-util-errors is not on Gentoo Repository (and upstream seems 
inactive?)
+   local emesonargs=(
+   "-Dxcb-errors=disabled"
+   -Dlibcap=$(usex filecaps enabled disabled)
+   -Dxcb-icccm=$(usex icccm enabled disabled)
+   -Dxwayland=$(usex X enabled disabled)
+   -Dx11-backend=$(usex x11-backend enabled disabled)
+   -Drootston=$(usex rootston true false)
+   "-Dexamples=false"
+   "-Dwerror=false"
+   )
+   if use systemd ; then
+   emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
+   elif use elogind ; then
+   emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
+   else
+   emesonargs+=("-Dlogind=disabled")
+   fi
+
+   meson_src_configure
+}
+
+src_install() {
+   if use rootston ; then
+   dobin "${BUILD_DIR}"/rootston/rootston
+   newdoc rootston/rootston.ini.example rootston.ini
+   fi
+
+   meson_src_install
+}
+
+pkg_postinst() {
+   elog "You must be in the input group to allow your compositor"
+   elog "to access input devices via libinput."
+   if use rootston ; then
+   elog ""
+   elog "You should copy (and decompress) the example 
configuration file"
+   elog "from ${EROOT:-${ROOT}}/usr/share/doc/${PF}/rootston.ini"
+   elog "to the working directory from where you launch rootston"
+   elog "(or pass the '-C path-to-config' option to rootston)."
+   if ! use systemd && ! use elogind ; then
+   elog ""
+   elog "If you use ConsoleKit2, remember to launch 
rootston using:"
+

[gentoo-commits] repo/gentoo:master commit in: dev-libs/wlroots/

2018-12-01 Thread Aaron Bauman
commit: a8f653fd1f4c3811e9a8896f8032b6bb888d1a11
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Dec  2 00:24:27 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Dec  2 00:27:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8f653fd

dev-libs/wlroots: add myself as a maintainer; drop proxy-maint

Signed-off-by: Aaron Bauman  gentoo.org>

 dev-libs/wlroots/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-libs/wlroots/metadata.xml b/dev-libs/wlroots/metadata.xml
index b97edbb562b..c5b96abdf82 100644
--- a/dev-libs/wlroots/metadata.xml
+++ b/dev-libs/wlroots/metadata.xml
@@ -1,14 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
+   
+   b...@gentoo.org
+   Aaron Bauman
+   

speedjac...@gmail.com
Niccolò Scatena

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

Pluggable, composable, unopinionated modules for building a 
Wayland
compositor.



[gentoo-commits] repo/gentoo:master commit in: dev-libs/wlroots/

2018-12-01 Thread Aaron Bauman
commit: 1fe0463be03afbf8e9a06a9ed0abc6a1a6fc0f17
Author: Niccolò Scatena  gmail  com>
AuthorDate: Fri Nov 30 12:57:31 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Dec  1 17:41:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fe0463b

dev-libs/wlroots: version bump to 0.2

Signed-off-by: Niccolò Scatena  gmail.com>
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Closes: https://github.com/gentoo/gentoo/pull/10527
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-libs/wlroots/Manifest   |  1 +
 dev-libs/wlroots/wlroots-0.2.ebuild | 95 +
 2 files changed, 96 insertions(+)

diff --git a/dev-libs/wlroots/Manifest b/dev-libs/wlroots/Manifest
index 9ea97695e85..8ae2dd30dcd 100644
--- a/dev-libs/wlroots/Manifest
+++ b/dev-libs/wlroots/Manifest
@@ -1 +1,2 @@
 DIST wlroots-0.1.tar.gz 436459 BLAKE2B 
8545adb7a9ffe1c4b071ddad1093472f45b24638b29b3c2898b4aa3629c364936be7bec348c9aac5a7d3ecda677df108361fbef08cda8fca9c6bb21639883c86
 SHA512 
43897ac5a512ea26ad9703182dab5de9c714a087449b108472f638148538a632a67cfc778edf3e77940fdd7bdba91d64a4dc4e4ed1903a150f13ca59237ce01e
+DIST wlroots-0.2.tar.gz 437638 BLAKE2B 
dd7ca737ba2dfc00e30c83e973616cefb77fccb793161794361422a2fcbdf7299aacea8d794b910fdf06c9a191a89f7f1530d312545d08d126a729be41eeb424
 SHA512 
b7727b29ed7e5188d5fa6099687f8e6f48b6b3f17f7a6e136956ad6b607054595de3779118bffd4b9730115eaca2f00c2d30d52f4915b2753a749432ec0c3f2a

diff --git a/dev-libs/wlroots/wlroots-0.2.ebuild 
b/dev-libs/wlroots/wlroots-0.2.ebuild
new file mode 100644
index 000..c3bccd9f7fe
--- /dev/null
+++ b/dev-libs/wlroots/wlroots-0.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://github.com/swaywm/wlroots.git";
+   inherit git-r3
+else
+   SRC_URI="https://github.com/swaywm/wlroots/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+inherit fcaps meson
+
+DESCRIPTION="Pluggable, composable, unopinionated modules for building a 
Wayland compositor"
+HOMEPAGE="https://github.com/swaywm/wlroots";
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="elogind icccm rootston systemd x11-backend X"
+REQUIRED_USE="?? ( elogind systemd )"
+
+RDEPEND=">=dev-libs/libinput-1.7.0:0=
+   >=dev-libs/wayland-1.16.0
+   >=dev-libs/wayland-protocols-1.15
+   media-libs/mesa[egl,gles2,gbm]
+   virtual/libudev
+   x11-libs/libdrm
+   x11-libs/libxkbcommon
+   x11-libs/pixman
+   elogind? ( >=sys-auth/elogind-237 )
+   icccm? ( x11-libs/xcb-util-wm )
+   systemd? ( >=sys-apps/systemd-237 )
+   x11-backend? ( x11-libs/libxcb:0= )
+   X? (
+   x11-base/xorg-server[wayland]
+   x11-libs/libxcb:0=
+   )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/meson-0.48
+   virtual/pkgconfig"
+
+FILECAPS=( cap_sys_admin usr/bin/rootston )
+
+src_configure() {
+   # xcb-util-errors is not on Gentoo Repository (and upstream seems 
inactive?)
+   local emesonargs=(
+   "-Dxcb-errors=disabled"
+   -Dlibcap=$(usex filecaps enabled disabled)
+   -Dxcb-icccm=$(usex icccm enabled disabled)
+   -Dxwayland=$(usex X enabled disabled)
+   -Dx11-backend=$(usex x11-backend enabled disabled)
+   -Drootston=$(usex rootston true false)
+   "-Dexamples=false"
+   "-Dwerror=false"
+   )
+   if use systemd ; then
+   emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
+   elif use elogind ; then
+   emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
+   else
+   emesonargs+=("-Dlogind=disabled")
+   fi
+
+   meson_src_configure
+}
+
+src_install() {
+   if use rootston ; then
+   dobin "${BUILD_DIR}"/rootston/rootston
+   newdoc rootston/rootston.ini.example rootston.ini
+   fi
+
+   meson_src_install
+}
+
+pkg_postinst() {
+   elog "You must be in the input group to allow your compositor"
+   elog "to access input devices via libinput."
+   if use rootston ; then
+   elog ""
+   elog "You should copy (and decompress) the example 
configuration file"
+   elog "from ${EROOT:-${ROOT}}/usr/share/doc/${PF}/rootston.ini"
+   elog "to the working directory from where you launch rootston"
+   elog "(or pass the '-C path-to-config' option to rootston)."
+   if ! use systemd && ! use elogind ; then
+   elog ""
+   elog "If you use ConsoleKit2, remember to launch 
rootston using:"
+   elog "exec ck-launch-session rootston"
+
+   fcaps_pkg_postinst
+   fi
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/wlroots/

2018-12-01 Thread Aaron Bauman
commit: a2a963127f6934c52fb3932ce42a96600c23db5f
Author: Niccolò Scatena  gmail  com>
AuthorDate: Fri Nov 30 13:01:26 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Dec  1 17:41:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2a96312

dev-libs/wlroots: remove dependency xcb-xkb

Removed by upstream.

Signed-off-by: Niccolò Scatena  gmail.com>
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-libs/wlroots/wlroots-.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-libs/wlroots/wlroots-.ebuild 
b/dev-libs/wlroots/wlroots-.ebuild
index eae2493458c..c3bccd9f7fe 100644
--- a/dev-libs/wlroots/wlroots-.ebuild
+++ b/dev-libs/wlroots/wlroots-.ebuild
@@ -32,7 +32,7 @@ RDEPEND=">=dev-libs/libinput-1.7.0:0=
elogind? ( >=sys-auth/elogind-237 )
icccm? ( x11-libs/xcb-util-wm )
systemd? ( >=sys-apps/systemd-237 )
-   x11-backend? ( x11-libs/libxcb:0=[xkb] )
+   x11-backend? ( x11-libs/libxcb:0= )
X? (
x11-base/xorg-server[wayland]
x11-libs/libxcb:0=
@@ -49,7 +49,6 @@ src_configure() {
"-Dxcb-errors=disabled"
-Dlibcap=$(usex filecaps enabled disabled)
-Dxcb-icccm=$(usex icccm enabled disabled)
-   -Dxcb-xkb=$(usex x11-backend enabled disabled)
-Dxwayland=$(usex X enabled disabled)
-Dx11-backend=$(usex x11-backend enabled disabled)
-Drootston=$(usex rootston true false)



[gentoo-commits] repo/gentoo:master commit in: dev-libs/wlroots/

2018-10-30 Thread Michał Górny
commit: 9cde07e2d17ea005ca19a06ab44f08b4e4f7dd12
Author: Niccolò Scatena  gmail  com>
AuthorDate: Mon Oct 22 12:27:52 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 30 10:32:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cde07e2

dev-libs/wlroots: add live version 

Signed-off-by: Niccolò Scatena  gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10199
Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/wlroots/wlroots-.ebuild | 96 
 1 file changed, 96 insertions(+)

diff --git a/dev-libs/wlroots/wlroots-.ebuild 
b/dev-libs/wlroots/wlroots-.ebuild
new file mode 100644
index 000..eae2493458c
--- /dev/null
+++ b/dev-libs/wlroots/wlroots-.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://github.com/swaywm/wlroots.git";
+   inherit git-r3
+else
+   SRC_URI="https://github.com/swaywm/wlroots/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+inherit fcaps meson
+
+DESCRIPTION="Pluggable, composable, unopinionated modules for building a 
Wayland compositor"
+HOMEPAGE="https://github.com/swaywm/wlroots";
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="elogind icccm rootston systemd x11-backend X"
+REQUIRED_USE="?? ( elogind systemd )"
+
+RDEPEND=">=dev-libs/libinput-1.7.0:0=
+   >=dev-libs/wayland-1.16.0
+   >=dev-libs/wayland-protocols-1.15
+   media-libs/mesa[egl,gles2,gbm]
+   virtual/libudev
+   x11-libs/libdrm
+   x11-libs/libxkbcommon
+   x11-libs/pixman
+   elogind? ( >=sys-auth/elogind-237 )
+   icccm? ( x11-libs/xcb-util-wm )
+   systemd? ( >=sys-apps/systemd-237 )
+   x11-backend? ( x11-libs/libxcb:0=[xkb] )
+   X? (
+   x11-base/xorg-server[wayland]
+   x11-libs/libxcb:0=
+   )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/meson-0.48
+   virtual/pkgconfig"
+
+FILECAPS=( cap_sys_admin usr/bin/rootston )
+
+src_configure() {
+   # xcb-util-errors is not on Gentoo Repository (and upstream seems 
inactive?)
+   local emesonargs=(
+   "-Dxcb-errors=disabled"
+   -Dlibcap=$(usex filecaps enabled disabled)
+   -Dxcb-icccm=$(usex icccm enabled disabled)
+   -Dxcb-xkb=$(usex x11-backend enabled disabled)
+   -Dxwayland=$(usex X enabled disabled)
+   -Dx11-backend=$(usex x11-backend enabled disabled)
+   -Drootston=$(usex rootston true false)
+   "-Dexamples=false"
+   "-Dwerror=false"
+   )
+   if use systemd ; then
+   emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
+   elif use elogind ; then
+   emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
+   else
+   emesonargs+=("-Dlogind=disabled")
+   fi
+
+   meson_src_configure
+}
+
+src_install() {
+   if use rootston ; then
+   dobin "${BUILD_DIR}"/rootston/rootston
+   newdoc rootston/rootston.ini.example rootston.ini
+   fi
+
+   meson_src_install
+}
+
+pkg_postinst() {
+   elog "You must be in the input group to allow your compositor"
+   elog "to access input devices via libinput."
+   if use rootston ; then
+   elog ""
+   elog "You should copy (and decompress) the example 
configuration file"
+   elog "from ${EROOT:-${ROOT}}/usr/share/doc/${PF}/rootston.ini"
+   elog "to the working directory from where you launch rootston"
+   elog "(or pass the '-C path-to-config' option to rootston)."
+   if ! use systemd && ! use elogind ; then
+   elog ""
+   elog "If you use ConsoleKit2, remember to launch 
rootston using:"
+   elog "exec ck-launch-session rootston"
+
+   fcaps_pkg_postinst
+   fi
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/wlroots/

2018-10-30 Thread Michał Górny
commit: f691b4642a268fe36aaa30ba0427289a0e16121d
Author: Niccolò Scatena  gmail  com>
AuthorDate: Mon Oct 22 12:24:04 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 30 10:32:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f691b464

dev-libs/wlroots: new package (version 0.1)

wlroots is a library used to build a Wayland compositor. It is part of
the swaywm project and is required for >=sway-1.0. Sway is an
i3-compatible Wayland compositor.

Closes: https://bugs.gentoo.org/669256
Signed-off-by: Niccolò Scatena  gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/wlroots/Manifest   |  1 +
 dev-libs/wlroots/metadata.xml   | 40 
 dev-libs/wlroots/wlroots-0.1.ebuild | 96 +
 3 files changed, 137 insertions(+)

diff --git a/dev-libs/wlroots/Manifest b/dev-libs/wlroots/Manifest
new file mode 100644
index 000..9ea97695e85
--- /dev/null
+++ b/dev-libs/wlroots/Manifest
@@ -0,0 +1 @@
+DIST wlroots-0.1.tar.gz 436459 BLAKE2B 
8545adb7a9ffe1c4b071ddad1093472f45b24638b29b3c2898b4aa3629c364936be7bec348c9aac5a7d3ecda677df108361fbef08cda8fca9c6bb21639883c86
 SHA512 
43897ac5a512ea26ad9703182dab5de9c714a087449b108472f638148538a632a67cfc778edf3e77940fdd7bdba91d64a4dc4e4ed1903a150f13ca59237ce01e

diff --git a/dev-libs/wlroots/metadata.xml b/dev-libs/wlroots/metadata.xml
new file mode 100644
index 000..b97edbb562b
--- /dev/null
+++ b/dev-libs/wlroots/metadata.xml
@@ -0,0 +1,40 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   speedjac...@gmail.com
+   Niccolò Scatena
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   Pluggable, composable, unopinionated modules for building a 
Wayland
+   compositor.
+
+   wlroots implements a huge variety of Wayland compositor 
features and
+   implements them right. By using wlroots, you get high 
performance,
+   excellent hardware compatibility, broad support for many wayland
+   interfaces, and comfortable development tools.
+
+   wlroots is developed under the direction of the 
dev-libs/sway project.
+   
+   
+   Enable support for rootless session via 
elogind
+   Use xcb-icccm (from 
x11-libs/xcb-util-wm) util library for improved Xwayland 
introspection
+   Build the rootston example 
compositor
+   Enable support for handling 
input/output devices through x11-libs/libxcb
+   Enable support for X11 applications 
(XWayland)
+   
+   
+   swaywm/wlroots
+   
+   s...@cmpwn.com
+   Drew DeVault
+   
+   https://github.com/swaywm/wlroots/issues
+   https://github.com/swaywm/wlroots/wiki
+   
https://github.com/swaywm/wlroots/releases
+   
+

diff --git a/dev-libs/wlroots/wlroots-0.1.ebuild 
b/dev-libs/wlroots/wlroots-0.1.ebuild
new file mode 100644
index 000..eae2493458c
--- /dev/null
+++ b/dev-libs/wlroots/wlroots-0.1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://github.com/swaywm/wlroots.git";
+   inherit git-r3
+else
+   SRC_URI="https://github.com/swaywm/wlroots/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+inherit fcaps meson
+
+DESCRIPTION="Pluggable, composable, unopinionated modules for building a 
Wayland compositor"
+HOMEPAGE="https://github.com/swaywm/wlroots";
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="elogind icccm rootston systemd x11-backend X"
+REQUIRED_USE="?? ( elogind systemd )"
+
+RDEPEND=">=dev-libs/libinput-1.7.0:0=
+   >=dev-libs/wayland-1.16.0
+   >=dev-libs/wayland-protocols-1.15
+   media-libs/mesa[egl,gles2,gbm]
+   virtual/libudev
+   x11-libs/libdrm
+   x11-libs/libxkbcommon
+   x11-libs/pixman
+   elogind? ( >=sys-auth/elogind-237 )
+   icccm? ( x11-libs/xcb-util-wm )
+   systemd? ( >=sys-apps/systemd-237 )
+   x11-backend? ( x11-libs/libxcb:0=[xkb] )
+   X? (
+   x11-base/xorg-server[wayland]
+   x11-libs/libxcb:0=
+   )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/meson-0.48
+   virtual/pkgconfig"
+
+FILECAPS=( cap_sys_admin usr/bin/rootston )
+
+src_configure() {
+   # xcb-util-errors is not on Gentoo Repository (and upstream seems 
inactive?)
+   local emesonargs=(
+   "-Dxcb-errors=disabled"
+   -Dlibcap=$(usex filecaps enabled disabled)
+   -Dxcb-icccm=$(usex icccm enabled disabled)
+   -Dxcb-xkb=$(usex x11-backend enabled disabled)
+   -Dxwayland=$(usex