From de49812990871e1705b64051c35161d5e6400269 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 24 Dec 2018 14:11:38 +0000 Subject: gentoo resync : 24.12.2018 --- x11-wm/xpra/Manifest | 14 +- .../files/xpra-0.17.4-deprecated-avcodec.patch | 11 -- x11-wm/xpra/files/xpra-1.0.4-suid-warning.patch | 11 -- x11-wm/xpra/metadata.xml | 4 +- x11-wm/xpra/xpra-1.0.9.ebuild | 146 -------------------- x11-wm/xpra/xpra-2.1.3.ebuild | 145 -------------------- x11-wm/xpra/xpra-2.2.1.ebuild | 148 --------------------- x11-wm/xpra/xpra-2.2.2-r1.ebuild | 147 ++++++++++++++++++++ x11-wm/xpra/xpra-2.2.2.ebuild | 148 --------------------- x11-wm/xpra/xpra-2.2.6-r1.ebuild | 148 --------------------- x11-wm/xpra/xpra-2.2.6-r2.ebuild | 147 ++++++++++++++++++++ 11 files changed, 299 insertions(+), 770 deletions(-) delete mode 100644 x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch delete mode 100644 x11-wm/xpra/files/xpra-1.0.4-suid-warning.patch delete mode 100644 x11-wm/xpra/xpra-1.0.9.ebuild delete mode 100644 x11-wm/xpra/xpra-2.1.3.ebuild delete mode 100644 x11-wm/xpra/xpra-2.2.1.ebuild create mode 100644 x11-wm/xpra/xpra-2.2.2-r1.ebuild delete mode 100644 x11-wm/xpra/xpra-2.2.2.ebuild delete mode 100644 x11-wm/xpra/xpra-2.2.6-r1.ebuild create mode 100644 x11-wm/xpra/xpra-2.2.6-r2.ebuild (limited to 'x11-wm/xpra') diff --git a/x11-wm/xpra/Manifest b/x11-wm/xpra/Manifest index 7ddd8da58ecd..21eb58f6aec1 100644 --- a/x11-wm/xpra/Manifest +++ b/x11-wm/xpra/Manifest @@ -1,15 +1,7 @@ AUX xpra-0.13.1-ignore-gentoo-no-compile.patch 485 BLAKE2B 2c4a9c0d0fd6e9542abbcd7834d487ca64018b43ef365478f18d8959f0602dd1f4a50f48332487aa413ad4b4f8a91946494ef223b1b2b2c887400e7f7077f429 SHA512 244d6aaa805ef0f99238a0f1ff592efc9fda9d7c3898c0e3ff8a40bfb2d27597737e941b90d1d86c794a50dc61ade8862a4be97ef4938005b0f918565dc7abe9 -AUX xpra-0.17.4-deprecated-avcodec.patch 552 BLAKE2B 3e29cbc526490b65c232756d505625b8725bb46b161676bfb19e4f34a2a404a10f2a3ceb268d9f46b8f42d482f925f646585e26665e74328e38d1cff502d5bda SHA512 9b703001634916516a82cf1a72ec9bdcb626269a5b17daa93964cb204d351986184c6597c6fc0801061bf8856f8811a68eddfe9fed331dd108d9d692f5e153fe -AUX xpra-1.0.4-suid-warning.patch 653 BLAKE2B eff19bbea48564ca02cea70e56171e57070f42ab22b27619f66eb64991d6d9823b9dca0329af7d4e5ea935befef658b1aec953de9dd1ae8c75bb9a192b41c726 SHA512 1b12b309eba08914af59017b6f3a76f743a27cea13bee9d17d2c73334d8c762fc1c8459f32783275eed1d0de83f571a4104cf0bfc3a334d4ff09ee873458ec9c AUX xpra-2.0-suid-warning.patch 617 BLAKE2B dc7f1ba0ec9e30e260601f1151edb43855619a1c34bc29c05536c4dea30c8131179ea17ca30ce3ae2c87d7b374f7a02a5afcde89b6bf29921fc0a9de457e3d54 SHA512 f0d69a6e57435d6c9ef1ecb10e9fa6916b2a8b11f5979b7dffcc37c0a8ec387306b651d50ca3fe10a489cb28f6c2384fbe578510bd7f9bc7a51249e66c4d17ab -DIST xpra-1.0.9.tar.xz 1899744 BLAKE2B a8577712c29ff637e69f0faf8224c3318397d104364376415c78099d236746c519ead198fd7436ca6ddccfa0888c394ea0ac81165a5d7d27ded0dbed66f27754 SHA512 99422ac58ebba4e1ba1ce47cf819c119249298ea4f9803d3fb9c4a3939ffd6baf3f34f6f6b3f1645fc17bd00b80410ff11f1fe30c5f79f797acf25b0ce2dd9ec -DIST xpra-2.1.3.tar.xz 2070192 BLAKE2B b1f54705c877317bf0a3397303af2a516f6e7deb6baa252065f768bd3fd07ec87991b04c14a3aa054da0655543185dfdb99fa2972fb1cd8a2a04d72bb31fafc6 SHA512 aa916953d34477c2c80d99a4d5733586b4122edbc18f2c9952a5d3c9581f7b8e8c55cb1ed4077989876a9a7431faa9c4f7f96f82fc007034f92cacad16429ef8 -DIST xpra-2.2.1.tar.xz 2195508 BLAKE2B 5f94e96ddce7df0001ca3ffbc64570c59f02b1b49fc45c364999f47d188b1ef349018e36ed070cf8c26f60efc77c24741f44856f307b68535c982e6082dc0d7a SHA512 fca213a72805b6b1d533f91cd5e4186bd881e083663488b697c71c79fb4a3bf312fd1491aef78cf363e429c5841d706e444c9e69c72351b1551ea7fc9395c0c6 DIST xpra-2.2.2.tar.xz 2195836 BLAKE2B 39d8354738df399d98248a0d455c3b7fa6124f374f0f6e0a476bae53b9728b9ab16c11bd759b6ff52a28295445809fb18b3379b7fc620f0916944f738a00b280 SHA512 5c09e29732c9ca7d03557e4e6070517b192484e67944532d5aeca53e518c8617f7d3a5919a2557050fbb9aa4123a0302a53720dd7036823db83588264dd3e6d2 DIST xpra-2.2.6.tar.xz 2198720 BLAKE2B 41f238e98dbb60598cffcc3960375a525658c72db478acace0acb964fe3ee039acb5e352a76ffb5724b6c4acd63ea510505f6841f688c67d0ae2a3cbc2270642 SHA512 f47b7a8b08fc90bdf3cba91e4f7343785cdf6e24a0979f4564e9f6885b0f36c03ff5656e2d7ac5fd21895faca7b00e8839ebd66c82122a2c7cab2b40bd44e745 -EBUILD xpra-1.0.9.ebuild 3998 BLAKE2B 16d1448be9cd206232283ba7b6b31cb2d626f6066fb1c38830f5ad666ff5bd7f106145fa094aca2948598648437a0f6be5c41550416af6c35fc90e3a54770fbd SHA512 51ce11b02cbbd176f0f8ea6e12c2685a3b1a2af8f7a4af768e3756bbd12e58b7234ce63b365c2edf149f3b8d76cb1f4e1cc61064b93d0134e6b60fd6091c004c -EBUILD xpra-2.1.3.ebuild 3931 BLAKE2B e140452157211b386f97ee56e01a410bf332b770d4dd3ab47504a7b61635243aa26ba1bf430123bb57687b37cf09cfd660826d33cbae3c66b5aacbea5e2824f4 SHA512 e77c348d3e1facfdfe68a8f2c1b9a6ac4a1f00496c5748c5a372fddfc8f0c3eb269f42e292ba88786bca66dfd1fa5ac9548c8e0384f800565d909d0436ae30a8 -EBUILD xpra-2.2.1.ebuild 4090 BLAKE2B ab05de6287b29e3928fba97f27a6637bf83506d8464859b10c7820278c99c5a5354c30be95c32e164c116e88533bdb1afe192cd5521ffbdc2047f73b9170892d SHA512 17d9f938b7d3958a77dfabc519b696a6706722927ebfbbf39b7bda327539a1b789bb857fb86a7bb3f1890a290daff4ee153fe4167b94fb0d861a65b2198c397c -EBUILD xpra-2.2.2.ebuild 4088 BLAKE2B 8e0fe8bc971767d2f09bfe60b07673afca82f2861aa3f9e9018230d4f5a6f6986b51dd9019c5fb592980633a6145eabc0f48ef12fe58b9419edf43fa6d6c17f9 SHA512 24379373b72e3e812c3aa3956adf322e527a2c227ec563200f4e94840dee432d0fd9f0cb79bfd2d7afc5b0c4df75a250ae71b5d06846c500b6b787926d511d7a -EBUILD xpra-2.2.6-r1.ebuild 4136 BLAKE2B a8a4f2360dbd12c012ef3645136c24187a45bf09fa1b8f514da2f106debb813e4b1f83d5299f036764f4fe1220bb80a8501edf3f3fa442713ee5c0a20d19654d SHA512 3ab2f8b5a3d028be3f5f66c76e834dffdd703f8dc4e5f3029a006d8e21e223950a8214a3dad4abce28222c4122622011f748ba31a3d6685bf583357421c18f59 -MISC metadata.xml 1028 BLAKE2B 125d8c5e383c543817024a58996fe8108a0e019523f4a44a4bb3fb16cb01b380fa724e8b8fb3d15f38bb7fd05c5937a2021dbec94b5253fb76727f65e7e78f9c SHA512 23fcf8d7e15b0f6b45de40b91d1c8a55878aa548448475a7e29a49ae978353888008fab214f7eb85e5ef097c3ea13476c624619e23e017f9e56849fb93063566 +EBUILD xpra-2.2.2-r1.ebuild 4047 BLAKE2B 0188064f36f179c378a29c0eacb418177eac49ecbe9ea844cb7638ba1e8719b3b09dfa6d9afeaede8a82161b67051c152e9186994fadad421afbd3d6872cdeb7 SHA512 f075fca9a968d24c03136ccb90c059b7ba18ef84f9beb8916f65d5534c0ad804abffd648bf9549c4892a468b59d8277c2827e58b15664140497aa1617ea934c6 +EBUILD xpra-2.2.6-r2.ebuild 4095 BLAKE2B 0e1a4646024233f18422a27886d2da0816ddafccc625aa8a2aeea7aef9078e4e8c0abc4b680ecf1aff53f9bad88a2503709bf389fa43a53ff7b16c3c03708102 SHA512 ffa6e3a20e9f753cbe5f20af611b552f5eb605deda06d82b06642053b6fcffda1b806703763024e902be8007f8962773b39f9e9591ea1a9cb6e48592c2310f46 +MISC metadata.xml 1039 BLAKE2B 26cf74924d6c5e5a7c66d5fd08719f7be5c12f3c7cc51cdcf4fc63c302ba9ec655b972569245046fd92f69dbdd8715c1b9f31d8dd3875ede21c917ef4f1ab8c4 SHA512 09e49932a811b10b60a19401d556c1b7a677bd437b589b23c868d2e124f1a9bfc60e3aaa1a64666dc5c37a66785ef92aa8afa64121f45b7f138c9944188c4a5b diff --git a/x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch b/x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch deleted file mode 100644 index 13bd4be892d5..000000000000 --- a/x11-wm/xpra/files/xpra-0.17.4-deprecated-avcodec.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- xpra-0.17.4/setup.py -+++ xpra-0.17.4/setup.py -@@ -660,7 +660,7 @@ - "-Wno-unused-function", - "-Wno-sometimes-uninitialized"] - elif get_gcc_version()>=[4, 4]: -- eifd = ["-Werror", -+ eifd = ["-Werror", "-Wno-error=deprecated-declarations", - #CentOS 6.x gives us some invalid warnings in nvenc, ignore those: - #"-Wno-error=uninitialized", - #needed on Debian and Ubuntu to avoid this error: diff --git a/x11-wm/xpra/files/xpra-1.0.4-suid-warning.patch b/x11-wm/xpra/files/xpra-1.0.4-suid-warning.patch deleted file mode 100644 index 9af267cb4505..000000000000 --- a/x11-wm/xpra/files/xpra-1.0.4-suid-warning.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- xpra-1.0.4/xpra/scripts/config.py -+++ xpra-1.0.4/xpra/scripts/config.py -@@ -130,7 +130,7 @@ - xorg_stat = os.stat(xorg_bin) - if (xorg_stat.st_mode & stat.S_ISUID)!=0: - if (xorg_stat.st_mode & stat.S_IROTH)==0: -- warn("%s is suid and not readable, Xdummy support unavailable" % xorg_bin) -+ debug("%s is suid and not readable, Xdummy support unavailable" % xorg_bin) - return get_Xvfb_command() - debug("%s is suid and readable, using the xpra_Xdummy wrapper" % xorg_bin) - use_wrapper = True diff --git a/x11-wm/xpra/metadata.xml b/x11-wm/xpra/metadata.xml index d8680e04081a..81ce7aa32a08 100644 --- a/x11-wm/xpra/metadata.xml +++ b/x11-wm/xpra/metadata.xml @@ -2,8 +2,8 @@ - xmw@gentoo.org - Michael Weber + dilfridge@gentoo.org + Andreas K. Huettel https://www.xpra.org/trac/report diff --git a/x11-wm/xpra/xpra-1.0.9.ebuild b/x11-wm/xpra/xpra-1.0.9.ebuild deleted file mode 100644 index 299bde46e312..000000000000 --- a/x11-wm/xpra/xpra-1.0.9.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3, and setup.py not python3.2 compat -PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 eutils flag-o-matic user tmpfiles xdg - -DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy" -HOMEPAGE="http://xpra.org/ http://xpra.org/src/" -SRC_URI="http://xpra.org/src/${P}.tar.xz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="+client +clipboard csc cups dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam webp" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} - clipboard? ( || ( server client ) ) - cups? ( dbus ) - opengl? ( client ) - || ( client server ) - client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )" - -COMMON_DEPEND=""${PYTHON_DEPS}" - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/pygtk:2[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXtst - x11-libs/libxkbfile - csc? ( - !libav? ( >=media-video/ffmpeg-1.2.2:0= ) - libav? ( media-video/libav:0= ) - ) - dec_avcodec2? ( - !libav? ( >=media-video/ffmpeg-2:0= ) - libav? ( media-video/libav:0= ) - ) - enc_ffmpeg? ( - !libav? ( >=media-video/ffmpeg-3.2.2:0= ) - libav? ( media-video/libav:0= ) - ) - enc_x264? ( media-libs/x264 - !libav? ( >=media-video/ffmpeg-1.0.4:0= ) - libav? ( media-video/libav:0= ) - ) - enc_x265? ( media-libs/x265 - !libav? ( >=media-video/ffmpeg-2:0= ) - libav? ( media-video/libav:0= ) - opengl? ( dev-python/pygtkglext ) - pulseaudio? ( media-sound/pulseaudio ) - sound? ( media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - dev-python/gst-python:1.0 ) - vpx? ( media-libs/libvpx virtual/ffmpeg ) - webp? ( media-libs/libwebp ) - )" - -RDEPEND="${COMMON_DEPEND} - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/netifaces[${PYTHON_USEDEP}] - dev-python/rencode[${PYTHON_USEDEP}] - virtual/ssh - x11-apps/xmodmap - cups? ( dev-python/pycups[${PYTHON_USEDEP}] ) - dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) - lz4? ( dev-python/lz4[${PYTHON_USEDEP}] ) - lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] ) - opengl? ( - client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] ) - ) - pillow? ( dev-python/pillow[${PYTHON_USEDEP}] ) - server? ( x11-base/xorg-server[-minimal,xvfb] - x11-drivers/xf86-input-void - ) - webcam? ( dev-python/numpy[${PYTHON_USEDEP}] - media-libs/opencv[python] - dev-python/pyinotify[${PYTHON_USEDEP}] )" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - >=dev-python/cython-0.16[${PYTHON_USEDEP}]" - -PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch - "${FILESDIR}"/${PN}-0.17.4-deprecated-avcodec.patch - "${FILESDIR}"/${PN}-1.0.4-suid-warning.patch ) - -pkg_postinst() { - enewgroup ${PN} - tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf - - xdg_pkg_postinst -} - -python_prepare_all() { - sed -e "s:/var/run/xpra:${EROOT}run/xpra:" \ - -i tmpfiles.d/xpra.conf - - distutils-r1_python_prepare_all -} - -python_configure_all() { - sed -e "/'pulseaudio'/s:not OSX and not WIN32:$(usex pulseaudio True False):" \ - -i setup.py || die - - mydistutilsargs=( - --without-PIC - --without-Xdummy - $(use_with client) - $(use_with clipboard) - $(use_with csc csc_swscale) - $(use_with cups printing) - --without-debug - $(use_with dbus) - $(use_with dec_avcodec2) - $(use_with enc_ffmpeg) - $(use_with enc_x264) - $(use_with enc_x265) - --with-gtk2 - --without-gtk3 - --without-html5 - --without-mdns - --without-minify - $(use_with opengl) - $(use_with server shadow) - $(use_with server) - $(use_with sound) - --with-strict - $(use_with vpx) - --with-warn - $(use_with webcam) - $(use_with webp) - --with-x11 - ) - - # see https://www.xpra.org/trac/ticket/1080 - # and http://trac.cython.org/ticket/395 - append-cflags -fno-strict-aliasing - - export XPRA_SOCKET_DIRS="${EROOT}run/xpra" -} diff --git a/x11-wm/xpra/xpra-2.1.3.ebuild b/x11-wm/xpra/xpra-2.1.3.ebuild deleted file mode 100644 index d9f9bec1770d..000000000000 --- a/x11-wm/xpra/xpra-2.1.3.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3 -PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 eutils flag-o-matic user tmpfiles xdg - -DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy" -HOMEPAGE="http://xpra.org/ http://xpra.org/src/" -SRC_URI="http://xpra.org/src/${P}.tar.xz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="+client +clipboard csc cups dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 jpeg libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} - clipboard? ( || ( server client ) ) - cups? ( dbus ) - opengl? ( client ) - || ( client server ) - client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )" - -COMMON_DEPEND="${PYTHON_DEPS} - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/pygtk:2[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXtst - x11-libs/libxkbfile - csc? ( - !libav? ( >=media-video/ffmpeg-1.2.2:0= ) - libav? ( media-video/libav:0= ) - ) - dec_avcodec2? ( - !libav? ( >=media-video/ffmpeg-2:0= ) - libav? ( media-video/libav:0= ) - ) - enc_ffmpeg? ( - !libav? ( >=media-video/ffmpeg-3.2.2:0= ) - libav? ( media-video/libav:0= ) - ) - enc_x264? ( media-libs/x264 - !libav? ( >=media-video/ffmpeg-1.0.4:0= ) - libav? ( media-video/libav:0= ) - ) - enc_x265? ( media-libs/x265 - !libav? ( >=media-video/ffmpeg-2:0= ) - libav? ( media-video/libav:0= ) ) - jpeg? ( media-libs/libjpeg-turbo ) - opengl? ( dev-python/pygtkglext ) - pulseaudio? ( media-sound/pulseaudio ) - sound? ( media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - dev-python/gst-python:1.0 ) - vpx? ( media-libs/libvpx virtual/ffmpeg )" - -RDEPEND="${COMMON_DEPEND} - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/netifaces[${PYTHON_USEDEP}] - dev-python/rencode[${PYTHON_USEDEP}] - virtual/ssh - x11-apps/xmodmap - cups? ( dev-python/pycups[${PYTHON_USEDEP}] ) - dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) - lz4? ( dev-python/lz4[${PYTHON_USEDEP}] ) - lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] ) - opengl? ( - client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] ) - ) - pillow? ( dev-python/pillow[${PYTHON_USEDEP}] ) - server? ( x11-base/xorg-server[-minimal,xvfb] - x11-drivers/xf86-input-void - ) - webcam? ( dev-python/numpy[${PYTHON_USEDEP}] - media-libs/opencv[python] - dev-python/pyinotify[${PYTHON_USEDEP}] )" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - >=dev-python/cython-0.16[${PYTHON_USEDEP}]" - -PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch - "${FILESDIR}"/${PN}-2.0-suid-warning.patch ) - -pkg_postinst() { - enewgroup ${PN} - tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf - - xdg_pkg_postinst -} - -python_prepare_all() { - sed -e "s:/var/run/xpra:${EROOT}run/xpra:" \ - -i tmpfiles.d/xpra.conf - - distutils-r1_python_prepare_all -} - -python_configure_all() { - sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \ - -i setup.py || die - - mydistutilsargs=( - --without-PIC - --without-Xdummy - $(use_with client) - $(use_with clipboard) - $(use_with csc csc_swscale) - --without-csc_libyuv - $(use_with cups printing) - --without-debug - $(use_with dbus) - $(use_with dec_avcodec2) - $(use_with enc_ffmpeg) - $(use_with enc_x264) - $(use_with enc_x265) - --with-gtk2 - --without-gtk3 - --without-html5 - $(use_with jpeg) - --without-mdns - --without-minify - $(use_with opengl) - $(use_with server shadow) - $(use_with server) - $(use_with sound) - --with-strict - $(use_with vpx) - --with-warn - $(use_with webcam) - --with-x11 - ) - - # see https://www.xpra.org/trac/ticket/1080 - # and http://trac.cython.org/ticket/395 - append-cflags -fno-strict-aliasing - - export XPRA_SOCKET_DIRS="${EROOT}run/xpra" -} diff --git a/x11-wm/xpra/xpra-2.2.1.ebuild b/x11-wm/xpra/xpra-2.2.1.ebuild deleted file mode 100644 index 5dcafddd7a59..000000000000 --- a/x11-wm/xpra/xpra-2.2.1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3 -PYTHON_COMPAT=( python2_7 ) -inherit xdg distutils-r1 eutils flag-o-matic user tmpfiles prefix - -DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy" -HOMEPAGE="http://xpra.org/ http://xpra.org/src/" -SRC_URI="http://xpra.org/src/${P}.tar.xz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+client +clipboard csc cups dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 jpeg libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam webp" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} - clipboard? ( || ( server client ) ) - cups? ( dbus ) - opengl? ( client ) - || ( client server ) - client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )" - -COMMON_DEPEND="${PYTHON_DEPS} - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/pygtk:2[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXtst - x11-libs/libxkbfile - csc? ( - !libav? ( >=media-video/ffmpeg-1.2.2:0= ) - libav? ( media-video/libav:0= ) - ) - dec_avcodec2? ( - !libav? ( >=media-video/ffmpeg-2:0= ) - libav? ( media-video/libav:0= ) - ) - enc_ffmpeg? ( - !libav? ( >=media-video/ffmpeg-3.2.2:0= ) - libav? ( media-video/libav:0= ) - ) - enc_x264? ( media-libs/x264 - !libav? ( >=media-video/ffmpeg-1.0.4:0= ) - libav? ( media-video/libav:0= ) - ) - enc_x265? ( media-libs/x265 - !libav? ( >=media-video/ffmpeg-2:0= ) - libav? ( media-video/libav:0= ) ) - jpeg? ( media-libs/libjpeg-turbo ) - opengl? ( dev-python/pygtkglext ) - pulseaudio? ( media-sound/pulseaudio ) - sound? ( media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - dev-python/gst-python:1.0 ) - vpx? ( media-libs/libvpx virtual/ffmpeg ) - webp? ( media-libs/libwebp )" - -RDEPEND="${COMMON_DEPEND} - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/netifaces[${PYTHON_USEDEP}] - dev-python/rencode[${PYTHON_USEDEP}] - virtual/ssh - x11-apps/xmodmap - cups? ( dev-python/pycups[${PYTHON_USEDEP}] ) - dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) - lz4? ( dev-python/lz4[${PYTHON_USEDEP}] ) - lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] ) - opengl? ( - client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] ) - ) - pillow? ( dev-python/pillow[${PYTHON_USEDEP}] ) - server? ( x11-base/xorg-server[-minimal,xvfb] - x11-drivers/xf86-input-void - ) - webcam? ( dev-python/numpy[${PYTHON_USEDEP}] - media-libs/opencv[python] - dev-python/pyinotify[${PYTHON_USEDEP}] )" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - >=dev-python/cython-0.16[${PYTHON_USEDEP}]" - -PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch - "${FILESDIR}"/${PN}-2.0-suid-warning.patch ) - -pkg_postinst() { - enewgroup ${PN} - tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf - - xdg_pkg_postinst -} - -python_prepare_all() { - hprefixify -w '/os.path/' setup.py - hprefixify tmpfiles.d/xpra.conf xpra/server/{server,socket}_util.py \ - xpra/platform{/xposix,}/paths.py xpra/scripts/server.py - - distutils-r1_python_prepare_all -} - -python_configure_all() { - sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \ - -i setup.py || die - - mydistutilsargs=( - --without-PIC - --without-Xdummy - $(use_with client) - $(use_with clipboard) - $(use_with csc csc_swscale) - --without-csc_libyuv - $(use_with cups printing) - --without-debug - $(use_with dbus) - $(use_with dec_avcodec2) - $(use_with enc_ffmpeg) - $(use_with enc_x264) - $(use_with enc_x265) - --with-gtk2 - --without-gtk3 - --without-html5 - $(use_with jpeg) - --without-mdns - --without-minify - $(use_with opengl) - $(use_with server shadow) - $(use_with server) - $(use_with sound) - --with-strict - $(use_with vpx) - --with-warn - $(use_with webcam) - $(use_with webp) - --with-x11 - ) - - # see https://www.xpra.org/trac/ticket/1080 - # and http://trac.cython.org/ticket/395 - append-cflags -fno-strict-aliasing - - export XPRA_SOCKET_DIRS="${EPREFIX}/run/xpra" -} diff --git a/x11-wm/xpra/xpra-2.2.2-r1.ebuild b/x11-wm/xpra/xpra-2.2.2-r1.ebuild new file mode 100644 index 000000000000..5cb93348090d --- /dev/null +++ b/x11-wm/xpra/xpra-2.2.2-r1.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3 +PYTHON_COMPAT=( python2_7 ) +inherit xdg distutils-r1 eutils flag-o-matic user tmpfiles prefix + +DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy" +HOMEPAGE="http://xpra.org/ http://xpra.org/src/" +SRC_URI="http://xpra.org/src/${P}.tar.xz" + +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="+client +clipboard csc cups dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 jpeg libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam webp" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} + clipboard? ( || ( server client ) ) + cups? ( dbus ) + opengl? ( client ) + || ( client server ) + client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )" + +COMMON_DEPEND="${PYTHON_DEPS} + dev-python/pygobject:2[${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}] + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/libxkbfile + csc? ( + !libav? ( >=media-video/ffmpeg-1.2.2:0= ) + libav? ( media-video/libav:0= ) + ) + dec_avcodec2? ( + !libav? ( >=media-video/ffmpeg-2:0= ) + libav? ( media-video/libav:0= ) + ) + enc_ffmpeg? ( + !libav? ( >=media-video/ffmpeg-3.2.2:0= ) + libav? ( media-video/libav:0= ) + ) + enc_x264? ( media-libs/x264 + !libav? ( >=media-video/ffmpeg-1.0.4:0= ) + libav? ( media-video/libav:0= ) + ) + enc_x265? ( media-libs/x265 + !libav? ( >=media-video/ffmpeg-2:0= ) + libav? ( media-video/libav:0= ) ) + jpeg? ( media-libs/libjpeg-turbo ) + opengl? ( dev-python/pygtkglext ) + pulseaudio? ( media-sound/pulseaudio ) + sound? ( media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + dev-python/gst-python:1.0 ) + vpx? ( media-libs/libvpx virtual/ffmpeg ) + webp? ( media-libs/libwebp )" + +RDEPEND="${COMMON_DEPEND} + dev-python/netifaces[${PYTHON_USEDEP}] + dev-python/rencode[${PYTHON_USEDEP}] + virtual/ssh + x11-apps/xmodmap + cups? ( dev-python/pycups[${PYTHON_USEDEP}] ) + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) + lz4? ( dev-python/lz4[${PYTHON_USEDEP}] ) + lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] ) + opengl? ( + client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] ) + ) + pillow? ( dev-python/pillow[${PYTHON_USEDEP}] ) + server? ( x11-base/xorg-server[-minimal,xvfb] + x11-drivers/xf86-input-void + ) + webcam? ( dev-python/numpy[${PYTHON_USEDEP}] + media-libs/opencv[python] + dev-python/pyinotify[${PYTHON_USEDEP}] )" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + >=dev-python/cython-0.16[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch + "${FILESDIR}"/${PN}-2.0-suid-warning.patch ) + +pkg_postinst() { + enewgroup ${PN} + tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf + + xdg_pkg_postinst +} + +python_prepare_all() { + hprefixify -w '/os.path/' setup.py + hprefixify tmpfiles.d/xpra.conf xpra/server/{server,socket}_util.py \ + xpra/platform{/xposix,}/paths.py xpra/scripts/server.py + + distutils-r1_python_prepare_all +} + +python_configure_all() { + sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \ + -i setup.py || die + + mydistutilsargs=( + --without-PIC + --without-Xdummy + $(use_with client) + $(use_with clipboard) + $(use_with csc csc_swscale) + --without-csc_libyuv + $(use_with cups printing) + --without-debug + $(use_with dbus) + $(use_with dec_avcodec2) + $(use_with enc_ffmpeg) + $(use_with enc_x264) + $(use_with enc_x265) + --with-gtk2 + --without-gtk3 + --without-html5 + $(use_with jpeg) + --without-mdns + --without-minify + $(use_with opengl) + $(use_with server shadow) + $(use_with server) + $(use_with sound) + --with-strict + $(use_with vpx) + --with-warn + $(use_with webcam) + $(use_with webp) + --with-x11 + ) + + # see https://www.xpra.org/trac/ticket/1080 + # and http://trac.cython.org/ticket/395 + append-cflags -fno-strict-aliasing + + export XPRA_SOCKET_DIRS="${EPREFIX}/run/xpra" +} diff --git a/x11-wm/xpra/xpra-2.2.2.ebuild b/x11-wm/xpra/xpra-2.2.2.ebuild deleted file mode 100644 index 4b7a6699baf9..000000000000 --- a/x11-wm/xpra/xpra-2.2.2.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3 -PYTHON_COMPAT=( python2_7 ) -inherit xdg distutils-r1 eutils flag-o-matic user tmpfiles prefix - -DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy" -HOMEPAGE="http://xpra.org/ http://xpra.org/src/" -SRC_URI="http://xpra.org/src/${P}.tar.xz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="+client +clipboard csc cups dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 jpeg libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam webp" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} - clipboard? ( || ( server client ) ) - cups? ( dbus ) - opengl? ( client ) - || ( client server ) - client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )" - -COMMON_DEPEND="${PYTHON_DEPS} - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/pygtk:2[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXtst - x11-libs/libxkbfile - csc? ( - !libav? ( >=media-video/ffmpeg-1.2.2:0= ) - libav? ( media-video/libav:0= ) - ) - dec_avcodec2? ( - !libav? ( >=media-video/ffmpeg-2:0= ) - libav? ( media-video/libav:0= ) - ) - enc_ffmpeg? ( - !libav? ( >=media-video/ffmpeg-3.2.2:0= ) - libav? ( media-video/libav:0= ) - ) - enc_x264? ( media-libs/x264 - !libav? ( >=media-video/ffmpeg-1.0.4:0= ) - libav? ( media-video/libav:0= ) - ) - enc_x265? ( media-libs/x265 - !libav? ( >=media-video/ffmpeg-2:0= ) - libav? ( media-video/libav:0= ) ) - jpeg? ( media-libs/libjpeg-turbo ) - opengl? ( dev-python/pygtkglext ) - pulseaudio? ( media-sound/pulseaudio ) - sound? ( media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - dev-python/gst-python:1.0 ) - vpx? ( media-libs/libvpx virtual/ffmpeg ) - webp? ( media-libs/libwebp )" - -RDEPEND="${COMMON_DEPEND} - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/netifaces[${PYTHON_USEDEP}] - dev-python/rencode[${PYTHON_USEDEP}] - virtual/ssh - x11-apps/xmodmap - cups? ( dev-python/pycups[${PYTHON_USEDEP}] ) - dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) - lz4? ( dev-python/lz4[${PYTHON_USEDEP}] ) - lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] ) - opengl? ( - client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] ) - ) - pillow? ( dev-python/pillow[${PYTHON_USEDEP}] ) - server? ( x11-base/xorg-server[-minimal,xvfb] - x11-drivers/xf86-input-void - ) - webcam? ( dev-python/numpy[${PYTHON_USEDEP}] - media-libs/opencv[python] - dev-python/pyinotify[${PYTHON_USEDEP}] )" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - >=dev-python/cython-0.16[${PYTHON_USEDEP}]" - -PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch - "${FILESDIR}"/${PN}-2.0-suid-warning.patch ) - -pkg_postinst() { - enewgroup ${PN} - tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf - - xdg_pkg_postinst -} - -python_prepare_all() { - hprefixify -w '/os.path/' setup.py - hprefixify tmpfiles.d/xpra.conf xpra/server/{server,socket}_util.py \ - xpra/platform{/xposix,}/paths.py xpra/scripts/server.py - - distutils-r1_python_prepare_all -} - -python_configure_all() { - sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \ - -i setup.py || die - - mydistutilsargs=( - --without-PIC - --without-Xdummy - $(use_with client) - $(use_with clipboard) - $(use_with csc csc_swscale) - --without-csc_libyuv - $(use_with cups printing) - --without-debug - $(use_with dbus) - $(use_with dec_avcodec2) - $(use_with enc_ffmpeg) - $(use_with enc_x264) - $(use_with enc_x265) - --with-gtk2 - --without-gtk3 - --without-html5 - $(use_with jpeg) - --without-mdns - --without-minify - $(use_with opengl) - $(use_with server shadow) - $(use_with server) - $(use_with sound) - --with-strict - $(use_with vpx) - --with-warn - $(use_with webcam) - $(use_with webp) - --with-x11 - ) - - # see https://www.xpra.org/trac/ticket/1080 - # and http://trac.cython.org/ticket/395 - append-cflags -fno-strict-aliasing - - export XPRA_SOCKET_DIRS="${EPREFIX}/run/xpra" -} diff --git a/x11-wm/xpra/xpra-2.2.6-r1.ebuild b/x11-wm/xpra/xpra-2.2.6-r1.ebuild deleted file mode 100644 index 12fe5f472783..000000000000 --- a/x11-wm/xpra/xpra-2.2.6-r1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3 -PYTHON_COMPAT=( python2_7 ) -inherit xdg distutils-r1 eutils flag-o-matic user tmpfiles prefix - -DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy" -HOMEPAGE="http://xpra.org/ http://xpra.org/src/" -SRC_URI="http://xpra.org/src/${P}.tar.xz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+client +clipboard csc cups dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 jpeg libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam webp" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} - clipboard? ( || ( server client ) ) - cups? ( dbus ) - opengl? ( client ) - || ( client server ) - client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )" - -COMMON_DEPEND="${PYTHON_DEPS} - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/pygtk:2[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXtst - x11-libs/libxkbfile - csc? ( - !libav? ( >=media-video/ffmpeg-1.2.2:0= ) - libav? ( media-video/libav:0= ) - ) - dec_avcodec2? ( - !libav? ( >=media-video/ffmpeg-2:0=[x264,x265] ) - libav? ( media-video/libav:0=[x264,x265] ) - ) - enc_ffmpeg? ( - !libav? ( >=media-video/ffmpeg-3.2.2:0= ) - libav? ( media-video/libav:0= ) - ) - enc_x264? ( media-libs/x264 - !libav? ( >=media-video/ffmpeg-1.0.4:0=[x264] ) - libav? ( media-video/libav:0=[x264] ) - ) - enc_x265? ( media-libs/x265 - !libav? ( >=media-video/ffmpeg-2:0=[x264] ) - libav? ( media-video/libav:0=[x264] ) ) - jpeg? ( media-libs/libjpeg-turbo ) - opengl? ( dev-python/pygtkglext ) - pulseaudio? ( media-sound/pulseaudio ) - sound? ( media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - dev-python/gst-python:1.0 ) - vpx? ( media-libs/libvpx virtual/ffmpeg ) - webp? ( media-libs/libwebp )" - -RDEPEND="${COMMON_DEPEND} - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/netifaces[${PYTHON_USEDEP}] - dev-python/rencode[${PYTHON_USEDEP}] - virtual/ssh - x11-apps/xmodmap - cups? ( dev-python/pycups[${PYTHON_USEDEP}] ) - dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) - lz4? ( dev-python/lz4[${PYTHON_USEDEP}] ) - lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] ) - opengl? ( - client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] ) - ) - pillow? ( dev-python/pillow[${PYTHON_USEDEP}] ) - server? ( x11-base/xorg-server[-minimal,xvfb] - x11-drivers/xf86-input-void - ) - webcam? ( dev-python/numpy[${PYTHON_USEDEP}] - media-libs/opencv[python] - dev-python/pyinotify[${PYTHON_USEDEP}] )" -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - >=dev-python/cython-0.16[${PYTHON_USEDEP}]" - -PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch - "${FILESDIR}"/${PN}-2.0-suid-warning.patch ) - -pkg_postinst() { - enewgroup ${PN} - tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf - - xdg_pkg_postinst -} - -python_prepare_all() { - hprefixify -w '/os.path/' setup.py - hprefixify tmpfiles.d/xpra.conf xpra/server/{server,socket}_util.py \ - xpra/platform{/xposix,}/paths.py xpra/scripts/server.py - - distutils-r1_python_prepare_all -} - -python_configure_all() { - sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \ - -i setup.py || die - - mydistutilsargs=( - --without-PIC - --without-Xdummy - $(use_with client) - $(use_with clipboard) - $(use_with csc csc_swscale) - --without-csc_libyuv - $(use_with cups printing) - --without-debug - $(use_with dbus) - $(use_with dec_avcodec2) - $(use_with enc_ffmpeg) - $(use_with enc_x264) - $(use_with enc_x265) - --with-gtk2 - --without-gtk3 - --without-html5 - $(use_with jpeg) - --without-mdns - --without-minify - $(use_with opengl) - $(use_with server shadow) - $(use_with server) - $(use_with sound) - --with-strict - $(use_with vpx) - --with-warn - $(use_with webcam) - $(use_with webp) - --with-x11 - ) - - # see https://www.xpra.org/trac/ticket/1080 - # and http://trac.cython.org/ticket/395 - append-cflags -fno-strict-aliasing - - export XPRA_SOCKET_DIRS="${EPREFIX}/run/xpra" -} diff --git a/x11-wm/xpra/xpra-2.2.6-r2.ebuild b/x11-wm/xpra/xpra-2.2.6-r2.ebuild new file mode 100644 index 000000000000..6602c5a6ba85 --- /dev/null +++ b/x11-wm/xpra/xpra-2.2.6-r2.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3 +PYTHON_COMPAT=( python2_7 ) +inherit xdg distutils-r1 eutils flag-o-matic user tmpfiles prefix + +DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy" +HOMEPAGE="http://xpra.org/ http://xpra.org/src/" +SRC_URI="http://xpra.org/src/${P}.tar.xz" + +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+client +clipboard csc cups dbus dec_avcodec2 enc_ffmpeg enc_x264 enc_x265 jpeg libav +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam webp" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} + clipboard? ( || ( server client ) ) + cups? ( dbus ) + opengl? ( client ) + || ( client server ) + client? ( enc_x264? ( dec_avcodec2 ) enc_x265? ( dec_avcodec2 ) )" + +COMMON_DEPEND="${PYTHON_DEPS} + dev-python/pygobject:2[${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}] + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/libxkbfile + csc? ( + !libav? ( >=media-video/ffmpeg-1.2.2:0= ) + libav? ( media-video/libav:0= ) + ) + dec_avcodec2? ( + !libav? ( >=media-video/ffmpeg-2:0=[x264,x265] ) + libav? ( media-video/libav:0=[x264,x265] ) + ) + enc_ffmpeg? ( + !libav? ( >=media-video/ffmpeg-3.2.2:0= ) + libav? ( media-video/libav:0= ) + ) + enc_x264? ( media-libs/x264 + !libav? ( >=media-video/ffmpeg-1.0.4:0=[x264] ) + libav? ( media-video/libav:0=[x264] ) + ) + enc_x265? ( media-libs/x265 + !libav? ( >=media-video/ffmpeg-2:0=[x264] ) + libav? ( media-video/libav:0=[x264] ) ) + jpeg? ( media-libs/libjpeg-turbo ) + opengl? ( dev-python/pygtkglext ) + pulseaudio? ( media-sound/pulseaudio ) + sound? ( media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + dev-python/gst-python:1.0 ) + vpx? ( media-libs/libvpx virtual/ffmpeg ) + webp? ( media-libs/libwebp )" + +RDEPEND="${COMMON_DEPEND} + dev-python/netifaces[${PYTHON_USEDEP}] + dev-python/rencode[${PYTHON_USEDEP}] + virtual/ssh + x11-apps/xmodmap + cups? ( dev-python/pycups[${PYTHON_USEDEP}] ) + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) + lz4? ( dev-python/lz4[${PYTHON_USEDEP}] ) + lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] ) + opengl? ( + client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] ) + ) + pillow? ( dev-python/pillow[${PYTHON_USEDEP}] ) + server? ( x11-base/xorg-server[-minimal,xvfb] + x11-drivers/xf86-input-void + ) + webcam? ( dev-python/numpy[${PYTHON_USEDEP}] + media-libs/opencv[python] + dev-python/pyinotify[${PYTHON_USEDEP}] )" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + >=dev-python/cython-0.16[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch + "${FILESDIR}"/${PN}-2.0-suid-warning.patch ) + +pkg_postinst() { + enewgroup ${PN} + tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf + + xdg_pkg_postinst +} + +python_prepare_all() { + hprefixify -w '/os.path/' setup.py + hprefixify tmpfiles.d/xpra.conf xpra/server/{server,socket}_util.py \ + xpra/platform{/xposix,}/paths.py xpra/scripts/server.py + + distutils-r1_python_prepare_all +} + +python_configure_all() { + sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \ + -i setup.py || die + + mydistutilsargs=( + --without-PIC + --without-Xdummy + $(use_with client) + $(use_with clipboard) + $(use_with csc csc_swscale) + --without-csc_libyuv + $(use_with cups printing) + --without-debug + $(use_with dbus) + $(use_with dec_avcodec2) + $(use_with enc_ffmpeg) + $(use_with enc_x264) + $(use_with enc_x265) + --with-gtk2 + --without-gtk3 + --without-html5 + $(use_with jpeg) + --without-mdns + --without-minify + $(use_with opengl) + $(use_with server shadow) + $(use_with server) + $(use_with sound) + --with-strict + $(use_with vpx) + --with-warn + $(use_with webcam) + $(use_with webp) + --with-x11 + ) + + # see https://www.xpra.org/trac/ticket/1080 + # and http://trac.cython.org/ticket/395 + append-cflags -fno-strict-aliasing + + export XPRA_SOCKET_DIRS="${EPREFIX}/run/xpra" +} -- cgit v1.2.3