On Nov 13, 2007 3:38 PM, Roman Morokutti <roman.morokutti at gmail.com> wrote:
> Could me someone please explain for what these
> spec files are.

Check the FAQ at http://pkgbuild.sourceforge.net/spec-files-extra
And also the document at
http://opensource.shivakumar.info/packages/PKGTOOL_documentation.02.pdf

> What would be the exact way to
> integrate the patch from ftp://the-nelsons.org/pub
> into an existing installation?
>

Any contribution related to spec files is to be addressed to the
desktop community mailing list since the desktop community is the one
that uses the spec files approach.

> 1. Use patch or gpatch respectively?

Use gpatch to apply the patch:  gpatch -p1 < path-to-patchfile

> 2. What would be the command exactly to patch?

diff -ur foo-dir.orig foo-dir.patched > foo-nn-YourOwnComment.diff
OR
diff -u foo-file.orig foo-file.patched > foo-nn-YourOwnComment.diff

> 3. Do I have to rebuild something?
> 4. If so, where to get the sources?
>

At the minimum all the specs that depend on this spec needs to be
rebuilt and tested.
gdm.spec is part of JDS. It needs considerable patching to be able to
build and work on OpenSolaris based system.
Checkout the JDS repository as mentioned at
http://www.opensolaris.org/os/project/jds/contributing/building
and check the specs already available there.
gdm.spec is present as well.

If you specify the nature of changes being submitted. The members in
the desktop-discuss alias (marked) should be able to help.

regards
Shiv

Reply via email to