Re: How remove package from extra-devel free?

2009-12-21 Thread Andrew Flegg
On Mon, Dec 21, 2009 at 12:57, Jeff Moe  wrote:
>
> This issue came up (on my radar at least), when a number of
> smallish distros that were just re-rolling Fedora or Debian or
> whatever had to provide sources. Previously they were just saying
> "get it upstream", but that is not allowed by the GPL.

Indeed, I remember this in LWN.

> In sum, the binary distributor must distribute sources in all cases.

Well, the binary distributor is the one who must meet the requirement
to provide source on request.

As maemo.org currently stands, AIUI, if it's archived and someone had
the binary, they can ask for the source and receive it.

Cheers,

Andrew

-- 
Andrew Flegg -- mailto:and...@bleb.org  |  http://www.bleb.org/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How remove package from extra-devel free?

2009-12-21 Thread Jeff Moe
On Monday 21 December 2009 07:50:35 Dave Neary wrote:
> There are a few ways to deal with the source requirement - and if you
> are merely redistributing binaries made by someone else, you don't need
> to provide sources, you only need to be able to point someone to the
> sources.

No, you if you are distributing binaries, you need to provide the sources. It 
doesn't matter where you go them from.

This issue came up (on my radar at least), when a number of smallish distros 
that were just re-rolling Fedora or Debian or whatever had to provide sources. 
Previously they were just saying "get it upstream", but that is not allowed by 
the GPL.

In sum, the binary distributor must distribute sources in all cases.

-Jeff
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Pushing optified Python libs

2009-12-21 Thread Anderson Lizardo
On Fri, Dec 18, 2009 at 2:44 PM, Niels Breet  wrote:
> The question is why it shows up in Downloads as it is in section devel and
> not in a user/* section. This is something I need to check more closely as
> that seems to be a bug in the importer for Downloads.

is it possible to remove it manually from Downloads? it is getting
comments there as it were an application. And even if the Maintainer
field is set correctly, the package interface insists on using either
the uploader or the last changelog entry as maintainer.

Thanks,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How remove package from extra-devel free?

2009-12-21 Thread Attila Csipa
On Monday 21 December 2009 11:50:35 Dave Neary wrote:
> There are a few ways to deal with the source requirement - and if you
> are merely redistributing binaries made by someone else, you don't need
> to provide sources, you only need to be able to point someone to the
> sources.

IANAL, but as Darren pointed out, maemo.org developers using GPL licenses are, 
in general, not doing any binary distributions, and hence have no obligations 
that would be imposed from distributing binaries, i.e. AFAIK there is no 
clause that, in case of a SOURCE distribution, you need to retain (and later 
re-provide) each and every source version you might have released.

Regards,
Attila
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How to play music in silent mode?

2009-12-21 Thread Thomas Perl
2009/12/20 Alberto Garcia :
> I want to make Vagalume play music even if the N900 is in silent mode.
> I also don't want it to be interrupted when I receive a new IM.
>
> Summarizing: I want the same behavior as the N900 media player.
>
> How do I do that? I'm using GStreamer's pulsesink.

Welcome to the club! Please vote for:

https://bugs.maemo.org/show_bug.cgi?id=6694

Stefan there suggests using libplayback, but it's {un,under}documented
- or at least I wasn't able to figure out how to get the desired
behaviour.

Please also share your findings if you figure out how to make it work
(at least FM Radio and Panucci also want to achieve the same thing you
want with Vagalume, but we have not figured it out yet).

HTH.

Thomas
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How remove package from extra-devel free?

2009-12-21 Thread Darren Long
Hi Dave,

Thanks for responding.  Comments in-line.


On 21 Dec 2009, at 10:50, Dave Neary wrote:

> Hi,
> 
> Darren Long wrote:
>> Hmm.  IANAL, but in my naivety, I would have thought that maemo.org would 
>> have to provide source for the binaries they (have) distribute(d).
> 
> Indeed! But the source and the binaries are not the same thing.
> 
> There are a few ways to deal with the source requirement - and if you
> are merely redistributing binaries made by someone else, you don't need
> to provide sources, you only need to be able to point someone to the
> sources.

Ah, but I didn't build the binaries that maemo.org is distributing, maemo.org 
did.  Additionally, I have provided source for the works that I have 
distributed - I've only distributed it to maemo.org, so my GPL commitments are 
satisfied.

> 
> Another way is to ship sources with the binary.
> 
> And finally, the one you may be alluding to, the written offer to
> provide source code, valid for at least three years, to provide the
> source code on request.

Surely that means that maemo.org need to provide source for the binaries that 
they have built and distributed, and as they don't automatically provide source 
with each binary they distribute, need to satisfy the 3 years availability 
requirement.

> 
> So in the case where maemo.org is merely providing a platform for
> someone to share GPL licenced products, all we need to do is give a link
> back to the place the source package, or even forward on the written
> offer that the packager gave us.

But, I provided the source to maemo.org via dput to the autobuilder.  I have 
made no further commitment to anyone, and the way I see it, don't need to.

I'm not trying to be contentious, or have a rant about freedom.  I just want to 
understand my position and maemo.org's position, with respect to the 
requirement to provide source code.

Cheers,

Darren
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: How remove package from extra-devel free?

2009-12-21 Thread Dave Neary
Hi,

Darren Long wrote:
> Hmm.  IANAL, but in my naivety, I would have thought that maemo.org would 
> have to provide source for the binaries they (have) distribute(d).

Indeed! But the source and the binaries are not the same thing.

There are a few ways to deal with the source requirement - and if you
are merely redistributing binaries made by someone else, you don't need
to provide sources, you only need to be able to point someone to the
sources.

Another way is to ship sources with the binary.

And finally, the one you may be alluding to, the written offer to
provide source code, valid for at least three years, to provide the
source code on request.

So in the case where maemo.org is merely providing a platform for
someone to share GPL licenced products, all we need to do is give a link
back to the place the source package, or even forward on the written
offer that the packager gave us.

Cheers,
Dave.

-- 
maemo.org docsmaster
Email: dne...@maemo.org
Jabber: bo...@jabber.org

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


How to change button shape?

2009-12-21 Thread Till Harbaum / Lists
Hi,

hildon buttons can change their shape and their corners aren't always round. 
One example are those three toggle buttons in the top row of the calender menu. 
This particular type of reshape seems to happen magically once those buttons 
are inside a hbox.

But there's also the popup keyboard with the "abc" button which doesn't show 
the round corners at the bottom. I have a similar setup and also want those 
bottom corners to not be round. How is this accomplished?

How can i influence the shape of such buttons explicitely?

Till
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Semi-transparent background for Desktop Widget (Python + Cairo)

2009-12-21 Thread Marc Ordinas i Llopis

Hi,

On 19/12/09 20:41, Brent Chiodo wrote:

Hi,

I'm trying to make the background of a Desktop Widget semi-transparent 
using the cairo graphics library. The widget is written in Python and 
the only examples of this I've found are using C (I don't know much C 
-- I wasn't even able to apply the examples to Python).




I haven't tried in Python, but there's this blog entry by Zaheer Abbas 
Merali which explains how to do it:

http://zaheer.merali.org/articles/2009/10/12/maemo-widget-experience-circular-clock-with-transparent-background/

Hope that helps,
marcoil

This is the current code (that doesn't work -- the background appears 
as a black box)



   def __init__(self):
  hildondesktop.HomePluginItem.__init__(self)
...
  self..connect("screen-changed", self.screen_changed)
  self.connect("expose-event", self.expose)


   def expose(self, widget, event):
  cr = self.window.cairo_create()
  cr.set_source_rgba(1.0, 1.0, 1.0, 0.0) # Transparent

  # Draw the background
  cr.set_operator(cairo.OPERATOR_SOURCE)
  cr.paint()

  # draw rounded rect
  width, height = self.allocation[2], self.allocation[3]

  #/* a custom shape, that could be wrapped in a function */
  x0 = 0   #/*< parameters like cairo_rectangle */
  y0 = 0

  radius = min(15, width/2, height/2)  #/*< and an approximate 
curvature radius */


  x1 = x0 + width
  y1 = y0 + height

  cr.move_to  (x0, y0 + radius)
  cr.arc (x0 + radius, y0 + radius, radius, 3.14, 1.5 * 3.14)
  cr.line_to (x1 - radius, y0)
  cr.arc (x1 - radius, y0 + radius, radius, 1.5 * 3.14, 0.0)
  cr.line_to (x1 , y1 - radius)
  cr.arc (x1 - radius, y1 - radius, radius, 0.0, 0.5 * 3.14)
  cr.line_to (x0 + radius, y1)
  cr.arc (x0 + radius, y1 - radius, radius, 0.5 * 3.14, 3.14)

  cr.close_path ()

  bg_color=gtk.gdk.color_parse("#00")

  cr.set_source_rgba (bg_color.red / 65535.0, 
bg_color.green/65535.0, bg_color.blue/65535.0, float(32767/65535.0))

  cr.fill_preserve ()
  # cr.set_source_rgba (0.5, 0.5, 1.0, 0.8)
  # cr.stroke ()

   def screen_changed(self, widget):
  screen = self.get_screen()
  colormap = screen.get_rgba_colormap()
  self.set_colormap(colormap)

  return False


What I'm trying to do is have the widget appear semi-transparent with 
rounded corners (like most widgets look) but the above code does not 
work at all. I do not know much about cairo and got most of that code 
from Khertan's HomeIP widget for Diablo/Chinook and only modified it a 
little to work with Maemo 5.


Any help would be greatly appreciated. I've been "banging my head 
against a wall" for a while with this one.


--
Best Regards,

Brent Chiodo


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers
   


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Monitor SMS/IM

2009-12-21 Thread daniel wilms
Hi,

> > Is there a way to delete SMS using this API?
> >   
>   
it is part of the API documentation I've sent you:

http://maemo.org/api_refs/5.0/5.0-final/eventlogger/eventlogger_8h.html#10b200d8f5f9c81cc1d1b4541f066571


Daniel


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Monitor SMS/IM

2009-12-21 Thread Yann J.

> Hi,
>> Can someone tell me the best way to monitor SMS ?
>> As an example I would like to execute some actions when a word is
>> contained
>> in a SMS.
> if you want to run your application on the stored SMS in the database, 
> then you could use the eventlogger API [1] for that.
> 
> [1] http://maemo.org/api_refs/5.0/5.0-final/eventlogger/

Is there a way to delete SMS using this API?

Yann
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Monitor SMS/IM

2009-12-21 Thread daniel wilms
Hi,
> Can someone tell me the best way to monitor SMS ?
> As an example I would like to execute some actions when a word is contained
> in a SMS.
if you want to run your application on the stored SMS in the database, 
then you could use the eventlogger API [1] for that.

[1] http://maemo.org/api_refs/5.0/5.0-final/eventlogger/

Cheers Daniel
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Is eventlogger el.db schema stable ?

2009-12-21 Thread daniel wilms
Hi Carlos,

there is the eventlogger API [1], which does the job, but AFAIK the 
python bindings are not there yet. In general you should not manipulate 
directly the database, as it is not guaranteed to be stable and as you 
could mess up with the UI by adding entries wrong. So the way to go is 
to create the python bindings to the existing eventlogger API.

[1] http://maemo.org/api_refs/5.0/5.0-final/eventlogger/

Cheers Daniel


ext Carlos Morgado wrote:
> Hi,
> I'm putting together a small python script that uses the eventlogger 
> but there's no bindings that I could find in pymaemo.
> I'm fine with going directly to el.db through sqlite3 but this isn't 
> exactly an API so my question is, is the schema likely to change in 
> the foreseeable future ?
>
> cheers
>
> -- 
> Carlos Morgado
>

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers