Reply
Thread Tools
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#21
yes
i using nokia pure text..
later give u a shot
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#22
Originally Posted by CepiPerez View Post
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

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's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#23
this is my screenshot, I using pure text, I set to Sans, problem still here
Attached Images
 
 
CepiPerez's Avatar
Posts: 1,023 | Thanked: 4,421 times | Joined on Feb 2010 @ Argentina
#24
@colin.stephane:
Download new source. I forgot to add some things.
 

The Following User Says Thank You to CepiPerez For This Useful Post:
CepiPerez's Avatar
Posts: 1,023 | Thanked: 4,421 times | Joined on Feb 2010 @ Argentina
#25
 

The Following 4 Users Say Thank You to CepiPerez For This Useful Post:
towhatend's Avatar
Posts: 230 | Thanked: 185 times | Joined on Jul 2010 @ Sweden
#26
You always makes great software CepiPerez.
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#27
Originally Posted by cepiperez View Post
@tmavica:
New test version: http://dl.dropbox.com/u/12134784/cssu/worldclock
will test new version


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

Last edited by F2thaK; 2011-08-02 at 23:27.
 
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#28
Tick box fixed, but.....now the problem is am/pm...
others thing all works well
Attached Images
 
 
Posts: 458 | Thanked: 783 times | Joined on Jan 2010 @ France
#29
Originally Posted by CepiPerez View Post
@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++

Last edited by colin.stephane; 2011-08-03 at 01:26. Reason: Adding more informations ...
 

The Following User Says Thank You to colin.stephane For This Useful Post:
CepiPerez's Avatar
Posts: 1,023 | Thanked: 4,421 times | Joined on Feb 2010 @ Argentina
#30
Last update for today:
http://dl.dropbox.com/u/12134784/CSSU/worldclock

I think almos everything is working...
 

The Following 11 Users Say Thank You to CepiPerez For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:15.