parent
7e6244d125
commit
9a16391409
@ -0,0 +1,32 @@
|
||||
# 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="Qt gui console client for WSDL Calculate 3"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="~sys-apps/calculate-core-3.2.0_alpha11
|
||||
dev-python/dbus-python
|
||||
virtual/python-imaging
|
||||
dev-python/pyside[script]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# apply revision changes
|
||||
epatch "${FILESDIR}/calculate-console-gui-3.2.0_alpha11-r1.patch"
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
diff --git scripts/cl-update-checker scripts/cl-update-checker
|
||||
index 67055ed..70d1a72 100644
|
||||
--- scripts/cl-update-checker
|
||||
+++ scripts/cl-update-checker
|
||||
@@ -31,6 +31,7 @@ from calculate.update.update_info import UpdateInfo
|
||||
|
||||
GUI_UPDATE_APP = DBUS_METHOD_APP % "update"
|
||||
|
||||
+MINUTE=60
|
||||
|
||||
class SysTray(QtGui.QSystemTrayIcon):
|
||||
ICON = "/usr/share/pixmaps/calculate-console-update.png"
|
||||
@@ -95,7 +96,7 @@ class DBusChecker(dbus.service.Object):
|
||||
self.parent.step()
|
||||
|
||||
class CheckThread(QtGui.QMainWindow, UpdateInfo):
|
||||
- interval = 10
|
||||
+ interval = MINUTE
|
||||
|
||||
def __init__(self, bus):
|
||||
super(CheckThread, self).__init__()
|
@ -0,0 +1,29 @@
|
||||
# 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="Console client for WSDL Calculate 3"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="~sys-apps/calculate-core-3.2.0_alpha11"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# apply revision changes
|
||||
epatch "${FILESDIR}/calculate-console-3.2.0_alpha11-r1.patch"
|
||||
}
|
@ -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.2.0_alpha11
|
||||
=sys-apps/calculate-i18n-3.2.0_alpha11
|
||||
=sys-apps/calculate-lib-3.2.0_alpha11
|
||||
=sys-apps/calculate-core-3.2.0_alpha11
|
||||
=sys-apps/calculate-update-3.2.0_alpha11
|
||||
cl_client? ( =sys-apps/calculate-client-3.2.0_alpha11 )
|
||||
cl_desktop? ( =sys-apps/calculate-desktop-3.2.0_alpha11 )
|
||||
cl_consolegui? ( =sys-apps/calculate-console-gui-3.2.0_alpha11-r1 )
|
||||
cl_console? ( =sys-apps/calculate-console-3.2.0_alpha11-r1 )
|
||||
"
|
Loading…
Reference in new issue