public inbox for gentoo-osx@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-osx] The road ahead?
@ 2005-10-30 10:49 Grobian
  2005-10-30 17:15 ` Stroller
                   ` (2 more replies)
  0 siblings, 3 replies; 58+ messages in thread
From: Grobian @ 2005-10-30 10:49 UTC (permalink / raw
  To: gentoo-osx

Since it "is silly if you want things to work before several years off"
[1], perhaps it's not that useful to discuss this issue.  However, we
can all dream, can't we, so let's just do it(tm).

I will try to carve a few roads in the sand in this mail that should
somehow reflect what I think the things to discuss are, if we really
want to get moving towards our holy grail.  Considering [1], this might
be all useless afterward, but ok.

My personal targets for this project are as follows:
1. Make Gentoo for OSX an acceptable sub-project of the Gentoo family.
2. Get a prefixed install to make Gentoo for OSX comparative to Fink and
   Darwin Ports, and quality wise go beyond.

Both two targets require some extra explanation.
1. Gentoo for OSX functions as "black sheep" of the Gentoo family.  In
   that way we put a spell on not only ourselves, but also on the
   Gentoo/Alt project -- which is a good candidate for the second black
   sheep.  It may be just that some people don't like the smell of non
   GNU/Linux stuff, but there are also constructive comments which
   cannot be denied.
   - My current stategy is to just show some goodwill, by for instance
     reacting swift and accurate to security bugs, as my impression is
     that those have been ignored in the past.  But not only securty
     bugs, all bugs where we get involved I try to react within
     reasonable time, just to show we care.  Well I do.  Of course any
     support in this gets a warm welcome from me.
   - In cooperation with others (mostly vapier) I try to reduce the
     ebuild "spam" caused by ppc-macos.  An example is the big
     anti conditional bug [2] which unfortunately hasn't got much of
     my attention yet.  The idea is simple: make unconditional stuff
     just to ease maintenance and keep ebuilds slim and pure.
2. A prefixed install for me means having a way to install into
   /Library/Gentoo, /Gentoo, /Users/Library/Gentoo or wherever.  I don't
   really care about the location, and a system wide install would be
   fine with me too.  I envision that a touch discussion on variable
   prefixes, or homedir prefixes and whatever will follow if not yet
   have been on the portage channels.  What I would like to see is that
   we can play with it, maybe not in its ideal state, but those
   improvements can be made while we're playing.
   - Although I have seen signals that we're close to something like
     this (kudos to Kito and Brian) in the mean-while I try to cope with
     the bugfloods ;).  Keywording the low-hanging fruit (those ebuilds
     with little or none USE-flags that just compile out of the box)
     reduces the number of open bugs and should be ok when in a prefix
     too.  Having more keyworded in portage prepares us a bit for the
     grand "Fink challenge" too.
   - To reach a good quality we will have to reenable the normal
     keywording scheme again.  This will only be done once we have a
     prefixed installer.  From that point, the imlate scripts and such
     count for us too.  Problem there is that we will have to maintain
     the whole tree, like for instance the AMD64 guys do.  We're
     outnumbered and hence I think we could use some extra devs that
     have more free time on their hands than most of us now.

To conclude a short note on various flavours of the project, such as
progressive and darwin.  I am not interested in those myself.  My main
focus is on the 'consumer product', which should be the mainline
product, or the collision-protect profiles as they are called now.  The
fact that I am not interested (yet) into these profiles, does not mean I
will never support them.  I would just like to focus on getting the
mainline (normal users) product going, then if people have a personal
target to create a progressive profile for instance, I will not stop
such development -- not even wondering on how I would be able to stop it
anyway.  I consider one of my personal wishes for a 64-bit install to
be a profile that should walk the same path like a progressive profile:
it should wait till there is a working mainline product.


[1] ciaranm@gentoo.org in gentoo-alt@gentoo.org (not archived on gmane)
[2] http://bugs.gentoo.org/show_bug.cgi?id=108029

-- 
Fabian Groffen
Gentoo for Mac OS X Project -- Interim Lead
-- 
gentoo-osx@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 58+ messages in thread
* [gentoo-osx] The road ahead?
@ 2005-10-31 22:17 dirk.schoenberger
  2005-10-31 23:12 ` Kito
  2005-11-01 16:07 ` Nathan
  0 siblings, 2 replies; 58+ messages in thread
From: dirk.schoenberger @ 2005-10-31 22:17 UTC (permalink / raw
  To: gentoo-osx@lists.gentoo.org

Just wanted to put my 2cent into the discussion.
I suppose I am currently just a pure Gentoo-OSX user, and while I see the
point of the prefix project, I am not really convinced by it. I like the
way Gentoo integrates into the system, or at least the part accessible by
a console.

I see this as an advantage above e.g. Fink, with its own namespace. The
namespace variant implies that I have to fudge around with PATH variables
and other CLI stuff, in order to get the apps working. I still have no
real MacOSX integration, with App folder and GUI starter elements (which
would be my biggest feature request)

>From what I see as a user, the Gentoo packages divide into 4 categories

1) packages which integrate nicely into the system (no dependencies, or
dependencies which are properly provided by MacOS)
2) packages which clash with MacOS provided packages, things like python
or automake spring to mind
3) packages which depend on 2)
4) misc packages which are otherwise problematic. This means most of the
package.masked packages, where I cannot really speak about.

The biggest problem is obiously the packages in 2)

My private idea in order to emerge packages in 3) would currently be to
manually install the needed packages in places like /usr/local (instead of
Gentoos /usr) and put these packages into package.provided. It would be
really nice if I could use this way while still being able to use the
emerge functionaltiy. Perhaps this could be handled by a special USE flag?

Regards
Dirk

-- 
gentoo-osx@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 58+ messages in thread
* Re: [gentoo-osx] The road ahead?
@ 2005-11-01 19:35 dirk.schoenberger
  0 siblings, 0 replies; 58+ messages in thread
From: dirk.schoenberger @ 2005-11-01 19:35 UTC (permalink / raw
  To: gentoo-osx@lists.gentoo.org

> > An app folder contains starting scripts and the related resources /
libraries
> > in an all in one package. The idea is that you can copy an app folder
> > around in your local file system or to another file system (thing .dmg
here),
> > while the application still remains runnable. So you have to include any
> > library, beside the Apple provided ones.

> Two problems with your logic:

> 1) The affirmation that all the libraries every .app needs are
> included in .app folders is false.  Check out /Library and
> /usr/lib--you will find that they are not even close to empty.  .app's
> depend heavily on having a relatively stable OS X system out there to
> support it.  Try dragging Mail.app from a Tiger installation onto a
> Jaguar installation and see if it works.

You are right about that not everything is included. SO I still think
there must exist a set of libraries which are shared across several MacOS
version.
The question is if these set is somewhere documented, and how reliable
this portability is.
But it still is possible to create .app folders which run on several
MacOSX versions. Apple Mail may or maybe not a shining example for this.

> 2) I think you dragged out the "GUI is/isn't just a frontend to the
> CLI" issue to try to argue for app-like organization of files.
> They're not the same issue.  Let's face it: one of the main reason's
> portage exists is to easily manage compiling/installing packages in a
> nice orderly way without going upstream to all the projects you are
> using and somehow forcing them all to recode their projects so they
> work in an app-like organization.

- Yes, both issues are separate
- No, I don't think any Gentoo package is suited for an app folder.
- Yes, normally I am fine with a global namespace, too. However, there exist
  reasons that I would like to create an .app folder for special
applications.
- In fact the "GUI is/isn't just a frontend to the CLI" argument I see
more as a
  problem for the prefixed approach. If I am able to start an application
from
  the GUI / Finder, I cannot be sure which .{shell}rc is executed, and so
which
  non-standard places are accessible to an application starter. When I try to
  start an application which tries to load its libraries from e.g.
/sw/lib, I am not
  quite sure about the results
- From what I understood, .app folder don't really need much work from the
  upstream developers. It should be sufficient to specify the correct
paths, at
  least if a proper build tool is used. I am not quite sure, but I think .app
  folders mostly work because of linker magic, i.e.  some conventions about
  where libraries are places relatively to the app folder root.

>  Even assuming you DID get portage to force things into .app
> structures and work perfectly, the moment you dragged it to another
> system without the exact same versions of compiled gentoo libraries,
> you're hosed.

I thought that was the reason for some magic concept like source and
especially binary compatibility for a given library?

> Don't get me wrong, I think the whole app idea is awesome.  .app's can
> and have been created for OSS (Carbon Emacs, for example), but if
> you're going to go to all the trouble to create a real .app, there's
> no need for a special package manager (portage) just to copy it into
> your /Applications folder.

I think the use cases are different. A pure portage based system is fine
as long as you have a running Gentoo system, or you are willing to take
the plunge.
An app folder is fine if you want to deploy an emerged application to a
system which has no Gentoo running (an example would be the Mac system of
my parents. I would really like being able to show off some recent version
of, say, Abiword compiled for MacOS, without having to download a special
version from the Abiword developer's site)

> > From what I see, fink-commander is a frontend to fink, i.e. to the
> > packages, not to the actual applications. Last time I checked, a
gentoo or
> > fink package has no concept about which are the actual executables.

> Splitting hairs.  If you make it, then have it do what you want it to do.

I don't think such a system which automatically creates startable
applications, would be possible right now in Gentoo. There is too much
missing metadata in the Gentoo system for such a task.

> You are free to use Apple gcc -- that's what it's on your system for.
> However, gentoo stuff specifically depends on the features, quirks,
> and even bugs in its own supported toolchain, including gcc.  Once
> there is a "stable, working" version of gentoo-osx, don't expect a lot
> of sympathy from gentoo devs if you're not going to use standard
> gentoo toolchain.  I certainly wouldn't object if a way was found to
> use any of Apple's tools, especially if they are better in some way,
> but I'm not going to hold my breath.

While I may agree about special Apple tools like Xcode (vs Gentoo
./configure/make/make install), I don't think this applies for the actual
C compiler. I think even in the stock Gentoo toolchain there is the
distinction between gcc-3 and gcc-4, where each individual Gentoo
installation decides which version too use. Apple's gcc-4 is (or should
be?) just another option for a C compiler, at least as long as no Apple
specific features are used (think e.g. support for ObjectiveC++ support)

> > No. manually installing the packages which are needed to emerge the
> > actual wanted packages. The latter are still emerged via Gentoo.

> Portage exists to automate (and customize) manual installs.  If you
> can find a way to manually install it correctly, and the ebuild in
> portage can't, then the solution is to fix the ebuild so that it works
> for everyone.

As long as I can coerce Gentoo to actually emerge a package, everything is
fine. The problems start if this is not possible (for a variety of
reasons)

Regards
Dirk






-- 
gentoo-osx@gentoo.org mailing list



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

end of thread, other threads:[~2005-12-05 17:20 UTC | newest]

Thread overview: 58+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-30 10:49 [gentoo-osx] The road ahead? Grobian
2005-10-30 17:15 ` Stroller
2005-10-31  5:25 ` Lina Pezzella
2005-10-31 18:58   ` Grobian
2005-10-31 18:52 ` Kito
2005-10-31 19:34   ` Grobian
2005-10-31 21:42     ` Kito
2005-10-31 22:20       ` Grobian
2005-11-01 22:45     ` Lina Pezzella
2005-11-02  0:06       ` Kito
2005-11-02  7:29         ` Grobian
2005-11-01  0:16   ` m h
2005-11-01  0:32     ` Brian Harring
2005-11-01  0:59       ` Kito
2005-11-01 19:16         ` m h
2005-11-01 20:10           ` Kito
2005-11-01 20:16             ` Nathan
2005-11-01 20:21               ` Grobian
2005-11-01 20:37                 ` Kito
2005-11-01 20:45                   ` Grobian
2005-11-01 20:58                     ` Kito
2005-11-01 21:05                       ` Grobian
2005-11-01 22:01             ` m h
2005-11-01 22:55               ` Kito
2005-11-04 17:50                 ` m h
2005-11-08  1:48                   ` m h
2005-11-08 16:53                     ` Grobian
2005-11-08 17:09                       ` Kito
2005-11-08 21:10                         ` m h
2005-12-05  5:19                           ` m h
2005-12-05 17:20                             ` Kito
2005-11-02  2:33             ` Brian Harring
2005-11-02  3:00               ` Kito
2005-11-02  4:12                 ` Brian Harring
2005-11-02  4:16               ` Nathan
2005-11-02  5:52                 ` Brian Harring
2005-11-01  1:20       ` m h
2005-11-01  1:57         ` Brian Harring
2005-11-01  0:51     ` Kito
  -- strict thread matches above, loose matches on Subject: below --
2005-10-31 22:17 dirk.schoenberger
2005-10-31 23:12 ` Kito
2005-10-31 23:49   ` dirk.schoenberger
2005-11-01  7:33     ` Grobian
2005-11-01 16:07 ` Nathan
2005-11-01 16:28   ` Kito
2005-11-01 16:55     ` Nathan
2005-11-01 17:17     ` Grobian
2005-11-01 18:09       ` Nathan
2005-11-01 19:03         ` m h
2005-11-01 19:13           ` Grobian
2005-11-01 19:32             ` m h
2005-11-01 19:36               ` Grobian
2005-11-01 19:45                 ` m h
2005-11-01 19:14           ` Nathan
2005-11-01 16:57   ` dirk.schoenberger
2005-11-01 17:26     ` Grobian
2005-11-01 18:08     ` Nathan
2005-11-01 19:35 dirk.schoenberger

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