public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/replicatorg/
Date: Wed,  3 Jan 2018 18:39:10 +0000 (UTC)	[thread overview]
Message-ID: <1515004700.e21b1b0fdcedb0852946c20d1f2cfcfebbaad5bc.soap@gentoo> (raw)

commit:     e21b1b0fdcedb0852946c20d1f2cfcfebbaad5bc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  3 18:38:20 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jan  3 18:38:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e21b1b0f

media-gfx/replicatorg: Port to EAPI 6

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-gfx/replicatorg/replicatorg-37-r2.ebuild | 72 ++++++++++++++------------
 media-gfx/replicatorg/replicatorg-40-r1.ebuild | 72 ++++++++++++++------------
 2 files changed, 80 insertions(+), 64 deletions(-)

diff --git a/media-gfx/replicatorg/replicatorg-37-r2.ebuild b/media-gfx/replicatorg/replicatorg-37-r2.ebuild
index fbb7b8981ea..d2ec0905f93 100644
--- a/media-gfx/replicatorg/replicatorg-37-r2.ebuild
+++ b/media-gfx/replicatorg/replicatorg-37-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="3"
+EAPI=6
 
-inherit eutils versionator user
+inherit versionator user
 
 MY_P="${PN}-00${PV}"
 
@@ -11,45 +11,30 @@ DESCRIPTION="ReplicatorG is a simple, open source 3D printing program"
 HOMEPAGE="http://replicat.org/start https://github.com/makerbot/ReplicatorG"
 SRC_URI="https://replicatorg.googlecode.com/files/${MY_P}-linux.tgz"
 
-SLOT="0"
 LICENSE="GPL-2"
+SLOT="0"
 KEYWORDS="~amd64 ~x86"
-
 IUSE=""
 
-COMMON_DEPEND="dev-java/oracle-jre-bin"
+COMMON_DEPEND="dev-java/oracle-jre-bin:*"
 RDEPEND="${COMMON_DEPEND}"
 DEPEND="${COMMON_DEPEND}"
 
 S="${WORKDIR}/${MY_P}"
 
+QA_WX_LOAD="
+	/opt/replicatorg/skein_engines/slic3r_engines/linux/lib/vrt/f319e78215d06c9bbdc612ed9aef7e56/SSLeay.so
+	/opt/replicatorg/skein_engines/slic3r_engines/linux/lib/vrt/80ccae99bc6b1afe192d6aa7724673cf/SSLeay.so"
+QA_TEXTRELS="
+	/opt/replicatorg/skein_engines/slic3r_engines/linux/lib/vrt/f319e78215d06c9bbdc612ed9aef7e56/SSLeay.so
+	/opt/replicatorg/skein_engines/slic3r_engines/linux/lib/vrt/80ccae99bc6b1afe192d6aa7724673cf/SSLeay.so
+	/opt/replicatorg/lib-i686/libj3dcore-ogl.so
+	/opt/replicatorg/lib-i686/libj3dcore-ogl-cg.so"
+
 pkg_setup() {
 	enewgroup replicator
 }
 
-pkg_postinst() {
-	elog "Replicatorg requires Sun/Oracle JRE and will not work with OpenJDK."
-	elog
-	elog "Ensure that your user account has permissions to access serial port,"
-	elog "if you plan to connect directly to a 3d printer rather than using"
-	elog "a flash card. Printing directly from replicatorg is preferred."
-	elog
-	elog "The replicator printer will likely show up in /dev as ttyACM0."
-	elog "You may want to autoload the cdc_acm kernel module."
-	elog
-	elog "Note that replicatorg includes its own version of skeinforge."
-	elog "There doesn't seem to be a simple way to depend on an external"
-	elog "version."
-	elog
-	elog "Replicatorg users should add themselves to the replicator group"
-	elog "to avoid upstream warnings about not being able to modify shared"
-	elog "skeinforge scripts."
-	elog
-	chmod -R g+w "${ROOT}"/opt/replicatorg
-	chown -R root:replicator "${ROOT}"/opt/replicatorg
-	chmod 0755 /opt/replicatorg
-}
-
 src_install() {
 	dodir \
 		/opt/replicatorg \
@@ -61,7 +46,8 @@ src_install() {
 
 	dobin "${FILESDIR}"/replicatorg
 
-	/bin/cp -R --preserve=mode \
+	insinto /opt/replicatorg/
+	doins -r \
 		docs \
 		examples \
 		lib \
@@ -71,8 +57,7 @@ src_install() {
 		scripts \
 		replicatorg \
 		skein_engines \
-		tools \
-		"${D}"/opt/replicatorg/
+		tools
 
 	insinto /usr/share/replicatorg
 	doins -r \
@@ -80,5 +65,28 @@ src_install() {
 		license.txt \
 		readme.txt \
 		todo.txt
+}
 
+pkg_postinst() {
+	elog "Replicatorg requires Sun/Oracle JRE and will not work with OpenJDK."
+	elog
+	elog "Ensure that your user account has permissions to access serial port,"
+	elog "if you plan to connect directly to a 3d printer rather than using"
+	elog "a flash card. Printing directly from replicatorg is preferred."
+	elog
+	elog "The replicator printer will likely show up in /dev as ttyACM0."
+	elog "You may want to autoload the cdc_acm kernel module."
+	elog
+	elog "Note that replicatorg includes its own version of skeinforge."
+	elog "There doesn't seem to be a simple way to depend on an external"
+	elog "version."
+	elog
+	elog "Replicatorg users should add themselves to the replicator group"
+	elog "to avoid upstream warnings about not being able to modify shared"
+	elog "skeinforge scripts."
+	elog
+
+	chmod -R g+w "${EROOT%/}"/opt/replicatorg
+	chown -R root:replicator "${EROOT%/}"/opt/replicatorg
+	chmod 0755 /opt/replicatorg
 }

diff --git a/media-gfx/replicatorg/replicatorg-40-r1.ebuild b/media-gfx/replicatorg/replicatorg-40-r1.ebuild
index 2653c8696e8..217806f00c4 100644
--- a/media-gfx/replicatorg/replicatorg-40-r1.ebuild
+++ b/media-gfx/replicatorg/replicatorg-40-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="3"
+EAPI=6
 
-inherit eutils versionator user
+inherit versionator user
 
 MY_P="${PN}-00${PV}"
 
@@ -11,45 +11,30 @@ DESCRIPTION="ReplicatorG is a simple, open source 3D printing program"
 HOMEPAGE="http://replicat.org/start https://github.com/makerbot/ReplicatorG"
 SRC_URI="https://replicatorg.googlecode.com/files/${MY_P}-linux.tgz"
 
-SLOT="0"
 LICENSE="GPL-2"
+SLOT="0"
 KEYWORDS=""
-
 IUSE=""
 
-COMMON_DEPEND="dev-java/oracle-jre-bin"
+COMMON_DEPEND="dev-java/oracle-jre-bin:*"
 RDEPEND="${COMMON_DEPEND}"
 DEPEND="${COMMON_DEPEND}"
 
 S="${WORKDIR}/${MY_P}"
 
+QA_WX_LOAD="
+	/opt/replicatorg/skein_engines/slic3r_engines/linux/lib/vrt/f319e78215d06c9bbdc612ed9aef7e56/SSLeay.so
+	/opt/replicatorg/skein_engines/slic3r_engines/linux/lib/vrt/80ccae99bc6b1afe192d6aa7724673cf/SSLeay.so"
+QA_TEXTRELS="
+	/opt/replicatorg/skein_engines/slic3r_engines/linux/lib/vrt/f319e78215d06c9bbdc612ed9aef7e56/SSLeay.so
+	/opt/replicatorg/skein_engines/slic3r_engines/linux/lib/vrt/80ccae99bc6b1afe192d6aa7724673cf/SSLeay.so
+	/opt/replicatorg/lib-i686/libj3dcore-ogl.so
+	/opt/replicatorg/lib-i686/libj3dcore-ogl-cg.so"
+
 pkg_setup() {
 	enewgroup replicator
 }
 
-pkg_postinst() {
-	elog "Replicatorg requires Sun/Oracle JRE and will not work with OpenJDK."
-	elog
-	elog "Ensure that your user account has permissions to access serial port,"
-	elog "if you plan to connect directly to a 3d printer rather than using"
-	elog "a flash card. Printing directly from replicatorg is preferred."
-	elog
-	elog "The replicator printer will likely show up in /dev as ttyACM0."
-	elog "You may want to autoload the cdc_acm kernel module."
-	elog
-	elog "Note that replicatorg includes its own version of skeinforge."
-	elog "There doesn't seem to be a simple way to depend on an external"
-	elog "version."
-	elog
-	elog "Replicatorg users should add themselves to the replicator group"
-	elog "to avoid upstream warnings about not being able to modify shared"
-	elog "skeinforge scripts."
-	elog
-	chmod -R g+w "${ROOT}"/opt/replicatorg
-	chown -R root:replicator "${ROOT}"/opt/replicatorg
-	chmod 0755 /opt/replicatorg
-}
-
 src_install() {
 	dodir \
 		/opt/replicatorg \
@@ -61,7 +46,8 @@ src_install() {
 
 	dobin "${FILESDIR}"/replicatorg
 
-	/bin/cp -R --preserve=mode \
+	insinto /opt/replicatorg/
+	doins -r \
 		docs \
 		examples \
 		lib \
@@ -71,8 +57,7 @@ src_install() {
 		scripts \
 		replicatorg \
 		skein_engines \
-		tools \
-		"${D}"/opt/replicatorg/
+		tools
 
 	insinto /usr/share/replicatorg
 	doins -r \
@@ -80,5 +65,28 @@ src_install() {
 		license.txt \
 		readme.txt \
 		todo.txt
+}
 
+pkg_postinst() {
+	elog "Replicatorg requires Sun/Oracle JRE and will not work with OpenJDK."
+	elog
+	elog "Ensure that your user account has permissions to access serial port,"
+	elog "if you plan to connect directly to a 3d printer rather than using"
+	elog "a flash card. Printing directly from replicatorg is preferred."
+	elog
+	elog "The replicator printer will likely show up in /dev as ttyACM0."
+	elog "You may want to autoload the cdc_acm kernel module."
+	elog
+	elog "Note that replicatorg includes its own version of skeinforge."
+	elog "There doesn't seem to be a simple way to depend on an external"
+	elog "version."
+	elog
+	elog "Replicatorg users should add themselves to the replicator group"
+	elog "to avoid upstream warnings about not being able to modify shared"
+	elog "skeinforge scripts."
+	elog
+
+	chmod -R g+w "${EROOT%/}"/opt/replicatorg
+	chown -R root:replicator "${EROOT%/}"/opt/replicatorg
+	chmod 0755 /opt/replicatorg
 }


             reply	other threads:[~2018-01-03 18:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-03 18:39 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-04-02  9:13 [gentoo-commits] repo/gentoo:master commit in: media-gfx/replicatorg/ Pacho Ramos
2017-11-16 10:38 Jonas Stein
2016-08-06  9:16 Pacho Ramos
2015-09-25  8:11 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1515004700.e21b1b0fdcedb0852946c20d1f2cfcfebbaad5bc.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox