Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - gosm

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: gosm 0.09-6

Git Clone URL: https://aur-dev.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.030685
First Submitted: 2009-05-10 22:36
Last Updated: 2015-06-12 20:01

Latest Comments

1 2 Next › Last »

jose1711 commented on 2016-11-20 22:04

i see this as an issue of libpng12. try the following steps:
- mkdir /tmp/libpng12; cd /tmp/libpng12
- curl -oPKGBUILD 'https://git.archlinux.org/svntogit/community.git/plain/trunk/PKGBUILD?h=packages/libpng12'
- gedit PKGBUILD
- replace line with rm command with:
rm -rf "${pkgdir}"/usr/{bin,include/*.h,lib/{libpng.{a,so*},pkgconfig/libpng.pc},share}
- makepkg
- sudo pacman -U *pkg.tar.xz
- recompile gosm

Zeniff commented on 2016-11-07 17:59

-> Extracting gosm.0.0.9.tar.gz with bsdtar
==> Starting build()...
/usr/bin/gcc -D BUILD=1 -g `pkg-config --cflags --libs gtk+-2.0 gdk-2.0 pango cairo glib-2.0 gthread-2.0 libpng12 webkit-1.0` `curl-config --cflags --libs` -c menu.c -o menu.o
Package libpng12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpng12' found
menu.c:25:18: fatal error: glib.h: No such file or directory
#include <glib.h>
compilation terminated.
make: *** [Makefile:146: menu.o] Error 1
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build gosm.

Hi~ I'm confused what to do now..?
I already had libpng12 installed, but it does not include any "libpng12.pc" that I can find.
I also already had glib2 installed, and it does have "glib.h".
Or where/how can I change PKG_CONFIG_PATH ?

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."