Attached is my draft debian/ directory for build rules for e-foto. In addition to
these files, I applied this patch to the source to get it to build:
Index: e-foto.pro
===================================================================
--- e-foto.pro (revision 429)
+++ e-foto.pro (working copy)
@@ -98,7 +98,6 @@
c/xml_definitions/XMLSensorWithFiducialMarks.h \
c/xml_definitions/XMLTerrain.h \
c/xml_definitions/XmlUpdater.h \
- c/shapelib/shapefil.h \
qt/formDisplay/AbstractForm.h \
qt/formDisplay/ControlButtons.h \
qt/formDisplay/FlightForm.h \
@@ -286,13 +285,13 @@
RESOURCES += qt/resource/resource.qrc
# Build Settings
-DESTDIR = ../bin
-OBJECTS_DIR = ../temp/obj
-MOC_DIR = ../temp/moc
-UI_DIR = ../temp/ui
-RCC_DIR = ../temp/rcc
+DESTDIR = build/bin
+OBJECTS_DIR = build/temp/obj
+MOC_DIR = build/temp/moc
+UI_DIR = build/temp/ui
+RCC_DIR = build/temp/rcc
QT += opengl
-QMAKE_CXXFLAGS += -std=c++11
+QMAKE_CXXFLAGS += -std=c++11 -fPIC
#CONFIG += c++11
#Rod
@@ -344,7 +343,7 @@
# install settings
unix{
DEFINES += unix
- target.path = /usr/local/bin
+ target.path = /usr/bin
desk.path = /usr/share/applications
desk.files += efoto.desktop
icon.path = /usr/share/applications/pixmaps
--
Happy hacking
Petter Reinholdtsen
Attachment:
e-foto-debian-dir.tar.gz
Description: application/gzip