Package Details: gosm 0.09-6

Git Clone URL: https://aur.archlinux.org/gosm.git (read-only)
Package Base: gosm
Description: the Gtk OpenStreetMap Tool
Upstream URL: http://sourceforge.net/projects/gosm
Licenses: GPL
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 28
Popularity: 0.434286
First Submitted: 2009-05-10 22:36
Last Updated: 2015-06-12 20:01

Latest Comments

jose1711 commented on 2015-01-01 18:30

thank you for your ideas - pkgbuild is updated, though i had to go with libpng12 - ver15 is missing pkgconfig files after building

virtuemood commented on 2014-12-31 21:30

Please remove this line. It's causing permission error.
mkdir -p ${pkgdir}/usr

Please add this line. Otherwise, it won't build.
sed -i 's/png.h/libpng12\/png.h/g' imageglue/imageglue.c

Change package() to
package() {
mv $srcdir/${pkgname}/packages/deb/usr "${pkgdir}/"
install -D -m644 $srcdir/gosm.desktop $pkgdir/usr/share/application /gosm.desktop
}

ertua commented on 2014-10-10 20:35

First issue (fixing the FAR error):
gosm depends on libpng15 or lower (as in libpng16, the FAR has been deprecated). Add libpng15 as a dependency, and another Makefile edit:
sed -i 's/libpng/libpng15/' Makefile

Second: gosm's strange Makefile-based self-packaging interfers with itself. Build will succide* if you
- move the line mkdir ${pkgdir}/usr/ into package()
- manually delete the directory $srcdir/${pkgname}/packages after `make` and create it again, in order not to let `make deb` fail on re-creating existing stuff
- use the PKGBUILD magic built-in variable $pkgdir within the cryptic tar command:
/bin/tar cf - * | ( cd ${pkgdir}/usr/; tar xfp - )

(*This seems not to be an elegant way, though)

deepsoul commented on 2014-05-25 17:40

I see your point, I encountered this X error too, occasionally. I currently lack the time to look if it can be fixed.

jose1711 commented on 2014-05-17 11:18

not sure if it's worth update, it was very easy to initiate crashdump

gosm: xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted (core dumped)

deepsoul commented on 2014-05-12 19:21

I encountered multiple errors trying to build this. These modifications worked for me: http://volkerschatz.com/tmp/PKGBUILD-gosm

I should mention that removing "FAR" may be a hack; the libpng manual page has something to say about this pointer qualifier, but I do not understand it.

jose1711 commented on 2012-08-02 18:39

@zorun: thank you, updated

zorun commented on 2012-07-31 15:31

Please add the following sed-patch in the build() function:

sed -i '/<glib\/gthread.h>/d' */*.{h,c}

Otherwise, the package doesn't build with the following error:

/usr/include/glib-2.0/glib/gthread.h:28:2: erreur: #error "Only <glib.h> can be included directly."

Anonymous comment on 2010-07-15 09:23

I needed to add the following before "make deb" to make it build:
# Nullify debian package creation
sed -i Makefile -e 's/dpkg-deb/echo dpkg-deb/' -e 's/rm -rf packages/echo /'

jose1711 commented on 2010-06-03 15:08

@scrawl: thank you, updated

All comments