diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-11-17 23:58:16 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-11-17 23:58:16 +0000 |
commit | 2552a1c1f8282dc6c2c4f392cb4f0c7ea67be45c (patch) | |
tree | 66c976684ed5607e75d554649d291cddfaf6347a /sci-calculators | |
parent | Fix patch with absolute paths. (diff) | |
download | historical-2552a1c1f8282dc6c2c4f392cb4f0c7ea67be45c.tar.gz historical-2552a1c1f8282dc6c2c4f392cb4f0c7ea67be45c.tar.bz2 historical-2552a1c1f8282dc6c2c4f392cb4f0c7ea67be45c.zip |
Import to the main tree from the science overlay and version bump with translation fixes
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'sci-calculators')
-rw-r--r-- | sci-calculators/speedcrunch/ChangeLog | 16 | ||||
-rw-r--r-- | sci-calculators/speedcrunch/Manifest | 15 | ||||
-rw-r--r-- | sci-calculators/speedcrunch/files/speedcrunch-0.10.1-iconname.patch | 11 | ||||
-rw-r--r-- | sci-calculators/speedcrunch/metadata.xml | 8 | ||||
-rw-r--r-- | sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild | 50 |
5 files changed, 100 insertions, 0 deletions
diff --git a/sci-calculators/speedcrunch/ChangeLog b/sci-calculators/speedcrunch/ChangeLog new file mode 100644 index 000000000000..f5927c1f9be1 --- /dev/null +++ b/sci-calculators/speedcrunch/ChangeLog @@ -0,0 +1,16 @@ +# ChangeLog for sci-calculators/speedcrunch +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/ChangeLog,v 1.1 2008/11/17 23:58:15 bicatali Exp $ + +*speedcrunch-0.10.1 (18 Nov 2008) + + 18 Nov 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/speedcrunch-0.10.1-iconname.patch, +metadata.xml, + +speedcrunch-0.10.1.ebuild: + Import to the main tree from the science overlay and version bump with + translation fixes + + 02 Jun 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/speedcrunch-0.10-fix-icon-name.patch, +speedcrunch-0.10.ebuild: + Initial import, see bug #78113 + diff --git a/sci-calculators/speedcrunch/Manifest b/sci-calculators/speedcrunch/Manifest new file mode 100644 index 000000000000..26c2f5dc0451 --- /dev/null +++ b/sci-calculators/speedcrunch/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX speedcrunch-0.10.1-iconname.patch 473 RMD160 c6eb88617f49c07158c5e586d194303f6f2b30b8 SHA1 84c8f6d1dcbf69f893047edaa362fa7e763c2c31 SHA256 fdee1e999e7f286216842c61f07a91a0fcb9a1876e0c90f51cf61f27d1e882c4 +DIST speedcrunch-0.10.1.tar.gz 1722124 RMD160 1a3b81d979b95a0c88e65add28736e5960c19bad SHA1 385828ae8900dd4caee7fa437a2fb35f224d540a SHA256 9d4e4ddd8bc6a60d59b9cb4815511ba20a5767719928eae3729e4df6c96dec84 +EBUILD speedcrunch-0.10.1.ebuild 1257 RMD160 c5c22dd296e093616608e8daf03a8b935c097bbd SHA1 10586197156ff2803e506c8dd064f86fcb3ea51d SHA256 f1d7f2d193ad8b2082cb5674ca75b989a01a927d64205a78db719f02c6d217ba +MISC ChangeLog 664 RMD160 c47fe9b0cb65cd5b652ee96e0a5fcc8cc1bb9af2 SHA1 e9fd3c9b58130b32ad4d177b32e9c32a4eee77f9 SHA256 8e57cfbf0d5ceb7252b5809c28106a8815927a62530918d29a7bb522ac7fea9c +MISC metadata.xml 252 RMD160 89c73fc619b2dceca9b8370345dfede94a5c0975 SHA1 453397e8a1135fb24eaa13c796ae7c4508073011 SHA256 451c9ecf9b4bb626cb0ab714fd93c3aee367f9ad23a0a54f25d5753bbebec888 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkkiBiUACgkQ1ycZbhPLE2AeYQCeKK++jJMpc7/Q/xA/ICxJ2TpC +oCEAoI8b/zdDUgXW+VHtIlar8nTtSbFw +=jATI +-----END PGP SIGNATURE----- diff --git a/sci-calculators/speedcrunch/files/speedcrunch-0.10.1-iconname.patch b/sci-calculators/speedcrunch/files/speedcrunch-0.10.1-iconname.patch new file mode 100644 index 000000000000..3e716e869114 --- /dev/null +++ b/sci-calculators/speedcrunch/files/speedcrunch-0.10.1-iconname.patch @@ -0,0 +1,11 @@ +--- src/gui/aboutbox.cpp.orig 2008-11-17 20:12:32.000000000 +0000 ++++ src/gui/aboutbox.cpp 2008-11-17 20:12:50.000000000 +0000 +@@ -209,7 +209,7 @@ + infoLabel->setOpenExternalLinks( true ); + + QLabel * iconLabel = new QLabel( this ); +- iconLabel->setPixmap( QPixmap( ":/crunch.png" ) ); ++ iconLabel->setPixmap( QPixmap( ":/speedcrunch.png" ) ); + iconLabel->setAlignment( Qt::AlignVCenter | Qt::AlignRight ); + + MarqueeText * marqueeText = new MarqueeText( this ); diff --git a/sci-calculators/speedcrunch/metadata.xml b/sci-calculators/speedcrunch/metadata.xml new file mode 100644 index 000000000000..7d82487a2ee7 --- /dev/null +++ b/sci-calculators/speedcrunch/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> + A fast and usable calculator for power users. +</longdescription> +</pkgmetadata> diff --git a/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild b/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild new file mode 100644 index 000000000000..43ec49f57bc9 --- /dev/null +++ b/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/speedcrunch/speedcrunch-0.10.1.ebuild,v 1.1 2008/11/17 23:58:15 bicatali Exp $ + +EAPI=1 + +inherit eutils cmake-utils + +DESCRIPTION="A fast and usable calculator for power users" +HOMEPAGE="http://speedcrunch.org/" +SRC_URI="http://speedcrunch.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="|| ( >=x11-libs/qt-4.2:4 x11-libs/qt-gui:4 )" + +LANGS="ca cs de en es es_AR eu fi fr he id it nb nl no pl + pt pt_BR ro ru sv tr zh_CN" +for lang in ${LANGS}; do + IUSE="${IUSE} linguas_${lang}" +done + +S="${WORKDIR}/${P}/src" + +src_unpack( ) { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-iconname.patch + # regenerate translations + lrelease speedcrunch.pro || die + for lang in ${LANGS}; do + if ! use linguas_${lang}; then + sed -i -e "s:i18n/${lang}\.qm::" Translations.cmake || die + sed -i -e "s:books/${lang}::" CMakeLists.txt || die + fi + done +} + +src_install() { + cmake-utils_src_install + cd .. + dodoc ChangeLog ChangeLog.floatnum HACKING.txt LISEZMOI README TRANSLATORS + if use doc; then + insinto /usr/share/doc/${PF} + doins doc/*.pdf || die + fi +} |