| Prev |   1     2   3   4     5   13 | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [N900] Nokia Clock Replacement (https://talk.maemo.org/showthread.php?t=75425)

TMavica 2011-08-02 20:51

Re: [N900] Nokia Clock Replacement
 
yes
i using nokia pure text..
later give u a shot

colin.stephane 2011-08-02 20:55

Re: [N900] Nokia Clock Replacement
 
Quote:

Originally Posted by CepiPerez (Post 1062958)
Here's another update for whoever wants to test:
http://dl.dropbox.com/u/12134784/CSSU/worldclock
Post bugs here please.

BTW: The alarm library has alarm_event_set_sound, that is supossed to set a custom ringtone for each alarm. But it doesn't work...

The source is here: https://gitorious.org/osso-clock
You're welcome to contribute

PS: My english sucks, I know...

Hi,

I'm trying to compile by myself from git, but it look like it was a big mess to compile :o

Many dependencies doesn't seem to be fulfilled ...

Any advice more than 'The source is here' ?

Here is where the compilation fail actually on my side :

Code:

[sbox-FREMANTLE_ARMEL: ~/tmp/Building/osso-clock/osso-clock] > make
g++ -c -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -I/usr/include/dbus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMAEMO_CHANGES -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_NO_DEBUG -DQT_MAEMO5_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/usr/include/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/QtMaemo5 -I/targets/FREMANTLE_ARMEL/usr/include -I. -I. -o alsettings.o alsettings.cpp
alsettings.cpp:5:23: error: gconfitem.h: No such file or directory
In file included from /usr/include/gst/gstelement.h:51,
                from /usr/include/gst/gstbin.h:27,
                from /usr/include/gstreamer-0.10/gst/gst.h:34,
                from tdialog.h:7,
                from alsettings.cpp:8:
/usr/include/gst/gstconfig.h:171:28: error: libxml/parser.h: No such file or directory
In file included from /usr/include/gst/gstelement.h:52,
                from /usr/include/gst/gstbin.h:27,
                from /usr/include/gstreamer-0.10/gst/gst.h:34,
                from tdialog.h:7,
                from alsettings.cpp:8:
/usr/include/gst/gstobject.h:260: error: 'xmlNodePtr' has not been declared
/usr/include/gst/gstobject.h:265: error: expected identifier before '*' token
/usr/include/gst/gstobject.h:265: error: 'xmlNodePtr' has not been declared
/usr/include/gst/gstobject.h:265: error: 'xmlNodePtr' declared as function returning a function
/usr/include/gst/gstobject.h:266: error: 'xmlNodePtr' is not a type
/usr/include/gst/gstobject.h:307: error: 'xmlNodePtr' does not name a type
/usr/include/gst/gstobject.h:308: error: 'xmlNodePtr' has not been declared
/usr/include/gst/gstobject.h:325: error: 'xmlNodePtr' has not been declared
In file included from /usr/include/gst/gstbuffer.h:29,
                from /usr/include/gst/gstpad.h:30,
                from /usr/include/gst/gstelement.h:53,
                from /usr/include/gst/gstbin.h:27,
                from /usr/include/gstreamer-0.10/gst/gst.h:34,
                from tdialog.h:7,
                from alsettings.cpp:8:
/usr/include/gst/gstcaps.h:243: error: 'xmlNodePtr' does not name a type
/usr/include/gst/gstcaps.h:245: error: 'xmlNodePtr' was not declared in this scope
In file included from /usr/include/gst/gstelement.h:53,
                from /usr/include/gst/gstbin.h:27,
                from /usr/include/gstreamer-0.10/gst/gst.h:34,
                from tdialog.h:7,
                from alsettings.cpp:8:
/usr/include/gst/gstpad.h:957: error: variable or field 'gst_pad_load_and_link' declared void
/usr/include/gst/gstpad.h:957: error: 'xmlNodePtr' was not declared in this scope
/usr/include/gst/gstpad.h:957: error: expected primary-expression before '*' token
/usr/include/gst/gstpad.h:957: error: 'parent' was not declared in this scope
In file included from /usr/include/gstreamer-0.10/gst/gst.h:75,
                from tdialog.h:7,
                from alsettings.cpp:8:
/usr/include/gst/gstxml.h:57: error: 'xmlNsPtr' does not name a type
/usr/include/gst/gstxml.h:67: error: 'xmlNodePtr' has not been declared
/usr/include/gst/gstxml.h:68: error: 'xmlNodePtr' has not been declared
/usr/include/gst/gstxml.h:77: error: 'xmlDocPtr' does not name a type
/usr/include/gst/gstxml.h:84: error: 'xmlDocPtr' has not been declared
/usr/include/gst/gstxml.h:92: error: 'xmlNodePtr' was not declared in this scope
/usr/include/gst/gstxml.h:92: error: expected primary-expression before '*' token
/usr/include/gst/gstxml.h:92: error: 'parent' was not declared in this scope
/usr/include/gst/gstxml.h:92: error: initializer expression list treated as compound expression
alsettings.cpp: In constructor 'AlSettings::AlSettings(QWidget*)':
alsettings.cpp:22: error: 'GConfItem' was not declared in this scope
alsettings.cpp:22: error: 'item' was not declared in this scope
alsettings.cpp:22: error: expected type-specifier before 'GConfItem'
alsettings.cpp:22: error: expected `;' before 'GConfItem'
make: *** [alsettings.o] Error 1
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/osso-clock/osso-clock] >


A++

TMavica 2011-08-02 22:01

Re: [N900] Nokia Clock Replacement
 
1 Attachment(s)
this is my screenshot, I using pure text, I set to Sans, problem still here

CepiPerez 2011-08-02 22:56

Re: [N900] Nokia Clock Replacement
 
@colin.stephane:
Download new source. I forgot to add some things.

CepiPerez 2011-08-02 23:18

Re: [N900] Nokia Clock Replacement
 
@TMavica:
New test version: http://dl.dropbox.com/u/12134784/CSSU/worldclock

towhatend 2011-08-02 23:21

Re: [N900] Nokia Clock Replacement
 
You always makes great software CepiPerez. :)

F2thaK 2011-08-02 23:23

Re: [N900] Nokia Clock Replacement
 
Quote:

Originally Posted by cepiperez (Post 1063040)

will test new version


edit: 12 hours, am/pm, worldclock works... wow! thanks!

TMavica 2011-08-02 23:57

Re: [N900] Nokia Clock Replacement
 
1 Attachment(s)
Tick box fixed, but.....now the problem is am/pm...
others thing all works well

colin.stephane 2011-08-03 01:19

Re: [N900] Nokia Clock Replacement
 
Quote:

Originally Posted by CepiPerez (Post 1063032)
@colin.stephane:
Download new source. I forgot to add some things.

Look like there is another problem now :

Code:

g++ -c -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -I/usr/include/dbus-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMAEMO_CHANGES -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_NO_DEBUG -DQT_MAEMO5_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/usr/include/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/QtMaemo5 -I/targets/FREMANTLE_ARMEL/usr/include -I. -I. -o mainwindow.o mainwindow.cpp
In file included from /usr/include/gtk-2.0/gtk/gtk.h:47,
                from mainwindow.cpp:18:
/usr/include/gtk-2.0/gtk/gtkbindings.h:79: error: expected unqualified-id before 'protected'
/usr/include/gtk-2.0/gtk/gtkbindings.h:79: error: expected ';' before 'protected'
make: *** [mainwindow.o] Error 1
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/osso-clock/osso-clock] >

EDIT !!!

Fixed editing mainwindows.cpp and put '#include <libnotify/notify.h>
' at the top ...

But now compilation failed at :

Code:

g++ -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o osso-clock main.o mainwindow.o alarmlist.o filedelegate.o newalarm.o dialog.o checkdelegate.o valuebutton.o dialog2.o alarmbutton.o maintdelegate.o world.o dialog3.o alsettings.o mdialog.o tdialog.o home.o moc_mainwindow.o moc_alarmlist.o moc_filedelegate.o moc_newalarm.o moc_dialog.o moc_checkdelegate.o moc_valuebutton.o moc_dialog2.o moc_alarmbutton.o moc_world.o moc_dialog3.o moc_alsettings.o moc_mdialog.o moc_tdialog.o moc_home.o moc_gconfitem.o    -L/usr/lib -lalarm -lhildon-time-zone-chooser0 -lclockcore0 -lcityinfo0 -lgq-gconf -losso -ldbus-glib-1 -ldbus-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lQtMaemo5 -L/usr/lib -L/usr/X11R6/lib -lQtGui -lQtDBus -lQtXml -lQtCore -lpthread
/scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgq-gconf
collect2: ld returned 1 exit status
make: *** [osso-clock] Error 1
[sbox-FREMANTLE_ARMEL: ~/tmp/Building/osso-clock/osso-clock] >

What is this dependency ? What package need to be installed ?

Hope it help ...

A++

CepiPerez 2011-08-03 02:00

Re: [N900] Nokia Clock Replacement
 
Last update for today:
http://dl.dropbox.com/u/12134784/CSSU/worldclock

I think almos everything is working...


| Prev |   1     2   3   4     5   13 | Next | Last
All times are GMT. The time now is 11:13.

vBulletin® Version 3.8.8