[Fwd: systemd as external dependency]

2012-01-23 Thread Sebastien Bacher
The email has been sent on the gnome desktop-devel-list today:
http://mail.gnome.org/archives/desktop-devel-list/2011-May/msg00427.html

Not sure if people there read GNOME list but since the topic is
interesting for the distribution I figured I would just share the info

Cheers,
Sebastien Bacher
---BeginMessage---
Heya,

I'd like to propose systemd (GPL2+,
http://www.freedesktop.org/wiki/Software/systemd) as blessed external
dependency for GNOME 3.2. 

Currently the interfacing between GNOME and systemd is minimal. Bastien
has been implementing a UI for changing the host name via a
configuration UI in the control center which uses a tiny mechanism
daemon included in systemd as backend. GLib already exposes
g_get_user_runtime_dir() which is a frontend for XDG_RUNTIME_DIR whose
only implementation I know right now is in systemd.

In the future I expect more interfacing with GNOME however, and I'd thus
like to see the discussion regarding acceptance as blessed
dependency started early.

In the long run I expect the following additional interfaces used by
GNOME or one of its components:

- I am working on two more mechanisms generalizing control of the system
  locale and system clock/timezone for use in the control center and by
  other UIs.

- gdm will interface with the new CK-replacing code I am working on.

  http://lwn.net/Articles/441328/

- gnome-session will be augmented by a per-user systemd instace,
  leveraging the benefits that systemd gives you for system startup also
  for session startup.

- Later on I hope that we can use per-application cgroups to create
  reliable mapping between desktop files and processes. (i.e. place each
  app in a cgroup and name it after the .desktop file), integrated into
  the systemd cgroup hierarchy, so that this can be used for g-s and
  other UIs to relate desktop files to processes.

And I expect a couple of more interfacing points, however things get
more and more into vaporware areas with those.

With these interfaces I hope to bring the speed improvements we are
providing for the system also to the session. Also it brings a ton of
new user-visible features with it, like automatic multiseat, or the
ability to change the system locale.

systemd is Linux-only. That means if we still care for those non-Linux
platforms replacements have to be written. In case of the
timezone/time/locale/hostname mechanisms this should be relatively easy
as we kept the D-Bus interface very much independent from systemd, and
they are easy to reimplement. Also, just leaving out support for this on
those archs should be workable too. The hostname interface is documented
in a lot of detail here:
http://www.freedesktop.org/wiki/Software/systemd/hostnamed -- we plan to
offer similar documentation for the other mechanisms.

Not all Linux distributions currently use systemd. The majority of the
big and small distributions however has switched by now or is planning
to switch in their next versions, or at least provides packages in the
distribution. The one exception is Ubuntu. While I have hopes this will
be resolved next year, there is no official statement from Ubuntu on
this. Distributions not interested in systemd which however are looking
into having some of its features could probably compile systemd but
remove all but the mechanism daemons.

Integration between gnome-session and systemd I expect to be very lose,
and can probably easily be #ifdef'ed out for conservative distros or
other OSes.

The closest integration I expect in gdm. Ideally I'd like to rip out the
current CK support completely and replace it entirely by the more
low-level systemd specific code. However, that I can only do if the
outcome of this discussion is clear.

systemd itself has very minimal external dependencies. You need Linux,
udev, D-Bus, and that's it. (there are a couple of additional optional
deps however).

The first version i'd like to see blessed is systemd 26.

Comments?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list
---End Message---
-- 
ubuntu-platform mailing list
ubuntu-platf...@lists.canonical.com
https://lists.canonical.com/mailman/listinfo/ubuntu-platform
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: [Fwd: systemd as external dependency]

2012-01-23 Thread Olav Vitters
On Wed, May 18, 2011 at 06:19:44PM +0200, Sebastien Bacher wrote:
 The email has been sent on the gnome desktop-devel-list today:
 http://mail.gnome.org/archives/desktop-devel-list/2011-May/msg00427.html

Oops. Didn't notice it was in the queue for that long. I didn't read the
contents before approving.

-- 
Regards,
Olav
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-21 Thread Josselin Mouette
Le vendredi 20 mai 2011 à 18:03 -0400, Shaun McCance a écrit : 
 http://www.packagekit.org/pk-faq.html#user-interaction
 
 I don't believe this is a case of developers not having researched
 what different systems do. Rather, I think it's a case of making a
 conscious design decision about how we think users should interact
 with computers running GNOME.

No, it is precisely a case of developers designing with blindfolds and
then wondering how to stick their restricted design on other operating
systems.

The application design is correct; the developers made a good case of
why they don’t want user interaction for the kind of use cases
gnome-packagekit is about. But the D-Bus interface design is not, since
it makes it impossible to re-use existing low-level interfaces. The
result is that we have to maintain two interfaces: one for high-level
operations, and one for low-level ones. How is this code duplication
useful to anyone?

If the developers had wondered by advance how their interface could be
made to work with the existing Ubuntu tools, this would have not
happened.


Let’s take other examples. You want to design a new interface to replace
ConsoleKit; does it make specific assumptions about VTs? Are there OSes
where the concept of VT does not exist and how does the interface deal
with them? If a method expects to be returned a device name and VTs are
not associated with devices, what can you do? You want an interface that
sets a host name; does this concept make sense in all cases?  You want
an interface to create users; what defines a user on BSD, on Solaris?
Does it cope with SELinux and/or RBAC?

I’m not saying these questions are all relevant, but you have to ask
them. This should be obvious, but since we have precedents, it is fair
to wonder whether these situations have been taken into account. You
don’t have to implement RBAC support, but if you design an interface
that makes it impossible and then tell Solaris developers “you just have
to implement that interface”, it’s like giving them the finger.

 Understand that GNOME 3 is design-focused: We create a coherent
 design for users, then we figure out what technology we need to
 make that design happen. Some people seem to want to go the other
 direction: See what technology we have, and figure out what kind
 of design we can bolt on top of it.

This is a correct approach for an application design; it is not for a
protocol design. Users don’t have to cope with the protocol, but other
developers will. You need to think the application in a user-friendly
way, and the protocol in a developer-friendly way.

 I think it is absolutely fair to ask GNOME developers to document
 what they expect of the system to achieve their designs. I do not
 think it's fair to ask them to compromise their designs because
 some technology stack behaves differently.

I think it would be better to ask people who know how to design system
interfaces and work with them to make them portable and fit with your
application design, instead of making your own interfaces and insulting
people when they start complaining as they discover the disaster.

-- 
.''`.  Josselin Mouette
: :' :
`. `'
  `-


signature.asc
Description: This is a digitally signed message part
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-20 Thread Lennart Poettering
On Thu, 19.05.11 23:51, Luca Ferretti (lferr...@gnome.org) wrote:

  In the future I expect more interfacing with GNOME however, and I'd thus
  like to see the discussion regarding acceptance as blessed
  dependency started early.

 Are you planning to delegate single module maintainers to implement
 those interfaces? Do they agree on it? Do you have a list of involved
 core modules (apart the ones listed below: gdm, gnome-session and
 gnome-control-center)?

Well, we'll see who will do the work in the end but I am pretty sure
that somebody will do it. I am pretty sure that will be in big parts
me.

Bastien worked on the hostname panel. I will work on gdm, and work with
the maintainers to make this happen. gnome-session is not a pressing
issue right now, but I will probably too be the one who does the
work.

  In the long run I expect the following additional interfaces used by
  GNOME or one of its components:
 
  - I am working on two more mechanisms generalizing control of the system
locale and system clock/timezone for use in the control center and by
other UIs.

 Reducing this to a yes-or-no-feature view: distro/kernels without
 systemd will have to apply a (big?) patch gnome-control-center in order
 to provide the ability to change locale and time settings. Is this
 correct?

No.

As I tried to make clear a gazillions of times: the mode of cooperation
with other kernels is sharing interfaces, not code. i.e. other OSes can
reimplement the bus interface. Bastien's g-c-c stuff uses the D-Bus
interface, and if they reimplement that they can benefit from the same
features.

It's all documented:

http://www.freedesktop.org/wiki/Software/systemd/hostnamed

There's nothing systemd specific in that iface.

And as mentioned, other Linux distros can compile systemd and strip
everything but hostnamed and friends. I wrote that explcitly in my
original mail.

 Also, if I haven't misunderstood, 'cause you will not maintain a systemd
 version for non-linux kernels, if FreeBSD (just and example) will switch
 to systemd, FreeBSD developers will have to maintain their own forked or
 patched version of systemd, haven't they?

No. It makes no sense running systemd on the BSDs. I don't think anybody
who knows systemd and the BSDs would seriously suggest anything like
this. See this mail of mine for an explanation:

https://mail.gnome.org/archives/desktop-devel-list/2011-May/msg00447.html

Focus is on sharing interfaces, not code.

  - gdm will interface with the new CK-replacing code I am working on.
 
http://lwn.net/Articles/441328/

 Same previous yes-or-no question (to simplify: no systemd, no login),
 plus I suppose this bond between systemd and gdm will add another -1 to
 lightdm.

Well, the interfaces we provide in systemd are not bound exclusively to
be consumed by gdm. The KDE folks for example are very welcome to
support the same functionality for KDM, and use our interfaces. And
that's true for any other kind of DM too.

  - Later on I hope that we can use per-application cgroups to create
reliable mapping between desktop files and processes. (i.e. place each
app in a cgroup and name it after the .desktop file), integrated into
the systemd cgroup hierarchy, so that this can be used for g-s and
other UIs to relate desktop files to processes.

 Is this the only way to create a relationship between processes
 and .desktop files? For example, another solution to this feature seems
 to be BAMF (https://launchpad.net/bamf/  ), and I remember it was
 suggested as a viable solution (maybe by vuntz?). Advantages?
 Drawbacks?

I have not looked in detail into BAMF. I want the definition of an app
in the OS, not as glue code bolted on top that works with heuristics.

 Do you think systemd approach will be used by or can be shared to
 non-GNOME stuff too (for instance firefox or libreoffice or qt apps and
 so on)?

Yes, it pushes the definition of an app into the kernel, via
cgroups. That is compatible with all kinds of apps.

  systemd is Linux-only. That means if we still care for those non-Linux
  platforms replacements have to be written.

 So, IIRC, the release team will have to choose between have
 features (or enhancements to currently available features) and create
 a lockin (or something that, at least currently, resembles a lockin).

Using lock-in as word is inappropriate here. It's free software. That
per definition doesn't cause lock-in.

It's like it always is: some features are available on some systems
only, but the others can catch up if they want.

 Do you think we (release team) should follow a technical approach or a
 political approach to this question? Why?

I dont understand the question.

I tried to outline the mode of cooperation I am suggesting on these
interfaces.

 We are still at 3.2 release and systemd is a young project and not
 widely adopted solution. Any special reason to introduce this lockin
 in GNOME now?

There is no lock-in.

I think it is amazingly widely 

Re: systemd as external dependency

2011-05-20 Thread Shaun McCance
On Thu, 2011-05-19 at 13:10 -0300, Evandro Fernandes Giovanini wrote:
 Em Qui, 2011-05-19 às 15:15 +0200, Lennart Poettering escreveu:
  On Thu, 19.05.11 00:50, Sergey Udaltsov (sergey.udalt...@gmail.com) wrote:
  
   
I think the best way to save resources is not to run anything. For stuff
like hostnames/locale/time which is used only every other moonphase
having tiny single-purpose mini-services is perfectly appropriate. I
don't think there would be any benefit in merging these mini daemons
into one. Au contraire, I'd guess you'd waste even more resources with
dlopen() and friends.
   Can all those services be standardized using DBus interfaces (DBus
   activation if necessary)? IMHO that's the only way to remain friendly
   to non-linux OSes, not having any bits of systemd (or distros that are
   not using it)?
  
  Some can. Not all.
  
  The hostname mechanism is explained in very much detail here:
  
  http://www.freedesktop.org/wiki/Software/systemd/hostnamed
  
  As suggested a couple of times I believe the mode of cooperation with
  the Solaris/BSD folks here should be to share those interfaces, not the
  code behind it.
  
  Something similar is true for the locale/timezone/time mechanisms.
  
 
 Would you propose a specific set of interfaces as blessed external
 dependencies instead of systemd entirely? I believe that would make this
 discussion quite a bit simpler.

The flames have died down now. I'd like to discuss this bit
productively.

I don't think Lennart is being unreasonable in suggesting that
underlying systems share interfaces. It's what we do right now
with really core stuff (e.g. libc), and it's what we do with
other desktops for certain D-Bus interfaces.

I think Evandro's proposal is fair as well. We could set up a
wiki page listing D-Bus interfaces we expect to be available.
And not just for systemd-related things. Don't like PackageKit?
Fine, whatever, but we expect you to make your stuff implement
this interface.

Then there's the non-D-Bus API. Function calls, file format and
layout, command-line tools, unit names. (I'm using API broadly
to mean anything we expect to be true of the system.)

Can we list exactly what we expect to work for the features we
need? That way, if anybody wants to do the porting work, they
know exactly what they need to do.

--
Shaun


___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-20 Thread Shaun McCance
On Fri, 2011-05-20 at 10:49 -0400, Matthias Clasen wrote:
 On Fri, May 20, 2011 at 10:37 AM, Shaun McCance sha...@gnome.org wrote:
 
  Can we list exactly what we expect to work for the features we
  need? That way, if anybody wants to do the porting work, they
  know exactly what they need to do.
 
 I've already pointed this out http://live.gnome.org/PortabilityMatrix
 which can be taken as a starting point. It can certainly be improved
 upon, but there should be no illusion that writing a 'how to port
 gnome to your OS in 10 easy steps' manual will be a huge undertaking,
 for very modest gain, and it will be more or less outdated fairly
 soon. And it is extra work that distracts from the core mission:
 writing something that actually works, and is awesome.

I didn't suggest a lengthy tutorial or a support matrix. Just
a list of interfaces we use. It takes some work, but it doesn't
have to take nearly as much work as you're suggesting.

1. I need sd_foo_interface to implement foo feature
2. Write code
3. git commit  git push origin master
4. echo sd_foo_interface  http://live.gnome.org/Interfaces

--
Shaun


___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-20 Thread Josselin Mouette
Le vendredi 20 mai 2011 à 10:37 -0400, Shaun McCance a écrit :
 I think Evandro's proposal is fair as well. We could set up a
 wiki page listing D-Bus interfaces we expect to be available.
 And not just for systemd-related things. Don't like PackageKit?
 Fine, whatever, but we expect you to make your stuff implement
 this interface.

PackageKit is a good example of why this is not always a great idea. If
you design an interface based on a given system, you might make
assumptions that make it hard to adapt to other systems. 

I don’t think this approach is bad per se, but it requires extra care
while designing the interfaces, and checking how they would be ported to
other OSes, even without actually doing the job.

-- 
 .''`.  Josselin Mouette
: :' :
`. `'  “If you behave this way because you are blackmailed by someone,
  `-[…] I will see what I can do for you.”  -- Jörg Schilling

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-20 Thread Shaun McCance
On Fri, 2011-05-20 at 23:12 +0200, Josselin Mouette wrote:
 Le vendredi 20 mai 2011 à 10:37 -0400, Shaun McCance a écrit :
  I think Evandro's proposal is fair as well. We could set up a
  wiki page listing D-Bus interfaces we expect to be available.
  And not just for systemd-related things. Don't like PackageKit?
  Fine, whatever, but we expect you to make your stuff implement
  this interface.
 
 PackageKit is a good example of why this is not always a great idea. If
 you design an interface based on a given system, you might make
 assumptions that make it hard to adapt to other systems. 
 
 I don’t think this approach is bad per se, but it requires extra care
 while designing the interfaces, and checking how they would be ported to
 other OSes, even without actually doing the job.

You don't mention specific problems. I assume you mean the issues
with user interactions when installing:

http://www.packagekit.org/pk-faq.html#user-interaction

I don't believe this is a case of developers not having researched
what different systems do. Rather, I think it's a case of making a
conscious design decision about how we think users should interact
with computers running GNOME.

Understand that GNOME 3 is design-focused: We create a coherent
design for users, then we figure out what technology we need to
make that design happen. Some people seem to want to go the other
direction: See what technology we have, and figure out what kind
of design we can bolt on top of it.

I think it is absolutely fair to ask GNOME developers to document
what they expect of the system to achieve their designs. I do not
think it's fair to ask them to compromise their designs because
some technology stack behaves differently.

--
Shaun


___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-19 Thread Jasper Lievisse Adriaanse
On Wed, May 18, 2011 at 11:32:39PM +0200, Olav Vitters wrote:
 On Wed, May 18, 2011 at 10:50:45PM +0200, Jasper Lievisse Adriaanse wrote:
  I think I can say that I speak for the whole BSD community, GNOME users
  and non-GNOME users, when I say that such steps as enforcing Linux-only
  dependencies even more is a clear sign GNOME does not care about portability
  to any OS other than Linux...and that this is very sad sign to everyone 
  else.
 
 Portability is nice, but how many OpenBSD developers are there working
 on GNOME for a significant amount of time? How many OpenBSD developers
 work upstream (so not just porting after the fact)? How many maintain a
 GNOME module?
There are at two OpenBSD developers working full time on GNOME. Yes, full time.
None work upstream apart from submitting dozens of patches (which frankly, do
get ignored quite often), and none maintain a module. I'd be happy to commit
the portability fixes myself though..
 
 This as I don't notice anyone non-Linux developers usually on
 desktop-devel-list. Only some complaints after a new GNOME is released
 and it doesn't work right away on e.g. FreeBSD.
 To me, it seems like we do not have any non-Linux developers at all. So
 as a result, non-Linux gets less effort. It seems a pretty logical
 result to me. Then obviously you'll get a thread asking to depend more
 on just Linux. It is still being *asked*; result is this discussion and
 eventually release-team will decide.
Which is why it seemed like a good moment to speak up :)

 I do wonder what portability gets us (benefits+drawbacks). I can think
 of extra users, and perhaps better abstractions, but what more?
More correct and better code in general? Shouldn't that be a benefit too?
 
 Above doesn't reflect any opinion on what I think GNOME should do btw. I
 have not made up my mind at all. I'm just wondering out loud and being
 critical.
 -- 
 Regards,
 Olav

-- 
Cheers,
Jasper

Capable, generous men do not create victims, they nurture them.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Seif Lotfy
On Thu, May 19, 2011 at 10:53 AM, Olav Vitters o...@vitters.nl wrote:

 On Thu, May 19, 2011 at 01:10:02PM +1000, Andrew Cowie wrote:
  The number of times I have been mocked and derided and laughed at on IRC
  is staggering. That's not a real distro. That's not maintained by
  real GNOME people. Don't use that Switch distros!

 I see nothing wrong with the latter two:
  Don't use that
  Switch distros!

 That is perfectly valid advice. You need various things in your
 distribution to help GNOME development. I would not advise anyone to use
 Ubuntu anymore when they want to get involved with GNOME.


Can you explain to me how using Ubuntu makes getting involved with GNOME
development harder or wrong (couldn't extract that out of your msg)



 GNOME should run on any distribution, but if a distribution has a big
 focus and is known to be problematic to do development upon, advice on
 that is a good thing.


We make it a problem where its not. We could harvest lots of talent from the
Ubuntu community if we did not act like snobs and look down upon them.



 The first 2 statements are not good though:
  That's not a real distro
  That's not maintained by real GNOME people

 Though even the latter I could explain in a more 'assume mean well' way.

 Hope that if you get bad behaviour, you do speak with those people
 privately.
 --
 Regards,
 Olav
 ___
 desktop-devel-list mailing list
 desktop-devel-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/desktop-devel-list

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-19 Thread Luca Ferretti
Il giorno gio, 19/05/2011 alle 10.53 +0200, Olav Vitters ha scritto:
 You need various things in your
 distribution to help GNOME development. I would not advise anyone to use
 Ubuntu anymore when they want to get involved with GNOME.

Maybe I misunderstood this phrase, could you please elaborate it?
Thanks.

Cheers, Luca

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread John Stowers
 Hey,
 
 Could you give some details on what is the issue with running Ubuntu and
 contributing to GNOME? Several active GNOME contributors are running
 Ubuntu, do you means they are not welcome to contribute to GNOME because
 of the distribution they decided to use?

I'm not wading into this fight too deeply, nor am trying to take this
thread OT.

I am currently running the GNOME3 PPA on Ubuntu 10.04 and contributing
to GNOME [1]. It seems to work OK [2] now (but I am still wary of
upgrades). The main differences (excluding bugs) from upstream seem to
be
* No gnome-panel 3.0 (blocking on new e-d-s AIUI)
* Old Rhythmbox version that misses plugins
* Old evolution (as per e-d-s)

John

[1] Porting gnome-games/soduku + goocanvas to pygobject, maintaining
gnome-tweak-tool
[2] There was a few incidents where crashy g-s-d got through and would
only show me the fail whale and prevent login. There is also a g-s-d
race condition (that bites occasionally) in g-d-m where several g-s-d
instances are started and eat 100% of my CPU. I have lost the bug # for
this.


___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Olav Vitters
On Thu, May 19, 2011 at 11:41:08AM +0200, Sebastien Bacher wrote:
 Le jeudi 19 mai 2011 à 10:53 +0200, Olav Vitters a écrit :
  That is perfectly valid advice. You need various things in your
  distribution to help GNOME development. I would not advise anyone to
  use Ubuntu anymore when they want to get involved with GNOME. 

 Could you give some details on what is the issue with running Ubuntu and
 contributing to GNOME? Several active GNOME contributors are running

I've seen a lot of people on IRC and during the 3.0 party saying the 3.0
PPA killed their Ubuntu. Or that their had a lot of difficulty to get a
jhbuild going.

I cannot help them. And I noticed a lot of these issues going
unanswered. So my conclusion is that it is better to suggest something
else.

 Ubuntu, do you means they are not welcome to contribute to GNOME because
 of the distribution they decided to use?

No, not at all what I meant. That would be really really bad.

Just that if someone asks on #gnome which distribution to start his
jhbuild on, I'd make clear that Ubuntu would mean a lot of difficulties.

Before anyone misunderstands, I'd give the same advice about e.g.
Mandriva. Oh, and Ubuntu is based upon what I read (IRC and so on) +
feedback during the 3.0 party, not personal experience.

 If the issue is that we didn't integrate GNOME3 previous cycle it's not
 like we are the only distribution around which didn't do it, not a lot
 of distribution shipped a stable version yet with GNOME3. We are landing
 GNOME3 in the current unstable serie which just opened though. 

That's the issue. When that changes, my advice will change.

On IRC in #gnome and #gnome-love you sometimes get people who just
started a jhbuild. At the moment I'd advice using either openSuse or
Fedora. That will differ with time.

This is driven by giving the best advice for people who ask for advice.
Meaning: how to best solve things *now*.

If I see for example blogposts on p.g.o. saying that Ubuntu 'unstable'
now has an awesome GNOME 3.0 stack and it doesn't result in problems +
easily installable, then my advice would change. Same for Mandriva
(planned after new stable release).

Lastly, I don't care about distribution defaulting to KDE, Unity, XFCE
or GNOME. My interest is GNOME and what advice would be best (to do
development on + ensure they can get answers). Getting a full jhbuild to
work is still difficult enough.
-- 
Regards,
Olav
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Sebastien Bacher
Le jeudi 19 mai 2011 à 12:00 +0200, Olav Vitters a écrit :
 So my conclusion is that it is better to suggest something
 else. 

Well using a ppa known to be a work in progress one != using Ubuntu,
we didn't upgrade to GNOME3 because we didn't think we would do a solid
work to integrate it on the schedule we had. The ppa is known to be
experimental, from https://launchpad.net/~gnome3-team/+archive/gnome3you
can read:

This package contains packages from GNOME3 and their dependencies so
they can be used in Ubuntu 11.04 (Natty). This PPA is EXPERIMENTAL and
MAY BREAK YOUR SYSTEM. There is no downgrade process.

It's fair that you don't recommend an unstable ppa but Ubuntu itself is
shipping GNOME 2.32 and there is no reason it should create any issue
users. Would you not recommend using Debian because GNOME3 is in
experimental and using experimental might lead to some issues? Seems
your statement there is just not a fair one.

--
Sebastien Bacher

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-19 Thread Olav Vitters
On Thu, May 19, 2011 at 12:07:03PM +0200, Sebastien Bacher wrote:
 Le jeudi 19 mai 2011 à 12:00 +0200, Olav Vitters a écrit :
  So my conclusion is that it is better to suggest something
  else. 
 
 Well using a ppa known to be a work in progress one != using Ubuntu,
 we didn't upgrade to GNOME3 because we didn't think we would do a solid
 work to integrate it on the schedule we had. The ppa is known to be
 experimental, from https://launchpad.net/~gnome3-team/+archive/gnome3you
 can read:

Heh? Didn't I already answer this? I noticed a lot of breakage and
unanswered questions. So for *development* advice, I wouldn't recommend
Ubuntu.

 This package contains packages from GNOME3 and their dependencies so
 they can be used in Ubuntu 11.04 (Natty). This PPA is EXPERIMENTAL and
 MAY BREAK YOUR SYSTEM. There is no downgrade process.
 
 It's fair that you don't recommend an unstable ppa but Ubuntu itself is
 shipping GNOME 2.32 and there is no reason it should create any issue
 users. Would you not recommend using Debian because GNOME3 is in
 experimental and using experimental might lead to some issues? Seems
 your statement there is just not a fair one.

Regarding Debian: I did not see anyone saying bad things about
developing on Debian, so I wouldn't advice against Debian.

Regarding Ubuntu: I did see bad things about developing on Ubuntu, so
I'd advice against it.

I'm not giving a judgement call on a distribution, the intend is giving
good advice/support for new GNOME contributors.

e.g.:
mr.smith I want to contribute to GNOME, how do I start?
bkor best to install either Fedora or Opensuse, jhbuild blah blah

or:
mr.smith I want to contribute to GNOME and have Ubuntu on my laptop,
how do I start?
bkor saw various issues with Ubuntu, suggest Fedora or Opensuse at the
moment, jhbuild blah blah

or:
mr.smith I want to contribute to GNOME and have Debian on my laptop,
how do I start?
bkor jhbuild blah blah, no idea about Debian and jhbuild, jhbuild is
difficult


In brief: I'm not going to suggest something I think would result in
unnecessary problems. I don't care if this might result in some people
thinking I have something against Canonical or Ubuntu as I don't.
-- 
Regards,
Olav
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Sebastien Bacher
Le jeudi 19 mai 2011 à 12:00 +0200, Olav Vitters a écrit :
 jhbuild on, I'd make clear that Ubuntu would mean a lot of
 difficulties.

Some other people pointed that .la files can be problematic for jhbuild,
note that Debian and Ubuntu have started cleaning those so this issue
should start solving itself in the next cycles.

--
Sebastien Bacher

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-19 Thread Olav Vitters
On Thu, May 19, 2011 at 12:30:14PM +0200, Luca Ferretti wrote:
 Il giorno gio, 19/05/2011 alle 12.00 +0200, Olav Vitters ha scritto:
 
  No, not at all what I meant. That would be really really bad.
  
  Just that if someone asks on #gnome which distribution to start his
  jhbuild on, I'd make clear that Ubuntu would mean a lot of difficulties.
 
 Are you sure? There are good pages on live.gnome.org about how to use
 jhbuild on Ubuntu and which packages you could need to install.

I'm not an expert on giving support. I try to help people as best as I
can. Which means I am going to provide my personal beliefs about what is
best.

I give that advice on IRC in public channels. Anyone is free to jump in
if they have different experiences/opinions.
-- 
Regards,
Olav
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Rodrigo Moya
On Wed, 2011-05-18 at 17:51 -0500, Federico Mena Quintero wrote:
 On Wed, 2011-05-18 at 21:50 +0100, Bastien Nocera wrote:
 
  Which is why I've asked Lennart to add a flag to systemd's configure to
  install only the little servicey bits, for Linux distros, and the docs
  would serve as basis for implementation of other OSes.
 
 That's fine.  I still think other distros/systems may be feel it to be a
 little onerous to have to download a big system-level package (even if
 it's just perception) to install random services like that.
 
 (Maybe a system-services tarball, if you really don't like the name of
 AdminKit?) :)
 
come on, AdminKit was such a great name! :-)

But yes, we should really standardize interfaces, so that any other OS
can easily implement them.

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Evandro Fernandes Giovanini
Em Qui, 2011-05-19 às 13:28 +0200, Olav Vitters escreveu:
 On Thu, May 19, 2011 at 12:30:14PM +0200, Luca Ferretti wrote:
  Il giorno gio, 19/05/2011 alle 12.00 +0200, Olav Vitters ha scritto:
  
   No, not at all what I meant. That would be really really bad.
   
   Just that if someone asks on #gnome which distribution to start his
   jhbuild on, I'd make clear that Ubuntu would mean a lot of difficulties.
  
  Are you sure? There are good pages on live.gnome.org about how to use
  jhbuild on Ubuntu and which packages you could need to install.
 
 I'm not an expert on giving support. I try to help people as best as I
 can. Which means I am going to provide my personal beliefs about what is
 best.
 
 I give that advice on IRC in public channels. Anyone is free to jump in
 if they have different experiences/opinions.

Telling people to switch distributions is a much bigger turn off than
you realize. The barrier to contributing to GNOME should not be that
high, and many will follow the switch to a different OS advice as
contribute to something else, this is too much. That doesn't help
anyone.

If you're not familar enough with Ubuntu to understand the problems
people are having with the GNOME 3 ppa then simply redirect them to the
GNOME 3 ppa mailing list, where they can find people qualified to help
with those specific issues.

Cheers,
Evandro

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-19 Thread Rodrigo Moya
On Thu, 2011-05-19 at 12:00 +0200, Olav Vitters wrote:
 On Thu, May 19, 2011 at 11:41:08AM +0200, Sebastien Bacher wrote:
  Le jeudi 19 mai 2011 à 10:53 +0200, Olav Vitters a écrit :
   That is perfectly valid advice. You need various things in your
   distribution to help GNOME development. I would not advise anyone to
   use Ubuntu anymore when they want to get involved with GNOME. 
 
  Could you give some details on what is the issue with running Ubuntu and
  contributing to GNOME? Several active GNOME contributors are running
 
 I've seen a lot of people on IRC and during the 3.0 party saying the 3.0
 PPA killed their Ubuntu. Or that their had a lot of difficulty to get a
 jhbuild going.
 
well, we've had several problems due to having 2.91.x releases, but most
of them are now fixed, and a lot of people (including myself) are using
it daily. So yes, some people encountered problems, but most of them
were due to the unstability of the software we were packaging and some
packaging bugs on our side. I haven't heard any serious problem which
hasn't been fixed since we packaged the final 3.0

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Olav Vitters
On Thu, May 19, 2011 at 08:39:12AM -0300, Evandro Fernandes Giovanini wrote:
 Telling people to switch distributions is a much bigger turn off than
 you realize. The barrier to contributing to GNOME should not be that
 high, and many will follow the switch to a different OS advice as
 contribute to something else, this is too much. That doesn't help
 anyone.

Anyone is welcome to help out on IRC.

I don't really get your comment though. Sometimes people do not want to
switch, so ehr.. they say so and I continue giving the best advice while
keeping in mind that restriction. So sometimes I've said 'ask your
distro'.

 If you're not familar enough with Ubuntu to understand the problems
 people are having with the GNOME 3 ppa then simply redirect them to the
 GNOME 3 ppa mailing list, where they can find people qualified to help
 with those specific issues.

It wasn't about GNOME 3 ppa, it was about how to contribute to GNOME.

Due note: I gave the best advice what was known to me and nobody else
responded. Maybe what you suggested would've solved it, no idea, I
didn't know, nobody else responded.
-- 
Regards,
Olav
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Matthias Clasen
On Wed, May 18, 2011 at 6:51 PM, Federico Mena Quintero
feder...@ximian.com wrote:
 On Wed, 2011-05-18 at 21:50 +0100, Bastien Nocera wrote:

 Which is why I've asked Lennart to add a flag to systemd's configure to
 install only the little servicey bits, for Linux distros, and the docs
 would serve as basis for implementation of other OSes.

 That's fine.  I still think other distros/systems may be feel it to be a
 little onerous to have to download a big system-level package (even if
 it's just perception) to install random services like that.

 (Maybe a system-services tarball, if you really don't like the name of
 AdminKit?) :)

There's several problems with the 'AdminKit/system-services' approach:

- It tends to slip into the 'just a wrapper around native mechanisms'
mold, which is problematic. At best, it just adds an unnecessary extra
layer, at worst, it adds mismatches, latency, loss of functionality.
We really should be talking to the native services directly, if they
are available and suitable.

- The 'all services in one kit' approach tends to enforce a uniformity
that really is not there and is limiting. The old ximian setup tools
or system-tools-backends with their 'one service for each file in
/etc' approach come to mind. Really, each service should have the API
thats best suited to the tasks it deals with.


Matthias
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Lennart Poettering
On Thu, 19.05.11 00:50, Sergey Udaltsov (sergey.udalt...@gmail.com) wrote:

 
  I think the best way to save resources is not to run anything. For stuff
  like hostnames/locale/time which is used only every other moonphase
  having tiny single-purpose mini-services is perfectly appropriate. I
  don't think there would be any benefit in merging these mini daemons
  into one. Au contraire, I'd guess you'd waste even more resources with
  dlopen() and friends.
 Can all those services be standardized using DBus interfaces (DBus
 activation if necessary)? IMHO that's the only way to remain friendly
 to non-linux OSes, not having any bits of systemd (or distros that are
 not using it)?

Some can. Not all.

The hostname mechanism is explained in very much detail here:

http://www.freedesktop.org/wiki/Software/systemd/hostnamed

As suggested a couple of times I believe the mode of cooperation with
the Solaris/BSD folks here should be to share those interfaces, not the
code behind it.

Something similar is true for the locale/timezone/time mechanisms.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Dave Neary
Hi,

Olav Vitters wrote:
 On Thu, May 19, 2011 at 08:39:12AM -0300, Evandro Fernandes Giovanini wrote:
 Telling people to switch distributions is a much bigger turn off than
 you realize. The barrier to contributing to GNOME should not be that
 high, and many will follow the switch to a different OS advice as
 contribute to something else, this is too much. That doesn't help
 anyone.
 
 Anyone is welcome to help out on IRC.
 
 I don't really get your comment though. Sometimes people do not want to
 switch, so ehr.. they say so and I continue giving the best advice while
 keeping in mind that restriction. So sometimes I've said 'ask your
 distro'.

I echo what Evandro's saying.

If someone is coming to IRC asking how to get GNOME 3 compiled, or how
they can contribute to GNOME, and you're leading with change
distributions, that's potentially very damaging.

For a start, you're a member of the release team, so people could take
this as official GNOME policy. And for a second thing, it could be
perceived as Ubuntu users can't contribute to GNOME.

If you don't know how to get GNOME 3 working on Ubuntu, or how to
contribute on Ubuntu, perhaps that's what you should say (and let
someone else help).

Cheers,
Dave.

-- 
Dave Neary
GNOME Foundation member
dne...@gnome.org
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Lennart Poettering
On Thu, 19.05.11 13:13, Maciej Piechotka (uzytkown...@gmail.com) wrote:

 On Wed, 2011-05-18 at 17:51 -0500, Federico Mena Quintero wrote:
  On Wed, 2011-05-18 at 21:50 +0100, Bastien Nocera wrote:
  
   Which is why I've asked Lennart to add a flag to systemd's configure to
   install only the little servicey bits, for Linux distros, and the docs
   would serve as basis for implementation of other OSes.
  
  That's fine.  I still think other distros/systems may be feel it to be a
  little onerous to have to download a big system-level package (even if
  it's just perception) to install random services like that.
  
  (Maybe a system-services tarball, if you really don't like the name of
  AdminKit?) :)
  
Federico
 
 +1 for AdminKit.
 
 I don't think all distros switch for systemd in nearer future. Correct
 me if I'm wrong but they seems to be perfectly suited and superior for
 desktop enviroment but lack the fine-tuning servers admin requires (I
 heard complains that in some situations Gentoo scripts, which are
 dependencies, are wrong as they do not control the implied
 correspondence between  some servers in some setup). 

Yes, you are wrong. With systemd we actually try to cover the full
bandwith from embedded to mobile to desktop to servers. 

But why does this even matter for GNOME?

(also, all big distributions but one have announced their plans to
switch to systemd by now)

 In such way (i.e. AdminKit):
 
  - We/you[1] allow to replace systemd if it will be out-of-date (say in
 30 years ;) )

Well, the abstraction layers tend to be swapped out more often then
backends. Just think about the Phonon story.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Lennart Poettering
On Thu, 19.05.11 15:19, Lennart Poettering (mzta...@0pointer.de) wrote:

 (also, all big distributions but one have announced their plans to
 switch to systemd by now)

OK, before somebody nitpicks on this: replace switch to by
include. Many will make it the default, but some just include it,
leaving sysvinit the default.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Colin Walters
On Thu, May 19, 2011 at 2:10 AM, Jasper Lievisse Adriaanse
jas...@openbsd.org wrote:

 There are at two OpenBSD developers working full time on GNOME. Yes, full 
 time.
 None work upstream apart from submitting dozens of patches (which frankly, do
 get ignored quite often), and none maintain a module. I'd be happy to commit
 the portability fixes myself though..

Do you have links to bugs?
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Rodrigo Moya
On Wed, 2011-05-18 at 22:50 +0200, Jasper Lievisse Adriaanse wrote:
 I think I can say that I speak for the whole BSD community, GNOME users
 and non-GNOME users, when I say that such steps as enforcing Linux-only
 dependencies even more is a clear sign GNOME does not care about portability
 to any OS other than Linux...and that this is very sad sign to everyone else.
 
not directed at you personally, sorry, but every time someone gives a
personal opinion, there's someone (like you in this thread) that takes
that granted as the official GNOME position.

So please, let's not do this anymore, personal opinions are personal
opinions, not representative of the whole project.

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Michael Terry
On 19 May 2011 09:19, Lennart Poettering mzta...@0pointer.de wrote:
 (also, all big distributions but one have announced their plans to
 switch to systemd by now)

Hopefully it's easy to see how such comments (and the way it's phrased
-- that one distro has a name!) dovetail with the concerns elsewhere
in this thread about GNOME and Ubuntu.

So what are the criteria for deciding which platforms to drop from
GNOME's scope?

This thread is making it sound like the release team is OK with
criteria like whichever platforms systemd doesn't run on, which
would certainly seem to put Ubuntu next in line for the axe.

-mt
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Andre Klapper
On Thu, 2011-05-19 at 10:18 -0400, Michael Terry wrote:
 This thread is making it sound like the release team is OK with
 criteria like whichever platforms systemd doesn't run on, which
 would certainly seem to put Ubuntu next in line for the axe.

Okay, you wrote sound like, but where exactly was a release-team
position posted, please? Maybe I got lost in all the recent d-d-l
mail...?

So far this thread has some individuals posting individual opinions.
Sometimes it happens that people also are part of some teams (or even
companies, yay!). That does not mean that they necessarily express the
position of their team or company though (also see every second blog
footer or email basically telling you the same)...

andre

-- 
mailto:ak...@gmx.net | failed
http://blogs.gnome.org/aklapper | http://www.openismus.com

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Bastien Nocera
On Thu, 2011-05-19 at 10:18 -0400, Michael Terry wrote:
 On 19 May 2011 09:19, Lennart Poettering mzta...@0pointer.de wrote:
  (also, all big distributions but one have announced their plans to
  switch to systemd by now)
 
 Hopefully it's easy to see how such comments (and the way it's phrased
 -- that one distro has a name!) dovetail with the concerns elsewhere
 in this thread about GNOME and Ubuntu.
 
 So what are the criteria for deciding which platforms to drop from
 GNOME's scope?
 
 This thread is making it sound like the release team is OK with
 criteria like whichever platforms systemd doesn't run on, which
 would certainly seem to put Ubuntu next in line for the axe.

I think you need to look at the thread again. That was never mentioned,
and we even mentioned ways for distributions that don't use systemd as
the init system to ship the D-Bus mechanisms.

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Olav Vitters
On Thu, May 19, 2011 at 03:16:41PM +0200, Dave Neary wrote:
 I echo what Evandro's saying.
 
 If someone is coming to IRC asking how to get GNOME 3 compiled, or how
 they can contribute to GNOME, and you're leading with change
 distributions, that's potentially very damaging.

I don't see it that way.

 For a start, you're a member of the release team, so people could take
 this as official GNOME policy. And for a second thing, it could be

I am the way I am. I use Mandriva and I'd like to switch to Mageia. I
think it is a great distribution though I find the GNOME3 situation
really unfortunate at the moment.

There will be confusion between devel-announce-list emails + emails
where I say 'we (release-team)' and my personal opinions. My intend is
to be as clear as possible but within reason.

I find it sad that in this thread all kinds of fully things are being
discussed about things I might or might not say when I help someone.

One small comment that perhaps remarks seen on IRC are not meant as
negative as they might be interpreted, and now I am questioned on my
behaviour?!?

I find this pretty sad.

 perceived as Ubuntu users can't contribute to GNOME.

I never said anything like that. When Seb asked if it might be my
belief, I clarified *immediately*.

I cannot control what people might or might not interpret. I think about
it within reason. Other than that: it happens anyway.

I've said a few times that I don't care about $DISTRO (fill in
whatever). It appears to be due to the amount of replies that this is
still perceived as Ubuntu is evil. Really, I try to avoid such things
(within reason), but it seems to happen anyway.

 If you don't know how to get GNOME 3 working on Ubuntu, or how to
 contribute on Ubuntu, perhaps that's what you should say (and let
 someone else help).

I agree that people might misinterpret things. But it seems to be
occurring anyway.

Some stuff is really too political. E.g. I can say whatever I think
about Mandriva and I get nothing.
-- 
Regards,
Olav
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Andre Klapper
On Thu, 2011-05-19 at 15:16 +0200, Dave Neary wrote:
 For a start, you're a member of the release team, so people could take
 this as official GNOME policy.

I consider persons individuals, plus wrt release-team I think we
normally tag official positions either by we (release-team) or on
behalf of. Nothing new here.

I don't plan to add a footer like It should be obvious but in case it
isn't: the opinions reflected here are my own. They are not the views of
my employer, or Ronald McDonald, or anyone else.[1] to all of my emails
but instead prefer to naively believe in some common sense.

andre

[1] That sentence is Lennart's property.
-- 
mailto:ak...@gmx.net | failed
http://blogs.gnome.org/aklapper | http://www.openismus.com

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Dave Neary
Hi,

I feel like we're going down a rat hole, but...

Olav Vitters wrote:
 One small comment that perhaps remarks seen on IRC are not meant as
 negative as they might be interpreted, and now I am questioned on my
 behaviour?!?
 
 I find this pretty sad.

Well, GNOME does have a reputation for giving people a rather frosty
reception on IRC, in Bugzilla and on mailing lists. Perhaps it's worth
some introspection to ask where that reputation comes from? It didn't
materialise out of thin air.

 perceived as Ubuntu users can't contribute to GNOME.
 
 I never said anything like that. When Seb asked if it might be my
 belief, I clarified *immediately*.

Like I said, can be perceived as. And certainly the way you said it
led a number of people to understand that was what you meant - that you
were advising people that if they want to develop for GNOME 3, they
should use a distribution other than Ubuntu.

Surely you can see how this perception can come about? And how it could
be taken rather badly?

 Some stuff is really too political. E.g. I can say whatever I think
 about Mandriva and I get nothing.

Well, Ubuntu has about 40 to 60 percent market share among Linux users.
Mandriva has about 40 to 60 users. There's a difference in scale.

Cheers,
Dave.

-- 
Dave Neary
GNOME Foundation member
dne...@gnome.org
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Michael Terry
On 19 May 2011 10:32, Bastien Nocera had...@hadess.net wrote:
 So what are the criteria for deciding which platforms to drop from
 GNOME's scope?

 This thread is making it sound like the release team is OK with
 criteria like whichever platforms systemd doesn't run on, which
 would certainly seem to put Ubuntu next in line for the axe.

 I think you need to look at the thread again. That was never mentioned,
 and we even mentioned ways for distributions that don't use systemd as
 the init system to ship the D-Bus mechanisms.

True.  I guess I'm really just interested in an official answer to
What are the criteria for deciding which platforms are within GNOME's
scope?

That's obviously an iffy thing when talking about new modules, because
sometimes innovation happens in one place and other platforms get
forced to play catchup, which isn't strictly ruling out support.
Though some things you know can be ported easily, others you know
can't be.

Without some formal guidance here, I worry about a slippery slope.
And it sounds like the GNOME OS concept changed some minds about what
that guidance should be.

Olav mentioned the Linux-only issue being on the agenda for the next
Foundation meeting.

-mt
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Jason D. Clinton
On Thu, May 19, 2011 at 10:02, Michael Terry m...@mterry.name wrote:
 True.  I guess I'm really just interested in an official answer to
 What are the criteria for deciding which platforms are within GNOME's
 scope?

Those for which people whom want them to work show up and do the
integration work needed, as it's always been. I don't see anything in
this thread that indicates that we're changing this position, at all.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-19 Thread Paul Cutler
Hi,

Sorry for top-posting, but I'm going to recommend if anyone wants to
talk about GNOME OS or platform changes to start a new thread.  While
related, this is a different issue than the systemd proposal as an
external dependency.

Paul

On Thu, May 19, 2011 at 10:02 AM, Michael Terry m...@mterry.name wrote:
 On 19 May 2011 10:32, Bastien Nocera had...@hadess.net wrote:
 So what are the criteria for deciding which platforms to drop from
 GNOME's scope?

 This thread is making it sound like the release team is OK with
 criteria like whichever platforms systemd doesn't run on, which
 would certainly seem to put Ubuntu next in line for the axe.

 I think you need to look at the thread again. That was never mentioned,
 and we even mentioned ways for distributions that don't use systemd as
 the init system to ship the D-Bus mechanisms.

 True.  I guess I'm really just interested in an official answer to
 What are the criteria for deciding which platforms are within GNOME's
 scope?

 That's obviously an iffy thing when talking about new modules, because
 sometimes innovation happens in one place and other platforms get
 forced to play catchup, which isn't strictly ruling out support.
 Though some things you know can be ported easily, others you know
 can't be.

 Without some formal guidance here, I worry about a slippery slope.
 And it sounds like the GNOME OS concept changed some minds about what
 that guidance should be.

 Olav mentioned the Linux-only issue being on the agenda for the next
 Foundation meeting.

 -mt
 ___
 desktop-devel-list mailing list
 desktop-devel-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/desktop-devel-list

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Evandro Fernandes Giovanini
Em Qui, 2011-05-19 às 14:16 +0200, Olav Vitters escreveu:
 On Thu, May 19, 2011 at 08:39:12AM -0300, Evandro Fernandes Giovanini wrote:
  Telling people to switch distributions is a much bigger turn off than
  you realize. The barrier to contributing to GNOME should not be that
  high, and many will follow the switch to a different OS advice as
  contribute to something else, this is too much. That doesn't help
  anyone.
 
 Anyone is welcome to help out on IRC.
 
 I don't really get your comment though. Sometimes people do not want to
 switch, so ehr.. they say so and I continue giving the best advice while
 keeping in mind that restriction. So sometimes I've said 'ask your
 distro'.
 

Olav, I'm not trying to call you out or anything. I've seen you help out
quite a lot of people on GNOME mailing lists and IRC and you do a great
job.

To clarify my point: some people don't mind at all being told just
install Fedora 15 and it'll be easy-peasy. Heck, I know people who seem
to try every new live CD that's released because they love trying new
distributions. 

It's just that for *some* installing a whole new system they're not
familiar with is asking a *lot*. They'll have to spend hours to find,
download, install and learn a whole lot before they can actually get to
GNOME 3. apt-get install build-essential and such won't work anymore,
etc. You may think you just gave them some helpful advice, they'll look
at your response and think that's a whole lot of work, maybe I'll go do
something else.

  If you're not familar enough with Ubuntu to understand the problems
  people are having with the GNOME 3 ppa then simply redirect them to the
  GNOME 3 ppa mailing list, where they can find people qualified to help
  with those specific issues.
 
 It wasn't about GNOME 3 ppa, it was about how to contribute to GNOME.
 
 Due note: I gave the best advice what was known to me and nobody else
 responded. Maybe what you suggested would've solved it, no idea, I
 didn't know, nobody else responded.

Right, but if they can't contribute to GNOME because of a Ubuntu GNOME 3
PPA problem then someone familiar with that PPA can help them get past
that problem, and then they can easily contribute to GNOME. It might be
that the problem they're having in Ubuntu is actually quite simple to
solve, and much easier than installing a new system from scratch. :)

Cheers,
Evandro

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-19 Thread Jasper Lievisse Adriaanse
On Thu, May 19, 2011 at 08:47:00AM +0100, Richard Hughes wrote:
 On 19 May 2011 07:10, Jasper Lievisse Adriaanse jas...@openbsd.org wrote:
  There are at two OpenBSD developers working full time on GNOME. Yes, full 
  time.
 
 What do they do? It's only recently upower has been ported to anything
 other than Linux, which means that OpenBSD must have been running with
 something like GNOME 2.28 until very recently. From a personal point
 of view, it's a PITA to get of the Solaris or *BSD guys to contribute
 anything.
 
 Richard.
upower was actually ported by our xfce maintainer ;-) anyway, what they
(including me) do is fixing nitpicks with running GNOME on OpenBSD, sending
patches upstream, doing integration in the ports tree, doing regular updates
etc. OpenBSD has so far been quite up to date with GNOME releases (currently
have 2.32.x): http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/gnome/#dirlist

Right now we're working on GNOME3 which is proving chalenging in various areas.

-- 
Cheers,
Jasper

Capable, generous men do not create victims, they nurture them.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Jasper Lievisse Adriaanse
On Thu, May 19, 2011 at 10:02:23AM -0400, Colin Walters wrote:
 On Thu, May 19, 2011 at 2:10 AM, Jasper Lievisse Adriaanse
 jas...@openbsd.org wrote:
 
  There are at two OpenBSD developers working full time on GNOME. Yes, full 
  time.
  None work upstream apart from submitting dozens of patches (which frankly, 
  do
  get ignored quite often), and none maintain a module. I'd be happy to commit
  the portability fixes myself though..
 
 Do you have links to bugs?

Yep:
https://bugzilla.gnome.org/page.cgi?id=describeuser.htmllogin=jasper%40humppa.nl
https://bugzilla.gnome.org/page.cgi?id=describeuser.htmllogin=ajacoutot%40openbsd.org

-- 
Cheers,
Jasper

Capable, generous men do not create victims, they nurture them.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Andy Tai
On Wed, May 18, 2011 at 7:17 AM, Lennart Poettering mzta...@0pointer.dewrote:


  I second that.
  Speaking as a member of the Debian GNOME team, having the independent
  parts be compilable on their own would definitely help us:
  - While Debian has a systemd package and we hope to have systemd as a
  supported alternative for wheezy, sysvinit is still the default.
  Having GNOME depend on systemd would definitely complicate things for
  us.
  -  Debian's has non-Linux ports. Having the non-arch specific parts in
  a separate package would mean we can more easily make the GNOME
  packages depend on them.

 No, that's not going to happen. systemd is strictly Linux-only. I have


What is not going to happen?  systemd is Linux only, or GNOME is systemd
only?

Look, systemd is wonderful; it works great.  But GNOME is a desktop
environment, and making it tied to an init system does not make sense.


 no plans porting it to other kernels, and I will not merge any such
 patches. One of the reasons systemd is small and easy to read is that we
 don't waste time and resources on abstractions and use the power the
 Linux platform supports. For example our main loops are pure epoll(),
 and I have no plans at all supporting anything else with a metric ton of
 #ifdefs.

 If the other kernels matter, then the folks working on them should share
 our interfaces (such as the hostnamed bus iface), not our code.


Your interface is the POSIX standard?

You don't care about other Unix like systems with other init
implementations; you would screw Debian, Ubuntu, BSDs, Solaris, etc.  But
this is not and cannot be the attitude for a wide community.

You have no logical argument to force a desktop environment to support a
very narrow viewpoint of yours.


 What I am willing to support is builds of systemd that consist only of
 the tiny mechanism daemons, and leave the core of it outside. That way
 folks can install these mechanisms and stick with their old init systems
 for a while.

 Lennart

 --
 Lennart Poettering - Red Hat, Inc.




-- 
Andy Tai, a...@atai.org, Skype: licheng.tai
Year 2011 民國100年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-19 Thread Evandro Fernandes Giovanini
Em Qui, 2011-05-19 às 15:15 +0200, Lennart Poettering escreveu:
 On Thu, 19.05.11 00:50, Sergey Udaltsov (sergey.udalt...@gmail.com) wrote:
 
  
   I think the best way to save resources is not to run anything. For stuff
   like hostnames/locale/time which is used only every other moonphase
   having tiny single-purpose mini-services is perfectly appropriate. I
   don't think there would be any benefit in merging these mini daemons
   into one. Au contraire, I'd guess you'd waste even more resources with
   dlopen() and friends.
  Can all those services be standardized using DBus interfaces (DBus
  activation if necessary)? IMHO that's the only way to remain friendly
  to non-linux OSes, not having any bits of systemd (or distros that are
  not using it)?
 
 Some can. Not all.
 
 The hostname mechanism is explained in very much detail here:
 
 http://www.freedesktop.org/wiki/Software/systemd/hostnamed
 
 As suggested a couple of times I believe the mode of cooperation with
 the Solaris/BSD folks here should be to share those interfaces, not the
 code behind it.
 
 Something similar is true for the locale/timezone/time mechanisms.
 

Would you propose a specific set of interfaces as blessed external
dependencies instead of systemd entirely? I believe that would make this
discussion quite a bit simpler.

Cheers,
Evandro 

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-19 Thread Michael Terry
On 19 May 2011 11:17, Jason D. Clinton m...@jasonclinton.com wrote:
 On Thu, May 19, 2011 at 10:02, Michael Terry m...@mterry.name wrote:
 True.  I guess I'm really just interested in an official answer to
 What are the criteria for deciding which platforms are within GNOME's
 scope?

 Those for which people whom want them to work show up and do the
 integration work needed, as it's always been. I don't see anything in
 this thread that indicates that we're changing this position, at all.

Come, there's more nuance than that.

Say I proposed an awesome app store Feature for GNOME, but it happened
to require some new package format I'd invented, I gather GNOME
wouldn't just assume that all platforms should switch to my new
format.  There must be some maximum threshold of work that is forced
upon platforms in the form of keeping up with GNOME.

I'm curious where the release team thinks that threshold lies.  And
presumably it considers user base and/or developer base in how much
work it is asking others to do?  i.e. requiring some HURD feature and
asking Linux devs to adapt would probably be a harder sell than the
reverse?

-mt
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-19 Thread Shaun McCance
On Thu, 2011-05-19 at 17:02 +0200, Dave Neary wrote:
 Hi,
 
 I feel like we're going down a rat hole, but...
 
 Olav Vitters wrote:
  One small comment that perhaps remarks seen on IRC are not meant as
  negative as they might be interpreted, and now I am questioned on my
  behaviour?!?
  
  I find this pretty sad.
 
 Well, GNOME does have a reputation for giving people a rather frosty
 reception on IRC, in Bugzilla and on mailing lists. Perhaps it's worth
 some introspection to ask where that reputation comes from? It didn't
 materialise out of thin air.

We have a reputation for #gnome being dead silent. And now
here we have somebody who's actually helping people on IRC,
and we're giving him shit for it? Can we please all get back
to debating whether or not systemd kills puppies?

--
Shaun


___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Brian Cameron


Paul:


Sorry for top-posting, but I'm going to recommend if anyone wants to
talk about GNOME OS or platform changes to start a new thread.  While
related, this is a different issue than the systemd proposal as an
external dependency.


Agreed.  Since we are planning to discuss this anyway at the next
GNOME Foundation IRC meeting, could we focus on putting together an
agenda perhaps, on a different thread?

This systemd proposal does raise questions about how GDM should support
ConsoleKit versus systemd interfaces, but this is also a very separate
issue that is already being discussed in other threads on gdm-list and
the consolekit list.

I think one reason for all the noise is that the original proposal is
not fully specified.  There are significant changes to many diverse
modules listed as bullet items, the impact on ConsoleKit seems fuzzy,
and is concluded with:

  And I expect a couple of more interfacing points, however things get
  more and more into vaporware areas with those.

Overall, it seems sensible for GNOME to support systemd and I trust the
module maintainers to make the right decisions about how to support the
communities needs, including adding systemd support in a sensible way.

Where there are issues, lets discuss them, but in a more focused
manner.  If there is controversy in some areas, then perhaps we can
make progress by blessing those aspects of systemd integration that
are non-controversial and non-fuzzy first?

Brian



On Thu, May 19, 2011 at 10:02 AM, Michael Terrym...@mterry.name  wrote:

On 19 May 2011 10:32, Bastien Nocerahad...@hadess.net  wrote:

So what are the criteria for deciding which platforms to drop from
GNOME's scope?

This thread is making it sound like the release team is OK with
criteria like whichever platforms systemd doesn't run on, which
would certainly seem to put Ubuntu next in line for the axe.


I think you need to look at the thread again. That was never mentioned,
and we even mentioned ways for distributions that don't use systemd as
the init system to ship the D-Bus mechanisms.


True.  I guess I'm really just interested in an official answer to
What are the criteria for deciding which platforms are within GNOME's
scope?

That's obviously an iffy thing when talking about new modules, because
sometimes innovation happens in one place and other platforms get
forced to play catchup, which isn't strictly ruling out support.
Though some things you know can be ported easily, others you know
can't be.

Without some formal guidance here, I worry about a slippery slope.
And it sounds like the GNOME OS concept changed some minds about what
that guidance should be.

Olav mentioned the Linux-only issue being on the agenda for the next
Foundation meeting.

-mt
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Luca Ferretti
Il giorno mer, 18/05/2011 alle 14.09 +0200, Lennart Poettering ha
scritto:

A really long list of questions, but I suppose I'll have to vote about
this proposal, so... 

 In the future I expect more interfacing with GNOME however, and I'd thus
 like to see the discussion regarding acceptance as blessed
 dependency started early.

Are you planning to delegate single module maintainers to implement
those interfaces? Do they agree on it? Do you have a list of involved
core modules (apart the ones listed below: gdm, gnome-session and
gnome-control-center)? 


 In the long run I expect the following additional interfaces used by
 GNOME or one of its components:
 
 - I am working on two more mechanisms generalizing control of the system
   locale and system clock/timezone for use in the control center and by
   other UIs.

Reducing this to a yes-or-no-feature view: distro/kernels without
systemd will have to apply a (big?) patch gnome-control-center in order
to provide the ability to change locale and time settings. Is this
correct?

Also, if I haven't misunderstood, 'cause you will not maintain a systemd
version for non-linux kernels, if FreeBSD (just and example) will switch
to systemd, FreeBSD developers will have to maintain their own forked or
patched version of systemd, haven't they?


 - gdm will interface with the new CK-replacing code I am working on.
 
   http://lwn.net/Articles/441328/

Same previous yes-or-no question (to simplify: no systemd, no login),
plus I suppose this bond between systemd and gdm will add another -1 to
lightdm.


 - gnome-session will be augmented by a per-user systemd instace,
   leveraging the benefits that systemd gives you for system startup also
   for session startup.

You suggested to use #ifdef here, so I suppose we should be able to log
in and run GNOME even without systemd. 


 - Later on I hope that we can use per-application cgroups to create
   reliable mapping between desktop files and processes. (i.e. place each
   app in a cgroup and name it after the .desktop file), integrated into
   the systemd cgroup hierarchy, so that this can be used for g-s and
   other UIs to relate desktop files to processes.

Is this the only way to create a relationship between processes
and .desktop files? For example, another solution to this feature seems
to be BAMF (https://launchpad.net/bamf/  ), and I remember it was
suggested as a viable solution (maybe by vuntz?). Advantages?
Drawbacks? 

Do you think systemd approach will be used by or can be shared to
non-GNOME stuff too (for instance firefox or libreoffice or qt apps and
so on)?


 systemd is Linux-only. That means if we still care for those non-Linux
 platforms replacements have to be written. 

So, IIRC, the release team will have to choose between have
features (or enhancements to currently available features) and create
a lockin (or something that, at least currently, resembles a lockin).

Do you think we (release team) should follow a technical approach or a
political approach to this question? Why? 

We are still at 3.2 release and systemd is a young project and not
widely adopted solution. Any special reason to introduce this lockin
in GNOME now?
Isn't better to wait next releases and systemd maturity (read: a more
clear vision about systemd adoption in linux world and in non-linux
environments)? Do you have any plan to sponsor systemd outside linux
world (apart here is the code, but I will not introduce your non-linux
stuff)?


 systemd itself has very minimal external dependencies. You need Linux,
 udev, D-Bus, and that's it. (there are a couple of additional optional
 deps however).

Could you please list those optional deps and explain how they are
useful?


 The first version i'd like to see blessed is systemd 26.

Do you have any plan about API/ABI/interface/other/whatever stability or
similar? How will a break effect GNOME modules?


Cheers and thanks in advance for your reply.

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-19 Thread Bastien Nocera
On Thu, 2011-05-19 at 13:09 -0400, Michael Terry wrote:
 On 19 May 2011 11:17, Jason D. Clinton m...@jasonclinton.com wrote:
  On Thu, May 19, 2011 at 10:02, Michael Terry m...@mterry.name wrote:
  True.  I guess I'm really just interested in an official answer to
  What are the criteria for deciding which platforms are within GNOME's
  scope?
 
  Those for which people whom want them to work show up and do the
  integration work needed, as it's always been. I don't see anything in
  this thread that indicates that we're changing this position, at all.
 
 Come, there's more nuance than that.
 
 Say I proposed an awesome app store Feature for GNOME, but it happened
 to require some new package format I'd invented, I gather GNOME
 wouldn't just assume that all platforms should switch to my new
 format.

You'd have to show beyond doubt that this can't be done in a way that
keeps compatibility, such as through using PackageKit and extending the
various packaging formats.

   There must be some maximum threshold of work that is forced
 upon platforms in the form of keeping up with GNOME.
 
 I'm curious where the release team thinks that threshold lies.  And
 presumably it considers user base and/or developer base in how much
 work it is asking others to do?  i.e. requiring some HURD feature and
 asking Linux devs to adapt would probably be a harder sell than the
 reverse?

If the HURD feature was an awesome idea, I'm sure we'd find enough
manpower to get it implemented on Linux as well.

I don't really see the point of asking such hypothetical questions.
Common sense would certainly prevail if those cases actually came up.

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


systemd as external dependency

2011-05-18 Thread Lennart Poettering
Heya,

I'd like to propose systemd (GPL2+,
http://www.freedesktop.org/wiki/Software/systemd) as blessed external
dependency for GNOME 3.2. 

Currently the interfacing between GNOME and systemd is minimal. Bastien
has been implementing a UI for changing the host name via a
configuration UI in the control center which uses a tiny mechanism
daemon included in systemd as backend. GLib already exposes
g_get_user_runtime_dir() which is a frontend for XDG_RUNTIME_DIR whose
only implementation I know right now is in systemd.

In the future I expect more interfacing with GNOME however, and I'd thus
like to see the discussion regarding acceptance as blessed
dependency started early.

In the long run I expect the following additional interfaces used by
GNOME or one of its components:

- I am working on two more mechanisms generalizing control of the system
  locale and system clock/timezone for use in the control center and by
  other UIs.

- gdm will interface with the new CK-replacing code I am working on.

  http://lwn.net/Articles/441328/

- gnome-session will be augmented by a per-user systemd instace,
  leveraging the benefits that systemd gives you for system startup also
  for session startup.

- Later on I hope that we can use per-application cgroups to create
  reliable mapping between desktop files and processes. (i.e. place each
  app in a cgroup and name it after the .desktop file), integrated into
  the systemd cgroup hierarchy, so that this can be used for g-s and
  other UIs to relate desktop files to processes.

And I expect a couple of more interfacing points, however things get
more and more into vaporware areas with those.

With these interfaces I hope to bring the speed improvements we are
providing for the system also to the session. Also it brings a ton of
new user-visible features with it, like automatic multiseat, or the
ability to change the system locale.

systemd is Linux-only. That means if we still care for those non-Linux
platforms replacements have to be written. In case of the
timezone/time/locale/hostname mechanisms this should be relatively easy
as we kept the D-Bus interface very much independent from systemd, and
they are easy to reimplement. Also, just leaving out support for this on
those archs should be workable too. The hostname interface is documented
in a lot of detail here:
http://www.freedesktop.org/wiki/Software/systemd/hostnamed -- we plan to
offer similar documentation for the other mechanisms.

Not all Linux distributions currently use systemd. The majority of the
big and small distributions however has switched by now or is planning
to switch in their next versions, or at least provides packages in the
distribution. The one exception is Ubuntu. While I have hopes this will
be resolved next year, there is no official statement from Ubuntu on
this. Distributions not interested in systemd which however are looking
into having some of its features could probably compile systemd but
remove all but the mechanism daemons.

Integration between gnome-session and systemd I expect to be very lose,
and can probably easily be #ifdef'ed out for conservative distros or
other OSes.

The closest integration I expect in gdm. Ideally I'd like to rip out the
current CK support completely and replace it entirely by the more
low-level systemd specific code. However, that I can only do if the
outcome of this discussion is clear.

systemd itself has very minimal external dependencies. You need Linux,
udev, D-Bus, and that's it. (there are a couple of additional optional
deps however).

The first version i'd like to see blessed is systemd 26.

Comments?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Frederic Peters
Lennart Poettering wrote:

 I'd like to propose systemd (GPL2+,
 http://www.freedesktop.org/wiki/Software/systemd) as blessed external
 dependency for GNOME 3.2. 

There actually isn't a module proposal period anymore.  We are using
feature or design proposals now.  But the process for external
dependencies was different anyway.

Recently I was trying to categorise our 2.x external dependencies,
thinking about the way to handle this for 3.x, and came with three
levels:

** 1st level **

  Established, stable, system modules, they have been in
  place for a long time, with stable API and ABI, and they exist in
  sufficient versions in the distributions commonly used by GNOME
  hackers, even in older but still used versions (Fedora 13 for
  example).

  Examples : libxml2, libpng, dbus...

  Proposed guideline : mentioned as dependencies with a base version,
  not built by default by jhbuild.

  Rationale : we want to reduce the number of modules that need to be
  built to start developing on GNOME.


** 2nd level **

  Modules developed outside GNOME, with little attention to our
  schedule, but with an active development, and where we want to track
  recent code.

  Examples : mozilla (js-185 nowadays), poppler.

  Proposed guideline : built from tarballs, version bumps whenever a
  module need a new version.

  Rationale : we need recent code, but we do not want to arrive on a
  release days with modules failing to build because they require some
  code only available in $DVCS.


** 3rd level **

  Modules developed outside GNOME, with attention to our schedule
  (i.e. we can ask for a tarball and get it in two days).

  Examples : webkitgtk, polkit.

  Proposed guideline : treated like any other GNOME module, built from
  latest git.

  Rationale : we do not need to put extra burden on modules that are
  close to us.


At which level would you see systemd integrated, now, and in the
future?

Also you are speaking about (D-Bus) interfaces, and it is already
envisioned to have them implemented by other components, should we
talk about D-Bus interfaces that we expect to be available for GNOME,
instead of saying systemd?

Something else is the ability to run development GNOME, the most
common tool those days is jhbuild, which was created way before D-Bus,
and it's not always straightforward to get it working with D-Bus
services, do you believe it will be possible to have systemd built and
useful from jhbuild, or do you expect systemd will have to come from
the distribution?



Fred
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Bastien Nocera
On Wed, 2011-05-18 at 14:09 +0200, Lennart Poettering wrote:
 Heya,
 
 I'd like to propose systemd (GPL2+,
 http://www.freedesktop.org/wiki/Software/systemd) as blessed external
 dependency for GNOME 3.2. 
 
 Currently the interfacing between GNOME and systemd is minimal. Bastien
 has been implementing a UI for changing the host name via a
 configuration UI in the control center which uses a tiny mechanism
 daemon included in systemd as backend. GLib already exposes
 g_get_user_runtime_dir() which is a frontend for XDG_RUNTIME_DIR whose
 only implementation I know right now is in systemd.
 
 In the future I expect more interfacing with GNOME however, and I'd thus
 like to see the discussion regarding acceptance as blessed
 dependency started early.
 
 In the long run I expect the following additional interfaces used by
 GNOME or one of its components:
 
 - I am working on two more mechanisms generalizing control of the system
   locale and system clock/timezone for use in the control center and by
   other UIs.

This should allow us to implement missing portions of the Region and
Language control-center panel, and probably remove the D-Bus helper in
gnome-settings-daemon for date  time.

We're already using the hostnamed interface in the info panel, allowing
changing the machine's pretty hostname.

snip
 Not all Linux distributions currently use systemd. The majority of the
 big and small distributions however has switched by now or is planning
 to switch in their next versions, or at least provides packages in the
 distribution. The one exception is Ubuntu. While I have hopes this will
 be resolved next year, there is no official statement from Ubuntu on
 this. Distributions not interested in systemd which however are looking
 into having some of its features could probably compile systemd but
 remove all but the mechanism daemons.

I would really like to see the helpers compilable on their own, without
systemd itself, so that we don't need to provide fallback mechanisms in
gnome-settings-daemon (for date  time).

Cheers

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Lennart Poettering
On Wed, 18.05.11 15:40, Michael Biebl (mbi...@gmail.com) wrote:

  We're already using the hostnamed interface in the info panel, allowing
  changing the machine's pretty hostname.
 
 Isn't that the kind of functionality that was supposed to be provided
 in gnome-system-tools and system-tools-backend? What will happen with
 g-s-t and s-t-b?
 Why is it better to have that functionality in systemd itself instead
 of g-s-t?

Because it is tiny and simple and allows us to standardize configuration
files as side-effect. Having 10 different projects for 10 tiny things is
just borked. I want to ensure that everybody uses the same platform and
offers the same set of basic services. I think Linux as a platform can
only benefit if app developers don't have to keep 50 different platforms
in mind when developing code; a platform consisting of a 100 different
basic packages used in 200 different combinations. It is my intention to
do my bit to clean this all up, so that we have the same combination of
basic tools on Linux distros, with the same configuration files and only
a small set of necessary base packages.

If you keep all these things separate then you multiply the maintenance
work, and Linux continues to be the mixmatch balkanized platform that
is so difficult to develop for as a 3rd party developer.

Because we can reuse a lot of code the end result will be much smaller,
more robust and normalized than if we duplicate the setup code over a
number of different base packages.

 I second that.
 Speaking as a member of the Debian GNOME team, having the independent
 parts be compilable on their own would definitely help us:
 - While Debian has a systemd package and we hope to have systemd as a
 supported alternative for wheezy, sysvinit is still the default.
 Having GNOME depend on systemd would definitely complicate things for
 us.
 -  Debian's has non-Linux ports. Having the non-arch specific parts in
 a separate package would mean we can more easily make the GNOME
 packages depend on them.

No, that's not going to happen. systemd is strictly Linux-only. I have
no plans porting it to other kernels, and I will not merge any such
patches. One of the reasons systemd is small and easy to read is that we
don't waste time and resources on abstractions and use the power the
Linux platform supports. For example our main loops are pure epoll(),
and I have no plans at all supporting anything else with a metric ton of
#ifdefs.

If the other kernels matter, then the folks working on them should share
our interfaces (such as the hostnamed bus iface), not our code.

What I am willing to support is builds of systemd that consist only of
the tiny mechanism daemons, and leave the core of it outside. That way
folks can install these mechanisms and stick with their old init systems
for a while.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Lennart Poettering
On Wed, 18.05.11 15:49, Josselin Mouette (j...@debian.org) wrote:

 Le mercredi 18 mai 2011 à 14:09 +0200, Lennart Poettering a écrit : 
  systemd itself has very minimal external dependencies. You need Linux,
  udev, D-Bus, and that's it. (there are a couple of additional optional
  deps however).
 
 I don’t have anything against requiring systemd, since it is definitely
 the best init system out there currently, but the Linux dependency is an
 absolute no-no for us. Having optional Linux-only functionalities is OK;
 requiring Linux is not.

Quite frankly, I'd like to question this. In the light of GNOME OS I
think we need to ask ourselves the question if we do ourselves any good
if we continue to support all kinds of kernels that simply cannot keep
up with Linux anymore.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-18 Thread Ross Burton
On 18 May 2011 14:49, Josselin Mouette j...@debian.org wrote:
 I don’t have anything against requiring systemd, since it is definitely
 the best init system out there currently, but the Linux dependency is an
 absolute no-no for us. Having optional Linux-only functionalities is OK;
 requiring Linux is not.

I do have to wonder how many people are actually using GNOME on Debian
on BSD, or even (ahah) Hurd...

Ross
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-18 Thread Josselin Mouette
Le mercredi 18 mai 2011 à 16:18 +0200, Lennart Poettering a écrit : 
 On Wed, 18.05.11 15:49, Josselin Mouette (j...@debian.org) wrote:
  I don’t have anything against requiring systemd, since it is definitely
  the best init system out there currently, but the Linux dependency is an
  absolute no-no for us. Having optional Linux-only functionalities is OK;
  requiring Linux is not.
 
 Quite frankly, I'd like to question this. In the light of GNOME OS I
 think we need to ask ourselves the question if we do ourselves any good
 if we continue to support all kinds of kernels that simply cannot keep
 up with Linux anymore.

By definition, another kernel cannot « keep up with Linux » if you
introduce the features you need in Linux and then expect others to have
them instantly available. In contrast, they also have features that
Linux does not.

Frankly, BSD is doing quite well. They have ported upower and I expect
to have a udisks port eventually. So far nothing has prevented GNOME
from fully working on BSD, and adding an arbitrary dependency just
because you don’t want to maintain some #ifdef’s in systemd would be a
real loss.

-- 
 .''`.  Josselin Mouette
: :' :
`. `'
  `-

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-18 Thread Dave Neary
Hi,

Lennart Poettering wrote:
 On Wed, 18.05.11 15:49, Josselin Mouette (j...@debian.org) wrote:
 I don’t have anything against requiring systemd, since it is definitely
 the best init system out there currently, but the Linux dependency is an
 absolute no-no for us. Having optional Linux-only functionalities is OK;
 requiring Linux is not.
 
 Quite frankly, I'd like to question this. In the light of GNOME OS I
 think we need to ask ourselves the question if we do ourselves any good
 if we continue to support all kinds of kernels that simply cannot keep
 up with Linux anymore.

This would be a major departure for the project, a big kick in the face
for long-term partners like Oracle/Sun, and also for other free
operating systems like BSD.

Are you sure you're not taking the GNOME OS idea a bit far here? Are we
going to start depending on kernels carrying specific patch sets next?
Or specifying which package management system we expect GNOME
distributors to choose?

Cheers,
Dave.

-- 
Dave Neary
GNOME Foundation member
dne...@gnome.org
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-18 Thread Josselin Mouette
Le mercredi 18 mai 2011 à 16:34 +0200, Dave Neary a écrit : 
 Are you sure you're not taking the GNOME OS idea a bit far here? Are we
 going to start depending on kernels carrying specific patch sets next?
 Or specifying which package management system we expect GNOME
 distributors to choose?

Isn’t it already the purpose of PackageKit?

SCNR,
-- 
 .''`.  Josselin Mouette
: :' :
`. `'
  `-

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-18 Thread William Jon McCann
Hi,

On Wed, May 18, 2011 at 9:49 AM, Josselin Mouette j...@debian.org wrote:
 Le mercredi 18 mai 2011 à 14:09 +0200, Lennart Poettering a écrit :
 systemd itself has very minimal external dependencies. You need Linux,
 udev, D-Bus, and that's it. (there are a couple of additional optional
 deps however).

 I don’t have anything against requiring systemd, since it is definitely
 the best init system out there currently, but the Linux dependency is an
 absolute no-no for us. Having optional Linux-only functionalities is OK;
 requiring Linux is not.

For Debian perhaps.  However, I don't think this is true for GNOME.
The future of GNOME is as a Linux based OS.  It is harmful to pretend
that you are writing the OS core to work on any number of different
kernels, user space subsystem combinations, and core libraries.  That
said, there may be value in defining an application development
platform or SDK that exposes higher level, more consistent, and
coherent API.  But that is a separate issue from how we write core
GNOME components like the System Settings.

It is free software and people are free to port GNOME to any other
architecture or try to exchange kernels or whatever.  But that is
silly for us to worry about.

Kernels just aren't that interesting.  Linux isn't an OS.  Now it is
our job to try to build one - finally.  Let's do it.

I think the time has come for GNOME to embrace Linux a bit more boldly.

Jon
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Shaun McCance
On Wed, 2011-05-18 at 16:34 +0200, Dave Neary wrote:
 Or specifying which package management system we expect GNOME
 distributors to choose?

Yes please. And the package names as well. The current
situation is a help and support nightmare.

--
Shaun


___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Luca Ferretti
Il giorno mer, 18/05/2011 alle 10.40 -0400, William Jon McCann ha
scritto:

  Having optional Linux-only functionalities is OK;
  requiring Linux is not.
 
 For Debian perhaps.  However, I don't think this is true for GNOME.
 The future of GNOME is as a Linux based OS. 

What's the official position adopted by GNOME Foundation about this
statement?

And was this statement communicated in a neat and undoubtful way to
GNOME contributors and third parties? I mean stuff like: What is GNOME
OS, Relationship between future GNOME OS and currently existing
distro, and so on...


Cheers, Luca

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Johannes Schmid
Hi!

 What's the official position adopted by GNOME Foundation about this
 statement?

 And was this statement communicated in a neat and undoubtful way to
 GNOME contributors and third parties? I mean stuff like: What is GNOME
 OS, Relationship between future GNOME OS and currently existing
 distro, and so on...

Well, until now, GNOME OS was quite an abstract thing (read: an idea).
Now, it seems that it is going to become concrete. Defining GNOME OS is
probably an interesting topic for the upcoming election though.

But never forget - The GNOME Foundation is basically the people
contributing to GNOME and as such there is hardly any official
statement unless the Board of directors decides to make one.

Regards,
Johannes

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Lennart Poettering
On Wed, 18.05.11 16:34, Josselin Mouette (j...@debian.org) wrote:

 Le mercredi 18 mai 2011 à 16:18 +0200, Lennart Poettering a écrit : 
  On Wed, 18.05.11 15:49, Josselin Mouette (j...@debian.org) wrote:
   I don’t have anything against requiring systemd, since it is definitely
   the best init system out there currently, but the Linux dependency is an
   absolute no-no for us. Having optional Linux-only functionalities is OK;
   requiring Linux is not.
  
  Quite frankly, I'd like to question this. In the light of GNOME OS I
  think we need to ask ourselves the question if we do ourselves any good
  if we continue to support all kinds of kernels that simply cannot keep
  up with Linux anymore.
 
 By definition, another kernel cannot « keep up with Linux » if you
 introduce the features you need in Linux and then expect others to have
 them instantly available. In contrast, they also have features that
 Linux does not.
 
 Frankly, BSD is doing quite well. They have ported upower and I expect
 to have a udisks port eventually. So far nothing has prevented GNOME
 from fully working on BSD, and adding an arbitrary dependency just
 because you don’t want to maintain some #ifdef’s in systemd would be a
 real loss.

It's not just some #ifdefs. It's a ton. Lemme list a couple of Linux
specific interfaces that are used in systemd, you'd have to find
replacements for:

- cgroups
- timerfd
- signalfd
- epoll
- autofs4
- inotify
- fanotify
- /proc/*/stat
- /proc/*/comm
- /proc/*/cmdline
- libudev
- POSIX mqueue as fd
- AF_UNIX/SOCK_SEQPACKET
- abstract namespace AF_UNIX
- get_current_dir_name()
- canonicalize_file_name()
- O_CLOEXEC/SOCK_CLOEXEC
- /proc/*/fd
- numerous prctl() controls, like PR_SET_NAME, PR_CAPBSET_DROP, 
PR_SET_PDEATHSIG, ...
- capabilities
- numerous console ioctls, like TIOCLINUX, VT_ACTIVATE, TIOCSTTY/TIOCNOTTY ...
- /sys
- /dev/urandom
- /dev/char/*, /dev/disk/by-label/*, /dev/disk/by-uuid/*
- openat() and friends
- O_DIRECTORY
- waitid()
- /sys/class/tty/console/active
- /sys/class/dmi/id
- ioprio
- various rlimits, like RTPRIO/RTTIME
- F_SETPIPE_SZ
- IP_FREEBIND
- oom score
- binfmt_misc

And this is just what I found while going through two files in
systemd. Of course, a couple of these are easy to emulate, or have
obvious counterparts on the other OSes, or could be made optinal (or
even are already optional), but the point I want to make here is that it
wouldn't be a couple of #ifdefs. It would turn every second line of
systemd into #ifdefs. And I wouldn't want to maintain such a beast.

That all said, git is your friend. If people want to port this over to
other systems, they are welcome to do so and with git rebase they
could keep it somewhat up-to-date. I will not share your suffering if
you do.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-18 Thread Paul Cutler
On Wed, May 18, 2011 at 10:15 AM, Luca Ferretti lferr...@gnome.org wrote:
 Il giorno mer, 18/05/2011 alle 10.40 -0400, William Jon McCann ha
 scritto:

  Having optional Linux-only functionalities is OK;
  requiring Linux is not.

 For Debian perhaps.  However, I don't think this is true for GNOME.
 The future of GNOME is as a Linux based OS.

 What's the official position adopted by GNOME Foundation about this
 statement?

 And was this statement communicated in a neat and undoubtful way to
 GNOME contributors and third parties? I mean stuff like: What is GNOME
 OS, Relationship between future GNOME OS and currently existing
 distro, and so on...


 Cheers, Luca

Without talking to the whole board (yet), we have supported the
Release Team's direction of defining GNOME core and a broader
definition of GNOME applications.

When talking to partners, we continue to talk about GNOME as two
things:  the GNOME desktop (which constitutes GNOME core +
applications) and the GNOME Developer Platform, which allows partners
to build on and extend GNOME technologies.  Unity, MeeGo, Sugar and
more are built on the GNOME Developer Platform and we're proud GNOME
technologies can be used in other areas.

Longer term, I personally believe there will be opportunities to
define GNOME core as GNOME OS, which could also lead to some
interesting decisions to be made about the GNOME brand.

I will be adding this as an agenda topic in future Board meetings and
I look forward to discussing this more at the Desktop Summit this year
with Foundation members in person.

Paul
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Lennart Poettering
On Wed, 18.05.11 16:34, Dave Neary (dne...@gnome.org) wrote:

 Are you sure you're not taking the GNOME OS idea a bit far here? Are we
 going to start depending on kernels carrying specific patch sets next?
 Or specifying which package management system we expect GNOME
 distributors to choose?

I have not said anything about package management systems or which Linux
distros people should use. Please don't put wordsin my mouth. What you
are doing here is not helpful at all.

I have said something about OS kernels, more spefifically APIs. 

I am not sure what you consider the OS part of GNOME OS means, but
I'd claim that the core piece of an OS is the kernel.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Evandro Giovanini
On Wed, May 18, 2011 at 12:34 PM, Lennart Poettering
mzta...@0pointer.de wrote:
 On Wed, 18.05.11 16:34, Dave Neary (dne...@gnome.org) wrote:

 Are you sure you're not taking the GNOME OS idea a bit far here? Are we
 going to start depending on kernels carrying specific patch sets next?
 Or specifying which package management system we expect GNOME
 distributors to choose?

 I have not said anything about package management systems or which Linux
 distros people should use. Please don't put wordsin my mouth. What you
 are doing here is not helpful at all.

 I have said something about OS kernels, more spefifically APIs.

 I am not sure what you consider the OS part of GNOME OS means, but
 I'd claim that the core piece of an OS is the kernel.

 Lennart


And a core piece of an OS is its package management system. If GNOME
OS is an idea that warrants a hard dependency on Linux it's not far
fetched to ask what other parts between the kernel and GNOME (ie.
everything) are expected to be included as well.

Cheers,
Evandro
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Lennart Poettering
On Wed, 18.05.11 16:53, Josselin Mouette (j...@debian.org) wrote:

 Le mercredi 18 mai 2011 à 15:47 +0100, Alberto Ruiz a écrit : 
  Resources are scarce, and I'm afraid that Sun/Oracle  (and I'm talking
  as an ex-Sun that worked closely with the Solaris Desktop guys here)
  or any other group that cares about GNOME in other platforms can't
  expect that the GNOME community should carry the burden of cross
  platform support itself.
 
 Nobody has ever asked the GNOME community to do that. Actually, nobody
 even asked the Debian GNOME team to do that for non-Linux ports. But we
 could always integrate the necessary patches to support BSD (and even
 Hurd!) when people wrote them.
 
 For systemd this is another story, since Lennart always made it very
 clear that a port to another OS would have to live in another
 repository. Telling people to do the porting job is one thing, telling
 them to maintain a complete fork is another one.

Again, I think the mode of cooperation here should not be that
systemd/Linux and the other kernels share code here. Instead it should
be to share interfaces. For example, in regards of the
hostname/time/locale mechanisms reimplement the bus interface, it's well
documented.

It's free software, you can always start on our codebase, but in the end
I don't think it makes sense for me to support the porting work in my
upstream repo. I also doubt it even makes sense to port that
stuff. Also, never forget that while me might be able to pull it off to
use systemd as vehicle to standardize certain configuration files on
Linux I have serious doubts we could do that on the other
kernels. I.e. if we say /etc/locale.conf should be the only place to set
locale settings then I have serious doubts the BSD or Solaris folks
would be so keen on that.

Also note that those other archs need very different code anyway. For
example, Solaris isn't too much into PK. Our mechanisms use PK. Hence
they'd have to do non-trivial porting work anyway. And given how trivial
the locale code actually is there's really no point in porting it
over. Rewriting isn't so difficult.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Olav Vitters
On Wed, May 18, 2011 at 05:15:43PM +0200, Luca Ferretti wrote:
 What's the official position adopted by GNOME Foundation about this
 statement?

It was on the agenda for last meeting and we put it on the agenda of the
next meeting:
http://mail.gnome.org/archives/release-team/2011-May/msg00036.html

-- 
Regards,
Olav
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Lennart Poettering
On Wed, 18.05.11 14:39, Frederic Peters (fpet...@gnome.org) wrote:

 
 Lennart Poettering wrote:
 
  I'd like to propose systemd (GPL2+,
  http://www.freedesktop.org/wiki/Software/systemd) as blessed external
  dependency for GNOME 3.2. 
 
 There actually isn't a module proposal period anymore.  We are using
 feature or design proposals now.  But the process for external
 dependencies was different anyway.
 
 Recently I was trying to categorise our 2.x external dependencies,
 thinking about the way to handle this for 3.x, and came with three
 levels:
 
 ** 1st level **
 
   Established, stable, system modules, they have been in
   place for a long time, with stable API and ABI, and they exist in
   sufficient versions in the distributions commonly used by GNOME
   hackers, even in older but still used versions (Fedora 13 for
   example).
 
   Examples : libxml2, libpng, dbus...
 
   Proposed guideline : mentioned as dependencies with a base version,
   not built by default by jhbuild.
 
   Rationale : we want to reduce the number of modules that need to be
   built to start developing on GNOME.
 
 
 ** 2nd level **
 
   Modules developed outside GNOME, with little attention to our
   schedule, but with an active development, and where we want to track
   recent code.
 
   Examples : mozilla (js-185 nowadays), poppler.
 
   Proposed guideline : built from tarballs, version bumps whenever a
   module need a new version.
 
   Rationale : we need recent code, but we do not want to arrive on a
   release days with modules failing to build because they require some
   code only available in $DVCS.
 
 
 ** 3rd level **
 
   Modules developed outside GNOME, with attention to our schedule
   (i.e. we can ask for a tarball and get it in two days).
 
   Examples : webkitgtk, polkit.
 
   Proposed guideline : treated like any other GNOME module, built from
   latest git.
 
   Rationale : we do not need to put extra burden on modules that are
   close to us.
 
 
 At which level would you see systemd integrated, now, and in the
 future?

Not sure. Depends. systemd is not fully established yet, but it
definitely is a system component, and yes, I do keep an eye on GNOME
schedules.

In the long run I hope that systemd takes a position next to
D-Bus. i.e. outside of GNOME, shared with other systems, a basic OS
building block, but pretty close to GNOME.

 Also you are speaking about (D-Bus) interfaces, and it is already
 envisioned to have them implemented by other components, should we
 talk about D-Bus interfaces that we expect to be available for GNOME,
 instead of saying systemd?

Really depends. In some cases dbus interface is fine (for example for
the mechanisms). In some other cases not so much, for example replacing
CK in gdm will be a different kind of interface.

 Something else is the ability to run development GNOME, the most
 common tool those days is jhbuild, which was created way before D-Bus,
 and it's not always straightforward to get it working with D-Bus
 services, do you believe it will be possible to have systemd built and
 useful from jhbuild, or do you expect systemd will have to come from
 the distribution?

systemd is something that needs to be adopted in the distribution, with
some exceptions.

The session management stuff will only work on a systemd system (since
it requires the cgroup hierarchy set up for it to work). There are a few
exceptions though, like the time/locale/hostname mechanisms which should
run without systemd around.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Josselin Mouette
Le mercredi 18 mai 2011 à 17:30 +0200, Lennart Poettering a écrit : 
 It's not just some #ifdefs. It's a ton. Lemme list a couple of Linux
 specific interfaces that are used in systemd, you'd have to find
 replacements for:
 
 - get_current_dir_name()
 - canonicalize_file_name()
(Just to be pedantic: these are from glibc, so are available with
kFreeBSD as well.)

 And this is just what I found while going through two files in
 systemd. Of course, a couple of these are easy to emulate, or have
 obvious counterparts on the other OSes, or could be made optinal (or
 even are already optional), but the point I want to make here is that it
 wouldn't be a couple of #ifdefs. 

Sure, but what if people want to do the job?

 It would turn every second line of
 systemd into #ifdefs. And I wouldn't want to maintain such a beast.
 
 That all said, git is your friend. If people want to port this over to
 other systems, they are welcome to do so and with git rebase they
 could keep it somewhat up-to-date. I will not share your suffering if
 you do.

Ah right, people won’t do the job, because you give them the finger from
the very beginning. Sure. What could we need more right now than another
glibc/eglibc disaster with a maintainer who doesn’t want to care about
more than his chapel?

Note that this is the primary reason preventing us from making good use
of systemd features in Debian. This would imply, for each package
providing a daemon, to maintain a sysv init script for insserv a service
for systemd. So we’re stuck, at best, with using only the lowest common
denominator between init systems.

In the end, this behavior is not just making the life of porters
impossible; it is making harder to actually embrace your software.

-- 
 .''`.  Josselin Mouette
: :' :
`. `'
  `-

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-18 Thread Lennart Poettering
On Wed, 18.05.11 18:03, Josselin Mouette (j...@debian.org) wrote:

 Le mercredi 18 mai 2011 à 17:30 +0200, Lennart Poettering a écrit : 
  It's not just some #ifdefs. It's a ton. Lemme list a couple of Linux
  specific interfaces that are used in systemd, you'd have to find
  replacements for:
  
  - get_current_dir_name()
  - canonicalize_file_name()
 (Just to be pedantic: these are from glibc, so are available with
 kFreeBSD as well.)
 
  And this is just what I found while going through two files in
  systemd. Of course, a couple of these are easy to emulate, or have
  obvious counterparts on the other OSes, or could be made optinal (or
  even are already optional), but the point I want to make here is that it
  wouldn't be a couple of #ifdefs. 
 
 Sure, but what if people want to do the job?

They are welcome to do so. But I won't litter my simple sources with
it. I do not want to think about ifdefs about abstractions. I don't want
to think which OS I am breaking now when I add something new to systemd.

You know, I maintain a lot of software, like Avahi and PulseAudio for
example. These two are big projects, and both of them are portable, to
the weirdest Unixes. And have been ported to them. I *know* the burden
portability brings with it. I know it better than most people. I think I
know it better than you.

The lower you get in your stack the heavier the burden of portability
becomes. While top level apps might have little problems maintaining
compat with other OSes by using glib and friends the closer the come to
the kernel the more you need to deal with kernel APIs, and the more
work, the more ifdefs, the more madness it becomes to support multiple
kernels.

systemd is the lowest-level component in our entire stack, isn't it
kinda obvious then that making it portable is simply crazy?

  It would turn every second line of systemd into #ifdefs. And I
  wouldn't want to maintain such a beast.
  
  That all said, git is your friend. If people want to port this over to
  other systems, they are welcome to do so and with git rebase they
  could keep it somewhat up-to-date. I will not share your suffering if
  you do.
 
 Ah right, people won’t do the job, because you give them the finger from
 the very beginning. Sure. What could we need more right now than another
 glibc/eglibc disaster with a maintainer who doesn’t want to care about
 more than his chapel?

Thanks, I'll call it Josselin's law: As an online discussion grows
longer, the probability of a comparison involving Ulrich Drepper
approaches 1..

 Note that this is the primary reason preventing us from making good use
 of systemd features in Debian. This would imply, for each package
 providing a daemon, to maintain a sysv init script for insserv a service
 for systemd. So we’re stuck, at best, with using only the lowest common
 denominator between init systems.
 
 In the end, this behavior is not just making the life of porters
 impossible; it is making harder to actually embrace your software.

Dude, you are turning everything from its feet onto the head:

I am not making things difficult: you are yourself making things
difficult. Debian kFreeBSD is a toy OS. About 10 people on this earth
use it. About 0.4 of those probably run GNOME on it. Of that half a
person only about 0.2 probably expect it to work properly.

I am not sure why you ask me to care about your interest into toy
OSes. I am not sure why you think that your interest in toy OSes should
set the agenda for GNOME.

Also, I can only repeat: the cooperation mode with your OSes and systemd
should be sharing interfaces, not sharing code.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-18 Thread Johannes Schmid
Hi!

 Yes, it might cost us a bit to be open and friendly like this -- and to
 be honest, I'm not convinced the cost is that high for GNOME code, while
 it certainly is for systemd -- but our community is not just about
 purely technical matters. We also care about being open and friendly.
 Or at least, we should.

I think Lennart made the point that systemd is not portable and won't be
ported. He also made the point that that doesn't mean other OS could
share the same interfaces as systemd while providing a completely
different backend and he also made clear that the parts GNOME will
likely depend on apart from gdm will be buildable on any OS while not
providing much use.

I really don't think we can make a useful control-center that supports
all kind of operating systems. People that care about configuring OS
parts on non-linux systems should probably write their own
control-center.

Regards,
Johannes


signature.asc
Description: This is a digitally signed message part
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-18 Thread Sergey Udaltsov
 Yes, it might cost us a bit to be open and friendly like this -- and to
 be honest, I'm not convinced the cost is that high for GNOME code, while
 it certainly is for systemd -- but our community is not just about
 purely technical matters. We also care about being open and friendly.
 Or at least, we should.
Thank you Vincent, that is sooo true.

Even from technical POV, could please someone explain - why cannot
GNOME define some reasonable cross-desktop dbus interface (not tied to
particular internals of systemd), standardize it on fd.o, provide
single implementation (in systemd) and let other OSes care about
themselves - in _friendly_ manner, as you Vincent say? If that
interface is well designed - I do not think it would be hard for
others to implement it. Why introduce hard dependency on the daemon
which is not a total standard even in Linux world?

The whole concept about GNOME OS seems to be more dangerous than
useful... This idea comes up every time GNOME wants to alienate
somebody or something.

Sergey
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Vincent Untz
Le mercredi 18 mai 2011, à 19:08 +0200, Johannes Schmid a écrit :
 Hi!
 
  Yes, it might cost us a bit to be open and friendly like this -- and to
  be honest, I'm not convinced the cost is that high for GNOME code, while
  it certainly is for systemd -- but our community is not just about
  purely technical matters. We also care about being open and friendly.
  Or at least, we should.
 
 I think Lennart made the point that systemd is not portable and won't be
 ported. He also made the point that that doesn't mean other OS could
 share the same interfaces as systemd while providing a completely
 different backend and he also made clear that the parts GNOME will
 likely depend on apart from gdm will be buildable on any OS while not
 providing much use.

Oh yes, I'm not saying systemd should be ported to the non-Linux world;
that's why I even mentioned the high cost for it in my mail. Sharing
interfaces makes sense in that case.

 I really don't think we can make a useful control-center that supports
 all kind of operating systems. People that care about configuring OS
 parts on non-linux systems should probably write their own
 control-center.

Two things here:

 - if we share interfaces, as suggested several times, surely we can
   have one control-center for many OS. Those OS just need to implement
   the interfaces.

 - I don't think all system settings panels need deep integration with
   the OS, so there's no need to build a completely different
   control-center for non-linux systems. We can disable some panels on
   some OS if needed.

Vincent

-- 
Les gens heureux ne sont pas pressés.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Brian Cameron


Sorry for the double post.

When I wrote my last post, it was not clear to me that systemd is not
and won't be portable.  If this is true, then that's probably okay for
Oracle too, as long as GNOME can be made smart enough to just disable
those aspects of the desktop that require it when systemd is not
present.

I am sure that we at Oracle can figure out ways to bolt on the support
we need for our users using other interfaces.

When I write my emails, I try to be even minded and inviting as I think
befits a free software community.  But I sometimes wonder why I bother
considering some of the other posts I read.

Brian


On 05/18/11 12:08 PM, Johannes Schmid wrote:

Hi!


Yes, it might cost us a bit to be open and friendly like this -- and to
be honest, I'm not convinced the cost is that high for GNOME code, while
it certainly is for systemd -- but our community is not just about
purely technical matters. We also care about being open and friendly.
Or at least, we should.


I think Lennart made the point that systemd is not portable and won't be
ported. He also made the point that that doesn't mean other OS could
share the same interfaces as systemd while providing a completely
different backend and he also made clear that the parts GNOME will
likely depend on apart from gdm will be buildable on any OS while not
providing much use.

I really don't think we can make a useful control-center that supports
all kind of operating systems. People that care about configuring OS
parts on non-linux systems should probably write their own
control-center.

Regards,
Johannes



___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Sriram Ramkrishna
On Wed, May 18, 2011 at 8:30 AM, Lennart Poettering mzta...@0pointer.dewrote:


 could keep it somewhat up-to-date. I will not share your suffering if
 you do.


Haha!  Lovely. ;)  I just can imagine your face when you're typing that, ya
bum! :)

sri
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: systemd as external dependency

2011-05-18 Thread Brian Cameron


Lennart:


The closest integration I expect in gdm. Ideally I'd like to rip out the
current CK support completely and replace it entirely by the more
low-level systemd specific code. However, that I can only do if the
outcome of this discussion is clear.


Is it possible to do this, but maintain the ConsoleKit CLI, D-Bus
interfaces, and configuration interfaces (e.g. /etc/ConsoleKit) for
backwards compatibility?  If these interfaces need to change, can you
provide some perspective about how much they need to change?

I wonder if it might be reasonable for systems that do not support
systemd to continue using ConsoleKit.  Will #ifdef's be allowed in
GDM?  If GDM is changed to become Linux specific, then does this mean
that non-Linux systems need to migrate to a different display manager?

I now know GDM is a Core GNOME application.  If a different display
manager is used to access a GNOME desktop, then can you still call your
desktop GNOME?  Can you swap out a Core GNOME program and still call
it GNOME?

Brian
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Federico Mena Quintero
On Wed, 2011-05-18 at 14:09 +0200, Lennart Poettering wrote:

[setting the hostname and other little interfaces]
 In the long run I expect the following additional interfaces used by
 GNOME or one of its components:
 
 - I am working on two more mechanisms generalizing control of the system
   locale and system clock/timezone for use in the control center and by
   other UIs.

A while ago, Rodrigo Moya had a lovely idea.  Back then we were
discussing the problem of distros having different mechanism for stupid
little tasks which should be uncontroversial, like the hostname,
timezone, etc.

The plan was to introduce D-Bus interfaces to frob these things, and
then to cunningly provide an AdminKit with implementations of the
corresponding services.  Distros would realize, oh, hey, we can use
this pre-made code instead of maintaining our own hacks - let's do
that.  And then AdminKit would be a de-facto standard interface and
unicorns would excrete rainbows.  Recalcitrant systems would be de-facto
forced to implement those D-Bus interfaces however they please.

Your idea, of course, is the same - except that it puts the services in
systemd (maybe not systemd itself, but the systemd package).  You need
somewhere to put them, after all.

There are *probably* hit-and-run services like set the hostname where
D-Bus activation could launch a tiny helper process that changes the
hostname and emits a signal, and dies quickly.  These present no
problem, except for how to ship them.

There are *probably* services that need to be running constantly, but I
can't think of one right now.  Those need a daemon.  I'm kind of unhappy
of the proliferation of daemons that we had at one point -
gnome-session, the user's D-Bus daemon, gnome-settings-daemon, etc.
Maybe if we had One Standard Way of loading service-y things into a
central daemon, we could save a little memory and context switches?  Is
this even worthwhile?  (If one crashes, it would make things much
worse...).

Maybe putting your services in an AdminKit would make things more
palatable to unenlightened^H^H^H^Htraditionalist systems that don't want
to use systemd just yet?

(Note: I don't care much where the services are shipped.  But putting
them in neutral ground may be better/easier in the medium term.)

  Federico

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Bastien Nocera
On Wed, 2011-05-18 at 14:46 -0500, Federico Mena Quintero wrote:
 On Wed, 2011-05-18 at 14:09 +0200, Lennart Poettering wrote:
 
 [setting the hostname and other little interfaces]
  In the long run I expect the following additional interfaces used by
  GNOME or one of its components:
  
  - I am working on two more mechanisms generalizing control of the system
locale and system clock/timezone for use in the control center and by
other UIs.
 
 A while ago, Rodrigo Moya had a lovely idea.  Back then we were
 discussing the problem of distros having different mechanism for stupid
 little tasks which should be uncontroversial, like the hostname,
 timezone, etc.
 
 The plan was to introduce D-Bus interfaces to frob these things, and
 then to cunningly provide an AdminKit with implementations of the
 corresponding services.  Distros would realize, oh, hey, we can use
 this pre-made code instead of maintaining our own hacks - let's do
 that.  And then AdminKit would be a de-facto standard interface and
 unicorns would excrete rainbows.  Recalcitrant systems would be de-facto
 forced to implement those D-Bus interfaces however they please.
 
 Your idea, of course, is the same - except that it puts the services in
 systemd (maybe not systemd itself, but the systemd package).  You need
 somewhere to put them, after all.
 
 There are *probably* hit-and-run services like set the hostname where
 D-Bus activation could launch a tiny helper process that changes the
 hostname and emits a signal, and dies quickly.  These present no
 problem, except for how to ship them.
 
 There are *probably* services that need to be running constantly, but I
 can't think of one right now.  Those need a daemon.  I'm kind of unhappy
 of the proliferation of daemons that we had at one point -
 gnome-session, the user's D-Bus daemon, gnome-settings-daemon, etc.
 Maybe if we had One Standard Way of loading service-y things into a
 central daemon, we could save a little memory and context switches?  Is
 this even worthwhile?  (If one crashes, it would make things much
 worse...).
 
 Maybe putting your services in an AdminKit would make things more
 palatable to unenlightened^H^H^H^Htraditionalist systems that don't want
 to use systemd just yet?
 
 (Note: I don't care much where the services are shipped.  But putting
 them in neutral ground may be better/easier in the medium term.)

Which is why I've asked Lennart to add a flag to systemd's configure to
install only the little servicey bits, for Linux distros, and the docs
would serve as basis for implementation of other OSes.

This would solve the problem of distributions that don't want to use
systemd as the init system, and the Debian/FreeBSD probleme where just
the filesystem layout is the same as a Linux distribution.

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Jasper Lievisse Adriaanse
On 18 May 2011 14:49, Josselin Mouette joss debian org wrote:
 I don\u2019t have anything against requiring systemd, since it is definitely
 the best init system out there currently, but the Linux dependency is an
 absolute no-no for us. Having optional Linux-only functionalities is OK;
 requiring Linux is not.

I do have to wonder how many people are actually using GNOME on Debian
on BSD, or even (ahah) Hurd...

Ross
 
 ___
 desktop-devel-list mailing list
 desktop-devel-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Well, I can speak for OpenBSD when I say there are hundreds, if not thousands
of users of GNOME on OpenBSD. There are probably an equal or larger amount of
people using GNOME on the other platforms, like Solaris, the other BSD's, etc.

 systemd itself has very minimal external dependencies. You need Linux,
 udev, D-Bus, and that's it. (there are a couple of additional optional
 deps however).
You have got to be kidding right? Yes, apart from forcing a complete operating
system/kernel as dependency, almost zero deps...way to go! (Yes, I'm rather
cynical, if not sad..)

 I think the time has come for GNOME to embrace Linux a bit more boldly.
And let the others choke? I mean seriously, embracing Linux more would mean
more Linux-specific backends to use, and caring less about the others they
should just catch up..

I think I can say that I speak for the whole BSD community, GNOME users
and non-GNOME users, when I say that such steps as enforcing Linux-only
dependencies even more is a clear sign GNOME does not care about portability
to any OS other than Linux...and that this is very sad sign to everyone else.

Even right now it's hard for us to keep up with new things like, various *kits,
udev, udisks and the like. Most of these technologies require changes in the
kernel, which is assumed to be there already, since you run Linux. Don't get
me wrong, new technologies exploring new parts are cool and nice, but need
carefull thinking when forced as a dependency. Both portability and 
security-wise.

I think upower would be a good example of how things were done right. It's got
clearly separated backends where support for various kernels can be added (and
not the other way around where support for upower has to be added to the 
kernel!).

It's like a race where the track keeps changing while we're driving, which 
isn't bad per
se. But it gets very hard when it's decided to use race cars instead of
bikes.. I hope my (and of everyone who really cares about portability) concern
is clear and others step up to express theirs too.

-- 
Cheers,
Jasper

Capable, generous men do not create victims, they nurture them.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Olav Vitters
On Wed, May 18, 2011 at 10:50:45PM +0200, Jasper Lievisse Adriaanse wrote:
 I think I can say that I speak for the whole BSD community, GNOME users
 and non-GNOME users, when I say that such steps as enforcing Linux-only
 dependencies even more is a clear sign GNOME does not care about portability
 to any OS other than Linux...and that this is very sad sign to everyone else.

Portability is nice, but how many OpenBSD developers are there working
on GNOME for a significant amount of time? How many OpenBSD developers
work upstream (so not just porting after the fact)? How many maintain a
GNOME module?

This as I don't notice anyone non-Linux developers usually on
desktop-devel-list. Only some complaints after a new GNOME is released
and it doesn't work right away on e.g. FreeBSD.
To me, it seems like we do not have any non-Linux developers at all. So
as a result, non-Linux gets less effort. It seems a pretty logical
result to me. Then obviously you'll get a thread asking to depend more
on just Linux. It is still being *asked*; result is this discussion and
eventually release-team will decide.

I do wonder what portability gets us (benefits+drawbacks). I can think
of extra users, and perhaps better abstractions, but what more?

Above doesn't reflect any opinion on what I think GNOME should do btw. I
have not made up my mind at all. I'm just wondering out loud and being
critical.
-- 
Regards,
Olav
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Matthias Clasen
Wow, crazy.

I go debugging gdm for half a day, and come back to find press
headlines about 'GNOME 3 is dropping FreeBSD support'... the reality
is of course much more nuanced, and much less dramatic. There are many
things that could be said here, and much has already been said, so
I'll try to keep my points short:

- GNOME will probably always work best on the platform used by most
contributors, which is a fairly modern Linux distribution. But that
doesn't imply that we strive to ship something that can only be built
on bleeding edge distributions. Looking back at GNOME 3.0, the
NetworkManager 0.9 situation was certainly not a showcase of great
dependency handling. But even so, it was the right decision to finally
have networking as an integrated part of the experience (it feels
funny to even having to mention this in 2011...)

- Posix is not good enough: we expect networking, usb, sound, hotplug,
etc etc. Our unwillingness to settle and rely on suitable interfaces
between the kernel and the desktop has hampered us for a long time.
GOME 3 is the first release that has official built-in support for
networking and printing, after all these years of coming and going
interfaces and frontends. Many of the 'middleware' layer of d-bus
services and other compontents that sit between the kernel and the
desktop have been developed and maintained by people who are close to
GNOME, to satisfy the needs of the desktop (or really just the needs
of a modern OS, period).

- Many of these services can serve as a vehicle for portability too:
If there's just minor differences in the underlying platform, it may
be possible to port the service by just adding a few select ifdefs. If
the service is very close to the kernel (and /sbin/init typically is),
then it may be more maintainable and practical to reimplement the dbus
interfaces from scratch. But an important point is that we don't want
these services to degenerate to pure portability layers; they need to
be able to develop and adapt to improvements and changes as they
happen in the kernel. If that means that alternative implementations
have some catching up to do every now and then, then that is the price
to pay for freedom -- there's freedom on both sides here: freedom to
develop the OS without being constrained by overly strict,
standardized interfaces, and freedom to take the OS and replace bits
and pieces as you like.

- In practice, our portability is story is already pretty nuanced, as
can be seen in http://live.gnome.org/PortabilityMatrix, and it
probably always will be. I don't think that will change; we will
always welcome reasonable patches that make our software work on more
systems. But portability is a secondary quality. The primary quality
of our product is that it actually works, and is awesome. It is no
good to produce something that can be built on any free unixoid
system, but doesn't really work right on any of them.


Matthias
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Luca Ferretti
Il giorno mer, 18/05/2011 alle 17.54 +0200, Olav Vitters ha scritto:
 On Wed, May 18, 2011 at 05:15:43PM +0200, Luca Ferretti wrote:
  What's the official position adopted by GNOME Foundation about this
  statement?
 
 It was on the agenda for last meeting and we put it on the agenda of the
 next meeting:
 http://mail.gnome.org/archives/release-team/2011-May/msg00036.html
 

Yes, I know it :) But I've said foundation, not release team ;)

Quoting foundation.gnome.org: the Foundation will coordinate releases
of GNOME and determine which projects are part of GNOME. The Foundation
will act as an official voice for the GNOME project. 

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Olav Vitters
On Thu, May 19, 2011 at 12:20:01AM +0200, Luca Ferretti wrote:
 Yes, I know it :) But I've said foundation, not release team ;)
 
 Quoting foundation.gnome.org: the Foundation will coordinate releases
 of GNOME and determine which projects are part of GNOME. The Foundation
 will act as an official voice for the GNOME project. 

And that decision is made by the release-team (delegated
responsibility). Keeping in mind that release-team doesn't dictate,
foundation is a bunch of people working on GNOME, etc.
-- 
Regards,
Olav
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Federico Mena Quintero
On Wed, 2011-05-18 at 21:50 +0100, Bastien Nocera wrote:

 Which is why I've asked Lennart to add a flag to systemd's configure to
 install only the little servicey bits, for Linux distros, and the docs
 would serve as basis for implementation of other OSes.

That's fine.  I still think other distros/systems may be feel it to be a
little onerous to have to download a big system-level package (even if
it's just perception) to install random services like that.

(Maybe a system-services tarball, if you really don't like the name of
AdminKit?) :)

  Federico

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Colin Walters
On Wed, May 18, 2011 at 6:51 PM, Federico Mena Quintero
feder...@ximian.com wrote:

 (Maybe a system-services tarball, if you really don't like the name of
 AdminKit?) :)

Or even a separate git repository?  Is there a compelling reason to
keep them in the systemd tree?  Note if they were separate, they could
e.g. use GLib and GIO.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Lennart Poettering
On Wed, 18.05.11 17:51, Federico Mena Quintero (feder...@ximian.com) wrote:

 
 On Wed, 2011-05-18 at 21:50 +0100, Bastien Nocera wrote:
 
  Which is why I've asked Lennart to add a flag to systemd's configure to
  install only the little servicey bits, for Linux distros, and the docs
  would serve as basis for implementation of other OSes.
 
 That's fine.  I still think other distros/systems may be feel it to be a
 little onerous to have to download a big system-level package (even if
 it's just perception) to install random services like that.
 
 (Maybe a system-services tarball, if you really don't like the name of
 AdminKit?) :)

I definitely don't want to split this off. It's systemd on both sides
here, writing and reading the configuration files. For example, for the
locale settings mechanism we need to apply changes to disk which are
read by systemd on the next boot, and we also need to apply them to the
running instance. If we maintain this together it is easy to ensure that
this stays in sync. 

Also the hostnamed code actually shares substantial code with the rest
of systemd (like file parsers, dbus glue, logging, utilities, ...). I
don't want to duplicate that in another project having to sync things
boths way all the time.

My plan with systemd is to clean up the mess that we traditionally had
with a chaotic collection of basic mix and match building blocks. I want
to work against that, and hence splitting these things off is
diametrically opposed to my goals.

I am also a very lazy person. I maintain way too many packages of our
stack already. I am pretty sure I don't want to add another to that.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Lennart Poettering
On Wed, 18.05.11 14:46, Federico Mena Quintero (feder...@ximian.com) wrote:

 There are *probably* hit-and-run services like set the hostname where
 D-Bus activation could launch a tiny helper process that changes the
 hostname and emits a signal, and dies quickly.  These present no
 problem, except for how to ship them.

hostnamed is a tiny bus activated service. It normally isn't running
unless somebody is using it, i.e. is actually changing the hostname.

 There are *probably* services that need to be running constantly, but I
 can't think of one right now.  Those need a daemon.  I'm kind of unhappy
 of the proliferation of daemons that we had at one point -
 gnome-session, the user's D-Bus daemon, gnome-settings-daemon, etc.
 Maybe if we had One Standard Way of loading service-y things into a
 central daemon, we could save a little memory and context switches?  Is
 this even worthwhile?  (If one crashes, it would make things much
 worse...).

I think the best way to save resources is not to run anything. For stuff
like hostnames/locale/time which is used only every other moonphase
having tiny single-purpose mini-services is perfectly appropriate. I
don't think there would be any benefit in merging these mini daemons
into one. Au contraire, I'd guess you'd waste even more resources with
dlopen() and friends.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Sergey Udaltsov
 I think the best way to save resources is not to run anything. For stuff
 like hostnames/locale/time which is used only every other moonphase
 having tiny single-purpose mini-services is perfectly appropriate. I
 don't think there would be any benefit in merging these mini daemons
 into one. Au contraire, I'd guess you'd waste even more resources with
 dlopen() and friends.
Can all those services be standardized using DBus interfaces (DBus
activation if necessary)? IMHO that's the only way to remain friendly
to non-linux OSes, not having any bits of systemd (or distros that are
not using it)?

Sergey
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: systemd as external dependency

2011-05-18 Thread Andrew Cowie
On Wed, 2011-05-18 at 18:59 +0200, Jan de Groot wrote:

 This is not just about kFreeBSD, but about any non-linux OS that GNOME
 runs on. If the attitude becomes screw them, they're different, then
 GNOME should officially screw every distribution that doesn't provide
 the latest and greatest software too.

I support the notion of concentrating on Linux. But there's a dangerous
slippery slope here.

In the last few weeks I've been trying to run GNOME 3 and gnome-shell on
Ubuntu via the gnome3 developers' PPA.

The number of times I have been mocked and derided and laughed at on IRC
is staggering. That's not a real distro. That's not maintained by
real GNOME people. Don't use that Switch distros!

Jesus.

This package repository is maintained by a bunch of people (some
Canonical employees, some employees of other companies, some volunteers,
*all* by definition GNOME community members) who are clearly putting in
a lot of effort to make it work.

That PPA was set up in no small part because early GNOME 3.0 marketing
efforts identified that it really mightn't be a bad idea if the large
number of people running  deployed Ubuntu systems could try the new
GNOME experience. It was also setup (and is used because) this certain
cluster of Debian-based Linux systems really does have a rather large
installed base.

For a lot of good reasons most of those people cannot easily change
distros, even if that were to be desirable. [And it's not. Many
installed sites made a technology decision (Fedora → RHEL, Ubuntu edge →
Debian stable, etc) one way or another and have since built system
management infrastructure on top of it. They're not going to be in a
rush to revisit that].

I'm fairly certain that the GNOME community is not trying to say thou
must run Fedora. Of course not. But people asking nervously about
packaging formats in a thread about system level dependencies are
honestly concerned that such a distro mandate might be next on the list.

[Yes, I know it would make the documentation team's job easier, and I'm
sorry to oppose anything in that direction].

I think that requiring the Linux Kernel and common Linux base system
libraries is a reasonable step in the right direction for GNOME. We are
competing with several 900 metric pound gorillas who have total control
of their stack and laugh their heads off at us when they even bother to
take notice of us.

We're not them. And we collectively have limited bandwidth to go around.

I'm sad if this means we can't easily support the cool efforts of
smaller communities of people working on [fringe is the wrong word.
Edge?] projects like Solaris and the *BSD distros, but I also think the
interfaces argument is a reasonable one. But meanwhile our current and
near future user  developer base *is* fragmented across several Linux
distros and I'd like to hope we can be tolerant of them.

AfC
Sydney



signature.asc
Description: This is a digitally signed message part
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list