Eugéne Suter | 22 Dec 2006 14:21
Picon

Compiling Yelp 2.16.2 gecko error

Hi there,

I'm busy compiling GNOME 2.16.2 for VectorLinux 5.8, a Slackware 11 derivative.
I've been following this wiki, to help me compile all the necessary components and extras:

http://cblfs.cross-lfs.org/index.php/Gnome

Its been a bumpy ride but I have made it up to compiling Yelp.

When I configure Yelp with these flags:

./configure --prefix=/opt/gnome-2.16.2 --sysconfdir=/etc/gnome --localstatedir=/var/lib --with-gecko=firefox


It errors out with this message:

checking whether we have a gtk 2 gecko build... configure: error: This
> program needs a gtk 2 gecko build

Hmm...I have firefox 2.0 on my box. Anyway, I dowloaded firefox version 2.0.0.1 from mozdev and compiled it on VectorLinux.
I have GTK+ version 2.10.6, and even after I compiled firfox, I continue to get this error.

The only other refence to this problem that I can find with Google is from a Ubunto mailing list:

http://www.mail-archive.com/ubuntu-desktop-nLRlyDuq1AZFpShjVBNYrg@public.gmane.org/msg00893.html

Unfortunately, VectorLinux doesn't have the same kind of vast repository packages that Debian users have access to, and I also doubt
that slapt-get would help solve this probem anyway.

I'd really preciate any help solving this problem, since its the second-to-last package to build before I take GNOME for a test-drive :)

Thanks in advance.

Eugene
_______________________________________________
gnome-doc-devel-list mailing list
gnome-doc-devel-list@...
http://mail.gnome.org/mailman/listinfo/gnome-doc-devel-list
Cornelius Schumacher | 27 Dec 2006 16:57
Picon
Favicon
Gravatar

Re: Help System Spec 0.2

On Saturday 25 November 2006 17:39, Don Scorgie wrote:
>
> I've put up a new version (0.2) for viewing / download at:
> (html)
> http://www.gnome.org/~dscorgie/help-spec-0-2.html
>
> (docbook xml)
> http://www.gnome.org/~dscorgie/help-spec-0.2.xml

This already looks quite good. It seems we are finally getting somewhere :-). 
So despite being late I still wanted to make some comments.

> * Removed .directory files

Arranging documentation meta files in a directory hierarchy is a simple way to 
structure documentation. For this to work we need the .directory files, so 
that the directories can be given user-visible titles which can be shown in 
the help browser.

There are other ways to specify hierarchies like the menu spec, but they are 
much more complex, so I think it would be good to leave the .directory files 
in the help spec as an easy way to allow a structured view to the 
documentation. The help browser still can ignore this information, if it uses 
a more advanced way for creating a hierarchical display or only offers a flat 
view on the documentation.

> * Added new chunks about how to invoke the help browser (+ examples)
> (Preferably through dbus, with alternative)

I like the idea of providing a D-Bus API. This seems to be a good way to 
specify a standard way of calling the help system without the overhead of 
going through a command line tool.

One question, though: Is D-Bus able to start the help browser on demand when a 
call is made to the API or is it needed that the help browser is already 
running (providing it is the help browser implementing the API)?

What about adding a call "open_browser", which would open the help browser 
without showing a specific document, but with a generic start page?

The open_browser call could also get a DocIdentifier as optional argument, so 
that it could open the browser and show the corresponding document. For some 
help browsers this might be identical to open_document, but for browsers 
which e.g. show a navigation panel it might make a difference (e.g. 
open_document only showing the document but not the navigation panel and 
open_browser showing both).

What's the use case for the close_document call? Wouldn't it be up to the user 
to close the help window? Maybe it's a lack of my phantasy but I can't 
imagine a situation where an application wanted to close a help window 
programmatically.

> * Remove the help: URI section.  It causes confusion and is inextensible
> (installing a package in /opt with the docpath defined as help:<file>
> would point to the wrong place)

One purpose of the help: URIs is to specify a standard location for 
documentation files. While it should be possible to install documentation to 
other locations it still would be nice to have a standard location, so that 
the location where files are installed is not completely arbitrary. To make a 
separate spec for this purpose would probably be overkill, so I think it 
would be nice to keep this in the help system spec.

Isn't the extensibility aspect taken care of by using $XDG_DATA_DIRS? When 
installing a package to a non-standard location, several paths have to be 
adjusted anyway, so that binaries, man pages etc. can be found, so in the 
example if the corresponding directory under /opt is included in the 
XDG_DATA_DIRS variable the help URI would still work.

The help: URIs also address the problem of translated documentation. With the 
help URIs it's sufficient to provide one meta file with one DocPath for all 
translated versions of a manual. Without the help: URIs you need to put the 
exact path into the metafile which means that you either have to supply a 
meta file per translation or to put DocPaths for all languages in the meta 
file. Both means adding a lot of at least partly redundant information. This 
has several problems, e.g. the increased danger of having inconsistent data 
or slow parsing of the meta data.

Finally the help: URI scheme provides a solution for addressing a specific 
part of a document by using appropriate anchors. This is needed for example 
when a dialog has a help button and pressing on the button has to show up the 
section of the manual which is describing the dialog.

So, all in all, I think we still need the help: URIs in the spec.

Some other comments:

I think it's preferable to use the suffix ".desktop" for the meta files 
instead of ".document". The meta files are valid .desktop files and adhere to 
the desktop entry specification, so it seems to be logical to use the suffix 
which is specified there. The help system meta files are more an extended 
version of the desktop files than a new file type.

Another reason to use the .desktop suffix is that normal desktop files which 
for example are used for creating the start menu could additionally also 
contain the information for the help system, so the meta information for 
application manuals for the help system could be extracted from the same 
files without the need to duplicate any data.

As the DocHeritage entry is only used for backwards compatibility it might be 
better to leave it out from the specification. It still could be used e.g. as 
X-Scrollkeeper-DocHeritage by help browsers which previously used 
Scrollkeeper.

In the section about language-specific documentation there is the use of an 
environment variable $LANGUAGE mentioned. How exactly is this meant to work? 
Wouldn't it be better to leave that out of the specification and leave it to 
the help system implementation to determine what languages the user wants to 
see? I suppose this setting would end up in a configuration dialog of the 
help browser anyway. So using environment variables might be a bit 
cumbersome.

--

-- 
Cornelius Schumacher <schumacher <at> kde.org>
Graeme Nichols | 28 Dec 2006 05:54
Picon
Favicon

gnome-doc-utils-0.2.0 and FC4

Hello Folks,

I am experiencing a dependency problem with the latest release of 
gramps-2.2.4.

The developers are using gnome-doc-utils-0.3.2 to generate the 
documentation. My distribution is FC4 and only has gnome-doc-utils-0.2.0.

Is there any possibility to upgrade the -0.2.0 version to the latest 
version of gnome-doc-utils without a long list of dependency problems in 
FC4?

Thanks

--

-- 

----------------------------------------------------------------------
Kind regards,

Graeme.
----------------------------------------------------------------------
Download my GnuPG public key from:-
http://www.users.tpg.com.au/gnichols/graemenichols.pub
----------------------------------------------------------------------

Wonder is the feeling of a philosopher, and philosophy begins in wonder.
		-- Socrates, quoting Plato
	[Huh?  That's like Johnson quoting Boswell]
Eugéne Suter | 28 Dec 2006 12:21
Picon

Re: gnome-doc-utils-0.2.0 and FC4

Hi,

I guess your best bet would be to use Yum to update gnome-doc-utils, that way you won't have to worry about the dependencies yourself.
If you can't update it with Yum, then try following this wiki:

http://cblfs.cross-lfs.org/index.php/GNOME_Doc-Utils

Its not Fedora specific, but it will give you an idea of what has to be done.

Hope that helps.

Eugéne


On 28/12/06, Graeme Nichols <gnichols-m/5qDMzAQIg@public.gmane.orgau> wrote:

Hello Folks,

I am experiencing a dependency problem with the latest release of
gramps-2.2.4.

The developers are using gnome-doc-utils-0.3.2 to generate the
documentation. My distribution is FC4 and only has gnome-doc-utils-0.2.0.

Is there any possibility to upgrade the -0.2.0 version to the latest
version of gnome-doc-utils without a long list of dependency problems in
FC4?

Thanks

--

----------------------------------------------------------------------
Kind regards,

Graeme.
----------------------------------------------------------------------
Download my GnuPG public key from:-
http://www.users.tpg.com.au/gnichols/graemenichols.pub
----------------------------------------------------------------------

Wonder is the feeling of a philosopher, and philosophy begins in wonder.
                -- Socrates, quoting Plato
        [Huh?  That's like Johnson quoting Boswell]
_______________________________________________
gnome-doc-devel-list mailing list
gnome-doc-devel-list-rDKQcyrBJuzYtjvyW6yDsg@public.gmane.org
http://mail.gnome.org/mailman/listinfo/gnome-doc-devel-list

_______________________________________________
gnome-doc-devel-list mailing list
gnome-doc-devel-list@...
http://mail.gnome.org/mailman/listinfo/gnome-doc-devel-list
Graeme Nichols | 29 Dec 2006 03:37
Picon
Favicon

Re: gnome-doc-utils-0.2.0 and FC4

Eugéne Suter wrote:
> Hi,
> 
> I guess your best bet would be to use Yum to update gnome-doc-utils, 
> that way you won't have to worry about the dependencies yourself.
> If you can't update it with Yum, then try following this wiki:
> 
> http://cblfs.cross-lfs.org/index.php/GNOME_Doc-Utils
> 
> Its not Fedora specific, but it will give you an idea of what has to be 
> done.
> 
> Hope that helps.
> 
> Eugéne

Hello Eugene,

Thank you for that information. Yum says that there is no update available.

I downloaded and built the tarball gnome-doc-utils-0.8.0.tar.bz2 with no 
errors. I followed the instructions in the INSTALL file. Now all I have 
to do is see if I can build the gramps package without the dependency error.

When I tried to build a .rpm package from the tarball though I got a 
heap of errors. See following;

[root <at> barney gnome-doc-utils-0.8.0]# rpmbuild -tb 
gnome-doc-utils-0.8.0.tar.bz2
error: File gnome-doc-utils-0.8.0.tar.bz2: No such file or directory
sh: gnome-doc-utils-0.8.0.tar.bz2: No such file or directory
sh: gnome-doc-utils-0.8.0.tar.bz2: No such file or directory
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
[root <at> barney gnome-doc-utils-0.8.0]# man rpmbuild
[root <at> barney gnome-doc-utils-0.8.0]#

I'm a bit reluctant to experiment here. The above errors seem to 
indicate that rpmbuild cannot unpack a .bz2 tarball. Do you know if that 
assumption is correct?

Thanks,

--

-- 

----------------------------------------------------------------------
Kind regards,

Graeme.
----------------------------------------------------------------------
Download my GnuPG public key from:-
http://www.users.tpg.com.au/gnichols/graemenichols.pub
----------------------------------------------------------------------

	"It's today!" said Piglet.
	"My favorite day," said Pooh.
Eugéne Suter | 29 Dec 2006 13:51
Picon

Re: gnome-doc-utils-0.2.0 and FC4

Hi again,

I'm sorry I can't help you much with the RPM build problem, since I use VectorLinux (Slackware derivative), and do not use RPM.
I have however been testing on a friend's computer that has FC6 on it, and I also got the same error as you did.
But, since you need gnome-doc-utils 0.3 or higher, then you can download the gnome-doc-utils 0.6 source RPM here (source RPMs seem to be easier to build):

ftp://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/5/source/SRPMS/gnome-doc-utils-0.6.0-1.src.rpm

make a temporary folder (where ever you like) and move the source RPM to that folder.
Then, as root, run

rpmbuild --recompile gnome-doc-utils-0.6.0-1.src.rpm

That should take care of it. After the build finiesh, then you will have the final RPM in your temporary directory.

Note that you will probably need XML::Parser.
You can ty finding it with Yum, but if that fails then download the source here:

http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz

You can build and install it simply by unpacking it, and then in the XML-Parser directory run:

perl Makefile.PL

make

make test

make install


That should take care of the XML::Parser dependency.

The only other two dependecies for gnome-doc-utils that I am aware of are LibMXL2 and LibXSLT, but those might already be installed on FC4.

Hope this helps :)

Eugéne

_______________________________________________
gnome-doc-devel-list mailing list
gnome-doc-devel-list@...
http://mail.gnome.org/mailman/listinfo/gnome-doc-devel-list
Graeme Nichols | 31 Dec 2006 02:15
Picon
Favicon

Re: gnome-doc-utils-0.2.0 and FC4

Eugéne Suter wrote:
> Hi again,
> 
> I'm sorry I can't help you much with the RPM build problem, since I use 
> VectorLinux (Slackware derivative), and do not use RPM.
> I have however been testing on a friend's computer that has FC6 on it, 
> and I also got the same error as you did.
> But, since you need gnome-doc-utils 0.3 or higher, then you can download 
> the gnome-doc-utils 0.6 source RPM here (source RPMs seem to be easier 
> to build):
> 
> ftp://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/5/source/SRPMS/gnome-doc-utils-0.6.0-1.src.rpm
> 
Hello Eugene,

Thank you very much for your help here. I downloaded the file above, 
built a binary .rpm file and it installed OK.

> make a temporary folder (where ever you like) and move the source RPM to 
> that folder.
> Then, as root, run
> 
> rpmbuild --recompile gnome-doc-utils-0.6.0-1.src.rpm
> 
> That should take care of it. After the build finiesh, then you will have 
> the final RPM in your temporary directory.
> 
> Note that you will probably need XML::Parser.
> You can ty finding it with Yum, but if that fails then download the 
> source here:
> 
> http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz 
> <http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-2.34.tar.gz>
> 
> You can build and install it simply by unpacking it, and then in the 
> XML-Parser directory run:
> 
> perl Makefile.PL
> 
> make
> 
> make test
> 
> make install
> 
> 
> That should take care of the XML::Parser dependency.

I had already got the XML::Parser perl module to fix that dependency

I used the following command as root: perl -MCPAN -e shell, then at the 
cpan shell prompt, install XML::Parser

I have used the above to install all my perl modules. Very easy.

> 
> The only other two dependecies for gnome-doc-utils that I am aware of 
> are LibMXL2 and LibXSLT, but those might already be installed on FC4.

Yes, they are already installed.
> 
> Hope this helps :)
> 

It has helped immensely and I am very grateful for your help.

Thank you.  All the best for the coming year.

--

-- 

----------------------------------------------------------------------
Kind regards,

Graeme.
----------------------------------------------------------------------
Download my GnuPG public key from:-
http://www.users.tpg.com.au/gnichols/graemenichols.pub
----------------------------------------------------------------------

Having the fewest wants, I am nearest to the gods.
		-- Socrates

Gmane