* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/geomview/
@ 2019-12-20 22:49 Ulrich Müller
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2019-12-20 22:49 UTC (permalink / raw
To: gentoo-commits
commit: 70be06cca1ca2c322b08e79799a293430c1768df
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 20 16:28:48 2019 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Dec 20 22:48:48 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70be06cc
sci-mathematics/geomview: Update virtual/emacs dependency.
The virtual is deprecated, depend on app-editors/emacs instead.
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
sci-mathematics/geomview/geomview-1.9.5-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-mathematics/geomview/geomview-1.9.5-r1.ebuild b/sci-mathematics/geomview/geomview-1.9.5-r1.ebuild
index 675a3515f01..0ffb2d155b8 100644
--- a/sci-mathematics/geomview/geomview-1.9.5-r1.ebuild
+++ b/sci-mathematics/geomview/geomview-1.9.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -17,7 +17,7 @@ IUSE="motionaveraging debug emacs zlib"
DEPEND="x11-libs/motif:0
virtual/glu
virtual/opengl
- emacs? ( virtual/emacs )
+ emacs? ( >=app-editors/emacs-23.1:* )
zlib? ( sys-libs/zlib )"
RDEPEND="${DEPEND}
x11-misc/xdg-utils"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/geomview/
@ 2020-10-03 20:57 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2020-10-03 20:57 UTC (permalink / raw
To: gentoo-commits
commit: 2545f7f471daa791d070435f466b01591ca4f6ee
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 3 20:56:59 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct 3 20:56:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2545f7f4
sci-mathematics/geomview: Port to EAPI 7
Closes: https://bugs.gentoo.org/741578
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-mathematics/geomview/geomview-1.9.5-r1.ebuild | 29 ++++++++++++++---------
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/sci-mathematics/geomview/geomview-1.9.5-r1.ebuild b/sci-mathematics/geomview/geomview-1.9.5-r1.ebuild
index 0ffb2d155b8..6d077450ffb 100644
--- a/sci-mathematics/geomview/geomview-1.9.5-r1.ebuild
+++ b/sci-mathematics/geomview/geomview-1.9.5-r1.ebuild
@@ -1,22 +1,25 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit elisp-common eutils fdo-mime flag-o-matic
+inherit desktop elisp-common flag-o-matic xdg
DESCRIPTION="Interactive Geometry Viewer"
HOMEPAGE="http://geomview.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+SRC_URI="
+ mirror://sourceforge/${PN}/${P}.tar.bz2
https://dev.gentoo.org/~jlec/distfiles/geomview.png.tar"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
LICENSE="LGPL-2.1"
SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="motionaveraging debug emacs zlib"
-DEPEND="x11-libs/motif:0
+DEPEND="
virtual/glu
virtual/opengl
+ x11-libs/motif:0
emacs? ( >=app-editors/emacs-23.1:* )
zlib? ( sys-libs/zlib )"
RDEPEND="${DEPEND}
@@ -25,10 +28,11 @@ RDEPEND="${DEPEND}
S="${WORKDIR}/${P/_/-}"
SITEFILE="50${PN}-gentoo.el"
-PATCHES=( "${FILESDIR}/${PN}-1.9.5-zlib.patch" )
+PATCHES=( "${FILESDIR}"/${PN}-1.9.5-zlib.patch )
src_configure() {
econf \
+ --disable-static \
--with-htmlbrowser=xdg-open \
--with-pdfviewer=xdg-open \
$(use_enable debug d1debug) \
@@ -40,7 +44,7 @@ src_compile() {
default
if use emacs; then
- cp "${FILESDIR}/gvcl-mode.el" . || die
+ cp "${FILESDIR}"/gvcl-mode.el . || die
elisp-compile *.el
fi
}
@@ -55,16 +59,19 @@ src_install() {
if use emacs; then
elisp-install ${PN} *.el *.elc
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
fi
+
+ # no static archives
+ find "${ED}" -name '*.la' -delete || die
}
pkg_postinst() {
- fdo-mime_desktop_database_update
+ xdg_pkg_postinst
use emacs && elisp-site-regen
}
pkg_postrm() {
- fdo-mime_desktop_database_update
+ xdg_pkg_postrm
use emacs && elisp-site-regen
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-03 20:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-20 22:49 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/geomview/ Ulrich Müller
-- strict thread matches above, loose matches on Subject: below --
2020-10-03 20:57 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox