Rainer M Krug | 18 Oct 2011 09:59
Picon

Workrave on Oneiric?

Hi

I realized that workrave is not any more in the ubuntu oneric repositorys - is there a ppa or HowTo to compile it? I am struggling with at least one dependency (checking for XRecordEnableContext in -lXtst... no
configure: error: X RECORD extension headers files required on Unix platform)

Any help appreciated?

Thanks,

Rainer


--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax (F):       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer <at> krugs.de

Skype:      RMkrug

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user
Rob Caelers | 18 Oct 2011 17:48
Gravatar

Re: Workrave on Oneiric?

Hi,

> I realized that workrave is not any more in the ubuntu oneric repositorys - is
> there a ppa or HowTo to compile it? I am struggling with at least one

I'm working on a PPA with a pre-release of Workrave that supports Unity and 
Gnome3. No ETA...

> dependency (checking for XRecordEnableContext in -lXtst... no
> configure: error: X RECORD extension headers files required on Unix platform)

You need to install libxtst-dev.

Groetjes,
   Rob

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
Rainer M Krug | 18 Oct 2011 19:45
Picon

Re: Workrave on Oneiric?



On Tue, Oct 18, 2011 at 5:48 PM, Rob Caelers <robc <at> krandor.org> wrote:
Hi,

> I realized that workrave is not any more in the ubuntu oneric repositorys - is
> there a ppa or HowTo to compile it? I am struggling with at least one

I'm working on a PPA with a pre-release of Workrave that supports Unity and
Gnome3. No ETA...

Great to hear that - looking forward to that.
 

> dependency (checking for XRecordEnableContext in -lXtst... no
> configure: error: X RECORD extension headers files required on Unix platform)

You need to install libxtst-dev.

Done and working now.

Thanks a lot,

Rainer
 

Groetjes,
  Rob

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user



--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax (F):       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer <at> krugs.de

Skype:      RMkrug

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user
Dmitry Medvinsky | 19 Oct 2011 09:52
Favicon

Problem building on Linux with D-Bus

Hello,

I'm trying to build the latest master branch of Workrave and I have a problem
with D-bus.

When I configure *without* --disable-dbus, I get the following errors:

    DBusWorkrave.cc:45:11: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:47:11: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:49:11: error: 'DBusIntrospect' does not name a type
    DBusWorkrave.cc:54:11: error: 'DBusIntrospect' does not name a type
    DBusWorkrave.cc:69:3: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:70:3: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:71:3: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:72:3: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:73:3: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:74:3: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:75:3: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:76:3: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:77:3: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:78:3: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:79:3: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:81:27: error: 'DBusMessageIter' has not been declared
    DBusWorkrave.cc:82:27: error: 'DBusMessageIter' has not been declared
    DBusWorkrave.cc:83:21: error: 'DBusMessageIter' has not been declared
    DBusWorkrave.cc:84:21: error: 'DBusMessageIter' has not been declared
    DBusWorkrave.cc:89:10: error: 'DBusMethod' does not name a type
    DBusWorkrave.cc:90:10: error: 'DBusIntrospect' does not name a type
    DBusWorkrave.cc:91:10: error: 'DBusIntrospect' does not name a type
    DBusWorkrave.cc:118:1: error: 'DBusMessage' does not name a type
    DBusWorkrave.cc:137:53: error: variable or field 'get_operation_mode' declared void
    DBusWorkrave.cc:137:53: error: 'DBusMessageIter' was not declared in this scope
    DBusWorkrave.cc:137:70: error: 'reader' was not declared in this scope
    DBusWorkrave.cc:137:92: error: expected primary-expression before '*' token
    DBusWorkrave.cc:137:93: error: 'result' was not declared in this scope

When I configure *with* --disable-dbus, I get:

    In file included from GUI.cc:71:0:
    Session.hh:31:23: fatal error: dbus/dbus.h: No such file or directory
    compilation terminated.

Any clues?

Thanks,
Dmitry

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
Rob Caelers | 19 Oct 2011 19:02
Gravatar

Re: Problem building on Linux with D-Bus

Hoi,

> I'm trying to build the latest master branch of Workrave and I have a problem
> with D-bus.

I fixed the --disable-dbus case. Not sure why the --enable-dbus case fails. 
You you please mail me the config.log file?

Groetjes,
   Rob

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
Joe Wells | 23 Oct 2011 18:44
Picon
Favicon

Re: Workrave on Oneiric?

Rainer M Krug <r.m.krug <at> gmail.com> writes:

> I realized that workrave is not any more in the ubuntu oneric repositorys

Does anyone know what has happened here?  Workrave is in Natty.  Why
has it been removed from Oneiric?

--

-- 
Joe

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
Joe Ross | 23 Oct 2011 21:26
Picon

Re: Workrave on Oneiric?

There's some information in the ubuntu bug tracker.
https://bugs.launchpad.net/ubuntu/+source/workrave/+bug/848147

On 10/23/11, Joe Wells <jbwells <at> blueyonder.co.uk> wrote:
> Rainer M Krug <r.m.krug <at> gmail.com> writes:
>
>> I realized that workrave is not any more in the ubuntu oneric repositorys
>
> Does anyone know what has happened here?  Workrave is in Natty.  Why
> has it been removed from Oneiric?
>
> --
> Joe
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning <at> Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> Workrave-user mailing list
> Workrave-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/workrave-user
>

--

-- 
Sent from my mobile device

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
Dmitry Medvinsky | 25 Oct 2011 16:11
Favicon

Re: Problem building on Linux with D-Bus

Hi again,

> I fixed the --disable-dbus case. Not sure why the --enable-dbus case fails. 
> You you please mail me the config.log file?

Actually, it was my fault with those errors with --enable-dbus, since I didn't
do the proper clean before doing configure.

But now I'm getting other errors, both with --enable-dbus and --disable-dbus.

Some first lines from error log:

    timebar.c:65:3: error: unknown type name 'GdkRGBA'
    timebar.c:85:3: error: unknown type name 'GtkStyleContext'
    timebar.c:89:3: error: unknown type name 'GdkRGBA'
    timebar.c:90:3: error: unknown type name 'GdkRGBA'
    timebar.c:94:1: error: unknown type name 'GdkRGBA'

I guess there's some problem with GTK headers version mismatch or something, is
it? I'm attaching full log for you.

Also, I did minor fix in build files, I'll send pull request via github in a
moment.

Best regards,
Dmitry

On 2011-10-19 21:02:05 +0400, Rob Caelers wrote:
> Hoi,
> 
> > I'm trying to build the latest master branch of Workrave and I have a problem
> > with D-bus.
> 
> 
> Groetjes,
>    Rob
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> _______________________________________________
> Workrave-user mailing list
> Workrave-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/workrave-user
SoundPlayer.cc:316:4: warning: #warning Sound card support disabled. [-Wcpp]
timebar.c:65:3: error: unknown type name 'GdkRGBA'
timebar.c:85:3: error: unknown type name 'GtkStyleContext'
timebar.c:89:3: error: unknown type name 'GdkRGBA'
timebar.c:90:3: error: unknown type name 'GdkRGBA'
timebar.c:94:1: error: unknown type name 'GdkRGBA'
timebar.c: In function 'workrave_timebar_class_init':
timebar.c:119:3: warning: implicit declaration of function 'gdk_rgba_parse' [-Wimplicit-function-declaration]
timebar.c: In function 'workrave_timebar_draw_bar':
timebar.c:224:50: error: request for member 'red' in something not a structure or union
timebar.c:224:78: error: request for member 'green' in something not a structure or union
timebar.c:224:108: error: request for member 'blue' in something not a structure or union
timebar.c:271:15: error: unknown type name 'GdkRGBA'
timebar.c:272:45: error: request for member 'red' in something not a structure or union
timebar.c:272:56: error: request for member 'green' in something not a structure or union
timebar.c:272:69: error: request for member 'blue' in something not a structure or union
timebar.c:271:23: warning: variable 'color' set but not used [-Wunused-but-set-variable]
timebar.c:281:15: error: unknown type name 'GdkRGBA'
timebar.c:282:45: error: request for member 'red' in something not a structure or union
timebar.c:282:56: error: request for member 'green' in something not a structure or union
timebar.c:282:69: error: request for member 'blue' in something not a structure or union
timebar.c:281:23: warning: variable 'color' set but not used [-Wunused-but-set-variable]
timebar.c:293:15: error: unknown type name 'GdkRGBA'
timebar.c:294:45: error: request for member 'red' in something not a structure or union
timebar.c:294:56: error: request for member 'green' in something not a structure or union
timebar.c:294:69: error: request for member 'blue' in something not a structure or union
timebar.c:293:23: warning: variable 'color' set but not used [-Wunused-but-set-variable]
timebar.c:300:11: error: unknown type name 'GdkRGBA'
timebar.c:301:41: error: request for member 'red' in something not a structure or union
timebar.c:301:52: error: request for member 'green' in something not a structure or union
timebar.c:301:65: error: request for member 'blue' in something not a structure or union
timebar.c:300:19: warning: variable 'color' set but not used [-Wunused-but-set-variable]
timebar.c:311:7: error: unknown type name 'GdkRGBA'
timebar.c:312:37: error: request for member 'red' in something not a structure or union
timebar.c:312:48: error: request for member 'green' in something not a structure or union
timebar.c:312:61: error: request for member 'blue' in something not a structure or union
timebar.c:311:15: warning: variable 'color' set but not used [-Wunused-but-set-variable]
timebar.c: In function 'workrave_timebar_draw_text':
timebar.c:357:48: error: request for member 'red' in something not a structure or union
timebar.c:357:74: error: request for member 'green' in something not a structure or union
timebar.c:357:102: error: request for member 'blue' in something not a structure or union
timebar.c:365:45: error: request for member 'red' in something not a structure or union
timebar.c:365:68: error: request for member 'green' in something not a structure or union
timebar.c:365:93: error: request for member 'blue' in something not a structure or union
timebar.c: In function 'workrave_timebar_init_ui':
timebar.c:375:3: warning: implicit declaration of function 'gtk_style_context_new' [-Wimplicit-function-declaration]
timebar.c:375:23: warning: assignment makes pointer from integer without a cast [enabled by default]
timebar.c:376:3: error: unknown type name 'GtkWidgetPath'
timebar.c:376:3: warning: implicit declaration of function 'gtk_widget_path_new' [-Wimplicit-function-declaration]
timebar.c:376:25: warning: initialization makes pointer from integer without a cast [enabled by default]
timebar.c:378:3: warning: implicit declaration of function 'gtk_widget_path_append_type' [-Wimplicit-function-declaration]
timebar.c:379:3: warning: implicit declaration of function 'gtk_style_context_set_path' [-Wimplicit-function-declaration]
timebar.c:380:3: warning: implicit declaration of function 'gtk_style_context_add_class' [-Wimplicit-function-declaration]
timebar.c:380:52: error: 'GTK_STYLE_CLASS_FRAME' undeclared (first use in this function)
timebar.c:380:52: note: each undeclared identifier is reported only once for each function it appears in
timebar.c:385:3: warning: implicit declaration of function 'gtk_style_context_get_font' [-Wimplicit-function-declaration]
timebar.c:385:91: error: 'GTK_STATE_FLAG_ACTIVE' undeclared (first use in this function)
timebar.c:402:3: warning: implicit declaration of function 'gtk_widget_path_free' [-Wimplicit-function-declaration]
timebar.c:404:3: warning: implicit declaration of function 'gtk_style_context_set_state' [-Wimplicit-function-declaration]
timebar.c:405:3: warning: implicit declaration of function
'gtk_style_context_get_background_color' [-Wimplicit-function-declaration]
timebar.c:406:3: warning: implicit declaration of function 'gtk_style_context_get_color' [-Wimplicit-function-declaration]
timebar.c: In function 'workrave_timebar_draw_frame':
timebar.c:416:3: warning: implicit declaration of function 'gtk_style_context_save' [-Wimplicit-function-declaration]
timebar.c:417:53: error: 'GtkStateFlags' undeclared (first use in this function)
timebar.c:417:67: error: expected ')' before 'GTK_STATE_FLAG_ACTIVE'
timebar.c:418:3: warning: implicit declaration of function 'gtk_render_frame' [-Wimplicit-function-declaration]
timebar.c:419:3: warning: implicit declaration of function 'gtk_style_context_restore' [-Wimplicit-function-declaration]
timebar.c:421:50: error: request for member 'red' in something not a structure or union
timebar.c:421:78: error: request for member 'green' in something not a structure or union
timebar.c:421:108: error: request for member 'blue' in something not a structure or union
make[5]: *** [libworkrave_1_0_la-timebar.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
timerbox.c: In function 'workrave_timerbox_update':
timerbox.c:343:3: warning: implicit declaration of function 'gdk_pixbuf_get_from_surface' [-Wimplicit-function-declaration]
timerbox.c:343:23: warning: initialization makes pointer from integer without a cast [enabled by default]
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user
Rob Caelers | 25 Oct 2011 20:09
Gravatar

Re: Problem building on Linux with D-Bus

Hi,

> But now I'm getting other errors, both with --enable-dbus and --disable-dbus.
>
> Some first lines from error log:
>
>      timebar.c:65:3: error: unknown type name 'GdkRGBA'
>      timebar.c:85:3: error: unknown type name 'GtkStyleContext'
>      timebar.c:89:3: error: unknown type name 'GdkRGBA'
>      timebar.c:90:3: error: unknown type name 'GdkRGBA'
>      timebar.c:94:1: error: unknown type name 'GdkRGBA'
>
> I guess there's some problem with GTK headers version mismatch or something, is
> it? I'm attaching full log for you.

timebar.c requires gtk3. It seems the Makefile only checks for the presence of 
introspection. Added check.

> Also, I did minor fix in build files, I'll send pull request via github in a
> moment.

Already merged :-) Thanks!

Groetjes,
   Rob

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
Dmitry Medvinsky | 26 Oct 2011 11:16
Favicon

Re: Problem building on Linux with D-Bus

I guess I'm unlucky. Now I have a new problem after running configure script:

    config.status: error: po/Makefile.in.in was not created by intltoolize.

    $ file po/Makefile.in.in
    po/Makefile.in.in: ASCII English text

Full config.log attached.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev

Gmane