parent
934f72c199
commit
cd5028cc39
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2:2.7"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 2.6 3.*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate3/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The program of the desktop configuration Calculate Linux"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="~sys-apps/calculate-core-3.1.5_beta1
|
||||
>=dev-python/python-ldap-2.0[ssl]
|
||||
media-gfx/feh
|
||||
x11-apps/xmessage
|
||||
!<sys-apps/calculate-desktop-3.1.0_alpha1"
|
||||
RDEPEND="${DEPEND}"
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# apply revision changes
|
||||
epatch "${FILESDIR}/calculate-desktop-3.1.5_beta1-r1.patch"
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
diff --git desktop/variables/desktop.py desktop/variables/desktop.py
|
||||
index a614ffe..3a92ccb 100644
|
||||
--- desktop/variables/desktop.py
|
||||
+++ desktop/variables/desktop.py
|
||||
@@ -88,6 +88,8 @@ class VariableClDesktopGstData(ReadonlyVariable):
|
||||
def get(self):
|
||||
# try import gst
|
||||
try:
|
||||
+ copyargv = sys.argv
|
||||
+ sys.argv = []
|
||||
olderr = os.dup(sys.stderr.fileno())
|
||||
os.close(sys.stderr.fileno())
|
||||
import gst
|
||||
@@ -95,6 +97,7 @@ class VariableClDesktopGstData(ReadonlyVariable):
|
||||
except ImportError:
|
||||
gst = None
|
||||
finally:
|
||||
+ sys.argv= copyargv
|
||||
os.dup2(olderr,sys.stderr.fileno())
|
||||
if gst is None:
|
||||
return {}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Calculate Utilities meta package"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="cl_consolegui cl_client cl_desktop cl_console"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
=sys-apps/calculate-install-3.1.5_beta1-r1
|
||||
=sys-apps/calculate-i18n-3.1.5_beta1-r1
|
||||
=sys-apps/calculate-lib-3.1.5_beta1
|
||||
=sys-apps/calculate-core-3.1.5_beta1
|
||||
=sys-apps/calculate-update-3.1.5_beta1
|
||||
cl_client? ( =sys-apps/calculate-client-3.1.5_beta1-r1 )
|
||||
cl_desktop? ( =sys-apps/calculate-desktop-3.1.5_beta1-r1 )
|
||||
cl_consolegui? ( =sys-apps/calculate-console-gui-3.1.5_beta1 )
|
||||
cl_console? ( =sys-apps/calculate-console-3.1.5_beta1 )
|
||||
"
|
Loading…
Reference in new issue