Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63363 - New ebuild: camino
Summary: New ebuild: camino
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on: 60580 62085
Blocks:
  Show dependency tree
 
Reported: 2004-09-08 16:09 UTC by dario
Modified: 2007-06-12 17:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Camino ebuild (camino-20040908.ebuild,2.12 KB, text/plain)
2004-09-08 16:13 UTC, dario
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dario 2004-09-08 16:09:15 UTC
This is an ebuild for merging the camino browser, it works for me, but there are many issues that need a solution.

1. Main dependencies
As described in http://www.mozilla.org/ports/fizzilla/ChimChim.html, to compile camino/mozilla you need panther, Xcode with CrossDev 10.2 SDK Shared Menus Framework, and this can't be installed by portage ;)

In the build I've putted a short note that explain this and the link above, then  the ebuild check if the SDK and the shared menus are correctly installed.
Any better way?

2. Portage dependencies
As described in http://www.mozilla.org/build/mac.html#Installing_required_software you also need to install glib-1, orbit, zip, unzip with Fink in order to compile mozilla. Well, assuming zip and unzip as provided by the system and that we don't want to use fink ;), I've putted in the ebuild the glib and orbit dependencies. Now we obtain:

GiQuattro:~ root# ACCEPT_KEYWORDS="ppc ~macos" emerge -evp camino

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-libs/libsystem-7.1  0 kB 
[ebuild  N    ] sys-devel/gnuconfig-20040214  -uclibc 0 kB 
[ebuild  N    ] dev-libs/glib-1.2.10-r5  -debug 0 kB 
[ebuild  N    ] sys-apps/tcp-wrappers-7.6-r8  -ipv6 -static 0 kB 
[ebuild  N    ] gnome-base/orbit-0.5.17  -nls 0 kB 
[ebuild  N    ] net-www/camino-20040908  -debug -static 0 kB [1] 

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

Well, libsystem and gnuconfig are marked stable, np; glib-1.2.10-r5 is marked ~, and recently it also compile :).
tcp-wrappers (an orbit dependency) is a problem: collision-protection won't allow you to emerge it. Many (not all) of its headers/binaries are already provided (probably they are a bit different): I didn't forced the merge, and orbit has compiled, but for the existing difference I don't know if putting tcp-wrappers in package.provided is a good choice.
orbit-0.5.17 emerged fine with --nodeps, read above.

3. Configuring and compiling
I didn't used tha classic way "./configure;make" to build camino, as suggested on mozilla site I've used the .mozconfig: in the ebuild I've inserted two use flags, but didn't tested it. There isn't so much to say on this point if you like the .mozconfig way.

4. Installing
Where to put mozilla/camino/build/Camino.app/? In /Application, but I heard some devs saying that portage can't modify anything out of /usr, is it true? If so, I've no idea.

5. The tarball
It's not avaible, you can download the source only via CVS: I've done a tarball from a CO, but in my website there isn't enough space for it.
The ebuild is supposed to work with a tarball.


Ok, please try it (not so fast to emerge ;), and give me any suggestion on the question previously described.

Byez, Dario.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51_pre20 (default-macos-10.3, gcc-3.3, libsystem-7.1-r0, 7.5.0 Power
Macintosh powerpc)
=================================================================
System uname: 7.5.0 Power Macintosh powerpc
macos-20040726
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
[disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
Binutils: 
Headers:  
Libtools: 
ACCEPT_KEYWORDS="macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs keepwork"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="macos X altivec encode java javascript jpeg network opengl png python tiff
truetype zlib"
Comment 1 dario 2004-09-08 16:13:39 UTC
Created attachment 39225 [details]
Camino ebuild
Comment 2 dario 2004-09-10 01:33:22 UTC
the tarball is avaible at http://www.cs.unibo.it/~laera/gentoo/camino-20040908.tar.bz2 till 15 september, I'm over quota ;)
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-10 04:25:21 UTC
How can I install it since it doesn't have src_install()? 

You checked the existence of /Developer/SDKs/MacOSX10.2.7.sdk but
passed only MacOSX10.2.8.sdk to --with-macos-sdk. Is it supposed to
work? (I don't have 10.2 SDK installed so I don't know about it)

Also, the use of /Applications should be discussed in macos meeting.
Generally we are following FHS but there could be some exceptions in 
Gentoo for Mac OS X.
Comment 4 dario 2004-09-10 04:57:46 UTC
The build is the dir ${WORKDIR}/camino/build/Camino.app/; this dir should be copied into /Application.

I have installed sdk 10.2.7, I have only a symlink SDK-10.2.8 -> SDK-10.2.7, as the camino build instruction suggest: it works for me.
Comment 5 Markus Ullmann (RETIRED) gentoo-dev 2007-06-12 17:47:12 UTC
we're prefixed now. If you're still interested, please reopen if you're still interested :)