Not that is matters much in this case
Anyway, i did make a patch and built the app. It breaks on a similar issue with the ImageMagick stating 'Quantum' was undefined. This needs more love than my coffee break allows.
]]>but I cant figure out where I can find
galapix-gcc44.patch
In fairness, as the patch name has "gcc" in it, perhaps these are all headers that would be infered and included by some other compiler that the developers used and my assumption of their failure is hasty.
If you want you can try appending the following lines to the end of the existing patch file then rerun makepkg
diff -ruN galapix-0.1.2-orig/src/util/weak_functor.hpp galapix-0.1.2/src/util/weak_functor.hpp
--- galapix-0.1.2-orig/src/sqlite/connection.hpp 2009-10-25 02:26:51.000000000 +0200
+++ galapix-0.1.2/src/sqlite/connection.hpp 2012-08-25 08:01:14.000000000 +0100
@@ -20,4 +20,5 @@
#define HEADER_GALAPIX_SQLITE_CONNECTION_HPP
#include <sqlite3.h>
+#include <unistd.h>
#include <string>
I'm far from a patch expert. I'd usually use a sed line in the PKGBUILD, but as there is already a patch file it'd be better to keep all the changes in one place.
If this works, please contact the aur maintainer so they can add it to the AUR tarball.
Its features sound nice tough.
]]>Hm .. where do I find connection.cpp?
In the Galapix Source Code Tarball? (From their website)
This will be part of their source tarball, yes. Ideally, you should be making a patch and adding this to the PKGBUILD. (otherwise, makepkg will simply overwrite the sources and remove your changes).
*edit*
it happened again!
]]>READ error messages.
]]>In the Galapix Source Code Tarball? (From their website)
]]>The fix is trivial, adding "#include <unistd.h>" to connection.hpp should fix this.
I expect you'll run into other similar issues after fixing this one though.
*edit*
oops, had this open while grabbing a drink and failed to refresh before posting.
]]>http://aur.archlinux.org/packages.php?ID=44181
I tried to install galapix from the AUR.
It didnt work.
g++ -o build/src/database/database.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/database/database.cpp
g++ -o build/src/database/file_database.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/database/file_database.cpp
g++ -o build/src/database/file_entry.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/database/file_entry.cpp
g++ -o build/src/database/file_id.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/database/file_id.cpp
g++ -o build/src/database/tile_cache.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/database/tile_cache.cpp
g++ -o build/src/database/tile_database.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/database/tile_database.cpp
g++ -o build/src/display/framebuffer.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/display/framebuffer.cpp
g++ -o build/src/display/surface.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/display/surface.cpp
g++ -o build/src/display/texture.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/display/texture.cpp
g++ -o build/src/galapix/database_thread.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/database_thread.cpp
g++ -o build/src/galapix/galapix.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/galapix.cpp
g++ -o build/src/galapix/image.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/image.cpp
g++ -o build/src/galapix/image_collection.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/image_collection.cpp
g++ -o build/src/galapix/image_renderer.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/image_renderer.cpp
g++ -o build/src/galapix/image_tile_cache.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/image_tile_cache.cpp
g++ -o build/src/galapix/random_layouter.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/random_layouter.cpp
g++ -o build/src/galapix/regular_layouter.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/regular_layouter.cpp
g++ -o build/src/galapix/selection.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/selection.cpp
g++ -o build/src/galapix/spiral_layouter.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/spiral_layouter.cpp
g++ -o build/src/galapix/tight_layouter.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/tight_layouter.cpp
g++ -o build/src/galapix/viewer.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/viewer.cpp
g++ -o build/src/galapix/viewer_state.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/viewer_state.cpp
g++ -o build/src/galapix/workspace.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/workspace.cpp
g++ -o build/src/galapix/zoomify_tile_provider.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/galapix/zoomify_tile_provider.cpp
g++ -o build/src/job/job_handle.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/job/job_handle.cpp
g++ -o build/src/job/job_manager.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/job/job_manager.cpp
g++ -o build/src/job/job_worker_thread.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/job/job_worker_thread.cpp
g++ -o build/src/job/thread.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/job/thread.cpp
g++ -o build/src/jobs/test_job.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/jobs/test_job.cpp
g++ -o build/src/jobs/tile_generation_job.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/jobs/tile_generation_job.cpp
g++ -o build/src/jobs/tile_generator.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/jobs/tile_generator.cpp
g++ -o build/src/sqlite/connection.o -c -O3 -s -isystem/usr/include/libpng15 -isystem/usr/include/SDL -isystem/usr/include/ImageMagick -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/sqlite/connection.cpp
src/sqlite/connection.cpp: In function 'int busy_callback(void*, int)':
src/sqlite/connection.cpp:28:17: error: 'usleep' was not declared in this scope
scons: *** [build/src/sqlite/connection.o] Error 1
scons: building terminated because of errors.
Could somebody fix this?
Or give me a hint, how I can fix it.
Greets,
moere