diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-calculators |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-calculators')
72 files changed, 1970 insertions, 0 deletions
diff --git a/sci-calculators/calcoo/Manifest b/sci-calculators/calcoo/Manifest new file mode 100644 index 000000000000..abb2498461a3 --- /dev/null +++ b/sci-calculators/calcoo/Manifest @@ -0,0 +1,6 @@ +AUX calcoo-1.3.18-gold.patch 357 SHA256 928f324c678bec8ddc8fb198338ba545fb3bbbe1d88b01d55317cadee8e11e78 SHA512 5dde7e02ca567965cb1eadc6d181af49d20d5a45c4af6f93dfd406c207a4520827f99eed65f3dd4cc13d8e95d01377b9bf308d5cff885aa53fc96d8f39caf0b6 WHIRLPOOL a389b3e50df6a486f4dff941a38e523566141c2ff4be162d66abd860490d0086b6d7a5828eadee8e9e3b370210505df4b086c37a00c41df0c2c8f41ab7227012 +DIST calcoo-1.3.18.tar.gz 133605 SHA256 7daa6f089922e6a65812d20374803335af4272a2716a4c148747b5620b2aa069 SHA512 e03fd61abb1e5500a1e4eb91e732ced1c963770ddb85824430511cc5c14d1f5af1095e2fdc7b8b483afba94e3ac8381a001e0a42dccaa182c1a888e90afd14a7 WHIRLPOOL 027091bb65af9d9da7ecedbe861abcdcc04bdb7e16dc132e9e0b87d5d52b3b5513e00a631cc34c2b6a4a7320619661374719863f0e02965e08bb928da7ec5ba7 +EBUILD calcoo-1.3.18-r1.ebuild 749 SHA256 4921e7405b743751bc574c36e220b784ab975628ebfe6840d18c1eeb9e8aa80d SHA512 91f792d75c52b5515d69f8028a4c94a738e5b8d627bf143a441b627454769ce8eae3001399a2c957c4cb41856c394985df4328ad65db572032e04c04d80cd86f WHIRLPOOL d17bb1d153a429dee6a1c1bfc6b5cdb06e8e4071645ad70eb73ba9fcff91211fc60efe94f8be1d61f3a89f3998b0305e390233690973293053e2b5c3fc575076 +MISC ChangeLog 2854 SHA256 07523dc3ff9f6920d70f0596bbb286c13ec1f620076b8a20407ffe8a40488e97 SHA512 9c480299820c03d1a3fcf496e54d16ce1b5f1e6cbc0e6c8945c78df10afd8af3e959e3f03dd7d1428645d6250ee3a0e3185000af825ad52328e496de3433da7f WHIRLPOOL 407ad0f9e648f631976726dc204be7b9b2c35faee4876644772e12b4167e415b291d5f33e5fdadc2ada39c6b7bdadf82d3a9268312cf0d8e3e1dc9acf2722939 +MISC ChangeLog-2015 3622 SHA256 8942c0e8886ee0001b5d41f4e95aa08253060a9b6ef9355e7ff77385bb783ede SHA512 7899f1885921c7559191c22215cd0b5412ca201834cf72bd5def57fe02e2873efa73f4f58aaf0b45904345a81fa2c632d8052a9bee3e7b9580dc7e828e722681 WHIRLPOOL 1e9d3c6127e1163ba90fd7b047debef7632a69a025ce32bb866daecc96eeb1208a204a145eed9ef362c4e4c26e7fe4433442a3a642c92fbc20a656800ac6ad6e +MISC metadata.xml 455 SHA256 b257cd562dde39356ca4d44f15c0576b32f28b5cd8cb7bd5bcdf0e70922b421d SHA512 1777377851e68cde4bd027bbc17fdadc93775a9f55f4833127117955263ec0fbe87fb043bdccb4683319bb3c2b7d8094da61e36bd630a99b8838010affe0c1db WHIRLPOOL ed7a3d802b4e85754ca2fb1e554f69235d65af34d284e7358425f846661f81d4c0f6778db5b05db28da8f67452d627ee9b7fedca978fbd55eae49ed922a6a2ed diff --git a/sci-calculators/calcoo/calcoo-1.3.18-r1.ebuild b/sci-calculators/calcoo/calcoo-1.3.18-r1.ebuild new file mode 100644 index 000000000000..9924c994128a --- /dev/null +++ b/sci-calculators/calcoo/calcoo-1.3.18-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils + +DESCRIPTION="Scientific calculator designed to provide maximum usability" +HOMEPAGE="http://calcoo.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${P}-gold.patch ) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf --disable-gtktest +} + +src_install() { + default + newicon src/pixmaps/main.xpm ${PN}.xpm + make_desktop_entry ${PN} Calcoo ${PN} "Education;Math" +} diff --git a/sci-calculators/calcoo/files/calcoo-1.3.18-gold.patch b/sci-calculators/calcoo/files/calcoo-1.3.18-gold.patch new file mode 100644 index 000000000000..1369dd526b28 --- /dev/null +++ b/sci-calculators/calcoo/files/calcoo-1.3.18-gold.patch @@ -0,0 +1,16 @@ + src/Makefile.am | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index b14dc1e..d713b51 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -36,7 +36,7 @@ output.c \ + texts.h + + INCLUDES = @GTK_CFLAGS@ +-LDADD = @GTK_LIBS@ ++LDADD = @GTK_LIBS@ -lm + CLEANFILES = *~ + DISTCLEANFILES = .deps/*.P + diff --git a/sci-calculators/calcoo/metadata.xml b/sci-calculators/calcoo/metadata.xml new file mode 100644 index 000000000000..574467559061 --- /dev/null +++ b/sci-calculators/calcoo/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription> + Calcoo is a scientific calculator designed to provide maximum + usability. +</longdescription> + <upstream> + <remote-id type="sourceforge">calcoo</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-calculators/calculator/Manifest b/sci-calculators/calculator/Manifest new file mode 100644 index 000000000000..4c3b20a78a14 --- /dev/null +++ b/sci-calculators/calculator/Manifest @@ -0,0 +1,5 @@ +DIST fox-1.7.54.tar.gz 5384000 SHA256 c6b749b1392d13e60b20525ed2e2107b40b4d25e757b2ee1e3fb96f59db9f053 SHA512 cf14a09f9a6a812ac87839a5df8fd68f693e59050695e8da5dbfe018676f29bc263e4f9208dc06419068e4140b826a0dcf70a8925fec379edf3e4d0d0b693795 WHIRLPOOL bb2829e16921e9171c6dd7f24be76803485c7f884f16c8e45f4adbbe91b0128a0024617a6f35c705149aeac921f891042605cff3499c200ba916de114547fca3 +EBUILD calculator-1.7.54.ebuild 360 SHA256 cb467b2785142a6cff6e1334feda6e0e1869174d4ba9d1fe82150a1e65d3f6a1 SHA512 90479c596e75a141536fc318691f882ff6aef3fa98e80d57b01bf0bc217a33bbc126e388b28d68dcea653077f9bb3daacc313d5f5e386d2525ee6224a0b31468 WHIRLPOOL b331ffdf943b509ac67df5dfc319e28ca3cfbaa460d79f2089f75d1d60f84b0f46c18c581ebf62c5ca8099f77d1dfa6e30c5cdb7513098ffdcaa5fd3889b2a99 +MISC ChangeLog 3062 SHA256 f463a275e3ce32fc034465fbedb4f9d7a86811f2009a3bd481bd1f3d207e11c8 SHA512 d9319efffa8832a80b86588aa362712a7d57df2374fdf62a65de829603e8180cd14b534dd281e72fbf6b80a4962825a5a184498cc1b7ed8588788dfc7fdc265a WHIRLPOOL 2de78684abc723ec6f981e4ed9466991832c9c1945333866c7e46ddb23edd1e89cacdae3af9f78b0357572d7541ce596b4ea6d43ad0b420457e60b92b032a629 +MISC ChangeLog-2015 7029 SHA256 f8bad2226a2c60c1b6d57e0c14ce8d2fddadd3fb183f8f0b3d5e42476b1ef86e SHA512 d5732dc411657259733765e1bc1f174688507b34c611dcd417310362dec4d38cdccd7167325f44b13884ebaaf82b62da337a3df028c9acf5bd66e164734caeb9 WHIRLPOOL bc9a9760dd4f3c6fb40226984213e0c22c4f2e3278a73393502662be21c7dd9449f27050f880148605c2fcd6c29eb77d5a30e0c15e4d3282a0afa748affb9a22 +MISC metadata.xml 945 SHA256 45fe36727676cd465d634be4d62e9e2e8591c895ef1f4dace271f794e74a5064 SHA512 518844efe7b8a5d9333da013de0afec182d46291189ddd4ce6bdd795c81546e255058af326e10c32462ce3573da5426322cc9d7c6fabf1cb0be466db2702c667 WHIRLPOOL ee00f31de2fc47c3d7a93f2ce3fd937266fb4262c2e455e40afc7cf4e239acec3360de67e2a92d7f94031de3375e4442191fcc826a0ef43500da3a8a3b9733e8 diff --git a/sci-calculators/calculator/calculator-1.7.54.ebuild b/sci-calculators/calculator/calculator-1.7.54.ebuild new file mode 100644 index 000000000000..869609f171cf --- /dev/null +++ b/sci-calculators/calculator/calculator-1.7.54.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit fox + +DESCRIPTION="Scientific calculator based on the FOX Toolkit" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ppc ~ppc64 ~sparc x86" +IUSE="" + +RDEPEND="~x11-libs/fox-${PV} + x11-libs/libICE + x11-libs/libSM" +DEPEND="${RDEPEND}" diff --git a/sci-calculators/calculator/metadata.xml b/sci-calculators/calculator/metadata.xml new file mode 100644 index 000000000000..e4d38f391be1 --- /dev/null +++ b/sci-calculators/calculator/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription> + The FOX Calculator is a simple desktop calculator geared toward the + programmer for the FOX Toolkit. It supports not only a full + complement scientific functions, but also common operations that + programmers need, such as bitwise operations, bitwise shifting, and + base-2 logarithm and exponents, and numeric conversion between + hexadecimal, octal, binary, and decimal. The FOX Calculator + implements correct operator precedences, so expressions like 2+3*5 + yield the correct result, which is 17, and not 25. Also featured is + a constant memory, which permanently stores its value even if you + exit the calculator and restart it later. +</longdescription> +</pkgmetadata> diff --git a/sci-calculators/datamash/Manifest b/sci-calculators/datamash/Manifest new file mode 100644 index 000000000000..7fa8b56da42b --- /dev/null +++ b/sci-calculators/datamash/Manifest @@ -0,0 +1,6 @@ +AUX datamash-1.2-libcrypto.patch 839 SHA256 eeb18bc9a37bf5688fa80bbcfd04db2f02b27ce47b638871daa81f0ad54f9760 SHA512 f7bac5d4ec43736e04217a5c15d29344fafd47afa1034149ecebe229aa18539649a74df31c93c8be8db0aec1d16e12efa285faaf0039756bdf12b4fb10e03cbf WHIRLPOOL cdecaa5bee05f4aeee04d589d993dda399a3ba1f3935730b1ba21838ddfda9dfa2ad7852da53c072b9bcb3cc7477ee3c44105a9b1ae4faba129f04a457e6f6a8 +DIST datamash-1.1.1.tar.gz 1912118 SHA256 420819b3d7372ee3ce704add847cff7d08c4f8176c1d48735d4a632410bb801b SHA512 8932ed5ec357348108cd559acada3bfdc12ee4e360d709d74a6a661bc55f80223baa493d9185be8816b550ef86ff1f760249deb77cbeee9aa1f4178043a1938f WHIRLPOOL 7a2b3f54031c6fb7306eae986dd14213c0417e1fe815429ca071c35b86ec2123777d3d2e330ba2693de29dd317a531f0b1ad9c9c81a6b8cef69368cfa29d705a +DIST datamash-1.2.tar.gz 1922522 SHA256 e8d46fb22ccc77e5380f26cde622a733f363d388b04a2c22e7fb6de0e9d85996 SHA512 afb0960ffa881e1112394f5e0355c7a6efea13d6bdcbccb9830a6cde617e13701ca361d62c8283b7a64a27135b2f54a75970b17a7d73a5f0ba914ab70f05c086 WHIRLPOOL 0a2299a7007cb67fad14d0b73f851b5c20d13434fcc9e1a54ec11adb2d834b475abd7c596d04bcd9c801d717eaf06f80c10f8559578806ba842af7435491498a +EBUILD datamash-1.1.1.ebuild 533 SHA256 dad404e8e6d17ac5236af8f662d4361c7dc32e6afed46c54bf0606f175ca6638 SHA512 90a4b64825da8bd0367484a878750591eee157228da9d03ca87215ce64bbe34654fc0e4ad98d6199544def6a902a025dd3b52f2e9f9cf4dbc78e10d9c301af69 WHIRLPOOL 9d9755736e15928df209b5544822fd14194f27842e6f29b55cfa6026021fc03aca2adc850eff49bca299eaf3d00ab0c2e5cbf24983ca98b6de69109cb2fc1fc5 +EBUILD datamash-1.2.ebuild 656 SHA256 2988bbca0d72ac9412409c433cd84969e638734c9e7e64d26f465e2e2e9499e8 SHA512 54f592bb186285144d6710482b2b3f4a880dbf5c7b3611c63d5883c901406cadbee966781d939a75a613d6c3a23b69082c918bd24dc319d3cbd94003606ae21b WHIRLPOOL 19d38b14eeb1a167aef97451fc7549c19935f96a986acd9c4769cd7757bac94e3108f93acd02f23c45622d526e369586880b8b32f8446c56fd8acf94b0cdabc0 +MISC metadata.xml 310 SHA256 d372e41a0590c579e6fe8cb120e8b361fe59b1a254f888f8eb1fd09ffa44161c SHA512 e8cadaf3fa95d5ac28e177ec1b5e71b3e330aef4237250fe2579bac07249252d5e40e9f1b831244f3b408bd0a02d85dd76acb1e0129a62524870e4c3083dcac7 WHIRLPOOL 8941f856341d7776d77cfb77f4478d5bb47aa782f53f35fd218205a2d430a0e7c707408b44ece255d0c91ae7e3ab9fce6e6bbdbdfe64b029f3cb9a99eab07156 diff --git a/sci-calculators/datamash/datamash-1.1.1.ebuild b/sci-calculators/datamash/datamash-1.1.1.ebuild new file mode 100644 index 000000000000..85e141847bc5 --- /dev/null +++ b/sci-calculators/datamash/datamash-1.1.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="command-line program for basic numeric, textual and statistical operations" +HOMEPAGE="http://www.gnu.org/software/datamash/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +CDEPEND=" + nls? ( sys-devel/gettext ) +" +RDEPEND=" + nls? ( virtual/libintl ) +" +DEPEND=" + ${CDEPEND} + ${RDEPEND} +" + +src_configure() { + econf $(use_enable nls) --with-openssl=no +} diff --git a/sci-calculators/datamash/datamash-1.2.ebuild b/sci-calculators/datamash/datamash-1.2.ebuild new file mode 100644 index 000000000000..2046d05d80fa --- /dev/null +++ b/sci-calculators/datamash/datamash-1.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="command-line program for basic numeric, textual and statistical operations" +HOMEPAGE="https://www.gnu.org/software/datamash/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls openssl" + +CDEPEND=" + nls? ( sys-devel/gettext ) + openssl? ( dev-libs/openssl ) +" +RDEPEND=" + nls? ( virtual/libintl ) +" +DEPEND=" + ${CDEPEND} + ${RDEPEND} +" +PATCHES=( + "${FILESDIR}"/${PN}-1.2-libcrypto.patch +) + +src_configure() { + econf \ + $(use_enable nls) \ + $(usex openssl --with-openssl={yes,no}) +} diff --git a/sci-calculators/datamash/files/datamash-1.2-libcrypto.patch b/sci-calculators/datamash/files/datamash-1.2-libcrypto.patch new file mode 100644 index 000000000000..887d807ec04b --- /dev/null +++ b/sci-calculators/datamash/files/datamash-1.2-libcrypto.patch @@ -0,0 +1,30 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -56,6 +56,7 @@ + $(LDEXPL_LIBM) \ + $(LIBICONV) \ + $(LIBINTL) \ ++ $(LIB_CRYPTO) \ + $(ROUND_LIBM) \ + $(ROUNDL_LIBM) \ + $(SQRT_LIBM) \ +--- a/Makefile.in ++++ b/Makefile.in +@@ -339,7 +339,8 @@ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ +- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) ++ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ ++ $(am__DEPENDENCIES_1) + datamash_LINK = $(CCLD) $(datamash_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ + AM_V_P = $(am__v_P_@AM_V@) +@@ -1908,6 +1909,7 @@ + $(LDEXPL_LIBM) \ + $(LIBICONV) \ + $(LIBINTL) \ ++ $(LIB_CRYPTO) \ + $(ROUND_LIBM) \ + $(ROUNDL_LIBM) \ + $(SQRT_LIBM) \ diff --git a/sci-calculators/datamash/metadata.xml b/sci-calculators/datamash/metadata.xml new file mode 100644 index 000000000000..71dccc38c27d --- /dev/null +++ b/sci-calculators/datamash/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>jer@gentoo.org</email> +</maintainer> +<use> +<flag name='openssl'>Use <pkg>dev-libs/openssl</pkg> for cryptographic features</flag> +</use> +</pkgmetadata> diff --git a/sci-calculators/galculator/Manifest b/sci-calculators/galculator/Manifest new file mode 100644 index 000000000000..f3ec0c23540d --- /dev/null +++ b/sci-calculators/galculator/Manifest @@ -0,0 +1,5 @@ +DIST galculator-2.1.4.tar.bz2 472989 SHA256 01cfafe6606e7ec45facb708ef85efd6c1e8bb41001a999d28212a825ef778ae SHA512 ca5f373649d9bf26184e94ba6a501610efbb13e92a8723cda78b83aa495519e82e5b4fcd17f00f615eb702ed186598aecc70ae63a8238c32384b7f608cba4cfa WHIRLPOOL 23104f14850cbe59b2753e0bd659182e593be9e82c009ecd934a1c441d71c2eddee5d788c678e02514ce56c866edc15f4b13785daf1eef5ac7dbca2a1244a544 +EBUILD galculator-2.1.4.ebuild 634 SHA256 610938a8cfc7d8dfcc65b4045f40c2c92fec00bded6de2155d4c612081da057c SHA512 e6fa284df113818030873eeb7d18906fa05a383ccf04e4418717eb7bb20a93df727616a7108ca504d53e2cf2cee5c9ce9491912a8243fd41852961cf3a43a513 WHIRLPOOL 41f32efbd49ea18b7467b988e540722537391b14cbb27fa5493ad21afdd053a21903ea79d351008c6dbaa7611ac683e152446b112544332f5bcd12e1d1bebfc0 +MISC ChangeLog 3738 SHA256 049b10b2ae9fbbf2888584824626c6895475700bd364964304e1e0f44c4736a0 SHA512 ca0eed69eb101544ec4270c72f02531cd024c35275102d21d0309dd5cb2d5f1adef92d31b32d3f9e7b124b439a3db2b91413bbbec15d0f19e6bb568c2d092b06 WHIRLPOOL 5371e101988aa7712f3e09dbd448b1346f30df80b624d078b7158cc3e9b3a5898c55c8ff71dd502ec2873f201968c9089d738df224e6d66d36a60eb88aea4ba4 +MISC ChangeLog-2015 7314 SHA256 37b2dee41fe3331033784647bd43e77540668653660cedaf77a4bbc383411fcf SHA512 5d8644d9bbcae9368a799a85661371844ff3178607de2f9bea8d5349074521bef218471a5ce36c1ebd8270361e58ad75ecbc34fbb2993b9f79feb538d46c4530 WHIRLPOOL c2042697db72887567708e52a776f86451a02ce3a5f2740287dcd2886727b63db6b34f4f91305f55cfe10cc883044acc2298280722b49c14b876e62009510969 +MISC metadata.xml 394 SHA256 192e5d70ed38fc5dbeb4a4c18d63db864cea6588082da313625b392c849724fa SHA512 fc850474030836be72c5a81983052b0af11312a3b3ef815b6b5eaf7a95a1b7bdbf5b1f25b5e0b2c32786b6fc5958993ff859bd2c9c818dc7df68dbecb4b61800 WHIRLPOOL fbe0a2ff23e3d73486abdc8125238c84d0dd06a0e8ccb7730651a05b099c8f1256df32d43f3973788d049a6bf22d6d763e181a11c818fa359abcc99fbdb517b3 diff --git a/sci-calculators/galculator/galculator-2.1.4.ebuild b/sci-calculators/galculator/galculator-2.1.4.ebuild new file mode 100644 index 000000000000..51aea36bb244 --- /dev/null +++ b/sci-calculators/galculator/galculator-2.1.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG=no + +inherit gnome2 + +DESCRIPTION="GTK+ based algebraic and RPN calculator" +HOMEPAGE="http://galculator.mnim.org/" +SRC_URI="http://galculator.mnim.org/downloads/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gtk+:3 + x11-libs/pango +" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/flex + sys-devel/gettext + virtual/pkgconfig +" + +DOCS="AUTHORS ChangeLog NEWS README THANKS doc/shortcuts" diff --git a/sci-calculators/galculator/metadata.xml b/sci-calculators/galculator/metadata.xml new file mode 100644 index 000000000000..8476d090875e --- /dev/null +++ b/sci-calculators/galculator/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <upstream> + <remote-id type="github">galculator/galculator</remote-id> + <remote-id type="sourceforge">galculator</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-calculators/gonvert/Manifest b/sci-calculators/gonvert/Manifest new file mode 100644 index 000000000000..0dc0bb038010 --- /dev/null +++ b/sci-calculators/gonvert/Manifest @@ -0,0 +1,6 @@ +AUX 0.2.23-paths.patch 2756 SHA256 2c97af345ead76d12b5043bb6c23b8295d8000161fc7e9f3e180714f713e2e37 SHA512 72ec21802f0c365efc1dff067f17c4ea07ad74a84588859de000efec2f7830e330ea0470ea04983c8622aa2f8099ddef4336a23d3367caaf0033e19dc90b978e WHIRLPOOL fed5e2ea6d1dba52d3dd466943a31a3440e0e4504c39c3be5064fb2e73b6b152dfa6606512aa0bcfe888acd090603c768a7da594a62387a9790604aacc18a229 +DIST gonvert-0.2.39.tar.gz 125040 SHA256 013b5b8be7d4af05667bc3689bda021e843e5bb8362d72727076ab77df375de1 SHA512 508c4fe4a453f68ea48787843b96b7f6ee6706e7a264c5698ceb5cba3b90996f506e67230d37b2750db69921aba90f56d4eca2a21531c33aa5cdd95e2ca9ea4b WHIRLPOOL de1667b98d9edaf0ee2119333bcd96b51ec510ed76ede277124d98f7179e7ac863063d0fc834209ea25ef3f6a399a40c7ab334b1ed7a8160e0d7f260165b2c3b +EBUILD gonvert-0.2.39.ebuild 783 SHA256 4c9e00589625558df8bcef8c5f7055e26fe49575acfc08ad476901ffe365432f SHA512 2266e50bd041e3536ac3e0363f1fc0d0b5967a6453a9d49ac5eedbe4627c8d9ccd316a790694670fc588d2fb4531c4563865272f8e603695f7c996a88247a58d WHIRLPOOL b70029ac18317ed559ac066dba1119d9aef645300e47b0f7ff0a645d99ae614af6d38a20d5d40a9db5f7b79f11c80dfd50b7f60bc8251c1eefcd9c343ce0fad7 +MISC ChangeLog 3028 SHA256 b9a84efdec9592ea5088b7f291f4280940c0e1873341cfdd7846ef1d024b5922 SHA512 72a2c5e3feee8b0c155317f3111eea7c191f03bf4d87f4c75fbedb05b0f867fb829a85bed5d522e5a63e043c9d58967736f8853777975e6f779d25857ea863e6 WHIRLPOOL cadd24db6ca249d6ddbc4cec8be1b691357169a8e340c06dcfcaefde704efcbc4c53e618d5360409622151a2ca01cdc3563b74efc2c7bc16b6312e202b4ef796 +MISC ChangeLog-2015 2790 SHA256 4f6db46dcf1ee6d1ead5fe9898ed1dc2a60f72971f4a986cea6bcc89eda39c91 SHA512 739029fe72b03cb10ead812f066de3fb2de0e0cc6d88bd47555e5121e5eaf7d4cf57724047182dee030b18ddf70807acfc15bfe0fea631ca051a8265cd999843 WHIRLPOOL a5c8565316cdab54bd567f6b61df248b04c68b7cc9951cffdca269db6d9b80f494596ee1df80513bad379994519aee12c6deeab454dcf4fa806bd13555509d63 +MISC metadata.xml 708 SHA256 0222e2eb908a5b1220067369ff6c66b7d61b6aac71c77eeb22ba75e7f2500f90 SHA512 c88b8e10790e10f415ddd0c1453f976767c5b51722936d37a9c423f016c6ac3ae0e19e1103a61f09fb381f6ffc64318012068df50b53e2655e92cbfef663edd5 WHIRLPOOL ad6d899b34431ff2ec9e62e5cc0693a2d18e82007d8277ab46592f0ba423d91642a9d29e59bb16a8883a33167b1d4acf05bb678309fb295426073793849cc458 diff --git a/sci-calculators/gonvert/files/0.2.23-paths.patch b/sci-calculators/gonvert/files/0.2.23-paths.patch new file mode 100644 index 000000000000..72a39758236a --- /dev/null +++ b/sci-calculators/gonvert/files/0.2.23-paths.patch @@ -0,0 +1,64 @@ +diff -uNr gonvert-0.2.23.ORIG//gonvert gonvert-0.2.23/gonvert +--- gonvert-0.2.23.ORIG//gonvert 2010-05-02 15:56:46.807041971 +0100 ++++ gonvert-0.2.23/gonvert 2010-05-02 15:57:06.840166944 +0100 +@@ -739,9 +739,9 @@ + if os.path.exists('gonvert.glade'): + homepath='' + pixmapspath='pixmaps/' +-elif os.path.exists('/usr/local/share/gonvert/gonvert.glade'): +- homepath='/usr/local/share/gonvert/' +- pixmapspath='/usr/local/share/pixmaps/' ++elif os.path.exists('/usr/share/gonvert/gonvert.glade'): ++ homepath='/usr/share/gonvert/' ++ pixmapspath='/usr/share/pixmaps/' + else: + #look for it in the installed directory + homepath=sys.path[0] + '/../share/gonvert/' +diff -uNr gonvert-0.2.23.ORIG//Makefile gonvert-0.2.23/Makefile +--- gonvert-0.2.23.ORIG//Makefile 2010-05-02 15:56:46.808041940 +0100 ++++ gonvert-0.2.23/Makefile 2010-05-02 15:57:06.840166944 +0100 +@@ -4,7 +4,7 @@ + VERSION=$(shell head -3 $(NAME) | grep version | cut -d\" -f2) + + #DESTDIR can be defined when calling make ie. make install DESTDIR=$RPM_BUILD_ROOT +-prefix = /usr/local ++prefix = /usr + bindir = $(prefix)/bin + datadir = $(prefix)/share + docdir = $(datadir)/doc +@@ -18,7 +18,7 @@ + install -D -m0644 gonvert.glade $(DESTDIR)$(datadir)/gonvert/gonvert.glade + install -d -m0755 $(DESTDIR)$(datadir)/pixmaps/ + install -m0644 pixmaps/*.png $(DESTDIR)$(datadir)/pixmaps/ +- install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/gnome/apps/Utilities/gonvert.desktop ++ install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/applications/gonvert.desktop + install -d -m0755 $(DESTDIR)$(docdir)/gonvert/ + install -m0644 doc/* $(DESTDIR)$(docdir)/gonvert/ + +@@ -27,7 +27,7 @@ + install -D -m0644 gonvert.glade $(DESTDIR)$(datadir)/gonvert/gonvert.glade + install -d -m0755 $(DESTDIR)$(datadir)/pixmaps/ + install -m0644 pixmaps/*.png $(DESTDIR)$(datadir)/pixmaps/ +- install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/gnome/apps/Utilities/gonvert.desktop ++ install -D -m0644 gonvert.desktop $(DESTDIR)$(datadir)/applications/gonvert.desktop + install -d -m0755 $(DESTDIR)$(docdir)/gonvert/ + install -m0644 doc/* $(DESTDIR)$(docdir)/gonvert/ + install -m0644 i18n/pl_messages.gmo /usr/share/locale/pl/LC_MESSAGES/gonvert.mo +@@ -37,7 +37,7 @@ + rm -f $(bindir)/gonvert + rm -rf $(datadir)/gonvert* + rm -rf $(docdir)/gonvert* +- rm -f /usr/share/gnome/apps/Utilities/$(NAME).desktop ++ rm -f /usr/share/applications/$(NAME).desktop + rm -f /usr/share/pixmaps/$(NAME).png + + uninstall_pl: +@@ -45,7 +45,7 @@ + rm -f $(bindir)/gonvert + rm -rf $(datadir)/gonvert* + rm -rf $(docdir)/gonvert* +- rm -f /usr/share/gnome/apps/Utilities/$(NAME).desktop ++ rm -f /usr/share/applications/$(NAME).desktop + rm -f /usr/share/pixmaps/$(NAME).png + rm -f /usr/share/locale/pl/LC_MESSAGES/gonvert.mo + diff --git a/sci-calculators/gonvert/gonvert-0.2.39.ebuild b/sci-calculators/gonvert/gonvert-0.2.39.ebuild new file mode 100644 index 000000000000..5650b346b056 --- /dev/null +++ b/sci-calculators/gonvert/gonvert-0.2.39.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="Unit conversion utility written in PyGTK" +HOMEPAGE="http://unihedron.com/projects/gonvert/index.php" +SRC_URI="http://unihedron.com/projects/gonvert/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + dev-python/pygtk:2[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/0.2.23-paths.patch ) + +src_install () { + emake install DESTDIR="${D}" prefix="${EPREFIX}/usr" + python_fix_shebang "${ED%/}"/usr/bin + rm -fr "${ED%/}/usr/share/doc/${PN}" || die + einstalldocs +} diff --git a/sci-calculators/gonvert/metadata.xml b/sci-calculators/gonvert/metadata.xml new file mode 100644 index 000000000000..d7e425a15e64 --- /dev/null +++ b/sci-calculators/gonvert/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + gonvert is a conversion utility that allows conversion between many + units like CGS, Ancient, Imperial with many categories like length, + mass, numbers, etc. All units converted values shown at once as you + type. Easy to add/change your own units. Written in + Python,pygtk,libgade. +</longdescription> +</pkgmetadata> diff --git a/sci-calculators/grpn/Manifest b/sci-calculators/grpn/Manifest new file mode 100644 index 000000000000..6f603aab8ac8 --- /dev/null +++ b/sci-calculators/grpn/Manifest @@ -0,0 +1,5 @@ +DIST grpn_1.4.0-1.tar.gz 61430 SHA256 51fe7800cecab5119c94a87f6b263cc65073cfa7d655f538e7adf5273d092947 SHA512 f1e6831db2d4d0b4bd37a0b7d44f63563ec778f8820f305d9e57c96d8f93f8d3e48d703ab67d7e2819d41ab6d8188e81a6336eb9831cdf17389bc002dc7af371 WHIRLPOOL 3e1dab37c8df8537958f4837c6a6c0c2fbf6fd5b53d6bdfc0bb0f13ec3a26c2e1ebd633b7aca10b80a268edecf246928826e8db4bae3c228d7ba7029a575ea2b +EBUILD grpn-1.4.0.ebuild 787 SHA256 b72323a869695a7732d86ffcb50d89f17edbab152facf431cfad483641f75f87 SHA512 64f2c8d610c44ddcbc5cf1a23a8ab8c2897ea500c8ab65c94302ae9acbdc4a263c43265dcb1423898e9a9a5ada282e96d1d6caacb1290dbae94a8305d6109939 WHIRLPOOL 2a79aa8960953f931bcfeed1fcabfcd380084438e13861772dccd7e4c072284f1b7927310f291cc652f943d828dc20cd6d86c7c4ab191cb18fee3c99318b316a +MISC ChangeLog 3059 SHA256 c294b6707223ef229ecfa0e5bc8020a0f08d649d9fc75694635906edd10b67ff SHA512 76f78753b78cd4014dc0ed880e92f9faa97074e8748b8d16ace1969c4092032efba4e2c5e0c9cf46e832d34499fc72fa2b235f067308c932b80fcbc7adb3929d WHIRLPOOL a8e14a65287c40675548a154e19805b77c3d4fb00115b189c80c33cd6fcada2ce8db4d9e242f03c7648da680d1166fc35a2828d36e8ccf00edd23efc0f9056f3 +MISC ChangeLog-2015 444 SHA256 99df8509734e25f6f83128adf6738e09d30bca944f2716e97d4fea3f8056d1ad SHA512 48578c8b2ea5c9b9bcd20a4841c8151615609ee3020f9b5cf3f9e3c7d01efd53571eabe985e35e306050aecc63790aa9b5ee3bdfbd0c62a1db05b6f8e80d0d7d WHIRLPOOL 5d3b7a6c9c30bc301a2c7b19621e8f6b73b8742756d662ad1f610c3e927215645cf5be34f0f0b6bcb05c3033b809df1fb8da387d0a01d7658955626f6ec06c0f +MISC metadata.xml 257 SHA256 1102724fc1859d83a98b06fcf57aa6718a09de9179aa14865ec7e03a954d9a42 SHA512 ac9b4b4f3ef6a190cf1465bfac8aaf69c9c7b91e2cf3876e19a0b39264accaae12e301a2059bacff7781d0fb1f40499cb2930be0cd3f7ef9cb1a40d266ad059f WHIRLPOOL 0cbe509c14941ad89363e948183a6888876909bcfbbdc257f6d8f4e125dab34b7d1fbeb634bb2aa76a60d37796d5cd4b903a2fd552b792003a9acd0e19e52fef diff --git a/sci-calculators/grpn/grpn-1.4.0.ebuild b/sci-calculators/grpn/grpn-1.4.0.ebuild new file mode 100644 index 000000000000..c1a57f038409 --- /dev/null +++ b/sci-calculators/grpn/grpn-1.4.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils toolchain-funcs + +DESCRIPTION="A reverse polish notation (RPN) calculator based on GTK+ and libmath" +HOMEPAGE="http://www.getreu.net/" +SRC_URI="http://www.getreu.net/public/downloads/software/${PN}/${P}/${PN}_${PV}-1.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + x11-libs/libX11" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/src" + +src_prepare() { + default + sed -i -e 's:= -g -O2 -I/usr/X11/include:+=:' Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" DFLAGS="${LDFLAGS}" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + + newicon icon.png ${PN}.png + make_desktop_entry ${PN} "RPN calculator" +} diff --git a/sci-calculators/grpn/metadata.xml b/sci-calculators/grpn/metadata.xml new file mode 100644 index 000000000000..9b3cd6685a18 --- /dev/null +++ b/sci-calculators/grpn/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> +</pkgmetadata> diff --git a/sci-calculators/hcalc/Manifest b/sci-calculators/hcalc/Manifest new file mode 100644 index 000000000000..56765f509c34 --- /dev/null +++ b/sci-calculators/hcalc/Manifest @@ -0,0 +1,5 @@ +DIST hcalc-1.2.tar.xz 15456 SHA256 4e453e6ed9f83689c63f913492725e5243d9511eb8892520ba2ea202c1feb5bc SHA512 c21dac80d31f7adc5a1e7a02e5a755ac8d68547a9f25622d55e6d87c924a2535ac496ecfebcae52b1995aa414362a9005be4e2b390d0e01dab22bd692b16bf49 WHIRLPOOL b6232b4535f87db41ed040acb53067de927e30c280b09300807e77dd0c367929ec48c22e80417540f0df49330d41d687edd47752fa729f0641579214a9ccbc6e +EBUILD hcalc-1.2-r1.ebuild 526 SHA256 72ca8f263fed26810e6c14e8e6608f8dd5a13a9ad620c290aa9c4a022a75c42b SHA512 b88633408ecea8a13a79c81e72202404bde1ba189f6e832ce0f0ad02b6fb5afd6691e91e46243b31ba64ec242af3e6574cfcd7b87053c2cbc0bc29d3ad8a83a1 WHIRLPOOL 00f0b0ae957a4faa40c946add0dcd432d889ebf1464227c08c3510722c2763ef5a14063e0edcb1b2ee71dd5c91bf2e5e998c75569aed7b4014a3050a74b20e1e +MISC ChangeLog 2993 SHA256 0d279a7a50a895d3e7b2cf1b24689b0ac25a062b4487520d35730f182cff529e SHA512 6ea751b731b6a8b687693951c99ecd86dd2e832f21f3d69703422793aa2c7c38a18f29539947d735c79b3e90607924c5b09da85ab5c2f15c1184844bd553c280 WHIRLPOOL dea51d558360d274223fad85a0063b6d30873acfe7346cc7a1de38a508f933977aa1e5995be68338b57e91b0a8ab39ef848136e26d93cb329e2666b570ee2305 +MISC ChangeLog-2015 2282 SHA256 0ae34cb5be59298edafeaef287acb3639cb24ba928ae653d3e98c0d4ed05a869 SHA512 d0141aa52c4bc078504be277c8008cad15813e5138612eab5d12d3f189cdc28121bb54c2e3f91410a744a87bd4bb03cbfb7d186034ceb604f6bbcf2222fcc5cb WHIRLPOOL 53530ae474856f564a3f1f0fb5689184a45b194880308b99655392cecdb01be3f39dc8ffa02410382e80d634fdea10ad308b449fe29447cfc94e0cab26db2414 +MISC metadata.xml 410 SHA256 cc7d7df8d16738945b12e4ffeadb8b870c5742fed426b659be22df0df651b762 SHA512 1c38eee14bdb8b884bb112683549460060efd210cf89268413a717c1a758c32009c52e65d1f25287b5d2f074be52964e8584e08f311ee7bfc677ad095f6e21b2 WHIRLPOOL cd4b66b3caae26fe7adad5b237b68d3e1c6eb93b1b158877d5ca2f3c9260dedccf535eb0fcda0e258d6634ee070a35a4542d0a0c47c33da48d81e8d8c7ff124b diff --git a/sci-calculators/hcalc/hcalc-1.2-r1.ebuild b/sci-calculators/hcalc/hcalc-1.2-r1.ebuild new file mode 100644 index 000000000000..c9572b8317bd --- /dev/null +++ b/sci-calculators/hcalc/hcalc-1.2-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="DJ's Hex Calculator" +HOMEPAGE="http://www.delorie.com/store/hcalc/ https://github.com/jlec/hcalc" +SRC_URI="mirror://github/jlec/hcalc/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXpm" +DEPEND="${RDEPEND}" + +pkg_postinst() { + einfo "Enter hcalc to run and use kill or ctrl-c to exit." +} diff --git a/sci-calculators/hcalc/metadata.xml b/sci-calculators/hcalc/metadata.xml new file mode 100644 index 000000000000..a5719665acdb --- /dev/null +++ b/sci-calculators/hcalc/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription> + Small X hexadecimal calculator +</longdescription> + <upstream> + <remote-id type="github">jlec/hcalc</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-calculators/hexcalc/Manifest b/sci-calculators/hexcalc/Manifest new file mode 100644 index 000000000000..bf231cb871c3 --- /dev/null +++ b/sci-calculators/hexcalc/Manifest @@ -0,0 +1,7 @@ +AUX hexcalc-keypad.diff 3715 SHA256 ceb87c62d41b12859be40b2980d1c40e1ac199fb2a2ebcf391de33e028a777ed SHA512 812c6bd3b53a18a75b1ed553f1e58f6a08b48ba264787fa69f9577798b483797871ff47dd5ccd4c075989c9f9f6a6f00b7457deafc463b90e76e78e0507af259 WHIRLPOOL 0b28ca4443a151136c108687c804d86d24366d909eeda58a7166dbd1bf0a51f0c7b55fc80c340101a9aa94c335bf79766ad489bbe7e45a7dad4bb9cf1210e473 +AUX hexcalc-order.diff 972 SHA256 d7a7b4317b97b2ba45a8fb6180b772fb213d08d11efc151aa72223e15fd66ff9 SHA512 8a1049372f638822e7197ca56ee336d1b5ac4a0fcf24846705f14f80495c13bad390b7ddd5e43c84e47739521a5fab1a35c435125b4b919aedbd35c09ee583d7 WHIRLPOOL 60ec6a7f82b16cc0ff111cfe8cf8bf79c54e273e145b7623d33230f18cd5888279a163d21eaecd49cf8862bd65f7e1d094a489fd2b6f8d0e3895e7ea49247d2e +DIST hexcalc.tar.Z 18033 SHA256 726dae5803538cdae658e6b8b9184ec34f23af7fdfdc4412fecae040d66c5480 SHA512 f684d6d6bd6df3f7f0dd626345d8ef166b12513bb378e74f8c59c2b92970f99c665ca32585217e75d55bf0fd93b5fc5c6a5b73e8b438f4821c13219f8ac74766 WHIRLPOOL b044a468d43adf45adde1f315c79ee2f8f42f7e4f762f32045ab4a5a913c40bc2737d2eba18ea54fc9570fd9b765abb61db9b960ab763a98ada481fda187bf2d +EBUILD hexcalc-1.11-r3.ebuild 695 SHA256 28611c7c9bcca1bc97f22e1af5d2defb880f27f7f459c2225d6f91d2798014ad SHA512 43d8c11f0430e2c22deb8862d598af2f96a03998687de530e93af005d730e09e48e1d6f4fce0557b593fc55a8fb5c1112acf47bd839b5ab8e5bfc702fbc56e56 WHIRLPOOL 3cf2c51d0bd141dd24adcab50dab53b0946c4bf157a4e118cf431c0b6998c58c1e2d5c4463385c5d886bd1e6cdecaf49524149912fd77083231800a067b5ac7c +MISC ChangeLog 2785 SHA256 147b85984ef2135d2539a70cb9c87391c4a959959d808662669e4c375240246a SHA512 584167a401a6172064b94d1e8967752856b8f8f723f73a920a39ad120a00f20324f9a4f2a47d79526349a317a217b3523b3d36eede5b63eb30701f9a33da5404 WHIRLPOOL 65b1cd4d7a297568c1b4c58033226281a2a20a69287f1e299753fc928aa04622e1268b0e42567010d9a94a419d32ba28927f34656bbe7c53eae33cd7980499ad +MISC ChangeLog-2015 2283 SHA256 8ccf934ef782118288d9d06b49e653849c7fe977ed19d7e9aff0eae16ea39077 SHA512 2e61cd6a5864ce62610d69236c841f530e75e953f73a72a68bcf4c3f07956f9a366948cf39a2f9406afef9185e25aed397c12fc23f97742f4b7f7af6ba3d59a5 WHIRLPOOL 65d54fa57034633d5a68b0f9b3fb9a063b8663bc16f3e784c0570fc94c3dca64581a00d4abbcecff165dfa8bc64f1d10634902cbf4114c3320f0f19eb6cc315c +MISC metadata.xml 378 SHA256 49133e901f96d40bb2745b2c277725eeaafb5921ec05ca60d3fb059e3d00fe80 SHA512 2a263edbfe1fff78d201e3c6340126fb9e4509a3559eaf9077450c6d948d2d6f9404e31de22d0a7b05fb021063c15fbb6184d0e651f07192327a1c256b9c130e WHIRLPOOL 4111bfa3020af44bd28a44e98e3aaadb4687d1b344c7f8b4b53bd79e12b64a0d345480209ea37dcdf41b86631b25bec986203ffb03aa3999b7bdd3069458fd88 diff --git a/sci-calculators/hexcalc/files/hexcalc-keypad.diff b/sci-calculators/hexcalc/files/hexcalc-keypad.diff new file mode 100644 index 000000000000..c24bc07f7a20 --- /dev/null +++ b/sci-calculators/hexcalc/files/hexcalc-keypad.diff @@ -0,0 +1,116 @@ +--- a/hexcalc.c ++++ b/hexcalc.c +@@ -208,46 +208,73 @@ + }; + + static String defaultTranslations = +- ":<Key>(: DoKey(\"(\")\n\ +- :<Key>&: DoKey(&)\n\ +- :<Key>^: DoKey(^)\n\ +- :<Key>): DoKey(\")\")\n\ +- Ctrl<Key>c: DoKey(off)\n\ +- :<Key>H: DoKey(hex)\n\ +- :<Key>O: DoKey(oct)\n\ +- :<Key>D: DoKey(dec)\n\ +- :<Key>B: DoKey(bin)\n\ +- :<Key>R: DoKey(Rcl)\n\ +- :<Key>S: DoKey(Sto)\n\ +- :<Key>s: DoKey(16)\n\ +- :<Key>l: DoKey(32)\n\ +- :<Key>+: DoKey(+)\n\ +- :<Key>-: DoKey(-)\n\ +- :<Key>*: DoKey(*)\n\ +- :<Key>/: DoKey(/)\n\ +- :<Key>%: DoKey(%)\n\ +- :<Key>>: DoKey(>>)\n\ +- :<Key><: DoKey(<<)\n\ +- :<Key>0: DoKey(0)\n\ +- :<Key>1: DoKey(1)\n\ +- :<Key>2: DoKey(2)\n\ +- :<Key>3: DoKey(3)\n\ +- :<Key>4: DoKey(4)\n\ +- :<Key>5: DoKey(5)\n\ +- :<Key>6: DoKey(6)\n\ +- :<Key>7: DoKey(7)\n\ +- :<Key>8: DoKey(8)\n\ +- :<Key>9: DoKey(9)\n\ +- :<Key>a: DoKey(a)\n\ +- :<Key>b: DoKey(b)\n\ +- :<Key>c: DoKey(c)\n\ +- :<Key>d: DoKey(d)\n\ +- :<Key>e: DoKey(e)\n\ +- :<Key>f: DoKey(f)\n\ +- Ctrl<Key>h: Delete()\n\ +- <Key>Delete: Delete()\n\ +- :<Key>=: DoKey(=)\n\ +- :<Key>Return: DoKey(=)" ++ ":<Key>(: DoKey(\"(\")\n\ ++ :<Key>&: DoKey(&)\n\ ++ :<Key>^: DoKey(^)\n\ ++ :<Key>): DoKey(\")\")\n\ ++ Ctrl<Key>c: DoKey(off)\n\ ++ :<Key>H: DoKey(hex)\n\ ++ :<Key>O: DoKey(oct)\n\ ++ :<Key>D: DoKey(dec)\n\ ++ :<Key>B: DoKey(bin)\n\ ++ :<Key>R: DoKey(Rcl)\n\ ++ :<Key>S: DoKey(Sto)\n\ ++ :<Key>s: DoKey(16)\n\ ++ :<Key>l: DoKey(32)\n\ ++ :<Key>+: DoKey(+)\n\ ++ :<Key>KP_Add: DoKey(+)\n\ ++ :<Key>-: DoKey(-)\n\ ++ :<Key>KP_Subtract: DoKey(-)\n\ ++ :<Key>*: DoKey(*)\n\ ++ :<Key>KP_Multiply: DoKey(*)\n\ ++ :<Key>/: DoKey(/)\n\ ++ :<Key>KP_Divide: DoKey(/)\n\ ++ :<Key>%: DoKey(%)\n\ ++ :<Key>>: DoKey(>>)\n\ ++ :<Key><: DoKey(<<)\n\ ++ :<Key>0: DoKey(0)\n\ ++ :<Key>KP_0: DoKey(0)\n\ ++ :<Key>KP_Insert: DoKey(0)\n\ ++ :<Key>1: DoKey(1)\n\ ++ :<Key>KP_1: DoKey(1)\n\ ++ :<Key>KP_End: DoKey(1)\n\ ++ :<Key>2: DoKey(2)\n\ ++ :<Key>KP_2: DoKey(2)\n\ ++ :<Key>KP_Down: DoKey(2)\n\ ++ :<Key>3: DoKey(3)\n\ ++ :<Key>KP_3: DoKey(3)\n\ ++ :<Key>KP_Next: DoKey(3)\n\ ++ :<Key>4: DoKey(4)\n\ ++ :<Key>KP_4: DoKey(4)\n\ ++ :<Key>KP_Left: DoKey(4)\n\ ++ :<Key>5: DoKey(5)\n\ ++ :<Key>KP_5: DoKey(5)\n\ ++ :<Key>KP_Begin: DoKey(5)\n\ ++ :<Key>6: DoKey(6)\n\ ++ :<Key>KP_6: DoKey(6)\n\ ++ :<Key>KP_Right: DoKey(6)\n\ ++ :<Key>7: DoKey(7)\n\ ++ :<Key>KP_7: DoKey(7)\n\ ++ :<Key>KP_Home: DoKey(7)\n\ ++ :<Key>8: DoKey(8)\n\ ++ :<Key>KP_8: DoKey(8)\n\ ++ :<Key>KP_Up: DoKey(8)\n\ ++ :<Key>9: DoKey(9)\n\ ++ :<Key>KP_9: DoKey(9)\n\ ++ :<Key>KP_Prior: DoKey(9)\n\ ++ :<Key>a: DoKey(a)\n\ ++ :<Key>b: DoKey(b)\n\ ++ :<Key>c: DoKey(c)\n\ ++ :<Key>d: DoKey(d)\n\ ++ :<Key>e: DoKey(e)\n\ ++ :<Key>f: DoKey(f)\n\ ++ Ctrl<Key>h: Delete()\n\ ++ <Key>Delete: Delete()\n\ ++ <Key>KP_Delete: Delete()\n\ ++ <Key>KP_Decimal: Delete()\n\ ++ :<Key>=: DoKey(=)\n\ ++ :<Key>KP_Enter: DoKey(=)\n\ ++ :<Key>Return: DoKey(=)" + ; + + diff --git a/sci-calculators/hexcalc/files/hexcalc-order.diff b/sci-calculators/hexcalc/files/hexcalc-order.diff new file mode 100644 index 000000000000..cdc4a93fedce --- /dev/null +++ b/sci-calculators/hexcalc/files/hexcalc-order.diff @@ -0,0 +1,51 @@ +--- a/hexcalc.c 1989-11-22 16:29:06.000000000 -0500 ++++ b/hexcalc.c 2006-07-18 17:36:40.000000000 -0400 +@@ -37,6 +37,7 @@ + #endif + + #include <stdio.h> ++#include <stdlib.h> + #include <ctype.h> + #include <X11/IntrinsicP.h> + #include <X11/StringDefs.h> +@@ -509,14 +508,16 @@ + + switch(topOp) { + case '+' : +- ac = PopArg() + PopArg(); ++ temp = PopArg(); ++ ac = PopArg() + temp; + break; + case '-' : + temp = PopArg(); + ac = PopArg() - temp; + break; + case '*' : +- ac = PopArg() * PopArg(); ++ temp = PopArg(); ++ ac = temp * PopArg(); + break; + case '/' : + temp = PopArg(); +@@ -528,15 +529,18 @@ + break; + + case '|' : +- ac = PopArg() | PopArg(); ++ temp = PopArg(); ++ ac = temp | PopArg(); + break; + + case '&' : +- ac = PopArg() & PopArg(); ++ temp = PopArg(); ++ ac = temp & PopArg(); + break; + + case '^' : +- ac = PopArg() ^ PopArg(); ++ temp = PopArg(); ++ ac = temp ^ PopArg(); + break; + + case '<' : diff --git a/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild new file mode 100644 index 000000000000..47681a7b93fe --- /dev/null +++ b/sci-calculators/hexcalc/hexcalc-1.11-r3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A simple hex calculator for X" +HOMEPAGE="ftp://ftp.x.org/R5contrib/" +SRC_URI="ftp://ftp.x.org/R5contrib/${PN}.tar.Z" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="x11-libs/libXaw" +DEPEND="${RDEPEND} + x11-misc/imake + app-text/rman" + +S=${WORKDIR}/${PN} + +PATCHES=( "${FILESDIR}"/${PN}-{keypad,order}.diff ) + +src_compile() { + xmkmf || die + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + CCLINK="$(tc-getCC)" \ + LDOPTIONS="${LDFLAGS}" +} + +src_install() { + dobin ${PN} + newman ${PN}.{man,1} +} diff --git a/sci-calculators/hexcalc/metadata.xml b/sci-calculators/hexcalc/metadata.xml new file mode 100644 index 000000000000..b1603edfbf93 --- /dev/null +++ b/sci-calculators/hexcalc/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription> + hexcalc is a mutli-radix calculator that offers the standard C + integer operations. +</longdescription> +</pkgmetadata> diff --git a/sci-calculators/keurocalc/Manifest b/sci-calculators/keurocalc/Manifest new file mode 100644 index 000000000000..dc11e808df86 --- /dev/null +++ b/sci-calculators/keurocalc/Manifest @@ -0,0 +1,5 @@ +DIST keurocalc-1.2.3.tgz 1809685 SHA256 f6e33fcce3b8670b00c021ee3b2b3ecd5a6f1e7422af28b19a8c18a1cd10ec88 SHA512 5b87fd1b3c53c9aa226cae5a7ad2dfe223bf6d557ea5dd4ade4dea884bb9ca03a89e642e66ae5a906d29116d58be1d7e999d271a9122355b8ac265ff33b991d6 WHIRLPOOL 7c4765ec9d98fd8f9776fde6902ecc4fd22b4838b4e4c9b58e30cba8602e87cc651294d6b818d4b12e674cb766dd04e6aa202056ffff159e647b994eb33d832e +EBUILD keurocalc-1.2.3.ebuild 820 SHA256 7273e8b5c09abb44ab11f33079f689c479ad2c2b9bfaaeab17d9d4924132802f SHA512 a3a893571ad3e02796ae19356b05d80402ee1693590e0b209266c5cee30c8286113ee16ca69babb425e6faf0b18c5225f4f172efbedbb371b52126c96e39954c WHIRLPOOL bbfb87b84d88a2aa38808aa163bb6a3711c63558074e43d771c43ddac6460979eddbc74c50f2a1b975e8c532619b8fb1b3106ad673e7fe15b9a6c974f136673d +MISC ChangeLog 2440 SHA256 7db5f5d78a6c3573fd0048888f87f531c850139dba9bfb575c37801e35b79dcc SHA512 051cee6d07d5daeda2e43102bd1439030a5eaa415613ab73612214460c34f61a003bc03e433ebb0467884cc6e7947174a675fd95387aba8b06c66bbda537d58a WHIRLPOOL afac2bfb9d54e39e85b716f946a401a5d49398b18b596e702e01b0989b1c0f60da8ff69b48974516b3c8521514d135607f1951b1e8bb59607e66dadc2d0df8ee +MISC ChangeLog-2015 2777 SHA256 d2209c365f4d73a86a852ffd3aaa013e8b0ac29c8e9c62fe09e938cd2b070171 SHA512 50cf928c70537582521700ea7497f21ecf78b779284293945f50e1c709f78afca2004c2ee209ad92637b0de77a124ec55cd4cfde8876afd12a3c89a406336620 WHIRLPOOL 6fdd7599fede11d579593862a0d852fba656325ecd852c4076dc0ee59a5ac21403727d9ba8fade42f73e73861a6550cf3ad7a6e30830ded02ba62a20240dace5 +MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c diff --git a/sci-calculators/keurocalc/keurocalc-1.2.3.ebuild b/sci-calculators/keurocalc/keurocalc-1.2.3.ebuild new file mode 100644 index 000000000000..4faa5ccbe7ce --- /dev/null +++ b/sci-calculators/keurocalc/keurocalc-1.2.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB es et fi fr ga gl hu it +ja ko nb nds nl pl pt pt_BR ru sk sl sr sr@Latn sv tr ug uk zh_TW" +KDE_HANDBOOK="optional" +inherit kde4-base + +DESCRIPTION="A universal currency converter and calculator" +HOMEPAGE="http://opensource.bureau-cornavin.com/keurocalc/index.html" +SRC_URI="http://opensource.bureau-cornavin.com/keurocalc/sources/${P}.tgz" + +LICENSE="GPL-2+ FDL-1.2" +SLOT="4" +KEYWORDS="amd64 x86" +IUSE="debug" + +DOCS=( AUTHORS TODO ) + +src_prepare() { + # bug 500560 + sed -e "s/PO_FILES //" -i po/*/CMakeLists.txt || die + + # bug 518070 + sed -e "/cmake_minimum_required/a cmake_policy(SET CMP0002 OLD)" \ + -i CMakeLists.txt || die + + kde4-base_src_prepare +} diff --git a/sci-calculators/keurocalc/metadata.xml b/sci-calculators/keurocalc/metadata.xml new file mode 100644 index 000000000000..2fdbf33d963d --- /dev/null +++ b/sci-calculators/keurocalc/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> +</pkgmetadata> diff --git a/sci-calculators/metadata.xml b/sci-calculators/metadata.xml new file mode 100644 index 000000000000..00a8c125e6a9 --- /dev/null +++ b/sci-calculators/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> + <longdescription lang="en"> + The sci-calculators category contains scientific calculator packages. + </longdescription> + <longdescription lang="de"> + Die Kategorie sci-calculators enthält wissenschaftliche Rechenprogramme. + </longdescription> + <longdescription lang="es"> + La categoría sci-calculators contiene calculadoras científicas. + </longdescription> + <longdescription lang="ja"> + sci-calculatorsカテゴリーには科学計算機のパッケージが含まれています。 + </longdescription> + <longdescription lang="nl"> + De sci-calculators categorie bevat wetenschappelijke calculators. + </longdescription> + <longdescription lang="vi"> + Nhóm sci-calculators chứa các phần mềm tính toán khoa học. + </longdescription> + <longdescription lang="it"> + La categoria sci-calculators contiene calcolatori scientifici. + </longdescription> + <longdescription lang="pl"> + Kategoria sci-calculators zawiera kalkulatory naukowe. + </longdescription> +</catmetadata> + diff --git a/sci-calculators/orpie/Manifest b/sci-calculators/orpie/Manifest new file mode 100644 index 000000000000..147ad3af6529 --- /dev/null +++ b/sci-calculators/orpie/Manifest @@ -0,0 +1,9 @@ +AUX orpie-1.5.1-ocaml311.patch 5460 SHA256 d01d72de12c65cbabfacb4e9cf296d91d9382072b0334e250b0b67f2ae117f78 SHA512 220b8585953328681c7299d140d5aefb54576a82c7897e900ffd493ec0949dd5bf0f02515305e6ae25f76a8ad7f7d8e3d7ce7d231eee05efe3987638650024a2 WHIRLPOOL 3849bc3b4276479a4ae8c16f7b87cc53969ed97de447042662eb57cc1dec1e935b23e1f099ccb15a95dd975f2be5c9f0f499473737748e655577b04aa0c9f992 +AUX orpie-1.5.1-orpierc.patch 357 SHA256 755643f6564f97742b9024985a1ad03b286b01350c0e0b3037c1ed9b57dec0ed SHA512 8579f8af07fbc43594eb9e7f0b22e9053fbb0d6f30bb0d849592f29edb4df7fae2535b163d7259eef1e6f99cbdfb5fcdbf715c59e24fbc7b7a7250e798e35485 WHIRLPOOL e477c76280172fd808e09180c2ea9d974c6cdb086c965d1d000136a33e6e8ad57a6efac3c90d11baf60f4a3cc9f8cbe5b37eb905b0b2a5c5dc6de55d6f2e17fb +AUX orpie-1.5.1-tinfo.patch 186 SHA256 53551ae51ac16d77c297f8b9f84f2ade39e2a19cda81b5910d16839f921d1d2e SHA512 efbab46a367dc10e58b2e635d3bce49b9743766c489c2fba20cfc783fd92256c8afc8502c6d1650466400fb32bbca791f1677745b5610a405d369fb7432d7937 WHIRLPOOL 732411d0cf4280df866d1a2e267fb86963791d69c6576323fa82ced7a3ef8498180a2314a030432aa77c972f069c8078a0a8b5d84d181b97d0e4c2f2506aab7b +AUX orpie-1.5.2-nogsl.patch 1866 SHA256 04a9e3364cc5b929c8a24fe4ebf9b7fc44c7b24004565473222ec6393dc9ec7b SHA512 26b1bcb09e111e87b82424622ec8d5e3ff6c68c3ee5cdd6a2496b175a496296787ff5dc5abde04cb98a8105c3e7a6765bb00912fa1c500fcf7d0e9e6d76f7177 WHIRLPOOL f8b474ddccc4f4580bb8fab82a4f7db72f0f56acf711a38ccd22197e1ef7e5cff91c38b194db357ce4973ed84be2f65f6ac445dc89ad1f69d8d232cdb32e1035 +DIST orpie-1.5.2.tar.gz 379583 SHA256 de557fc7f608c6cb1f44a965d3ae07fc6baf2b02a0d7994b89d6a0e0d87d3d6d SHA512 5deed6d8e8e68ce5286f4d5183315b585adef38f205805ff6ccbbbf3983c97a468e370d0d44ebe2dff596de0ad9dba20401dbc0e4e9bc176bc93b118fd1cc11a WHIRLPOOL 390c681dbc72d9730cbf22551ffa951f77e7a3589bf10c244fd1c0a3bc2ad81107ff8f5ede196b6486f50ed8f106554a8db03b04979cd5a88da31de4c1aeb836 +EBUILD orpie-1.5.2-r1.ebuild 932 SHA256 bdb3ba325889bebd4866e1e969724a1eaf47b3078024215851b044b04da36151 SHA512 ef6065cfb150199474be51992823e7f326f490572382646fe3587a2d5f8a90401e225fef896cb3ceb58cb20012e84976fbecb87b0a4cb2c7d9ca2d80d2f1ce5b WHIRLPOOL e24a407483a2b0752109dc5e3ed10c5314cb61d2cdab27044f2d2ad29ced4b7dec28b78c6ad51e2cf385e0df410758d87471be77981c416ba4063c4fcbd71ab0 +MISC ChangeLog 3367 SHA256 bf5fbe8feee8063f59ee00ae8c0c25018eaf1bc05ae61e47e83b307523a5ae69 SHA512 6616a36cd174f2fad8cc21fa1f27756969f5b371c1e89666cbdf62958c0d3722174ef1191dae8830e466078588fa3a5c2cb02eb7b217e64ec21746203be16efa WHIRLPOOL cdf0bd93cc312d2b68fb4bd915682ae0b10cab77b13b78a79b6860b8b61f48e52c4da779ab355d13840a1612ca6beda805419ae6639cd13aae9632eeeb9cad4c +MISC ChangeLog-2015 3946 SHA256 d5e566f486ab9deb41868dff7f1314795271b8295f5818c8600908863302a30d SHA512 33e390f336aab9b5ea2215a3cee395103ade073b9965125e4b1ae928df0d89a6839ebe3433fadfec748b34c8d4b0c59f4dffa000b3fa264c5867fe8ab7794f2f WHIRLPOOL d8362da2ff2119562929d5cfdf401e0d48cf4d17ebba1cc56b42398022ddf9b2316f309669b3b3de0cd9a5e785b8d8e923d727a1066841dd117a9871d02a185d +MISC metadata.xml 482 SHA256 1694b89d7cf6205c011f2e794a81c25ea347899e8c1001f83efde52a9f41680b SHA512 050fe93b668614c50b20ed1355b6c62f2ef2d263863c358f0c4ca303d35fccdc0d9c1879cde065355a097e9898cbdc540dd58544ae5c2a68fa08bf8ea082dd87 WHIRLPOOL b627095cd8db858c873c2d3281626d9f546906277271eb70e60898bb39643e4fd024a14efd7fc92067f5589ea76b0bd20ac4f9193640f683b5b2e4e47a8183f4 diff --git a/sci-calculators/orpie/files/orpie-1.5.1-ocaml311.patch b/sci-calculators/orpie/files/orpie-1.5.1-ocaml311.patch new file mode 100644 index 000000000000..d1535f900958 --- /dev/null +++ b/sci-calculators/orpie/files/orpie-1.5.1-ocaml311.patch @@ -0,0 +1,200 @@ +diff -Naru orpie-1.5.1/Makefile.in orpie-1.5.1_1/Makefile.in +--- orpie-1.5.1/Makefile.in 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/Makefile.in 2010-05-12 11:44:33.000000000 -0400 +@@ -257,10 +257,7 @@ + units/%.cmo : units/%.ml + $(OCAMLC) -c $(UNITS_BFLAGS) $< + +-units/%.o : units/%.ml +- $(OCAMLOPT) -c $(UNITS_OFLAGS) $< +- +-units/%.cmx : units/%.ml ++units/%.o units/%.cmx : units/%.ml + $(OCAMLOPT) -c $(UNITS_OFLAGS) $< + + +@@ -271,22 +268,15 @@ + %.cmo : %.ml + $(OCAMLC) -c $(BFLAGS) $< + +-%.o : %.ml +- $(OCAMLOPT) -c $(OFLAGS) $< +- +-%.cmx : %.ml ++%.o %.cmx : %.ml + $(OCAMLOPT) -c $(OFLAGS) $< + + %.ml : %.mll + $(OCAMLLEX) $< + +-%.ml : %.mly ++%.ml %.mli : %.mly + $(OCAMLYACC) -v $< + +-%.mli : %.mly +- $(OCAMLYACC) -v $< +- +- + + # Emacs tags + ############ +diff -Naru orpie-1.5.1/gsl/gsl_blas.ml orpie-1.5.1_1/gsl/gsl_blas.ml +--- orpie-1.5.1/gsl/gsl_blas.ml 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_blas.ml 2010-05-12 11:24:11.000000000 -0400 +@@ -118,6 +118,7 @@ + + (** {3 Single precision} *) + ++(* + open Gsl_vector.Single + open Gsl_matrix.Single + +@@ -187,6 +188,7 @@ + alpha:float -> a:matrix -> b:matrix -> unit + = "ml_gsl_blas_strsm_bc" "ml_gsl_blas_strsm" + end ++*) + + + (** {3 Complex} *) +@@ -274,6 +276,7 @@ + + (** {3 Complex single precision} *) + ++(* + open Gsl_vector_complex.Single + open Gsl_matrix_complex.Single + open Gsl_complex +@@ -354,3 +357,4 @@ + a:matrix -> b:matrix -> beta:float -> c:matrix -> unit + = "ml_gsl_blas_cher2k_bc" "ml_gsl_blas_cher2k" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_blas.mli orpie-1.5.1_1/gsl/gsl_blas.mli +--- orpie-1.5.1/gsl/gsl_blas.mli 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_blas.mli 2010-05-12 11:23:36.000000000 -0400 +@@ -118,6 +118,7 @@ + + (** {3 Single precision} *) + ++(* + open Gsl_vector.Single + open Gsl_matrix.Single + +@@ -187,6 +188,7 @@ + alpha:float -> a:matrix -> b:matrix -> unit + = "ml_gsl_blas_strsm_bc" "ml_gsl_blas_strsm" + end ++*) + + + (** {3 Complex} *) +@@ -274,6 +276,7 @@ + + (** {3 Complex single precision} *) + ++(* + open Gsl_vector_complex.Single + open Gsl_matrix_complex.Single + open Gsl_complex +@@ -354,3 +357,4 @@ + a:matrix -> b:matrix -> beta:float -> c:matrix -> unit + = "ml_gsl_blas_cher2k_bc" "ml_gsl_blas_cher2k" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_matrix.ml orpie-1.5.1_1/gsl/gsl_matrix.ml +--- orpie-1.5.1/gsl/gsl_matrix.ml 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_matrix.ml 2010-05-12 11:22:51.000000000 -0400 +@@ -86,6 +86,7 @@ + + + ++(* + module Single = + struct + type float_mat_bigarr = +@@ -164,3 +165,4 @@ + external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_float_transpose_memcpy" + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_float_transpose" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_matrix.mli orpie-1.5.1_1/gsl/gsl_matrix.mli +--- orpie-1.5.1/gsl/gsl_matrix.mli 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_matrix.mli 2010-05-12 11:22:42.000000000 -0400 +@@ -45,6 +45,7 @@ + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_transpose" + + ++(* + module Single : sig + + type float_mat_bigarr = +@@ -87,3 +88,4 @@ + external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_float_transpose_memcpy" + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_float_transpose" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_matrix_complex.ml orpie-1.5.1_1/gsl/gsl_matrix_complex.ml +--- orpie-1.5.1/gsl/gsl_matrix_complex.ml 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_matrix_complex.ml 2010-05-12 11:24:59.000000000 -0400 +@@ -108,6 +108,7 @@ + + + ++(* + module Single = + struct + type complex_float_mat_bigarr = +@@ -208,3 +209,4 @@ + external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_complex_float_transpose_memcpy" + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_complex_float_transpose" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_matrix_complex.mli orpie-1.5.1_1/gsl/gsl_matrix_complex.mli +--- orpie-1.5.1/gsl/gsl_matrix_complex.mli 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_matrix_complex.mli 2010-05-12 11:25:00.000000000 -0400 +@@ -51,6 +51,7 @@ + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_complex_transpose" + + ++(* + module Single : sig + + type complex_float_mat_bigarr = +@@ -96,3 +97,4 @@ + external transpose : matrix -> matrix -> unit = "ml_gsl_matrix_complex_float_transpose_memcpy" + external transpose_in_place : matrix -> unit = "ml_gsl_matrix_complex_float_transpose" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_vector.ml orpie-1.5.1_1/gsl/gsl_vector.ml +--- orpie-1.5.1/gsl/gsl_vector.ml 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_vector.ml 2010-05-12 11:22:19.000000000 -0400 +@@ -95,6 +95,7 @@ + + + ++(* + module Single = + struct + type float_vector_bigarr = +@@ -178,3 +179,4 @@ + external minmax_index : vector -> int * int + = "ml_gsl_vector_float_minmaxindex" + end ++*) +diff -Naru orpie-1.5.1/gsl/gsl_vector.mli orpie-1.5.1_1/gsl/gsl_vector.mli +--- orpie-1.5.1/gsl/gsl_vector.mli 2007-09-13 23:31:23.000000000 -0400 ++++ orpie-1.5.1_1/gsl/gsl_vector.mli 2010-05-12 11:22:19.000000000 -0400 +@@ -65,6 +65,7 @@ + + (** {3 Single precision} *) + ++(* + module Single : sig + type float_vector_bigarr = + (float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t +@@ -121,3 +122,4 @@ + + val subvector : vector -> off:int -> len:int -> vector + end ++*) diff --git a/sci-calculators/orpie/files/orpie-1.5.1-orpierc.patch b/sci-calculators/orpie/files/orpie-1.5.1-orpierc.patch new file mode 100644 index 000000000000..a9ca1dd366f0 --- /dev/null +++ b/sci-calculators/orpie/files/orpie-1.5.1-orpierc.patch @@ -0,0 +1,11 @@ +--- orpie-1.5.1.orig/orpierc ++++ orpie-1.5.1/orpierc +@@ -4,7 +4,7 @@ + # directory for storing Orpie data + set datadir="~/.orpie/" + # editor used for fullscreen viewing of stack elements +-set editor="vi" ++set editor="${EDITOR}" + # whether or not to hide the help panel + set hide_help="false" + # whether or not to conserve memory in favor of faster rendering diff --git a/sci-calculators/orpie/files/orpie-1.5.1-tinfo.patch b/sci-calculators/orpie/files/orpie-1.5.1-tinfo.patch new file mode 100644 index 000000000000..f9611cbb5198 --- /dev/null +++ b/sci-calculators/orpie/files/orpie-1.5.1-tinfo.patch @@ -0,0 +1,10 @@ +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -34,6 +34,7 @@ + fi + fi + LIBS="$mp_save_LIBS" ++ AC_SEARCH_LIBS([stdscr], [tinfo curses], [CURSES_LIB="$CURSES_LIB $ac_res"],) + ])dnl + + diff --git a/sci-calculators/orpie/files/orpie-1.5.2-nogsl.patch b/sci-calculators/orpie/files/orpie-1.5.2-nogsl.patch new file mode 100644 index 000000000000..75a56a79c0e6 --- /dev/null +++ b/sci-calculators/orpie/files/orpie-1.5.2-nogsl.patch @@ -0,0 +1,51 @@ +--- orpie-1.5.2/Makefile.in ++++ orpie-1.5.2/Makefile.in +@@ -44,7 +44,7 @@ + CURSES_LIB = @CURSES_LIB@ + GSL_LIB = @GSL_LIB@ + +-INCLUDES = -I ./curses -I ./gsl -I ./units ++INCLUDES = -I ./curses -I /usr/lib/ocaml/gsl -I ./units + BFLAGS = -pp camlp4o -g $(INCLUDES) -thread + OFLAGS = -pp camlp4o $(INCLUDES) -thread + BLFLAGS = -custom -cclib '$(LDFLAGS) $(CURSES_LIB) $(GSL_LIB) -lm' +@@ -78,17 +78,8 @@ + CURSES_BOBJS = $(CURSES_CMO) $(CURSES_COBJS) + CURSES_OOBJS = $(CURSES_CMX) $(CURSES_COBJS) + +-GSL_CMO = gsl/gsl_error.cmo gsl/gsl_blas.cmo gsl/gsl_complex.cmo gsl/gsl_matrix.cmo gsl/gsl_matrix_complex.cmo \ +- gsl/gsl_vector.cmo gsl/gsl_vector_complex.cmo gsl/gsl_vector_flat.cmo gsl/gsl_matrix_flat.cmo \ +- gsl/gsl_vector_complex_flat.cmo gsl/gsl_matrix_complex_flat.cmo gsl/gsl_vectmat.cmo \ +- gsl/gsl_permut.cmo gsl/gsl_linalg.cmo gsl/gsl_fun.cmo +-GSL_CMX = $(GSL_CMO:.cmo=.cmx) +-GSL_COBJS = gsl/mlgsl_error.o gsl/mlgsl_blas.o gsl/mlgsl_blas_complex.o gsl/mlgsl_complex.o gsl/mlgsl_blas_float.o \ +- gsl/mlgsl_blas_complex_float.o gsl/mlgsl_matrix_complex.o gsl/mlgsl_matrix_double.o gsl/mlgsl_matrix_float.o \ +- gsl/mlgsl_matrix_complex_float.o gsl/mlgsl_vector_double.o gsl/mlgsl_vector_float.o \ +- gsl/mlgsl_permut.o gsl/mlgsl_linalg.o gsl/mlgsl_linalg_complex.o gsl/mlgsl_fun.o gsl/mlgsl_math.o gsl/mlgsl_sf.o +-GSL_BOBJS = $(GSL_COBJS) $(GSL_CMO) +-GSL_OOBJS = $(GSL_COBJS) $(GSL_CMX) ++GSL_BOBJS = /usr/lib/ocaml/gsl/gsl.cma ++GSL_OOBJS = /usr/lib/ocaml/gsl/gsl.cmxa + + UNITS_CMO = units/units.cmo + UNITS_CMX = $(UNITS_CMO:.cmo=.cmx) +@@ -324,7 +305,7 @@ + config.status: configure + ./config.status --recheck + +-configure: configure.in ++configure: configure.ac + autoconf + + # clean +--- orpie-1.5.2/curses_keys.ml ++++ orpie-1.5.2/curses_keys.ml +@@ -19,7 +19,7 @@ + *) + + open Curses;; +- ++open Curses_assist;; + + begin + let std = initscr () in diff --git a/sci-calculators/orpie/metadata.xml b/sci-calculators/orpie/metadata.xml new file mode 100644 index 000000000000..a89b11724745 --- /dev/null +++ b/sci-calculators/orpie/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> +</maintainer> +<longdescription lang="en"> + Orpie is a fullscreen RPN calculator for the console. Its operation is + similar to that of modern HP calculators, but data entry has been + optimized for efficiency on a PC keyboard. +</longdescription> +</pkgmetadata> diff --git a/sci-calculators/orpie/orpie-1.5.2-r1.ebuild b/sci-calculators/orpie/orpie-1.5.2-r1.ebuild new file mode 100644 index 000000000000..c05d7738acd2 --- /dev/null +++ b/sci-calculators/orpie/orpie-1.5.2-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="A fullscreen RPN calculator for the console" +HOMEPAGE="http://pessimization.com/software/orpie/" +SRC_URI="http://pessimization.com/software/${PN}/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="dev-ml/gsl-ocaml + sys-libs/ncurses:0= + dev-ml/camlp4" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.5.1-ocaml311.patch" + "${FILESDIR}/${PN}-1.5.2-nogsl.patch" + "${FILESDIR}/${PN}-1.5.1-orpierc.patch" + "${FILESDIR}/${PN}-1.5.1-tinfo.patch" +) + +src_prepare() { + default + sed -i -e "s:/usr:${EPREFIX}/usr:g" Makefile.in || die + mv configure.{in,ac} || die + eautoreconf +} + +src_compile() { + # TODO: fix missing edges in dependency graph + emake -j1 +} + +src_install() { + if use doc; then + dodoc doc/manual.pdf + HTML_DOCS=( doc/manual.html ) + fi + default +} diff --git a/sci-calculators/pcalc/Manifest b/sci-calculators/pcalc/Manifest new file mode 100644 index 000000000000..eba1437afa75 --- /dev/null +++ b/sci-calculators/pcalc/Manifest @@ -0,0 +1,5 @@ +DIST pcalc-3.tar.xz 66908 SHA256 13db2b0594e61deedb07640b21b20b5242aae955d6febf1806e1f295408f694c SHA512 55b6644300a8eb5224df5a0885907c10847df7ab6296d012eb2bb638876687ddbe23d5b76e31ac6ff4c159e44940d5cf6ba747f2a410943fdc25c9d9855fd60e WHIRLPOOL ea2d44694cb30284d782e84a43422c597ef75ef7442718ff5288db74a3a3413bd79b5e237e443bbc3be4a030262911b283180daae5f00dcee772fc65ecce8345 +EBUILD pcalc-3-r1.ebuild 568 SHA256 de5b6cb6b7c3b7b66a7448b16d52c52bac019e2da7870a1b57c6501f1536335e SHA512 ae6f0a075472ea32e1c602ea86f68fa97fb24041dddc1bdc7f42cfa3bdc95b622599c67139445a36412aa284483dcb7dfddd09f62b90f019e7016afd25c1d8fa WHIRLPOOL 3fe3a5cd81e1c04b9a53562a953b32ae43a69e419640e394544948404a8e2589038f574332a9bd74347509ee1163c3081beae04b4dfe9c5e0a5c435ab1b7b9f9 +MISC ChangeLog 3271 SHA256 bdc7a371ce656da101029b453369c44623f9b11f2e97d0734829d3cde006bfa2 SHA512 003483124a6da8ffd5f65a7382c684044199b09974b49df7e9fc3177f2f44d26043c7db5b0f71bbe03dae58fbeedfee82a4b3a9e00eca30b2dfcb292fb0a4054 WHIRLPOOL dcacbb3eae867d796253198647f88e3354523fbf13e34fee42f2287745b629c2db05287ffa327af89ceeb14059830e2bb4d2c9cae55454599ae879b4ab505d1e +MISC ChangeLog-2015 3593 SHA256 348342423b73a8e1848342f129d7b4a957336f2eca4409f3880416b491ddb07d SHA512 2bad6971a199c54791aaf1230c8e300736bc984db31b4d57cbd5ab236f76c163fa0ad4ca6f18bfb97c7992bde6f53edd68dfba0b0cf2dcb847b2ce06201b6bd9 WHIRLPOOL 20c7cf42ec6a8e367ecab7f699a906de5c8fc6f8f8347b52944daa45cc762c1acd825461bb65c44cc9c99be3a3df809a4f059d1ceee3928b646e654c3708d9e2 +MISC metadata.xml 458 SHA256 847ff236a7af2f01a520082639a25ef54d25236dce1337462f4089f1f98b0e63 SHA512 6db4a7bb8f2e550771a7f145fe36d6c5de880cefa7a5fa53957f6b491a84949e6fe788007abcc066fe13773d47d945dfcf256f3f0b139060289df5053fc338f0 WHIRLPOOL 6c5e80a207903b59dab8b8270df83e7210fa0818d0e38ea73f8cd43923f8b92e80aea5bd35d84227a21bef0bceed01b459b11664a98c9c7216424278f8c1a272 diff --git a/sci-calculators/pcalc/metadata.xml b/sci-calculators/pcalc/metadata.xml new file mode 100644 index 000000000000..1852b90fa3d6 --- /dev/null +++ b/sci-calculators/pcalc/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vapier@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">pcalc</remote-id> + <remote-id type="github">vapier/pcalc</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-calculators/pcalc/pcalc-3-r1.ebuild b/sci-calculators/pcalc/pcalc-3-r1.ebuild new file mode 100644 index 000000000000..4edafb5b9706 --- /dev/null +++ b/sci-calculators/pcalc/pcalc-3-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="the programmers calculator" +HOMEPAGE="https://github.com/vapier/pcalc" +SRC_URI="mirror://sourceforge/pcalc/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND="sys-devel/flex" +RDEPEND="" + +src_prepare() { + default + sed -i -e "s:/usr:${EPREFIX}/usr:g" Makefile || die +} + +src_configure() { + tc-export CC +} diff --git a/sci-calculators/qalculate-gtk/Manifest b/sci-calculators/qalculate-gtk/Manifest new file mode 100644 index 000000000000..b0fdff4ec435 --- /dev/null +++ b/sci-calculators/qalculate-gtk/Manifest @@ -0,0 +1,6 @@ +AUX qalculate-gtk-0.9.9-entry.patch 481 SHA256 a0aaae5dcddbf31f8646c877561ef842eb6ef3b08fd333e06201ebc78c5f17a6 SHA512 79fb9ed95c59fb5513d0d4129e83fd685894638881dbe2ab30a10ad2d4d07e37c800ca5fa0a55119a147757edb79b03ffbdd92f659368abcace807895ea18942 WHIRLPOOL afd5d874b5744eb35f1adddb9818dddc2b49df7970a1c0735463f4a52ebad9456eb6a9e1a2bbf28b7a55fc7eff9a2125845600e742a0ec9f5387c6c3c5765871 +DIST qalculate-gtk-0.9.9.tar.gz 1283947 SHA256 5c88b7595b654c128d0aa56c16e80b6e02e5cfc6378112000fb01133872d024a SHA512 944fad21d96de4a9d6b01fe259efb72f4872dd555357577fff18dca5bc4022c77d894b5cf8a0b470fbb02331de21210a6f034627346e08dc57be2f7c08e9faef WHIRLPOOL a42218f4959e2ed2987cd5461ea625eb84ba4256638da320cb71a4c361528d954d3e2adc8693fe5be54907b97ab6d8125e5fc9d69ded5c44239ce49e5138c357 +EBUILD qalculate-gtk-0.9.9.ebuild 748 SHA256 bad199d044fbe554326914b4ecedb0578e5338db69a599dab5cf039d888b8998 SHA512 1494e76576edd8d62a6fbce67c3bc9282354a71836f0eb0255424271255fe90a62fabb43145ff515917e8f00ab403eeb757c1433e13688d786406c147ebe693e WHIRLPOOL c1090bd31a9a6a8f938cd2fcf96675ff74329f0772902a7a71d6c7cb8d07e78f7c9d84ad3ae78ca13c8b66a9db1c85dd7a98e7b58d968415e94318b268161cef +MISC ChangeLog 3303 SHA256 75a75b7b13cf11f086d83fa7fae7f10e9804d61c30e943abc0d41bd8e165d9dc SHA512 2a5da32e65bcbf236a818a68db343347dc154d4dedd3b81130eb14b40732f3bcb89dbbd456bb22cf2a59963f075452a3d3926515cc5791f105183c5176d52eaf WHIRLPOOL fe8c7ba80ef68ddcf637e5c12009add7a84af5815786f9e4ed6635b504dca9b8c02b4689b8fd5092acd0942da76e71a222fc70ce603344f3332ca1d4d15bd53f +MISC ChangeLog-2015 5361 SHA256 906cf09d4f2dfbfa865455e1d6acec47886e0e02872f40f0d7f6655798d02b60 SHA512 f9134ef51f8cc3f9c53d51e14af944bd86c35deada9dab0ef0d10a95309cb13f7797ead9e5c2ce364943a7d199aaeb7f779274f303ed691a3f116eca7b99eb58 WHIRLPOOL 74a05cadb7d42db74cfd719c9ac5ac4ec5bd4ce478cbf3205c2777e433cea3857b9f2ff59a124e5d240f73ea494e100d7228754d6574380eebf43a00b58cbb6c +MISC metadata.xml 606 SHA256 641d7f6dae395827d380130fea1e23a0726fca903d3649d854c9333f11300faf SHA512 596bbb4219292b494c2b1c367190ccdd09045fe4c00d1a935ef6180cc1bfedd1d0b233ce98855cb4162766a6bf4c1fe5be3e7e2d582d321c94848c9a4921eaca WHIRLPOOL 4be8a37c5317c24a18f936b30991e78b1c3afa8963abe9b6422bbcc2576c5520d64fdf8572c8497b7b2877de694785540d6879225904d2a2410c3a8e167afb81 diff --git a/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.9-entry.patch b/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.9-entry.patch new file mode 100644 index 000000000000..0163e8efcc1a --- /dev/null +++ b/sci-calculators/qalculate-gtk/files/qalculate-gtk-0.9.9-entry.patch @@ -0,0 +1,18 @@ +Update to latest freedesktop spec. + +--- qalculate-gtk-0.9.9/data/qalculate-gtk.desktop.in ++++ qalculate-gtk-0.9.9/data/qalculate-gtk.desktop.in +@@ -1,11 +1,10 @@ + [Desktop Entry] +-Encoding=UTF-8 + _Name=Qalculate! + _Comment=Powerful and easy to use calculator + Exec=qalculate-gtk +-Icon=qalculate.png ++Icon=qalculate + Terminal=false + Type=Application + StartupNotify=true +-Categories=GTK;Application;Utility;Calculator;Science;Math; ++Categories=GTK;Utility;Calculator;Science;Math; + diff --git a/sci-calculators/qalculate-gtk/metadata.xml b/sci-calculators/qalculate-gtk/metadata.xml new file mode 100644 index 000000000000..0af924de69b8 --- /dev/null +++ b/sci-calculators/qalculate-gtk/metadata.xml @@ -0,0 +1,17 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + Qalculate! is a multi-purpose desktop calculator for GNU/Linux. It is + small and simple to use but with much power and versatility + underneath. + </longdescription> + <upstream> + <remote-id type="sourceforge">qalculate</remote-id> + <remote-id type="github">Qalculate/qalculate-gtk</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.9.ebuild b/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.9.ebuild new file mode 100644 index 000000000000..7141977fbafd --- /dev/null +++ b/sci-calculators/qalculate-gtk/qalculate-gtk-0.9.9.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2 + +DESCRIPTION="Modern multi-purpose calculator" +HOMEPAGE="https://qalculate.github.io/" +SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ppc sparc x86 ~amd64-linux ~x86-linux" +IUSE="gnome" + +RDEPEND=">=sci-libs/libqalculate-0.9.9:= + x11-libs/gtk+:3" +DEPEND="${RDEPEND} + app-text/rarian + sys-devel/gettext + dev-util/intltool + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-0.9.9-entry.patch" +) + +src_prepare() { + # Required by src_test() and `make check` + echo data/periodictable.ui > po/POTFILES.skip || die + + gnome2_src_prepare +} diff --git a/sci-calculators/qalculator/Manifest b/sci-calculators/qalculator/Manifest new file mode 100644 index 000000000000..49e20de24517 --- /dev/null +++ b/sci-calculators/qalculator/Manifest @@ -0,0 +1,5 @@ +DIST 101326-qalculator-0.4b-src.tar.bz2 3422 SHA256 2fc897b0ee020c5936cc437e4c3b4411b30621a4ae2f89e7ad0ca16b50eea19d SHA512 50385277a3ca35d7a1c9bb25277f311df6a6ebbfbe14371e1b4c6494583a7ce7e50ebc67a8c49625b546dff4b0fdf1163a44e4a9810cfdcec463aa9e82706fe9 WHIRLPOOL f1637a4afe37ec8d9dd8f17c6e5febac87882145be9b91ead98ddee16a0a10402929074e0be793b429a17b17ba7f268c359a616810acad90d3d05950826ef53b +EBUILD qalculator-0.4b-r1.ebuild 629 SHA256 b183c13e7b67e0f372e21cb634678922bc78e8d7413522a7913dc74cbcf7e0ba SHA512 e3ddcbddb794e818afbd802d368f0605a6dd3809e00c4657e72e401df4ff48db8551a5830fe0b177552a759bba8f2d1dc0c25e8302ce9f8e006feba208eac969 WHIRLPOOL 967e0eccf3bba7927878ed9b4e8c678fa1477bc6811d37701688dd242f1824fdc05b74fe401cd6f8ab08aa7a9859d17d87b1dfbce97dc522f5583c49ead5050a +MISC ChangeLog 2954 SHA256 7bced390bc5d90c023b4caf9d8d8f5f8401b446613bf3fe10ef701f7632f3c56 SHA512 b9f4a8e4f4a9c0aceb3f4133471cc4188934888ee7c836a1a9218c014114cbcff5403db0cc9bf0f9b1aeb6d86e33a38ad430b44b10ab958cc773064cc1b8f7c0 WHIRLPOOL b38a1354e0b184d73b8f8bf5c96b09caabd32914d154ef73d4bea4b642c7eb9d2e560be6c1b5ef4bc500c6a95a7d9534407d5290e0a68cb0921909581190bcb2 +MISC ChangeLog-2015 593 SHA256 0dcc649b34999e5c53b66db362cd7738b21913c6940dce69fca93d04f3085b07 SHA512 2716e8f35a0fce2dffad4188356773099d373227a3b7b513f662b62b332f4ecdac301f0d9afd8a144d9841427c5389494d1bd8b49ec41ee2f656f74a3b6167e5 WHIRLPOOL 39838591fbcab0d4bb2a8b36ff1ce6029e52ae44252194f6542d1548abe7939d1e966cf29d214ad8d574f395a5955a5bf40feee7b5dd7e870f731713debfb92b +MISC metadata.xml 253 SHA256 36bd209de009a489b24e922a4d2e3fb8ff0d8c68ef9943eb0f4c2a9ec6638a3f SHA512 5417d2869e029c2e156185a3263bef4e78109b9306575cfcf072105a61ad2f75ee7bc6401db3564c1ae5c7630aadf551e09234b4448cd64341380f687ee47436 WHIRLPOOL a0d96df37ca16a58705d8ad4c8ac3da87f0bd059c6c5d85b7c109a1c83b917f72688a79baaa496c4b7badc0960a469dced4127166481a07df05da3de261bbcdb diff --git a/sci-calculators/qalculator/metadata.xml b/sci-calculators/qalculator/metadata.xml new file mode 100644 index 000000000000..a7f1abb3029b --- /dev/null +++ b/sci-calculators/qalculator/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>qt@gentoo.org</email> + <name>Gentoo Qt Project</name> + </maintainer> +</pkgmetadata> diff --git a/sci-calculators/qalculator/qalculator-0.4b-r1.ebuild b/sci-calculators/qalculator/qalculator-0.4b-r1.ebuild new file mode 100644 index 000000000000..75cbb96d416c --- /dev/null +++ b/sci-calculators/qalculator/qalculator-0.4b-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils qmake-utils + +DESCRIPTION="A Qt4 based small calculator application" +HOMEPAGE="http://www.qt-apps.org/content/show.php/Qalculator?content=101326" +SRC_URI="http://www.qt-apps.org/CONTENT/content-files/101326-${P}-src.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-qt/qtgui:4" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${P}-src" + +src_configure() { + eqmake4 Qalculator.pro +} + +src_install() { + dobin Qalculator + make_desktop_entry Qalculator Qalculator accessories-calculator +} diff --git a/sci-calculators/speedcrunch/Manifest b/sci-calculators/speedcrunch/Manifest new file mode 100644 index 000000000000..e974bfd525c5 --- /dev/null +++ b/sci-calculators/speedcrunch/Manifest @@ -0,0 +1,5 @@ +DIST speedcrunch-0.11.tar.gz 1516510 SHA256 3632f2b40ac628d2665c838643cc99c50e89b60f54ac2a82b4533d254f0cb6eb SHA512 19d7d5b80709063768abf7076a95e25b7c16956dd20ab181d3876b87bc26e7d8c18820a7ca23af22ea3b52d67de12238b7a106e575415ee755c8c204f732eaf1 WHIRLPOOL 14bca4dfc37e3d9c7fa1ae998a9b30831bf1d9b49ba6370ad38a545d56a37d7b0b7cfbc44040f605d1b95b3a373774d1ef5013eba9afc9a45e62d05f47ab1f30 +EBUILD speedcrunch-0.11-r2.ebuild 1237 SHA256 3575958f43ab54ea4a40460027c08e50693aacdfaeb49b88ba0c7f6a319074eb SHA512 9264fd5c139e298bebb3687660d89924d8a736428acf3034ab7d2f0931d6af9d1a71032837c6426abb522f536ef0129008352d226cc321b5fd36340eda227b65 WHIRLPOOL f6f1e438b105c8ecc39681a38312c19283eef4e862d6ee45f9b0f4e646b66cc99ecf234bcae714dcdf478572159240edf2ecc4d36e253450bb2c80986bd1d226 +MISC ChangeLog 2790 SHA256 be8557b96bb8a580b3c233c0a90a9cc82771aff283b7ffeb62f3b596e189df88 SHA512 75014bf20a5a97e8e28a9568f1438431868802b3f6f667d4a9b3d238c13d6b8adef6b0f7494d48cef2357d4a6f130a9baece7461905986bc0b45d5f78ec67165 WHIRLPOOL 8e073cfd870839c26d41c13662e7ff22479858e5307904194cd8e6b02cb6ac3d4756294d6bde6fd30ed2ce82e1d8d3c1b3489d821d30986f13f5f3b2cd657542 +MISC ChangeLog-2015 1635 SHA256 f5d51b408ab6ec7714f4d1ccc756448beca84f6fd932c51365824aa152217a56 SHA512 ec491349b04a98a737a23aac8a7fbcb140c1c52ae2c26f80e894af2278063e76476b2a8757bf95288a4e5a877f7ad497c5d3a5b7e1c1c87e913145cd4d80751e WHIRLPOOL 83e4f5b3b1db89095c22799a9e5f00460a52c8ef356ee5cd4f74b3f211f7595d4442bb2d4752ac020a5a900af2c460f1896e0d5c4a5fe1ad730810125ca4d6a3 +MISC metadata.xml 502 SHA256 5300b6052799542d0bfc815e3eb95f7a9e2972410be6b797f36d922339e785ce SHA512 9113af02758f4a55914c9492ba455cd66dbb61d0f0d53bf16acd7f7d26bbe3a98b0d9b4372845ea71c5a3ccf02f2b8b8ef9896616cfa3ee63d9534d4293b3f4e WHIRLPOOL 417574e4688c712daf41211551d4f8c821256c684880d0075ce235cdb5d12eadc239f00ee65488dc51747a9f7bfe997a82bdd7d1e98d137c44cf2b68a3db31e6 diff --git a/sci-calculators/speedcrunch/metadata.xml b/sci-calculators/speedcrunch/metadata.xml new file mode 100644 index 000000000000..25fe0118d125 --- /dev/null +++ b/sci-calculators/speedcrunch/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en">A fast and usable calculator for power users.</longdescription> + <upstream> + <remote-id type="google-code">speedcrunch</remote-id> + <remote-id type="github">speedcrunch/SpeedCrunch</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-calculators/speedcrunch/speedcrunch-0.11-r2.ebuild b/sci-calculators/speedcrunch/speedcrunch-0.11-r2.ebuild new file mode 100644 index 000000000000..b0fd6b32ac10 --- /dev/null +++ b/sci-calculators/speedcrunch/speedcrunch-0.11-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PLOCALES="ar_JO ca_ES cs_CZ de_DE en_GB en_US es_AR es_ES et_EE eu_ES fi_FI + fr_FR he_IL hu_HU id_ID it_IT ja_JP ko_KR lv_LV nb_NO nl_NL pl_PL pt_BR + pt_PT ro_RO ru_RU sv_SE tr_TR uz_UZ vi_VN zh_CN" + +CMAKE_MAKEFILE_GENERATOR=ninja + +inherit cmake-utils l10n + +DESCRIPTION="Fast and usable calculator for power users" +HOMEPAGE="http://speedcrunch.org/" +SRC_URI="https://github.com/${PN}/SpeedCrunch/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +DEPEND="dev-qt/qtgui:4" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/SpeedCrunch-${PV}/src" + +src_prepare() { + my_rm_loc() { + rm "resources/locale/${1}.qm" || die + sed -i resources/speedcrunch.qrc \ + -e "s|<file>locale/${1}.qm</file>||" || die + sed -i gui/mainwindow.cpp \ + -e "s|map.insert(QString::fromUtf8(\".*, QLatin1String(\"${1}\"));||" || die + } + + l10n_find_plocales_changes 'resources/locale' '' '.qm' + l10n_for_each_disabled_locale_do my_rm_loc + + cmake-utils_src_prepare +} + +src_install() { + cmake-utils_src_install + cd .. || die + doicon -s scalable gfx/speedcrunch.svg + use doc && dodoc doc/*.pdf +} diff --git a/sci-calculators/tiemu/Manifest b/sci-calculators/tiemu/Manifest new file mode 100644 index 000000000000..8abac458a24e --- /dev/null +++ b/sci-calculators/tiemu/Manifest @@ -0,0 +1,7 @@ +AUX tiemu-3.03-r2820.patch 797 SHA256 032f76ec9d81d724fb45b166b7727853ea455d4a2ad4f5c815b5cd4d88729673 SHA512 303b2c070131127fec872b1e53ad8a25dd26ab9e85bc6812351b26e7c0c3fcec7ce50d68d7964b47f3f1f68092e0ebc5b9fe499c811981aed28a1aeb702f4a4e WHIRLPOOL 9e0a2cb371f67f5c47e4c77e02fb130bc3c68c0642a0145263b609c05a4f1c813cce684d787a3f67d7260edac59fe716d2e5e6b3afc919175ae63282d518bf0d +AUX tiemu-3.03-remove_depreciated_gtk_calls.patch 5232 SHA256 0824626b519f291af2a865b900cbd296691cbe5dc92106b89e6b1ec8d90ab58f SHA512 7c5f254312086f1b1841c0abd2c6529f52fbfbbfb32c4621363fe58d6f0cfbaaeca610c7136e4d27a0393e88fadd098781db81ca144fb94c5c44d0d7744d53a3 WHIRLPOOL 5e5ea13d49517c9f6a0462c648936751eede270999d5ef538c9173b918a3848d432494459cf669a5cf80cfe0b23f3897a95416896c556c35a373eb9764e4ffcd +DIST tiemu_3.03.orig.tar.gz 27343892 SHA256 c47b1c58640622c0fac9049d83eb8953d5805e54dede32cb2d3aa6453fb9ce8b SHA512 417f57b14ff603bc35ec1dcd7e6a884c28dc9decddcf775318cac1db383907a59d24dcef3c96324703a896672bd54caa51220126edd9e6c1642d87c4e75e127a WHIRLPOOL 4e09ea96d0f18d387c5bb1cb4a2f4acdb05fe401c2d1340f8891aeb590423a36a35e98b095d824be10546db772afebbff4b75ca29f86ce022db334dfeb5d32d0 +EBUILD tiemu-3.03-r1.ebuild 1499 SHA256 b1bc3cd2b25fa4d034f3d6eb9b8d1d3c76256e16d592a99b316e03befe5d1164 SHA512 9f659f5311d6940951e5513326ec8ba874b236c7723d33cc9b206fd65177967afa21b1c42b52c309dfec1a1729b3d5a28f1e803ace9811d6e7493f61c6e915d6 WHIRLPOOL 21e5d51f769c5a32eb6a5c0e74f33a7aaf4ec47c0c18d17f00697e7073bcb6ab32a4a668516fc0e54f3a16c4b40dc5b2489cfef40038b316d8c2aa9268615d31 +MISC ChangeLog 3093 SHA256 24910ec66e167756669a038ee19906e123843dd1962e495bfd8fe2a13c015104 SHA512 c9171ef0bc5012d68fddb31c906d04d67585750ae18d3e6d85618870f79ebaf3eb77922752a76bbe8d9264ff4a24e2832092b11fd8e1bd025e46b4242053c23f WHIRLPOOL 64864cda16bfd3d774564dbcee6cace8bc21528dd5f6fc05d73ac1d10e922aa0463acc30180e2047b2efcfe0826a70b44a486a2967d9d9109d7dbdf0d1e54ff9 +MISC ChangeLog-2015 2056 SHA256 bcf340fd12bc088d1009bff584f353c69d2d0cecc5acd4ea50d0f6ae8d394e09 SHA512 6c26e6b03f73bb1394512c434ed48f0a8e297d6c485409ec2d0784b82fbd3a3a1478f7c2996bf604f7f3b0ccbd6c58610e91ed88172380fffec3803753411601 WHIRLPOOL 0c9e38f796821779435b9b0afa3b43c3d0656fb557b8d7ea9ee65fba83b620b2436dd0a7b09843e5b3ba60210d0fe1e57442f4147d525df6c286c322716dc61e +MISC metadata.xml 591 SHA256 b516670dd679405f4b1606eddfdb3dace64d0e2a1571c2cfa06cd17e9f89e127 SHA512 153cb66a827bcc5bb30e5a55b96cddd961bbcf913836732c43dcf8fea20bc2e80535d0f82c0658649dcd14e6455c8ebd9601b95f4d821c79b81cc3e0a71010ca WHIRLPOOL 6b08b27e9f855f5f5988dc7e2257afbb20f4ab1bca5ae36f9a39abbdd4d60a327c67ac199358d3e5f212505a3bf6f15d15b42794ea3fb9b6474f8be8184a003c diff --git a/sci-calculators/tiemu/files/tiemu-3.03-r2820.patch b/sci-calculators/tiemu/files/tiemu-3.03-r2820.patch new file mode 100644 index 000000000000..1d4ac6ef28af --- /dev/null +++ b/sci-calculators/tiemu/files/tiemu-3.03-r2820.patch @@ -0,0 +1,28 @@ +Removed obsolete virtual link cable. + +http://svn.tilp.info/cgi-bin/viewvc.cgi?view=rev&root=tiemu&revision=2820 +https://bugs.gentoo.org/show_bug.cgi?id=363383 + +--- a/src/gui/device.c ++++ b/src/gui/device.c +@@ -102,10 +102,6 @@ + gtk_option_menu_set_history(GTK_OPTION_MENU(data), 7);
+ break;
+
+- case CABLE_VTL:
+- gtk_option_menu_set_history(GTK_OPTION_MENU(data), 8);
+- break;
+-
+ case CABLE_ILP:
+ gtk_option_menu_set_history(GTK_OPTION_MENU(data), 9);
+ break;
+@@ -194,8 +190,7 @@ + case 5: tmp.cable_model = CABLE_USB; break;
+ case 6: tmp.cable_model = CABLE_VTI; break;
+ case 7: tmp.cable_model = CABLE_TIE; break;
+- case 8: tmp.cable_model = CABLE_VTL; break;
+- case 9: tmp.cable_model = CABLE_ILP; break;
++ case 8: tmp.cable_model = CABLE_ILP; break;
+ }
+ }
+
diff --git a/sci-calculators/tiemu/files/tiemu-3.03-remove_depreciated_gtk_calls.patch b/sci-calculators/tiemu/files/tiemu-3.03-remove_depreciated_gtk_calls.patch new file mode 100644 index 000000000000..aad56a70ca33 --- /dev/null +++ b/sci-calculators/tiemu/files/tiemu-3.03-remove_depreciated_gtk_calls.patch @@ -0,0 +1,232 @@ +--- a/src/gui/debugger/dbg_bkpts.c ++++ b/src/gui/debugger/dbg_bkpts.c +@@ -29,10 +29,15 @@ + # include <config.h> + #endif + ++#include <string.h> + #include <gtk/gtk.h> + #include <glade/glade.h> +-#include <string.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_regs.c ++++ b/src/gui/debugger/dbg_regs.c +@@ -28,14 +28,19 @@ + # include <config.h> + #endif + +-#include <gtk/gtk.h> +-#include <glade/glade.h> + #include <stdio.h> + #include <stdint.h> + #include <string.h> + #include <ctype.h> ++#include <gtk/gtk.h> ++#include <glade/glade.h> + #include <gdk/gdkkeysyms.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_pclog.c ++++ b/src/gui/debugger/dbg_pclog.c +@@ -31,6 +31,11 @@ + #include <gtk/gtk.h> + #include <glade/glade.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_wnds.c ++++ b/src/gui/debugger/dbg_wnds.c +@@ -38,6 +38,11 @@ + #include <windows.h>
+ #endif
+
++#if GTK_CHECK_VERSION(2,18,0)
++#undef GTK_WIDGET_VISIBLE
++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid))
++#endif
++
+ #include "intl.h"
+ #include "ti68k_int.h"
+ #include "struct.h"
+--- a/src/gui/debugger/dbg_mem.c ++++ b/src/gui/debugger/dbg_mem.c +@@ -33,6 +33,11 @@ + #include <glade/glade.h> + #include <gdk/gdkkeysyms.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include <stdio.h> + #include <stdint.h> + #include <string.h> +--- a/src/gui/debugger/dbg_iop.c ++++ b/src/gui/debugger/dbg_iop.c +@@ -28,13 +28,18 @@ + # include <config.h> + #endif + +-#include <gtk/gtk.h> +-#include <glade/glade.h> + #include <stdio.h> + #include <stdint.h> + #include <string.h> + #include <ctype.h> ++#include <gtk/gtk.h> ++#include <glade/glade.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_stack.c ++++ b/src/gui/debugger/dbg_stack.c +@@ -28,11 +28,16 @@ + # include <config.h> + #endif + ++#include <stdlib.h> + #include <gtk/gtk.h> + #include <glade/glade.h> + #include <gdk/gdkkeysyms.h> +-#include <stdlib.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_all.c ++++ b/src/gui/debugger/dbg_all.c +@@ -38,6 +38,13 @@ + #include <windows.h> + #endif + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_SENSITIVE ++#define GTK_WIDGET_SENSITIVE(wid) (gtk_widget_get_sensitive(wid)) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "ti68k_int.h" + #include "struct.h" + #include "dbg_all.h" +--- a/src/gui/debugger/dbg_code.c ++++ b/src/gui/debugger/dbg_code.c +@@ -28,11 +28,16 @@ + # include <config.h> + #endif + ++#include <string.h> + #include <gtk/gtk.h> + #include <glade/glade.h> + #include <gdk/gdkkeysyms.h> +-#include <string.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_SENSITIVE ++#define GTK_WIDGET_SENSITIVE(wid) (gtk_widget_get_sensitive(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_heap.c ++++ b/src/gui/debugger/dbg_heap.c +@@ -31,6 +31,11 @@ + #include <gtk/gtk.h> + #include <glade/glade.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_VISIBLE ++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "support.h" +--- a/src/gui/debugger/dbg_dock.c ++++ b/src/gui/debugger/dbg_dock.c +@@ -37,11 +37,16 @@ + # include <config.h>
+ #endif
+
++#include <string.h>
+ #include <gtk/gtk.h>
+ #include <glade/glade.h>
+ #include <gdk/gdkkeysyms.h>
+-#include <string.h>
+
++#if GTK_CHECK_VERSION(2,18,0)
++#undef GTK_WIDGET_VISIBLE
++#define GTK_WIDGET_VISIBLE(wid) (gtk_widget_get_visible(wid))
++#endif
++
+ #include "intl.h"
+ #include "paths.h"
+ #include "support.h"
+--- a/src/gui/calc/calc.c ++++ b/src/gui/calc/calc.c +@@ -39,6 +39,11 @@ + #include <glade/glade.h> + #include <gdk-pixbuf/gdk-pixbuf.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_STATE ++#define GTK_WIDGET_STATE(wid) (gtk_widget_get_state(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "skinops.h" +--- a/src/gui/calc/screen.c ++++ b/src/gui/calc/screen.c +@@ -29,11 +29,16 @@ + # include <config.h> + #endif /* */ + ++#include <string.h> + #include <gtk/gtk.h> + #include <glade/glade.h> + #include <gdk-pixbuf/gdk-pixbuf.h> +-#include <string.h> + ++#if GTK_CHECK_VERSION(2,18,0) ++#undef GTK_WIDGET_STATE ++#define GTK_WIDGET_STATE(wid) (gtk_widget_get_state(wid)) ++#endif ++ + #include "intl.h" + #include "paths.h" + #include "skinops.h" diff --git a/sci-calculators/tiemu/metadata.xml b/sci-calculators/tiemu/metadata.xml new file mode 100644 index 000000000000..9226ce4b3297 --- /dev/null +++ b/sci-calculators/tiemu/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> +</maintainer> +<longdescription lang="en"> + This project aims to develop a fast emulator for the + TI89(titanium), 92(+), and V200PLT calculators. This emulator + started on the Jonas Minnberg's (X)Tiger emulator which is + based on UAE (the Universal Amiga Emulator). It was deeply + reworked and improved thus it's very different now. +</longdescription> +</pkgmetadata> diff --git a/sci-calculators/tiemu/tiemu-3.03-r1.ebuild b/sci-calculators/tiemu/tiemu-3.03-r1.ebuild new file mode 100644 index 000000000000..4b7d7fcc4595 --- /dev/null +++ b/sci-calculators/tiemu/tiemu-3.03-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="Texas Instruments hand-helds emulator" +HOMEPAGE="http://lpg.ticalc.org/prj_tiemu/" +SRC_URI="http://repo.calcforge.org/debian/source/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="dbus nls sdl threads xinerama" + +RDEPEND="sci-libs/libticables2 + sci-libs/libticalcs2 + sci-libs/libtifiles2 + sci-libs/libticonv + gnome-base/libglade:2.0 + x11-libs/gtk+:2 + dbus? ( >=dev-libs/dbus-glib-0.60 ) + nls? ( virtual/libintl ) + sdl? ( media-libs/libsdl ) + xinerama? ( x11-libs/libXinerama )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext ) + xinerama? ( x11-proto/xineramaproto )" + +PATCHES=( + "${FILESDIR}"/${P}-remove_depreciated_gtk_calls.patch + "${FILESDIR}"/${P}-r2820.patch +) + +src_prepare() { + default + # Don't use GTK_DISABLE_DEPRECATED flags + sed 's:-DGTK_DISABLE_DEPRECATED::g' -i configure.ac configure || die +} + +src_configure() { + econf \ + --disable-rpath \ + --disable-debugger \ + --disable-gdb \ + $(use_enable nls) \ + $(use_enable sdl sound) \ + $(use_enable threads) \ + $(use_enable threads threading) \ + $(use_with dbus) \ + --without-kde \ + $(use_with xinerama) +} + +src_install() { + default + rm -f "${ED%/}"/usr/share/tiemu/{Manpage.txt,COPYING,RELEASE,AUTHORS,LICENSES} || die + make_desktop_entry tiemu "TiEmu Calculator" \ + "${EPREFIX}"/usr/share/tiemu/pixmaps/icon.xpm +} diff --git a/sci-calculators/tilp2/Manifest b/sci-calculators/tilp2/Manifest new file mode 100644 index 000000000000..692a5579df74 --- /dev/null +++ b/sci-calculators/tilp2/Manifest @@ -0,0 +1,5 @@ +DIST tilp2-1.18.tar.bz2 536744 SHA256 7b3ab363eeb52504d6ef5811c5d264f8016060bb7bd427be5a064c2ed7384e47 SHA512 8e46337e1ac7de85d88d4cb677910a099cdb6d3f473cdf8ca751a45dd66410b11751cd4555116c9249aa53bd23105957b4b2af2247968ec840da68aeed105f5f WHIRLPOOL f89ee4f52d87eed99160ddd1ed290e7b84f2cf499d35240e675186bd0f3d674fd59cab71b4791fa76148152322901f899761b310b1f8ea5489c54b45261c61b1 +EBUILD tilp2-1.18.ebuild 1251 SHA256 5eb9f0a9cff06838630707e8a3dca3c998d9349a4c3ed0c5f9a088533a3e63b2 SHA512 d414f5563b4ec5390bf905ff2de8888edaa92b8349fcd8afe510de4a460957638a7892a5b54663c1b46dabdaf3956a89577120eca343b548926bf4b08d43caa3 WHIRLPOOL 18bbacc91427cb4d8bdd0b8f82c1b0be9a90fde3d442ac888a34db2c9168cef8185cdfc8f138769430f300fc1814e4497977d1123040752f72e531b213575457 +MISC ChangeLog 2726 SHA256 043f9655e116c6322a084a388df8cfa9c346df7767c3c1037d128b90db125ca8 SHA512 adf93c5e733b5bbc6c376bbba3464ee3d2b2c0b6ea6ea353d124f23d159172db171a9ec48113952426d9e3251020fb47b76bc5acf674b0dccdb2ce386d5bfaae WHIRLPOOL bc017c5a1bc03d6dd1a7d9a0ce2bc77ec0c913d7c5728a8ad57672403e650347afca3505fe2097df61466cb4572bdb945bcef7f42ff5dcd0660f3fe0bd6df246 +MISC ChangeLog-2015 2636 SHA256 032790725b03473eec7671c8a949fd8d92da8ba03c3be16d067387f69ba9b2f1 SHA512 df8e7fce6eb1cff73da2c2aa8661c9ca10572daea087b354f8b4e8c8e9860eba1981eaefde947a358be99fc0573f83b306b76cf7ad693d75946b397cd64ea528 WHIRLPOOL 9edbad41d410d5879724ce031e3946ba3ce668aaa6e5cd4833f243e41ccb1169d68d524c4be95a6f3c4a0883e7afd5ce841e89b865899fb81c5242a546a3ea8b +MISC metadata.xml 585 SHA256 c436087f24fba1f88756ce69dae50c35167740e9ad828ab807fabe1e0e547efb SHA512 1ecc31a296f870d3e5b60be8fd5fb99dc5920380af8c264c35ab7e7ebe9d676cf700001a0e4ab47bffb838798070baf0db1236f3da98fe917347056e036cb40d WHIRLPOOL f802ebd8c970cb822107b608cedff636e9e7898a077f42875cfc242cc137883d8885d78a98c696d92cdabf40c58f314c50a5ec2135384043409ec6a4864b797d diff --git a/sci-calculators/tilp2/metadata.xml b/sci-calculators/tilp2/metadata.xml new file mode 100644 index 000000000000..f0111156454b --- /dev/null +++ b/sci-calculators/tilp2/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + TiLP is a linking program for Texas Instruments' graphing + calculators. It can handle any TI calculator (from TI73 to V200) with + any link cable. TiLP has all the functions of a linking program and + more. +</longdescription> + <upstream> + <remote-id type="sourceforge">tilp</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-calculators/tilp2/tilp2-1.18.ebuild b/sci-calculators/tilp2/tilp2-1.18.ebuild new file mode 100644 index 000000000000..25627803844a --- /dev/null +++ b/sci-calculators/tilp2/tilp2-1.18.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Communication program for Texas Instruments calculators " +HOMEPAGE="http://lpg.ticalc.org/prj_tilp" +SRC_URI="mirror://sourceforge/tilp/tilp2-linux/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="nls static-libs" + +RDEPEND=" + dev-libs/glib:2 + gnome-base/libglade:2.0 + >=sci-libs/libticalcs2-1.1.9 + >=sci-libs/libticables2-1.3.5 + >=sci-libs/libtifiles2-1.1.7 + >=sci-libs/libticonv-1.1.5 + x11-libs/gtk+:2 + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + default + # The ac macro AC_PATH_KDE was provided by "acinclude.m4" in 1.17. + # This file is missing in the current version which will cause an autoconf error. + # But since we don't build with kde support, we may safely remove all its reverse dependencies. + sed -i -e '/AC_PATH_KDE/d' configure.ac + sed -i \ + -e 's/@[^@]*\(KDE\|QT\|KIO\)[^@]*@//g' \ + -e 's/@X_LDFLAGS@//g' \ + src/Makefile.am + eautoreconf +} + +src_configure() { + # kde seems to be kde3 only + econf --without-kde \ + $(use_enable nls) \ + $(use_enable static-libs static) +} diff --git a/sci-calculators/transcalc/Manifest b/sci-calculators/transcalc/Manifest new file mode 100644 index 000000000000..bc9ba300de0f --- /dev/null +++ b/sci-calculators/transcalc/Manifest @@ -0,0 +1,6 @@ +AUX transcalc-0.14-fd-perm.patch 596 SHA256 c750f7b1ff48104aa6ced0489cafbf7df6781a89dca24d0d7ab5bb506a01937a SHA512 d63e4d8d5da77e97037d6014aa10a392778bdd1dfe0074ee61af94c3349c529ec965d2774e50c4ffae0fd76003429b64776fa7378d01e7a9608d1d4581b65eb5 WHIRLPOOL 13f610628f3efe3148393dda8545670bc02395977e9a2b8dbf81ae8674784e3971536959894d050da33e4a9d143f8a73c7cfa49449673a0eb18b4bcd93637f4a +DIST transcalc-0.14.tar.gz 186434 SHA256 02213d5fc20cb147a51ea771364a8acd0d340ffdc8d582deb5bf478ff0e6a82e SHA512 b8c2cfbe3ea9787a2c694732baaf0e7c734f9a58c825f3791f21527f54398fcc79e24570d4f5f5c942b138b164cc6dc39744e0a66bafd888122608b641dcfa05 WHIRLPOOL c736396b38885f83e0d82f3b3d2cdaf99c30191ea01960b8316d94980ee3a9b62881675b0807265d6dca6dd52deb5fffac93bdb25a83ce07768ead9a2ca2e1a1 +EBUILD transcalc-0.14-r2.ebuild 688 SHA256 395b3fb269b9bded21d9435054929af27c66870ca57f1866cdd0917d967e4fff SHA512 d0ecb26f7a8fdac51d853862e887df791504c2b60e83e206c7fcc540a4a80338ae2e5c353bb097635fd5ba5c0f1dc2b23699944fe3440662d7ef0ea2d1844ebe WHIRLPOOL 44ffb87e86b972148153758cf0e347d3ea1d325902221da6b3419c995ca8ba4735381efa82d9a5d9a4cc589d125cbc7dd39eb56a621cd02266ae0db3dbc87a28 +MISC ChangeLog 3544 SHA256 3986621057fd80fe791a12151f5c88eb5c43afd144296d8eba9c80d557f98648 SHA512 d458c39e093c6f136174e9487a3eed26b4722116f9394c26d38490125ea40ed65360db85f26174e734999e0ce6fb40b5205616bc3af1de4d03c2fbe7640f52e4 WHIRLPOOL faea282e3f412a3f65a2fab85a2ee244eea2b562df98f4c207a51f3b0dfa2ff1f366ec4d31b2d11a8f4ceadb8bb984b8687693df177275c96ba67534b31bb580 +MISC ChangeLog-2015 1342 SHA256 6bbdbe23a7ab9ff0032c3a84e3fb27d841504699f5af5642b9c49bc4035e041d SHA512 9036adda645d1e761d60f494996011debacb43f375b5855d607e82d046dce96e40a7361184e543afdb89ddfa8cd2f59341532b24b57072e9804d08492444e173 WHIRLPOOL c6f4eb0c5007cef73d0003b7585f7411a85056d3f9b97ab5573638f7551ef815da83a93d63621b6e51ff1c1be971f0f8397cea216a453f977bbf73d521b4363f +MISC metadata.xml 1350 SHA256 421ae21b9925b3a3c978e8cdc1261d94bbbfb04edcc84c66eea7957320821053 SHA512 b61dda04f6f3c913c381a201f1acd1c9bca0e73f690c2b65a279558cec6d88541611b02640cb7329b9f9f157d3bdc77106ef01c85a0cb9e3b6cd9e6c6fdcb7b7 WHIRLPOOL a1c899a451d4619731d0e438aef4344e54b388354379b6af210d9e84bf1b44c06e1082bb90b742992b5b2ed860247303745b21f0385a38c1bd5584a4aa10223f 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 new file mode 100644 index 000000000000..9836503376d8 --- /dev/null +++ b/sci-calculators/transcalc/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <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> + <upstream> + <remote-id type="sourceforge">transcalc</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-calculators/transcalc/transcalc-0.14-r2.ebuild b/sci-calculators/transcalc/transcalc-0.14-r2.ebuild new file mode 100644 index 000000000000..02376bc9ed7a --- /dev/null +++ b/sci-calculators/transcalc/transcalc-0.14-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="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 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND}" + +# patch from debian +PATCHES=( "${FILESDIR}"/${P}-fd-perm.patch ) + +src_prepare() { + # respect flags + sed -i -e 's|^CFLAGS=|#CFLAGS=|g' configure || die + default + # syntax errors + sed -i \ + -e 's/ythesize/ynthesize/g' \ + src/{setup_menu.c,help.h} docs/transcalc.sgml README || die +} diff --git a/sci-calculators/units/Manifest b/sci-calculators/units/Manifest new file mode 100644 index 000000000000..f4de346a31e8 --- /dev/null +++ b/sci-calculators/units/Manifest @@ -0,0 +1,5 @@ +DIST units-2.14.tar.gz 1177024 SHA256 9d33893d82f3ddd831d5822992007c40bcd0826ae67d3cbc96539951fb0a82e8 SHA512 3cd09a76fb1cccbafaa3e023c791740738c8347425b2645cad1fa768dee3ebde917602cf65988ee8922fed512ec0bc2367f68545450789fc6bf1a79f066a6986 WHIRLPOOL ae4c0297387e9d3e42ae556a5f528f9c6f1b6a75f5f90580c5b9729ccdea011962d0e891c13ed583a97167bb62d5d074ab3b695ffdd23304f72a62098ce87821 +EBUILD units-2.14-r1.ebuild 1233 SHA256 e7bad2578a0db2ae9539b23b60c3974f2a2f16cd7ec8b08cd6c3b4b20fa78bfd SHA512 e6d4727b16e7a07817fbe06bcdb7d90049542d22b8987a46aedc7a88d6ce08e7494839e78faf4dc6f6912fc5a746b991c3bb242a353110824cc51d0f61bc7fa6 WHIRLPOOL ae4e1ea8874aca77d766c3177a47d02b2cd04d91e18ef75b90d3a6a1f3d2aa163ca88a18c8a65effea60eb160eccba31ac1f495bc986155c9947bd4c9ec4cc04 +MISC ChangeLog 6034 SHA256 e73eb1cc6c55aaeb8d76aabf9bb5572b6faa29f3aabb2528846c369f25e583a0 SHA512 8706b91f783bb3bcbba2c6f9be8e81038e40a22697efe60fe799eb80bd722b09e406030285f6b53a870cf619aba06103320eb11543094c309f37013548b916c8 WHIRLPOOL ab8d9eec186ebbd84d604cb6638ec96b1022467f44e4fecf56acbcf91b350e1e1ad35f691301155fa588eaeb51042d1897eaa436580cf5734cceb7b577956ab0 +MISC ChangeLog-2015 11855 SHA256 d430fd687dd39cdb3d1a6f2c5f6d164350864c379ed53914dc1873f8193c4548 SHA512 987cc809495fb0e755079fff68a2aff854a0d647833b329eeca58051242ed884c2039c7a724d6e667ed483d3a5b4b4c689fd8f1338e1121be6b48eff36e70fbe WHIRLPOOL 57760593698ef22f8fc8b278a096e44a74181751a9d708ff1e6766fbc3b4c31505d2891f333a1ef72c5c2767f095588fedb786270d8769044633334551ada744 +MISC metadata.xml 341 SHA256 c97f00403f36185d0fcce50329e7c6901903dc66bb5bfffe80c384f22e4923b8 SHA512 b32fc161804c8cd09f6b67923911ddfbdc9c5ba6e5dc61e951bbbe6fd54dd495209c519ead1dd46cb62cf5fd90978472f0d58ed2b66cc079c3ca91a36d22e822 WHIRLPOOL cb29d2f9700eaee9eb3c9d8ff2aee8386b202592022a4185057bc56617c64829e08c27f1d5b8f7f13f2da9e3ae4e280afa3f20784cfccf0ba2f2411694230797 diff --git a/sci-calculators/units/metadata.xml b/sci-calculators/units/metadata.xml new file mode 100644 index 000000000000..9aa83b1ef40a --- /dev/null +++ b/sci-calculators/units/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>jer@gentoo.org</email> +<name>Jeroen Roovers</name> +</maintainer> +<use> +<flag name="units_cur">Install the units_cur python script that updates currencies</flag> +</use> +</pkgmetadata> diff --git a/sci-calculators/units/units-2.14-r1.ebuild b/sci-calculators/units/units-2.14-r1.ebuild new file mode 100644 index 000000000000..45559228bae3 --- /dev/null +++ b/sci-calculators/units/units-2.14-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_REQ_USE="xml" +inherit eutils python-single-r1 + +DESCRIPTION="Unit conversion program" +HOMEPAGE="https://www.gnu.org/software/units/units.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="FDL-1.3 GPL-3" +SLOT="0" +KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="+units_cur" +REQUIRED_USE="units_cur? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + sys-libs/readline:= + units_cur? ( + dev-python/unidecode[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + )" +DEPEND=${RDEPEND} + +pkg_setup() { + use units_cur && python-single-r1_pkg_setup +} + +src_configure() { + econf ac_cv_path_PYTHON=no +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc ChangeLog NEWS README + + # we're intentionally delaying this since 'make install' would + # get confused if we shove 'units_cur' there, and there is no real + # need to add more complexity for it + if use units_cur; then + local pyver + python_is_python3 && pyver=3 || pyver=2 + sed -e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \ + "units_cur${pyver}" > units_cur || die + python_doscript units_cur + fi +} diff --git a/sci-calculators/wcalc/Manifest b/sci-calculators/wcalc/Manifest new file mode 100644 index 000000000000..6a03f84af709 --- /dev/null +++ b/sci-calculators/wcalc/Manifest @@ -0,0 +1,5 @@ +DIST wcalc-2.5.tar.bz2 413637 SHA256 0e2c17c20f935328dcdc6cb4c06250a6732f9ee78adf7a55c01133960d6d28ee SHA512 3eedcf8c93bd33ca0a4bb35867e3157adbde2999d9fc1826ad55281fd927546614f6b1a28900b4cae87a0d15888cd62a04fa2adca316d7cf309af7a2fefea704 WHIRLPOOL 1a41c3810c34c4c740656c40d9fe92ff8bdb62293bdf670d43282202b8dff9249dff375222ae39206410f824e9a628bcb2a6ed0badeacd88573a5898bd984959 +EBUILD wcalc-2.5.ebuild 664 SHA256 54f1acfdc0da794774f232295525938c684253ede531d80fef78d518192f0897 SHA512 b4e2789bfb3129787984622063eef6e2be2b6344c6921e1db67cb3e3caf6bb913fb06e781d8d9ed9c6812003aa4c410322decfc473c8bc5fa38edc2cbfdafa21 WHIRLPOOL 58f6c12f1f170f876f35db6409859b95e8c79af2fad937bf9ec469a8951eee98ae263a8611f2e796760a70ef7f102d9776fd92291b07f85b14085e6a0255f472 +MISC ChangeLog 3126 SHA256 fcd38c3fe53c3243bfd0231e61e957197d30e5ca66ace40c5009df0e845aa41d SHA512 831fee69c75505e55e669392226730d4b68ed69588bcb7d1ecd7f6fec886a9c094540406263b26a4769e9678ffa7face3a257290c1aa49f677dc8a15edbe1fcd WHIRLPOOL c7b3f0236647d559efd6005a943578fa0c1cfa9fdf1df90222cc024608b78973975a5e1c9ce78b17c91b8f1989cafdcda0e531d8fc72aa7c116bba42aefa373b +MISC ChangeLog-2015 2683 SHA256 ab9047994bbcda854009bb6306ef494d617951a98ac4eeec6e9b513b037bc398 SHA512 518193a1b79f4f1e9d42d571d73888f079efab8c5c06af303ed5e2ac59450eabce8f49339caf1be6ff78169b00977ea049c6db965b757d402c26fe7c8ba2b322 WHIRLPOOL 9f0c599eaba038b58b59448a276613e9668e90d130ee2cd0f0cb4636e83a916bf4854d49c5e73e945ad63536a9b22be47329a2a7d304d1ecee362749bddb77f0 +MISC metadata.xml 810 SHA256 809e658b152b75f2acedba3f029b448b52620ecb1e8abdae8d4fe3fee8bfd29d SHA512 941c5d9933bb6709b48e6031567666019ac6864aaec109979c2b30a6c711f49ed62dfcb1a126410e09ae29467695c5c8db8ae427afc287c0a51fe14e2f0c4464 WHIRLPOOL f39de35a7b4e92572d0ed4a73cb5d7220244036ace0457d3e1148a622bbcd0e052984b6849747dd297ec60f29acce1cec5fd774e25a19b96cd5095b1738c3a92 diff --git a/sci-calculators/wcalc/metadata.xml b/sci-calculators/wcalc/metadata.xml new file mode 100644 index 000000000000..93c4a902af6a --- /dev/null +++ b/sci-calculators/wcalc/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + Wcalc is a very capable calculator. It has standard functions (sin, + asin, and sinh for example, in either radians or degrees), many + pre-defined constants (pi, e, c, etc.), support for using variables, + "active" variables, a command history, hex/octal/binary input and + output, unit conversions, embedded comments, and an expandable + expression entry field. It evaluates expressions using the standard + order of operations. +</longdescription> + <upstream> + <remote-id type="sourceforge">w-calc</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-calculators/wcalc/wcalc-2.5.ebuild b/sci-calculators/wcalc/wcalc-2.5.ebuild new file mode 100644 index 000000000000..9b9a8d8b67a6 --- /dev/null +++ b/sci-calculators/wcalc/wcalc-2.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="A flexible command-line scientific calculator" +HOMEPAGE="http://w-calc.sourceforge.net/" +SRC_URI="mirror://sourceforge/w-calc/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="readline" + +RDEPEND=" + dev-libs/gmp:0= + dev-libs/mpfr:0= + readline? ( sys-libs/readline:0= )" +DEPEND="${RDEPEND}" + +src_configure() { + econf $(use_with readline) +} + +src_install() { + default + + # Wcalc icons + newicon graphics/w.png wcalc.png + newicon graphics/Wred.png wcalc-red.png +} |