After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 762266 - dist tarball is missing SVG files
dist tarball is missing SVG files
Status: RESOLVED FIXED
Product: geocode-glib
Classification: Other
Component: general
3.18.x
Other Linux
: Normal major
: ---
Assigned To: geocode-glib maintainer(s)
geocode-glib maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-02-18 15:14 UTC by Michael Biebl
Modified: 2016-02-22 09:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Biebl 2016-02-18 15:14:10 UTC
When running "make install" using the 3.18.1 dist tarball, I get the following error messages:

/usr/bin/install: cannot stat './maki/scalable_places_poi-school.svg': No such file or directory
INSTALL /home/michael/debian/build-area/geocode-glib-3.18.1/debian/tmp//usr/share/icons/gnome/scalable/places/poi-place-of-worship.svg
/usr/bin/install: cannot stat './maki/scalable_places_poi-place-of-worship.svg': No such file or directory
INSTALL /home/michael/debian/build-area/geocode-glib-3.18.1/debian/tmp//usr/share/icons/gnome/scalable/places/poi-restaurant.svg
/usr/bin/install: cannot stat './maki/scalable_places_poi-restaurant.svg': No such file or directory
INSTALL /home/michael/debian/build-area/geocode-glib-3.18.1/debian/tmp//usr/share/icons/gnome/scalable/places/poi-bar.svg
/usr/bin/install: cannot stat './maki/scalable_places_poi-bar.svg': No such file or directory

Those files are indeed missing from the tarball:
[michael@pluto geocode-glib-3.18.1]$ find icons/ -name *.svg
icons/maki/scalable_places_poi-building.svg
icons/maki/scalable_places_poi-airport.svg
icons/maki/scalable_places_poi-town.svg
icons/maki/scalable_places_poi-bus-stop.svg
icons/maki/scalable_places_poi-railway-station.svg
icons/maki/scalable_places_poi-marker.svg
icons/maki/scalable_places_poi-car.svg

They are in the git repository though:
[michael@pluto geocode-glib (gnome-3-18)]$ find icons/ -name *.svg
icons/maki/scalable_places_poi-building.svg
icons/maki/scalable_places_poi-airport.svg
icons/maki/scalable_places_poi-bar.svg
icons/maki/scalable_places_poi-town.svg
icons/maki/scalable_places_poi-bus-stop.svg
icons/maki/scalable_places_poi-school.svg
icons/maki/scalable_places_poi-railway-station.svg
icons/maki/scalable_places_poi-marker.svg
icons/maki/scalable_places_poi-place-of-worship.svg
icons/maki/scalable_places_poi-restaurant.svg
icons/maki/scalable_places_poi-car.svg


So this looks like  icons/Makefile.am's EXTRA_DIST is incomplete. 

diff --git a/icons/Makefile.am b/icons/Makefile.am
index 6d78068..c2b3e2c 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -53,5 +53,10 @@ EXTRA_DIST = \
        maki/scalable_places_poi-marker.svg \
        maki/scalable_places_poi-railway-station.svg \
        maki/scalable_places_poi-town.svg
+       maki/scalable_places_poi-school.svg \
+       maki/scalable_places_poi-place-of-worship.svg \
+       maki/scalable_places_poi-restaurant.svg \
+       maki/scalable_places_poi-bar.svg \
+       maki/scalable_places_poi-airport.svg
 
 -include $(top_srcdir)/git.mk
Comment 1 Jonas Danielsson 2016-02-21 14:47:42 UTC
Thanks!

I pushed a 3.18.2 with correct EXTRA_DIST!
Comment 2 Michael Biebl 2016-02-22 09:29:47 UTC
Thanks for the quick fix.
I like your solution, as now EXTRA_DIST and public_icons won't get out-of-sync anymore.