LSB Package API

2008-06-21 Thread Denis Washington
Hi,

Some time ago, it was discussed on an LSB face-to-face meeting that an
API should be developed that allows ISVs to install sotware packages
which integrate into the package manager - the "Berlin Packaging API".
While the idea seemed to be well received, there didn't seem much
progress since then, except for a wiki page with a rundimentary proposal
[1]. Considering that third-party software installation is an undeniably
important weak spot of the Linux infrastructure, I found this was a
shame.

To reignite the the initiative, I decided to design and develop a
prototype implementation of the Berlin API, most creatively named the
"LSB Package API". It is designed as a simple D-Bus interface
accompanied with an XML-based package description format. A detailed
description and the source code can be found on this page:

 http://www.linuxfoundation.org/en/LSB_Package_API

The implementation currently supports integration into RPM and dpkg; due
to its modular nature, support for more package managers could be added
later on.

I hope this implementation will act as a starting point for resurrecting
the Berlin API process. Let us overcome the "Third-party software
installation on Linux sucks" problem and strive to a brave new world of
easily distributable Linux software! ;)

Best regards,
Denis Washington

[1] http://www.linuxfoundation.org/en/Berlin_Packaging_API


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: LSB Package API

2008-06-21 Thread Denis Washington
On Sat, 2008-06-21 at 13:20 +0200, Yaakov Nemoy wrote:
> How is this different than PackageKit?  PackageKit seems to cover the
> use case of presenting a comprehensive API and userspace tools to
> manage packages consistently across distros.  What can the Berlin API
> do that PackageKit doesn't do, and doesn't make sense for PackageKit
> to do?
> 
> -Yaakov

While the use cases of PackageKit are related to the Berlin API, they
are pretty different. PackageKit is focused on providing a frontend for
managing repository-based package systems, like apt and and yum. It is
mainly thought to abstract installation and upgrades from package
repositories, like when an application likes to install a package with a
particular name from the distro's repos. However, it does not address
the problem of software distribution itself - the repositories and
package files are still specific to the packagaing system.

The Berlin API, on the other side, does exlclusively deal with providing
a package-manager-neutral software distribution method. So the Berlin
API is not a replacement for PackageKit, but a complement. In fact, as
the software installed with the Berlin API is added to the package
system's database, it can be managed (e.g. uninstalled) with PackageKit
afterwards - a dream team! ;)

Regards,
Denis Washington


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: [packaging] LSB Package API

2008-06-21 Thread Denis Washington
On Sat, 2008-06-21 at 06:59 -0700, Dan Kegel wrote:
> On Sat, Jun 21, 2008 at 1:32 AM, Denis Washington <[EMAIL PROTECTED]> wrote:
> > Some time ago, it was discussed on an LSB face-to-face meeting that an
> > API should be developed that allows ISVs to install sotware packages
> > which integrate into the package manager - the "Berlin Packaging API".
> > While the idea seemed to be well received, there didn't seem much
> > progress since then
> 
> I dislike that route intensely.  Why, I'm not sure.  Perhaps
> because it encourages ISVs to manage package updates themselves,
> perhaps because it smacks of the complexity of Microsoft's MSI.
> 
> I'm more interested in the single-click install idea Suse's
> working on, since it's much less of an end run around
> normal Linux packaging practices.  And I have a summer intern
> to throw at the problem, so perhaps I'll make some headway on
> it.

The problem I currently see with single-click install is that it still
relies on a single package format (.rpm), so there would have to be
several packages of the same application again. Another particular
problem I see is security: RPM runs as root, so post-install routines
will do so too. That's why I tried to do an architecture that works
without root privileges (in many cases at least). But maybe there are
are already plans how to address this? I must admit I'm not all that
well-informed about SuSE's one-click install.

> Can we move followups to [EMAIL PROTECTED] rather
> than cc'ing all those lists?

OK. I wanted to get as many parties as possible on board, but now let's
say: whoever likes to follow this discussion is encouraged to to join
[EMAIL PROTECTED] [1]. Follow-ups should only be sent
there.

Regards,
Denis

[1] https://lists.linux-foundation.org/mailman/listinfo/packaging


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Overlap in installing packages

2008-06-21 Thread Nguyễn Hồng Quân
In order to install g++-4.2.deb, I have to have already had
libstdc++6-4.2-dev. But to install libstdc++6-4.2-dev.deb, the g++-4.2 must
exist. So how can I install them?
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


cups-pdf

2008-06-21 Thread Jochen J. Ulbricht
Hello,

I've written a script which asks the user what to do with a created
pdf-file after printing to cups-pdfprinter.

open | save | mail | add to collection

I've written a script which parses the /etc/cups/cusps-pdf config adds
the PostProcessing variable, too. The only thing I do not know is to
automate preventing apparmor from stop executing it :(.

This is no big thing but works for me and I think it would be usefull
for other Ubuntu-Users.

So now I would like to publish this. What should I do?

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: [packaging] LSB Package API

2008-06-21 Thread Dan Kegel
On Sat, Jun 21, 2008 at 1:32 AM, Denis Washington <[EMAIL PROTECTED]> wrote:
> Some time ago, it was discussed on an LSB face-to-face meeting that an
> API should be developed that allows ISVs to install sotware packages
> which integrate into the package manager - the "Berlin Packaging API".
> While the idea seemed to be well received, there didn't seem much
> progress since then

I dislike that route intensely.  Why, I'm not sure.  Perhaps
because it encourages ISVs to manage package updates themselves,
perhaps because it smacks of the complexity of Microsoft's MSI.

I'm more interested in the single-click install idea Suse's
working on, since it's much less of an end run around
normal Linux packaging practices.  And I have a summer intern
to throw at the problem, so perhaps I'll make some headway on
it.

Can we move followups to [EMAIL PROTECTED] rather
than cc'ing all those lists?
- Dan

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: LSB Package API

2008-06-21 Thread Yaakov Nemoy
On Sat, Jun 21, 2008 at 11:51 AM, Denis Washington <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Some time ago, it was discussed on an LSB face-to-face meeting that an
> API should be developed that allows ISVs to install sotware packages
> which integrate into the package manager - the "Berlin Packaging API".
> While the idea seemed to be well received, there didn't seem much
> progress since then, except for a wiki page with a rundimentary proposal
> [1]. Considering that third-party software installation is an undeniably
> important weak spot of the Linux infrastructure, I found this was a
> shame.
>
> To reignite the the initiative, I decided to design and develop a
> prototype implementation of the Berlin API, most creatively named the
> "LSB Package API". It is designed as a simple D-Bus interface
> accompanied with an XML-based package description format. A detailed
> description and the source code can be found on this page:
>
>  http://www.linuxfoundation.org/en/LSB_Package_API
>
> The implementation currently supports integration into RPM and dpkg; due
> to its modular nature, support for more package managers could be added
> later on.
>
> I hope this implementation will act as a starting point for resurrecting
> the Berlin API process. Let us overcome the "Third-party software
> installation on Linux sucks" problem and strive to a brave new world of
> easily distributable Linux software! ;)
>
> Best regards,
> Denis Washington
>
> [1] http://www.linuxfoundation.org/en/Berlin_Packaging_API

How is this different than PackageKit?  PackageKit seems to cover the
use case of presenting a comprehensive API and userspace tools to
manage packages consistently across distros.  What can the Berlin API
do that PackageKit doesn't do, and doesn't make sense for PackageKit
to do?

-Yaakov

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: LSB Package API

2008-06-21 Thread Nicolas Mailhot
Le samedi 21 juin 2008 à 13:20 +0200, Yaakov Nemoy a écrit :

> How is this different than PackageKit?  

It would make possible for ISVs to create packages in a non-native
packaging format, so they don't have to care about the format each
distro uses, or about understanding each distro dependency checks, or
generally speaking wasting time and money on integration and QA.

Of course that's supposing you can actually do good packaging in
non-native formats and the distros won't be left to collect the pieces
afterwards.

-- 
Nicolas Mailhot


signature.asc
Description: Ceci est une partie de message numériquement signée
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


help

2008-06-21 Thread shashank Agarwal
hi
i am shashank
I love Ubuntu and loved the new version 8.04
just wanna know the best program for watching live Free TV on Ubuntu..
Also please tell the best software for Torrent download, except Azureus..
from 
shashank agarwal
http://hackiteasy.blogspot.com



  -- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Overlap in installing packages

2008-06-21 Thread Milosz Derezynski
Specify both packages at the command line at the same time, e.g. with apt:

apt-get install libstdc++6-4.2-dev g++-4.2.deb



2008/6/21 Nguyễn Hồng Quân <[EMAIL PROTECTED]>:

> In order to install g++-4.2.deb, I have to have already had
> libstdc++6-4.2-dev. But to install libstdc++6-4.2-dev.deb, the g++-4.2 must
> exist. So how can I install them?
>
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>
>
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: help

2008-06-21 Thread Jonathan Jesse
On Sat, Jun 21, 2008 at 10:23 AM, shashank Agarwal <[EMAIL PROTECTED]>
wrote:

>  hi
> i am shashank
> I love Ubuntu and loved the new version 8.04
> just wanna know the best program for watching live Free TV on Ubuntu..
> Also please tell the best software for Torrent download, except Azureus..
> from
> shashank agarwal
> http://hackiteasy.blogspot.com
>
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>
>
Shashank,

THe best place to ask is on the ubuntu-users list or on IRC at #ubuntu.
This list is for development discussion.

Thanks,

Jonathan
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss