parent
9a7035034f
commit
2e2aac4242
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The library for Calculate 2"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.2"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="minimal"
|
||||
DEPEND="!<sys-apps/calculate-lib-2.1.8-r1
|
||||
!=sys-apps/calculate-lib-2.1.9
|
||||
!=sys-apps/calculate-lib-2.1.10
|
||||
!minimal? ( dev-python/py-smbpasswd )
|
||||
>=dev-python/pyxml-0.8
|
||||
sys-apps/iproute2
|
||||
sys-apps/pciutils
|
||||
sys-fs/lvm2
|
||||
sys-fs/mdadm
|
||||
sys-apps/file[python]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# fix autoupdate user profile
|
||||
epatch "${FILESDIR}/calculate-lib-2.2.28-fix_update.patch"
|
||||
# fix ati name
|
||||
epatch "${FILESDIR}/calculate-lib-2.2.28-fix_ati_name.patch"
|
||||
# fix detect video by /etc/X11/xorg.conf
|
||||
epatch "${FILESDIR}/calculate-lib-2.2.28-fix_detect_video.patch"
|
||||
# fix detect ability gzip for squashfs-tools
|
||||
epatch "${FILESDIR}/calculate-lib-2.2.28-fix_detect_compress.patch"
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
commit cd60886fd866e4fc44516cc9af1f1609ef7eea17
|
||||
Author: Mike Hiretsky <mh@calculate.ru>
|
||||
Date: Thu Mar 15 11:21:45 2012 +0400
|
||||
|
||||
Fix detect gzip compress for squashfs-tools.
|
||||
|
||||
diff --git a/pym/cl_utils.py b/pym/cl_utils.py
|
||||
index 063d5a2..7ae5015 100644
|
||||
--- a/pym/cl_utils.py
|
||||
+++ b/pym/cl_utils.py
|
||||
@@ -1047,6 +1047,12 @@ def getSquashList():
|
||||
if not usesSquashFs:
|
||||
return ["gzip"]
|
||||
else:
|
||||
+ pkgInfo = getPkgInstalled('sys-fs/squashfs-tools')
|
||||
+ if pkgInfo and pkgInfo[0]['PV']:
|
||||
+ pkgVer = getTupleVersion(pkgInfo[0]['PV'])
|
||||
+ gzipVer = getTupleVersion('4.2')
|
||||
+ if pkgVer >= gzipVer:
|
||||
+ usesSquashFs.append('gzip')
|
||||
return map(lambda x:{"lzma":"xz"}.get(x,x),
|
||||
list(set(usesSquashFs) & wantMethod))
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
DESCRIPTION="Calculate Utilities meta package"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="
|
||||
cl_assemble
|
||||
cl_builder
|
||||
cl_client
|
||||
cl_desktop
|
||||
cl_installgui
|
||||
cl_server
|
||||
"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!sys-apps/calculate-templates
|
||||
=sys-apps/calculate-install-2.2.28-r1
|
||||
=sys-apps/calculate-lib-2.2.28-r4
|
||||
=sys-apps/calculate-i18n-2.2.28
|
||||
|
||||
cl_assemble? ( =sys-apps/calculate-assemble-2.2.28-r1 )
|
||||
cl_builder? ( =sys-apps/calculate-builder-2.2.28 )
|
||||
cl_client? ( =sys-apps/calculate-client-2.2.28-r1 )
|
||||
cl_desktop? ( =sys-apps/calculate-desktop-2.2.28 )
|
||||
cl_installgui? ( =app-misc/calculate-install-gui-2.2.28 )
|
||||
|
||||
cl_server? ( =sys-apps/calculate-server-2.1.15-r4 )
|
||||
"
|
Loading…
Reference in new issue