public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2016-03-06 19:41 Justin Lecher
  0 siblings, 0 replies; 23+ messages in thread
From: Justin Lecher @ 2016-03-06 19:41 UTC (permalink / raw
  To: gentoo-commits

commit:     731bd1f2ea7c61ef084868f4b560acb57b6eacc4
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Wed Feb 24 19:38:58 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 19:37:03 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=731bd1f2

sci-visualization/mricrogl: fixed icon display on GNOME (3)

Package-Manager: portage-2.2.27

 sci-visualization/mricrogl/mricrogl-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-9999.ebuild b/sci-visualization/mricrogl/mricrogl-9999.ebuild
index c439682..1b0a0ab 100644
--- a/sci-visualization/mricrogl/mricrogl-9999.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-9999.ebuild
@@ -28,8 +28,8 @@ src_install() {
 	insinto /usr/bin/shaders
 	doins shaders/*.txt
 
-	doicon mricrogl.ico
-	make_desktop_entry MRIcroGL MRIcroGL mricrogl
+	doicon -s scalable mricrogl.svg
+	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2016-04-26 19:06 Justin Lecher
  0 siblings, 0 replies; 23+ messages in thread
From: Justin Lecher @ 2016-04-26 19:06 UTC (permalink / raw
  To: gentoo-commits

commit:     c1151b7b8e0a172a73d2884c421e1c8465b041b3
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Tue Apr 26 17:40:30 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 17:40:30 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c1151b7b

sci-visualization/mricrogl: new versioned ebuild

Package-Manager: portage-2.2.28

 .../mricrogl/mricrogl-1.0.20151111.ebuild          | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild
new file mode 100644
index 0000000..0c33fad
--- /dev/null
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit git-r3 gnome2-utils
+
+DESCRIPTION="A simle medical imaging visualization tool"
+HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/neurolabusc/MRIcroGL.git"
+EGIT_COMMIT="${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=""
+DEPEND="dev-lang/fpc
+	dev-lang/lazarus"
+
+src_compile() {
+	lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
+}
+
+src_install() {
+	dobin MRIcroGL
+
+	insinto /usr/bin/shaders
+	doins shaders/*.txt
+
+	doicon -s scalable mricrogl.svg
+	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2016-05-07  9:29 Justin Lecher
  0 siblings, 0 replies; 23+ messages in thread
From: Justin Lecher @ 2016-05-07  9:29 UTC (permalink / raw
  To: gentoo-commits

commit:     322d92270dbc7c5266c6fd5ab347b3d3bec77134
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Tue Apr 26 19:41:30 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 19:41:30 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=322d9227

sci-visualization/mricrogl: this version will not compile with fpc 3

Package-Manager: portage-2.2.28

 sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild
index 0c33fad..1f8d3c0 100644
--- a/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild
@@ -17,7 +17,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 RDEPEND=""
-DEPEND="dev-lang/fpc
+DEPEND="<dev-lang/fpc-3.0.0
 	dev-lang/lazarus"
 
 src_compile() {


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2016-12-17 18:05 Justin Lecher
  0 siblings, 0 replies; 23+ messages in thread
From: Justin Lecher @ 2016-12-17 18:05 UTC (permalink / raw
  To: gentoo-commits

commit:     1f9654ca196a760347de8c2e04c14ccf6b1ec907
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Tue Dec 13 07:57:08 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Dec 13 07:57:08 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=1f9654ca

sci-visualization/mricrogl: version bump and dependency update (#711)

* sci-visualization/mricrogl: dependency update

Package-Manager: Portage-2.3.3, Repoman-2.3.1

* sci-visualization/mricrogl: version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../{mricrogl-9999.ebuild => mricrogl-1.0.20160930.ebuild}   | 12 +++++++-----
 sci-visualization/mricrogl/mricrogl-9999.ebuild              |  4 ++--
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-9999.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20160930.ebuild
similarity index 77%
copy from sci-visualization/mricrogl/mricrogl-9999.ebuild
copy to sci-visualization/mricrogl/mricrogl-1.0.20160930.ebuild
index 1b0a0ab..560e251 100644
--- a/sci-visualization/mricrogl/mricrogl-9999.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20160930.ebuild
@@ -2,21 +2,23 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="6"
+EAPI=6
 
-inherit git-r3 gnome2-utils
+inherit gnome2-utils
 
 DESCRIPTION="A simle medical imaging visualization tool"
 HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/neurolabusc/MRIcroGL.git"
+SRC_URI="https://github.com/neurolabusc/MRIcroGL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
+KEYWORDS="~amd64 ~x86"
 
 RDEPEND=""
 DEPEND="dev-lang/fpc
-	dev-lang/lazarus"
+	>=dev-lang/lazarus-1.6.2"
+
+S="${WORKDIR}/MRIcroGL-${PV}"
 
 src_compile() {
 	lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die

diff --git a/sci-visualization/mricrogl/mricrogl-9999.ebuild b/sci-visualization/mricrogl/mricrogl-9999.ebuild
index 1b0a0ab..c3904fa 100644
--- a/sci-visualization/mricrogl/mricrogl-9999.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="6"
+EAPI=6
 
 inherit git-r3 gnome2-utils
 
@@ -16,7 +16,7 @@ SLOT="0"
 
 RDEPEND=""
 DEPEND="dev-lang/fpc
-	dev-lang/lazarus"
+	>=dev-lang/lazarus-1.6.2"
 
 src_compile() {
 	lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2017-04-03 14:55 Marius Brehler
  0 siblings, 0 replies; 23+ messages in thread
From: Marius Brehler @ 2017-04-03 14:55 UTC (permalink / raw
  To: gentoo-commits

commit:     bf03ad3937677c61296bd8427469435e624e5f8b
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Fri Mar 31 07:49:54 2017 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri Mar 31 07:49:54 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=bf03ad39

sci-visualization/mricrogl: more appropriate path for application libraries (#765)

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 sci-visualization/mricrogl/mricrogl-9999.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-9999.ebuild b/sci-visualization/mricrogl/mricrogl-9999.ebuild
index c1edf4138..6b078f368 100644
--- a/sci-visualization/mricrogl/mricrogl-9999.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,9 @@ SLOT="0"
 
 RDEPEND=""
 DEPEND="dev-lang/fpc
-	>=dev-lang/lazarus-1.6.2"
+	>=dev-lang/lazarus-1.6.2
+	media-libs/mesa
+	"
 
 src_compile() {
 	lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
@@ -24,8 +26,8 @@ src_compile() {
 src_install() {
 	dobin MRIcroGL
 
-	insinto /usr/bin/shaders
-	doins shaders/*.txt
+	insinto /usr/share/mricrogl
+	doins lut/* script/* shaders/*
 
 	doicon -s scalable mricrogl.svg
 	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2017-04-03 14:55 Marius Brehler
  0 siblings, 0 replies; 23+ messages in thread
From: Marius Brehler @ 2017-04-03 14:55 UTC (permalink / raw
  To: gentoo-commits

commit:     8817cf9f106f16f97244e463099fc3f848c79847
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Sat Apr  1 11:15:27 2017 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Sat Apr  1 11:15:27 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=8817cf9f

sci-visualization/mricrogl: corrected library installation (#768)

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sci-visualization/mricrogl/mricrogl-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/mricrogl/mricrogl-9999.ebuild b/sci-visualization/mricrogl/mricrogl-9999.ebuild
index 6b078f368..cb8d0273d 100644
--- a/sci-visualization/mricrogl/mricrogl-9999.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-9999.ebuild
@@ -27,7 +27,7 @@ src_install() {
 	dobin MRIcroGL
 
 	insinto /usr/share/mricrogl
-	doins lut/* script/* shaders/*
+	doins -r lut script shaders
 
 	doicon -s scalable mricrogl.svg
 	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2017-04-14 11:17 Justin Lecher
  0 siblings, 0 replies; 23+ messages in thread
From: Justin Lecher @ 2017-04-14 11:17 UTC (permalink / raw
  To: gentoo-commits

commit:     d02f6de87dc62fe8fb34eedc0c9bcd5d42b7980c
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Wed Apr 12 13:21:03 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Apr 12 13:21:03 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d02f6de8

sci-visualization/mricrogl: version bump (#773)

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 .../mricrogl/mricrogl-1.0.20170401.ebuild          | 41 ++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild
new file mode 100644
index 000000000..5795dd323
--- /dev/null
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils
+
+DESCRIPTION="A simple medical imaging visualization tool"
+HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
+SRC_URI="https://github.com/neurolabusc/MRIcroGL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=""
+DEPEND="dev-lang/fpc
+	>=dev-lang/lazarus-1.6.2"
+
+S="${WORKDIR}/MRIcroGL-${PV}"
+
+src_compile() {
+	lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
+}
+
+src_install() {
+	dobin MRIcroGL
+
+	insinto /usr/share/mricrogl
+	doins -r lut script shaders
+
+	doicon -s scalable mricrogl.svg
+	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2017-09-21  2:56 Benda XU
  0 siblings, 0 replies; 23+ messages in thread
From: Benda XU @ 2017-09-21  2:56 UTC (permalink / raw
  To: gentoo-commits

commit:     bde04ba5a872a67566f838c071ce08a75482ed7e
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Mon Jul 17 17:12:31 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 02:55:35 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=bde04ba5

sci-visualization/mricrogl: version bump.

Closes: https://github.com/gentoo/sci/pull/798
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../mricrogl/mricrogl-1.0.20170714.ebuild          | 41 ++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild
new file mode 100644
index 000000000..d8316d3d8
--- /dev/null
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils
+
+DESCRIPTION="A simple medical imaging visualization tool"
+HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
+SRC_URI="https://github.com/neurolabusc/MRIcroGL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=""
+DEPEND="dev-lang/fpc
+	>=dev-lang/lazarus-1.6.2"
+
+S="${WORKDIR}/MRIcroGL-${PV}"
+
+src_compile() {
+	lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
+}
+
+src_install() {
+	dobin MRIcroGL
+
+	insinto /usr/share/mricrogl
+	doins -r lut script shaders
+
+	doicon -s scalable mricrogl.svg
+	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2017-12-24 10:28 David Seifert
  0 siblings, 0 replies; 23+ messages in thread
From: David Seifert @ 2017-12-24 10:28 UTC (permalink / raw
  To: gentoo-commits

commit:     9dbea3cc940e9674b8c17fe54214bb3f405cfe1b
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Fri Dec 15 12:59:47 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 10:28:19 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9dbea3cc

sci-visualization/mricrogl: Made prefix-compatible, removed old versions

Package-Manager: Portage-2.3.16, Repoman-2.3.6
Closes: https://github.com/gentoo/sci/pull/828

 .../mricrogl/mricrogl-1.0.20151111.ebuild          | 41 ----------------------
 .../mricrogl/mricrogl-1.0.20160930.ebuild          | 41 ----------------------
 .../mricrogl/mricrogl-1.0.20170401.ebuild          |  2 +-
 .../mricrogl/mricrogl-1.0.20170714.ebuild          |  2 +-
 sci-visualization/mricrogl/mricrogl-9999.ebuild    |  2 +-
 5 files changed, 3 insertions(+), 85 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild
deleted file mode 100644
index 75fbd48e4..000000000
--- a/sci-visualization/mricrogl/mricrogl-1.0.20151111.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit git-r3 gnome2-utils
-
-DESCRIPTION="A simple medical imaging visualization tool"
-HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/neurolabusc/MRIcroGL.git"
-EGIT_COMMIT="${PV}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND=""
-DEPEND="<dev-lang/fpc-3.0.0
-	dev-lang/lazarus"
-
-src_compile() {
-	lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
-}
-
-src_install() {
-	dobin MRIcroGL
-
-	insinto /usr/bin/shaders
-	doins shaders/*.txt
-
-	doicon -s scalable mricrogl.svg
-	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-}
-pkg_postrm() {
-	gnome2_icon_cache_update
-}

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20160930.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20160930.ebuild
deleted file mode 100644
index 13a070a42..000000000
--- a/sci-visualization/mricrogl/mricrogl-1.0.20160930.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gnome2-utils
-
-DESCRIPTION="A simple medical imaging visualization tool"
-HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
-SRC_URI="https://github.com/neurolabusc/MRIcroGL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND=""
-DEPEND="dev-lang/fpc
-	>=dev-lang/lazarus-1.6.2"
-
-S="${WORKDIR}/MRIcroGL-${PV}"
-
-src_compile() {
-	lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
-}
-
-src_install() {
-	dobin MRIcroGL
-
-	insinto /usr/bin/shaders
-	doins shaders/*.txt
-
-	doicon -s scalable mricrogl.svg
-	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-}
-pkg_postrm() {
-	gnome2_icon_cache_update
-}

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild
index 5795dd323..b3df3546f 100644
--- a/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild
@@ -20,7 +20,7 @@ DEPEND="dev-lang/fpc
 S="${WORKDIR}/MRIcroGL-${PV}"
 
 src_compile() {
-	lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
+	lazbuild -B --lazarusdir="${EPREFIX}/usr/share/lazarus/" simplelaz.lpi || die
 }
 
 src_install() {

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild
index d8316d3d8..388c8a3e1 100644
--- a/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild
@@ -20,7 +20,7 @@ DEPEND="dev-lang/fpc
 S="${WORKDIR}/MRIcroGL-${PV}"
 
 src_compile() {
-	lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
+	lazbuild -B --lazarusdir="${EPREFIX}/usr/share/lazarus/" simplelaz.lpi || die
 }
 
 src_install() {

diff --git a/sci-visualization/mricrogl/mricrogl-9999.ebuild b/sci-visualization/mricrogl/mricrogl-9999.ebuild
index cb8d0273d..802061f94 100644
--- a/sci-visualization/mricrogl/mricrogl-9999.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-9999.ebuild
@@ -20,7 +20,7 @@ DEPEND="dev-lang/fpc
 	"
 
 src_compile() {
-	lazbuild -B --lazarusdir="/usr/share/lazarus/" simplelaz.lpi || die
+	lazbuild -B --lazarusdir="${EPREFIX}/usr/share/lazarus/" simplelaz.lpi || die
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2018-06-05 21:18 Horea Christian
  0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2018-06-05 21:18 UTC (permalink / raw
  To: gentoo-commits

commit:     e9d9b186f708732bb1f369caca283be9f3fb28b1
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Tue Jun  5 19:47:50 2018 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Jun  5 21:18:00 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e9d9b186

sci-visualization/mricrogl: version bump

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../mricrogl/mricrogl-1.0.20180402.ebuild          | 41 ++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20180402.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20180402.ebuild
new file mode 100644
index 000000000..ab87019a2
--- /dev/null
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20180402.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils
+
+DESCRIPTION="A simple medical imaging visualization tool"
+HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
+SRC_URI="https://github.com/neurolabusc/MRIcroGL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=""
+DEPEND="dev-lang/fpc
+	>=dev-lang/lazarus-1.6.2"
+
+S="${WORKDIR}/MRIcroGL-${PV}"
+
+src_compile() {
+	lazbuild -B --lazarusdir="${EPREFIX}/usr/share/lazarus/" simplelaz.lpi || die
+}
+
+src_install() {
+	dobin MRIcroGL
+
+	insinto /usr/share/mricrogl
+	doins -r lut script shaders
+
+	doicon -s scalable mricrogl.svg
+	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2018-09-23 23:57 Horea Christian
  0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2018-09-23 23:57 UTC (permalink / raw
  To: gentoo-commits

commit:     aecc1ca8aabb4b17ae45dd162552a9ff9ddd1da3
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Sun Sep 23 23:57:19 2018 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Sun Sep 23 23:57:19 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=aecc1ca8

sci-visualization/mricrogl: version bump

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 .../mricrogl/mricrogl-1.0.20180623.ebuild          | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild
new file mode 100644
index 000000000..3c54c1576
--- /dev/null
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils
+
+DESCRIPTION="A simple medical imaging visualization tool"
+HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
+SRC_URI="https://github.com/neurolabusc/MRIcroGL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=""
+DEPEND="dev-lang/fpc
+	>=dev-lang/lazarus-1.6.2[python]"
+
+S="${WORKDIR}/MRIcroGL-${PV}"
+
+src_compile() {
+	# Python support will only be vaialable for the default implementation:
+	# https://github.com/neurolabusc/MRIcroGL/issues/30#issuecomment-423216197
+	cp -rf /etc/lazarus system-lazarus-config
+	lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" simplelaz.lpi || die
+}
+
+src_install() {
+	dobin MRIcroGL
+
+	insinto /usr/share/mricrogl
+	doins -r lut script shaders
+
+	doicon -s scalable mricrogl.svg
+	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2018-09-24  0:04 Horea Christian
  0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2018-09-24  0:04 UTC (permalink / raw
  To: gentoo-commits

commit:     e98986c9defdc6abe6671528a0bf348ae3986c69
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Sun Sep 23 23:59:11 2018 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Sep 24 00:04:06 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e98986c9

sci-visualization/mricrogl: updated live ebuild

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sci-visualization/mricrogl/mricrogl-9999.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-9999.ebuild b/sci-visualization/mricrogl/mricrogl-9999.ebuild
index 802061f94..45eb77642 100644
--- a/sci-visualization/mricrogl/mricrogl-9999.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,7 +20,10 @@ DEPEND="dev-lang/fpc
 	"
 
 src_compile() {
-	lazbuild -B --lazarusdir="${EPREFIX}/usr/share/lazarus/" simplelaz.lpi || die
+	# Python support will only be vaialable for the default implementation:
+	# https://github.com/neurolabusc/MRIcroGL/issues/30#issuecomment-423216197
+	cp -rf /etc/lazarus system-lazarus-config
+	lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" simplelaz.lpi || die
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2020-04-01  8:31 Horea Christian
  0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2020-04-01  8:31 UTC (permalink / raw
  To: gentoo-commits

commit:     88292032cf78e3bfd6c3f0c2dbba21a01f3bf955
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Wed Apr  1 08:31:00 2020 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Wed Apr  1 08:31:00 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=88292032

sci-visualization/mricrogl: removed deprecated versions

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 .../mricrogl/mricrogl-1.0.20170401.ebuild          | 41 ----------------------
 .../mricrogl/mricrogl-1.0.20170714.ebuild          | 41 ----------------------
 2 files changed, 82 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild
deleted file mode 100644
index b3df3546f..000000000
--- a/sci-visualization/mricrogl/mricrogl-1.0.20170401.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gnome2-utils
-
-DESCRIPTION="A simple medical imaging visualization tool"
-HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
-SRC_URI="https://github.com/neurolabusc/MRIcroGL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND=""
-DEPEND="dev-lang/fpc
-	>=dev-lang/lazarus-1.6.2"
-
-S="${WORKDIR}/MRIcroGL-${PV}"
-
-src_compile() {
-	lazbuild -B --lazarusdir="${EPREFIX}/usr/share/lazarus/" simplelaz.lpi || die
-}
-
-src_install() {
-	dobin MRIcroGL
-
-	insinto /usr/share/mricrogl
-	doins -r lut script shaders
-
-	doicon -s scalable mricrogl.svg
-	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-}
-pkg_postrm() {
-	gnome2_icon_cache_update
-}

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild
deleted file mode 100644
index 388c8a3e1..000000000
--- a/sci-visualization/mricrogl/mricrogl-1.0.20170714.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils
-
-DESCRIPTION="A simple medical imaging visualization tool"
-HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
-SRC_URI="https://github.com/neurolabusc/MRIcroGL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND=""
-DEPEND="dev-lang/fpc
-	>=dev-lang/lazarus-1.6.2"
-
-S="${WORKDIR}/MRIcroGL-${PV}"
-
-src_compile() {
-	lazbuild -B --lazarusdir="${EPREFIX}/usr/share/lazarus/" simplelaz.lpi || die
-}
-
-src_install() {
-	dobin MRIcroGL
-
-	insinto /usr/share/mricrogl
-	doins -r lut script shaders
-
-	doicon -s scalable mricrogl.svg
-	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-}
-pkg_postrm() {
-	gnome2_icon_cache_update
-}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2020-04-01 13:27 Horea Christian
  0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2020-04-01 13:27 UTC (permalink / raw
  To: gentoo-commits

commit:     b4fe2d722da9813ba386a6547bc3c5e1af67c2e0
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Wed Apr  1 13:26:48 2020 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Wed Apr  1 13:26:48 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b4fe2d72

sci-visualization/mricrogl: metadata formatting

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 sci-visualization/mricrogl/metadata.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sci-visualization/mricrogl/metadata.xml b/sci-visualization/mricrogl/metadata.xml
index a9107b897..bfe2f032f 100644
--- a/sci-visualization/mricrogl/metadata.xml
+++ b/sci-visualization/mricrogl/metadata.xml
@@ -6,11 +6,11 @@
 		<name>Gentoo Science Project</name>
 	</maintainer>
 	<longdescription lang="en">
-MRIcroGL is a program designed to display 3D medical imaging.
-By using your computer's graphics card, it can allow real-time
-interactive rendering. It includes scripts to show you some of
-the many effects.
-</longdescription>
+		MRIcroGL is a program designed to display 3D medical imaging.
+		By using your computer's graphics card, it can allow real-time
+		interactive rendering. It includes scripts to show you some of
+		the many effects.
+	</longdescription>
 	<upstream>
 		<remote-id type="github">neurolabusc/MRIcroGL</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2020-04-01 13:29 Horea Christian
  0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2020-04-01 13:29 UTC (permalink / raw
  To: gentoo-commits

commit:     b5f0c9da2cdb876bdda6278a03096018c9f22a6b
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Wed Apr  1 13:29:16 2020 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Wed Apr  1 13:29:16 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b5f0c9da

sci-visualization/mricrogl: dropped live version

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 sci-visualization/mricrogl/mricrogl-9999.ebuild | 44 -------------------------
 1 file changed, 44 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-9999.ebuild b/sci-visualization/mricrogl/mricrogl-9999.ebuild
deleted file mode 100644
index 45eb77642..000000000
--- a/sci-visualization/mricrogl/mricrogl-9999.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit git-r3 gnome2-utils
-
-DESCRIPTION="A simple medical imaging visualization tool"
-HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/neurolabusc/MRIcroGL.git"
-
-LICENSE="BSD"
-SLOT="0"
-
-RDEPEND=""
-DEPEND="dev-lang/fpc
-	>=dev-lang/lazarus-1.6.2
-	media-libs/mesa
-	"
-
-src_compile() {
-	# Python support will only be vaialable for the default implementation:
-	# https://github.com/neurolabusc/MRIcroGL/issues/30#issuecomment-423216197
-	cp -rf /etc/lazarus system-lazarus-config
-	lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" simplelaz.lpi || die
-}
-
-src_install() {
-	dobin MRIcroGL
-
-	insinto /usr/share/mricrogl
-	doins -r lut script shaders
-
-	doicon -s scalable mricrogl.svg
-	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-}
-pkg_postrm() {
-	gnome2_icon_cache_update
-}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2020-04-01 21:30 Horea Christian
  0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2020-04-01 21:30 UTC (permalink / raw
  To: gentoo-commits

commit:     cdfe003acbda7e49273fde41daac188fa4db98e9
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Wed Apr  1 21:29:50 2020 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Wed Apr  1 21:29:50 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=cdfe003a

sci-visualization/mricrogl: version bump 1.2.20200331

And DICOM support via USE flag

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 sci-visualization/mricrogl/metadata.xml            |  3 ++
 .../mricrogl/mricrogl-1.2.20200331.ebuild          | 49 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/sci-visualization/mricrogl/metadata.xml b/sci-visualization/mricrogl/metadata.xml
index bfe2f032f..076b1ca19 100644
--- a/sci-visualization/mricrogl/metadata.xml
+++ b/sci-visualization/mricrogl/metadata.xml
@@ -11,6 +11,9 @@
 		interactive rendering. It includes scripts to show you some of
 		the many effects.
 	</longdescription>
+	<use>
+		<flag name="dicom">Adds limited read support for the DICOM imaging format.</flag>
+	</use>
 	<upstream>
 		<remote-id type="github">neurolabusc/MRIcroGL</remote-id>
 	</upstream>

diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild
new file mode 100644
index 000000000..3422a84e8
--- /dev/null
+++ b/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils desktop
+
+DEMOS_HASH="d07815f31093f28b47731f87f3f5ba5543f12d11"
+PY4LAZ_HASH="8dc41685b547f0982755b90115d9a43a2d2b358c"
+
+DESCRIPTION="A simple medical imaging visualization tool"
+HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
+SRC_URI="
+	https://github.com/rordenlab/MRIcroGL12/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/neurolabusc/Metal-Demos/archive/${DEMOS_HASH}.tar.gz -> Metal-Demos-${DEMOS_HASH}.tar.gz
+	python? ( https://github.com/Alexey-T/Python-for-Lazarus/archive/${PY4LAZ_HASH}.tar.gz -> Python-for-Lazarus-${P4LAZ_HASH}.tar.gz )
+	"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dicom python"
+
+RDEPEND="dicom? ( sci-biology/dcm2niix )"
+DEPEND="dev-lang/fpc
+	>=dev-lang/lazarus-1.6.2"
+
+S="${WORKDIR}/MRIcroGL12-${PV}"
+
+src_compile() {
+	sed -i -e "s:Metal-Demos/common:Metal-Demos-${DEMOS_HASH}/common:g" MRIcroGL_NoPython.lpi || die
+	if use python; then
+		lazbuild -build-ide= --add-package lazopenglcontext ./Python-for-Lazarus-${PY4LAZ}/python4lazarus/python4lazarus_package.lpk || die
+	else
+		lazbuild --verbose-pkgsearch lazopenglcontext
+	fi
+	lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_NoPython.lpi || die
+}
+
+src_install() {
+	dobin MRIcroGL
+
+	pushd Resources > /dev/null
+		insinto /usr/share/MRIcroGL
+		doins -r lut matcap Roboto.* script shader
+		doicon -s scalable mricrogl.svg
+		make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
+	popd
+}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2021-01-19 17:02 Andrew Ammerlaan
  0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2021-01-19 17:02 UTC (permalink / raw
  To: gentoo-commits

commit:     0f7cbe72052088f88b0bfd15d6321f83265530f6
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 19 17:00:16 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 19 17:00:16 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=0f7cbe72

sci-visualization/mricrogl: add use default

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild
index 3c54c1576..fe93caa39 100644
--- a/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86"
 
 RDEPEND=""
 DEPEND="dev-lang/fpc
-	>=dev-lang/lazarus-1.6.2[python]"
+	>=dev-lang/lazarus-1.6.2[python(-)]"
 
 S="${WORKDIR}/MRIcroGL-${PV}"
 


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2021-03-20 10:44 Andrew Ammerlaan
  0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2021-03-20 10:44 UTC (permalink / raw
  To: gentoo-commits

commit:     0fe89dfd2da63b5fc55d12153e0d1e4cb04a181b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar 20 10:44:30 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar 20 10:44:30 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=0fe89dfd

sci-visualization/mricrogl: drop old

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .../mricrogl/mricrogl-1.0.20180402.ebuild          | 41 --------------------
 .../mricrogl/mricrogl-1.0.20180623.ebuild          | 44 ----------------------
 2 files changed, 85 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20180402.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20180402.ebuild
deleted file mode 100644
index ab87019a2..000000000
--- a/sci-visualization/mricrogl/mricrogl-1.0.20180402.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils
-
-DESCRIPTION="A simple medical imaging visualization tool"
-HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
-SRC_URI="https://github.com/neurolabusc/MRIcroGL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND=""
-DEPEND="dev-lang/fpc
-	>=dev-lang/lazarus-1.6.2"
-
-S="${WORKDIR}/MRIcroGL-${PV}"
-
-src_compile() {
-	lazbuild -B --lazarusdir="${EPREFIX}/usr/share/lazarus/" simplelaz.lpi || die
-}
-
-src_install() {
-	dobin MRIcroGL
-
-	insinto /usr/share/mricrogl
-	doins -r lut script shaders
-
-	doicon -s scalable mricrogl.svg
-	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-}
-pkg_postrm() {
-	gnome2_icon_cache_update
-}

diff --git a/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild b/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild
deleted file mode 100644
index fe93caa39..000000000
--- a/sci-visualization/mricrogl/mricrogl-1.0.20180623.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils
-
-DESCRIPTION="A simple medical imaging visualization tool"
-HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
-SRC_URI="https://github.com/neurolabusc/MRIcroGL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND=""
-DEPEND="dev-lang/fpc
-	>=dev-lang/lazarus-1.6.2[python(-)]"
-
-S="${WORKDIR}/MRIcroGL-${PV}"
-
-src_compile() {
-	# Python support will only be vaialable for the default implementation:
-	# https://github.com/neurolabusc/MRIcroGL/issues/30#issuecomment-423216197
-	cp -rf /etc/lazarus system-lazarus-config
-	lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" simplelaz.lpi || die
-}
-
-src_install() {
-	dobin MRIcroGL
-
-	insinto /usr/share/mricrogl
-	doins -r lut script shaders
-
-	doicon -s scalable mricrogl.svg
-	make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-}
-pkg_postrm() {
-	gnome2_icon_cache_update
-}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2021-12-16 10:57 Andrew Ammerlaan
  0 siblings, 0 replies; 23+ messages in thread
From: Andrew Ammerlaan @ 2021-12-16 10:57 UTC (permalink / raw
  To: gentoo-commits

commit:     b8a9f3835eb2a79a2e178aafc4998213ebdfbb04
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 10:56:35 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 10:56:35 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b8a9f383

sci-visualization/mricrogl: drop UnusedInherits

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild
index 3422a84e8..df2f1aa38 100644
--- a/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit eutils desktop
+inherit desktop
 
 DEMOS_HASH="d07815f31093f28b47731f87f3f5ba5543f12d11"
 PY4LAZ_HASH="8dc41685b547f0982755b90115d9a43a2d2b358c"


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2023-02-17  5:22 Horea Christian
  0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2023-02-17  5:22 UTC (permalink / raw
  To: gentoo-commits

commit:     8520f56b7eddefdedeedb45cbd7426979036ebd9
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Feb 17 04:54:53 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Feb 17 04:54:53 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=8520f56b

sci-visualization/mricrogl: add 1.2.20220720

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 .../mricrogl/mricrogl-1.2.20220720.ebuild          | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20220720.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20220720.ebuild
new file mode 100644
index 000000000..5a3ddea14
--- /dev/null
+++ b/sci-visualization/mricrogl/mricrogl-1.2.20220720.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="MRIcroGL"
+inherit desktop
+
+DESCRIPTION="A simple medical imaging visualization tool"
+HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
+SRC_URI="https://github.com/rordenlab/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dicom python"
+
+RDEPEND="dicom? ( sci-biology/dcm2niix )"
+DEPEND="
+	dev-lang/fpc
+	dev-lang/lazarus
+	"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_compile() {
+	# Allegedly the Debian recipe contains some sort of Python support, wasn't able to test.
+	if use python; then
+		lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_Debian.lpi || die
+	else
+		lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_NoPython.lpi || die
+	fi
+}
+
+src_install() {
+	dobin MRIcroGL
+
+	pushd Resources > /dev/null
+		insinto /usr/share/MRIcroGL
+		doins -r lut matcap Roboto.* script shader
+		doicon -s scalable mricrogl.svg
+		make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
+	popd
+}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2023-02-17  5:22 Horea Christian
  0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2023-02-17  5:22 UTC (permalink / raw
  To: gentoo-commits

commit:     a851620111ed8a70e79094b5da2fc43907a8eec0
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Feb 17 04:43:23 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Feb 17 04:43:23 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a8516201

sci-visualization/mricrogl: version bump

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 .../mricrogl/mricrogl-1.2.20200331.ebuild          |  2 +-
 .../mricrogl/mricrogl-1.2.20211007.ebuild          | 44 ++++++++++++++++++++++
 2 files changed, 45 insertions(+), 1 deletion(-)

diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild
index df2f1aa38..3f54f30d6 100644
--- a/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild
@@ -25,7 +25,7 @@ RDEPEND="dicom? ( sci-biology/dcm2niix )"
 DEPEND="dev-lang/fpc
 	>=dev-lang/lazarus-1.6.2"
 
-S="${WORKDIR}/MRIcroGL12-${PV}"
+S="${WORKDIR}/MRIcroGL-${PV}"
 
 src_compile() {
 	sed -i -e "s:Metal-Demos/common:Metal-Demos-${DEMOS_HASH}/common:g" MRIcroGL_NoPython.lpi || die

diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20211007.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20211007.ebuild
new file mode 100644
index 000000000..5a3ddea14
--- /dev/null
+++ b/sci-visualization/mricrogl/mricrogl-1.2.20211007.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="MRIcroGL"
+inherit desktop
+
+DESCRIPTION="A simple medical imaging visualization tool"
+HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
+SRC_URI="https://github.com/rordenlab/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dicom python"
+
+RDEPEND="dicom? ( sci-biology/dcm2niix )"
+DEPEND="
+	dev-lang/fpc
+	dev-lang/lazarus
+	"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_compile() {
+	# Allegedly the Debian recipe contains some sort of Python support, wasn't able to test.
+	if use python; then
+		lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_Debian.lpi || die
+	else
+		lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_NoPython.lpi || die
+	fi
+}
+
+src_install() {
+	dobin MRIcroGL
+
+	pushd Resources > /dev/null
+		insinto /usr/share/MRIcroGL
+		doins -r lut matcap Roboto.* script shader
+		doicon -s scalable mricrogl.svg
+		make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
+	popd
+}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2023-02-17  5:22 Horea Christian
  0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2023-02-17  5:22 UTC (permalink / raw
  To: gentoo-commits

commit:     b075bdf0e9a40fff1332c5014a6f84cbf450bd1c
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Feb 17 04:55:20 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Feb 17 04:55:20 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b075bdf0

sci-visualization/mricrogl: drop 1.2.20200331

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 .../mricrogl/mricrogl-1.2.20200331.ebuild          | 49 ----------------------
 1 file changed, 49 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild
deleted file mode 100644
index 3f54f30d6..000000000
--- a/sci-visualization/mricrogl/mricrogl-1.2.20200331.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop
-
-DEMOS_HASH="d07815f31093f28b47731f87f3f5ba5543f12d11"
-PY4LAZ_HASH="8dc41685b547f0982755b90115d9a43a2d2b358c"
-
-DESCRIPTION="A simple medical imaging visualization tool"
-HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
-SRC_URI="
-	https://github.com/rordenlab/MRIcroGL12/archive/v${PV}.tar.gz -> ${P}.tar.gz
-	https://github.com/neurolabusc/Metal-Demos/archive/${DEMOS_HASH}.tar.gz -> Metal-Demos-${DEMOS_HASH}.tar.gz
-	python? ( https://github.com/Alexey-T/Python-for-Lazarus/archive/${PY4LAZ_HASH}.tar.gz -> Python-for-Lazarus-${P4LAZ_HASH}.tar.gz )
-	"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dicom python"
-
-RDEPEND="dicom? ( sci-biology/dcm2niix )"
-DEPEND="dev-lang/fpc
-	>=dev-lang/lazarus-1.6.2"
-
-S="${WORKDIR}/MRIcroGL-${PV}"
-
-src_compile() {
-	sed -i -e "s:Metal-Demos/common:Metal-Demos-${DEMOS_HASH}/common:g" MRIcroGL_NoPython.lpi || die
-	if use python; then
-		lazbuild -build-ide= --add-package lazopenglcontext ./Python-for-Lazarus-${PY4LAZ}/python4lazarus/python4lazarus_package.lpk || die
-	else
-		lazbuild --verbose-pkgsearch lazopenglcontext
-	fi
-	lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_NoPython.lpi || die
-}
-
-src_install() {
-	dobin MRIcroGL
-
-	pushd Resources > /dev/null
-		insinto /usr/share/MRIcroGL
-		doins -r lut matcap Roboto.* script shader
-		doicon -s scalable mricrogl.svg
-		make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
-	popd
-}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/
@ 2023-02-17 20:14 Horea Christian
  0 siblings, 0 replies; 23+ messages in thread
From: Horea Christian @ 2023-02-17 20:14 UTC (permalink / raw
  To: gentoo-commits

commit:     636d6e9b37345f339947eb1897673c8a93aaead4
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Feb 17 20:14:26 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Feb 17 20:14:26 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=636d6e9b

sci-visualization/mricrogl: revbumps for deps and icon cache

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 ...1007.ebuild => mricrogl-1.2.20211007-r1.ebuild} | 32 ++++++++++++++++++----
 ...0720.ebuild => mricrogl-1.2.20220720-r1.ebuild} | 32 ++++++++++++++++++----
 2 files changed, 54 insertions(+), 10 deletions(-)

diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20211007.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20211007-r1.ebuild
similarity index 51%
rename from sci-visualization/mricrogl/mricrogl-1.2.20211007.ebuild
rename to sci-visualization/mricrogl/mricrogl-1.2.20211007-r1.ebuild
index 5a3ddea14..da8e446cf 100644
--- a/sci-visualization/mricrogl/mricrogl-1.2.20211007.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-1.2.20211007-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 MY_PN="MRIcroGL"
-inherit desktop
+inherit desktop xdg-utils
 
 DESCRIPTION="A simple medical imaging visualization tool"
 HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
@@ -15,20 +15,27 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="dicom python"
 
-RDEPEND="dicom? ( sci-biology/dcm2niix )"
+BDEPEND="dev-lang/lazarus"
 DEPEND="
 	dev-lang/fpc
-	dev-lang/lazarus
+	x11-misc/appmenu-gtk-module[gtk2]
 	"
+RDEPEND="dicom? ( sci-biology/dcm2niix )"
 
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 src_compile() {
 	# Allegedly the Debian recipe contains some sort of Python support, wasn't able to test.
 	if use python; then
-		lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_Debian.lpi || die
+		lazbuild -B \
+			--lazarusdir="/usr/share/lazarus/" \
+			--pcp="system-lazarus-config" \
+			MRIcroGL_Debian.lpi || die
 	else
-		lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_NoPython.lpi || die
+		lazbuild -B \
+			--lazarusdir="/usr/share/lazarus/" \
+			--pcp="system-lazarus-config" \
+			MRIcroGL_NoPython.lpi || die
 	fi
 }
 
@@ -42,3 +49,18 @@ src_install() {
 		make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
 	popd
 }
+
+pkg_postinst(){
+	xdg_icon_cache_update
+
+	ewarn "This package might exhibit nondeterministic lag at startup manifesting as a blank"
+	ewarn "window, which can either be closed (e.g. Alt+F4) manually leading to the actual"
+	ewarn "interface being launched, or will close itself after 10-20s and start the proper GUI"
+	ewarn "For more details on this look up: https://github.com/rordenlab/MRIcroGL/issues/49"
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+}

diff --git a/sci-visualization/mricrogl/mricrogl-1.2.20220720.ebuild b/sci-visualization/mricrogl/mricrogl-1.2.20220720-r1.ebuild
similarity index 51%
rename from sci-visualization/mricrogl/mricrogl-1.2.20220720.ebuild
rename to sci-visualization/mricrogl/mricrogl-1.2.20220720-r1.ebuild
index 5a3ddea14..da8e446cf 100644
--- a/sci-visualization/mricrogl/mricrogl-1.2.20220720.ebuild
+++ b/sci-visualization/mricrogl/mricrogl-1.2.20220720-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 MY_PN="MRIcroGL"
-inherit desktop
+inherit desktop xdg-utils
 
 DESCRIPTION="A simple medical imaging visualization tool"
 HOMEPAGE="https://github.com/neurolabusc/MRIcroGL"
@@ -15,20 +15,27 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="dicom python"
 
-RDEPEND="dicom? ( sci-biology/dcm2niix )"
+BDEPEND="dev-lang/lazarus"
 DEPEND="
 	dev-lang/fpc
-	dev-lang/lazarus
+	x11-misc/appmenu-gtk-module[gtk2]
 	"
+RDEPEND="dicom? ( sci-biology/dcm2niix )"
 
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 src_compile() {
 	# Allegedly the Debian recipe contains some sort of Python support, wasn't able to test.
 	if use python; then
-		lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_Debian.lpi || die
+		lazbuild -B \
+			--lazarusdir="/usr/share/lazarus/" \
+			--pcp="system-lazarus-config" \
+			MRIcroGL_Debian.lpi || die
 	else
-		lazbuild -B --lazarusdir="/usr/share/lazarus/" --pcp="system-lazarus-config" MRIcroGL_NoPython.lpi || die
+		lazbuild -B \
+			--lazarusdir="/usr/share/lazarus/" \
+			--pcp="system-lazarus-config" \
+			MRIcroGL_NoPython.lpi || die
 	fi
 }
 
@@ -42,3 +49,18 @@ src_install() {
 		make_desktop_entry MRIcroGL MRIcroGL /usr/share/icons/hicolor/scalable/apps/mricrogl.svg
 	popd
 }
+
+pkg_postinst(){
+	xdg_icon_cache_update
+
+	ewarn "This package might exhibit nondeterministic lag at startup manifesting as a blank"
+	ewarn "window, which can either be closed (e.g. Alt+F4) manually leading to the actual"
+	ewarn "interface being launched, or will close itself after 10-20s and start the proper GUI"
+	ewarn "For more details on this look up: https://github.com/rordenlab/MRIcroGL/issues/49"
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+	xdg_mimeinfo_database_update
+	xdg_desktop_database_update
+}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2023-02-17 20:14 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-17  5:22 [gentoo-commits] proj/sci:master commit in: sci-visualization/mricrogl/ Horea Christian
  -- strict thread matches above, loose matches on Subject: below --
2023-02-17 20:14 Horea Christian
2023-02-17  5:22 Horea Christian
2023-02-17  5:22 Horea Christian
2021-12-16 10:57 Andrew Ammerlaan
2021-03-20 10:44 Andrew Ammerlaan
2021-01-19 17:02 Andrew Ammerlaan
2020-04-01 21:30 Horea Christian
2020-04-01 13:29 Horea Christian
2020-04-01 13:27 Horea Christian
2020-04-01  8:31 Horea Christian
2018-09-24  0:04 Horea Christian
2018-09-23 23:57 Horea Christian
2018-06-05 21:18 Horea Christian
2017-12-24 10:28 David Seifert
2017-09-21  2:56 Benda XU
2017-04-14 11:17 Justin Lecher
2017-04-03 14:55 Marius Brehler
2017-04-03 14:55 Marius Brehler
2016-12-17 18:05 Justin Lecher
2016-05-07  9:29 Justin Lecher
2016-04-26 19:06 Justin Lecher
2016-03-06 19:41 Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox