Update calculate utilities.

atratsevskiy
Mike Hiretsky 13 years ago
parent 6fbf3e3c86
commit 663331085f

@ -2,6 +2,13 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*calculate-assemble-2.2.22-r1 (31 Aug 2011)
31 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>
+calculate-assemble-2.2.22-r1.ebuild,
+files/calculate-assemble-2.2.22-r1.patch:
Update for feature
*calculate-assemble-2.2.22 (26 Aug 2011)
26 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>

@ -2,6 +2,7 @@ AUX calculate-assemble-2.2.19_2.2.20_rc1.patch 8966 RMD160 03d7a9cd1618024297516
AUX calculate-assemble-2.2.20-display_deps.patch 3079 RMD160 d16172ee69262d0237e40cadee96bf345f2a232e SHA1 1ee60f16746c843454644499bfd61170a4d2f9af SHA256 5ea0b6ca3f3edf3efe1ea2cbe2e3577bf91813513a997b36791935241a8c766b
AUX calculate-assemble-2.2.20-fix_disk_dev.patch 765 RMD160 7e37e874e4d2508833c4d3707fbe1eadf44c30d6 SHA1 a81c11334684c5cb868efa42db584ca3ad0f059c SHA256 9f1a65f07370c00d0e17c2273da50aaa91368a921f7ae065dca4569cc6ebfa13
AUX calculate-assemble-2.2.21-r1.patch 4446 RMD160 c1b14f8abd0c590c9e95ce240b660d0ecc8e8948 SHA1 a96932a08140ac3751454c403c2f9423b8e534c0 SHA256 5c42ee4b07a2905992b4128cb759a48f26745af1ee53ac621ebe0fdf2d2847f8
AUX calculate-assemble-2.2.22-r1.patch 2593 RMD160 47ce26b90ffa010a83553d67e46973a64a05e756 SHA1 c850b68e7053e6542bc0687043c2a116fd27ee56 SHA256 d831ed3d6bb7fbb8c40a66cfef9082ae2ac5426828dabfb983a51c94f1ff6426
DIST calculate-assemble-2.2.18.tar.bz2 33018 RMD160 2c3ae7f1d27c3ad8d5f956d08fa3a676bad8831c SHA1 93737556574d527aae29221a8fe1a0849b962a43 SHA256 25953004f54550c54491498c8bde11fd0761b17bf830d12b0c3a4b6028fd5713
DIST calculate-assemble-2.2.19.tar.bz2 25088 RMD160 ec39e5cd4a331da903555bd01c41ee1c9090a25a SHA1 c88a78cd82bc6307ce1763ce1421a54d2870e8af SHA256 84f4a4346d438a6a978783db4b6206c22ee0b0eb0026aff191c9af908bf4d43b
DIST calculate-assemble-2.2.20.tar.bz2 25241 RMD160 6e318195c86b332c100cb7d8737c35305bd2f10a SHA1 a410e30320c5cfc37ef1a34e8cdd70aafe8dbded SHA256 d606729494cc6883d4553cbdc5d0393811afeca714731760e63886ad8af2f01c
@ -15,7 +16,8 @@ EBUILD calculate-assemble-2.2.20-r2.ebuild 730 RMD160 5aba49bb15e3cf5b8db0e18583
EBUILD calculate-assemble-2.2.20.ebuild 481 RMD160 0dbf26e99b73a2ed32fa64aae37041954b432f8c SHA1 1ab75e7e4b1e7aa7bd0b7fba1dca7ea080b0c60c SHA256 6bf79b34ee46ab93dd17ac7bd75a5d073aa7a79daa83e58a85ee3f99301c2fbe
EBUILD calculate-assemble-2.2.21-r1.ebuild 598 RMD160 e2c5ededba4f4baf850222ddcd77affc2d98afbb SHA1 75b3760188ee350831ee60b85214b6bdcb874b08 SHA256 9335f9606a96044faa2ea00bc1f4e567c1d218600f4ffbf8acc6cf776972e0a5
EBUILD calculate-assemble-2.2.21.ebuild 481 RMD160 69d8ff833b54faf18a7b969fd7f9831458ab89ee SHA1 5c4384299f784a2c086624256e933a7299278474 SHA256 e1037ab96c92fbeb3a1556489d6776e8e2c872c2a534296a09fca51dd0d4892a
EBUILD calculate-assemble-2.2.22-r1.ebuild 627 RMD160 bdfcedf0d695dda682d6019aa129ed1007eb875b SHA1 49cb69f47fc8fd1692ea9e866c0498fac2a8e65c SHA256 a9b00671691d0dbd07a5930eb65093804d9467d5ca996ff1019d2865e5dfd22f
EBUILD calculate-assemble-2.2.22.ebuild 481 RMD160 d604c2b39e810c227f68a8a028b466a43d80c1ae SHA1 eaba40323101b3ab6e47ff5e1d67828b627f133e SHA256 425d6e07a2fe814e2f96256d51780a8617b558efeee619ae39376cfaeb913025
EBUILD calculate-assemble-2.2.9999.ebuild 482 RMD160 a8dd82b9ec70dd999e13c509f0f11f303bdbf5c7 SHA1 a5218cd678aa8d213ee8455874e7ea0b07246ebc SHA256 2c0fed30ccde6401d214a6de67dc63a0c91fd025508efb3519db9b2cda800ec9
MISC ChangeLog 12482 RMD160 acc02cbd021f520aa1ce2204abfdd72d6407aaa8 SHA1 15c24e917f2e172077c824ed799ed03caed80821 SHA256 90c14dbb201a5aa500b1e4e3a6ad42f7428730de53b8705aa940bf3fc47fafd1
MISC ChangeLog 12694 RMD160 648f1fda3c1389004a9734d91d2983dca6f58074 SHA1 58e65bdb48f1b410a106ae085eadb1c5a095ebc3 SHA256 d75965aaf5e94f09c12ba9efa248b2eff552a73085ffdca3213c4ba7d775bf41
MISC metadata.xml 273 RMD160 7d99331acd3ba20fc7ae361cb845f33f73d994ee SHA1 92e19e1e4c24527654168ac0cf9fe58ba78aeb4d SHA256 4e25d45ba43b2ab7f7ae8ab4cfc05c406566cfb143a87166de77fbd8d9f8a943

@ -0,0 +1,27 @@
# Copyright 1999-2011 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 utilities for assembling tasks of Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND="~sys-apps/calculate-builder-2.2.22"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# add support use directory for assembling
epatch "${FILESDIR}/calculate-assemble-2.2.22-r1.patch"
}

@ -0,0 +1,47 @@
diff --git pym/cl_assemble.py pym/cl_assemble.py
index 98daa34..f1e77f1 100644
--- pym/cl_assemble.py
+++ pym/cl_assemble.py
@@ -320,9 +320,13 @@ class cl_assemble(color_print):
self.clVars.Get('os_assemble_linux_ver'))
self.printSUCCESS(_("Machine hardware name")+": %s"%
self.clVars.Get('os_assemble_arch_machine'))
- self.printSUCCESS(_("Partition for assembling: %s")%
+ if path.isdir(self.clVars.Get('os_assemble_root_dev')):
+ self.printSUCCESS(_("Directory for assembling: %s")%
+ self.clVars.Get('os_assemble_root_dev'))
+ else:
+ self.printSUCCESS(_("Partition for assembling: %s")%
self.clVars.Get('os_assemble_root_dev'))
- self.printSUCCESS(_("File system: %s")%
+ self.printSUCCESS(_("File system: %s")%
self.clVars.Get('os_assemble_root_format'))
if self.clVars.Get('cl_assemble_sync'):
self.printSUCCESS(_("Portage rsync mirror: %s")%
@@ -466,14 +470,18 @@ class cl_assemble(color_print):
rootPartdev = self.clVars.Get('os_assemble_root_dev')
formatId = PartitionDistributive.formatId
fileSystem = self.clVars.Get('os_assemble_root_format')
- return PartitionDistributive(rootPartdev,
- mdirectory=self.clVars.Get('cl_assemble_path'),
- check=True, fileSystem=fileSystem, isFormat=True,
- systemId=formatId.get(fileSystem,"83"),
- flagRemoveDir=False,
- rootLabel="%s-%s"%
- (self.clVars.Get('os_assemble_linux_shortname'),
- self.clVars.Get('os_assemble_linux_ver')))
+ if rootPartdev.startswith('/dev'):
+ return PartitionDistributive(rootPartdev,
+ mdirectory=self.clVars.Get('cl_assemble_path'),
+ check=True, fileSystem=fileSystem, isFormat=True,
+ systemId=formatId.get(fileSystem,"83"),
+ flagRemoveDir=False,
+ rootLabel="%s-%s"%
+ (self.clVars.Get('os_assemble_linux_shortname'),
+ self.clVars.Get('os_assemble_linux_ver')))
+ else:
+ return DirectoryDistributive(rootPartdev,
+ mdirectory=self.clVars.Get('cl_assemble_path'))
def _prepareMount(self):
"""Mount /proc,/sys, remote, /dev to chroot"""

@ -2,6 +2,13 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*calculate-builder-2.2.22-r3 (31 Aug 2011)
31 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>
+calculate-builder-2.2.22-r3.ebuild,
+files/calculate-builder-2.2.22-r3.patch:
Update for feature
*calculate-builder-2.2.22-r2 (30 Aug 2011)
30 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>

@ -1,6 +1,7 @@
AUX calculate-builder-2.2.19_2.2.20_rc1.patch 1927 RMD160 5c5f11e5397b04c022bc3307fcc81defcacdf5c4 SHA1 eb0ff12a50ab216d5443b93023dfa201891f6a3b SHA256 5f9b5fa5ceebf676d464f71cdfa8a235653af628b0c6f19be5272c6688a640c5
AUX calculate-builder-2.2.22-dispatch_conf.patch 1239 RMD160 964bfa44e5753c6e2154d4add40e97e2b54a7589 SHA1 4c5f3b0bc945c7533f72ad2b7e0b702f391537d7 SHA256 a2efa975a7881eb76009aab31e127fbb97e2a531a80cb815f40160855800960f
AUX calculate-builder-2.2.22-kernel_3.patch 1033 RMD160 fcbdfd9d535903dea14b3bc82f15a98180e0de82 SHA1 88619bcb6f0b4017190afda551fcda834a29bbfb SHA256 b58f47845f95bb4efc22e1368c23ee3d8d17b36114c93d7dac4b2e60ef91c50f
AUX calculate-builder-2.2.22-r3.patch 4925 RMD160 4fec64e34018c250127cc2ecbfb0e980c8ce618c SHA1 82847ef649e15a493320bffc850cef43d0c9693d SHA256 851cf855388047612d69207df25bbcab1ba3620a199546d82472ec4724d9bcf0
DIST calculate-builder-2.2.18.tar.bz2 30995 RMD160 de051bfc8def67c6adc7c08be6610ed022b0e079 SHA1 5271a56e017acaa0e9fe38fd6717d2ef5ecb4ac8 SHA256 0598342020ebb0008ad7a4ac66c42317663ac153c6f74ed313a7b020b2154c1c
DIST calculate-builder-2.2.19.tar.bz2 26464 RMD160 82481411bd5976a3d217dd9a9889b6f90eca1ab2 SHA1 9dc278e441437b31fc6f6a79b41d9c1ec25d5102 SHA256 e87d392255e6de8453594ccde04f0385430bdcd605650e115be7c80ee3a53261
DIST calculate-builder-2.2.20.tar.bz2 26589 RMD160 a313f05452a8d382d35d7b73203cc78d1431c8dc SHA1 887e68cc1c534f848ef0b8a795d6335b8a4ea42b SHA256 77a377f2bf66c408f4e77b1f96dd7484fb4ffad47b026e72ef0c2f19b3d27600
@ -13,7 +14,8 @@ EBUILD calculate-builder-2.2.20.ebuild 590 RMD160 ed36427d69477ee8998e23a9244a83
EBUILD calculate-builder-2.2.21.ebuild 590 RMD160 77e8acd113dfe6c24eecf19d99fcb1a4b07e8ac6 SHA1 92380f0ac7886c46f338a604d7ee07f006149d5a SHA256 09126eca71ea6dd007f3f177e8c211dc5e582811b5cfed01c9459ca9a662177b
EBUILD calculate-builder-2.2.22-r1.ebuild 727 RMD160 24da78b86f79ebb1d22511b183e11f46e661b636 SHA1 c31241a65f9fd1bd1668d6703eaa2b1257ebc646 SHA256 7c142796513b7ec88cd1b55bd9f5bbb8f5eef8fdd03542c0ae222644571d0bb3
EBUILD calculate-builder-2.2.22-r2.ebuild 806 RMD160 36bb2e2c92bf9e1f5b744b8d0d01d953588e2898 SHA1 ce6206c45f2e47fdb300a381d7c165bf55179f3b SHA256 e33199093a79278d14e8385fb7591a95ac8a5f93e0470ac8a0cfef09c2e97140
EBUILD calculate-builder-2.2.22-r3.ebuild 726 RMD160 bbf6a5b4ed42694b40f0af6e72a2db35d268bbc5 SHA1 f88b14f96289b8f3f8453b0d9e5f27373a60e350 SHA256 8e466868f25082026626be4c753634a1a2c1580a3f169727579a2197e4246179
EBUILD calculate-builder-2.2.22.ebuild 590 RMD160 75600caab5c8d5c94f823138e8938aa01a1790f1 SHA1 254d7e611b5afa0bb5e4c267e292202e3eb8a7f6 SHA256 96fba1a295df4911021eeb3d3f3e9f9538a384a57e03e0f4e062e113cd52d75a
EBUILD calculate-builder-2.2.9999.ebuild 555 RMD160 e803b87aed06b8f08e2637e10213a0d81ba3ba0b SHA1 3ed908155f477cfa91155420d4fae903ce8db1da SHA256 fd6326f73e68d91f476498db381f2af62e742e3c461b609a8eb379dc417e1470
MISC ChangeLog 15812 RMD160 79fb22e3be2119e1d69ec9768cdb8d090eecd4f6 SHA1 15ed5203c26a44adba2fcd68a7310142d53f1209 SHA256 929d22355bfc16efac3707279c953d2f905f211476b8b1a7642c00158c80ae73
MISC ChangeLog 16021 RMD160 cb8662dc73c8a12ec9aae44f2967864ef98f54f2 SHA1 aaa59796f7398a0220f39a55a5e2bbe295c701cf SHA256 212910a4a092b72726ff7f9f0caff2173dbd41db651dac207ce4e027164a95fe
MISC metadata.xml 270 RMD160 b5ff308a82cd6e594c2f04731cdbe9f80a945042 SHA1 58dbf7eb15bb2e6c6c8514f483e51dfacd1c62e9 SHA256 b65e150429ecbf36cf03d094f4e3e7518f536c61289cecff6b817326703d58a0

@ -0,0 +1,31 @@
# Copyright 1999-2011 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 utilities for builder tasks of Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND=">=sys-kernel/calckernel-3.4.18
~sys-apps/calculate-install-2.2.22
!<sys-apps/calculate-1.4.0_p20100921
app-cdr/cdrkit
sys-fs/squashfs-tools"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# support kernel 3 and dispatch conf
epatch "${FILESDIR}/calculate-builder-2.2.22-r3.patch"
}

@ -0,0 +1,112 @@
diff --git pym/cl_builder.py pym/cl_builder.py
index 572e6c7..b6e3582 100644
--- pym/cl_builder.py
+++ pym/cl_builder.py
@@ -231,6 +231,13 @@ class cl_builder(color_print):
removeKernelSources)
self.printByResult(True)
+ def dispatchConf(self, distrPath):
+ """Execute dispatch conf for """
+ self.printMessageForTest(_("Execute '%s'")%"dispatch-conf")
+ # run dispatch conf interactive
+ os.system("chroot %s /bin/bash -c '/usr/sbin/dispatch-conf'"%
+ distrPath)
+
def prepareSourceDistributive(self,distr):
"""Unmount all bind,proc mount points from source distribute"""
mp = self.clVars.Get('cl_builder_path')
@@ -243,6 +250,7 @@ class cl_builder(color_print):
self.printByResult(True)
distrPath = distr.convertToDirectory().getDirectory()
self.cleanNeedlessKernelData(distrPath)
+ self.dispatchConf(distrPath)
if self.assembleIso and \
self.clVars.Get('os_builder_profile').endswith('binary'):
@@ -580,13 +588,6 @@ class cl_builder(color_print):
dialogRes = dialogYesNo(dialogMessage)
if dialogRes in (None,False):
return True
- self.printMessageForTest(_("Prepare data for live image"))
- self.prepareSourceDistributive(self.sourceDistr)
- self.printByResult(True)
- self.targetDistr.prepareIso = self.flashPrepacking
- self.printMessageForTest(_("Creating squash image"))
- self.targetDistr.installFrom(self.sourceDistr)
- self.printByResult(True)
self.printMessageForTest(_("Removing old images"))
oldImages = map(lambda x:pathJoin(buildDirectory,x),
@@ -597,6 +598,14 @@ class cl_builder(color_print):
raise BuilderError(_("Can not remove old files")+":\n%s"%str(e))
self.printByResult(True)
+ self.printMessageForTest(_("Prepare data for live image"))
+ self.prepareSourceDistributive(self.sourceDistr)
+ self.printByResult(True)
+ self.targetDistr.prepareIso = self.flashPrepacking
+ self.printMessageForTest(_("Creating squash image"))
+ self.targetDistr.installFrom(self.sourceDistr)
+ self.printByResult(True)
+
self.printMessageForTest(_("Performing syncronization"))
processSync = process("/bin/sync")
self.printByResult(processSync.success())
diff --git pym/cl_fill_builder.py pym/cl_fill_builder.py
index 2b4d512..6f20032 100644
--- pym/cl_fill_builder.py
+++ pym/cl_fill_builder.py
@@ -23,7 +23,7 @@ from os import access, R_OK,W_OK
from os import path
from cl_distr import Distributive
from cl_utils import getTupleVersion,genpassword,pathJoin,_toUNICODE, \
- getFilesCount
+ getFilesCount,getCmdLineParam
from operator import itemgetter
from types import ListType
from cl_datavars import iniParser
@@ -110,7 +110,13 @@ class fillVars(object, varsShare):
kernelDirs = self.Get('cl_kernel_config_path')
if not access(kernelDirs,R_OK):
return ""
- shortVerSearch = re.search("^\d+\.\d+.\d+",self.Get('cl_kernel_ver'),re.I)
+ # check first number (3 or other kernel)
+ tupleKernelVer = self.Get('cl_kernel_ver').split('.')
+ if tupleKernelVer and tupleKernelVer[0] == '3':
+ shortVerSearch = re.search("^\d+\.\d+",
+ self.Get('cl_kernel_ver'),re.I)
+ else:
+ shortVerSearch = re.search("^\d+\.\d+.\d+",self.Get('cl_kernel_ver'),re.I)
if shortVerSearch:
shortVer = shortVerSearch.group()
else:
@@ -309,21 +315,18 @@ class fillVars(object, varsShare):
squashfiles = filter(lambda x:x,
map(Distributive.reLive.search,
os.listdir(directory)))
+ curName = self.Get('cl_builder_current_squash')
if squashfiles:
- return map(lambda x:x.group(),
- sorted(squashfiles, key=self.getSquashNum))[:-1]
+ return filter(lambda x:x != curName,
+ map(lambda x:x.group(),
+ sorted(squashfiles, key=self.getSquashNum)))
return ""
def get_cl_builder_current_squash(self):
"""Livecd.squashfs name (may be livecd.squashfs.2 and etc)"""
- directory = self.Get('cl_builder_iso_path')
- if not os.access(directory,R_OK):
- return ""
- squashfiles = filter(lambda x:x,
- map(Distributive.reLive.search,
- os.listdir(directory)))
- if squashfiles:
- return max(squashfiles, key=self.getSquashNum).group()
+ loopValue = getCmdLineParam('loop')
+ if loopValue:
+ return path.basename(loopValue)
return ""
def get_cl_builder_iso_path(self):

@ -2,6 +2,12 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*calculate-i18n-2.2.22-r1 (31 Aug 2011)
31 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>
+calculate-i18n-2.2.22-r1.ebuild, +files/calculate-i18n-2.2.22-r1.patch:
Update for translate
*calculate-i18n-2.2.22 (26 Aug 2011)
26 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>

@ -6,6 +6,7 @@ AUX calculate-i18n-2.2.20-for_assemble.patch 995 RMD160 ee251a5d04a2b7c4a1f54d46
AUX calculate-i18n-2.2.20-r2.patch 790 RMD160 14bdc03c42582f34af58a1311f9c92c888911183 SHA1 619db7605250073395e82ea5a24d1e12fa6f5bca SHA256 22066aaf7c62bfe089ae8be933ec73a4faec88086ac6578b9eb77cdb2f481bd1
AUX calculate-i18n-2.2.20-r4.patch 126252 RMD160 c5fef72a39012010ac26aaa3bdcce1d5e7895da2 SHA1 24e18fb3f50fe8b34cee07e2895fb214d02212a3 SHA256 a6959afc9048114df21e3119cee75ba667f3004832954c558dd3b72f794857fa
AUX calculate-i18n-2.2.21-r1.patch 1143 RMD160 9ab755b1be226b0bac00431aad21d2351e3397f1 SHA1 a842bdd273348f170ec5237d5019550c894e90c3 SHA256 9b8789b9f8e399220771bf836b2580b810ebdad7614919393fc68a1f9a39776c
AUX calculate-i18n-2.2.22-r1.patch 2685 RMD160 6784d7fc08ae28f2a3cc0b0402c50a5015f78fb5 SHA1 12d1648f34c19f512ec4d8d80d2603b5e092afa4 SHA256 e855b8899c8a901e02c0aa898a76ec1a4c72272a312527c09731385a990fe42c
DIST calculate-i18n-2.2.19.tar.bz2 27303 RMD160 6b26957485cf49dc247b7bcd2ab50c899e769d55 SHA1 82814fe0368452415ada35bf0bbc07426052fc7f SHA256 d6b4e1c6a15590b9bf1b8db0257a17e971571478d61054d4ab0453f2729d436d
DIST calculate-i18n-2.2.20.tar.bz2 27970 RMD160 915663f7501e22d4c38fd5f2b931a87ef38e085c SHA1 f50321956541713d899dc9a806e2504f7c9f20ec SHA256 06e8a53009793d434b721014bf06fc5483f87163215e2d1323e3dde5767d3ab4
DIST calculate-i18n-2.2.21.tar.bz2 28100 RMD160 8f785b28db85a946649ee87769d49ca77de9ec7d SHA1 262fad00e1f1127b75c9eaca4b8eef7787371e65 SHA256 bc9d9d1a03d50ed6d561265ee0161f2bea852a00af1685feaab8db247176f85b
@ -21,7 +22,8 @@ EBUILD calculate-i18n-2.2.20-r4.ebuild 971 RMD160 0179f413681adb5288e00448c35052
EBUILD calculate-i18n-2.2.20.ebuild 682 RMD160 7c158a21d27de99c219ced2043fddd4f6629a132 SHA1 0d112aab5e8857131b30969a9011fed2f26955b8 SHA256 d9b2a1b26c155475f01d3e42dd15f0222f786b21806fe2fbc7f5b91285394e09
EBUILD calculate-i18n-2.2.21-r1.ebuild 812 RMD160 4f1843dedbe340f7e1ab943217b97b69b83c214c SHA1 1fc9ccb8c4769866d0a732df2d579569f2f0db4d SHA256 985acb8ccbe46401be5764fbe969a841ac25530952bcc080caada81d17705a04
EBUILD calculate-i18n-2.2.21.ebuild 682 RMD160 7c158a21d27de99c219ced2043fddd4f6629a132 SHA1 0d112aab5e8857131b30969a9011fed2f26955b8 SHA256 d9b2a1b26c155475f01d3e42dd15f0222f786b21806fe2fbc7f5b91285394e09
EBUILD calculate-i18n-2.2.22-r1.ebuild 819 RMD160 1616d084f44483af4bfaccbba4780dcdade6eedc SHA1 9ea8ccb03f7b82eefe980c0c2486ff30f351101e SHA256 9bf055b707b487d6adc834eb80b59b05325a2a1fafd4c07f4425ab755ff78686
EBUILD calculate-i18n-2.2.22.ebuild 682 RMD160 7c158a21d27de99c219ced2043fddd4f6629a132 SHA1 0d112aab5e8857131b30969a9011fed2f26955b8 SHA256 d9b2a1b26c155475f01d3e42dd15f0222f786b21806fe2fbc7f5b91285394e09
EBUILD calculate-i18n-2.2.9999.ebuild 680 RMD160 b3d1cfb1045bc3b5da1be318c13fd15919f16aef SHA1 acfe16d8ac67eb88426f46980df3892d7c5a7de7 SHA256 623a395dd35d2620e697b9f8c97d58d3a7220cade8b3a69186050d921d26b802
MISC ChangeLog 2506 RMD160 3f682ad8d8b8780bc04ed1541042ce2d840df7d3 SHA1 c47803ed16bf2583bdd749c8517f3314364b96ea SHA256 c30e9146770539c797f2e79fa268d302d2b3b20f1dcea11b18981f12fe8d650c
MISC ChangeLog 2706 RMD160 8e7409e081f4f1c6ab146e71457a8517b87084ec SHA1 d5324fc80fb9f81b4c0ae37173c90326c60b57dd SHA256 96b0fb739bb1b5fd280de8589a455eaea43f4f4a69397b7f6937df0e109bf6da
MISC metadata.xml 276 RMD160 d9730825fc3ad1b5ea7ba45704121ebd29e38b11 SHA1 c4c1576efbc38119efca43cfa273cb9f433f1de1 SHA256 a2312171d1cbfac41a263c0be692d3d12cfa3aab51979af64487824ae674bc2c

@ -0,0 +1,33 @@
# Copyright 1999-2011 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 utilities for assembling tasks of Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND=">=sys-apps/calculate-lib-2.2.19
!<sys-apps/calculate-install-2.2.19
!<sys-apps/calculate-client-2.2.19
!<sys-apps/calculate-desktop-2.2.19
!<sys-apps/calculate-builder-2.2.19
!<sys-apps/calculate-assemble-2.2.19"
DEPEND="sys-devel/gettext
${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# update for install,assemble,builder
epatch "${FILESDIR}/calculate-i18n-2.2.22-r1.patch"
}

@ -0,0 +1,75 @@
diff --git ru/cl_assemble_ru.po ru/cl_assemble_ru.po
index a2bb9e5..a2b6e0c 100644
--- ru/cl_assemble_ru.po
+++ ru/cl_assemble_ru.po
@@ -519,3 +519,6 @@ msgstr "настроить шаблонами %s"
msgid "For installation '%s' will be installed follow packages"
msgstr "При установке '%s' будут устанавливаться следующие пакеты"
+
+msgid "Directory for assembling: %s"
+msgstr "Директория для сборки: %s"
diff --git ru/cl_builder_ru.po ru/cl_builder_ru.po
index 1d6e66a..aec0ca7 100644
--- ru/cl_builder_ru.po
+++ ru/cl_builder_ru.po
@@ -435,3 +435,6 @@ msgid ""
msgstr ""
"Если вы хотите вручную устанавливать пакеты в собираемой системе, пожалуйста "
"выполните:"
+
+msgid "Execute '%s'"
+msgstr "Выполнение '%s'"
diff --git ru/cl_install_ru.po ru/cl_install_ru.po
index cc1688b..8a02369 100644
--- ru/cl_install_ru.po
+++ ru/cl_install_ru.po
@@ -966,3 +966,48 @@ msgstr ""
msgid "option is depricated, use '--startup' option"
msgstr "параметр устарел, используйте параметр '--startup'"
+
+msgid "set video driver"
+msgstr "установить видео драйвер"
+
+msgid "set Xorg resolution"
+msgstr "установить Xorg разрешение"
+
+msgid "set frame buffer resolution"
+msgstr "установить разрешение для фрейм буффера"
+
+msgid "set timezone"
+msgstr "установить часовой пояс"
+
+msgid "option {optname}: {errormess}: '{value}' (example: '{example}')"
+msgstr "опция {optname}: {errormess}: '{value}' (пример: '{example}')"
+
+msgid "%s specifing error"
+msgstr "ошибка указания %s"
+
+msgid "X resolution"
+msgstr "Xorg разрешения"
+
+msgid "route"
+msgstr "маршрута"
+
+msgid "disk"
+msgstr "диска"
+
+msgid "frame buffer resolution"
+msgstr "разрешения фрейм буффера"
+
+msgid "%s videodriver is unavailable"
+msgstr "%s видеодрайвер недоступен"
+
+msgid "Install %s driver by command:"
+msgstr "Установите %s драйвер командой:"
+
+msgid "To apply changes you must reboot the system"
+msgstr "Для применения изменений необходимо перезагрузить систему"
+
+msgid "To apply changes you must restart the X server"
+msgstr "Для применения изменений необходимо перезагрузить X сервер"
+
+msgid "%s timezone is wrong"
+msgstr "Неправильный часовой пояс %s"

@ -2,6 +2,13 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*calculate-install-2.2.22-r2 (31 Aug 2011)
31 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>
+calculate-install-2.2.22-r2.ebuild,
+files/calculate-install-2.2.22-r2.patch:
Update for bugfix
*calculate-install-2.2.22-r1 (29 Aug 2011)
29 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>

@ -18,6 +18,7 @@ AUX calculate-install-2.2.21-r2.patch 5802 RMD160 3b73c9b524785f6c1c1f82537bfff4
AUX calculate-install-2.2.21-r3.patch 18457 RMD160 2aceaf84cc1df2da2ad55846e499ade724a2eaad SHA1 e76ea035b2fffbe08e28cb065a6a2f62dc7bd738 SHA256 b976a06eb1f644654952241429113549f854c4b99ebefa28249a24afac16116c
AUX calculate-install-2.2.21-r4.patch 21745 RMD160 28c1f6f07679026427ebe9b83ea82c94cab4a546 SHA1 1afde387c2465c303aec5a339b393a58d415371a SHA256 6136768eecd676a83c7d7bd2c775b6f16b9fc6b3329edb5671dea737c201afda
AUX calculate-install-2.2.22-r1.patch 14684 RMD160 a21d98228bf1359cc175a9362c6f19629f9f2836 SHA1 1b762db6e3b8a554d9831755f307a060c62c8b8e SHA256 d63b8e2b362a7c4c4bb735b333f6b444b3271444022e022fd673c995fea23f5b
AUX calculate-install-2.2.22-r2.patch 16029 RMD160 8dea869b99a9f77c4114623a6b3fb3614562beee SHA1 1b40f0642a68c6652a854e4707ff3509b44becd8 SHA256 6d6921ffd09b82f3b8a8fa311bf970f89cb91d13a31ed67d0a3c65ded1d4f307
DIST calculate-install-2.2.18.tar.bz2 75850 RMD160 56b1058d1977957cc6ceb8322a049af4dbb8f0cc SHA1 4e990cf5bd6310942b54995293f1f7ea82726aa9 SHA256 2a1b9c3fa93a958f19f05af51f80adf25f5ee0867452fac0304ec721de19cd97
DIST calculate-install-2.2.19.tar.bz2 63943 RMD160 8c76315aea89d20239b11c7e6017766b5e5e93db SHA1 1127468d3b221333e820e142fc1b9afaef507ee3 SHA256 5dedcb4c3d42ca4d87b2a2fa0d72704be3748865907b991dddbeba493e0da80a
DIST calculate-install-2.2.20.tar.bz2 65317 RMD160 f91f5b8e6a1f3a41cda246a983274b7665a98259 SHA1 a530fcc91cbb952e36e4e42175c45182d828a987 SHA256 06e3360e3d9e3e599d6696f121908390a241baa16fe9400657ea0a29c0f85fc1
@ -50,7 +51,8 @@ EBUILD calculate-install-2.2.21-r3.ebuild 937 RMD160 e17e318ad8f41758ee3b63505ed
EBUILD calculate-install-2.2.21-r4.ebuild 936 RMD160 681150ef763dcf81f7cf03e38f3f38cf57680774 SHA1 641760d259e8e6e450876bba7be798d98d9aaed3 SHA256 701f7d64866b32a6facab38fabbb9fdc8654ae7d50d27204b2182189f75f2e84
EBUILD calculate-install-2.2.21.ebuild 804 RMD160 97f3e98ea3fd7bdf8e54ee23b5c2661c8962e19f SHA1 e7759746ffe19f70c159961a3e261bd09f2e89a1 SHA256 c6d80514eb5cd12eb9e9f687fdd54e2cbc1727a1e2b5b5cc3541e67536d51841
EBUILD calculate-install-2.2.22-r1.ebuild 925 RMD160 ac0f26beb482bd7fb41b7454036e4a06ea4937e1 SHA1 a486e1a792983027d5016ba8167330439fe0ebe2 SHA256 25ec4e58f09fa78847ba931e21bb7ebbf6a4be13e3c495b42327b959be907958
EBUILD calculate-install-2.2.22-r2.ebuild 977 RMD160 19ffd3a4821bf7fb540ffa593e51f41d6a09c6ca SHA1 079e3a07b79cea4834059f7fe0334407e3b422df SHA256 62d7502d21412150bb5a44c0b16c3d728f020c91151d768926fc42824c1a92b3
EBUILD calculate-install-2.2.22.ebuild 804 RMD160 f011db7025c81f626ce9d85fba4a96c26cb3498b SHA1 758b096513299357983dfb3aa768940cf9ccbda3 SHA256 df1d9df0112e396d62de4ef9402756d6596ef26dede6fcdb850af8efe0f58758
EBUILD calculate-install-2.2.9999.ebuild 595 RMD160 8f9b9a14fed39ded9c2a9d9343aa4e892d620172 SHA1 09aff28bdaa486868e2caddc7911732a905336ee SHA256 534e6c6e465177e269ce7beed96dab08a124878591088c1bf38095e855ca1180
MISC ChangeLog 27902 RMD160 107d5ee2adf9ede8e58e5901b8119e5fa486dd6e SHA1 5d0839887334a12349d9ccfc6b52b657c1f99570 SHA256 cad060ea4a0df314c90291c14fee956c127e79998fdfb2e6448795b116bc5d76
MISC ChangeLog 28110 RMD160 315a7e3ff47951127ad944adecf50cb860ddbef2 SHA1 0a31523caa48449ddef27fadcce85fe7c04fb766 SHA256 7e64c916234b8e13330be617478cdff617dc78a7b87abc5242c0e2568ad214d2
MISC metadata.xml 310 RMD160 769e4f17a9354da6b168b72a5d65d978f65bf6dd SHA1 83aaae376052d69c7327e880cf028ebc0dea608b SHA256 c29d3efc676d8308872920db5223c78469db86ac236b5d45c3ee98ceb8fca846

@ -0,0 +1,42 @@
# Copyright 1999-2011 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 program of installation Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="~sys-apps/calculate-templates-2.2.22
~sys-apps/calculate-lib-2.2.22
app-portage/layman
!app-misc/livecd-tools
!minimal? ( sys-boot/grub
sys-apps/gptfdisk
>=sys-apps/util-linux-2.19.1
sys-fs/dosfstools
sys-fs/squashfs-tools
sys-block/parted )"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# add four options, add perform format for directory distr,fix dns opt
epatch "${FILESDIR}/calculate-install-2.2.22-r2.patch"
}
pkg_postinst() {
einfo "For configure calculate-install perform:"
einfo " cl-install --install"
}

@ -0,0 +1,362 @@
diff --git man/cl-install.1 man/cl-install.1
index a843c0b..d8ab5c0 100644
--- man/cl-install.1
+++ man/cl-install.1
@@ -115,6 +115,26 @@ Network address of NTP timeserver.
Don't use UUID device names. If specified, usual device names (/dev/sda1, etc.) will be used. Use if you sure in what you do.
.RE
.PP
+\fB\-\-video\fR \fIVIDEODRV\fR
+.RS 4
+Change Xorg video driver.
+.RE
+.PP
+\fB\-X\fR \fI<width>x<height>\fR
+.RS 4
+Change Xorg server resolution.
+.RE
+.PP
+\fB\-\-fb\fR \fI<widht>x<height>\fR
+.RS 4
+Change frame buffer resolution.
+.RE
+.PP
+\fB\-\-timezone\fR \fITIMEZONE\fR
+.RS 4
+Changes timezone.
+.RE
+.PP
\fB\-\-set\fR \fIVAR=VALUE\fR
.RS 4
Changes internal variable value of Calculate utilities. For multiple values changing use the option required number of times.
diff --git man/ru/cl-install.1 man/ru/cl-install.1
index 57993a7..f0b90b3 100644
--- man/ru/cl-install.1
+++ man/ru/cl-install.1
@@ -110,6 +110,26 @@ IPv4 адрес сети с указанием CIDR. IFACE может обозн
Сетевой адрес сервера времени NTP.
.RE
.PP
+\fB\-\-video\fR \fIVIDEODRV\fR
+.RS 4
+Изменить видео драйвер для Xorg сервера.
+.RE
+.PP
+\fB\-X\fR \fI<ширина>x<высота>\fR
+.RS 4
+Изменить разрешение для Xorg сервера.
+.RE
+.PP
+\fB\-\-fb\fR \fI<ширина>x<высота>\fR
+.RS 4
+Изменить разрешение для frame buffer.
+.RE
+.PP
+\fB\-\-timezone\fR \fITIMEZONE\fR
+.RS 4
+Изменить часовой пояс.
+.RE
+.PP
\fB\-\-nouuid\fR
.RS 4
Не использовать UUID имена устройств. При установке параметра будут использоваться привычные имена устройств (/dev/sda1 и т.п.). Используйте данный параметр если уверены.
@@ -201,7 +221,7 @@ cl-install -d /dev/sda2
.PP
Смена видеодрайвера на 'fglrx'. Перед выполнением убедитесь, что у вас установлен пакет 'x11-drivers/ati-drivers'.
.nf
-cl-install --startup --set os_install_x11_video_drv=fglrx
+cl-install --startup --video fglrx
.fi
.PP
Установка системы на несколько разделов. В примере система будет установлена на раздел sda2, все настройки, в том числе данные пользователя будут вынесены в раздел sda5. Раздел sda1 будет использован в качестве 'swap'.
diff --git pym/cl_distr.py pym/cl_distr.py
index b8775ad..eebfac1 100644
--- pym/cl_distr.py
+++ pym/cl_distr.py
@@ -644,6 +644,17 @@ class DirectoryDistributive(Distributive):
else:
return self
+ def performFormat(self):
+ """Format for directory - removing all files"""
+ execStr = '/bin/rm -rf --one-file-system %s'%self.directory
+ res,errmes = self.runOsCommand(execStr)
+ if res == 0:
+ return True
+ else:
+ raise DistributiveError(_("Cann't format partition") + " %s:\n%s"%
+ (dev,errmes))
+ self._makeDirectory(self.directory)
+
def installFrom(self, source):
"""Install distributive to directory from source distributive"""
if isinstance(source,ArchiveDistributive):
diff --git pym/cl_fill_install.py pym/cl_fill_install.py
index 6756b70..c92d3d4 100644
--- pym/cl_fill_install.py
+++ pym/cl_fill_install.py
@@ -911,18 +911,7 @@ class fillVars(object, glob_attr):
def get_os_install_clock_timezone(self):
"""timezone for clock"""
- zoneinfodir = "/usr/share/zoneinfo/"
- localtimefile = "/etc/localtime"
- timezonefile = "/etc/timezone"
- # try get timezone from kernel calculate param
- timezone = self.getValueFromCmdLine("calculate",2)
- if timezone and \
- path.exists(path.join(zoneinfodir,timezone)):
- return timezone
- # get timezone from /etc/timezone
- if path.exists(timezonefile):
- return open(timezonefile,"r").read().strip()
- return "UTC"
+ return self.Get('os_clock_timezone')
def get_os_install_clock_type(self):
"""type of clock (UTC or local)"""
diff --git pym/cl_install.py pym/cl_install.py
index 9b07add..43752b9 100644
--- pym/cl_install.py
+++ pym/cl_install.py
@@ -27,7 +27,7 @@ from cl_utils import runOsCommand,appendProgramToEnvFile, \
scanDirectory,process,getTupleVersion, \
detectDeviceForPartition,listDirectory, \
cmpVersion,STDOUT,getUdevDeviceInfo, \
- getLvmPartitions
+ getLvmPartitions,getInstalledVideo
from cl_vars_share import varsShare
from cl_kernel_utils import KernelConfig,InitRamFs
@@ -2291,6 +2291,19 @@ class cl_install(color_print, SignalInterrupt):
self.printMessageForTest(_("Restore initramfs"))
self.printByResult(InitRamFs(initrdInstallPath)\
.cleanInitRamFs(initrdPath))
+ oldXdrv = self.clVars.Get('os_x11_video_drv')
+ newXdrv = self.clVars.Get('os_install_x11_video_drv')
+ if oldXdrv != newXdrv:
+ kmsDrv = ("radeon","i915","intel","nouveau","ati")
+ self.defaultPrint("\n")
+ if oldXdrv in kmsDrv or newXdrv in kmsDrv:
+ self.defaultPrint(
+ _("To apply changes you must reboot the system")
+ +".\n")
+ else:
+ self.defaultPrint(
+ _("To apply changes you must restart the X server")
+ +".\n")
except (InstallError,DistributiveError),e:
error = e
except Exception,e:
@@ -2640,3 +2653,29 @@ the system") + " (yes/no)"
else:
self.printERROR(_("Wrong image file"))
return False
+
+ def setVideo(self,video,startup=False):
+ """Set video driver"""
+ if startup:
+ if not video in getInstalledVideo(prefix="/") and \
+ not video in ("auto","other"):
+ self.printERROR(_("%s videodriver is unavailable")%video)
+ if video == "nvidia":
+ self.printERROR(_("Install %s driver by command:")%"NVidia")
+ self.printERROR(" emerge x11-drivers/nvidia-drivers")
+ if video == "fglrx":
+ self.printERROR(_("Install %s driver by command:")%"ATI")
+ self.printERROR(" emerge x11-drivers/ati-drivers")
+ return False
+ self.clVars.Set('os_install_x11_video_drv',video,force=True)
+ return True
+
+ def setTimezone(self,timezone):
+ """Set timezone"""
+ if not path.exists(path.join("/usr/share/zoneinfo",timezone)) or \
+ timezone.startswith('/usr/share/zoneinfo'):
+ self.printERROR(_("%s timezone is wrong")%timezone)
+ return False
+ else:
+ self.clVars.Set('os_install_clock_timezone',timezone,force=True)
+ return True
diff --git pym/cl_install_cmd.py pym/cl_install_cmd.py
index 8ef2078..91e8bae 100644
--- pym/cl_install_cmd.py
+++ pym/cl_install_cmd.py
@@ -124,6 +124,22 @@ CMD_OPTIONS = [{'shortOption':"d",
'optVal':"NTP",
'help':_("set ntp server for system")
},
+ {'longOption':"video",
+ 'optVal':"VIDEODRV",
+ 'help':_("set video driver")
+ },
+ {'shortOption':"X",
+ 'optVal':"<width>x<height>",
+ 'help':_("set Xorg resolution")
+ },
+ {'longOption':"fb",
+ 'optVal':"<width>x<height>",
+ 'help':_("set frame buffer resolution")
+ },
+ {'longOption':"timezone",
+ 'optVal':"TIMEZONE",
+ 'help':_("set timezone")
+ },
{'longOption':"nouuid",
'help':_("do not use UUID")
},
@@ -177,6 +193,9 @@ class install_cmd(share_cmd):
self.optionsStartupIncompatible = ["type","d", "b", "mbr",
"w", "f","U", "s","install","uninstall","build","u"]
self.optionsDhcpIncompatible = ["ip","gateway","dns"]
+ self.errorWithExample = \
+ _("option {optname}: {errormess}:"
+ " '{value}' (example: '{example}')")
def _getNamesAllSetOptions(self):
"""Get list set options"""
@@ -214,6 +233,17 @@ class install_cmd(share_cmd):
self.optobj.error(_("incompatible options")+":"+" %s"\
%self.getStringIncompatibleOptions(opts))
+ def __checkByReg(self,reg="",value="",valueopt="",valuename="",example=""):
+ """Check option specifed by value"""
+ if value:
+ if not re.match(reg,value):
+ self.optobj.error(self.errorWithExample.format(
+ optname=valueopt,
+ errormess=_("%s specifing error")%valuename,
+ value=value,
+ example=example))
+
+
def checkOpts(self, values, args):
"""Check values all specified options."""
if len(args) > 0:
@@ -233,28 +263,36 @@ class install_cmd(share_cmd):
errMsg = _("incorrect option") + ":" + " %s" %"--xml" +\
": " + _("use with option '-v'")
self.optobj.error(errMsg)
+ self.__checkByReg(reg="^\d+x\d+$",value=values.X,valueopt="-X",
+ valuename=_("X resolution"),example="1024x768")
+ self.__checkByReg(reg="^\d+x\d+$",value=values.fb,valueopt="--fb",
+ valuename=_("frame buffer resolution"),
+ example="1024x768")
if values.ip:
for ipaddr in values.ip:
if not re.match("^(\w+:)?%s$"%iputils.IP_ADDR_NET,ipaddr):
- self.optobj.error(_("option %s:") %"--ip" +\
- " " + _("ip specifing error: '{ip}' "
- "(example: '{example}')").format(\
- ip=ipaddr,example="eth0:192.168.0.21/16"))
+ self.optobj.error(self.errorWithExample.format(
+ optname="--ip",
+ errormess=_("%s specifing error")%"ip",
+ value=ipaddr,
+ example="eth0:192.168.0.21/16"))
if not values.dns is None:
if not re.match("(^{0}(,{0})*|)$".format(iputils.IP_ADDR),values.dns):
- self.optobj.error(_("option %s:") %"--dns" +\
- " " + _("dns specifing error: '%s'") %\
- values.dns)
+ self.optobj.error(self.errorWithExample.format(
+ optname="--dns",
+ errormess=_("%s specifing error")%"dns",
+ value=values.dns,
+ example="8.8.8.8"))
if values.route:
for route in values.route:
if not re.match("^({net}|default):(({ipaddr})?"
"(:\w+(:{ipaddr})?)?)?$".format(
net=iputils.IP_ADDR_NET,ipaddr=iputils.IP_ADDR),route):
- self.optobj.error(_("option %s:") %"--route" +\
- " " + _("route specifing error: '{route}'"
- "(example: '{example}'").format(
- route=route,
- example="default:192.168.1.1"))
+ self.optobj.error(self.errorWithExample.format(
+ optname="--route",
+ errormess=_("%s specifing error")%_("route"),
+ value=route,
+ example="default:192.168.1.1"))
if not (values.install or values.uninstall or values.startup):
if values.v is False and \
not values.p and \
@@ -266,17 +304,21 @@ class install_cmd(share_cmd):
reTrueDisk = re.compile("^[^:]+(:[^:]*){0,3}$")
wrongValue = filter(lambda x: not reTrueDisk.match(x),values.d)
if wrongValue:
- self.optobj.error(_("option %s:") %"d" +\
- " " + _("disk specifing error: '%s'")\
- %", ".join(wrongValue))
+ self.optobj.error(self.errorWithExample.format(
+ optname="-d",
+ errormess=_("%s specifing error")%_("disk"),
+ value=", ".join(wrongValue),
+ example="/dev/sda2:/:ext4"))
# check syntax SWAP_DISK
if values.w:
reTrueBind = re.compile("^[^:]+$")
wrongValue = filter(lambda x: not reTrueBind.match(x),values.w)
if wrongValue:
- self.optobj.error(_("option %s:") %"w" +\
- " " + _("mount bind specifing error: '%s'")\
- %", ".join(wrongValue))
+ self.optobj.error(self.errorWithExample.format(
+ optname="-w",
+ errormess=_("%s specifing error")%_("disk"),
+ value=", ".join(wrongValue),
+ example="/dev/sda1"))
#check boot device
if values.mbr:
bootDisk = values.mbr
@@ -324,7 +366,8 @@ class install_cmd(share_cmd):
def setNetworkParams(self,ipaddrs,routes,dns,setup,dhcps):
"""Set nework params"""
if not dns is None:
- self.logicObj.clVars.Set("os_install_net_dns",dns,True)
+ self.logicObj.clVars.Set("os_install_net_dns",
+ dns.replace(',',' '), True)
ipaddrs = map(lambda x:x.split(":"),ipaddrs or [])
routes = map(lambda x:x+[""]*(4-len(x)),
map(lambda x:x.split(":"),routes or []))
@@ -340,6 +383,23 @@ class install_cmd(share_cmd):
def setVars(self,options):
"""Process setting values for variables"""
+ values = self.optobj.values
+ if values.video:
+ if not self.logicObj.setVideo(values.video,
+ startup=values.startup):
+ return False
+ if values.X:
+ if not self.clVars.Set('os_install_x11_resolution', values.X,
+ force=True):
+ return False
+ if values.fb:
+ if not self.clVars.Set('os_install_fb_resolution',
+ "%s-32"%values.fb,
+ force=True):
+ return False
+ if values.timezone:
+ if not self.logicObj.setTimezone(values.timezone):
+ return False
if options.set:
for vals in options.set:
for val in vals.split(','):
diff --git setup.py setup.py
index fb3670a..748151f 100755
--- setup.py
+++ setup.py
@@ -111,9 +111,10 @@ class install_man( install_data ) :
def finalize_options(self):
install_data.finalize_options(self)
+ self.data_files = []
for root,dirs,files in os.walk(BUILD_MAN_PATH):
for filename in files:
- self.data_files = [(path.join(self.install_dir,root[6:]),
+ self.data_files += [(path.join(self.install_dir,root[6:]),
[path.join(root,filename)])]
class cl_install_data(install_data):

@ -2,6 +2,12 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*calculate-lib-2.2.22-r2 (31 Aug 2011)
31 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>
+calculate-lib-2.2.22-r2.ebuild, +files/calculate-lib-2.2.22-r2.patch:
Update for features
*calculate-lib-2.2.22-r1 (29 Aug 2011)
29 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>

@ -11,6 +11,7 @@ AUX calculate-lib-2.2.20-ini_ver.patch 8555 RMD160 ecfd91f26e456f5d445657caf08a2
AUX calculate-lib-2.2.20-many_bugfix.patch 1712 RMD160 7126b42d731b88f6736e5a1734db96c8f11004f7 SHA1 29b7d3d749e1fe60548cfd789bc2a0e6ec60111b SHA256 fd6fc8a09999faa84cdeafbf37f035e38294bde14cbb0e5b40cddea21b9026a7
AUX calculate-lib-2.2.21-r1.patch 688 RMD160 b41bcdd4ddffef8bb421e070413f9a311b7daf26 SHA1 9522425937b894e3f8c676becb306fc0c8243940 SHA256 086af7a26af45755b40afd3a050d413eaf8ba314088d1a38af36466ca400a990
AUX calculate-lib-2.2.21-r2.patch 1558 RMD160 cc4bc7084d446599bcd4e4c19e3e528ce884905e SHA1 0492353621909dcbc829ad0d891a133a29a01223 SHA256 fa7bd15788b9fa3e1827ce4d7ca5ac09468410f68b10b82342eb8ecebf0813ec
AUX calculate-lib-2.2.22-r2.patch 2543 RMD160 dbdee25c2667914470c40e503bd8bcf0c26d40db SHA1 2e5ca36d6c3406d5c37e167914e8f4fae0c5b277 SHA256 083c9f685614c7aaca57affa4378ce8603cd2919207b12e81cbb26d50d153b4b
AUX calculate-lib-2.2.22-timezone.patch 1386 RMD160 ed4d65cfc4e338f00827235e624506d2cbabafac SHA1 b387c78fd247fb2bc29677323904b01b0b5a4fdc SHA256 52e082728df9bb18eedec4f9c709dc3e28cc2a00e171931ca0c7438176afe100
DIST calculate-lib-2.1.11.tar.bz2 61687 RMD160 93ca4f84ff2cd7018addfd4de162959d78e51f78 SHA1 53149951c346fea7709cb43b4d8ebefe63acb0fd SHA256 62976c08d4fb4810389ace6f5a99abb5a962f6c8d9053ff943d0669480fb5599
DIST calculate-lib-2.1.8.tar.bz2 61178 RMD160 4a4ed063a9b4d3b82723f5f6eb046c97ad9fcda1 SHA1 93eb20057afff6e98c409388e1259a3ad078bb7a SHA256 ef8e315001663da7a45e69b82dc7c158fb0e10bd567efa95bf8a654ed441144a
@ -42,8 +43,9 @@ EBUILD calculate-lib-2.2.21-r1.ebuild 803 RMD160 5b731301841711a4ee28e8ae4a9c04a
EBUILD calculate-lib-2.2.21-r2.ebuild 803 RMD160 1f1a4645a38bc037c18e2bfd2eca1b3ed62dfb3d SHA1 a27f21912d1bbe9d2020c0d066f4a4e9b1402159 SHA256 5ff88d71e489fec872e898f054a54dbfb74e929b3e9ee2d7c25b9a00fc5eb548
EBUILD calculate-lib-2.2.21.ebuild 685 RMD160 43e6ab9361d04ac60f06819ac4f6a31ab452868a SHA1 f6d64ea2484b2eb610385824eebff0ebd54180ea SHA256 64c4353505d85dc3fedb46ef4b50cc27a546dcf549f9e7f3272b0554872c1460
EBUILD calculate-lib-2.2.22-r1.ebuild 813 RMD160 d6b1d6b3416e0cc7c357fc152b5100605b6cc619 SHA1 dd7a9db0f410fce7435fec0efaf196957bc53ef4 SHA256 b8e267111d6456e4bfd31e31b79356d656d2e414b7bb8ce392ef263173698b45
EBUILD calculate-lib-2.2.22-r2.ebuild 861 RMD160 60c7227776ffa6649701e5e843d61c032a209790 SHA1 d793890a0d031fbf8c02f8ec26fd7092d4217d2f SHA256 ba708edacc14b83de3a3a1231ba43a2c2ed8ede9608eeea2a1a5819069be7542
EBUILD calculate-lib-2.2.22.ebuild 685 RMD160 43e6ab9361d04ac60f06819ac4f6a31ab452868a SHA1 f6d64ea2484b2eb610385824eebff0ebd54180ea SHA256 64c4353505d85dc3fedb46ef4b50cc27a546dcf549f9e7f3272b0554872c1460
EBUILD calculate-lib-2.2.9999.ebuild 726 RMD160 6dce718f317825c712f7c9595a3e712ef6222cf9 SHA1 42e1607a36e826310ef5ed317d717c5aa8acc2bf SHA256 dce73aafa346ea1fd88b6e99d8f6184a562de56e3eb871c1b5849890b13c34c2
EBUILD calculate-lib-9999.ebuild 476 RMD160 3df165f011b324fa8dc37d0443e941263943dd61 SHA1 069ab864dc83f32c69c4349d807d25e1196756ee SHA256 07a628ede4f47849908dd543f879ab8b40a5ca887b892fa0f5cf6c1ef2a24cab
MISC ChangeLog 25748 RMD160 d1c7e02865f59cf654430bc14fb5b2e8ae9c4db4 SHA1 7670dd038f32091292b706cda869f1c4493da2ec SHA256 03549f9569941351550f56834d73527213a177c0857849df73dd8987809d35bf
MISC ChangeLog 25944 RMD160 92837235580846c280e04f88b87ec1d87a357602 SHA1 76f56e2322e119e1d8a69130acf75ac3c6cb9cb4 SHA256 5420a7eb85bf037acf7e7a2b6577626394c7f6ae2ecb9e206978a2b1f472529a
MISC metadata.xml 303 RMD160 774b65ed76939d6878496ad6ef6451849bdced05 SHA1 7d08569697a290ede98c88ab59db3cdc3037bd15 SHA256 181519d9679fd9aee9a7a9806733a50728d3da0b1e0ad54f31499200f7f5c6ec

@ -0,0 +1,36 @@
# Copyright 1999-2011 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}"
# add timezone variable, getcmdlineopt
# hide target symlink template output
epatch "${FILESDIR}/calculate-lib-2.2.22-r2.patch"
}

@ -0,0 +1,75 @@
diff --git pym/cl_fill.py pym/cl_fill.py
index c2300b7..31bbc61 100644
--- pym/cl_fill.py
+++ pym/cl_fill.py
@@ -715,3 +715,18 @@ class fillVars(varsShare):
def get_cl_ca_path(self):
"""CA path"""
return '/var/calculate/ssl/main'
+
+ def get_os_clock_timezone(self):
+ """Current clock timezone"""
+ zoneinfodir = "/usr/share/zoneinfo/"
+ localtimefile = "/etc/localtime"
+ timezonefile = "/etc/timezone"
+ # try get timezone from kernel calculate param
+ timezone = self.getValueFromCmdLine("calculate",2)
+ if timezone and \
+ path.exists(path.join(zoneinfodir,timezone)):
+ return timezone
+ # get timezone from /etc/timezone
+ if path.exists(timezonefile):
+ return open(timezonefile,"r").read().strip()
+ return "UTC"
diff --git pym/cl_template.py pym/cl_template.py
index b06ddee..dbf39cd 100644
--- pym/cl_template.py
+++ pym/cl_template.py
@@ -4773,9 +4773,9 @@ variable 'cl_name'"))
preReturn(pathProg)
return ([], False)
if not "/" == pathOldFile[0]:
- applyFiles = [prevOldFile,os.path.join(pathLink,pathOldFile)]
+ applyFiles = [prevOldFile]#,os.path.join(pathLink,pathOldFile)]
else:
- applyFiles = [prevOldFile,pathOldFile]
+ applyFiles = [prevOldFile]#,pathOldFile]
try:
os.symlink(pathOldFile, prevOldFile)
except:
diff --git pym/cl_utils.py pym/cl_utils.py
index 5fea955..6da750d 100644
--- pym/cl_utils.py
+++ pym/cl_utils.py
@@ -1339,3 +1339,17 @@ def getPasswdUsers(minId=1000,maxId=65000):
sortUsers.sort()
retList = ["root"] + sortUsers
return retList
+
+def getCmdLineParam(paramName):
+ """Get value of param /proc/cmdline. If param not found then empty.
+ """
+ cmdLine = '/proc/cmdline'
+ paramName = "%s="%paramName
+ params = \
+ map(lambda x:x.partition('=')[2],
+ filter(lambda x:x.startswith(paramName),
+ readFile(cmdLine).split(' ')))
+ if params:
+ return params[-1]
+ else:
+ return ""
diff --git pym/cl_vars.py pym/cl_vars.py
index 3194ff8..0466cc5 100644
--- pym/cl_vars.py
+++ pym/cl_vars.py
@@ -103,6 +103,9 @@ class Data:
# system (desktop or server)
os_linux_system = {'hide':True}
+ # current timezone
+ os_clock_timezone = {'hide':True}
+
# motherboard model
hr_board_model = {'hide':True}

@ -2,6 +2,13 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*calculate-templates-2.2.22-r2 (31 Aug 2011)
31 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>
+calculate-templates-2.2.22-r2.ebuild,
+files/calculate-templates-2.2.22-r2.patch:
Update for features
*calculate-templates-2.2.22-r1 (26 Aug 2011)
26 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>

@ -10,6 +10,7 @@ AUX calculate-templates-2.2.21-r2.patch 61748 RMD160 18e68d3bb226eed91e5a61ddd11
AUX calculate-templates-2.2.21-r3.patch 61785 RMD160 64241098bbf79f77fae1431a6b7c337976a21ff0 SHA1 c33b118bb1175d387bd1b96155520332b4c3cbb7 SHA256 ecd27e4406cd54c4a319f5ceb40d767abfaabe438cb037899c159be7456640c1
AUX calculate-templates-2.2.21-r4.patch 72564 RMD160 449d036af597d63958f0c6aa6ebd3824aa767956 SHA1 761ebc6a6ac3712a0451c0b1b6b41bb8d9334503 SHA256 ce2cbcee6fdbb679d925a4ffe8bbea9bd965a58b24a706bf5e531cad9afcb2c0
AUX calculate-templates-2.2.22-r1.patch 1001 RMD160 84681dfcf97292c962995e8171b5c9197705b79e SHA1 172032720b6e553eef4e6cb0fce4fbe08bc8c06f SHA256 66335e3897612662edb5e6301a10964466c7ca9e9c1b55505258fb0d70f63a4f
AUX calculate-templates-2.2.22-r2.patch 26325 RMD160 16cedf1b883e122382681d5968d867f749b911c9 SHA1 184bccd9da9d0b6ff59106eeb40d01c5e5bf0468 SHA256 01c91d55b87170a1febdb6a147896424d1c4afac932ef302ec5e762e648a425e
DIST calculate-templates-2.2.18.tar.bz2 233661 RMD160 c8e42c3ed8860193286ff8eaeddcd1c75bb1ef0b SHA1 f197621e5777c16aca9b892d30ede172eee50522 SHA256 d3d236c7e0760db3ad9ea79f0fed9d9e5f97d69acabbae3bbc9c9d2e62a50984
DIST calculate-templates-2.2.19.tar.bz2 233495 RMD160 bd6ec2efa456b838c15664e7779d01cd760cb124 SHA1 c0f79506fb676a8c37efbdff4a0514a3a8ddb29e SHA256 f5124a64393a3c6d4a03bd3c0065cc7f5a3586f6d5de5362d1b373048b2303ab
DIST calculate-templates-2.2.20.tar.bz2 234266 RMD160 7368253076289f8e255ae325e629ffe73da060ec SHA1 b39b75801f8361a36eb6e8ce92da63dfef5230ca SHA256 b907b4630aca4942af66ffe24144959723879d25f4ce72e344639f86223b828a
@ -32,7 +33,8 @@ EBUILD calculate-templates-2.2.21-r3.ebuild 715 RMD160 7ecbb252bd2991456bdc64d40
EBUILD calculate-templates-2.2.21-r4.ebuild 715 RMD160 086406b993816e0cf4ac33a53567ad39006c037f SHA1 7e1c01c377187409197cfa7acf6821538195c2b4 SHA256 a7a0773fdd5af98b69c8fc38dbf7b3434f8a89fab3865c6612d2bc376c121e5f
EBUILD calculate-templates-2.2.21.ebuild 581 RMD160 3e8c0e9fd308c52caa861955c86a390a96127202 SHA1 9541b46b0bcf618c33285fd6e5f7167a72e92b31 SHA256 002834f9b50c2641a462562c68ad6715ab32c1c86723af664a833bc3be85eaec
EBUILD calculate-templates-2.2.22-r1.ebuild 710 RMD160 1b8456425ae6afecbedaee2b181d52d58665e2d3 SHA1 30ad429f736711eab1147be7b26f6a75e08aa39e SHA256 d263ab2449e3714619afb3b80dcfd4a99b8d91f04fa9a6a1eb00756a669acf5a
EBUILD calculate-templates-2.2.22-r2.ebuild 740 RMD160 9fda92b6fff58b820767a7db328b9252298c06d0 SHA1 d215980e2298bc324f18f672778e19cd6ec8b8f4 SHA256 baeec39764d38a91a6e081ce7574aedbd3530878f80c052d718bbf3004829f36
EBUILD calculate-templates-2.2.22.ebuild 581 RMD160 1cba8f7d4582bf790b2da63e98e1e0efe564c0bd SHA1 10d710aadae8bb9e8df406339d348428a835d098 SHA256 2aeed6089507412176e069d5190717bd618830cdd2c740ae39a50a0f6b283d4e
EBUILD calculate-templates-2.2.9999.ebuild 572 RMD160 14e53f7c05efbb563b793b1025669cbe79d0838c SHA1 226d287ce0a00609ed6c871321abf5000565227e SHA256 5df16332077472571e2d4aae47e958d1e6efe3a8d694b61053778f75a537142f
MISC ChangeLog 29192 RMD160 35c5029610fb462dcc74accb43157c96612af95c SHA1 6af2452137fdc8eb2d3449b630e9d5bc8fb6cc3e SHA256 a48a491a3519042f4f63f1083f8974f496445a2dcbc6de64ffc3c418dcee8b61
MISC ChangeLog 29408 RMD160 d9725e8cf0a1c12425626c11cbaed23fa209092b SHA1 a51a2c603c99995bb9085a3ba93b6b5de5b9579a SHA256 aa8b5d074c4501694ffb43a9bbf0b8a0bac145d6c03d0676647774842b5a5e88
MISC metadata.xml 338 RMD160 4a1a51881bdf09b961217d2056114ca4ccb8b4d2 SHA1 5fcb2724427f9ac5dda07abb5c829c24e6db9ae6 SHA256 175d9ae86b71b291a519414e816b05290d0e4be74726cc8d5449a500c51a3b2d

@ -0,0 +1,37 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
inherit eutils
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
DESCRIPTION="Templates for calculate utilities 2.2"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND="~sys-apps/calculate-lib-2.2.22"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# fix xorg.conf template, improve xfce panel templates
epatch "${FILESDIR}/calculate-templates-2.2.22-r2.patch"
}
src_compile() {
:
}
src_install() {
dodir /usr/share/calculate/templates
insinto /usr/share/calculate/templates
doins -r *
}

@ -0,0 +1,420 @@
diff --git desktop/desktop/00-patch-2.2.23/.calculate_directory desktop/desktop/00-patch-2.2.23/.calculate_directory
new file mode 100644
index 0000000..dd6d923
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/.calculate_directory
@@ -0,0 +1 @@
+# Calculate append=skip belong(calculate-templates)!=&&ini(update.patch)!=off&&ini(ver.patch)<2.2.23
diff --git desktop/desktop/00-patch-2.2.23/audioplayer.desktop desktop/desktop/00-patch-2.2.23/audioplayer.desktop
new file mode 100644
index 0000000..c39d33d
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/audioplayer.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-39/10000000039.desktop)!=&&exists(/usr/share/applications/calculate-audioplayer.desktop)!= link=/usr/share/applications/calculate-audioplayer.desktop path=~/.config/xfce4/panel/launcher-39 name=10000000039.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/browser.desktop desktop/desktop/00-patch-2.2.23/browser.desktop
new file mode 100644
index 0000000..6783f06
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/browser.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-30/10000000030.desktop)!=&&exists(/usr/share/applications/calculate-browser.desktop)!= link=/usr/share/applications/calculate-browser.desktop path=~/.config/xfce4/panel/launcher-30 name=10000000030.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/calc.desktop desktop/desktop/00-patch-2.2.23/calc.desktop
new file mode 100644
index 0000000..dea0ce6
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/calc.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-35/10000000035.desktop)!=&&exists(/usr/share/applications/calculate-calc.desktop)!= link=/usr/share/applications/calculate-calc.desktop path=~/.config/xfce4/panel/launcher-35 name=10000000035.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/calculator.desktop desktop/desktop/00-patch-2.2.23/calculator.desktop
new file mode 100644
index 0000000..d9de472
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/calculator.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-36/10000000036.desktop)!=&&exists(/usr/share/applications/calculate-calculator.desktop)!= link=/usr/share/applications/calculate-calculator.desktop path=~/.config/xfce4/panel/launcher-36 name=10000000036.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/chat.desktop desktop/desktop/00-patch-2.2.23/chat.desktop
new file mode 100644
index 0000000..7aca1c7
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/chat.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-32/10000000032.desktop)!=&&exists(/usr/share/applications/calculate-chat.desktop)!= link=/usr/share/applications/calculate-chat.desktop path=~/.config/xfce4/panel/launcher-32 name=10000000032.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/dict.desktop desktop/desktop/00-patch-2.2.23/dict.desktop
new file mode 100644
index 0000000..bd030d7
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/dict.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-42/10000000042.desktop)!=&&exists(/usr/share/applications/calculate-dict.desktop)!= link=/usr/share/applications/calculate-dict.desktop path=~/.config/xfce4/panel/launcher-42 name=10000000042.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/im.desktop desktop/desktop/00-patch-2.2.23/im.desktop
new file mode 100644
index 0000000..cecf261
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/im.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-33/10000000033.desktop)!=&&exists(/usr/share/applications/calculate-im.desktop)!= link=/usr/share/applications/calculate-im.desktop path=~/.config/xfce4/panel/launcher-33 name=10000000033.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/imageburn.desktop desktop/desktop/00-patch-2.2.23/imageburn.desktop
new file mode 100644
index 0000000..d1fead5
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/imageburn.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-41/10000000041.desktop)!=&&exists(/usr/share/applications/calculate-imageburn.desktop)!= link=/usr/share/applications/calculate-imageburn.desktop path=~/.config/xfce4/panel/launcher-41 name=10000000041.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/imageedit.desktop desktop/desktop/00-patch-2.2.23/imageedit.desktop
new file mode 100644
index 0000000..3d8cf83
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/imageedit.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-37/10000000037.desktop)!=&&exists(/usr/share/applications/calculate-imageedit.desktop)!= link=/usr/share/applications/calculate-imageedit.desktop path=~/.config/xfce4/panel/launcher-37 name=10000000037.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/imageview.desktop desktop/desktop/00-patch-2.2.23/imageview.desktop
new file mode 100644
index 0000000..915366a
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/imageview.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-38/10000000038.desktop)!=&&exists(/usr/share/applications/calculate-imageview.desktop)!= link=/usr/share/applications/calculate-imageview.desktop path=~/.config/xfce4/panel/launcher-38 name=10000000038.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/ini.env desktop/desktop/00-patch-2.2.23/ini.env
new file mode 100644
index 0000000..b93a55a
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/ini.env
@@ -0,0 +1,7 @@
+# Calculate format=samba path=~/.calculate
+
+[ver]
+patch = 2.2.23
+
+[update]
+patch = on
diff --git desktop/desktop/00-patch-2.2.23/mail.desktop desktop/desktop/00-patch-2.2.23/mail.desktop
new file mode 100644
index 0000000..2bea389
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/mail.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-31/10000000031.desktop)!=&&exists(/usr/share/applications/calculate-mail.desktop)!= link=/usr/share/applications/calculate-mail.desktop path=~/.config/xfce4/panel/launcher-31 name=10000000031.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/terminal.desktop desktop/desktop/00-patch-2.2.23/terminal.desktop
new file mode 100644
index 0000000..53b9741
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/terminal.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-44/10000000044.desktop)!=&&exists(/usr/share/applications/calculate-terminal.desktop)!= link=/usr/share/applications/calculate-terminal.desktop path=~/.config/xfce4/panel/launcher-44 name=10000000044.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/textedit.desktop desktop/desktop/00-patch-2.2.23/textedit.desktop
new file mode 100644
index 0000000..a86d325
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/textedit.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-43/10000000043.desktop)!=&&exists(/usr/share/applications/calculate-textedit.desktop)!= link=/usr/share/applications/calculate-textedit.desktop path=~/.config/xfce4/panel/launcher-43 name=10000000043.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/videoplayer.desktop desktop/desktop/00-patch-2.2.23/videoplayer.desktop
new file mode 100644
index 0000000..2fc2577
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/videoplayer.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-40/10000000040.desktop)!=&&exists(/usr/share/applications/calculate-videoplayer.desktop)!= link=/usr/share/applications/calculate-videoplayer.desktop path=~/.config/xfce4/panel/launcher-40 name=10000000040.desktop symbolic force
diff --git desktop/desktop/00-patch-2.2.23/writer.desktop desktop/desktop/00-patch-2.2.23/writer.desktop
new file mode 100644
index 0000000..eb9b8cc
--- /dev/null
+++ desktop/desktop/00-patch-2.2.23/writer.desktop
@@ -0,0 +1 @@
+# Calculate exists(~/.config/xfce4/panel/launcher-34/10000000034.desktop)!=&&exists(/usr/share/applications/calculate-writer.desktop)!= link=/usr/share/applications/calculate-writer.desktop path=~/.config/xfce4/panel/launcher-34 name=10000000034.desktop symbolic force
diff --git desktop/desktop/20-kde-4.6/.kde4/share/config/kxkbrc desktop/desktop/20-kde-4.6/.kde4/share/config/kxkbrc
index c0d7733..20105e8 100644
--- desktop/desktop/20-kde-4.6/.kde4/share/config/kxkbrc
+++ desktop/desktop/20-kde-4.6/.kde4/share/config/kxkbrc
@@ -12,7 +12,7 @@ Options=terminate:ctrl_alt_bksp
Options=grp:caps_toggle,grp_led:scroll,terminate:ctrl_alt_bksp
#os_locale_xkb#
ResetOldOptions=true
-ShowFlag=true
+ShowFlag=false
ShowSingle=false
SwitchMode=WinClass
Use=true
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-30/browser.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-30/browser.desktop
index 71080ee..cbd7725 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-30/browser.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-30/browser.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-browser.desktop)!= link=/usr/share/applications/calculate-browser.desktop name=10000000030.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-browser.desktop
+# Calculate exists(/usr/share/applications/calculate-browser.desktop)!= link=/usr/share/applications/calculate-browser.desktop name=10000000030.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-31/mail.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-31/mail.desktop
index 4bddcb2..26fcecd 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-31/mail.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-31/mail.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-mail.desktop)!= link=/usr/share/applications/calculate-mail.desktop name=10000000031.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-mail.desktop
+# Calculate exists(/usr/share/applications/calculate-mail.desktop)!= link=/usr/share/applications/calculate-mail.desktop name=10000000031.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-32/chat.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-32/chat.desktop
index 84da5ad..94e8002 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-32/chat.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-32/chat.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-chat.desktop)!= link=/usr/share/applications/calculate-chat.desktop name=10000000032.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-chat.desktop
+# Calculate exists(/usr/share/applications/calculate-chat.desktop)!= link=/usr/share/applications/calculate-chat.desktop name=10000000032.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-33/im.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-33/im.desktop
index 792351f..babdad5 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-33/im.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-33/im.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-im.desktop)!= link=/usr/share/applications/calculate-im.desktop name=10000000033.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-im.desktop
+# Calculate exists(/usr/share/applications/calculate-im.desktop)!= link=/usr/share/applications/calculate-im.desktop name=10000000033.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-34/writer.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-34/writer.desktop
index 3844f4c..0f8ee73 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-34/writer.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-34/writer.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-writer.desktop)!= link=/usr/share/applications/calculate-writer.desktop name=10000000034.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-writer.desktop
+# Calculate exists(/usr/share/applications/calculate-writer.desktop)!= link=/usr/share/applications/calculate-writer.desktop name=10000000034.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-35/calc.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-35/calc.desktop
index c8b098f..2eaf1dd 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-35/calc.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-35/calc.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-calc.desktop)!= link=/usr/share/applications/calculate-calc.desktop name=10000000035.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-calc.desktop
+# Calculate exists(/usr/share/applications/calculate-calc.desktop)!= link=/usr/share/applications/calculate-calc.desktop name=10000000035.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-36/calculator.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-36/calculator.desktop
index e3db59c..306f0d8 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-36/calculator.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-36/calculator.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-calculator.desktop)!= link=/usr/share/applications/calculate-calculator.desktop name=10000000036.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-calculator.desktop
+# Calculate exists(/usr/share/applications/calculate-calculator.desktop)!= link=/usr/share/applications/calculate-calculator.desktop name=10000000036.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-37/imageedit.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-37/imageedit.desktop
index 088648c..a42cc67 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-37/imageedit.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-37/imageedit.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-imageedit.desktop)!= link=/usr/share/applications/calculate-imageedit.desktop name=10000000037.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-imageedit.desktop
+# Calculate exists(/usr/share/applications/calculate-imageedit.desktop)!= link=/usr/share/applications/calculate-imageedit.desktop name=10000000037.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-38/imageview.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-38/imageview.desktop
index cb488a8..6a8f5e7 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-38/imageview.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-38/imageview.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-imageview.desktop)!= link=/usr/share/applications/calculate-imageview.desktop name=10000000038.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-imageview.desktop
+# Calculate exists(/usr/share/applications/calculate-imageview.desktop)!= link=/usr/share/applications/calculate-imageview.desktop name=10000000038.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-39/audioplayer.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-39/audioplayer.desktop
index db61067..1e65abb 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-39/audioplayer.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-39/audioplayer.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-audioplayer.desktop)!= link=/usr/share/applications/calculate-audioplayer.desktop name=10000000039.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-audioplayer.desktop
+# Calculate exists(/usr/share/applications/calculate-audioplayer.desktop)!= link=/usr/share/applications/calculate-audioplayer.desktop name=10000000039.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-40/videoplayer.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-40/videoplayer.desktop
index 00614a7..c5e5084 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-40/videoplayer.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-40/videoplayer.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-videoplayer.desktop)!= link=/usr/share/applications/calculate-videoplayer.desktop name=10000000040.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-videoplayer.desktop
+# Calculate exists(/usr/share/applications/calculate-videoplayer.desktop)!= link=/usr/share/applications/calculate-videoplayer.desktop name=10000000040.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-41/imageburn.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-41/imageburn.desktop
index 16fac96..5f386c4 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-41/imageburn.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-41/imageburn.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-imageburn.desktop)!= link=/usr/share/applications/calculate-imageburn.desktop name=10000000041.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-imageburn.desktop
+# Calculate exists(/usr/share/applications/calculate-imageburn.desktop)!= link=/usr/share/applications/calculate-imageburn.desktop name=10000000041.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-42/dict.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-42/dict.desktop
index 07fe94c..c983499 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-42/dict.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-42/dict.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-dict.desktop)!= link=/usr/share/applications/calculate-dict.desktop name=10000000042.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-dict.desktop
+# Calculate exists(/usr/share/applications/calculate-dict.desktop)!= link=/usr/share/applications/calculate-dict.desktop name=10000000042.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-43/textedit.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-43/textedit.desktop
index e8fa798..26ae5c1 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-43/textedit.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-43/textedit.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-textedit.desktop)!= link=/usr/share/applications/calculate-textedit.desktop name=10000000043.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-textedit.desktop
+# Calculate exists(/usr/share/applications/calculate-textedit.desktop)!= link=/usr/share/applications/calculate-textedit.desktop name=10000000043.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-44/terminal.desktop desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-44/terminal.desktop
index 132307d..422b1a1 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-44/terminal.desktop
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/panel/launcher-44/terminal.desktop
@@ -1,3 +1 @@
-# Calculate format=kde exists(/usr/share/applications/calculate-terminal.desktop)!= link=/usr/share/applications/calculate-terminal.desktop name=10000000044.desktop
-[Desktop Entry]
-X-XFCE-Source=file:///usr/share/applications/calculate-terminal.desktop
+# Calculate exists(/usr/share/applications/calculate-terminal.desktop)!= link=/usr/share/applications/calculate-terminal.desktop name=10000000044.desktop symbolic force
diff --git desktop/desktop/40-xfce-4.8/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml desktop/desktop/40-xfce-4.8/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
index 6cda23a..a1311f2 100644
--- desktop/desktop/40-xfce-4.8/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
+++ desktop/desktop/40-xfce-4.8/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
@@ -202,5 +202,10 @@
<value type="string" value="10000000044.desktop"/>
</property>
</property>
+ <property name="clipman" type="empty">
+ <property name="settings" type="empty">
+ <property name="add-primary-clipboard" type="bool" value="true"/>
+ </property>
+ </property>
</property>
</channel>
diff --git desktop/desktop/60-xbmc-10.0/.calculate/ini.env desktop/desktop/60-xbmc-10.0/.calculate/ini.env
new file mode 100644
index 0000000..764e4ad
--- /dev/null
+++ desktop/desktop/60-xbmc-10.0/.calculate/ini.env
@@ -0,0 +1,7 @@
+# Calculate format=samba
+
+[ver]
+xbmc = 10.1
+
+[update]
+xbmc = on
diff --git desktop/desktop/60-xbmc-10.0/.calculate_directory desktop/desktop/60-xbmc-10.0/.calculate_directory
new file mode 100644
index 0000000..dcb6016
--- /dev/null
+++ desktop/desktop/60-xbmc-10.0/.calculate_directory
@@ -0,0 +1 @@
+# Calculate append=skip belong(xbmc)!=&&ini(update.xbmc)!=off&&ini(ver.xbmc)==&&pkg(media-tv/xbmc)>=10.0
diff --git desktop/desktop/60-xbmc-10.0/guisettings.xml desktop/desktop/60-xbmc-10.0/guisettings.xml
new file mode 100644
index 0000000..094edba
--- /dev/null
+++ desktop/desktop/60-xbmc-10.0/guisettings.xml
@@ -0,0 +1,10 @@
+# Calculate path=~/.xbmc/userdata
+<settings>
+ <locale>
+ <charset>CP1251</charset>
+ <country>USA</country>
+ <language>Russian</language>
+ <timezone>Europe/Moscow</timezone>
+ <timezonecountry>Russia</timezonecountry>
+ </locale>
+</settings>
diff --git desktop/desktop/60-xbmc-10.0/sources.xml desktop/desktop/60-xbmc-10.0/sources.xml
new file mode 100644
index 0000000..ca2bedf
--- /dev/null
+++ desktop/desktop/60-xbmc-10.0/sources.xml
@@ -0,0 +1,30 @@
+# Calculate path=~/.xbmc/userdata
+<sources>
+ <programs>
+ <default pathversion="1"></default>
+ </programs>
+ <video>
+ <default pathversion="1"></default>
+ <source>
+ <name>My Video</name>
+ <path pathversion="1">#-ini(resource.videos)-#</path>
+ </source>
+ </video>
+ <music>
+ <default pathversion="1"></default>
+ <source>
+ <name>My Music</name>
+ <path pathversion="1">#-ini(resource.music)-#</path>
+ </source>
+ </music>
+ <pictures>
+ <default pathversion="1"></default>
+ <source>
+ <name>My Pictures</name>
+ <path pathversion="1">#-ini(resource.pictures)-#</path>
+ </source>
+ </pictures>
+ <files>
+ <default pathversion="1"></default>
+ </files>
+</sources>
diff --git install/1merge/Desktop/400-AudioPlayer/audacious/calculate/audacious-2.4.desktop install/1merge/Desktop/400-AudioPlayer/audacious/calculate/audacious-2.4.desktop
index a0bc2a5..ff49e6f 100644
--- install/1merge/Desktop/400-AudioPlayer/audacious/calculate/audacious-2.4.desktop
+++ install/1merge/Desktop/400-AudioPlayer/audacious/calculate/audacious-2.4.desktop
@@ -1,4 +1,4 @@
-# Calculate format=kde link=/usr/share/applications/audacious2.desktop name=calculate-audioplayer.desktop mirror pkg(media-sound/audacious)>=2.4&&pkg(media-sound/audacious)<3.0
+# Calculate format=kde link=/usr/share/applications/audacious2.desktop name=calculate-audioplayer.desktop mirror pkg(media-sound/audacious)>=2.4&&pkg(media-sound/audacious)<2.5
# Update info
#-ini(desktop.audioplayer, audacious)-#
diff --git install/1merge/Desktop/400-AudioPlayer/audacious/calculate/audacious-2.5.desktop install/1merge/Desktop/400-AudioPlayer/audacious/calculate/audacious-2.5.desktop
new file mode 100644
index 0000000..d24772b
--- /dev/null
+++ install/1merge/Desktop/400-AudioPlayer/audacious/calculate/audacious-2.5.desktop
@@ -0,0 +1,9 @@
+# Calculate format=kde link=/usr/share/applications/audacious.desktop name=calculate-audioplayer.desktop mirror pkg(media-sound/audacious)>=2.5
+
+# Update info
+#-ini(desktop.audioplayer, audacious)-#
+
+# Hide icon
+[Desktop Entry]
+OnlyShowIn=X-NeverShowThis;
+
diff --git install/1merge/Desktop/400-AudioPlayer/audacious/calculate/audacious-3.0.desktop install/1merge/Desktop/400-AudioPlayer/audacious/calculate/audacious-3.0.desktop
deleted file mode 100644
index 6387c9e..0000000
--- install/1merge/Desktop/400-AudioPlayer/audacious/calculate/audacious-3.0.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-# Calculate format=kde link=/usr/share/applications/audacious.desktop name=calculate-audioplayer.desktop mirror pkg(media-sound/audacious)>=3.0
-
-# Update info
-#-ini(desktop.audioplayer, audacious)-#
-
-# Hide icon
-[Desktop Entry]
-OnlyShowIn=X-NeverShowThis;
-
diff --git install/1merge/xorg-server/X11/xorg.conf install/1merge/xorg-server/X11/xorg.conf
index 210d3a1..204c197 100644
--- install/1merge/xorg-server/X11/xorg.conf
+++ install/1merge/xorg-server/X11/xorg.conf
@@ -1,4 +1,4 @@
-# Calculate comment=# os_install_video_drv!=other
+# Calculate comment=# os_install_x11_video_drv!=other
Section "ServerLayout"
Identifier "Xorg Configured"
diff --git install/1merge/xorg-server/X11/xorg.conf.other install/1merge/xorg-server/X11/xorg.conf.other
index 9342c02..72ce36b 100644
--- install/1merge/xorg-server/X11/xorg.conf.other
+++ install/1merge/xorg-server/X11/xorg.conf.other
@@ -1,4 +1,4 @@
-# Calculate comment=# os_install_video_drv==other name=xorg.conf
+# Calculate comment=# os_install_x11_video_drv==other name=xorg.conf
Section "ServerLayout"
Identifier "Xorg Configured"

@ -2,6 +2,12 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*calculate-utilities-2.2.22-r4 (31 Aug 2011)
31 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>
+calculate-utilities-2.2.22-r4.ebuild:
Update for i18n,lib,templates,install,builder,assemble
*calculate-utilities-2.2.22-r3 (30 Aug 2011)
30 Aug 2011; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>

@ -39,6 +39,7 @@ EBUILD calculate-utilities-2.2.21.ebuild 862 RMD160 3786826c24e6bfc0fb9e5b413c85
EBUILD calculate-utilities-2.2.22-r1.ebuild 865 RMD160 5e07b982463d8770bcfd67bb8892cbeeb521936e SHA1 d25b976542a7748d34d564495862f8e979f88033 SHA256 d3f06aad167e9a4b10163605c050b99fa1303e9534cde13a33dde3efd649a1b7
EBUILD calculate-utilities-2.2.22-r2.ebuild 874 RMD160 e33c33028cb6fb6b0711e1cc16b737de2146f150 SHA1 9b9c9e253283d2abd32c9951dfd00da7363b6818 SHA256 995034e2508108e6aa13e801494576f3d7cc6101edd3566b8c790ebf4c2f402a
EBUILD calculate-utilities-2.2.22-r3.ebuild 874 RMD160 e8db56591a0fe9975a1f23d9bad4daae175648c4 SHA1 17545f6f5c76635b120d18849ab94d89262f4cb0 SHA256 e83f7efe17610fae2ac3245d3b08b49eba0baf015df0c80403ae476f5a3905e4
EBUILD calculate-utilities-2.2.22-r4.ebuild 879 RMD160 337c9a6748fdde68cd738941623f2d93ad98aed7 SHA1 9fa7bb43bd6b21958bfde06810578775a5af3865 SHA256 970a0e6d647788f2554a005f857ecef86c6c00aebd543dfbcd4085f28c62bde7
EBUILD calculate-utilities-2.2.22.ebuild 862 RMD160 e8bb89257a8475f8822893d62cb929753a9bdb20 SHA1 e2a5cd9b07aa215dea3d55cf4a3d7d1c81568403 SHA256 42e6179382cc058bf93136aa8df7b8ea98ec6164980626745b508182926f85f6
EBUILD calculate-utilities-2.2.9999.ebuild 840 RMD160 0c7324a9ed480118ac19f62b162c9ee62c25f964 SHA1 7dadab1430ed147334ed7e9b4fcc86dc99e25d56 SHA256 f3ee28f9f765e7302c83eb4a15a09bdf066f09e6b40e34f6d52157a946df5e66
MISC ChangeLog 21663 RMD160 df13f0b05e4c361b485759b0a3ff48ac727918be SHA1 46bd81da02f7491444a1c7e2b844a085155e3cfa SHA256 1df08ee6f59d4931da241331471753765d6ea032932396d04bf5dbe87bd0a8fe
MISC ChangeLog 21868 RMD160 0e61cc72a020915154fca8dcbe4e2cc7047ab29c SHA1 70934f02aca099f22ac74a08147b158bbc419af3 SHA256 1bc0f0829ae1a5a49f6918dc06e2b87bbf54552ca2993a8fc857ada2d17e539d

@ -0,0 +1,36 @@
# Copyright 1999-2011 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-install-2.2.22-r2
=sys-apps/calculate-templates-2.2.22-r2
=sys-apps/calculate-lib-2.2.22-r2
=sys-apps/calculate-i18n-2.2.22-r1
cl_assemble? ( =sys-apps/calculate-assemble-2.2.22-r1 )
cl_builder? ( =sys-apps/calculate-builder-2.2.22-r3 )
cl_client? ( =sys-apps/calculate-client-2.2.22 )
cl_desktop? ( =sys-apps/calculate-desktop-2.2.22 )
cl_installgui? ( =app-misc/calculate-install-gui-2.2.22 )
cl_server? ( =sys-apps/calculate-server-2.1.14-r6 )
"
Loading…
Cancel
Save