After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 595353 - evince must ship gconf-2.m4 file with itself
evince must ship gconf-2.m4 file with itself
Status: RESOLVED NOTABUG
Product: evince
Classification: Core
Component: general
2.27.x
Other Linux
: Normal minor
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 600297 (view as bug list)
Depends on: 595495
Blocks:
 
 
Reported: 2009-09-16 12:48 UTC by Ivan Anishchuk
Modified: 2009-11-01 11:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gconf-2.m4 (1.54 KB, text/plain)
2009-09-16 12:48 UTC, Ivan Anishchuk
Details

Description Ivan Anishchuk 2009-09-16 12:48:42 UTC
Created attachment 143270 [details]
gconf-2.m4

evince normally builds and works if gconf hasn't been installed, but aclocal
fails without gconf-2.m4 macros. Evince package must include thit file.
Comment 1 Christian Persch 2009-09-16 22:26:06 UTC
No. You need to install the gconf devel package to run autogen, so gconf.m4 can be found by aclocal. *Tarball* builds otoh work fine without gconf.
Comment 2 Ivan Anishchuk 2009-09-17 06:02:53 UTC
(In reply to comment #1)
> No. You need to install the gconf devel package to run autogen, so gconf.m4 can
> be found by aclocal. *Tarball* builds otoh work fine without gconf.

Why??? I'm xfce user, i don't want to install gconf and any other shit i don't need, but i need to run autogen on every version of evince (distribution-specific patches). evince' package contains gtk-doc.m4, gnome-doc-utils.m4, some libtool's m4 files therefore i can run autogen without gtk-doc,  gnome-doc-utils or libtool installed, so why i need to install gconf for that? Why putting 1.5kb-file into package is a trouble?

PS My distro is source-based, there is no devel packages :)
Comment 3 Christian Persch 2009-09-17 16:26:57 UTC
The *tarballs* contain these m4 files; they are *not* in git.

To build from git you just need to install gnome-doc-utils, intltool, libtool, gtk-doc and gconf development packages. These m4 files are copied into m4/ by the various -ize tools (gnome-doc-prepare, intltoolize, libtoolize, gtkdocize) that are run by gnome-autogen.sh; so *arguably* gconf could have a similar tool that copied its m4 file in, and gnome-autogen.sh would run that tool when it detects AM_GCONF_SOURCE_2 macro in configure.ac. These would then be gconf and/or gnome-common RFEs thowever, not an evince bug.

(NB: which distro is this, why do the distro patches require re-running autogen, and why can't these distro patches be submitted upstream?)
Comment 4 Ivan Anishchuk 2009-09-17 17:47:53 UTC
(In reply to comment #3)
> The *tarballs* contain these m4 files; they are *not* in git.

hmm... okey...

> To build from git you just need to install gnome-doc-utils, intltool, libtool,
> gtk-doc and gconf development packages. These m4 files are copied into m4/ by
> the various -ize tools (gnome-doc-prepare, intltoolize, libtoolize, gtkdocize)
> that are run by gnome-autogen.sh; so *arguably* gconf could have a similar tool
> that copied its m4 file in, and gnome-autogen.sh would run that tool when it
> detects AM_GCONF_SOURCE_2 macro in configure.ac. These would then be gconf
> and/or gnome-common RFEs thowever, not an evince bug.

okey, i'll write them about this.

> (NB: which distro is this, why do the distro patches require re-running
> autogen, and why can't these distro patches be submitted upstream?)

Gentoo. This is the part of emerge log:

>>>> Emerging (1 of 1) app-text/evince-2.27.90 from gnome
>...
> * Fixing OMF Makefiles ...                                               [ ok ]
> * Running elibtoolize in: evince-2.27.90
> *   Applying portage-2.2.patch ...
> *   Applying sed-1.5.6.patch ...
> *   Applying as-needed-2.2.6.patch ...
> * Applying evince-0.7.1-display-menu.patch ...                           [ ok ]
> * Applying evince-2.27.4-smclient-configure.patch ...                    [ ok ]
> * Running eautoreconf in '/var/tmp/portage/app-text/evince-2.27.90/work/evince-2.27.90' ...
>...

I don't know has evince-2.27.4-smclient-configure.patch been sent upstream. I don't know are all of these needed. I'm stupid user :)
Comment 5 Christian Persch 2009-09-17 19:00:30 UTC
Turns out that evince-2.27.4-smclient-configure.patch is supposed to fix bug 590174.
Comment 6 Christian Persch 2009-11-01 11:02:24 UTC
*** Bug 600297 has been marked as a duplicate of this bug. ***