[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2022-07-09 Thread Pacho Ramos
commit: 12c224ecede8c225a12ac185ffc987576f7031ac
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Jul  9 14:43:29 2022 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Jul  9 14:43:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c224ec

x11-misc/bumblebee: Call udev_reload

Closes: https://bugs.gentoo.org/852782
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild | 12 ++--
 x11-misc/bumblebee/bumblebee-.ebuild   | 12 ++--
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
index 25bad11dfede..b0690088fc3a 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools readme.gentoo-r1 systemd
+inherit autotools readme.gentoo-r1 systemd udev
 
 if [[ ${PV} ==  ]]; then
inherit git-r3
@@ -91,3 +91,11 @@ src_install() {
You may need to setup your /etc/bumblebee/bumblebee.conf"
readme.gentoo_create_doc
 }
+
+pkg_postinst() {
+   udev_reload
+}
+
+pkg_postrm() {
+   udev_reload
+}

diff --git a/x11-misc/bumblebee/bumblebee-.ebuild 
b/x11-misc/bumblebee/bumblebee-.ebuild
index 4c2cecf46ce5..bd63a8594628 100644
--- a/x11-misc/bumblebee/bumblebee-.ebuild
+++ b/x11-misc/bumblebee/bumblebee-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools readme.gentoo-r1 systemd
+inherit autotools readme.gentoo-r1 systemd udev
 
 if [[ ${PV} ==  ]]; then
inherit git-r3
@@ -91,3 +91,11 @@ src_install() {
You may need to setup your /etc/bumblebee/bumblebee.conf"
readme.gentoo_create_doc
 }
+
+pkg_postinst() {
+   udev_reload
+}
+
+pkg_postrm() {
+   udev_reload
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/files/, x11-misc/bumblebee/

2021-07-08 Thread Pacho Ramos
commit: d953555228d855a17c7d36ae2b6dd4898b5faba1
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Jul  8 12:24:48 2021 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Jul  8 12:24:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9535552

x11-misc/bumblebee: Drop old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/Manifest|  1 -
 .../bumblebee/bumblebee-3.2.1_p20190421-r1.ebuild  | 99 --
 .../bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild  | 94 
 .../files/bumblebee-3.2.1_p20190421-gcc10.patch| 66 ---
 x11-misc/bumblebee/files/bumblebee.initd   | 23 -
 5 files changed, 283 deletions(-)

diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest
index 0fb422d246a..f030cce1d87 100644
--- a/x11-misc/bumblebee/Manifest
+++ b/x11-misc/bumblebee/Manifest
@@ -1,2 +1 @@
-DIST bumblebee-3.2.1_p20190421.tar.gz 63640 BLAKE2B 
62bf3e7556b3cc3651f0e1f9fabd22501b82e78c0820b5ae113fddc24816cefd9c788a33d506944dc971092ae22dc3389ced79da6284a5e812ffad909bb03ebd
 SHA512 
e24de3b60e55828ccbbd85774b9a776ba01b62850489b9d7952c4bf807f080b68d084f11de540a65d1bf78f6a35ce89d35f868de14e7ab9d768cdf21a1d422ec
 DIST bumblebee-3.2.1_p20210112.tar.gz 63840 BLAKE2B 
53f433c90ea7925a059597f9ce1e6b764bf204337cda2a87b3e862951fbd86e18cf3bb973a2a43c0ff913e9b290170536760ed9163ea746f5b28b7fed4ce9c6d
 SHA512 
2d23db5a6d2a06c37176440568fd30c3afd80a75e13db00f081c0029f9e03275bf6c7b019778b9c31dcffe49ba56ec86a3303f00074123c95560a850bdb0f36b

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20190421-r1.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20190421-r1.ebuild
deleted file mode 100644
index 3c344ba46d4..000
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20190421-r1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools readme.gentoo-r1 systemd user
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
-   EGIT_BRANCH="develop"
-else
-   COMMIT="7aa457fe7b4fffc3b175ad36fdae00d065dc"
-   
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="amd64 x86"
-
-   S="${WORKDIR}/Bumblebee-${COMMIT}"
-fi
-
-DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
-HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
-
-SLOT="0"
-LICENSE="GPL-3"
-
-IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
-
-COMMON_DEPEND="
-   dev-libs/glib:2
-   dev-libs/libbsd
-   sys-apps/kmod
-   x11-libs/libX11
-"
-
-RDEPEND="${COMMON_DEPEND}
-   virtual/opengl
-   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
-   bbswitch? ( sys-power/bbswitch )
-"
-
-DEPEND="${COMMON_DEPEND}
-   sys-apps/help2man
-   virtual/pkgconfig
-"
-
-PDEPEND="
-   || (
-   x11-misc/primus
-   x11-misc/virtualgl
-   )
-"
-
-REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
-
-PATCHES=(
-   # https://github.com/Bumblebee-Project/Bumblebee/issues/1058
-   "${FILESDIR}/${P}-gcc10.patch"
-)
-
-pkg_setup() {
-   enewgroup bumblebee
-}
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   if use video_cards_nvidia ; then
-   # Get paths to GL libs for all ABIs
-   local i nvlib=""
-   for i in  $(get_all_libdirs) ; do
-   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
-   done
-
-   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
-   local xorgpref="/usr/$(get_libdir)/xorg/modules"
-   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
-   CONF_LDPATH_NVIDIA=${nvlib#:} \
-   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
-   fi
-
-   econf \
-   ${ECONF_PARAMS}
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newenvd "${FILESDIR}"/${PN}.envd 99${PN}
-   systemd_dounit scripts/systemd/bumblebeed.service
-
-   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
-   You may need to setup your /etc/bumblebee/bumblebee.conf"
-   readme.gentoo_create_doc
-}

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild
deleted file mode 100644
index 4984d378312..000
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 

[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2021-04-12 Thread Sam James
commit: 2dada849400f544a6da2d14eb94115ae48cd9125
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 12 17:32:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 12 17:32:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dada849

x11-misc/bumblebee: Stabilize 3.2.1_p20210112-r4 amd64, #768039

Signed-off-by: Sam James  gentoo.org>

 x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
index 4c2cecf46ce..91f7e125936 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
 else
COMMIT="8f3d307b6aabbc2cd8444c6e5a4360f3bf2915ec"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="amd64 ~x86"
 
S="${WORKDIR}/Bumblebee-${COMMIT}"
 fi



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2021-04-12 Thread Sam James
commit: 1031e48d329c871cfc4ddcd62871897a0ac89041
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 12 17:33:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 12 17:33:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1031e48d

x11-misc/bumblebee: Stabilize 3.2.1_p20210112-r4 x86, #768039

Signed-off-by: Sam James  gentoo.org>

 x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
index 91f7e125936..25bad11dfed 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
 else
COMMIT="8f3d307b6aabbc2cd8444c6e5a4360f3bf2915ec"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~x86"
+   KEYWORDS="amd64 x86"
 
S="${WORKDIR}/Bumblebee-${COMMIT}"
 fi



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2021-04-10 Thread Conrad Kostecki
commit: 017ccfb9ef663e9d30e31d7acab036e8a053fdd1
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Apr 10 21:10:29 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Apr 10 21:14:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=017ccfb9

x11-misc/bumblebee: migrate to GLEP 81

Bug: https://bugs.gentoo.org/781596
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild  | 93 ++
 1 file changed, 93 insertions(+)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
new file mode 100644
index 000..4c2cecf46ce
--- /dev/null
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools readme.gentoo-r1 systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
+   EGIT_BRANCH="develop"
+else
+   COMMIT="8f3d307b6aabbc2cd8444c6e5a4360f3bf2915ec"
+   
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+
+   S="${WORKDIR}/Bumblebee-${COMMIT}"
+fi
+
+DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
+HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
+
+SLOT="0"
+LICENSE="GPL-3"
+
+IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
+
+COMMON_DEPEND="
+   dev-libs/glib:2
+   dev-libs/libbsd
+   sys-apps/kmod
+   x11-libs/libX11
+"
+
+RDEPEND="
+   ${COMMON_DEPEND}
+   acct-group/bumblebee
+   virtual/opengl
+   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
+   bbswitch? ( sys-power/bbswitch )
+"
+
+DEPEND="
+   ${COMMON_DEPEND}
+   sys-apps/help2man
+   virtual/pkgconfig
+"
+
+PDEPEND="
+   || (
+   x11-misc/primus
+   x11-misc/virtualgl
+   )
+"
+
+REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   if use video_cards_nvidia ; then
+   # Get paths to GL libs for all ABIs
+   local i nvlib=""
+   for i in  $(get_all_libdirs) ; do
+   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
+   done
+
+   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
+   local xorgpref="/usr/$(get_libdir)/xorg/modules"
+   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
+   CONF_LDPATH_NVIDIA=${nvlib#:} \
+   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
+   fi
+
+   econf \
+   ${ECONF_PARAMS}
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+   newenvd "${FILESDIR}"/${PN}.envd 99${PN}
+   systemd_dounit scripts/systemd/bumblebeed.service
+
+   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
+   You may need to setup your /etc/bumblebee/bumblebee.conf"
+   readme.gentoo_create_doc
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2021-04-10 Thread Conrad Kostecki
commit: f3258f67a897200fb970a85ca492a2edf0ff3fd2
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Apr 10 21:13:46 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Apr 10 21:14:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3258f67

x11-misc/bumblebee: drop old version

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../bumblebee/bumblebee-3.2.1_p20210112-r3.ebuild  | 94 --
 1 file changed, 94 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r3.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r3.ebuild
deleted file mode 100644
index 6c6e83af37a..000
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r3.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools readme.gentoo-r1 systemd user
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
-   EGIT_BRANCH="develop"
-else
-   COMMIT="8f3d307b6aabbc2cd8444c6e5a4360f3bf2915ec"
-   
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-
-   S="${WORKDIR}/Bumblebee-${COMMIT}"
-fi
-
-DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
-HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
-
-SLOT="0"
-LICENSE="GPL-3"
-
-IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
-
-COMMON_DEPEND="
-   dev-libs/glib:2
-   dev-libs/libbsd
-   sys-apps/kmod
-   x11-libs/libX11
-"
-
-RDEPEND="${COMMON_DEPEND}
-   virtual/opengl
-   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
-   bbswitch? ( sys-power/bbswitch )
-"
-
-DEPEND="${COMMON_DEPEND}
-   sys-apps/help2man
-   virtual/pkgconfig
-"
-
-PDEPEND="
-   || (
-   x11-misc/primus
-   x11-misc/virtualgl
-   )
-"
-
-REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
-
-pkg_setup() {
-   enewgroup bumblebee
-}
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   if use video_cards_nvidia ; then
-   # Get paths to GL libs for all ABIs
-   local i nvlib=""
-   for i in  $(get_all_libdirs) ; do
-   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
-   done
-
-   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
-   local xorgpref="/usr/$(get_libdir)/xorg/modules"
-   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
-   CONF_LDPATH_NVIDIA=${nvlib#:} \
-   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
-   fi
-
-   econf \
-   ${ECONF_PARAMS}
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
-   newenvd "${FILESDIR}"/${PN}.envd 99${PN}
-   systemd_dounit scripts/systemd/bumblebeed.service
-
-   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
-   You may need to setup your /etc/bumblebee/bumblebee.conf"
-   readme.gentoo_create_doc
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2021-04-10 Thread Conrad Kostecki
commit: 923a7b16af1bdbd8855d4015b794fa5c226c2e3d
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Apr 10 21:13:07 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Apr 10 21:14:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=923a7b16

x11-misc/bumblebee: migrate to GLEP 81 (live)

Closes: https://bugs.gentoo.org/781596
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 x11-misc/bumblebee/bumblebee-.ebuild | 17 -
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-.ebuild 
b/x11-misc/bumblebee/bumblebee-.ebuild
index b9699790cb8..4c2cecf46ce 100644
--- a/x11-misc/bumblebee/bumblebee-.ebuild
+++ b/x11-misc/bumblebee/bumblebee-.ebuild
@@ -1,16 +1,16 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit autotools multilib readme.gentoo-r1 systemd user
+inherit autotools readme.gentoo-r1 systemd
 
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
EGIT_BRANCH="develop"
 else
-   COMMIT="c322bd849aabe6e48b4304b8d13cc4aadc36a30d"
+   COMMIT="8f3d307b6aabbc2cd8444c6e5a4360f3bf2915ec"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
 
@@ -32,13 +32,16 @@ COMMON_DEPEND="
x11-libs/libX11
 "
 
-RDEPEND="${COMMON_DEPEND}
+RDEPEND="
+   ${COMMON_DEPEND}
+   acct-group/bumblebee
virtual/opengl
x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
bbswitch? ( sys-power/bbswitch )
 "
 
-DEPEND="${COMMON_DEPEND}
+DEPEND="
+   ${COMMON_DEPEND}
sys-apps/help2man
virtual/pkgconfig
 "
@@ -52,10 +55,6 @@ PDEPEND="
 
 REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
 
-pkg_setup() {
-   enewgroup bumblebee
-}
-
 src_prepare() {
default
eautoreconf



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2021-03-26 Thread Sam James
commit: 31df58c57ab99a41a78de2fd5d85d8f7c02f188a
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 26 11:21:01 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 26 11:25:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31df58c5

x11-misc/bumblebee: use d-m-i in ~arch

Fixes: b1fee512276f492bf694b2f3a748122b1dbf15eb
Reported-by: Pacho Ramos  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 ...ee-3.2.1_p20210112-r2.ebuild => bumblebee-3.2.1_p20210112-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r2.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r3.ebuild
similarity index 97%
rename from x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r2.ebuild
rename to x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r3.ebuild
index 58973b2a9eb..6c6e83af37a 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r2.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r3.ebuild
@@ -84,7 +84,7 @@ src_install() {
default
 
newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
newenvd "${FILESDIR}"/${PN}.envd 99${PN}
systemd_dounit scripts/systemd/bumblebeed.service
 



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2021-03-25 Thread Sam James
commit: b1fee512276f492bf694b2f3a748122b1dbf15eb
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 25 15:41:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 25 15:42:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1fee512

x11-misc/bumblebee: only depend on display-manager-init in ~arch

Fixes: e14314b134c0fb866cc58f48cfcb6370b4aed00b
Signed-off-by: Sam James  gentoo.org>

 x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild| 2 +-
 ...-3.2.1_p20210112-r1.ebuild => bumblebee-3.2.1_p20210112-r2.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild
index 6f1cd0a5af5..4984d378312 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild
@@ -84,7 +84,7 @@ src_install() {
default
 
newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
newenvd "${FILESDIR}"/${PN}.envd 99${PN}
systemd_dounit scripts/systemd/bumblebeed.service
 

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r2.ebuild
similarity index 96%
copy from x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild
copy to x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r2.ebuild
index 6f1cd0a5af5..58973b2a9eb 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r2.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
 else
COMMIT="8f3d307b6aabbc2cd8444c6e5a4360f3bf2915ec"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="amd64 x86"
+   KEYWORDS="~amd64 ~x86"
 
S="${WORKDIR}/Bumblebee-${COMMIT}"
 fi
@@ -84,7 +84,7 @@ src_install() {
default
 
newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
newenvd "${FILESDIR}"/${PN}.envd 99${PN}
systemd_dounit scripts/systemd/bumblebeed.service
 



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/files/, x11-misc/bumblebee/

2021-03-24 Thread Matt Turner
commit: e14314b134c0fb866cc58f48cfcb6370b4aed00b
Author: Aisha Tammy  aisha  cc>
AuthorDate: Sat Feb 13 02:06:24 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Mar 24 16:06:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e14314b1

x11-misc/bumblebee: revbump for d-m-i

Signed-off-by: Aisha Tammy  aisha.cc>
Signed-off-by: Matt Turner  gentoo.org>

 ebuild => bumblebee-3.2.1_p20210112-r1.ebuild} |  2 +-
 x11-misc/bumblebee/bumblebee-.ebuild   |  2 +-
 x11-misc/bumblebee/files/bumblebee.initd-r1| 23 ++
 3 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild
similarity index 97%
rename from x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild
rename to x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild
index 4984d378312..6f1cd0a5af5 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r1.ebuild
@@ -84,7 +84,7 @@ src_install() {
default
 
newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
newenvd "${FILESDIR}"/${PN}.envd 99${PN}
systemd_dounit scripts/systemd/bumblebeed.service
 

diff --git a/x11-misc/bumblebee/bumblebee-.ebuild 
b/x11-misc/bumblebee/bumblebee-.ebuild
index e66fb829acb..b9699790cb8 100644
--- a/x11-misc/bumblebee/bumblebee-.ebuild
+++ b/x11-misc/bumblebee/bumblebee-.ebuild
@@ -84,7 +84,7 @@ src_install() {
default
 
newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
newenvd "${FILESDIR}"/${PN}.envd 99${PN}
systemd_dounit scripts/systemd/bumblebeed.service
 

diff --git a/x11-misc/bumblebee/files/bumblebee.initd-r1 
b/x11-misc/bumblebee/files/bumblebee.initd-r1
new file mode 100644
index 000..0780fb902b4
--- /dev/null
+++ b/x11-misc/bumblebee/files/bumblebee.initd-r1
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+   need display-manager
+   want vgl
+}
+
+PIDFILE="${PIDFILE:-/var/run/bumblebee.pid}"
+
+start() {
+   ebegin "Starting BumbleBee Daemon"
+   start-stop-daemon -S -p "${PIDFILE}" -x /usr/sbin/bumblebeed -- 
-D ${BUMBLEBEE_EXTRA_OPTS} --pidfile "${PIDFILE}"
+   eend $?
+}
+
+stop() {
+
+   ebegin "Stopping BumbleBee Daemon"
+   start-stop-daemon -K -p "${PIDFILE}" -R SIGTERM/10
+   eend $?
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2021-02-18 Thread Sam James
commit: d308d7e1b41b840cf25f536b67cec702a76a50ce
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 18 21:49:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 18 21:49:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d308d7e1

x11-misc/bumblebee: Stabilize 3.2.1_p20210112 x86, #770556

Signed-off-by: Sam James  gentoo.org>

 x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild
index 098cebbede9..4984d378312 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
 else
COMMIT="8f3d307b6aabbc2cd8444c6e5a4360f3bf2915ec"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~x86"
+   KEYWORDS="amd64 x86"
 
S="${WORKDIR}/Bumblebee-${COMMIT}"
 fi



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2021-02-14 Thread Sam James
commit: 48d3628f22d79f4573c48578a8633f02d2a7139b
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 14 23:31:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 15 00:32:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48d3628f

x11-misc/bumblebee: fix double KEYWORDS

Double KEYWORDS lines break tools like ekeyword and Nattka.
As per PMS, blank/empty KEYWORDS is implied by not defining
the variable.

See: https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0105
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 x11-misc/bumblebee/bumblebee-3.2.1_p20190421-r1.ebuild | 3 +--
 x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild| 1 -
 x11-misc/bumblebee/bumblebee-.ebuild   | 3 +--
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20190421-r1.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20190421-r1.ebuild
index b45b50e5519..3c344ba46d4 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20190421-r1.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20190421-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,6 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
EGIT_BRANCH="develop"
-   KEYWORDS="amd64 x86"
 else
COMMIT="7aa457fe7b4fffc3b175ad36fdae00d065dc"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild
index 422ac388e2d..58973b2a9eb 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild
@@ -9,7 +9,6 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
EGIT_BRANCH="develop"
-   KEYWORDS=""
 else
COMMIT="8f3d307b6aabbc2cd8444c6e5a4360f3bf2915ec"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"

diff --git a/x11-misc/bumblebee/bumblebee-.ebuild 
b/x11-misc/bumblebee/bumblebee-.ebuild
index 65477c88d73..e66fb829acb 100644
--- a/x11-misc/bumblebee/bumblebee-.ebuild
+++ b/x11-misc/bumblebee/bumblebee-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,7 +9,6 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
EGIT_BRANCH="develop"
-   KEYWORDS=""
 else
COMMIT="c322bd849aabe6e48b4304b8d13cc4aadc36a30d"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2021-01-13 Thread Pacho Ramos
commit: 242015b1a4e28bf30a07eb1751667de6f4164271
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jan 13 19:16:34 2021 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jan 13 19:16:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=242015b1

x11-misc/bumblebee: Version bump

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/Manifest|  1 +
 .../bumblebee/bumblebee-3.2.1_p20210112.ebuild | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest
index 7f49a37de71..35813725780 100644
--- a/x11-misc/bumblebee/Manifest
+++ b/x11-misc/bumblebee/Manifest
@@ -1,2 +1,3 @@
 DIST bumblebee-3.2.1_p20170130.tar.gz 63428 BLAKE2B 
33a2fbbd6e6cbc6cd026b87714d06e54d8803cc75e997cc1bd1aa1d1263c3fe9602f822b92c67fa7e76632bb19daaae11e591b88d087889a970d374f6316e847
 SHA512 
b457e8ce197782bd1b1fabd3c0c67e4ec26cdb90a3715bbe7a8e1550cdde19134151567cfa0c73d800c30e5d303b30bc1261d5f3cbceaa64d559416e4d541070
 DIST bumblebee-3.2.1_p20190421.tar.gz 63640 BLAKE2B 
62bf3e7556b3cc3651f0e1f9fabd22501b82e78c0820b5ae113fddc24816cefd9c788a33d506944dc971092ae22dc3389ced79da6284a5e812ffad909bb03ebd
 SHA512 
e24de3b60e55828ccbbd85774b9a776ba01b62850489b9d7952c4bf807f080b68d084f11de540a65d1bf78f6a35ce89d35f868de14e7ab9d768cdf21a1d422ec
+DIST bumblebee-3.2.1_p20210112.tar.gz 63840 BLAKE2B 
53f433c90ea7925a059597f9ce1e6b764bf204337cda2a87b3e862951fbd86e18cf3bb973a2a43c0ff913e9b290170536760ed9163ea746f5b28b7fed4ce9c6d
 SHA512 
2d23db5a6d2a06c37176440568fd30c3afd80a75e13db00f081c0029f9e03275bf6c7b019778b9c31dcffe49ba56ec86a3303f00074123c95560a850bdb0f36b

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild
new file mode 100644
index 000..422ac388e2d
--- /dev/null
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools readme.gentoo-r1 systemd user
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
+   EGIT_BRANCH="develop"
+   KEYWORDS=""
+else
+   COMMIT="8f3d307b6aabbc2cd8444c6e5a4360f3bf2915ec"
+   
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+
+   S="${WORKDIR}/Bumblebee-${COMMIT}"
+fi
+
+DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
+HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
+
+SLOT="0"
+LICENSE="GPL-3"
+
+IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
+
+COMMON_DEPEND="
+   dev-libs/glib:2
+   dev-libs/libbsd
+   sys-apps/kmod
+   x11-libs/libX11
+"
+
+RDEPEND="${COMMON_DEPEND}
+   virtual/opengl
+   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
+   bbswitch? ( sys-power/bbswitch )
+"
+
+DEPEND="${COMMON_DEPEND}
+   sys-apps/help2man
+   virtual/pkgconfig
+"
+
+PDEPEND="
+   || (
+   x11-misc/primus
+   x11-misc/virtualgl
+   )
+"
+
+REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
+
+pkg_setup() {
+   enewgroup bumblebee
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   if use video_cards_nvidia ; then
+   # Get paths to GL libs for all ABIs
+   local i nvlib=""
+   for i in  $(get_all_libdirs) ; do
+   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
+   done
+
+   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
+   local xorgpref="/usr/$(get_libdir)/xorg/modules"
+   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
+   CONF_LDPATH_NVIDIA=${nvlib#:} \
+   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
+   fi
+
+   econf \
+   ${ECONF_PARAMS}
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newenvd "${FILESDIR}"/${PN}.envd 99${PN}
+   systemd_dounit scripts/systemd/bumblebeed.service
+
+   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
+   You may need to setup your /etc/bumblebee/bumblebee.conf"
+   readme.gentoo_create_doc
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2021-01-13 Thread Pacho Ramos
commit: a033747a15143e76792d030059e1a495f44cde4f
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jan 13 19:17:46 2021 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jan 13 19:17:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a033747a

x11-misc/bumblebee: Drop old

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/Manifest|  1 -
 .../bumblebee/bumblebee-3.2.1_p20170130-r1.ebuild  | 95 --
 2 files changed, 96 deletions(-)

diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest
index 35813725780..0fb422d246a 100644
--- a/x11-misc/bumblebee/Manifest
+++ b/x11-misc/bumblebee/Manifest
@@ -1,3 +1,2 @@
-DIST bumblebee-3.2.1_p20170130.tar.gz 63428 BLAKE2B 
33a2fbbd6e6cbc6cd026b87714d06e54d8803cc75e997cc1bd1aa1d1263c3fe9602f822b92c67fa7e76632bb19daaae11e591b88d087889a970d374f6316e847
 SHA512 
b457e8ce197782bd1b1fabd3c0c67e4ec26cdb90a3715bbe7a8e1550cdde19134151567cfa0c73d800c30e5d303b30bc1261d5f3cbceaa64d559416e4d541070
 DIST bumblebee-3.2.1_p20190421.tar.gz 63640 BLAKE2B 
62bf3e7556b3cc3651f0e1f9fabd22501b82e78c0820b5ae113fddc24816cefd9c788a33d506944dc971092ae22dc3389ced79da6284a5e812ffad909bb03ebd
 SHA512 
e24de3b60e55828ccbbd85774b9a776ba01b62850489b9d7952c4bf807f080b68d084f11de540a65d1bf78f6a35ce89d35f868de14e7ab9d768cdf21a1d422ec
 DIST bumblebee-3.2.1_p20210112.tar.gz 63840 BLAKE2B 
53f433c90ea7925a059597f9ce1e6b764bf204337cda2a87b3e862951fbd86e18cf3bb973a2a43c0ff913e9b290170536760ed9163ea746f5b28b7fed4ce9c6d
 SHA512 
2d23db5a6d2a06c37176440568fd30c3afd80a75e13db00f081c0029f9e03275bf6c7b019778b9c31dcffe49ba56ec86a3303f00074123c95560a850bdb0f36b

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170130-r1.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20170130-r1.ebuild
deleted file mode 100644
index 1099ff0e416..000
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20170130-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools multilib readme.gentoo-r1 systemd user
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
-   EGIT_BRANCH="develop"
-   KEYWORDS="amd64 x86"
-else
-   COMMIT="d469a32fc0dfef5b3725c7a5331be2d04b870594"
-   
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="amd64 x86"
-
-   S="${WORKDIR}/Bumblebee-${COMMIT}"
-fi
-
-DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
-HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
-
-SLOT="0"
-LICENSE="GPL-3"
-
-IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
-
-COMMON_DEPEND="
-   dev-libs/glib:2
-   dev-libs/libbsd
-   sys-apps/kmod
-   x11-libs/libX11
-"
-
-RDEPEND="${COMMON_DEPEND}
-   virtual/opengl
-   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
-   bbswitch? ( sys-power/bbswitch )
-"
-
-DEPEND="${COMMON_DEPEND}
-   sys-apps/help2man
-   virtual/pkgconfig
-"
-
-PDEPEND="
-   || (
-   x11-misc/primus
-   x11-misc/virtualgl
-   )
-"
-
-REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
-
-pkg_setup() {
-   enewgroup bumblebee
-}
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   if use video_cards_nvidia ; then
-   # Get paths to GL libs for all ABIs
-   local i nvlib=""
-   for i in  $(get_all_libdirs) ; do
-   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
-   done
-
-   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
-   local xorgpref="/usr/$(get_libdir)/xorg/modules"
-   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
-   CONF_LDPATH_NVIDIA=${nvlib#:} \
-   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
-   fi
-
-   econf \
-   ${ECONF_PARAMS}
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newenvd "${FILESDIR}"/${PN}.envd 99${PN}
-   systemd_dounit scripts/systemd/bumblebeed.service
-
-   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
-   You may need to setup your /etc/bumblebee/bumblebee.conf"
-   readme.gentoo_create_doc
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/files/

2020-09-19 Thread Pacho Ramos
commit: 81a5da4457c8ec15597a3818320d9d77d419c51a
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Sep 19 17:49:44 2020 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Sep 19 17:49:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81a5da44

x11-misc/bumblebee: Fix indentation

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/files/bumblebee.initd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/bumblebee/files/bumblebee.initd 
b/x11-misc/bumblebee/files/bumblebee.initd
index 96ff058eb1a..b9296538a80 100644
--- a/x11-misc/bumblebee/files/bumblebee.initd
+++ b/x11-misc/bumblebee/files/bumblebee.initd
@@ -4,7 +4,7 @@
 
 depend() {
need xdm
-  want vgl
+   want vgl
 }
 
 PIDFILE="${PIDFILE:-/var/run/bumblebee.pid}"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/, x11-misc/bumblebee/files/

2020-09-18 Thread Rick Farina
commit: 45a2c5cc6300432cfb106b74373fa5fe02941c24
Author: Rick Farina  gentoo  org>
AuthorDate: Fri Sep 18 20:31:46 2020 +
Commit: Rick Farina  gentoo  org>
CommitDate: Fri Sep 18 20:31:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a2c5cc

x11-misc/bumblebee: you have too many needs

bumblebee only needs virtualgl when it's installed, the ebuild handles
the deps correctly, so downgrade 'need' to 'want' preserving installed
behavior and quieting the init script when it's not installed

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Rick Farina  gentoo.org>

 ...ee-3.2.1_p20170130.ebuild => bumblebee-3.2.1_p20170130-r1.ebuild} | 0
 ...ee-3.2.1_p20190421.ebuild => bumblebee-3.2.1_p20190421-r1.ebuild} | 0
 x11-misc/bumblebee/files/bumblebee.initd | 5 +++--
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20170130-r1.ebuild
similarity index 100%
rename from x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
rename to x11-misc/bumblebee/bumblebee-3.2.1_p20170130-r1.ebuild

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20190421-r1.ebuild
similarity index 100%
rename from x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild
rename to x11-misc/bumblebee/bumblebee-3.2.1_p20190421-r1.ebuild

diff --git a/x11-misc/bumblebee/files/bumblebee.initd 
b/x11-misc/bumblebee/files/bumblebee.initd
index 219f71010d8..96ff058eb1a 100644
--- a/x11-misc/bumblebee/files/bumblebee.initd
+++ b/x11-misc/bumblebee/files/bumblebee.initd
@@ -1,9 +1,10 @@
 #!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 depend() {
-   need xdm vgl
+   need xdm
+  want vgl
 }
 
 PIDFILE="${PIDFILE:-/var/run/bumblebee.pid}"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2020-07-24 Thread Agostino Sarubbo
commit: 744753b2733429ea49b4464fa36abe39352b0e62
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 24 15:08:35 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 24 15:08:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744753b2

x11-misc/bumblebee: amd64 stable wrt bug #733594

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild
index eb6477c3683..a400ccda4d3 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild
@@ -9,11 +9,11 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
EGIT_BRANCH="develop"
-   KEYWORDS=""
+   KEYWORDS="amd64"
 else
COMMIT="7aa457fe7b4fffc3b175ad36fdae00d065dc"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="amd64 ~x86"
 
S="${WORKDIR}/Bumblebee-${COMMIT}"
 fi



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/, x11-misc/bumblebee/files/

2020-06-19 Thread Pacho Ramos
commit: d5702a506f6074eef248afc8cc20df6ebd68a1a6
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Jun 19 17:34:05 2020 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Jun 19 17:34:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5702a50

x11-misc/bumblebee: Fix building with gcc-10

Closes: https://bugs.gentoo.org/726116
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos  gentoo.org>

 .../bumblebee/bumblebee-3.2.1_p20190421.ebuild |  5 ++
 .../files/bumblebee-3.2.1_p20190421-gcc10.patch| 66 ++
 2 files changed, 71 insertions(+)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild
index ecedcc95c49..eb6477c3683 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild
@@ -53,6 +53,11 @@ PDEPEND="
 
 REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
 
+PATCHES=(
+   # https://github.com/Bumblebee-Project/Bumblebee/issues/1058
+   "${FILESDIR}/${P}-gcc10.patch"
+)
+
 pkg_setup() {
enewgroup bumblebee
 }

diff --git a/x11-misc/bumblebee/files/bumblebee-3.2.1_p20190421-gcc10.patch 
b/x11-misc/bumblebee/files/bumblebee-3.2.1_p20190421-gcc10.patch
new file mode 100644
index 000..7d02226521e
--- /dev/null
+++ b/x11-misc/bumblebee/files/bumblebee-3.2.1_p20190421-gcc10.patch
@@ -0,0 +1,66 @@
+Author: Andreas Beckmann 
+Description: fix FTBFS with gcc-10
+ gcc-10 defaults to -fno-common
+ see https://gcc.gnu.org/gcc-10/porting_to.html
+Bug-Debian: https://bugs.debian.org/957058
+
+--- a/src/bbconfig.h
 b/src/bbconfig.h
+@@ -103,7 +103,7 @@ enum bb_pm_method {
+ PM_VGASWITCHEROO,
+ PM_METHODS_COUNT /* not a method but a marker for the end */
+ };
+-const char *bb_pm_method_string[PM_METHODS_COUNT];
++extern const char *bb_pm_method_string[PM_METHODS_COUNT];
+ 
+ /* String buffer size */
+ #define BUFFER_SIZE 1024
+--- a/src/switch/switching.h
 b/src/switch/switching.h
+@@ -60,10 +60,10 @@ void switcheroo_off(void);
+ 
+ /* number of switchers as defined in switching.c */
+ #define SWITCHERS_COUNT 2
+-struct switching_method switching_methods[SWITCHERS_COUNT];
++extern struct switching_method switching_methods[SWITCHERS_COUNT];
+ 
+ /* A switching method that can be used or NULL if none */
+-struct switching_method *switcher;
++extern struct switching_method *switcher;
+ 
+ struct switching_method *switcher_detect(const char *name, struct 
switch_info);
+ enum switch_state switch_status(void);
+--- a/src/bbsecondary.h
 b/src/bbsecondary.h
+@@ -21,7 +21,7 @@
+ #pragma once
+ 
+ /* PCI Bus ID of the discrete video card */
+-struct pci_bus_id *pci_bus_id_discrete;
++extern struct pci_bus_id *pci_bus_id_discrete;
+ 
+ /// Start the X server by fork-exec, turn card on if needed.
+ bool start_secondary(bool);
+--- a/src/switch/switching.c
 b/src/switch/switching.c
+@@ -31,6 +31,8 @@ struct switching_method switching_method
+   switcheroo_on, switcheroo_off}
+ };
+ 
++struct switching_method *switcher = NULL;
++
+ /**
+  * Enumerates through available switching methods and try a method
+  * 
+--- a/src/bbsecondary.c
 b/src/bbsecondary.c
+@@ -37,6 +37,9 @@
+ #include "pci.h"
+ #include "module.h"
+ 
++/* PCI Bus ID of the discrete video card */
++struct pci_bus_id *pci_bus_id_discrete;
++
+ /**
+  * Substitutes DRIVER in the passed path
+  * @param x_conf_file A path to be processed



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2020-06-19 Thread Pacho Ramos
commit: 5633c7d13e52c83ba465e4e1b4ad9d526905c234
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Jun 19 17:34:45 2020 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Jun 19 17:34:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5633c7d1

x11-misc/bumblebee: Drop old

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/Manifest   |  1 -
 x11-misc/bumblebee/bumblebee-3.2.1.ebuild | 76 ---
 2 files changed, 77 deletions(-)

diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest
index d69bea52570..7f49a37de71 100644
--- a/x11-misc/bumblebee/Manifest
+++ b/x11-misc/bumblebee/Manifest
@@ -1,3 +1,2 @@
-DIST bumblebee-3.2.1.tar.gz 143110 BLAKE2B 
537fe96e061f229c4c1e7748aef89e4eec040536d7a3161b449a34752c19078d3b4da6703f1c11268b4bb0e6590f94168bab5917fceac0eb73825b3c233548f0
 SHA512 
6f016f75d199577215ff00c059e196829e9d3efeb0fb6eebe6c3fad6176e330332e1ef25875a22ac9892895683d95899ea44f1ec1f85d31300ad83cb1fe0310a
 DIST bumblebee-3.2.1_p20170130.tar.gz 63428 BLAKE2B 
33a2fbbd6e6cbc6cd026b87714d06e54d8803cc75e997cc1bd1aa1d1263c3fe9602f822b92c67fa7e76632bb19daaae11e591b88d087889a970d374f6316e847
 SHA512 
b457e8ce197782bd1b1fabd3c0c67e4ec26cdb90a3715bbe7a8e1550cdde19134151567cfa0c73d800c30e5d303b30bc1261d5f3cbceaa64d559416e4d541070
 DIST bumblebee-3.2.1_p20190421.tar.gz 63640 BLAKE2B 
62bf3e7556b3cc3651f0e1f9fabd22501b82e78c0820b5ae113fddc24816cefd9c788a33d506944dc971092ae22dc3389ced79da6284a5e812ffad909bb03ebd
 SHA512 
e24de3b60e55828ccbbd85774b9a776ba01b62850489b9d7952c4bf807f080b68d084f11de540a65d1bf78f6a35ce89d35f868de14e7ab9d768cdf21a1d422ec

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1.ebuild
deleted file mode 100644
index a0904a9a887..000
--- a/x11-misc/bumblebee/bumblebee-3.2.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils multilib readme.gentoo systemd user
-
-DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
-HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
-SRC_URI="https://bumblebee-project.org/${P}.tar.gz;
-
-SLOT="0"
-LICENSE="GPL-3"
-KEYWORDS="amd64 x86"
-
-IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
-
-RDEPEND="
-   dev-libs/libbsd
-   virtual/opengl
-   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
-   x11-misc/virtualgl:=
-   bbswitch? ( sys-power/bbswitch )
-"
-DEPEND="${RDEPEND}
-   dev-libs/glib:2
-   sys-apps/help2man
-   virtual/pkgconfig
-   x11-libs/libX11
-"
-
-REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
-
-src_prepare() {
-   epatch_user
-}
-
-src_configure() {
-   DOC_CONTENTS="In order to use Bumblebee, add your user to 'bumblebee' 
group.
-   You may need to setup your /etc/bumblebee/bumblebee.conf"
-
-   if use video_cards_nvidia ; then
-   # Get paths to GL libs for all ABIs
-   local nvlib=""
-   for i in  $(get_all_libdirs) ; do
-   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
-   done
-
-   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
-   local xorgpref="/usr/$(get_libdir)/xorg/modules"
-   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
-   CONF_LDPATH_NVIDIA=${nvlib#:} \
-   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
-   fi
-
-   econf \
-   --docdir=/usr/share/doc/"${PF}" \
-   ${ECONF_PARAMS}
-}
-
-src_install() {
-   newconfd "${FILESDIR}"/bumblebee.confd bumblebee
-   newinitd "${FILESDIR}"/bumblebee.initd bumblebee
-   newenvd  "${FILESDIR}"/bumblebee.envd 99bumblebee
-   systemd_dounit scripts/systemd/bumblebeed.service
-
-   readme.gentoo_create_doc
-
-   default
-}
-
-pkg_preinst() {
-   use video_cards_nvidia || rm "${ED}"/etc/bumblebee/xorg.conf.nvidia
-   use video_cards_nouveau || rm "${ED}"/etc/bumblebee/xorg.conf.nouveau
-
-   enewgroup bumblebee
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2020-06-07 Thread Agostino Sarubbo
commit: 3f49204c3cf591bea0050faafe37e77105ab80dc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun  7 08:44:12 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun  7 08:44:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f49204c

x11-misc/bumblebee: amd64 stable wrt bug #722528

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
index 13e746952fd..1099ff0e416 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
@@ -9,11 +9,11 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
EGIT_BRANCH="develop"
-   KEYWORDS="x86"
+   KEYWORDS="amd64 x86"
 else
COMMIT="d469a32fc0dfef5b3725c7a5331be2d04b870594"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="~amd64 x86"
+   KEYWORDS="amd64 x86"
 
S="${WORKDIR}/Bumblebee-${COMMIT}"
 fi



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2020-06-06 Thread Agostino Sarubbo
commit: fa28e4e449480b8a7ce722915f6bd65c613951f4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun  6 20:14:07 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun  6 20:14:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa28e4e4

x11-misc/bumblebee: x86 stable wrt bug #722528

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
index 0e981b79099..13e746952fd 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
@@ -9,11 +9,11 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
EGIT_BRANCH="develop"
-   KEYWORDS=""
+   KEYWORDS="x86"
 else
COMMIT="d469a32fc0dfef5b3725c7a5331be2d04b870594"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 x86"
 
S="${WORKDIR}/Bumblebee-${COMMIT}"
 fi



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2020-06-05 Thread Pacho Ramos
commit: 82166e71e1186f4b70d099c6b22da611753b26c0
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Jun  5 07:28:35 2020 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Jun  5 07:28:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82166e71

x11-misc/bumblebee: Drop old

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/Manifest|  1 -
 .../bumblebee/bumblebee-3.2.1_p20170123.ebuild | 95 --
 2 files changed, 96 deletions(-)

diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest
index 9d1e0e5da8d..d69bea52570 100644
--- a/x11-misc/bumblebee/Manifest
+++ b/x11-misc/bumblebee/Manifest
@@ -1,4 +1,3 @@
 DIST bumblebee-3.2.1.tar.gz 143110 BLAKE2B 
537fe96e061f229c4c1e7748aef89e4eec040536d7a3161b449a34752c19078d3b4da6703f1c11268b4bb0e6590f94168bab5917fceac0eb73825b3c233548f0
 SHA512 
6f016f75d199577215ff00c059e196829e9d3efeb0fb6eebe6c3fad6176e330332e1ef25875a22ac9892895683d95899ea44f1ec1f85d31300ad83cb1fe0310a
-DIST bumblebee-3.2.1_p20170123.tar.gz 63376 BLAKE2B 
986cc1ff39d937547268b07c98f8881810586c58a40f454cb3839aea4e5f116b27b8947acc7b1e05f3cca7a3f717f963ae3ad9f379473b40b898e6fcfedff5e6
 SHA512 
398101927211a8d09f19d519fd0537c94b942bd7fc11d10d394a3a520f2afa6abe174db78b60bb134caf78ffda4cdd50d0ef424134acd07ff4ce93998881e31b
 DIST bumblebee-3.2.1_p20170130.tar.gz 63428 BLAKE2B 
33a2fbbd6e6cbc6cd026b87714d06e54d8803cc75e997cc1bd1aa1d1263c3fe9602f822b92c67fa7e76632bb19daaae11e591b88d087889a970d374f6316e847
 SHA512 
b457e8ce197782bd1b1fabd3c0c67e4ec26cdb90a3715bbe7a8e1550cdde19134151567cfa0c73d800c30e5d303b30bc1261d5f3cbceaa64d559416e4d541070
 DIST bumblebee-3.2.1_p20190421.tar.gz 63640 BLAKE2B 
62bf3e7556b3cc3651f0e1f9fabd22501b82e78c0820b5ae113fddc24816cefd9c788a33d506944dc971092ae22dc3389ced79da6284a5e812ffad909bb03ebd
 SHA512 
e24de3b60e55828ccbbd85774b9a776ba01b62850489b9d7952c4bf807f080b68d084f11de540a65d1bf78f6a35ce89d35f868de14e7ab9d768cdf21a1d422ec

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
deleted file mode 100644
index 65477c88d73..000
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools multilib readme.gentoo-r1 systemd user
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
-   EGIT_BRANCH="develop"
-   KEYWORDS=""
-else
-   COMMIT="c322bd849aabe6e48b4304b8d13cc4aadc36a30d"
-   
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-
-   S="${WORKDIR}/Bumblebee-${COMMIT}"
-fi
-
-DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
-HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
-
-SLOT="0"
-LICENSE="GPL-3"
-
-IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
-
-COMMON_DEPEND="
-   dev-libs/glib:2
-   dev-libs/libbsd
-   sys-apps/kmod
-   x11-libs/libX11
-"
-
-RDEPEND="${COMMON_DEPEND}
-   virtual/opengl
-   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
-   bbswitch? ( sys-power/bbswitch )
-"
-
-DEPEND="${COMMON_DEPEND}
-   sys-apps/help2man
-   virtual/pkgconfig
-"
-
-PDEPEND="
-   || (
-   x11-misc/primus
-   x11-misc/virtualgl
-   )
-"
-
-REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
-
-pkg_setup() {
-   enewgroup bumblebee
-}
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   if use video_cards_nvidia ; then
-   # Get paths to GL libs for all ABIs
-   local i nvlib=""
-   for i in  $(get_all_libdirs) ; do
-   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
-   done
-
-   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
-   local xorgpref="/usr/$(get_libdir)/xorg/modules"
-   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
-   CONF_LDPATH_NVIDIA=${nvlib#:} \
-   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
-   fi
-
-   econf \
-   ${ECONF_PARAMS}
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newenvd "${FILESDIR}"/${PN}.envd 99${PN}
-   systemd_dounit scripts/systemd/bumblebeed.service
-
-   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
-   You may need to setup your /etc/bumblebee/bumblebee.conf"
-

[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2020-06-05 Thread Pacho Ramos
commit: 3a04e89c64eef1ae582fb5147719c20dc30a725b
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Jun  5 07:28:11 2020 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Jun  5 07:28:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a04e89c

x11-misc/bumblebee: Readd stable candidate

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/Manifest|  1 +
 .../bumblebee/bumblebee-3.2.1_p20170130.ebuild | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest
index e4035def585..9d1e0e5da8d 100644
--- a/x11-misc/bumblebee/Manifest
+++ b/x11-misc/bumblebee/Manifest
@@ -1,3 +1,4 @@
 DIST bumblebee-3.2.1.tar.gz 143110 BLAKE2B 
537fe96e061f229c4c1e7748aef89e4eec040536d7a3161b449a34752c19078d3b4da6703f1c11268b4bb0e6590f94168bab5917fceac0eb73825b3c233548f0
 SHA512 
6f016f75d199577215ff00c059e196829e9d3efeb0fb6eebe6c3fad6176e330332e1ef25875a22ac9892895683d95899ea44f1ec1f85d31300ad83cb1fe0310a
 DIST bumblebee-3.2.1_p20170123.tar.gz 63376 BLAKE2B 
986cc1ff39d937547268b07c98f8881810586c58a40f454cb3839aea4e5f116b27b8947acc7b1e05f3cca7a3f717f963ae3ad9f379473b40b898e6fcfedff5e6
 SHA512 
398101927211a8d09f19d519fd0537c94b942bd7fc11d10d394a3a520f2afa6abe174db78b60bb134caf78ffda4cdd50d0ef424134acd07ff4ce93998881e31b
+DIST bumblebee-3.2.1_p20170130.tar.gz 63428 BLAKE2B 
33a2fbbd6e6cbc6cd026b87714d06e54d8803cc75e997cc1bd1aa1d1263c3fe9602f822b92c67fa7e76632bb19daaae11e591b88d087889a970d374f6316e847
 SHA512 
b457e8ce197782bd1b1fabd3c0c67e4ec26cdb90a3715bbe7a8e1550cdde19134151567cfa0c73d800c30e5d303b30bc1261d5f3cbceaa64d559416e4d541070
 DIST bumblebee-3.2.1_p20190421.tar.gz 63640 BLAKE2B 
62bf3e7556b3cc3651f0e1f9fabd22501b82e78c0820b5ae113fddc24816cefd9c788a33d506944dc971092ae22dc3389ced79da6284a5e812ffad909bb03ebd
 SHA512 
e24de3b60e55828ccbbd85774b9a776ba01b62850489b9d7952c4bf807f080b68d084f11de540a65d1bf78f6a35ce89d35f868de14e7ab9d768cdf21a1d422ec

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
new file mode 100644
index 000..0e981b79099
--- /dev/null
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multilib readme.gentoo-r1 systemd user
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
+   EGIT_BRANCH="develop"
+   KEYWORDS=""
+else
+   COMMIT="d469a32fc0dfef5b3725c7a5331be2d04b870594"
+   
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+
+   S="${WORKDIR}/Bumblebee-${COMMIT}"
+fi
+
+DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
+HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
+
+SLOT="0"
+LICENSE="GPL-3"
+
+IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
+
+COMMON_DEPEND="
+   dev-libs/glib:2
+   dev-libs/libbsd
+   sys-apps/kmod
+   x11-libs/libX11
+"
+
+RDEPEND="${COMMON_DEPEND}
+   virtual/opengl
+   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
+   bbswitch? ( sys-power/bbswitch )
+"
+
+DEPEND="${COMMON_DEPEND}
+   sys-apps/help2man
+   virtual/pkgconfig
+"
+
+PDEPEND="
+   || (
+   x11-misc/primus
+   x11-misc/virtualgl
+   )
+"
+
+REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
+
+pkg_setup() {
+   enewgroup bumblebee
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   if use video_cards_nvidia ; then
+   # Get paths to GL libs for all ABIs
+   local i nvlib=""
+   for i in  $(get_all_libdirs) ; do
+   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
+   done
+
+   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
+   local xorgpref="/usr/$(get_libdir)/xorg/modules"
+   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
+   CONF_LDPATH_NVIDIA=${nvlib#:} \
+   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
+   fi
+
+   econf \
+   ${ECONF_PARAMS}
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newenvd "${FILESDIR}"/${PN}.envd 99${PN}
+   systemd_dounit scripts/systemd/bumblebeed.service
+
+   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
+   You may need to setup your 

[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2020-06-04 Thread Pacho Ramos
commit: 4fe63e88529a3668108ea22c493ca3166db80975
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Jun  4 20:24:16 2020 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Jun  4 20:24:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe63e88

x11-misc/bumblebee: New snapshot with more fixes

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/Manifest|  1 +
 .../bumblebee/bumblebee-3.2.1_p20190421.ebuild | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest
index 92f4952549a..e4035def585 100644
--- a/x11-misc/bumblebee/Manifest
+++ b/x11-misc/bumblebee/Manifest
@@ -1,2 +1,3 @@
 DIST bumblebee-3.2.1.tar.gz 143110 BLAKE2B 
537fe96e061f229c4c1e7748aef89e4eec040536d7a3161b449a34752c19078d3b4da6703f1c11268b4bb0e6590f94168bab5917fceac0eb73825b3c233548f0
 SHA512 
6f016f75d199577215ff00c059e196829e9d3efeb0fb6eebe6c3fad6176e330332e1ef25875a22ac9892895683d95899ea44f1ec1f85d31300ad83cb1fe0310a
 DIST bumblebee-3.2.1_p20170123.tar.gz 63376 BLAKE2B 
986cc1ff39d937547268b07c98f8881810586c58a40f454cb3839aea4e5f116b27b8947acc7b1e05f3cca7a3f717f963ae3ad9f379473b40b898e6fcfedff5e6
 SHA512 
398101927211a8d09f19d519fd0537c94b942bd7fc11d10d394a3a520f2afa6abe174db78b60bb134caf78ffda4cdd50d0ef424134acd07ff4ce93998881e31b
+DIST bumblebee-3.2.1_p20190421.tar.gz 63640 BLAKE2B 
62bf3e7556b3cc3651f0e1f9fabd22501b82e78c0820b5ae113fddc24816cefd9c788a33d506944dc971092ae22dc3389ced79da6284a5e812ffad909bb03ebd
 SHA512 
e24de3b60e55828ccbbd85774b9a776ba01b62850489b9d7952c4bf807f080b68d084f11de540a65d1bf78f6a35ce89d35f868de14e7ab9d768cdf21a1d422ec

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild
new file mode 100644
index 000..ecedcc95c49
--- /dev/null
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20190421.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools readme.gentoo-r1 systemd user
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
+   EGIT_BRANCH="develop"
+   KEYWORDS=""
+else
+   COMMIT="7aa457fe7b4fffc3b175ad36fdae00d065dc"
+   
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+
+   S="${WORKDIR}/Bumblebee-${COMMIT}"
+fi
+
+DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
+HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
+
+SLOT="0"
+LICENSE="GPL-3"
+
+IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
+
+COMMON_DEPEND="
+   dev-libs/glib:2
+   dev-libs/libbsd
+   sys-apps/kmod
+   x11-libs/libX11
+"
+
+RDEPEND="${COMMON_DEPEND}
+   virtual/opengl
+   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
+   bbswitch? ( sys-power/bbswitch )
+"
+
+DEPEND="${COMMON_DEPEND}
+   sys-apps/help2man
+   virtual/pkgconfig
+"
+
+PDEPEND="
+   || (
+   x11-misc/primus
+   x11-misc/virtualgl
+   )
+"
+
+REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
+
+pkg_setup() {
+   enewgroup bumblebee
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   if use video_cards_nvidia ; then
+   # Get paths to GL libs for all ABIs
+   local i nvlib=""
+   for i in  $(get_all_libdirs) ; do
+   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
+   done
+
+   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
+   local xorgpref="/usr/$(get_libdir)/xorg/modules"
+   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
+   CONF_LDPATH_NVIDIA=${nvlib#:} \
+   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
+   fi
+
+   econf \
+   ${ECONF_PARAMS}
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newenvd "${FILESDIR}"/${PN}.envd 99${PN}
+   systemd_dounit scripts/systemd/bumblebeed.service
+
+   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
+   You may need to setup your /etc/bumblebee/bumblebee.conf"
+   readme.gentoo_create_doc
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2020-06-04 Thread Pacho Ramos
commit: 6b24484e99cfaf4c25a2c6812ea8e08bade903cd
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Jun  4 20:18:12 2020 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Jun  4 20:18:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b24484e

x11-misc/bumblebee: Co-maintain

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/x11-misc/bumblebee/metadata.xml b/x11-misc/bumblebee/metadata.xml
index 8db7b5c88e4..fa0b06478c2 100644
--- a/x11-misc/bumblebee/metadata.xml
+++ b/x11-misc/bumblebee/metadata.xml
@@ -5,6 +5,10 @@
np-hard...@gentoo.org
NP-Hardass

+
+pa...@gentoo.org
+Pacho Ramos
+

rei4...@gmail.com
My Th



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2020-06-04 Thread Pacho Ramos
commit: 4883905a0dde86fa2ba55dd18e0eac440732e97d
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Jun  4 20:19:34 2020 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Jun  4 20:19:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4883905a

x11-misc/bumblebee: Drop old

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/Manifest|  1 -
 .../bumblebee/bumblebee-3.2.1_p20170130.ebuild | 95 --
 2 files changed, 96 deletions(-)

diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest
index 898009991f0..92f4952549a 100644
--- a/x11-misc/bumblebee/Manifest
+++ b/x11-misc/bumblebee/Manifest
@@ -1,3 +1,2 @@
 DIST bumblebee-3.2.1.tar.gz 143110 BLAKE2B 
537fe96e061f229c4c1e7748aef89e4eec040536d7a3161b449a34752c19078d3b4da6703f1c11268b4bb0e6590f94168bab5917fceac0eb73825b3c233548f0
 SHA512 
6f016f75d199577215ff00c059e196829e9d3efeb0fb6eebe6c3fad6176e330332e1ef25875a22ac9892895683d95899ea44f1ec1f85d31300ad83cb1fe0310a
 DIST bumblebee-3.2.1_p20170123.tar.gz 63376 BLAKE2B 
986cc1ff39d937547268b07c98f8881810586c58a40f454cb3839aea4e5f116b27b8947acc7b1e05f3cca7a3f717f963ae3ad9f379473b40b898e6fcfedff5e6
 SHA512 
398101927211a8d09f19d519fd0537c94b942bd7fc11d10d394a3a520f2afa6abe174db78b60bb134caf78ffda4cdd50d0ef424134acd07ff4ce93998881e31b
-DIST bumblebee-3.2.1_p20170130.tar.gz 63428 BLAKE2B 
33a2fbbd6e6cbc6cd026b87714d06e54d8803cc75e997cc1bd1aa1d1263c3fe9602f822b92c67fa7e76632bb19daaae11e591b88d087889a970d374f6316e847
 SHA512 
b457e8ce197782bd1b1fabd3c0c67e4ec26cdb90a3715bbe7a8e1550cdde19134151567cfa0c73d800c30e5d303b30bc1261d5f3cbceaa64d559416e4d541070

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
deleted file mode 100644
index cb8c3ee8876..000
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools multilib readme.gentoo-r1 systemd user
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
-   EGIT_BRANCH="develop"
-   KEYWORDS=""
-else
-   COMMIT="d469a32fc0dfef5b3725c7a5331be2d04b870594"
-   
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-
-   S="${WORKDIR}/Bumblebee-${COMMIT}"
-fi
-
-DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
-HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
-
-SLOT="0"
-LICENSE="GPL-3"
-
-IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
-
-COMMON_DEPEND="
-   dev-libs/glib:2
-   dev-libs/libbsd
-   sys-apps/kmod
-   x11-libs/libX11
-"
-
-RDEPEND="${COMMON_DEPEND}
-   virtual/opengl
-   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
-   bbswitch? ( sys-power/bbswitch )
-"
-
-DEPEND="${COMMON_DEPEND}
-   sys-apps/help2man
-   virtual/pkgconfig
-"
-
-PDEPEND="
-   || (
-   x11-misc/primus
-   x11-misc/virtualgl
-   )
-"
-
-REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
-
-pkg_setup() {
-   enewgroup bumblebee
-}
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   if use video_cards_nvidia ; then
-   # Get paths to GL libs for all ABIs
-   local i nvlib=""
-   for i in  $(get_all_libdirs) ; do
-   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
-   done
-
-   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
-   local xorgpref="/usr/$(get_libdir)/xorg/modules"
-   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
-   CONF_LDPATH_NVIDIA=${nvlib#:} \
-   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
-   fi
-
-   econf \
-   ${ECONF_PARAMS}
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newenvd "${FILESDIR}"/${PN}.envd 99${PN}
-   systemd_dounit scripts/systemd/bumblebeed.service
-
-   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
-   You may need to setup your /etc/bumblebee/bumblebee.conf"
-   readme.gentoo_create_doc
-}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2020-06-04 Thread Pacho Ramos
commit: 8a11a53fd30c21b30b2a536985a60635ea4bc453
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Jun  4 20:19:04 2020 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Jun  4 20:19:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a11a53f

x11-misc/bumblebee: Fix metadata.xml

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos  gentoo.org>

 x11-misc/bumblebee/metadata.xml | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/x11-misc/bumblebee/metadata.xml b/x11-misc/bumblebee/metadata.xml
index fa0b06478c2..00460ee5c46 100644
--- a/x11-misc/bumblebee/metadata.xml
+++ b/x11-misc/bumblebee/metadata.xml
@@ -5,10 +5,10 @@
np-hard...@gentoo.org
NP-Hardass

-
-pa...@gentoo.org
-Pacho Ramos
-
+   
+   pa...@gentoo.org
+   Pacho Ramos
+   

rei4...@gmail.com
My Th
@@ -22,7 +22,7 @@
means of managing Optimus hybrid graphics chipsets. A primary goal of 
this
project is to not only enable use of the discrete GPU for rendering, but
also to enable smart power management of the dGPU when it's not in use.
-
+   

Add dependency on 
sys-power/bbswitch for
PM feature



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2018-07-15 Thread NP Hardass
commit: cfe1c73d0f40b355e00e733b3889f0ed33476499
Author: NP-Hardass  gentoo  org>
AuthorDate: Fri Jun  8 19:14:43 2018 +
Commit: NP Hardass  gentoo  org>
CommitDate: Mon Jul 16 04:57:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfe1c73d

x11-misc/bumblebee: Bump to latest development commit

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 x11-misc/bumblebee/Manifest|  1 +
 .../bumblebee/bumblebee-3.2.1_p20170130.ebuild | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest
index 92f4952549a..898009991f0 100644
--- a/x11-misc/bumblebee/Manifest
+++ b/x11-misc/bumblebee/Manifest
@@ -1,2 +1,3 @@
 DIST bumblebee-3.2.1.tar.gz 143110 BLAKE2B 
537fe96e061f229c4c1e7748aef89e4eec040536d7a3161b449a34752c19078d3b4da6703f1c11268b4bb0e6590f94168bab5917fceac0eb73825b3c233548f0
 SHA512 
6f016f75d199577215ff00c059e196829e9d3efeb0fb6eebe6c3fad6176e330332e1ef25875a22ac9892895683d95899ea44f1ec1f85d31300ad83cb1fe0310a
 DIST bumblebee-3.2.1_p20170123.tar.gz 63376 BLAKE2B 
986cc1ff39d937547268b07c98f8881810586c58a40f454cb3839aea4e5f116b27b8947acc7b1e05f3cca7a3f717f963ae3ad9f379473b40b898e6fcfedff5e6
 SHA512 
398101927211a8d09f19d519fd0537c94b942bd7fc11d10d394a3a520f2afa6abe174db78b60bb134caf78ffda4cdd50d0ef424134acd07ff4ce93998881e31b
+DIST bumblebee-3.2.1_p20170130.tar.gz 63428 BLAKE2B 
33a2fbbd6e6cbc6cd026b87714d06e54d8803cc75e997cc1bd1aa1d1263c3fe9602f822b92c67fa7e76632bb19daaae11e591b88d087889a970d374f6316e847
 SHA512 
b457e8ce197782bd1b1fabd3c0c67e4ec26cdb90a3715bbe7a8e1550cdde19134151567cfa0c73d800c30e5d303b30bc1261d5f3cbceaa64d559416e4d541070

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
new file mode 100644
index 000..cb8c3ee8876
--- /dev/null
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20170130.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multilib readme.gentoo-r1 systemd user
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
+   EGIT_BRANCH="develop"
+   KEYWORDS=""
+else
+   COMMIT="d469a32fc0dfef5b3725c7a5331be2d04b870594"
+   
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+
+   S="${WORKDIR}/Bumblebee-${COMMIT}"
+fi
+
+DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
+HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
+
+SLOT="0"
+LICENSE="GPL-3"
+
+IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
+
+COMMON_DEPEND="
+   dev-libs/glib:2
+   dev-libs/libbsd
+   sys-apps/kmod
+   x11-libs/libX11
+"
+
+RDEPEND="${COMMON_DEPEND}
+   virtual/opengl
+   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
+   bbswitch? ( sys-power/bbswitch )
+"
+
+DEPEND="${COMMON_DEPEND}
+   sys-apps/help2man
+   virtual/pkgconfig
+"
+
+PDEPEND="
+   || (
+   x11-misc/primus
+   x11-misc/virtualgl
+   )
+"
+
+REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
+
+pkg_setup() {
+   enewgroup bumblebee
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   if use video_cards_nvidia ; then
+   # Get paths to GL libs for all ABIs
+   local i nvlib=""
+   for i in  $(get_all_libdirs) ; do
+   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
+   done
+
+   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
+   local xorgpref="/usr/$(get_libdir)/xorg/modules"
+   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
+   CONF_LDPATH_NVIDIA=${nvlib#:} \
+   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
+   fi
+
+   econf \
+   ${ECONF_PARAMS}
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newenvd "${FILESDIR}"/${PN}.envd 99${PN}
+   systemd_dounit scripts/systemd/bumblebeed.service
+
+   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
+   You may need to setup your /etc/bumblebee/bumblebee.conf"
+   readme.gentoo_create_doc
+}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2017-07-30 Thread Michał Górny
commit: 0b08d54e81734e1654fbac223700d651a7383bcb
Author: David Hicks  hicks  id  au>
AuthorDate: Sat Jul 29 15:15:23 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 30 09:22:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b08d54e

x11-misc/bumblebee: use HTTPS for GitHub, HOMEPAGE and SRC_URI

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 x11-misc/bumblebee/bumblebee-3.2.1.ebuild   | 6 +++---
 x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild | 4 ++--
 x11-misc/bumblebee/bumblebee-.ebuild| 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1.ebuild
index 9187302abbe..a0904a9a887 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 inherit eutils multilib readme.gentoo systemd user
 
 DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
-HOMEPAGE="http://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
-SRC_URI="http://bumblebee-project.org/${P}.tar.gz;
+HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
+SRC_URI="https://bumblebee-project.org/${P}.tar.gz;
 
 SLOT="0"
 LICENSE="GPL-3"

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
index 38982456a42..65477c88d73 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
@@ -7,7 +7,7 @@ inherit autotools multilib readme.gentoo-r1 systemd user
 
 if [[ ${PV} ==  ]]; then
inherit git-r3
-   EGIT_REPO_URI="git://github.com/Bumblebee-Project/Bumblebee.git"
+   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
EGIT_BRANCH="develop"
KEYWORDS=""
 else
@@ -19,7 +19,7 @@ else
 fi
 
 DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
-HOMEPAGE="http://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
+HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
 
 SLOT="0"
 LICENSE="GPL-3"

diff --git a/x11-misc/bumblebee/bumblebee-.ebuild 
b/x11-misc/bumblebee/bumblebee-.ebuild
index 38982456a42..65477c88d73 100644
--- a/x11-misc/bumblebee/bumblebee-.ebuild
+++ b/x11-misc/bumblebee/bumblebee-.ebuild
@@ -7,7 +7,7 @@ inherit autotools multilib readme.gentoo-r1 systemd user
 
 if [[ ${PV} ==  ]]; then
inherit git-r3
-   EGIT_REPO_URI="git://github.com/Bumblebee-Project/Bumblebee.git"
+   EGIT_REPO_URI="https://github.com/Bumblebee-Project/Bumblebee.git;
EGIT_BRANCH="develop"
KEYWORDS=""
 else
@@ -19,7 +19,7 @@ else
 fi
 
 DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
-HOMEPAGE="http://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
+HOMEPAGE="https://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
 
 SLOT="0"
 LICENSE="GPL-3"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2017-02-16 Thread NP Hardass
commit: e02a4b7cade78dc402c132fd2ff2d5e8f929edb7
Author: NP-Hardass  gentoo  org>
AuthorDate: Thu Feb 16 22:33:27 2017 +
Commit: NP Hardass  gentoo  org>
CommitDate: Thu Feb 16 22:35:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e02a4b7c

x11-misc/bumblebee: sync , minor syntax changes

Package-Manager: portage-2.3.0

 x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild | 21 -
 x11-misc/bumblebee/bumblebee-.ebuild|  8 ++--
 2 files changed, 10 insertions(+), 19 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
index ef99702e33..c95fb49785 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
@@ -4,11 +4,13 @@
 
 EAPI=6
 
-inherit autotools readme.gentoo-r1 multilib systemd user
+inherit autotools multilib readme.gentoo-r1 systemd user
 
 if [[ ${PV} ==  ]]; then
+   inherit git-r3
EGIT_REPO_URI="git://github.com/Bumblebee-Project/Bumblebee.git"
EGIT_BRANCH="develop"
+   KEYWORDS=""
 else
COMMIT="c322bd849aabe6e48b4304b8d13cc4aadc36a30d"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
@@ -62,12 +64,9 @@ src_prepare() {
 }
 
 src_configure() {
-   DOC_CONTENTS="In order to use Bumblebee, add your user to 'bumblebee' 
group.
-   You may need to setup your /etc/bumblebee/bumblebee.conf"
-
if use video_cards_nvidia ; then
# Get paths to GL libs for all ABIs
-   local nvlib=""
+   local i nvlib=""
for i in  $(get_all_libdirs) ; do
nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
done
@@ -80,22 +79,18 @@ src_configure() {
fi
 
econf \
-   --docdir=/usr/share/doc/"${PF}" \
${ECONF_PARAMS}
 }
 
 src_install() {
+   default
+
newconfd "${FILESDIR}"/${PN}.confd ${PN}
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newenvd "${FILESDIR}"/${PN}.envd 99${PN}
systemd_dounit scripts/systemd/bumblebeed.service
 
+   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
+   You may need to setup your /etc/bumblebee/bumblebee.conf"
readme.gentoo_create_doc
-
-   default
 }
-#
-#pkg_preinst() {
-#  use video_cards_nvidia || rm "${ED}"/etc/bumblebee/xorg.conf.nvidia
-#  use video_cards_nouveau || rm "${ED}"/etc/bumblebee/xorg.conf.nouveau
-#}

diff --git a/x11-misc/bumblebee/bumblebee-.ebuild 
b/x11-misc/bumblebee/bumblebee-.ebuild
index 4b832aebac..c95fb49785 100644
--- a/x11-misc/bumblebee/bumblebee-.ebuild
+++ b/x11-misc/bumblebee/bumblebee-.ebuild
@@ -7,10 +7,10 @@ EAPI=6
 inherit autotools multilib readme.gentoo-r1 systemd user
 
 if [[ ${PV} ==  ]]; then
+   inherit git-r3
EGIT_REPO_URI="git://github.com/Bumblebee-Project/Bumblebee.git"
EGIT_BRANCH="develop"
KEYWORDS=""
-   inherit git-r3
 else
COMMIT="c322bd849aabe6e48b4304b8d13cc4aadc36a30d"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
@@ -84,6 +84,7 @@ src_configure() {
 
 src_install() {
default
+
newconfd "${FILESDIR}"/${PN}.confd ${PN}
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newenvd "${FILESDIR}"/${PN}.envd 99${PN}
@@ -93,8 +94,3 @@ src_install() {
You may need to setup your /etc/bumblebee/bumblebee.conf"
readme.gentoo_create_doc
 }
-#
-#pkg_preinst() {
-#  use video_cards_nvidia || rm "${ED}"/etc/bumblebee/xorg.conf.nvidia
-#  use video_cards_nouveau || rm "${ED}"/etc/bumblebee/xorg.conf.nouveau
-#}



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2017-02-15 Thread Patrice Clement
commit: 7c0a2214a381891b0082e503dd4662e7622805ee
Author: Harri Nieminen  gmail  com>
AuthorDate: Mon Feb 13 17:21:38 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Feb 15 23:00:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c0a2214

x11-misc/bumblebee: fix live ebuild.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3958

 x11-misc/bumblebee/bumblebee-.ebuild | 15 +++
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/x11-misc/bumblebee/bumblebee-.ebuild 
b/x11-misc/bumblebee/bumblebee-.ebuild
index ef99702e33..4b832aebac 100644
--- a/x11-misc/bumblebee/bumblebee-.ebuild
+++ b/x11-misc/bumblebee/bumblebee-.ebuild
@@ -4,11 +4,13 @@
 
 EAPI=6
 
-inherit autotools readme.gentoo-r1 multilib systemd user
+inherit autotools multilib readme.gentoo-r1 systemd user
 
 if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="git://github.com/Bumblebee-Project/Bumblebee.git"
EGIT_BRANCH="develop"
+   KEYWORDS=""
+   inherit git-r3
 else
COMMIT="c322bd849aabe6e48b4304b8d13cc4aadc36a30d"

SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
@@ -62,12 +64,9 @@ src_prepare() {
 }
 
 src_configure() {
-   DOC_CONTENTS="In order to use Bumblebee, add your user to 'bumblebee' 
group.
-   You may need to setup your /etc/bumblebee/bumblebee.conf"
-
if use video_cards_nvidia ; then
# Get paths to GL libs for all ABIs
-   local nvlib=""
+   local i nvlib=""
for i in  $(get_all_libdirs) ; do
nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
done
@@ -80,19 +79,19 @@ src_configure() {
fi
 
econf \
-   --docdir=/usr/share/doc/"${PF}" \
${ECONF_PARAMS}
 }
 
 src_install() {
+   default
newconfd "${FILESDIR}"/${PN}.confd ${PN}
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newenvd "${FILESDIR}"/${PN}.envd 99${PN}
systemd_dounit scripts/systemd/bumblebeed.service
 
+   local DOC_CONTENTS="In order to use Bumblebee, add your user to 
'bumblebee' group.
+   You may need to setup your /etc/bumblebee/bumblebee.conf"
readme.gentoo_create_doc
-
-   default
 }
 #
 #pkg_preinst() {



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2017-01-25 Thread NP Hardass
commit: 4060ba6084e442434414ccb07fcb300aaa47b83e
Author: NP-Hardass  gentoo  org>
AuthorDate: Tue Jan 24 01:28:39 2017 +
Commit: NP Hardass  gentoo  org>
CommitDate: Wed Jan 25 23:02:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4060ba60

x11-misc/bumblebee: Add snapshot and live ebuild

Package-Manager: portage-2.3.0

 x11-misc/bumblebee/Manifest|   1 +
 .../bumblebee/bumblebee-3.2.1_p20170123.ebuild | 101 +
 x11-misc/bumblebee/bumblebee-.ebuild   | 101 +
 3 files changed, 203 insertions(+)

diff --git a/x11-misc/bumblebee/Manifest b/x11-misc/bumblebee/Manifest
index eefc4b2..01905de 100644
--- a/x11-misc/bumblebee/Manifest
+++ b/x11-misc/bumblebee/Manifest
@@ -1 +1,2 @@
 DIST bumblebee-3.2.1.tar.gz 143110 SHA256 
1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e SHA512 
6f016f75d199577215ff00c059e196829e9d3efeb0fb6eebe6c3fad6176e330332e1ef25875a22ac9892895683d95899ea44f1ec1f85d31300ad83cb1fe0310a
 WHIRLPOOL 
0d59b205f3c57afbf3fa6c8a55964afed8684e57db045e4c333c8e94f0b5d91637963a0b9f386eb6fe655716b8854e82ae5724dacdc76a34de6eb1f99ffc4908
+DIST bumblebee-3.2.1_p20170123.tar.gz 63376 SHA256 
bf98d902045f3fa95633816ee34babb76fd1e537090618c632f123d28372c751 SHA512 
398101927211a8d09f19d519fd0537c94b942bd7fc11d10d394a3a520f2afa6abe174db78b60bb134caf78ffda4cdd50d0ef424134acd07ff4ce93998881e31b
 WHIRLPOOL 
8bf5367fcd9e4c90d104d97fe767197c9d65cc26f4eb8ca01cb4f18d678df101dad36dc10cfe7be75fc65fd129a171a6d034a96313c86c17085ed6ec81bdddc7

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
new file mode 100644
index ..ef99702
--- /dev/null
+++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20170123.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools readme.gentoo-r1 multilib systemd user
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="git://github.com/Bumblebee-Project/Bumblebee.git"
+   EGIT_BRANCH="develop"
+else
+   COMMIT="c322bd849aabe6e48b4304b8d13cc4aadc36a30d"
+   
SRC_URI="https://github.com/Bumblebee-Project/Bumblebee/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+
+   S="${WORKDIR}/Bumblebee-${COMMIT}"
+fi
+
+DESCRIPTION="Service providing elegant and stable means of managing Optimus 
graphics chipsets"
+HOMEPAGE="http://bumblebee-project.org 
https://github.com/Bumblebee-Project/Bumblebee;
+
+SLOT="0"
+LICENSE="GPL-3"
+
+IUSE="+bbswitch video_cards_nouveau video_cards_nvidia"
+
+COMMON_DEPEND="
+   dev-libs/glib:2
+   dev-libs/libbsd
+   sys-apps/kmod
+   x11-libs/libX11
+"
+
+RDEPEND="${COMMON_DEPEND}
+   virtual/opengl
+   x11-base/xorg-drivers[video_cards_nvidia?,video_cards_nouveau?]
+   bbswitch? ( sys-power/bbswitch )
+"
+
+DEPEND="${COMMON_DEPEND}
+   sys-apps/help2man
+   virtual/pkgconfig
+"
+
+PDEPEND="
+   || (
+   x11-misc/primus
+   x11-misc/virtualgl
+   )
+"
+
+REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
+
+pkg_setup() {
+   enewgroup bumblebee
+}
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   DOC_CONTENTS="In order to use Bumblebee, add your user to 'bumblebee' 
group.
+   You may need to setup your /etc/bumblebee/bumblebee.conf"
+
+   if use video_cards_nvidia ; then
+   # Get paths to GL libs for all ABIs
+   local nvlib=""
+   for i in  $(get_all_libdirs) ; do
+   nvlib="${nvlib}:/usr/${i}/opengl/nvidia/lib"
+   done
+
+   local nvpref="/usr/$(get_libdir)/opengl/nvidia"
+   local xorgpref="/usr/$(get_libdir)/xorg/modules"
+   ECONF_PARAMS="CONF_DRIVER=nvidia 
CONF_DRIVER_MODULE_NVIDIA=nvidia \
+   CONF_LDPATH_NVIDIA=${nvlib#:} \
+   
CONF_MODPATH_NVIDIA=${nvpref}/lib,${nvpref}/extensions,${xorgpref}/drivers,${xorgpref}"
+   fi
+
+   econf \
+   --docdir=/usr/share/doc/"${PF}" \
+   ${ECONF_PARAMS}
+}
+
+src_install() {
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newenvd "${FILESDIR}"/${PN}.envd 99${PN}
+   systemd_dounit scripts/systemd/bumblebeed.service
+
+   readme.gentoo_create_doc
+
+   default
+}
+#
+#pkg_preinst() {
+#  use video_cards_nvidia || rm "${ED}"/etc/bumblebee/xorg.conf.nvidia
+#  use video_cards_nouveau || rm "${ED}"/etc/bumblebee/xorg.conf.nouveau
+#}

diff --git a/x11-misc/bumblebee/bumblebee-.ebuild 
b/x11-misc/bumblebee/bumblebee-.ebuild
new file mode 100644
index ..ef99702
--- /dev/null
+++ b/x11-misc/bumblebee/bumblebee-.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2017 Gentoo 

[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2016-10-22 Thread Pacho Ramos
commit: 59001acfcf5c8b919864e202c457f53a1dbab0f8
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Oct 22 07:50:48 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Oct 22 07:50:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59001acf

x11-misc/bumblebee: Update metadata to point to new maintainer

Package-Manager: portage-2.3.1

 x11-misc/bumblebee/metadata.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/bumblebee/metadata.xml b/x11-misc/bumblebee/metadata.xml
index a7b5d4a..8db7b5c 100644
--- a/x11-misc/bumblebee/metadata.xml
+++ b/x11-misc/bumblebee/metadata.xml
@@ -2,8 +2,8 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   pa...@gentoo.org
-   Pacho Ramos
+   np-hard...@gentoo.org
+   NP-Hardass


rei4...@gmail.com



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2016-10-15 Thread Jason Donenfeld
commit: aaef0567801f2a6f56983cfddc9af0818d58f0ab
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Sat Oct 15 13:10:44 2016 +
Commit: Jason Donenfeld  gentoo  org>
CommitDate: Sat Oct 15 13:10:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaef0567

x11-misc/bumblebee: accept user patches

Package-Manager: portage-2.3.2

 x11-misc/bumblebee/bumblebee-3.2.1.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/x11-misc/bumblebee/bumblebee-3.2.1.ebuild 
b/x11-misc/bumblebee/bumblebee-3.2.1.ebuild
index 60d7b34..f0b65d2 100644
--- a/x11-misc/bumblebee/bumblebee-3.2.1.ebuild
+++ b/x11-misc/bumblebee/bumblebee-3.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}
 
 REQUIRED_USE="|| ( video_cards_nouveau video_cards_nvidia )"
 
+src_prepare() {
+   epatch_user
+}
+
 src_configure() {
DOC_CONTENTS="In order to use Bumblebee, add your user to 'bumblebee' 
group.
You may need to setup your /etc/bumblebee/bumblebee.conf"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/files/

2016-05-18 Thread Austin English
commit: 7978b11f7c1aeed2c70c4e83e9c6126cee1bfdd8
Author: Austin English  gentoo  org>
AuthorDate: Wed May 18 06:35:31 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Wed May 18 06:38:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7978b11f

x11-misc/bumblebee: use #!/sbin/openrc-run instead of #!/sbin/runscript

 x11-misc/bumblebee/files/bumblebee.initd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/bumblebee/files/bumblebee.initd 
b/x11-misc/bumblebee/files/bumblebee.initd
index fb61830..e4246b1 100644
--- a/x11-misc/bumblebee/files/bumblebee.initd
+++ b/x11-misc/bumblebee/files/bumblebee.initd
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$



[gentoo-commits] repo/gentoo:master commit in: x11-misc/bumblebee/

2016-04-19 Thread Ian Stakenvicius
commit: 165e8399c9f02197bdf049e45128531c1b36240f
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Tue Apr 19 19:52:00 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Tue Apr 19 19:52:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=165e8399

fix  reference in metadata.xml

Package-Manager: portage-2.2.26

 x11-misc/bumblebee/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/bumblebee/metadata.xml b/x11-misc/bumblebee/metadata.xml
index 96bc18a..a7b5d4a 100644
--- a/x11-misc/bumblebee/metadata.xml
+++ b/x11-misc/bumblebee/metadata.xml
@@ -20,7 +20,7 @@
also to enable smart power management of the dGPU when it's not in use.
 

-   Add dependency on 
sys-kernel/bbswitch for
+   Add dependency on 
sys-power/bbswitch for
PM feature