#1  
Old 11-11-2011, 04:23 AM
eipi's Avatar
eipi eipi is offline
Member
 
Join Date: Feb 2010
Posts: 52
Thanked: 50 times
Default [MeeGo OBS]: Newbie issues

Hi,

I have pieced together an application for inclusion in the community open source app store. It is made with QtCreator. The application, MaeFlight, currently runs on my N950.

I have created an account at the COBS, and have followed the instructions at Ref. 1. I used the mud2 utility to create the 3 files required for the OBS.

My package fails the build process. I have had a look at the error logs [2], and I cannot figure out if there is an issue on the OBS, or it is with my package. I am not an application developer, so there may be something obvious that I am missing. Does anyone have an idea on what could be going on here?

Many thanks for any help!


[1]. http://wiki.meego.com/Getting_started_with_OBS
[2]. MaeFlight Live Build Log
__________________
Blog: Mobile Tablets!
Twitter: eipi2
Reply With Quote
  #2  
Old 11-20-2011, 01:05 PM
eipi's Avatar
eipi eipi is offline
Member
 
Join Date: Feb 2010
Posts: 52
Thanked: 50 times
Default Re: [MeeGo OBS]: Newbie issues

Well, I solved my build issues (*). Now I have another, The .deb created by the OBS installs fine to the N950, but there is no icon for it in the icon grid.

I looked at /usr/share/applications, and there is no .desktop file installed there.

However, the .deb built using QTCreator installs fine to the N950.

Is there something I should do differently with the OBS to get the .desktop file installed correctly?

For reference, here is the repository for the OBS .deb:

http://repo.pub.meego.com/home:/eipi/Harmattan/armel/

The source files for the OBS are at:

https://build.pub.meego.com/package/...ct=home%3Aeipi

Any help is appreciated.

EDIT: (*) Build issue *appeared* to be related to inconsistent version numbers in the changelog and desktop files. Set both to 1.0.0
__________________
Blog: Mobile Tablets!
Twitter: eipi2

Last edited by eipi; 11-21-2011 at 04:06 AM. Reason: clarify initial build issues.
Reply With Quote

The Following User Says Thank You to eipi For This Useful Post:
  #3  
Old 11-20-2011, 02:21 PM
nicolai's Avatar
nicolai nicolai is offline
Senior Member
 
Join Date: Feb 2010
Posts: 124
Thanked: 134 times
Default Re: [MeeGo OBS]: Newbie issues

I asked the same question here
http://forum.meego.com/showthread.php?p=31890#post31890

No answers, besides "do it manually", but I don't know
how. I still wonder how it can be, that many other developers
can create their applications, but no one can explain how to
do it properly with qtcreator.

Nicolai
Reply With Quote

The Following User Says Thank You to nicolai For This Useful Post:
  #4  
Old 11-20-2011, 02:27 PM
rlinfati rlinfati is offline
Member
 
Join Date: Jul 2010
Posts: 61
Thanked: 56 times
Default Re: [MeeGo OBS]: Newbie issues

Add at the begin of you dot pro file.

contains(QT_CONFIG, maemo5): message(Maemo5)
contains(MEEGO_EDITION,harmattan): message(Maemo6)
linux-g++-maemo:!contains(MEEGO_EDITION,harmattan): {
MEEGO_VERSION_MAJOR = 1
MEEGO_VERSION_MINOR = 2
MEEGO_VERSION_PATCH = 0
MEEGO_EDITION = harmattan
DEFINES += MEEGO_EDITION_HARMATTAN
message(Maemo6-beta)
}
Reply With Quote

The Following 2 Users Say Thank You to rlinfati For This Useful Post:
  #5  
Old 11-20-2011, 02:30 PM
rlinfati rlinfati is offline
Member
 
Join Date: Jul 2010
Posts: 61
Thanked: 56 times
Default Re: [MeeGo OBS]: Newbie issues

Also, i use a script to build the file from outside of qtcreator, rules.real is the rules file with some lineas uncomment (qmake, make, make clean and shlibdeps )

#!/bin/sh

rm -r debian
mkdir debian
cp qtc_packaging/debian_harmattan/* debian/
mv debian/rules.real debian/rules

~/QtSDK/Madde/bin/mad dpkg-buildpackage -sa -rfakeroot -I.git -I.gitignore -Iqtc_packaging -I*.pro.user

mv ../*.dsc ~/for-meego/
mv ../*.changes ~/for-meego/
mv ../*.tar.gz ~/for-meego/
mv ../*.deb ~/for-meego/

rm build-stamp configure-stamp _aegis
make distclean

[ $1 ] && rm -r debian
Reply With Quote

The Following User Says Thank You to rlinfati For This Useful Post:
  #6  
Old 11-21-2011, 03:34 AM
eipi's Avatar
eipi eipi is offline
Member
 
Join Date: Feb 2010
Posts: 52
Thanked: 50 times
Default Re: [MeeGo OBS]: Newbie issues

Wow! Thank you both very much! Your advice has solved my issue. I believe I can now deploy from QtCreator, as well as install the OBS built .deb.

I am using jaffa's "mud2" perl script for converting the QtCreator project into something suitable for the OBS.

A summary of my changes:

in the .pro file:
Code:
contains(QT_CONFIG, maemo5): message(Maemo5)
contains(MEEGO_EDITION,harmattan): message(Maemo6)
linux-g++-maemo:!contains(MEEGO_EDITION,harmattan): {
MEEGO_VERSION_MAJOR = 1
MEEGO_VERSION_MINOR = 2
MEEGO_VERSION_PATCH = 0
MEEGO_EDITION = harmattan
DEFINES += MEEGO_EDITION_HARMATTAN
message(Maemo6-beta)
}

...

desktopfile.files = $${TARGET}_harmattan.desktop
desktopfile.path = /usr/share/applications
INSTALLS += desktopfile
__________________
Blog: Mobile Tablets!
Twitter: eipi2
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie to Meego... penmaker Handset 9 07-02-2011 04:47 PM
Newbie: How to delete MeeGo from my USB Stick? fparri Netbook 2 06-29-2011 01:51 PM
Newbie trying to access ntsf jawmill Netbook 6 06-10-2011 09:31 PM
[Newbie] General questions. kax General 1 06-08-2011 06:12 PM
Newbie Question - Installing SDK on MeeGo Workstation jimmyg Application Developer Support 3 10-11-2010 10:46 PM


All times are GMT. The time now is 05:39 PM.