Re: Python module wnck?

2012-04-27 Thread Rod Person
On Fri, 27 Apr 2012 03:54:29 + (UTC)
Walter Hurry walterhu...@gmail.com wrote:
 
  How many of the screenlets actually work? When I was working on
  this I found that a number of them where too linux specific to
  work. I have a screenshot of the sticky note and weather working
  but that's about all I can recall working.
 
  I only wanted three: Clock, ClearCalendar and ClearWeather. They
  work perfectly. I haven't tried any of the others.
  
  Consider making a port.  Clearly there is some demand.
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
 
 For the Python wnck module, or for screenlets? I'm afraid that 
 technically I am well short of the ability to do either. I am more
 than willing to help anyone who elects to so, though.

 Incidentally (and this is addressed to Rod mainly), the ClearWeather 
 module was broken. I had to hack it a bit to get it to work properly.
 It got confused over proxies, but since I am not unfamiliar with
 Python, that presented no difficulty.
 

Creating a port itself is rather simple...it the porting of the code
from Linux to FreeBSD that is the hard part. I have one official port
that I made as a way to brush off my C skills, it works but it was hell
getting some of the Linux specific translated but thanks to one of the
committers it got cleaned up...

But anyway, the issues with screenlets is getting any of the screenlets
that interface with the system to work such as Mount, MyIP, Netmonitor
or the CPU Meter, when I tried this with FreeBSD 7.2 none of them worked
because of all the Linux device names. 

If you know python this should not be too hard just time consuming. The
only reason I stopped working on this was I moved from using OpenBox to
using the i3 window manager.

I can check around and see if I still have any thing I worked on laying
around but I'm not sure about that...I changed hard disks since then.

I do love python so I would not be adversed to working on some of the
individual screenlet modules.


-- 

Rod Person  http://www.rodperson.com  rodper...@rodperson.com

'Silence is a fence around wisdom'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Python module wnck?

2012-04-27 Thread Walter Hurry
On Fri, 27 Apr 2012 07:07:59 -0400, Rod Person wrote:

 On Fri, 27 Apr 2012 03:54:29 + (UTC)
 Walter Hurry walterhu...@gmail.com wrote:
 
  How many of the screenlets actually work? When I was working on
  this I found that a number of them where too linux specific to
  work. I have a screenshot of the sticky note and weather working
  but that's about all I can recall working.
 
  I only wanted three: Clock, ClearCalendar and ClearWeather. They
  work perfectly. I haven't tried any of the others.
  
  Consider making a port.  Clearly there is some demand.
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
 
 For the Python wnck module, or for screenlets? I'm afraid that
 technically I am well short of the ability to do either. I am more than
 willing to help anyone who elects to so, though.

 Incidentally (and this is addressed to Rod mainly), the ClearWeather
 module was broken. I had to hack it a bit to get it to work properly.
 It got confused over proxies, but since I am not unfamiliar with
 Python, that presented no difficulty.
 
 
 Creating a port itself is rather simple...it the porting of the code
 from Linux to FreeBSD that is the hard part. I have one official port
 that I made as a way to brush off my C skills, it works but it was hell
 getting some of the Linux specific translated but thanks to one of the
 committers it got cleaned up...
 
 But anyway, the issues with screenlets is getting any of the screenlets
 that interface with the system to work such as Mount, MyIP, Netmonitor
 or the CPU Meter, when I tried this with FreeBSD 7.2 none of them worked
 because of all the Linux device names.
 
 If you know python this should not be too hard just time consuming. The
 only reason I stopped working on this was I moved from using OpenBox to
 using the i3 window manager.
 
 I can check around and see if I still have any thing I worked on laying
 around but I'm not sure about that...I changed hard disks since then.
 
 I do love python so I would not be adversed to working on some of the
 individual screenlet modules.

Thanks for the encouragement, but my skills really are not up to that.
Cheers, anyway.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Python module wnck?

2012-04-26 Thread Polytropon
On Thu, 26 Apr 2012 13:37:44 + (UTC), Walter Hurry wrote:
 I'm trying to get screenlets up and running on 9.0, but I'm getting the 
 following Python error:
 
 ImportError: No module named wnck
 
 I believe that this should be supplied by a a package or port named 
 something like py27-wnck, but am unable to trace any such.
 
 Can anyone point me in the right direction please?

Use the ports, Luke. :-)

% cd /usr/ports
% make search name=wnck

And a result:

Port:   libwnck-2.30.6
Path:   /usr/ports/x11-toolkits/libwnck
Info:   Library used for writing pagers and taskslists

More checks:

% cat less x11-toolkits/libwnck/pkg-descr 

libwnck is a Window Navigator Construction Kit, i.e. a library used
for writing pagers and taskslists.  It is needed for the 
GNOME 2.0 desktop.

Does this look like what you're searchin for? I know it's
not specified to be a Python module, but maybe it interfaces
with Python somehow?

You can also use make search key=wnck to bring up a list
of keyword search results.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Python module wnck?

2012-04-26 Thread Rod Person
On Thu, 26 Apr 2012 13:37:44 + (UTC)
Walter Hurry walterhu...@gmail.com wrote:

 I'm trying to get screenlets up and running on 9.0, but I'm getting
 the following Python error:
 
 ImportError: No module named wnck
 
 I believe that this should be supplied by a a package or port named 
 something like py27-wnck, but am unable to trace any such.
 
 Can anyone point me in the right direction please?


It's been a year or two since I tried to get screenlets running, but as
I recall you need to get python wnck module yourself. libwnck is in the
ports which is needed for the python module.


-- 

Rod Person  http://www.rodperson.com  rodper...@rodperson.com

'Silence is a fence around wisdom'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Python module wnck?

2012-04-26 Thread Walter Hurry
On Thu, 26 Apr 2012 10:43:23 -0400, Rod Person wrote:

 On Thu, 26 Apr 2012 13:37:44 + (UTC)
 Walter Hurry walterhu...@gmail.com wrote:
 
 I'm trying to get screenlets up and running on 9.0, but I'm getting the
 following Python error:
 
 ImportError: No module named wnck
 
 I believe that this should be supplied by a a package or port named
 something like py27-wnck, but am unable to trace any such.
 
 Can anyone point me in the right direction please?
 
 
 It's been a year or two since I tried to get screenlets running, but as
 I recall you need to get python wnck module yourself. libwnck is in the
 ports which is needed for the python module.

Thanks. libwnck is already installed, so I downloaded gnome-python-
desktop-2.32.0.tar.bz2 from ftp.gnome.org, which apparently contains the 
Python wnck module.

I was intending to make the whole thing, but then install only the bit I 
need. Unfortunately when it came to compile wnck, the following error was 
displayed:

libtool: link: `/usr/local/lib/libxcb-aux.la' is not a valid libtool 
archive

Indeed it isn't. There is no such file, even though libxcb is installed.

Any thoughts? 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Python module wnck?

2012-04-26 Thread Warren Block

On Thu, 26 Apr 2012, Walter Hurry wrote:


On Thu, 26 Apr 2012 10:43:23 -0400, Rod Person wrote:


On Thu, 26 Apr 2012 13:37:44 + (UTC)
Walter Hurry walterhu...@gmail.com wrote:


I'm trying to get screenlets up and running on 9.0, but I'm getting the
following Python error:

ImportError: No module named wnck

I believe that this should be supplied by a a package or port named
something like py27-wnck, but am unable to trace any such.

Can anyone point me in the right direction please?



It's been a year or two since I tried to get screenlets running, but as
I recall you need to get python wnck module yourself. libwnck is in the
ports which is needed for the python module.


Thanks. libwnck is already installed, so I downloaded gnome-python-
desktop-2.32.0.tar.bz2 from ftp.gnome.org, which apparently contains the
Python wnck module.

I was intending to make the whole thing, but then install only the bit I
need. Unfortunately when it came to compile wnck, the following error was
displayed:

libtool: link: `/usr/local/lib/libxcb-aux.la' is not a valid libtool
archive

Indeed it isn't. There is no such file, even though libxcb is installed.


http://forums.freebsd.org/showpost.php?p=163415postcount=17
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Python module wnck?

2012-04-26 Thread Walter Hurry
On Thu, 26 Apr 2012 11:29:44 -0600, Warren Block wrote:

 On Thu, 26 Apr 2012, Walter Hurry wrote:
 
 On Thu, 26 Apr 2012 10:43:23 -0400, Rod Person wrote:

 On Thu, 26 Apr 2012 13:37:44 + (UTC)
 Walter Hurry walterhu...@gmail.com wrote:

 I'm trying to get screenlets up and running on 9.0, but I'm getting
 the following Python error:

 ImportError: No module named wnck

 I believe that this should be supplied by a a package or port named
 something like py27-wnck, but am unable to trace any such.

 Can anyone point me in the right direction please?


 It's been a year or two since I tried to get screenlets running, but
 as I recall you need to get python wnck module yourself. libwnck is in
 the ports which is needed for the python module.

 Thanks. libwnck is already installed, so I downloaded gnome-python-
 desktop-2.32.0.tar.bz2 from ftp.gnome.org, which apparently contains
 the Python wnck module.

 I was intending to make the whole thing, but then install only the bit
 I need. Unfortunately when it came to compile wnck, the following error
 was displayed:

 libtool: link: `/usr/local/lib/libxcb-aux.la' is not a valid libtool
 archive

 Indeed it isn't. There is no such file, even though libxcb is
 installed.
 
 http://forums.freebsd.org/showpost.php?p=163415postcount=17


Thanks for that link! And thanks to Rod and Poly too.
I now have screenlets up and running perfectly. I have kept notes in case 
any other soul needs assistance.

What a suerb list!. As I gain experience with FreeBSD I hope I shall be 
able to contribute something in return.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Python module wnck?

2012-04-26 Thread Rod Person
On Thu, 26 Apr 2012 22:14:53 + (UTC)
Walter Hurry walterhu...@gmail.com wrote:
 
 Thanks for that link! And thanks to Rod and Poly too.
 I now have screenlets up and running perfectly. I have kept notes in
 case any other soul needs assistance.
 
 What a suerb list!. As I gain experience with FreeBSD I hope I shall
 be able to contribute something in return.

How many of the screenlets actually work? When I was working on this I
found that a number of them where too linux specific to work. I have a
screenshot of the sticky note and weather working but that's about all
I can recall working.


-- 
Rod Person http://www.rodperson.com rodper...@rodperson.com
  
Let us in the name of the Holy Trinity, go on sending all the slaves 
 that can be sold. 
- Letter from Christopher Columbus.
  J.A. Rawley, The Trans-Atlantic Slave Trade: A History. Pg.3
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Python module wnck?

2012-04-26 Thread Walter Hurry
On Thu, 26 Apr 2012 18:41:35 -0400, Rod Person wrote:

 On Thu, 26 Apr 2012 22:14:53 + (UTC)
 Walter Hurry walterhu...@gmail.com wrote:
 
 Thanks for that link! And thanks to Rod and Poly too.
 I now have screenlets up and running perfectly. I have kept notes in
 case any other soul needs assistance.
 
 What a suerb list!. As I gain experience with FreeBSD I hope I shall be
 able to contribute something in return.
 
 How many of the screenlets actually work? When I was working on this I
 found that a number of them where too linux specific to work. I have a
 screenshot of the sticky note and weather working but that's about all I
 can recall working.

I only wanted three: Clock, ClearCalendar and ClearWeather. They work 
perfectly. I haven't tried any of the others.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Python module wnck?

2012-04-26 Thread Warren Block

On Fri, 27 Apr 2012, Walter Hurry wrote:


On Thu, 26 Apr 2012 18:41:35 -0400, Rod Person wrote:


On Thu, 26 Apr 2012 22:14:53 + (UTC)
Walter Hurry walterhu...@gmail.com wrote:


Thanks for that link! And thanks to Rod and Poly too.
I now have screenlets up and running perfectly. I have kept notes in
case any other soul needs assistance.

What a suerb list!. As I gain experience with FreeBSD I hope I shall be
able to contribute something in return.


How many of the screenlets actually work? When I was working on this I
found that a number of them where too linux specific to work. I have a
screenshot of the sticky note and weather working but that's about all I
can recall working.


I only wanted three: Clock, ClearCalendar and ClearWeather. They work
perfectly. I haven't tried any of the others.


Consider making a port.  Clearly there is some demand.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Python module wnck?

2012-04-26 Thread Walter Hurry
On Thu, 26 Apr 2012 19:51:49 -0600, Warren Block wrote:

 On Fri, 27 Apr 2012, Walter Hurry wrote:
 
 On Thu, 26 Apr 2012 18:41:35 -0400, Rod Person wrote:

 On Thu, 26 Apr 2012 22:14:53 + (UTC)
 Walter Hurry walterhu...@gmail.com wrote:

 Thanks for that link! And thanks to Rod and Poly too.
 I now have screenlets up and running perfectly. I have kept notes in
 case any other soul needs assistance.

 What a suerb list!. As I gain experience with FreeBSD I hope I shall
 be able to contribute something in return.

 How many of the screenlets actually work? When I was working on this I
 found that a number of them where too linux specific to work. I have a
 screenshot of the sticky note and weather working but that's about all
 I can recall working.

 I only wanted three: Clock, ClearCalendar and ClearWeather. They work
 perfectly. I haven't tried any of the others.
 
 Consider making a port.  Clearly there is some demand.
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/

For the Python wnck module, or for screenlets? I'm afraid that 
technically I am well short of the ability to do either. I am more than 
willing to help anyone who elects to so, though.

Incidentally (and this is addressed to Rod mainly), the ClearWeather 
module was broken. I had to hack it a bit to get it to work properly. It 
got confused over proxies, but since I am not unfamiliar with Python, 
that presented no difficulty.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org