Gentoo Archives: gentoo-commits

From: "Matthew Marlow (mattm)" <mattm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/replicatorg: metadata.xml ChangeLog replicatorg-37.ebuild
Date: Thu, 02 Aug 2012 12:55:55
Message-Id: 20120802125545.1194C2004B@flycatcher.gentoo.org
1 mattm 12/08/02 12:55:44
2
3 Added: metadata.xml ChangeLog replicatorg-37.ebuild
4 Log:
5 Initial commit of basic printing software for the makerbot replicator 3d printer.
6
7 (Portage version: 2.1.11.9/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-gfx/replicatorg/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <maintainer>
21 <email>mattm@g.o</email>
22 <name>Matthew Marlowe</name>
23 </maintainer>
24 <longdescription>
25 This is the software that will drive your MakerBot Replicator, Thing-O-Matic, CupCake CNC, RepRap machine, or generic CNC machine. You can give it a GCode or STL file to process, and it takes it from there. It's cross platform, easily installed, and is based on the familiar Arduino / Processing environments. ReplicatorG is used by thousands of MakerBot Operators, and has printed tens of thousands of objects and counting.
26 </longdescription>
27 <use>
28 </use>
29 </pkgmetadata>
30
31
32
33 1.1 media-gfx/replicatorg/ChangeLog
34
35 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/ChangeLog?rev=1.1&view=markup
36 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/ChangeLog?rev=1.1&content-type=text/plain
37
38 Index: ChangeLog
39 ===================================================================
40 # ChangeLog for media-gfx/replicatorg
41 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
42 # $Header: /var/cvsroot/gentoo-x86/media-gfx/replicatorg/ChangeLog,v 1.1 2012/08/02 12:55:44 mattm Exp $
43
44 *replicatorg-37 (02 Aug 2012)
45
46 02 Aug 2012; Matthew Marlowe <mattm@g.o> +replicatorg-37.ebuild,
47 +files/replicatorg, +metadata.xml:
48 Initial Commit - replicatorg is open source software and a required tool when
49 working with common 3d printers such as the makerbot replicator.
50 Unfortunately it is based on java and focused on cross platform binaries. But
51 the initial install here does work and isnt that bad for what it is.
52
53
54
55
56 1.1 media-gfx/replicatorg/replicatorg-37.ebuild
57
58 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/replicatorg-37.ebuild?rev=1.1&view=markup
59 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/replicatorg-37.ebuild?rev=1.1&content-type=text/plain
60
61 Index: replicatorg-37.ebuild
62 ===================================================================
63 # Copyright 1999-2012 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 # $Header: /var/cvsroot/gentoo-x86/media-gfx/replicatorg/replicatorg-37.ebuild,v 1.1 2012/08/02 12:55:44 mattm Exp $
66
67 EAPI="3"
68
69 inherit eutils versionator
70
71 MY_P="${PN}-00${PV}"
72
73 DESCRIPTION="ReplicatorG is a simple, open source 3D printing program"
74 HOMEPAGE="http://replicat.org/start"
75 SRC_URI="http://replicatorg.googlecode.com/files/${MY_P}-linux.tgz"
76
77 SLOT="0"
78 LICENSE="GPL-2"
79 KEYWORDS=""
80
81 IUSE=""
82
83 COMMON_DEPEND="dev-java/sun-jre-bin"
84 RDEPEND="${COMMON_DEPEND}"
85 DEPEND="${COMMON_DEPEND}"
86
87 S="${WORKDIR}/${MY_P}"
88
89 pkg_setup() {
90 enewgroup replicator
91 }
92
93 pkg_postinst() {
94 elog "Replicatorg requires Sun/Oracle JRE and will not work with OpenJDK."
95 elog
96 elog "Ensure that your user account has permissions to access serial port,"
97 elog "if you plan to connect directly to a 3d printer. Saving gcode"
98 elog "to a flash card is currently the preferred printing method."
99 elog
100 elog "Note that replicatorg includes its own version of skeinforge."
101 elog "There doesn't seem to be a simple way to depend on an external"
102 elog "version."
103 elog
104 elog "Replicatorg users should add themselves to the replicator group"
105 elog "to avoid upstream warnings about not being able to modify shared"
106 elog "skeinforge scripts."
107 elog
108 chmod 0775 "${ROOT}"/opt/replicatorg
109 chown root:replicator "${ROOT}"/opt/replicatorg
110 }
111
112 src_install() {
113 dodir \
114 /opt/replicatorg \
115 /usr/share/replicatorg
116
117 keepdir \
118 /opt/relicatorg \
119 /usr/share/replicatorg
120
121 dobin "${FILESDIR}"/replicatorg
122
123 /bin/cp -R --preserve=mode \
124 docs \
125 examples \
126 lib \
127 lib-i686 \
128 lib-x86_64 \
129 machines \
130 scripts \
131 replicatorg \
132 skein_engines \
133 tools \
134 "${D}"/opt/replicatorg/
135
136 fowners -R root:replicator /opt/replicatorg
137
138 insinto /usr/share/replicatorg
139 doins -r \
140 contributors.txt \
141 license.txt \
142 readme.txt \
143 todo.txt
144
145 }