Hi,
I'm going to submit a series of changes for project indiana,
but first I'd like to describe the concept and let people comment
on it.
The goal is to build the JDS/Nevada and JDS/Indiana bits from the
same spec files but with different options.
The main difference between the Nevada and Indiana builds is that
Indiana will not be Sun branded and must be freely redistributable.
Therefore:
- JDS/Sun/Solaris/Java/SXDE branding must be removed
- FOX[1] packages are used instead of the Nevada X packages
- GNU libintl and libiconv must be used because the libc
version of these APIs is not free[2]
- no dependency on /usr/dt
- no Java[3]
The plan:
- rather than having a catch-all option (something like --with-indiana
or --with-nevada), I'm planning to add individual options for
the various features that can be turned on or off:
--with-fox = use FOX pkgs instead of Nevada X pkgs
--with-gnu-iconv = use the GNU libiconv and libintl implementation
--without-java = do not build or package java bits
--without-dt = no /usr/dt dependency (e.g. dtlogin)
--without-sun-branding = do not include JDS/Sun/Solaris/Java/SXDE branding
(maybe this should be the default and we should use --with-sun-branding
in Sun's builds!)
--with-indiana-branding = use indiana branding. If neither sun nor
indiana branding is used then it should fall back to the default
GNOME branding.
--without-blueprint = do not include the blueprint theme
I'm planning to introduce a new include file, options.inc that defines
all these and currently existing --with/--without macros, complete with
explanations of what they do.
- Some branding patches need to be modified or duplicated to allow
indiana branding.
- We seem to have dependencies on X packages in just about every
package. I believe these are unnecessary when the package already
depends on SUNWgnome-base-libs, since it depends on the X libs.
So either we delete the extra dependencies, or use macros for the
X package names because the FOX package names are different
- Extra compiler and linker flags are needed for GNU iconv and libintl
because they live in /usr/gnu
Comments?
Thanks,
Laca
[1] http://www.opensolaris.org/os/project/fox/
[2] I have already add 2 spec files for these in spec-files/indiana
[3] because it currently links with Motif on Solaris