On Fri, 6 Jun 2008 10:11:02 +0200
"Lukas Oboril" <oboril.lukas at gmail.com> wrote:

> Mark,
> 
> please, can you explain these patches to me ? I'm not sure about it.
> My comments are inline.
> 
> 
>  ??????
> 
> +# Filter out hal.pspc on Solaris 10, as it needs to be built manually
> +# at the moment, like:
> +# perl Respect.pl --with-all --without-upload --without-build
> hal.pspc +# cp -p FOSShal.spec SUNWhal.spec
> +# sed -i -e "s/FOSShal/SUNWhal/g" SUNWhal.spec
> +# pkgtool build SUNWhal.spec
> +# And then as root:
> +# svcadm enable hal
> +ifeq (KCE,$(shell pkginfo SUNWhal | cut -f 1 -d' '))
> +PSPC_FILES := $(filter-out hal.pspc,$(PSPC_FILES))
> +endif

Hi Luc and everyone,

There are 3 scenarios that come to mind:

(1) On SXCE dbus and hal are both installed as SUNWdbus and
SUNWhal and installed in /usr.  Neither FOSS hal.pspc
or dbus.pspc are built.

(2) On Solaris 10 running ancient gnome 2.6, neither
dbus or hal are installed, so they could be installed
however we like.  I can not test this scenario, as
I trashed gnome 2.6 off my Solaris 10u5 box.
So whichever way you think.

(3) This is the scenario I did test:

I compiled SUNWgnome-base-libs (glib-2.0), SUNWdbus and
SUNWdbus-bindings (dbus-glib) from the JDS gnome 2.22.2
spec files.

Compiled FOSS hal.pspc file using the above manual procedure,
installed it as SUNWhal in /usr.

Compiled the rest of JDS gnome 2.22.2 from the spec files,
and I'm now running it.

So the next thing I am interested in doing, if you
like, is to help convince KDE 4 to compile and co-exist with
JDS gnome 2.22.2 compiled and run on Solaris 10u5.

Some possible glitches with that are:

- I wonder if the stuff that is common between
gnome and KDE4 is compiled as both 32 bit and 64 bit
in the JDS spec files, and if not, if the JDS desktop
group could be persuaded to compile it as 64 bit.

- I noticed there was some C++ code in JDS gnome 2.22.2
(as I had to patch it to work), it looked like it was in
a gstreamer plugin.  This was compiled using the default
-library=Cstd. JDS obviously do not care much about C++
anyway, it may help to avoid problems with co-existing
with KDE4 if they used -library=no%Cstd -lstdcxx.

> I'm not sure if is good prefer other (SFE) build then us (FOSS) :)
> 
> +# Filter out libcdio where SFElibcdio is installed
> +ifeq (SFE,$(shell pkginfo SFElibcdio | cut -f 1 -d' '))
> +PSPC_FILES := $(filter-out libcdio.pspc libcdiowo.pspc,$(PSPC_FILES))
> +endif

Yes I agree, while FOSS is installed in /opt/foss it
seems find to have SFElibcdio in /usr and FOSSlibcdio
in /opt/foss.  So with this current assuption of
FOSS being installed in /opt/foss, these lines can be
removed.

I wonder though, are we going to continue to install
in /opt/foss or maybe if we might want to have a
Respect.pl option to install in /usr and try to coexist
with JDS gnome 2.22.2 compiled from spec files?

Anyway, we could still use FOSSlibcdio installed
in /usr, as I could then tweak the SFEmplayer.spec
file to look for FOSSlibcdio if its installed, and
use it instead of SFElibcdio.
 
> I don't have any problem with pciutils on S10U5.
> 
> +# PCIUTILS is doing weird inline assembly
> +PSPC_FILES := $(filter-out pciutils.pspc,$(PSPC_FILES))
> 
> 
> Luc

Those last 2 lines should be removed, sorry.

They were originally there when I started working on hal.
Then someone removed them, but I messed up the merge of
the conflicting diffs and added them back, sorry, they
were removed.

Thanks, Mark
 
> On Thu, Jun 5, 2008 at 8:38 PM, Lukas Oboril <oboril.lukas at gmail.com>
> wrote:
> 
> > I'm working on those right now. That's a pretty huge bunch, so it
> > takes some time :D
> >
> > Luc
> >
> >
> >
> >
> > On Thu, Jun 5, 2008 at 6:44 PM, Stefan Teleman
> > <Stefan.Teleman at sun.com> wrote:
> >
> >>
> >>
> >> Mark Wright wrote:
> >> > Index: Dude/ENCHANT/1.3.0/Solaris/install.sh
> >> > ===================================================================
> >> > --- Dude/ENCHANT/1.3.0/Solaris/install.sh     (revision 2062)
> >> > +++ Dude/ENCHANT/1.3.0/Solaris/install.sh     (working copy)
> >> > @@ -1,4 +1,6 @@
> >> >  #!/bin/sh
> >> >  $MAKE install DESTDIR=$DESTDIR
> >> > +rm -f $DESTDIR$_libdir/lib*.a
> >> >  rm -f $DESTDIR$_libdir/*.la
> >> > +rm -f $DESTDIR$_libdir/enchant/lib*.a
> >> >  rm -f $DESTDIR$_libdir/enchant/*.la
> >> > Index: Dude/POPT/1.7/Solaris/install.sh
> >>
> >> [ ... ] [ snippy to save space, but a serious amount of work ]
> >>
> >> Thank you *very much* for these.
> >>
> >> Ade, Luc and myself will review them. :-)
> >>
> >> --Stefan
> >>
> >> --
> >> Stefan Teleman
> >> Sun Microsystems, Inc.
> >> Stefan.Teleman at Sun.COM
> >>
> >> _______________________________________________
> >> kde-discuss mailing list
> >> kde-discuss at opensolaris.org
> >> http://mail.opensolaris.org/mailman/listinfo/kde-discuss
> >>
> >
> >
> >
> > --
> > Lukas 'Luc' Oboril
> > IRC nickname: luc^ at freenode
> >
> >
> > When dealing with people, let us remember we are not dealing with
> > creatures of logic. We are dealing with creatures of emotions,
> > creatures bristling with prejudices and motivated by pride and
> > vanity. Dale Carnegie
> >
> 
> 
> 


-- 

Reply via email to