![]() |
2010-03-12
, 19:34
|
|
Posts: 77 |
Thanked: 85 times |
Joined on Feb 2008
@ Italy
|
#2
|
![]() |
2010-03-15
, 23:17
|
Posts: 8 |
Thanked: 0 times |
Joined on Mar 2010
@ bogota, colombia
|
#3
|
![]() |
2010-03-16
, 06:51
|
|
Posts: 251 |
Thanked: 131 times |
Joined on Oct 2009
@ USA
|
#4
|
![]() |
2010-03-16
, 21:15
|
Posts: 8 |
Thanked: 0 times |
Joined on Mar 2010
@ bogota, colombia
|
#5
|
Compiler: cs2007q3-glibc2.5-arm7 Architecture: arm Sub-architecture: arm C-library: glibc Devkits: qemu debian-etch perl CPU-transparency: /scratchbox/devkits/qemu/bin/qemu-arm-sb
[sbox-FREMANTLE_ARMEL: ~/MyDocs/UniTrans] > dpkg-buildpackage -rfakeroot dpkg-buildpackage: source package is unitrans dpkg-buildpackage: source version is 1.0.0 dpkg-buildpackage: source changed by Markus Döbele <mar_doe@gmx.de> dpkg-buildpackage: host architecture armel dpkg-buildpackage: source version without epoch 1.0.0 : Using Scratchbox tools to satisfy builddeps fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /scratchbox/tools/bin/make clean make[1]: Entering directory `/home/markus/MyDocs/UniTrans' rm -f moc_mainwindow.cpp rm -f qrc_zeux.cpp rm -f ui_mainwindow.h rm -f main.o mainwindow.o moc_mainwindow.o qrc_zeux.o rm -f *~ core *.core make[1]: Leaving directory `/home/markus/MyDocs/UniTrans' dh_clean dpkg-source -b UniTrans dpkg-source: warning: source directory `./UniTrans' is not <sourcepackage>-<upstreamversion> `unitrans-1.0.0' dpkg-source: building unitrans in unitrans_1.0.0.tar.gz dpkg-source: building unitrans in unitrans_1.0.0.dsc debian/rules build dh_testdir # Add here commands to configure the package. touch configure-stamp dh_testdir # Add here commands to compile the package. /scratchbox/tools/bin/make make[1]: Entering directory `/home/markus/MyDocs/UniTrans' /usr/bin/uic mainwindow.ui -o ui_mainwindow.h g++ -c -pipe -O3 -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -I. -I. -o main.o main.cpp g++ -c -pipe -O3 -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -I. -I. -o mainwindow.o mainwindow.cpp /usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -I. -I. mainwindow.h -o moc_mainwindow.cpp g++ -c -pipe -O3 -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -I. -I. -o moc_mainwindow.o moc_mainwindow.cpp /usr/bin/rcc -name zeux zeux.qrc -o qrc_zeux.cpp g++ -c -pipe -O3 -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -I. -I. -o qrc_zeux.o qrc_zeux.cpp g++ -Wl,-O1 -o UniTrans main.o mainwindow.o moc_mainwindow.o qrc_zeux.o -L/usr/lib -Wl,-rpath-link=/usr/lib -lQtGui -lQtCore -lpthread make[1]: Leaving directory `/home/markus/MyDocs/UniTrans' #docbook-to-man debian/raeddit.sgml > raeddit.1 touch build-stamp fakeroot debian/rules binary dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/unitrans. #/scratchbox/tools/bin/make DESTDIR=/home/markus/MyDocs/UniTrans/debian/unitrans install /scratchbox/tools/bin/make install DESTDIR=/home/markus/MyDocs/UniTrans/debian/usr/bin make[1]: Entering directory `/home/markus/MyDocs/UniTrans' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/home/markus/MyDocs/UniTrans' dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples dh_installman dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb warning, `debian/unitrans/DEBIAN/control' contains user-defined field `Maemo-Icon-26' dpkg-deb: building package `unitrans' in `../unitrans_1.0.0_armel.deb'. dpkg-deb: ignoring 1 warnings about the control file(s) dpkg-genchanges dpkg-genchanges: warning: unknown information field `Xb-Maemo-Icon-26' in input data in package's section of control info file dpkg-genchanges: including full source code in upload dpkg-buildpackage: full upload; Debian-native package (full source is included) [sbox-FREMANTLE_ARMEL: ~/MyDocs/UniTrans] >
![]() |
2010-03-17
, 00:02
|
|
Posts: 251 |
Thanked: 131 times |
Joined on Oct 2009
@ USA
|
#6
|
Yes, its a C++ program.
Should I state something more specific in the architecture field?
I compiled the program in the scratchbox by changing the target to armel.
![]() |
2010-03-17
, 20:16
|
Posts: 8 |
Thanked: 0 times |
Joined on Mar 2010
@ bogota, colombia
|
#7
|
install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/unitrans. #$(MAKE) DESTDIR=$(CURDIR)/debian/unitrans install $(MAKE) install DESTDIR=$(CURDIR)/debian/usr/bin
![]() |
2010-03-17
, 22:02
|
|
Posts: 251 |
Thanked: 131 times |
Joined on Oct 2009
@ USA
|
#8
|
I just tried that and it installs without errors.
Same happens when I do "dpkg -i unitrans_1.0.0_armel.deb" in the scratchbox.
But I do not see an icon and there is no executable in /usr/bin.
How do I say again where the executable should be installed?
Found this in the rules file:
Basically I have only one file to install (I included the other files as qt resources).Code:install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/unitrans. #$(MAKE) DESTDIR=$(CURDIR)/debian/unitrans install $(MAKE) install DESTDIR=$(CURDIR)/debian/usr/bin
Should the above lines handle that?
![]() |
2010-03-18
, 18:02
|
Posts: 8 |
Thanked: 0 times |
Joined on Mar 2010
@ bogota, colombia
|
#9
|
####### Compile main.o: main.cpp mainwindow.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp mainwindow.o: mainwindow.cpp mainwindow.h \ ui_mainwindow.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp moc_mainwindow.o: moc_mainwindow.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp qrc_zeux.o: qrc_zeux.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_zeux.o qrc_zeux.cpp ####### Install install: FORCE uninstall: FORCE FORCE:
# ------------------------------------------------- # Project created by QtCreator 2010-02-18T12:12:07 # ------------------------------------------------- TARGET = UniTrans TEMPLATE = app SOURCES += main.cpp \ mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.ui RESOURCES += zeux.qrc
![]() |
2010-03-18
, 21:05
|
|
Posts: 251 |
Thanked: 131 times |
Joined on Oct 2009
@ USA
|
#10
|
####### Install install: FORCE # add your install code here! uninstall: FORCE FORCE:
I succeeded in building a debian package for my program.
But when I try to install it on the N900 I get the message that its not compatible.
What could cause that?
This is my control file:
Last edited by wizkoder; 2010-03-18 at 18:04.