Gentoo Archives: gentoo-osx

From: Nathan <nathan.stocks@×××××.com>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] The road ahead?
Date: Tue, 01 Nov 2005 18:09:04
Message-Id: 96c9d6a80511011008m17aab4e8o873a180bbe0af978@mail.gmail.com
In Reply to: Re: [gentoo-osx] The road ahead? by dirk.schoenberger@sz-online.de
1 On 11/1/05, dirk.schoenberger@×××××××××.de
2 <dirk.schoenberger@×××××××××.de> wrote:
3 >
4 > >> I see this as an advantage above e.g. Fink, with its own namespace. The
5 > >> namespace variant implies that I have to fudge around with PATH
6 > >> variables
7 > >> and other CLI stuff, in order to get the apps working. I still have no
8 > >> real MacOSX integration, with App folder and GUI starter elements (which
9 > >> would be my biggest feature request)
10 > >
11 > > I see not trashing the existing system software as far more important
12 > > than the minor configuration of your path. This is Gentoo! What "App
13 > > folder" are you expecting? KDE menus, Gnome menus, etc. are basically
14 > > fancy widgets that execute CLI commands when you click on them.
15 >
16 > Sorry, but this attitude firmly belong into the "a GUI is just a frontend
17 > to the CLI" camp, where I don't really subscribe too. A CLI has its place,
18 > but a GUI does so, too, and both are not dependent upon.
19 > KDE / GNOME .desktop entries doesn't really compare to Apple's app
20 > folders, because .desktop entries are really just start scripts. An app
21 > folder contains starting scripts and the related resources / libraries in
22 > an all in one package. The idea is that you can copy an app folder around
23 > in your local file system or to another file system (thing .dmg here),
24 > while the application still remains runnable. So you have to include any
25 > library, beside the Apple provided ones.
26
27 Two problems with your logic:
28
29 1) The affirmation that all the libraries every .app needs are
30 included in .app folders is false. Check out /Library and
31 /usr/lib--you will find that they are not even close to empty. .app's
32 depend heavily on having a relatively stable OS X system out there to
33 support it. Try dragging Mail.app from a Tiger installation onto a
34 Jaguar installation and see if it works.
35
36 2) I think you dragged out the "GUI is/isn't just a frontend to the
37 CLI" issue to try to argue for app-like organization of files.
38 They're not the same issue. Let's face it: one of the main reason's
39 portage exists is to easily manage compiling/installing packages in a
40 nice orderly way without going upstream to all the projects you are
41 using and somehow forcing them all to recode their projects so they
42 work in an app-like organization. The .app concept is great, but
43 you'll be on your own to go to every separate pre-existing project and
44 convince them to port it so that it install itself into .app
45 organization and runs. The whole .app thing has to be addressed by
46 the people who code the applications, and can't be imposed by portage.
47 Even assuming you DID get portage to force things into .app
48 structures and work perfectly, the moment you dragged it to another
49 system without the exact same versions of compiled gentoo libraries,
50 you're hosed.
51
52 Don't get me wrong, I think the whole app idea is awesome. .app's can
53 and have been created for OSS (Carbon Emacs, for example), but if
54 you're going to go to all the trouble to create a real .app, there's
55 no need for a special package manager (portage) just to copy it into
56 your /Applications folder. Creating an Apple-style app seems to be
57 painful enough that most OSS projects will fork into separate regular
58 and app-oriented projects rather than support the .app structure in
59 the main line.
60
61 > > If you need something to click on for your own sanity, the logical thing
62 > > for you to do would be to create some scripts in /Applications that
63 > > call the X apps you use when you click on them, assuming you got the X
64 > > apps installed in the first place. I wouldn't be surprised if someone
65 > > came up with a fink-commander-like project for OS X (to install and
66 > > run stuff) if the prefixed-installs-hurdle ever gets passed.
67 >
68 > From what I see, fink-commander is a frontend to fink, i.e. to the
69 > packages, not to the actual applications. Last time I checked, a gentoo or
70 > fink package has no concept about which are the actual executables.
71
72 Splitting hairs. If you make it, then have it do what you want it to do.
73
74 > >> 2) packages which clash with MacOS provided packages, things like python
75 > >> or automake spring to mind
76 > >
77 > > And bash, ls, grep, emacs, vi, vim, gcc, perl, python, tcl/tk, apache,
78 > > etc. etc. etc.
79 >
80 > python and automake are the cases which really annoy me, but naturally you
81 > are correct about the other packages, too. If possible I would like to use
82 > an Apple provided gcc, so this package is disputable.
83
84 You are free to use Apple gcc -- that's what it's on your system for.
85 However, gentoo stuff specifically depends on the features, quirks,
86 and even bugs in its own supported toolchain, including gcc. Once
87 there is a "stable, working" version of gentoo-osx, don't expect a lot
88 of sympathy from gentoo devs if you're not going to use standard
89 gentoo toolchain. I certainly wouldn't object if a way was found to
90 use any of Apple's tools, especially if they are better in some way,
91 but I'm not going to hold my breath.
92
93 > >> The biggest problem is obiously the packages in 2)
94 > >
95 > > Which prefixed installs will solve. When portage fully supports
96 > > prefixed installs, then:
97 > > (1) A base system gets created by devs by whatever means (hopefully
98 > > the only step with mandatory dependencies on Apple tools)
99 > > (2) Regular users install the prefix-enabled base system into a prefix
100 > > (and add $PREFIX/bin, $PREFIX/sbin, etc. to .bashrc)
101 > > (3) 'emerge mypackage' uses the gentoo system in $PREFIX to build
102 > > 'mypackage' and install in into
103 > > $PREFIX/regular/gentoo/path/for/the/package
104 > > (4) USERS REJOICE!
105 > > (5) At this point, I'm sure someone will start a 'fink-commander'-like
106 > > project for people who aren't comfortable with the command-line
107 > >
108 >
109 > Maybe I am just not in possession of all the facts, so I will stop
110 > expressing an opinion about this as long as there are no visible results.
111
112 Opinions are fine. I'm trying to clarify facts as much as I can and
113 as far as I understand them. The more gentoo users/devs/supporters,
114 the better, because then I will have an easier time getting 'my stuff'
115 to work. :-)
116
117 > > Manually "install" packages whose dependencies won't install? I think
118 > > you have missed the concept that the dependencies are necessary to
119 > > both compile and run the package.
120 >
121 > No. manually installing the packages which are needed to emerge the actual
122 > wanted packages. The latter are still emerged via Gentoo.
123
124 Portage exists to automate (and customize) manual installs. If you
125 can find a way to manually install it correctly, and the ebuild in
126 portage can't, then the solution is to fix the ebuild so that it works
127 for everyone.
128
129 --
130 gentoo-osx@g.o mailing list