From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AB0291396D0 for ; Sun, 8 Oct 2017 16:43:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5BE1E0FA6; Sun, 8 Oct 2017 16:43:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7A55E0FA6 for ; Sun, 8 Oct 2017 16:43:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF4B233BEF4 for ; Sun, 8 Oct 2017 16:43:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A52B90B2 for ; Sun, 8 Oct 2017 16:43:10 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1507480942.b028a2c63ff7fe94201305761d6d9daf3745af5f.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/octave/files/, sci-mathematics/octave/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/octave/files/octave-4.2.0-fix-qscintilla-detection.patch sci-mathematics/octave/octave-4.2.1.ebuild X-VCS-Directories: sci-mathematics/octave/ sci-mathematics/octave/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: b028a2c63ff7fe94201305761d6d9daf3745af5f X-VCS-Branch: master Date: Sun, 8 Oct 2017 16:43:10 +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: f9460295-0557-4330-9419-57ef824777f6 X-Archives-Hash: 31dc0ec0f468bbd71f64f244b0d4cf38 commit: b028a2c63ff7fe94201305761d6d9daf3745af5f Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Oct 8 14:46:45 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Oct 8 16:42:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b028a2c6 sci-mathematics/octave: Fix >=qscintilla-2.10 detection Gentoo-bug: 617024 Package-Manager: Portage-2.3.11, Repoman-2.3.3 .../octave/files/octave-4.2.0-fix-qscintilla-detection.patch | 2 +- sci-mathematics/octave/octave-4.2.1.ebuild | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/octave/files/octave-4.2.0-fix-qscintilla-detection.patch b/sci-mathematics/octave/files/octave-4.2.0-fix-qscintilla-detection.patch index 9d18b6a6d7c..ea714ecbfbb 100644 --- a/sci-mathematics/octave/files/octave-4.2.0-fix-qscintilla-detection.patch +++ b/sci-mathematics/octave/files/octave-4.2.0-fix-qscintilla-detection.patch @@ -8,7 +8,7 @@ as its Qt4 variant. 5) QT_MODULES="Qt5Core Qt5Gui Qt5Network Qt5OpenGL Qt5PrintSupport" - octave_qscintilla_libnames="qscintilla2-qt5 qt5scintilla2" -+ octave_qscintilla_libnames=qscintilla2 ++ octave_qscintilla_libnames="qscintilla2_qt5 qscintilla2" ;; *) AC_MSG_ERROR([Unrecognized Qt version $qt_version]) diff --git a/sci-mathematics/octave/octave-4.2.1.ebuild b/sci-mathematics/octave/octave-4.2.1.ebuild index 00a2d44ce48..e7ecf516cc4 100644 --- a/sci-mathematics/octave/octave-4.2.1.ebuild +++ b/sci-mathematics/octave/octave-4.2.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit autotools flag-o-matic fortran-2 java-pkg-opt-2 pax-utils toolchain-funcs +inherit autotools flag-o-matic fortran-2 java-pkg-opt-2 pax-utils toolchain-funcs xdg-utils DESCRIPTION="High-level interactive language for numerical computations" LICENSE="GPL-3" @@ -175,3 +175,13 @@ src_install() { echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${PN}/${PV}" > 99octave || die doenvd 99octave } + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +}