Gentoo Archives: gentoo-commits

From: "Steve Arnold (nerdboy)" <nerdboy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-geosciences/openstreetmap-icons: openstreetmap-icons-20090616.ebuild ChangeLog
Date: Sat, 22 Aug 2009 23:22:36
Message-Id: E1Mezus-0002os-O2@stork.gentoo.org
1 nerdboy 09/08/22 23:22:34
2
3 Modified: openstreetmap-icons-20090616.ebuild ChangeLog
4 Log:
5 Updated to improve failure messages, add einfo, and move the map icons
6 to a more appropriate place.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.6 sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild?r1=1.5&r2=1.6
15
16 Index: openstreetmap-icons-20090616.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- openstreetmap-icons-20090616.ebuild 31 Jul 2009 06:53:55 -0000 1.5
23 +++ openstreetmap-icons-20090616.ebuild 22 Aug 2009 23:22:34 -0000 1.6
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild,v 1.5 2009/07/31 06:53:55 nerdboy Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild,v 1.6 2009/08/22 23:22:34 nerdboy Exp $
29
30 EAPI=2
31
32 @@ -29,14 +29,31 @@
33 cmake-utils_src_compile
34 cp icons.* ${CMAKE_BUILD_DIR}
35 cd ${CMAKE_BUILD_DIR}
36 - perl "${S}"/tools/create_geoinfo-db.pl --lang=en --source=icons.xml
37 - perl "${S}"/tools/create_geoinfo-db.pl --lang=de --source=icons.xml
38 + perl "${S}"/tools/create_geoinfo-db.pl --lang=en --source=icons.xml \
39 + || die "create en geoinfo-db failed"
40 + perl "${S}"/tools/create_geoinfo-db.pl --lang=de --source=icons.xml \
41 + || die "create de geoinfo-db failed"
42 }
43
44 # tar.bz2 generated extracting files from
45 # http://svn.openstreetmap.org/applications/share/map-icons
46 src_install() {
47 - insinto /usr/share/icons/map-icons
48 + insinto /usr/share/osm
49 cd ../map-icons_build
50 - doins -r icons.* geoinfo.* *.small *.big || die "Install failed"
51 + doins -r icons.* *.small *.big || die "Install icons failed"
52 + doins geoinfo.* || die "Install db failed"
53 +}
54 +
55 +pkg_postinst() {
56 + elog
57 + elog "Non-fatal errors are expected on a handful of .svg files,"
58 + elog "and the cause is currently unknown. File a bug only if"
59 + elog "you have a runtime problem and/or more useful information."
60 + elog
61 + elog "This version also installs the icons in a more appropriate"
62 + elog "location, so if you have an existing gpsdrive install, you"
63 + elog "should probably update your ~/.gpsdrive/gpsdriverc file"
64 + elog "and change the path to the geoinfofile to reflect this:"
65 + elog " geoinfofile = /usr/share/osm/geoinfo.db"
66 + elog
67 }
68
69
70
71 1.6 sci-geosciences/openstreetmap-icons/ChangeLog
72
73 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog?rev=1.6&view=markup
74 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog?rev=1.6&content-type=text/plain
75 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog?r1=1.5&r2=1.6
76
77 Index: ChangeLog
78 ===================================================================
79 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog,v
80 retrieving revision 1.5
81 retrieving revision 1.6
82 diff -u -r1.5 -r1.6
83 --- ChangeLog 31 Jul 2009 06:53:55 -0000 1.5
84 +++ ChangeLog 22 Aug 2009 23:22:34 -0000 1.6
85 @@ -1,6 +1,11 @@
86 # ChangeLog for sci-geosciences/openstreetmap-icons
87 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
88 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog,v 1.5 2009/07/31 06:53:55 nerdboy Exp $
89 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog,v 1.6 2009/08/22 23:22:34 nerdboy Exp $
90 +
91 + 22 Aug 2009; Steve Arnold <nerdboy@g.o>
92 + openstreetmap-icons-20090616.ebuild:
93 + Updated to improve failure messages, add einfo, and move the map icons
94 + and geodata to a more appropriate place.
95
96 31 Jul 2009; Steve Arnold <nerdboy@g.o>
97 openstreetmap-icons-20090616.ebuild: