diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-01-05 22:53:40 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-01-05 22:53:40 +0000 |
commit | 97bdcb01c41e5d6fb47a0ee3ce9dbf847ea0e05f (patch) | |
tree | ab89a2c86b90c37ee0743a199b5497ef8cc123d1 /sci-calculators/transcalc | |
parent | no longer mask kvm-kmod (diff) | |
download | historical-97bdcb01c41e5d6fb47a0ee3ce9dbf847ea0e05f.tar.gz historical-97bdcb01c41e5d6fb47a0ee3ce9dbf847ea0e05f.tar.bz2 historical-97bdcb01c41e5d6fb47a0ee3ce9dbf847ea0e05f.zip |
Added a patch from Debian on file permission, fixed some syntax errors, and cleaned up
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'sci-calculators/transcalc')
-rw-r--r-- | sci-calculators/transcalc/ChangeLog | 12 | ||||
-rw-r--r-- | sci-calculators/transcalc/Manifest | 17 | ||||
-rw-r--r-- | sci-calculators/transcalc/files/transcalc-0.14-fd-perm.patch | 13 | ||||
-rw-r--r-- | sci-calculators/transcalc/metadata.xml | 34 | ||||
-rw-r--r-- | sci-calculators/transcalc/transcalc-0.14-r1.ebuild | 35 | ||||
-rw-r--r-- | sci-calculators/transcalc/transcalc-0.14.ebuild | 25 |
6 files changed, 89 insertions, 47 deletions
diff --git a/sci-calculators/transcalc/ChangeLog b/sci-calculators/transcalc/ChangeLog index 704b91bfc4cc..40c3e171da16 100644 --- a/sci-calculators/transcalc/ChangeLog +++ b/sci-calculators/transcalc/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-calculators/transcalc -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/transcalc/ChangeLog,v 1.4 2007/02/09 05:22:33 flameeyes Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/transcalc/ChangeLog,v 1.5 2010/01/05 22:53:40 bicatali Exp $ + +*transcalc-0.14-r1 (05 Jan 2010) + + 05 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org> + -transcalc-0.14.ebuild, +transcalc-0.14-r1.ebuild, + +files/transcalc-0.14-fd-perm.patch, metadata.xml: + Added a patch from Debian on file permission, fixed some syntax errors, + and cleaned up 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/sci-calculators/transcalc/Manifest b/sci-calculators/transcalc/Manifest index 370c7cd52155..6ac1196001cd 100644 --- a/sci-calculators/transcalc/Manifest +++ b/sci-calculators/transcalc/Manifest @@ -1,4 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX transcalc-0.14-fd-perm.patch 596 RMD160 cc48188ef119758644c1d7dea5b20b9cfb4cbcd8 SHA1 cdcf9b4924a1c21899f744a30ed661e0a697d460 SHA256 c750f7b1ff48104aa6ced0489cafbf7df6781a89dca24d0d7ab5bb506a01937a DIST transcalc-0.14.tar.gz 186434 RMD160 d622748abe971b0197db9c993ee3850faa06b72a SHA1 bb860b9caf30acfd446cafbacfb14ad99f1f4a58 SHA256 02213d5fc20cb147a51ea771364a8acd0d340ffdc8d582deb5bf478ff0e6a82e -EBUILD transcalc-0.14.ebuild 664 RMD160 c85fe68ce44a64d24d60e8c9bc0ae8a2b7184fd0 SHA1 f06b59451abca0cc11ad8a98f53946939577fd70 SHA256 a2449bc2ade506367118a135cb04fa26559bc9037dca5a4ed59579f689f1a82a -MISC ChangeLog 821 RMD160 5f8fb7369054d225bce6becbcb3d3d8f13663f41 SHA1 d1304718d5917a88cf977605b214c226e8b7e01d SHA256 ca28f10c8443af6ffc6b4ba13694bc660e12cdbf767f6d8fd13e9d79545b4aa3 -MISC metadata.xml 1111 RMD160 b3038c9768797a71a0c41d838865b011a995c14d SHA1 876bfac5f27caac5dfd1ddee14e5d3d03f2b6406 SHA256 b5db50837f08243401c061078245d10e5c9a6818e2eb1408f1c73ee306357c3c +EBUILD transcalc-0.14-r1.ebuild 912 RMD160 390b563195f2af5064f8620677215b0c6451d52b SHA1 cb5ac7a5ab78af65a805232bb86293ff8b0d2459 SHA256 49347b4e4b96b26017a35a7797f0ccbe76cbeaf93a254fba336b0f56f1330978 +MISC ChangeLog 1107 RMD160 f800951e0a5f449e3666768ed9877fcc19e44f89 SHA1 5777da5bf9483d5f189d767dee2842de06332e0f SHA256 50286b5c41c93a9919ca255a1a4f47db8145a5500a86afc1f5c8707a9b2e89f8 +MISC metadata.xml 1136 RMD160 314f130a46992b2980af6f159e55f651c7fa993b SHA1 7cfe3ba80b60e995d9c28a7716543abec2dfff30 SHA256 3bbc9b87797ee679848a50af00b97af8b19fdfe432d07a8619ebbd9cb5817216 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAktDy8gACgkQ1ycZbhPLE2DisQCgitx5U24z6KDSvbe1XYom1cEy +kdYAnRSA5SgWXkEzzVK9F1ohHNpLRnrj +=0GB9 +-----END PGP SIGNATURE----- diff --git a/sci-calculators/transcalc/files/transcalc-0.14-fd-perm.patch b/sci-calculators/transcalc/files/transcalc-0.14-fd-perm.patch new file mode 100644 index 000000000000..534f3a92d8ac --- /dev/null +++ b/sci-calculators/transcalc/files/transcalc-0.14-fd-perm.patch @@ -0,0 +1,13 @@ +Index: transcalc-0.14/src/transcalc.c +=================================================================== +--- transcalc-0.14.orig/src/transcalc.c 2009-05-19 22:00:01.000000000 -0400 ++++ transcalc-0.14/src/transcalc.c 2009-05-19 22:01:22.000000000 -0400 +@@ -146,7 +146,7 @@ + /* see if config file exists */ + if (stat (config_filename, config_file_stat) != 0) { + /* config file missing, so touch it */ +- config_file_fd = open (config_filename, O_CREAT); ++ config_file_fd = open (config_filename, O_CREAT, 0644); + if (config_file_fd == -1) + { + perror ("open[config_file]"); diff --git a/sci-calculators/transcalc/metadata.xml b/sci-calculators/transcalc/metadata.xml index 26a51e594f77..e8863d7196a2 100644 --- a/sci-calculators/transcalc/metadata.xml +++ b/sci-calculators/transcalc/metadata.xml @@ -1,21 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> - <longdescription> - Transcalc is an analysis and synthesis tool for calculating the - electrical and physical properties of different kinds of RF and - microwave transmission lines. Transcalc was somewhat inspired by the - functionality of Agilent Technologies' commercial program linecalc. - Transcalc aspires to be more functional in the long run and - well-documented with appropriate references to formulas that are used. - Transcalc is built using the GIMP toolkit (GTK) for its GUI interface. - For each type of transmission line, using dialog boxes, you can enter - values for the various parameters, and either calculate its electrical - properties (analyze), or use the given electrical requirements to - sythesize physical parameters of the required transmission line. - Available transmission lines (this list will expand with subsequent - releases): microstrip, rectangular waveguide, coaxial line, coupled - microstrip. - </longdescription> +<herd>sci</herd> +<longdescription> + Transcalc is an analysis and synthesis tool for calculating the + electrical and physical properties of different kinds of RF and + microwave transmission lines. Transcalc was somewhat inspired by the + functionality of Agilent Technologies' commercial program linecalc. + Transcalc aspires to be more functional in the long run and + well-documented with appropriate references to formulas that are used. + Transcalc is built using the GIMP toolkit (GTK) for its GUI interface. + For each type of transmission line, using dialog boxes, you can enter + values for the various parameters, and either calculate its electrical + properties (analyze), or use the given electrical requirements to + sythesize physical parameters of the required transmission line. + Available transmission lines (this list will expand with subsequent + releases): microstrip, rectangular waveguide, coaxial line, coupled + microstrip. +</longdescription> </pkgmetadata> diff --git a/sci-calculators/transcalc/transcalc-0.14-r1.ebuild b/sci-calculators/transcalc/transcalc-0.14-r1.ebuild new file mode 100644 index 000000000000..e0c3967fae43 --- /dev/null +++ b/sci-calculators/transcalc/transcalc-0.14-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/transcalc/transcalc-0.14-r1.ebuild,v 1.1 2010/01/05 22:53:40 bicatali Exp $ + +EAPI=2 +inherit eutils + +DESCRIPTION="A microwave and RF transmission line calculator" +HOMEPAGE="http://transcalc.sourceforge.net" +SRC_URI="http://transcalc.sourceforge.net/${P}.tar.gz" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=x11-libs/gtk+-2" +RDEPEND="${DEPEND}" + +src_prepare() { + # respect flags + sed -i -e 's|^CFLAGS=|#CFLAGS=|g' configure || die + # patch from debian + epatch "${FILESDIR}"/${P}-fd-perm.patch + # syntax errors + sed -i \ + -e 's/ythesize/ynthesize/g' \ + src/{setup_menu.c,help.h} docs/transcalc.sgml README || die +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog README TODO +} diff --git a/sci-calculators/transcalc/transcalc-0.14.ebuild b/sci-calculators/transcalc/transcalc-0.14.ebuild deleted file mode 100644 index 55d29e89030e..000000000000 --- a/sci-calculators/transcalc/transcalc-0.14.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/transcalc/transcalc-0.14.ebuild,v 1.2 2005/09/25 01:16:28 dang Exp $ - -DESCRIPTION="A microwave and RF transmission line calculator" -HOMEPAGE="http://transcalc.sourceforge.net" -SRC_URI="http://transcalc.sourceforge.net/${P}.tar.gz" - -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=">=x11-libs/gtk+-2.0" - -src_compile() { - econf || die - emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die -} - -src_install() { - make DESTDIR=${D} install || die - dodoc AUTHORS ChangeLog COPYING README TODO -} |