* [gentoo-dev] virtual/eject ?
@ 2005-05-23 16:12 Diego 'Flameeyes' Pettenò
2005-05-23 17:16 ` Ciaran McCreesh
2005-05-27 0:02 ` Diego 'Flameeyes' Pettenò
0 siblings, 2 replies; 9+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-05-23 16:12 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 984 bytes --]
As I'm still working on Gentoo/FreeBSD project, and I'm trying to get KDE
working there, I have a bit of a problem which I want to discuss with all the
devs.
The problem is that: kde-base/kdesktop depends on eject (and probably is not
the only one), but eject is a non-portable, linux-dependant program.
FreeBSD has its own version of eject, which I just added to fbsd's overlay as
sys-apps/eject-bsd.
I'll also add to that overlay a kdesktop ebuild which depends ||
( sys-apps/eject sys-apps/eject-bsd) so to have the dependencies fullfilled.
This can't be done everytime, and hoping for, in future, having an universal
eject (libcdio should allow that) I wanted to ask if is possible to add a
virtual/eject provided by sys-apps/eject and sys-apps/eject-bsd so that they
can be made dependencies as needed.
Comments?
Thanks,
--
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)
http://dev.gentoo.org/~flameeyes/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] virtual/eject ?
2005-05-23 16:12 [gentoo-dev] virtual/eject ? Diego 'Flameeyes' Pettenò
@ 2005-05-23 17:16 ` Ciaran McCreesh
2005-05-23 17:27 ` Diego 'Flameeyes' Pettenò
2005-05-27 0:02 ` Diego 'Flameeyes' Pettenò
1 sibling, 1 reply; 9+ messages in thread
From: Ciaran McCreesh @ 2005-05-23 17:16 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
On Mon, 23 May 2005 18:12:04 +0200 "Diego 'Flameeyes' Pettenò"
<flameeyes@gentoo.org> wrote:
| The problem is that: kde-base/kdesktop depends on eject (and probably
| is not the only one)
How many? If it's less than a half dozen packages, you don't get a
virtual.
--
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] virtual/eject ?
2005-05-23 16:12 [gentoo-dev] virtual/eject ? Diego 'Flameeyes' Pettenò
2005-05-23 17:16 ` Ciaran McCreesh
@ 2005-05-27 0:02 ` Diego 'Flameeyes' Pettenò
2005-05-27 13:44 ` Chris Gianelloni
1 sibling, 1 reply; 9+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-05-27 0:02 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
On Monday 23 May 2005 18:12, Diego 'Flameeyes' Pettenò wrote:
> This can't be done everytime, and hoping for, in future, having an
> universal eject (libcdio should allow that) I wanted to ask if is possible
> to add a virtual/eject provided by sys-apps/eject and sys-apps/eject-bsd so
> that they can be made dependencies as needed.
News about this? We really need a solution to this.
--
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)
http://dev.gentoo.org/~flameeyes/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] virtual/eject ?
2005-05-27 0:02 ` Diego 'Flameeyes' Pettenò
@ 2005-05-27 13:44 ` Chris Gianelloni
2005-05-27 13:45 ` Diego 'Flameeyes' Pettenò
0 siblings, 1 reply; 9+ messages in thread
From: Chris Gianelloni @ 2005-05-27 13:44 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
On Fri, 2005-05-27 at 02:02 +0200, Diego 'Flameeyes' Pettenò wrote:
> On Monday 23 May 2005 18:12, Diego 'Flameeyes' Pettenò wrote:
> > This can't be done everytime, and hoping for, in future, having an
> > universal eject (libcdio should allow that) I wanted to ask if is possible
> > to add a virtual/eject provided by sys-apps/eject and sys-apps/eject-bsd so
> > that they can be made dependencies as needed.
> News about this? We really need a solution to this.
I'm just curious, but why exactly is a virtual needed?
Why can't it be something like:
!blah? ( sys-apps/eject )
blah? (sys-apps/eject-bsd )
A virtual is usually reserved for when it affects a large number of
packages. If it affects one or two, then simply using some fun *DEPEND
syntax usually covers the issue.
--
Chris Gianelloni
Release Engineering - Strategic Lead/QA Manager
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] virtual/eject ?
2005-05-27 13:44 ` Chris Gianelloni
@ 2005-05-27 13:45 ` Diego 'Flameeyes' Pettenò
2005-05-27 14:04 ` Chris Gianelloni
0 siblings, 1 reply; 9+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-05-27 13:45 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 826 bytes --]
On Friday 27 May 2005 15:44, Chris Gianelloni wrote:
> I'm just curious, but why exactly is a virtual needed?
Well there are nine packages (and probably there can be others) which needs
eject, and the eject commands are going to be quite a few if there isn't an
"universal" eject as every os has its own way to eject a CD-Rom.
So we'll have eject for linux, eject-bsd for freebsd (and maybe openbsd, don't
know), eject-osx (and maybe eject-darwin) and eventual eject-solaris if there
will ever be a solaris port.
Every kernel has its own syscalls, and using conditional deps for every kernel
on more than a couple of packages will surely be something annoying for
maintainers.
--
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)
http://dev.gentoo.org/~flameeyes/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] virtual/eject ?
2005-05-27 13:45 ` Diego 'Flameeyes' Pettenò
@ 2005-05-27 14:04 ` Chris Gianelloni
2005-05-27 15:11 ` Mike Frysinger
0 siblings, 1 reply; 9+ messages in thread
From: Chris Gianelloni @ 2005-05-27 14:04 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 950 bytes --]
On Fri, 2005-05-27 at 15:45 +0200, Diego 'Flameeyes' Pettenò wrote:
> On Friday 27 May 2005 15:44, Chris Gianelloni wrote:
> > I'm just curious, but why exactly is a virtual needed?
> Well there are nine packages (and probably there can be others) which needs
> eject, and the eject commands are going to be quite a few if there isn't an
> "universal" eject as every os has its own way to eject a CD-Rom.
> So we'll have eject for linux, eject-bsd for freebsd (and maybe openbsd, don't
> know), eject-osx (and maybe eject-darwin) and eventual eject-solaris if there
> will ever be a solaris port.
> Every kernel has its own syscalls, and using conditional deps for every kernel
> on more than a couple of packages will surely be something annoying for
> maintainers.
OK... You sold me.
So create a virtual/eject... =]
--
Chris Gianelloni
Release Engineering - Strategic Lead/QA Manager
Games - Developer
Gentoo Linux
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-05-27 15:10 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-23 16:12 [gentoo-dev] virtual/eject ? Diego 'Flameeyes' Pettenò
2005-05-23 17:16 ` Ciaran McCreesh
2005-05-23 17:27 ` Diego 'Flameeyes' Pettenò
2005-05-23 18:29 ` Mike Frysinger
2005-05-27 0:02 ` Diego 'Flameeyes' Pettenò
2005-05-27 13:44 ` Chris Gianelloni
2005-05-27 13:45 ` Diego 'Flameeyes' Pettenò
2005-05-27 14:04 ` Chris Gianelloni
2005-05-27 15:11 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox