public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] sawfish-0.38.ebuild
@ 2001-07-04 15:10 Ben Luckham
  2001-07-05  4:04 ` Mikael Hallendal
  0 siblings, 1 reply; 15+ messages in thread
From: Ben Luckham @ 2001-07-04 15:10 UTC (permalink / raw
  To: gentoo-dev

Hi,

Just to let you know that x11-wm/sawfish/sawfish-0.38.ebuild should have media-
libs/imlib/imlib-1.9.10 in its DEPEND string: Sawfish won't work without it!

Great distro by the way... thanks a lot!

Ben.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-04 15:10 [gentoo-dev] sawfish-0.38.ebuild Ben Luckham
@ 2001-07-05  4:04 ` Mikael Hallendal
  2001-07-07  8:26   ` Achim Gottinger
  0 siblings, 1 reply; 15+ messages in thread
From: Mikael Hallendal @ 2001-07-05  4:04 UTC (permalink / raw
  To: gentoo-dev

Ben Luckham <B.J.Luckham@cs.cf.ac.uk> writes:

Hi!

Sawfish can be built with either Imlib or gdk-pixbuf. It defaults to
imlib, perhaps there should be a USE=gdk-pixbuf since GNOME is phasing
out the use of Imlib in favor of gdk-pixbuf so perhaps there are other
packages where this can be used. Another way to do it is to use the
USE=gnome flag. If USE=gnome we use gdk-pixbuf and otherwise we use
imlib.

What do you all think?

Regards,
Mikael Hallendal

> Hi,
> 
> Just to let you know that x11-wm/sawfish/sawfish-0.38.ebuild should
> have media- libs/imlib/imlib-1.9.10 in its DEPEND string: Sawfish
> won't work without it!
> 
> Great distro by the way... thanks a lot!
> 
> Ben.
> 
> _______________________________________________ gentoo-dev mailing
> list gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev

-- 
Mikael Hallendal                micke@codefactory.se
CodeFactory AB                  http://www.codefactory.se/
Office: +46 (0)8 587 583 05     Cell: +46 (0)709 718 918




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-05  4:04 ` Mikael Hallendal
@ 2001-07-07  8:26   ` Achim Gottinger
  2001-07-07 17:17     ` Mikael Hallendal
  0 siblings, 1 reply; 15+ messages in thread
From: Achim Gottinger @ 2001-07-07  8:26 UTC (permalink / raw
  To: gentoo-dev

Mikael Hallendal wrote:
> 
> Ben Luckham <B.J.Luckham@cs.cf.ac.uk> writes:
> 
> Hi!
> 
> Sawfish can be built with either Imlib or gdk-pixbuf. It defaults to
> imlib, perhaps there should be a USE=gdk-pixbuf since GNOME is phasing
> out the use of Imlib in favor of gdk-pixbuf so perhaps there are other
> packages where this can be used. Another way to do it is to use the
> USE=gnome flag. If USE=gnome we use gdk-pixbuf and otherwise we use
> imlib.
> 
> What do you all think?
> 

Hi,

I fixed tha issue. I added imlib to the dependencies and added
--without-gdk-pixbuf to the config options
in case gnome is not in USE.

bye achim~



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-07  8:26   ` Achim Gottinger
@ 2001-07-07 17:17     ` Mikael Hallendal
  2001-07-07 19:37       ` Achim Gottinger
  0 siblings, 1 reply; 15+ messages in thread
From: Mikael Hallendal @ 2001-07-07 17:17 UTC (permalink / raw
  To: gentoo-dev

AGottinger@t-online.de (Achim Gottinger) writes:

> Mikael Hallendal wrote:
> >  Ben Luckham <B.J.Luckham@cs.cf.ac.uk> writes:
> > 
> > Hi!
> > 
> > Sawfish can be built with either Imlib or gdk-pixbuf. It defaults to
> >imlib, perhaps there should be a USE=gdk-pixbuf since GNOME is
> >phasing out the use of Imlib in favor of gdk-pixbuf so perhaps there
> >are other packages where this can be used. Another way to do it is to
> >use the USE=gnome flag. If USE=gnome we use gdk-pixbuf and otherwise
> >we use imlib.
> > 
> > What do you all think?
> > 
> 
> Hi,
> 
> I fixed tha issue. I added imlib to the dependencies and added
> --without-gdk-pixbuf to the config options in case gnome is not in
> USE.

Hi!

Since I'm moving gdk-pixbuf to media-libs perhaps this should be
rethinked? Are there other packages where you can choose between imlib
and gdk-pixbuf?

Regards,
Mikael Hallendal

-- 
Mikael Hallendal                micke@codefactory.se
CodeFactory AB                  http://www.codefactory.se/
Office: +46 (0)8 587 583 05     Cell: +46 (0)709 718 918




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-07 17:17     ` Mikael Hallendal
@ 2001-07-07 19:37       ` Achim Gottinger
  2001-07-08 13:42         ` Terje Kvernes
  0 siblings, 1 reply; 15+ messages in thread
From: Achim Gottinger @ 2001-07-07 19:37 UTC (permalink / raw
  To: gentoo-dev

Mikael Hallendal wrote:
> 
> AGottinger@t-online.de (Achim Gottinger) writes:
> 
> > Mikael Hallendal wrote:
> > >  Ben Luckham <B.J.Luckham@cs.cf.ac.uk> writes:
> > >
> > > Hi!
> > >
> > > Sawfish can be built with either Imlib or gdk-pixbuf. It defaults to
> > >imlib, perhaps there should be a USE=gdk-pixbuf since GNOME is
> > >phasing out the use of Imlib in favor of gdk-pixbuf so perhaps there
> > >are other packages where this can be used. Another way to do it is to
> > >use the USE=gnome flag. If USE=gnome we use gdk-pixbuf and otherwise
> > >we use imlib.
> > >
> > > What do you all think?
> > >
> >
> > Hi,
> >
> > I fixed tha issue. I added imlib to the dependencies and added
> > --without-gdk-pixbuf to the config options in case gnome is not in
> > USE.
> 
> Hi!
> 
> Since I'm moving gdk-pixbuf to media-libs perhaps this should be
> rethinked? Are there other packages where you can choose between imlib
> and gdk-pixbuf?
> 
Hmm, yes with our new use variables we can define it like

gnome(libs,core) media(imlib,gdkpixbuf)

bye achim~

> Regards,
> Mikael Hallendal
> 
> --
> Mikael Hallendal                micke@codefactory.se
> CodeFactory AB                  http://www.codefactory.se/
> Office: +46 (0)8 587 583 05     Cell: +46 (0)709 718 918
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-07 19:37       ` Achim Gottinger
@ 2001-07-08 13:42         ` Terje Kvernes
  2001-07-08 14:20           ` Achim Gottinger
  2001-07-08 17:28           ` Daniel Robbins
  0 siblings, 2 replies; 15+ messages in thread
From: Terje Kvernes @ 2001-07-08 13:42 UTC (permalink / raw
  To: gentoo-dev

AGottinger@t-online.de (Achim Gottinger) writes:

> Mikael Hallendal wrote:
>  
> > Since I'm moving gdk-pixbuf to media-libs perhaps this should be
> > rethinked? Are there other packages where you can choose between
> > imlib and gdk-pixbuf?
>  
> Hmm, yes with our new use variables we can define it like
> 
> gnome(libs,core) media(imlib,gdkpixbuf)

  will this preserve order? as in, if I say "imlib,gdkpixbuf" will it
  use imlib over gdkpixbuf where it can, and gdkpixbuf elsewhere?

-- 
Terje



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-08 13:42         ` Terje Kvernes
@ 2001-07-08 14:20           ` Achim Gottinger
  2001-07-08 17:31             ` Daniel Robbins
  2001-07-08 17:28           ` Daniel Robbins
  1 sibling, 1 reply; 15+ messages in thread
From: Achim Gottinger @ 2001-07-08 14:20 UTC (permalink / raw
  To: gentoo-dev

Terje Kvernes wrote:
> 
> AGottinger@t-online.de (Achim Gottinger) writes:
> 
> > Mikael Hallendal wrote:
> >
> > > Since I'm moving gdk-pixbuf to media-libs perhaps this should be
> > > rethinked? Are there other packages where you can choose between
> > > imlib and gdk-pixbuf?
> >
> > Hmm, yes with our new use variables we can define it like
> >
> > gnome(libs,core) media(imlib,gdkpixbuf)
> 
>   will this preserve order? as in, if I say "imlib,gdkpixbuf" will it
>   use imlib over gdkpixbuf where it can, and gdkpixbuf elsewhere?
> 

you must define the order in the ebuild.
example:

if [ "`use media/gdkpix`" ] ; then
  myconf="--with-gdkpixbuf"
else
  myconf="--without-gdkpixbuf"
  if [ "`use gdkpixbuf`" ] ; then
    myconf="--with-imlib"
  fi
fi

try ./configure .... $myconf

bye achim~

> --
> Terje
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-08 13:42         ` Terje Kvernes
  2001-07-08 14:20           ` Achim Gottinger
@ 2001-07-08 17:28           ` Daniel Robbins
  1 sibling, 0 replies; 15+ messages in thread
From: Daniel Robbins @ 2001-07-08 17:28 UTC (permalink / raw
  To: gentoo-dev

On Sun, Jul 08, 2001 at 09:40:37PM +0200, Terje Kvernes wrote:
> AGottinger@t-online.de (Achim Gottinger) writes:
> 
> > Mikael Hallendal wrote:
> >  
> > > Since I'm moving gdk-pixbuf to media-libs perhaps this should be
> > > rethinked? Are there other packages where you can choose between
> > > imlib and gdk-pixbuf?
> >  
> > Hmm, yes with our new use variables we can define it like
> > 
> > gnome(libs,core) media(imlib,gdkpixbuf)
> 
>   will this preserve order? as in, if I say "imlib,gdkpixbuf" will it
>   use imlib over gdkpixbuf where it can, and gdkpixbuf elsewhere?

It should be possible to add a new command for ebuild which will give
the ebuild that information.

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-08 14:20           ` Achim Gottinger
@ 2001-07-08 17:31             ` Daniel Robbins
  2001-07-09  7:59               ` Achim Gottinger
  0 siblings, 1 reply; 15+ messages in thread
From: Daniel Robbins @ 2001-07-08 17:31 UTC (permalink / raw
  To: gentoo-dev

On Sun, Jul 08, 2001 at 09:00:15PM +0200, Achim Gottinger wrote:

> you must define the order in the ebuild.
> example:
> 
> if [ "`use media/gdkpix`" ] ; then
>   myconf="--with-gdkpixbuf"
> else
>   myconf="--without-gdkpixbuf"
>   if [ "`use gdkpixbuf`" ] ; then
>     myconf="--with-imlib"
>   fi
> fi
> 
> try ./configure .... $myconf
> 
> bye achim~

I have no idea what you mean by this, Achim.

Best Regards,

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-08 17:31             ` Daniel Robbins
@ 2001-07-09  7:59               ` Achim Gottinger
  2001-07-09  8:41                 ` Terje Kvernes
  2001-07-09 10:02                 ` Daniel Robbins
  0 siblings, 2 replies; 15+ messages in thread
From: Achim Gottinger @ 2001-07-09  7:59 UTC (permalink / raw
  To: gentoo-dev

Daniel Robbins wrote:
> 
> On Sun, Jul 08, 2001 at 09:00:15PM +0200, Achim Gottinger wrote:
> 
> > you must define the order in the ebuild.
> > example:
> >
> > if [ "`use media/gdkpix`" ] ; then
> >   myconf="--with-gdkpixbuf"
> > else
> >   myconf="--without-gdkpixbuf"
> >   if [ "`use gdkpixbuf`" ] ; then
> >     myconf="--with-imlib"
> >   fi
> > fi
> >
> > try ./configure .... $myconf
> >
> > bye achim~
> 
> I have no idea what you mean by this, Achim.

well I have a typo in that example it should be `use media/gdkpixbuf`.

you can have both in use (gdkpixbuf and imlib) but normaly only one can
be used.
gdkpixbuf is the newer feature richer lib so in that example i first
check if we
have gdkpixbuf in use. if not I test if imlib is in use.

--- snip ------------
>gnome(libs,core) media(imlib,gdkpixbuf)

  will this preserve order? as in, if I say "imlib,gdkpixbuf" will it
  use imlib over gdkpixbuf where it can, and gdkpixbuf elsewhere?
---- snap ------------

USE="media(imlib,gdkpixbuf)" defines both and does not care about in
which order they are defined

to test if you have media(imlib) i think we should use / instead of ()

like

`use media/imlib`

I don't think we need any other extra functionality in portage to take
care about the order of vars in USE.

bye  achim~




> 
> Best Regards,
> 
> --
> Daniel Robbins                                  <drobbins@gentoo.org>
> President/CEO                                   http://www.gentoo.org
> Gentoo Technologies, Inc.
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-09  7:59               ` Achim Gottinger
@ 2001-07-09  8:41                 ` Terje Kvernes
  2001-07-09 10:11                   ` Daniel Robbins
  2001-07-09 10:20                   ` Achim Gottinger
  2001-07-09 10:02                 ` Daniel Robbins
  1 sibling, 2 replies; 15+ messages in thread
From: Terje Kvernes @ 2001-07-09  8:41 UTC (permalink / raw
  To: gentoo-dev

AGottinger@t-online.de (Achim Gottinger) writes:

> I don't think we need any other extra functionality in portage to
> take care about the order of vars in USE.

  what you're basically saying is that it's up to the person making
  each build to make the choice of which lib to prioritize.
  personally, I find this rather icky, because it demands that the
  person installing the packages can't say "media(gdkpixbuf,imlib) and
  be sure that nothing ever needing just gdkpixbuf won't install
  imlib.

  the dependency is in the wrong place, it should be with the
  maintainer of the box, not the maintainer of the package. the person
  packing the stuff _might_ have a reason for wanting one thing, while
  another user might need something else.

  just think of a package that could select between using a kde or a
  gnome wrapping. the packagers personal choice isn't what I want. :-)

-- 
Terje



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-09  7:59               ` Achim Gottinger
  2001-07-09  8:41                 ` Terje Kvernes
@ 2001-07-09 10:02                 ` Daniel Robbins
  1 sibling, 0 replies; 15+ messages in thread
From: Daniel Robbins @ 2001-07-09 10:02 UTC (permalink / raw
  To: gentoo-dev

On Mon, Jul 09, 2001 at 02:40:10PM +0200, Achim Gottinger wrote:

> I don't think we need any other extra functionality in portage to take
> care about the order of vars in USE.

OK, now I get it!  Yes, I agree.  It makes sense to "prefer" the newer/
more advanced system if it is defined in USE, so using gdkpixbuf first
now makes sense.

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-09  8:41                 ` Terje Kvernes
@ 2001-07-09 10:11                   ` Daniel Robbins
  2001-07-09 13:46                     ` Terje Kvernes
  2001-07-09 10:20                   ` Achim Gottinger
  1 sibling, 1 reply; 15+ messages in thread
From: Daniel Robbins @ 2001-07-09 10:11 UTC (permalink / raw
  To: gentoo-dev

On Mon, Jul 09, 2001 at 04:40:02PM +0200, Terje Kvernes wrote:
> AGottinger@t-online.de (Achim Gottinger) writes:
> 
> > I don't think we need any other extra functionality in portage to
> > take care about the order of vars in USE.
> 
>   what you're basically saying is that it's up to the person making
>   each build to make the choice of which lib to prioritize.
>   personally, I find this rather icky, because it demands that the
>   person installing the packages can't say "media(gdkpixbuf,imlib) and
>   be sure that nothing ever needing just gdkpixbuf won't install
>   imlib.

The problem is that as of right now, our USE variables don't express
preference, just whether a particular extension is acceptable or not.

There may be applications that can link to *both* gdkpixbuf and imlib.  There
are really two easy solutions; and ebuild can prefer the more advanced
replacement if defined, or if there is an either/or choice (if it's not
possible to add support for both), we can create two ebuilds:

foo-gdkpixbuf
foo-imlib

The either/or option doesn't seem to happen *too* often, so this solution
could work too.

The harder third option is to increase the expressiveness of our USE syntax,
which *is* an option but I'd like to try the above solutions first.  The
advantage to our current approach to USE is that it's quite straightforward.
If something is in USE, the ebuild will build-in that functionality if it
can.  That's easy for new users to understand.

Best Regards,

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-09  8:41                 ` Terje Kvernes
  2001-07-09 10:11                   ` Daniel Robbins
@ 2001-07-09 10:20                   ` Achim Gottinger
  1 sibling, 0 replies; 15+ messages in thread
From: Achim Gottinger @ 2001-07-09 10:20 UTC (permalink / raw
  To: gentoo-dev

Terje Kvernes wrote:
> 
> AGottinger@t-online.de (Achim Gottinger) writes:
> 
> > I don't think we need any other extra functionality in portage to
> > take care about the order of vars in USE.
> 
>   what you're basically saying is that it's up to the person making
>   each build to make the choice of which lib to prioritize.
>   personally, I find this rather icky, because it demands that the
>   person installing the packages can't say "media(gdkpixbuf,imlib) and
>   be sure that nothing ever needing just gdkpixbuf won't install
>   imlib.
> 
>   the dependency is in the wrong place, it should be with the
>   maintainer of the box, not the maintainer of the package. the person
>   packing the stuff _might_ have a reason for wanting one thing, while
>   another user might need something else.
> 
>   just think of a package that could select between using a kde or a
>   gnome wrapping. the packagers personal choice isn't what I want. :-)
> 
Well gdkpixbuf depends on gnome-libs which depends on imlib.

achim~

> --
> Terje
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-dev] sawfish-0.38.ebuild
  2001-07-09 10:11                   ` Daniel Robbins
@ 2001-07-09 13:46                     ` Terje Kvernes
  0 siblings, 0 replies; 15+ messages in thread
From: Terje Kvernes @ 2001-07-09 13:46 UTC (permalink / raw
  To: gentoo-dev

Daniel Robbins <drobbins@gentoo.org> writes:

> On Mon, Jul 09, 2001 at 04:40:02PM +0200, Terje Kvernes wrote:
>  
> > what you're basically saying is that it's up to the person making
> > each build to make the choice of which lib to prioritize.
> > personally, I find this rather icky, because it demands that the
> > person installing the packages can't say "media(gdkpixbuf,imlib)
> > and be sure that nothing ever needing just gdkpixbuf won't install
> > imlib.
> 
> The problem is that as of right now, our USE variables don't express
> preference, just whether a particular extension is acceptable or
> not.

  right, that's the problem. the question is how bad a problem it is.
  I have _no_ big issues with it currently, I'm just wondering if it's
  something that should be addressed.
 
> There may be applications that can link to *both* gdkpixbuf and
> imlib. There are really two easy solutions; and ebuild can prefer
> the more advanced replacement if defined, or if there is an
> either/or choice (if it's not possible to add support for both), we
> can create two ebuilds:
> 
> foo-gdkpixbuf
> foo-imlib

  which means someone[tm] will have to maintain two different builds
  of what is practically the same package. it's not a very clean
  solution.
 
> The either/or option doesn't seem to happen *too* often, so this
> solution could work too.

  yeah, and as long as people keep their things up to date, sure.
  honestly, I'm not really worried, but it might become a case when
  foo has a security-issue, and the person packing it only uses
  foo-bar, and doesn't see foo-baz because it's not his domain.

  (call me paranoid, but I've had this crash on me with rpm, where the
  new package suddenly didn't cover all the same files because it came
  from another packager)

> The harder third option is to increase the expressiveness of our USE
> syntax, which *is* an option but I'd like to try the above solutions
> first. 

  okies. :-)

> The advantage to our current approach to USE is that it's quite
> straightforward. If something is in USE, the ebuild will build-in
> that functionality if it can. That's easy for new users to
> understand.

  true. then again, I really don't see how making USE express
  preference will manage to bite anyone. it does pretty much what
  you'd expect, it USEs the needed (and possible to use) packages in
  the given order. if both can be used, both are used. the current
  action isn't any more apparent, since you don't _know_ which of the
  packages will be used. you'll have to read the ebuild-file.

  I'm not familiar enough with freeBSD to know how they solve these
  cases. I looked a bit over the ports-documentation from the net, but
  didn't find anything. I'm guessing it's not a big case in reality.

-- 
Terje 



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2001-07-09 19:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-04 15:10 [gentoo-dev] sawfish-0.38.ebuild Ben Luckham
2001-07-05  4:04 ` Mikael Hallendal
2001-07-07  8:26   ` Achim Gottinger
2001-07-07 17:17     ` Mikael Hallendal
2001-07-07 19:37       ` Achim Gottinger
2001-07-08 13:42         ` Terje Kvernes
2001-07-08 14:20           ` Achim Gottinger
2001-07-08 17:31             ` Daniel Robbins
2001-07-09  7:59               ` Achim Gottinger
2001-07-09  8:41                 ` Terje Kvernes
2001-07-09 10:11                   ` Daniel Robbins
2001-07-09 13:46                     ` Terje Kvernes
2001-07-09 10:20                   ` Achim Gottinger
2001-07-09 10:02                 ` Daniel Robbins
2001-07-08 17:28           ` Daniel Robbins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox