From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1034E1399CE for ; Thu, 3 Sep 2015 18:14:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 879B1141A2; Thu, 3 Sep 2015 18:14:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F612141A2 for ; Thu, 3 Sep 2015 18:14:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C72543405D5 for ; Thu, 3 Sep 2015 18:14:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1870A170 for ; Thu, 3 Sep 2015 18:14:06 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1441303791.9fe51b3e036df4f145ce86dbf7348c404ff4d304.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/wxmaxima/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/wxmaxima/Manifest sci-mathematics/wxmaxima/wxmaxima-15.08.1.ebuild X-VCS-Directories: sci-mathematics/wxmaxima/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 9fe51b3e036df4f145ce86dbf7348c404ff4d304 X-VCS-Branch: master Date: Thu, 3 Sep 2015 18:14:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5189fc1e-73ab-45ca-a56b-3e8d5291c000 X-Archives-Hash: 9ab935ee983c328eda333eb959a44acd commit: 9fe51b3e036df4f145ce86dbf7348c404ff4d304 Author: Andrey Grozin gentoo org> AuthorDate: Thu Sep 3 18:09:51 2015 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Thu Sep 3 18:09:51 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe51b3e sci-mathematics/wxmaxima: version bump Package-Manager: portage-2.2.20.1 sci-mathematics/wxmaxima/Manifest | 2 + sci-mathematics/wxmaxima/wxmaxima-15.08.1.ebuild | 77 ++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/sci-mathematics/wxmaxima/Manifest b/sci-mathematics/wxmaxima/Manifest index c48162b..5b02cb4 100644 --- a/sci-mathematics/wxmaxima/Manifest +++ b/sci-mathematics/wxmaxima/Manifest @@ -2,3 +2,5 @@ DIST wxMaxima-13.04.2.tar.gz 1652680 SHA256 29352db75dd3ff27393ab0971543fd0b3c3a DIST wxmaxima-15.04.0.tar.gz 4990313 SHA256 c178067a2f75d91dd378f88b4d0f87af6b2705ca32bea509d63e7347b2a1d21e SHA512 1a899259698da38f97a1859ba0526406cbc654a130dc1d18e01cf248ac4d7292c82cb00dd92ce2fac2c3cfc002788fdef0a6a4f95eca54b9096efc73c6aa45b7 WHIRLPOOL 225456c073b1aa87d2e599b9c63244ff7c97378fb6b5a60fcb8730655d193a0f032b27a1264e12eefb4abf08389f2337a11c380b6d89af2de9a4fb6e14f614dc DIST wxmaxima-15.08.0-missing.tar.bz2 16172 SHA256 d39d1a7937db05a4ae3e6a6d38a4079e93fb95b5533db7254de7dec7d24527db SHA512 195de1bcc4b469094716e0e417cf6431abe9f67e467c71fe51c4bed9990c613d5487cbcdda18d1df7f50e5e1b0abec7578e1091cc4999d95ba6a5f8849d826e2 WHIRLPOOL 34964f7ba5a1c9e5f2ab05b857c31b441eee43a127dc123337174509c71b7f80313e111b967abba47579021c52f27c71812c85efdf7a8429ad4e1e6c51f62db8 DIST wxmaxima-15.08.0.tar.gz 5555560 SHA256 e6905b8e306b575e8e38b02a0e81de38be6d154d1349a455e01fbec28b21b27c SHA512 b13df571978c354ef420c613717149e3235bd5343746c12f2193eb0599f417b04cdb01e87e97ef2ed72bfd090b6ec6871c834fdb74074a3d5fb0f68bbe942263 WHIRLPOOL a2a1ae200eebb6d54a3c96cbd1c304b37c4a759ccc15983b3910d3aad1864d6c80d39e7e688198d4f3dd7c36bb9a8b2795a9610475858207b90482887219906a +DIST wxmaxima-15.08.1-missing.tar.bz2 14699 SHA256 62a84bf32e61d39f66787a7fb2cdbf67f322ddee2d7734c23650739476e97b17 SHA512 de64163643652a288fd6f65076df94074a28895a13ae8766a1913e12833d3dbb1ae4bbdbcd6a69221e5bde7000b93e3a86a223b1320d25581d32c61ea6ab3b98 WHIRLPOOL e96dac6ffd227597721a7e8fa200d99422e722ec5d3c1733c29904fdf1f6e2bae2ba1a2c8e98e217e7a089c5857c1ccf5d10950bd98cdbde0dfb19039a60262d +DIST wxmaxima-15.08.1.tar.gz 5577228 SHA256 82ad5314a88e53ff41dc431afb44ef1a47738686786e8cc8b4c48e0c147f4ffd SHA512 4ab7a8e992904e18e571b716d35f0d5286363b287853e3ebacc64e63df901fe192abdef16db8dc8defabb26a25f8f8956a7bad466862ee0d19d8846d4e3fec94 WHIRLPOOL 492c6ccf79640c9bfdb8d7aad283f5e0941bba8b38d037285712603112026e0feaf8873025657486df44ff718e559d9e690076e78f86e560f5d6b73ecd096ad9 diff --git a/sci-mathematics/wxmaxima/wxmaxima-15.08.1.ebuild b/sci-mathematics/wxmaxima/wxmaxima-15.08.1.ebuild new file mode 100644 index 0000000..cdbdbcd --- /dev/null +++ b/sci-mathematics/wxmaxima/wxmaxima-15.08.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +WX_GTK_VER="3.0" + +inherit eutils gnome2-utils wxwidgets fdo-mime + +DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit" +HOMEPAGE="http://andrejv.github.io/wxmaxima/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + https://dev.gentoo.org/~grozin/${P}-missing.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND=" + dev-libs/libxml2:2 + x11-libs/wxGTK:${WX_GTK_VER}" +RDEPEND="${DEPEND} + media-fonts/jsmath + sci-visualization/gnuplot[wxwidgets] + sci-mathematics/maxima" + +src_prepare() { + local i + + # consistent package names + sed -e "s:\${datadir}/wxMaxima:\${datadir}/${PN}:g" \ + -i Makefile.in data/Makefile.in test/Makefile.in || die "sed failed" + + sed -e 's:share/wxMaxima:share/wxmaxima:g' \ + -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Dirstructure.cpp src/Dirstructure.h \ + || die "sed failed" + + # correct gettext behavior + if [[ -n "${LINGUAS+x}" ]] ; then + for i in $(cd "${S}"/locales ; echo *.mo) ; do + if ! has ${i%.mo} ${LINGUAS} ; then + sed -i \ + -e "/^WXMAXIMA_LINGUAS/s# ${i%.mo}##" \ + -e "/^WXWIN_LINGUAS/s# ${i%.mo}##" \ + locales/Makefile.in || die + fi + done + fi +} + +src_configure() { + econf \ + --enable-printing \ + --with-wx-config=${WX_CONFIG} +} + +src_install () { + default + doicon -s 128 data/wxmaxima.png + make_desktop_entry wxmaxima wxMaxima wxmaxima + dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +}