Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-geosciences/openstreetmap-icons: openstreetmap-icons-99999999.ebuild ChangeLog openstreetmap-icons-20110601.ebuild openstreetmap-icons-20090616.ebuild
Date: Wed, 01 Jun 2011 12:17:57
Message-Id: 20110601121747.47FFB20054@flycatcher.gentoo.org
1 scarabeus 11/06/01 12:17:47
2
3 Modified: ChangeLog
4 Added: openstreetmap-icons-99999999.ebuild
5 openstreetmap-icons-20110601.ebuild
6 Removed: openstreetmap-icons-20090616.ebuild
7 Log:
8 Create new snapshot from today and add live version.
9
10 (Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.7 sci-geosciences/openstreetmap-icons/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog?rev=1.7&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog?rev=1.7&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog?r1=1.6&r2=1.7
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog,v
22 retrieving revision 1.6
23 retrieving revision 1.7
24 diff -u -r1.6 -r1.7
25 --- ChangeLog 22 Aug 2009 23:22:34 -0000 1.6
26 +++ ChangeLog 1 Jun 2011 12:17:47 -0000 1.7
27 @@ -1,6 +1,14 @@
28 # ChangeLog for sci-geosciences/openstreetmap-icons
29 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog,v 1.6 2009/08/22 23:22:34 nerdboy Exp $
31 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog,v 1.7 2011/06/01 12:17:47 scarabeus Exp $
33 +
34 +*openstreetmap-icons-99999999 (01 Jun 2011)
35 +*openstreetmap-icons-20110601 (01 Jun 2011)
36 +
37 + 01 Jun 2011; Tomáš Chvátal <scarabeus@g.o>
38 + -openstreetmap-icons-20090616.ebuild, +openstreetmap-icons-20110601.ebuild,
39 + +openstreetmap-icons-99999999.ebuild:
40 + Create new snapshot from today and add live version.
41
42 22 Aug 2009; Steve Arnold <nerdboy@g.o>
43 openstreetmap-icons-20090616.ebuild:
44
45
46
47 1.1 sci-geosciences/openstreetmap-icons/openstreetmap-icons-99999999.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-99999999.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-99999999.ebuild?rev=1.1&content-type=text/plain
51
52 Index: openstreetmap-icons-99999999.ebuild
53 ===================================================================
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-99999999.ebuild,v 1.1 2011/06/01 12:17:46 scarabeus Exp $
57
58 EAPI=4
59
60 ESVN_REPO_URI="http://svn.openstreetmap.org/applications/share/map-icons/"
61 [[ ${PV} == 99999999 ]] && EVCS_ECLASS=subversion
62 # tar.bz2 generated extracting files from above SVN repo
63 inherit cmake-utils ${EVCS_ECLASS}
64 unset EVCS_ECLASS
65
66 DESCRIPTION="openstreetmap icons"
67 HOMEPAGE="http://www.openstreetmap.org/"
68 [[ ${PV} == 99999999 ]] || SRC_URI="http://dev.gentoo.org/~scarabeus/${P}.tar.xz"
69
70 LICENSE="public-domain"
71 SLOT="0"
72 [[ ${PV} == 99999999 ]] || KEYWORDS="~amd64 ~ppc ~x86"
73 IUSE=""
74
75 DEPEND="dev-perl/ImageInfo
76 media-gfx/imagemagick[perl]
77 dev-perl/File-Slurp
78 dev-perl/DBD-SQLite
79 dev-perl/XML-Twig"
80
81 RDEPEND=""
82
83 S="${WORKDIR}/map-icons/"
84
85 src_compile() {
86 cmake-utils_src_compile
87 cp icons.* "${CMAKE_BUILD_DIR}"
88 cd "${CMAKE_BUILD_DIR}"
89 perl "${S}"/tools/create_geoinfo-db.pl --lang=en --source=icons.xml \
90 || die "create en geoinfo-db failed"
91 perl "${S}"/tools/create_geoinfo-db.pl --lang=de --source=icons.xml \
92 || die "create de geoinfo-db failed"
93 }
94
95 src_install() {
96 cd "${CMAKE_BUILD_DIR}"
97 insinto /usr/share/osm
98 doins -r icons.* *.small *.big
99 doins geoinfo.*
100 }
101
102
103
104 1.1 sci-geosciences/openstreetmap-icons/openstreetmap-icons-20110601.ebuild
105
106 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20110601.ebuild?rev=1.1&view=markup
107 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20110601.ebuild?rev=1.1&content-type=text/plain
108
109 Index: openstreetmap-icons-20110601.ebuild
110 ===================================================================
111 # Copyright 1999-2011 Gentoo Foundation
112 # Distributed under the terms of the GNU General Public License v2
113 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20110601.ebuild,v 1.1 2011/06/01 12:17:47 scarabeus Exp $
114
115 EAPI=4
116
117 ESVN_REPO_URI="http://svn.openstreetmap.org/applications/share/map-icons/"
118 [[ ${PV} == 99999999 ]] && EVCS_ECLASS=subversion
119 # tar.bz2 generated extracting files from above SVN repo
120 inherit cmake-utils ${EVCS_ECLASS}
121 unset EVCS_ECLASS
122
123 DESCRIPTION="openstreetmap icons"
124 HOMEPAGE="http://www.openstreetmap.org/"
125 [[ ${PV} == 99999999 ]] || SRC_URI="http://dev.gentoo.org/~scarabeus/${P}.tar.xz"
126
127 LICENSE="public-domain"
128 SLOT="0"
129 [[ ${PV} == 99999999 ]] || KEYWORDS="~amd64 ~ppc ~x86"
130 IUSE=""
131
132 DEPEND="dev-perl/ImageInfo
133 media-gfx/imagemagick[perl]
134 dev-perl/File-Slurp
135 dev-perl/DBD-SQLite
136 dev-perl/XML-Twig"
137
138 RDEPEND=""
139
140 S="${WORKDIR}/map-icons/"
141
142 src_compile() {
143 cmake-utils_src_compile
144 cp icons.* "${CMAKE_BUILD_DIR}"
145 cd "${CMAKE_BUILD_DIR}"
146 perl "${S}"/tools/create_geoinfo-db.pl --lang=en --source=icons.xml \
147 || die "create en geoinfo-db failed"
148 perl "${S}"/tools/create_geoinfo-db.pl --lang=de --source=icons.xml \
149 || die "create de geoinfo-db failed"
150 }
151
152 src_install() {
153 cd "${CMAKE_BUILD_DIR}"
154 insinto /usr/share/osm
155 doins -r icons.* *.small *.big
156 doins geoinfo.*
157 }