From: "Chi-Thanh Christopher Nguyen" <chithanh@cs.tu-berlin.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: dev-libs/weston/
Date: Mon, 29 Jul 2013 14:49:10 +0000 (UTC) [thread overview]
Message-ID: <1375109256.a5d5b2661666194f5b084d39eb916af7ce8fce33.chithead@gentoo> (raw)
commit: a5d5b2661666194f5b084d39eb916af7ce8fce33
Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 14:47:36 2013 +0000
Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de>
CommitDate: Mon Jul 29 14:47:36 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=a5d5b266
dev-libs/weston: sync with ebuild from portage for bug #477054. Drop non-live ebuilds.
---
dev-libs/weston/weston-0.95.0.ebuild | 55 -----------
dev-libs/weston/weston-1.1.1.ebuild | 78 ---------------
dev-libs/weston/weston-1.2.0.ebuild | 178 -----------------------------------
dev-libs/weston/weston-9999.ebuild | 128 +++++++++++--------------
4 files changed, 57 insertions(+), 382 deletions(-)
diff --git a/dev-libs/weston/weston-0.95.0.ebuild b/dev-libs/weston/weston-0.95.0.ebuild
deleted file mode 100644
index 8908303..0000000
--- a/dev-libs/weston/weston-0.95.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
-
-if [[ ${PV} = 9999* ]]; then
- GIT_ECLASS="git-2"
- EXPERIMENTAL="true"
-fi
-
-inherit autotools toolchain-funcs $GIT_ECLASS
-
-DESCRIPTION="Wayland reference compositor"
-HOMEPAGE="http://wayland.freedesktop.org/"
-
-if [[ $PV = 9999* ]]; then
- SRC_URI="${SRC_PATCHES}"
-else
- SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
-fi
-
-LICENSE="MIT CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+clients +drm +simple-clients static-libs +tablet +wayland-compositor +x11"
-
-RDEPEND="dev-libs/wayland
- gnome-base/librsvg
- media-libs/mesa[egl,gles2,wayland]
- x11-libs/pixman
- x11? ( x11-libs/libxcb x11-libs/libX11 )
- drm? ( >=virtual/udev-136 >=x11-libs/libdrm-2.4.23 media-libs/mesa[gbm] )
- clients? ( >=x11-libs/cairo-1.10.0 x11-libs/gdk-pixbuf dev-libs/glib:2
- x11-libs/libxkbcommon media-libs/libpng app-text/poppler )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- if [[ ${PV} = 9999* ]]; then
- eautoreconf
- fi
-}
-
-src_configure() {
- econf --disable-setuid-install \
- $(use_enable static-libs static) \
- $(use_enable drm drm-compositor) \
- $(use_enable wayland-compositor) \
- $(use_enable x11 x11-compositor) \
- $(use_enable tablet tablet-shell) \
- $(use_enable clients) \
- $(use_enable simple-clients)
-}
diff --git a/dev-libs/weston/weston-1.1.1.ebuild b/dev-libs/weston/weston-1.1.1.ebuild
deleted file mode 100644
index b876784..0000000
--- a/dev-libs/weston/weston-1.1.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-if [[ ${PV} = 9999* ]]; then
- EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
- GIT_ECLASS="git-2"
- EXPERIMENTAL="true"
-fi
-
-inherit autotools toolchain-funcs $GIT_ECLASS
-
-DESCRIPTION="Wayland reference compositor"
-HOMEPAGE="http://wayland.freedesktop.org/"
-
-if [[ $PV = 9999* ]]; then
- SRC_URI="${SRC_PATCHES}"
- KEYWORDS=""
-else
- SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
- KEYWORDS="~arm ~amd64 ~x86 ~arm-linux"
-fi
-
-LICENSE="MIT CC-BY-SA-3.0"
-SLOT="0"
-IUSE="+clients debug +drm +egl headless fbdev gles2 rdp -rpi +simple-clients static-libs +tablet +wayland-compositor +x11"
-
-REQUIRED_USE="
- rpi? ( !drm !egl gles2 )
-"
-
-RDEPEND="
- >=dev-libs/wayland-1.1.0
- gnome-base/librsvg
- media-libs/mesa[gles2,wayland]
- x11-libs/pixman
- clients? ( >=x11-libs/cairo-1.10.0
- x11-libs/gdk-pixbuf
- dev-libs/glib:2
- x11-libs/libxkbcommon
- media-libs/libpng
- app-text/poppler )
- debug? ( sys-libs/libunwind )
- drm? ( >=virtual/udev-136
- >=x11-libs/libdrm-2.4.30
- media-libs/mesa[gbm] )
- egl? ( media-libs/mesa[egl] )
- gles2? ( x11-libs/cairo[gles2] )
- rdp? ( >=net-misc/freerdp-1.1.0_beta1 )
- x11? ( x11-libs/libxcb
- x11-libs/libX11 )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- if [[ ${PV} = 9999* ]]; then
- eautoreconf
- fi
-}
-
-src_configure() {
- econf --disable-setuid-install \
- $(use_enable clients) \
- $(use_enable debug libunwind) \
- $(use_enable drm drm-compositor) \
- $(use_enable egl) \
- $(use_enable fbdev fbdev-compositor) \
- $(use_enable headless headless-compositor) \
- $(use_enable rdp rdp-compositor) \
- $(use_enable rpi rpi-compositor) \
- $(use_enable simple-clients) \
- $(use_enable static-libs static) \
- $(use_enable tablet tablet-shell) \
- $(use_enable wayland-compositor) \
- $(use_enable x11 x11-compositor) \
- $(use_with gles2 cairo-glesv2)
-}
diff --git a/dev-libs/weston/weston-1.2.0.ebuild b/dev-libs/weston/weston-1.2.0.ebuild
deleted file mode 100644
index 2dffadf..0000000
--- a/dev-libs/weston/weston-1.2.0.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# TODO
-# make building and installing clients_programs optional
-# fix systemd automagic
-# $(use_enable systemd libsystemd-login)
-
-EAPI=5
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
-EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
-VIRTUALX_REQUIRED="test"
-
-inherit autotools-utils linux-info virtualx
-[[ ${PV} == 9999* ]] && inherit git-2
-
-DESCRIPTION="Wayland reference compositor"
-HOMEPAGE="http://wayland.freedesktop.org/"
-[[ ${PV} == 9999* ]] || \
-SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
-
-LICENSE="MIT CC-BY-SA-3.0"
-SLOT="0"
-[[ ${PV} == 9999* ]] || \
-KEYWORDS="~arm ~amd64 ~x86 ~arm-linux"
-IUSE="colord +drm +egl examples fbdev gles2 headless +opengl pango pdf rdp +resize-optimization rpi static-libs +suid systemd tablet test unwind wayland-compositor +X xwayland"
-
-REQUIRED_USE="
- drm? ( egl )
- egl? ( || ( gles2 opengl ) )
- fbdev? ( drm )
- gles2? ( !opengl )
- pango? ( examples )
- pdf? ( examples )
- rpi? ( !drm !egl )
- test? ( X )
- wayland-compositor? ( egl )
-"
-
-RDEPEND="
- >=dev-libs/wayland-1.1.90
- media-libs/mesa[egl?,gles2,wayland]
- media-libs/lcms:2
- media-libs/libpng:=
- media-libs/libwebp
- virtual/jpeg
- sys-libs/pam
- >=x11-libs/cairo-1.11.3[gles2?,opengl?]
- >=x11-libs/libdrm-2.4.30
- x11-libs/libxkbcommon
- x11-libs/pixman
- fbdev? (
- >=sys-libs/mtdev-1.1.0
- >=virtual/udev-136
- )
- colord? ( >=x11-misc/colord-0.1.27 )
- drm? (
- media-libs/mesa[gbm]
- >=sys-libs/mtdev-1.1.0
- >=virtual/udev-136
- )
- egl? (
- media-libs/glu
- )
- examples? (
- pango? ( x11-libs/pango )
- pdf? (
- app-text/poppler:=[cairo]
- dev-libs/glib:2
- )
- )
- rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 )
- rpi? (
- >=sys-libs/mtdev-1.1.0
- >=virtual/udev-136
- )
- systemd? (
- sys-auth/pambase[systemd]
- sys-apps/systemd[pam]
- )
- unwind? ( sys-libs/libunwind )
- X? (
- x11-libs/libxcb
- x11-libs/libX11
- )
- xwayland? (
- x11-libs/cairo[xcb]
- x11-libs/libxcb
- x11-libs/libXcursor
- )
-"
-DEPEND="${RDEPEND}
- gnome-base/librsvg
- virtual/pkgconfig
-"
-
-pkg_pretend() {
- if use kernel_linux && use drm; then
- CONFIG_CHECK="~DRM ~INPUT_EVDEV"
- fi
- check_extra_config
-}
-
-src_prepare() {
- # Gentoo uses "video" group for this purpose
- sed -e '/getgrnam/s/"weston-launch"/"video"/' -i src/weston-launch.c || die
-
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local myeconfargs=(
- # backends
- $(use_enable fbdev fbdev-compositor)
- $(use_enable drm drm-compositor)
- $(use_enable headless headless-compositor)
- $(use_enable rdp rdp-compositor)
- $(use_enable rpi rpi-compositor)
- $(use_enable wayland-compositor)
- $(use_enable X x11-compositor)
- # optional deps
- $(use_enable colord)
- $(use_enable egl)
- $(use_enable unwind libunwind)
- # misc
- $(use_with gles2 cairo-glesv2)
- $(use_enable resize-optimization)
- $(use_enable suid setuid-install)
- $(use_enable tablet tablet-shell)
- $(use_enable xwayland)
- $(use_enable xwayland xwayland-test)
- )
- if use examples || use gles2 || use test; then
- myeconfargs+=(
- --enable-simple-clients
- $(use_enable egl simple-egl-clients)
- )
- else
- myeconfargs+=(
- --disable-simple-clients
- --disable-simple-egl-clients
- )
- fi
- autotools-utils_src_configure
-}
-
-src_test() {
- export XDG_RUNTIME_DIR="${T}/runtime-dir"
- mkdir "${XDG_RUNTIME_DIR}" || die
- chmod 0700 "${XDG_RUNTIME_DIR}" || die
-
- cd "${BUILD_DIR}" || die
- Xemake check
-}
-
-src_install() {
- autotools-utils_src_install
-
- dodoc "${FILESDIR}"/README.gentoo
-
- cd "${BUILD_DIR}" || die
- use opengl && newbin clients/gears weston-gears
- if use examples; then
- use egl && newbin clients/simple-egl weston-simple-egl
- use pango && newbin clients/editor weston-editor
- use pdf && newbin clients/view weston-view
- local i
- for i in calibrator clickdot cliptest dnd eventdemo flower fullscreen image resizor simple-shm simple-touch smoke transformed; do
- newbin "clients/${i}" "weston-${i}"
- done
- fi
-}
-
-pkg_postinst() {
- elog "You may need to edit ~/.bash_profile, read /usr/share/doc/${PF}/README.gentoo*"
-}
diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild
index 2dffadf..2dceef4 100644
--- a/dev-libs/weston/weston-9999.ebuild
+++ b/dev-libs/weston/weston-9999.ebuild
@@ -2,52 +2,53 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-# TODO
-# make building and installing clients_programs optional
-# fix systemd automagic
-# $(use_enable systemd libsystemd-login)
-
EAPI=5
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
-EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
+
+if [[ ${PV} = 9999* ]]; then
+ EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
+ GIT_ECLASS="git-2"
+ EXPERIMENTAL="true"
+fi
VIRTUALX_REQUIRED="test"
-inherit autotools-utils linux-info virtualx
-[[ ${PV} == 9999* ]] && inherit git-2
+inherit autotools readme.gentoo toolchain-funcs virtualx $GIT_ECLASS
DESCRIPTION="Wayland reference compositor"
HOMEPAGE="http://wayland.freedesktop.org/"
-[[ ${PV} == 9999* ]] || \
-SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
+
+if [[ $PV = 9999* ]]; then
+ SRC_URI="${SRC_PATCHES}"
+ KEYWORDS=""
+else
+ SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
+ KEYWORDS="~arm ~amd64 ~x86 ~arm-linux"
+fi
LICENSE="MIT CC-BY-SA-3.0"
SLOT="0"
-[[ ${PV} == 9999* ]] || \
-KEYWORDS="~arm ~amd64 ~x86 ~arm-linux"
-IUSE="colord +drm +egl examples fbdev gles2 headless +opengl pango pdf rdp +resize-optimization rpi static-libs +suid systemd tablet test unwind wayland-compositor +X xwayland"
+IUSE="colord +drm +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi static-libs +suid systemd tablet test unwind view wayland-compositor +X xwayland"
REQUIRED_USE="
drm? ( egl )
+ editor? ( examples )
egl? ( || ( gles2 opengl ) )
fbdev? ( drm )
gles2? ( !opengl )
- pango? ( examples )
- pdf? ( examples )
- rpi? ( !drm !egl )
+ rpi? ( gles2 )
test? ( X )
+ view? ( examples )
wayland-compositor? ( egl )
"
RDEPEND="
>=dev-libs/wayland-1.1.90
- media-libs/mesa[egl?,gles2,wayland]
+ media-libs/mesa[egl?,wayland]
media-libs/lcms:2
media-libs/libpng:=
media-libs/libwebp
virtual/jpeg
sys-libs/pam
- >=x11-libs/cairo-1.11.3[gles2?,opengl?]
+ >=x11-libs/cairo-1.11.3[gles2(-)?,opengl?]
>=x11-libs/libdrm-2.4.30
x11-libs/libxkbcommon
x11-libs/pixman
@@ -63,10 +64,11 @@ RDEPEND="
)
egl? (
media-libs/glu
+ media-libs/mesa[gles2]
)
examples? (
- pango? ( x11-libs/pango )
- pdf? (
+ editor? ( x11-libs/pango )
+ view? (
app-text/poppler:=[cairo]
dev-libs/glib:2
)
@@ -96,54 +98,40 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
"
-pkg_pretend() {
- if use kernel_linux && use drm; then
- CONFIG_CHECK="~DRM ~INPUT_EVDEV"
- fi
- check_extra_config
-}
src_prepare() {
- # Gentoo uses "video" group for this purpose
- sed -e '/getgrnam/s/"weston-launch"/"video"/' -i src/weston-launch.c || die
-
- autotools-utils_src_prepare
+ if [[ ${PV} = 9999* ]]; then
+ eautoreconf
+ fi
}
src_configure() {
- local myeconfargs=(
- # backends
- $(use_enable fbdev fbdev-compositor)
- $(use_enable drm drm-compositor)
- $(use_enable headless headless-compositor)
- $(use_enable rdp rdp-compositor)
- $(use_enable rpi rpi-compositor)
- $(use_enable wayland-compositor)
- $(use_enable X x11-compositor)
- # optional deps
- $(use_enable colord)
- $(use_enable egl)
- $(use_enable unwind libunwind)
- # misc
- $(use_with gles2 cairo-glesv2)
- $(use_enable resize-optimization)
- $(use_enable suid setuid-install)
- $(use_enable tablet tablet-shell)
- $(use_enable xwayland)
- $(use_enable xwayland xwayland-test)
- )
+ local myconf
if use examples || use gles2 || use test; then
- myeconfargs+=(
- --enable-simple-clients
- $(use_enable egl simple-egl-clients)
- )
+ myconf="--enable-simple-clients
+ $(use_enable egl simple-egl-clients)"
else
- myeconfargs+=(
- --disable-simple-clients
- --disable-simple-egl-clients
- )
+ myconf="--disable-simple-clients
+ --disable-simple-egl-clients"
fi
- autotools-utils_src_configure
+ econf \
+ $(use_enable fbdev fbdev-compositor) \
+ $(use_enable drm drm-compositor) \
+ $(use_enable headless headless-compositor) \
+ $(use_enable rdp rdp-compositor) \
+ $(use_enable rpi rpi-compositor) \
+ $(use_enable wayland-compositor) \
+ $(use_enable X x11-compositor) \
+ $(use_enable colord) \
+ $(use_enable egl) \
+ $(use_enable unwind libunwind) \
+ $(use_with gles2 cairo-glesv2) \
+ $(use_enable resize-optimization) \
+ $(use_enable suid setuid-install) \
+ $(use_enable tablet tablet-shell) \
+ $(use_enable xwayland) \
+ $(use_enable xwayland xwayland-test) \
+ ${myconf}
}
src_test() {
@@ -156,23 +144,21 @@ src_test() {
}
src_install() {
- autotools-utils_src_install
+ default
- dodoc "${FILESDIR}"/README.gentoo
+ readme.gentoo_src_install
cd "${BUILD_DIR}" || die
- use opengl && newbin clients/gears weston-gears
+ if use opengl && use egl; then
+ newbin clients/gears weston-gears
+ fi
if use examples; then
use egl && newbin clients/simple-egl weston-simple-egl
- use pango && newbin clients/editor weston-editor
- use pdf && newbin clients/view weston-view
+ use editor && newbin clients/editor weston-editor
+ use view && newbin clients/view weston-view
local i
for i in calibrator clickdot cliptest dnd eventdemo flower fullscreen image resizor simple-shm simple-touch smoke transformed; do
newbin "clients/${i}" "weston-${i}"
done
fi
}
-
-pkg_postinst() {
- elog "You may need to edit ~/.bash_profile, read /usr/share/doc/${PF}/README.gentoo*"
-}
next reply other threads:[~2013-07-29 14:49 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 14:49 Chi-Thanh Christopher Nguyen [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-03-24 14:19 [gentoo-commits] proj/x11:master commit in: dev-libs/weston/ Chí-Thanh Christopher Nguyễn
2014-05-21 16:42 Chi-Thanh Christopher Nguyen
2014-02-24 20:31 Chi-Thanh Christopher Nguyen
2014-01-30 12:29 Chi-Thanh Christopher Nguyen
2014-01-30 12:28 Chi-Thanh Christopher Nguyen
2014-01-30 12:28 Chi-Thanh Christopher Nguyen
2014-01-26 17:04 David Heidelberger
2014-01-26 16:47 David Heidelberger
2013-12-20 14:05 David Heidelberger
2013-11-23 20:26 David Heidelberger
2013-11-17 0:47 David Heidelberger
2013-11-02 14:21 David Heidelberger
2013-10-21 19:18 David Heidelberger
2013-08-25 16:42 Chi-Thanh Christopher Nguyen
2013-07-18 12:40 Nikoli
2013-07-18 10:48 Nikoli
2013-07-17 16:54 Nikoli
2013-07-16 11:21 Nikoli
2013-07-14 20:57 Chi-Thanh Christopher Nguyen
2013-06-09 12:22 David Heidelberger
2013-05-24 21:29 David Heidelberger
2013-05-24 1:03 David Heidelberger
2013-05-24 0:54 David Heidelberger
2013-05-24 0:24 David Heidelberger
2013-05-23 21:47 David Heidelberger
2013-05-23 20:12 David Heidelberger
2013-05-16 0:43 David Heidelberger
2013-04-16 16:14 David Heidelberger
2013-02-05 7:06 Matt Turner
2012-09-07 11:35 David Heidelberger
2012-08-11 16:25 Matt Turner
2012-06-18 21:36 Chi-Thanh Christopher Nguyen
2012-02-11 23:58 James Cloos
2012-02-11 23:53 James Cloos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1375109256.a5d5b2661666194f5b084d39eb916af7ce8fce33.chithead@gentoo \
--to=chithanh@cs.tu-berlin.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox