GNU bug report logs - #37850
Glib documentation is missing

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Pierre Neidhardt <mail@HIDDEN>; dated Mon, 21 Oct 2019 10:46:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 15 Nov 2019 12:14:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 15 07:14:13 2019
Received: from localhost ([127.0.0.1]:35736 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iVaUO-0007Yz-Ji
	for submit <at> debbugs.gnu.org; Fri, 15 Nov 2019 07:14:12 -0500
Received: from pelzflorian.de ([5.45.111.108]:47614 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@HIDDEN>) id 1iVaUM-0007Yp-Oq
 for 37850 <at> debbugs.gnu.org; Fri, 15 Nov 2019 07:14:11 -0500
Received: from pelzflorian.localdomain (unknown [5.45.111.108])
 by mail.pelzflorian.de (Postfix) with ESMTPSA id BC6533604DA;
 Fri, 15 Nov 2019 13:14:08 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de;
 s=mail; t=1573820049;
 bh=+tshjP1YP5kBZiEDi6wk/UpKXrteUeJnY9pZ4AZBwXQ=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=NVkdLWcFfBZD6h2aJBW2aHVZ3nJ/ITl2U/IVPUM8b4iyoiTxHRpFgE+CQMmVvwBVM
 vaDoOKjpcejZhte8ZWYVUnxuit0KReqkTatnOyKlGLOI2ZT9Tn9KTsYakOCJRYSg0g
 UWJx1OXEUFjuzljSVvQpI5er4T54hPoio1Fi6zeU=
Date: Fri, 15 Nov 2019 13:14:08 +0100
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
Message-ID: <20191115121408.efmbw33m3d5k6er4@HIDDEN>
References: <87k18gncbn.fsf@HIDDEN> <8736f4ok77.fsf@HIDDEN>
 <87ftj4m0s0.fsf@HIDDEN> <8736ewmyc1.fsf@HIDDEN>
 <87woc6kbhc.fsf@HIDDEN>
 <20191112123233.jkcevtpkz5i2yut5@HIDDEN>
 <20191112132254.hzqo2zck3btcerdb@HIDDEN>
 <87h839gk47.fsf@HIDDEN>
 <20191112183458.fmlullhdc65bp2am@HIDDEN>
 <87tv752xth.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87tv752xth.fsf@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 37850
Cc: Ricardo Wurmus <rekado@HIDDEN>, Marius Bakke <mbakke@HIDDEN>,
 37850 <at> debbugs.gnu.org, petermikkelsen10@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Fri, Nov 15, 2019 at 12:17:30PM +0100, Pierre Neidhardt wrote:
> You are right, something is wrong with substitute-keyword-arguments.
> 

No, I did not say that, I said that despite
substitute-keyword-arguments returning the correct arguments – as is
visible by enclosing the args with a call to (error …) –, meson builds
with the old arguments.  However now you say it works when copying the
arguments from Glib, which is strange.

Regards,
Florian




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 15 Nov 2019 11:17:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 15 06:17:42 2019
Received: from localhost ([127.0.0.1]:35719 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iVZbh-0006E0-Fv
	for submit <at> debbugs.gnu.org; Fri, 15 Nov 2019 06:17:42 -0500
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:38263)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1iVZba-0006Dl-8V
 for 37850 <at> debbugs.gnu.org; Fri, 15 Nov 2019 06:17:40 -0500
X-Originating-IP: 92.169.151.76
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id BBAEC60005;
 Fri, 15 Nov 2019 11:17:31 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: "pelzflorian \(Florian Pelz\)" <pelzflorian@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
In-Reply-To: <20191112183458.fmlullhdc65bp2am@HIDDEN>
References: <87v9sbj2ru.fsf@HIDDEN> <87h83ret3a.fsf@HIDDEN>
 <87k18gncbn.fsf@HIDDEN> <8736f4ok77.fsf@HIDDEN>
 <87ftj4m0s0.fsf@HIDDEN> <8736ewmyc1.fsf@HIDDEN>
 <87woc6kbhc.fsf@HIDDEN>
 <20191112123233.jkcevtpkz5i2yut5@HIDDEN>
 <20191112132254.hzqo2zck3btcerdb@HIDDEN>
 <87h839gk47.fsf@HIDDEN>
 <20191112183458.fmlullhdc65bp2am@HIDDEN>
Date: Fri, 15 Nov 2019 12:17:30 +0100
Message-ID: <87tv752xth.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 37850
Cc: Ricardo Wurmus <rekado@HIDDEN>, Marius Bakke <mbakke@HIDDEN>,
 37850 <at> debbugs.gnu.org, petermikkelsen10@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

You are right, something is wrong with substitute-keyword-arguments.

If I copy-paste the arguments from glib, then add the stuff to build the
doc, everything is fine.

Peter, Ricardo, Marius, any clue what's going on?

Here follows a working definition for glib-with-documentation.
Obviously the copy-pasting of arguments is less than ideal.

=2D-8<---------------cut here---------------start------------->8---
(define-public glib-with-documentation
  (package
    (inherit glib)
    (properties '((hidden? . #f)))
    (outputs (cons "doc" (package-outputs glib))) ; 20 MiB of GTK-Doc refer=
ence
    (native-inputs
     `(("gtk-doc" ,gtk-doc)             ; for the doc
       ("docbook-xml" ,docbook-xml)
       ,@(package-native-inputs glib)))
    (arguments
     `( ;; TODO: Uncomment on the next rebuild cycle.
       ;; #:disallowed-references (,tzdata-for-tests)

       #:configure-flags (list "-Dgtk_doc=3Dtrue")
       #:phases
       (modify-phases %standard-phases
         (add-before 'build 'pre-build
           (lambda* (#:key inputs outputs #:allow-other-keys)
             ;; For tests/gdatetime.c.
             (setenv "TZDIR"
                     (string-append (assoc-ref inputs "tzdata")
                                    "/share/zoneinfo"))

             ;; Some tests want write access there.
             (setenv "HOME" (getcwd))
             (setenv "XDG_CACHE_HOME" (getcwd))
             #t))
         (add-after 'unpack 'disable-failing-tests
           (lambda _
             (let ((disable
                    (lambda (test-file test-paths)
                      (define pattern+procs
                        (map (lambda (test-path)
                               (cons
                                ;; XXX: only works for single line statemen=
ts.
                                (format #f "g_test_add_func.*\"~a\".*" test=
-path)
                                (const "")))
                             test-paths))
                      (substitute test-file pattern+procs)))
                   (failing-tests
                    '(("glib/tests/thread.c"
                       ( ;; prlimit(2) returns ENOSYS on Linux 2.6.32-5-xen=
-amd64
                        ;; as found on hydra.gnu.org, and strace(1) doesn't
                        ;; recognize it.
                        "/thread/thread4"))

                      ;; This tries to find programs in FHS directories.
                      ("glib/tests/utils.c"
                       ("/utils/find-program"))

                      ;; This fails because "glib/tests/echo-script" cannot=
 be
                      ;; found.
                      ("glib/tests/spawn-singlethread.c"
                       ("/gthread/spawn-script"))

                      ("glib/tests/timer.c"
                       ( ;; fails if compiler optimizations are enabled, wh=
ich they
                        ;; are by default.
                        "/timer/stop"))

                      ("gio/tests/gapplication.c"
                       ( ;; XXX: proven to be unreliable.  See:
                        ;;  <https://bugs.debian.org/756273>
                        ;;  <http://bugs.gnu.org/18445>
                        "/gapplication/quit"

                        ;; XXX: fails randomly for unknown reason. See:
                        ;;  <https://lists.gnu.org/archive/html/guix-devel/=
2016-04/msg00215.html>
                        "/gapplication/local-actions"))

                      ("gio/tests/contenttype.c"
                       ( ;; XXX: requires shared-mime-info.
                        "/contenttype/guess"
                        "/contenttype/guess_svg_from_data"
                        "/contenttype/subtype"
                        "/contenttype/list"
                        "/contenttype/icon"
                        "/contenttype/symbolic-icon"
                        "/contenttype/tree"))

                      ("gio/tests/appinfo.c"
                       ( ;; XXX: requires update-desktop-database.
                        "/appinfo/associations"))

                      ("gio/tests/desktop-app-info.c"
                       ( ;; XXX: requires update-desktop-database.
                        "/desktop-app-info/delete"
                        "/desktop-app-info/default"
                        "/desktop-app-info/fallback"
                        "/desktop-app-info/lastused"
                        "/desktop-app-info/search"))

                      ("gio/tests/gdbus-peer.c"
                       ( ;; Requires /etc/machine-id.
                        "/gdbus/codegen-peer-to-peer"))

                      ("gio/tests/gdbus-unix-addresses.c"
                       ( ;; Requires /etc/machine-id.
                        "/gdbus/x11-autolaunch"))

                      ("gio/tests/gsocketclient-slow.c"
                       ( ;; These tests tries to resolve "localhost", and f=
ails.
                        "/socket-client/happy-eyeballs/slow"
                        "/socket-client/happy-eyeballs/cancellation/delayed=
")))))
               (for-each (lambda (x) (apply disable x)) failing-tests)
               #t)))
         (replace 'check
           (lambda _
             (setenv "MESON_TESTTHREADS"
                     (number->string (parallel-job-count)))
             ;; Do not run tests marked as "flaky".
             (invoke "meson" "test" "--no-suite" "flaky")))
         ;; TODO: meson does not permit the bindir to be outside of prefix.
         ;; See https://github.com/mesonbuild/meson/issues/2561
         ;; We can remove this once meson is patched.
         (add-after 'install 'move-executables
           (lambda* (#:key outputs #:allow-other-keys)
             (let ((out (assoc-ref outputs "out"))
                   (bin (assoc-ref outputs "bin")))
               (mkdir-p bin)
               (rename-file (string-append out "/bin")
                            (string-append bin "/bin"))
               ;; Do not refer to "bindir", which points to "${prefix}/bin".
               ;; We don't patch "bindir" to point to "$bin/bin", because t=
hat
               ;; would create a reference cycle between the "out" and "bin"
               ;; outputs.
               (substitute* (list (string-append out "/lib/pkgconfig/gio-2.=
0.pc")
                                  (string-append out "/lib/pkgconfig/glib-2=
.0.pc"))
                 (("bindir=3D\\$\\{prefix\\}/bin") "")
                 (("=3D\\$\\{bindir\\}/") "=3D"))
               #t)))
         (add-after 'unpack 'make-local-docbook-xml
           (lambda* (#:key inputs #:allow-other-keys)
             (let ((replace-http (lambda (file)
                                   (substitute* file
                                     ;; Warning: gio.xml uses docbook 4.2.
                                     (("http://www.oasis-open.org/docbook/x=
ml/4../docbookx.dtd")
                                      (string-append (assoc-ref inputs "doc=
book-xml")
                                                     "/xml/dtd/docbook/docb=
ookx.dtd")))) ))
               (replace-http "gio/gdbus-2.0/codegen/codegen_docbook.py")
               (for-each replace-http (find-files "." "\\.xml$"))
               #t)))
         (add-after 'install 'move-doc
           (lambda* (#:key outputs #:allow-other-keys)
             (let ((out (assoc-ref outputs "out"))
                   (doc (assoc-ref outputs "doc"))
                   (html (string-append "/share/gtk-doc")))
               (copy-recursively (string-append out html)
                                 (string-append doc html))
               (delete-file-recursively (string-append out html))
               #t))))))))
=2D-8<---------------cut here---------------end--------------->8---

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3OiUoACgkQm9z0l6S7
zH8LpggAm6fBISS9M8aQGmov6sdHBcl9LJZBgqKsOLMnsahNYRwTBJUvZ+tqHXNp
37DJsUjXioVfDGjVHxKtWJnpDNHT1tl/IxzuuFyOcmcaBttBsXv5Yq9yq79Tm0sP
VUPOxOoTPR6nBRIwo2knxwZBmkQCmNfgJuAGV44jRjgXY+J3u3nE+1wI7qo/nPo1
jtwBITUaI8IYPscgKWBRCI77DrQLP/g1AcxVc1cyD2wr9kjbOgZr3hVwvRJOstyz
guNFtEpDzMnS95Cuf0si7JMj8SKzeOrJw4NQIGPo4h6nzYV8KCgu+8fhlKkTAGLS
I3S5BbWspzsbWPNKWFhMGke3rwDoqw==
=7w+n
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 12 Nov 2019 18:35:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 12 13:35:05 2019
Received: from localhost ([127.0.0.1]:58373 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iUb0K-00071H-W3
	for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 13:35:05 -0500
Received: from pelzflorian.de ([5.45.111.108]:43822 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@HIDDEN>) id 1iUb0F-00070l-Kj
 for 37850 <at> debbugs.gnu.org; Tue, 12 Nov 2019 13:35:03 -0500
Received: from pelzflorian.localdomain (unknown [5.45.111.108])
 by mail.pelzflorian.de (Postfix) with ESMTPSA id 29A8436051E;
 Tue, 12 Nov 2019 19:34:58 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de;
 s=mail; t=1573583698;
 bh=IUPMRWrmTql5FvbdW2O4Jf0CCqrd2mWsxs9FaGXlzIk=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=tSK8sQ2oKHGq9j6/TP3v3ENgkLhdqQFJ8EtbKcsuozg1lNrY2NhxDEvt+rDPko2yg
 Ca3cX1h05s0fiKFGhoIGhT02YQEM9nJoAyICsDqNtkEjdwCH91Yvvy1FIWCW2Wk1Uk
 cZUnYZCPyiapiQh4n9KRC4d2rZZrG+PHwjaDyLzk=
Date: Tue, 12 Nov 2019 19:34:58 +0100
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
Message-ID: <20191112183458.fmlullhdc65bp2am@HIDDEN>
References: <87v9sbj2ru.fsf@HIDDEN> <87h83ret3a.fsf@HIDDEN>
 <87k18gncbn.fsf@HIDDEN> <8736f4ok77.fsf@HIDDEN>
 <87ftj4m0s0.fsf@HIDDEN> <8736ewmyc1.fsf@HIDDEN>
 <87woc6kbhc.fsf@HIDDEN>
 <20191112123233.jkcevtpkz5i2yut5@HIDDEN>
 <20191112132254.hzqo2zck3btcerdb@HIDDEN>
 <87h839gk47.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87h839gk47.fsf@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 37850
Cc: 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Tue, Nov 12, 2019 at 05:00:40PM +0100, Pierre Neidhardt wrote:
> Hmmm, you are right, it does not get built during the install phase.
> 
> I had a look at the bugtracker:
> 
> https://gitlab.gnome.org/GNOME/glib/issues
> 
> Could not find anything related to this.
> 
> Could our Meson build system be buggy?
> As a side note, it does not seem to print any command line flags, which
> is a bit inconvenient for debugging.  Something we could improve at least.
> 

Moving a call to the “error” procedure in various places in the
package and Guix’ meson-build-system.scm reveals (I think) that the
package arguments are correctly rewritten by
substitute-keyword-arguments, but the meson-build procedure from
meson-build-system.scm is called with the original package’s args.

Regards,
Florian




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 12 Nov 2019 16:00:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 12 11:00:45 2019
Received: from localhost ([127.0.0.1]:58258 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iUYaz-00039j-Et
	for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 11:00:45 -0500
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:55201)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1iUYaw-00039Z-RC
 for 37850 <at> debbugs.gnu.org; Tue, 12 Nov 2019 11:00:44 -0500
X-Originating-IP: 92.169.151.76
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 9AC31FF807;
 Tue, 12 Nov 2019 16:00:40 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: "pelzflorian \(Florian Pelz\)" <pelzflorian@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
In-Reply-To: <20191112132254.hzqo2zck3btcerdb@HIDDEN>
References: <87wocvwbmy.fsf@HIDDEN> <87pnikldtt.fsf@HIDDEN>
 <87v9sbj2ru.fsf@HIDDEN> <87h83ret3a.fsf@HIDDEN>
 <87k18gncbn.fsf@HIDDEN> <8736f4ok77.fsf@HIDDEN>
 <87ftj4m0s0.fsf@HIDDEN> <8736ewmyc1.fsf@HIDDEN>
 <87woc6kbhc.fsf@HIDDEN>
 <20191112123233.jkcevtpkz5i2yut5@HIDDEN>
 <20191112132254.hzqo2zck3btcerdb@HIDDEN>
Date: Tue, 12 Nov 2019 17:00:40 +0100
Message-ID: <87h839gk47.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 37850
Cc: 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hmmm, you are right, it does not get built during the install phase.

I had a look at the bugtracker:

https://gitlab.gnome.org/GNOME/glib/issues

Could not find anything related to this.

Could our Meson build system be buggy?
As a side note, it does not seem to print any command line flags, which
is a bit inconvenient for debugging.  Something we could improve at least.


=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3K1ygACgkQm9z0l6S7
zH9thQf9EhN1xDgIqvsC2NeCGgNmHeEedi++fU/MjgspP9g0muQjk3nOQcaehv57
m7DEfhu6djrX8HToad/TYCZWLjZYy8IseYhhBiGACvoyUi2f9dTwxHIUB7RNDc1s
6EZd513znICIkTZuc5FP+1muAOVaiv28Vr0FFI30xtHUMTx6rtIBvtWY3V2bPmF+
DYEEMouACAKSJwC373k6vhNuveW+W7HObcolskn2sVzOIfDFFA+ZyWlM9F97Ffqs
bZismxKXTCoUSy95d2rkRqO58bPqBD8KtKDgkrklmSnrtFjU3gIdp+sW54uZTN1v
YpCEemWYCP9sKVr9obZ83+6VUasydg==
=/Lnp
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 12 Nov 2019 13:22:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 12 08:22:58 2019
Received: from localhost ([127.0.0.1]:56435 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iUW8I-0007FO-2p
	for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 08:22:58 -0500
Received: from pelzflorian.de ([5.45.111.108]:43446 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@HIDDEN>) id 1iUW8G-0007FD-GE
 for 37850 <at> debbugs.gnu.org; Tue, 12 Nov 2019 08:22:57 -0500
Received: from pelzflorian.localdomain (unknown [5.45.111.108])
 by mail.pelzflorian.de (Postfix) with ESMTPSA id F1DB936051E;
 Tue, 12 Nov 2019 14:22:54 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de;
 s=mail; t=1573564975;
 bh=uVhetlSTJoR5H7S/2J9iWLg239+hVpQxLp85skWshWc=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=XoYH9jYHGHEFc0cp0WtQfPpta0xquP6c5NRxQqtANmW/0bwBycXhwYpG6cNd2kphz
 M3TUL19NxE9oKOazYiWsiluM927/ZebwLRx37Hw7cqP5oBKMSi813qByk64VxWfFbh
 P8JzrwN2wa5zgTsC8hE45x48XkrwNVBXtzDDGSj4=
Date: Tue, 12 Nov 2019 14:22:54 +0100
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
Message-ID: <20191112132254.hzqo2zck3btcerdb@HIDDEN>
References: <87wocvwbmy.fsf@HIDDEN> <87pnikldtt.fsf@HIDDEN>
 <87v9sbj2ru.fsf@HIDDEN> <87h83ret3a.fsf@HIDDEN>
 <87k18gncbn.fsf@HIDDEN> <8736f4ok77.fsf@HIDDEN>
 <87ftj4m0s0.fsf@HIDDEN> <8736ewmyc1.fsf@HIDDEN>
 <87woc6kbhc.fsf@HIDDEN>
 <20191112123233.jkcevtpkz5i2yut5@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20191112123233.jkcevtpkz5i2yut5@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 37850
Cc: 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Sorry for my past unhelpful email.  This module is not used by glib.
When I try your package, it seems -Dgtk_doc=true is not applied like
when manually running meson.  I do not understand why.  (Manually
running it leads to a crash later.)

Regards,
Florian




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 12 Nov 2019 12:32:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 12 07:32:37 2019
Received: from localhost ([127.0.0.1]:56390 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iUVLZ-00064H-Bx
	for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 07:32:37 -0500
Received: from pelzflorian.de ([5.45.111.108]:43400 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@HIDDEN>) id 1iUVLX-000649-A2
 for 37850 <at> debbugs.gnu.org; Tue, 12 Nov 2019 07:32:36 -0500
Received: from pelzflorian.localdomain (unknown [5.45.111.108])
 by mail.pelzflorian.de (Postfix) with ESMTPSA id E38AF36051E;
 Tue, 12 Nov 2019 13:32:33 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de;
 s=mail; t=1573561954;
 bh=ar9VH1kSF3CACL1/e4N1zrNCQGZVyMxLchSbyk8p7lQ=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=ISPAYvkqJ8fWaZM2FZG5StizEV+ANi8ZCOwW7xi9jX3aN3+iPESaZDxGjAaNqCHhR
 wfsFeP+pOeFLPiSirSjeRXyt/M2XTabrtSe46C1c66MVveOfdfm3BnjZo0qwXshl4M
 78tNulGLvSGKwEJQhaqJy83rzf+4AysNw1/EobzM=
Date: Tue, 12 Nov 2019 13:32:33 +0100
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
Message-ID: <20191112123233.jkcevtpkz5i2yut5@HIDDEN>
References: <8736fjwcd2.fsf@HIDDEN> <87wocvwbmy.fsf@HIDDEN>
 <87pnikldtt.fsf@HIDDEN> <87v9sbj2ru.fsf@HIDDEN>
 <87h83ret3a.fsf@HIDDEN> <87k18gncbn.fsf@HIDDEN>
 <8736f4ok77.fsf@HIDDEN> <87ftj4m0s0.fsf@HIDDEN>
 <8736ewmyc1.fsf@HIDDEN> <87woc6kbhc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87woc6kbhc.fsf@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 37850
Cc: Marius Bakke <mbakke@HIDDEN>,
 Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Mon, Nov 11, 2019 at 10:29:03AM +0100, Pierre Neidhardt wrote:
> Sadly the above does not build the doc.
> 
> Looking at the source, it seems that no provision is taken for building
> the doc with Meson.  I wonder if this is an upstream mistake, but my
> knowledge of Meson is very limited and I could be wrong.
> 
> Any idea, anyone?
> 

I have not checked, but

https://mesonbuild.com/Gnome-module.html

says about gtkdoc

> This creates a $module-doc target that can be ran to build docs and
> normally these are only built on install.

Since GNOME is a big supporter of Meson, I believe they make no
mistakes in GLib’s meson files.

Regards,
Florian




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 11 Nov 2019 09:29:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 11 04:29:09 2019
Received: from localhost ([127.0.0.1]:53122 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iU60T-00078P-0B
	for submit <at> debbugs.gnu.org; Mon, 11 Nov 2019 04:29:09 -0500
Received: from relay11.mail.gandi.net ([217.70.178.231]:52745)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1iU60Q-00078E-Ce
 for 37850 <at> debbugs.gnu.org; Mon, 11 Nov 2019 04:29:07 -0500
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay11.mail.gandi.net (Postfix) with ESMTPSA id 34D76100003;
 Mon, 11 Nov 2019 09:29:03 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: Marius Bakke <mbakke@HIDDEN>, Ludovic =?utf-8?Q?Court=C3=A8s?=
 <ludo@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
In-Reply-To: <8736ewmyc1.fsf@HIDDEN>
References: <87pniq9y2e.fsf@HIDDEN> <8736fjwcd2.fsf@HIDDEN>
 <87wocvwbmy.fsf@HIDDEN> <87pnikldtt.fsf@HIDDEN>
 <87v9sbj2ru.fsf@HIDDEN> <87h83ret3a.fsf@HIDDEN>
 <87k18gncbn.fsf@HIDDEN> <8736f4ok77.fsf@HIDDEN>
 <87ftj4m0s0.fsf@HIDDEN> <8736ewmyc1.fsf@HIDDEN>
Date: Mon, 11 Nov 2019 10:29:03 +0100
Message-ID: <87woc6kbhc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 37850
Cc: 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Marius,

you are right, this seems to be a much saner approach.
So I've tried the following:

=2D add `(properties '((hidden? . #t)) )` to glib.
=2D Add the following new package definition:

=2D-8<---------------cut here---------------start------------->8---
(define-public glib-with-documentation
  (package
    (inherit glib)
    (properties '((hidden? . #f)))
    (outputs (cons "doc" (package-outputs glib))) ; 20 MiB of GTK-Doc refer=
ence
    (native-inputs
     `(("gtk-doc" ,gtk-doc)             ; for the doc
       ,@(package-native-inputs glib)))
    (arguments
     (substitute-keyword-arguments (package-arguments glib)
       ((#:configure-flags flags)
        `(cons "-Dgtk_doc=3Dtrue" ,flags))
       ;; TODO: Fix 1 failing test.
       ((#:phases phases)
        `(modify-phases ,phases
           (delete 'check)))))))
=2D-8<---------------cut here---------------end--------------->8---

Sadly the above does not build the doc.

Looking at the source, it seems that no provision is taken for building
the doc with Meson.  I wonder if this is an upstream mistake, but my
knowledge of Meson is very limited and I could be wrong.

Any idea, anyone?

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl3JKd8ACgkQm9z0l6S7
zH+Nswf/RBWIDmet/Vm5KukfiL6Rwn4WF4ga4gWi+1C06sPBrehU0PHTkj+rP6Ex
OYsuBAk1oeAldJ1a/s2dqWyvlf4gpHj0mc8XpMEO6Dr1C1CnWLb7McsQidlfzpqJ
XUTbIULsyj5rTDHQ06GcDEbWRT5lp42dw0/96AgN/1GnAmp8/2+qJynWrC3R52Zv
LN6ExRkGOhNpgYt8CRRRQLIGeRpPK/UTHYa94SSlL2TIxuF+tI3MoHwV+hCOD9aK
wm2KxvG2Rd9Py+YYYhltH0WQz+I7nFfiQOFdwXwZxI15HcZAieUMaQj2BFpGqy0C
/pOU6gHMNdEkDfdW87GLM4S3vX4bZQ==
=u+h8
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 9 Nov 2019 23:20:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 09 18:20:24 2019
Received: from localhost ([127.0.0.1]:50475 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iTa1o-0001MG-0F
	for submit <at> debbugs.gnu.org; Sat, 09 Nov 2019 18:20:24 -0500
Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:48785)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1iTa1m-0001M0-Qz
 for 37850 <at> debbugs.gnu.org; Sat, 09 Nov 2019 18:20:23 -0500
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.west.internal (Postfix) with ESMTP id 17967404;
 Sat,  9 Nov 2019 18:20:17 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute5.internal (MEProxy); Sat, 09 Nov 2019 18:20:17 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 from:to:cc:subject:in-reply-to:references:date:message-id
 :mime-version:content-type; s=fm1; bh=cDSvE0tcHXY/aVUKASVXv1tSdP
 QP52KlX7Z5h858mKs=; b=CBL5rihTQmjxprC/qCOtiTAq9xFfVDZidvAe80itYN
 YlIWhos5V+vBIurdmqG/xhkz+InKOoNuhQEKBqRsM9LsxRxZvMA3kj3O5sQ88pzg
 zPd+W0eWaloq0V5GXd3NsGF4oHozd0GKmiKDUc582zV7qXZ+pZx5FNZIuCtn9s36
 Q66ElyV7QsZDmzh0w492Bk6T8e+d0ivw9UGJeLRaVt7w76avSUrLAtKAVJSE/kKg
 Zye29hAMpBQZnlS6i1rT3NdkCJ4WkVAOTWG04YNqFReFMF1+4a6a1OVG5J0+lEaR
 CYk3Qm4/8iouKszcr3D8yJBd7sf/5LlkjK+mAau/X4Pg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=cDSvE0
 tcHXY/aVUKASVXv1tSdPQP52KlX7Z5h858mKs=; b=q7i1W9Xwuh3ezPmZaLds/b
 HZS2LiUOpQWCg1iER7KdB55TQa1IKjSVf42RmG5nIsXzECG8/2bz/DS9Ev+cdhmL
 pugseUFhhenRLox9BvJeNgyndonHkvibBlxUeN90cZUx/I1Ouf4LwI2j4WDoFhKj
 fwm+J6FrRno+yCoFd2mBfUZPpubA/H/peh2mdPXHdXX4ywOW73KHvtbUln1bt10w
 8pIkBWw7RtcEGsLFTChYLfkWex/t7J1mD6QdS8ebToa5o2UURV+l8BOgdhedjbAc
 cfBl9cRaaSJDJN+OChDwr5YXhI25WnRuo+ftVkqvvPxkBqCxgg1uz8UscCa64p6A
 ==
X-ME-Sender: <xms:r0nHXcFISQ19WBAqJ5sJGBLtWxbr_ism0dx7CKtJHPiJ0wuE1PDB7w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddvgedgtdejucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 gfrhhlucfvnfffucdlvdefmdenucfjughrpefhvffujghffgffkfggtgesghdtreertder
 tdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrg
 hilhdrtghomheqnecukfhppeekgedrhedvrddvvdeirddutddvnecurfgrrhgrmhepmhgr
 ihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrh
 fuihiivgeptd
X-ME-Proxy: <xmx:r0nHXWTetSuTBajfaFIQOYPHDkmLtH7kaNDu7S5LRI6miwVmBfCGlg>
 <xmx:r0nHXWeOGp3yt1GdTBpiFThDvGkKsqYU2iMaHd4DITpv-xMM_y1BHw>
 <xmx:r0nHXcj1tAamPQwikjAOQYBE51FH_QLfbVuym4OhONRQknSW-qTasA>
 <xmx:sEnHXXzLq0j1CjWq4MbjvA2ucgsVbqYMVDx6jGJpCozRRkvbXvuxcg>
Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102])
 by mail.messagingengine.com (Postfix) with ESMTPA id 7AA208005A;
 Sat,  9 Nov 2019 18:20:15 -0500 (EST)
From: Marius Bakke <mbakke@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>, Ludovic =?utf-8?Q?Court=C3=A8s?=
 <ludo@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
In-Reply-To: <87ftj4m0s0.fsf@HIDDEN>
References: <87pniq9y2e.fsf@HIDDEN> <8736fjwcd2.fsf@HIDDEN>
 <87wocvwbmy.fsf@HIDDEN> <87pnikldtt.fsf@HIDDEN>
 <87v9sbj2ru.fsf@HIDDEN> <87h83ret3a.fsf@HIDDEN>
 <87k18gncbn.fsf@HIDDEN> <8736f4ok77.fsf@HIDDEN>
 <87ftj4m0s0.fsf@HIDDEN>
User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.3
 (x86_64-pc-linux-gnu)
Date: Sun, 10 Nov 2019 00:20:14 +0100
Message-ID: <8736ewmyc1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 37850
Cc: 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

Pierre Neidhardt <mail@HIDDEN> writes:

> Marius Bakke <mbakke@HIDDEN> writes:
>
>> Pierre Neidhardt <mail@HIDDEN> writes:
>>
>>> From 893613a3b99c20688cc331d2926dbee28cc143d7 Mon Sep 17 00:00:00 2001
>>> From: Pierre Neidhardt <mail@HIDDEN>
>>> Date: Sun, 3 Nov 2019 17:36:17 +0100
>>> Subject: [PATCH] gnu: Add glib-minimal and build glib doc.
>>>
>>> glib documentation must be built with gtk-doc which in turn depends on glib,
>>> so we need to define glib-minimal which does not depend on gtk-doc.
>>>
>>> * gnu/packages/glib.scm (glib-minimal): New variable.
>>> (glib)[source]: Don't use `name'.
>>> * gnu/packages/avahi.scm: Use glib-minimal when necessary.
>>> * gnu/packages/cups.scm: Use glib-minimal when necessary.
>>> * gnu/packages/gnome.scm: Use glib-minimal when necessary.
>>> * gnu/packages/graphviz.scm: Use glib-minimal when necessary.
>>> * gnu/packages/gtk.scm: Use glib-minimal when necessary.
>>> * gnu/packages/inkscape.scm: Use glib-minimal when necessary.
>>> * gnu/packages/pdf.scm: Use glib-minimal when necessary.
>>
>> Please mention all changed variables and inputs here, as we always do.
>
> Sure, I didn't because I wasn't sure it was a good idea either :p
>
>> That said, I'm not certain this is a good solution.  Why do some
>> packages use glib-minimal and others not?  What does "necessary" mean in
>> this context?
>>
>> What about 'hiding' the normal glib package, and expose a
>> 'glib-with-documentation' variant to end users, similar to how the
>> 'cmake' package works?
>
> cmake-minimal builds the doc already, I don't see a
> cmake-with-documentation.  Did you mean something else?
> I see a couple packages with the "-documentation" prefix, so we could
> use "glib-documentation".

I meant this part:

(define-public cmake
  (package
    (inherit cmake-minimal)
    (name "cmake")
    (arguments
     (substitute-keyword-arguments (package-arguments cmake-minimal)
       ((#:configure-flags configure-flags ''())
        `(append ,configure-flags
                ;; Extra configure flags used to generate the documentation.
                '("--sphinx-info"
                  "--sphinx-man"
                  "--sphinx-html")))

Do you think it would make sense to do something similar with GLib,
and "hiding" the normal variant?

> In a previous email, I explained that I wanted to put the documentation
> in the "doc" output of glib for 2 reasons:
>
> - For consistency with the other packages from the GTK family.
> - To restore the missing "gtk:doc" output.  If I understand correctly,
>   we don't have a provision to deprecate outputs, only packages.  I
>   think this is a bug.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl3HSa4ACgkQoqBt8qM6
VPql9wf7BvCPou3hu5kWaNT+h4w0u5N6FPAKsp0Yq2eildSbBkTVlDepXMy6SVD4
IYp8RaINYlR3o+BaefZjrfFWSpHzSyksVR+6Qa0s8EmMr9VDPIp3qcFMp0RrynIl
erXPoo9pibhdyPcKXZA5WGGpewPTuI9PKA2N330enzPkphvbZoBFwVwsAw7Eifvz
oDJPGRjuzajID+HFknWWoiQvDTWoPCts3lyHNESEPP9+DS5GBItNfiNyksxvX0p3
/FEMELNhbtO6r1vNxLAaHCdM6E0AvU7l7+nSj+S0pbBMrkqCmKTO2w3JwbnAJlHb
0dC4owNmj+eUFtV5iUVIC53+fd0mrg==
=AE57
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 9 Nov 2019 02:11:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 08 21:11:00 2019
Received: from localhost ([127.0.0.1]:48029 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iTGDK-0004Tc-05
	for submit <at> debbugs.gnu.org; Fri, 08 Nov 2019 21:11:00 -0500
Received: from mout01.posteo.de ([185.67.36.141]:54488)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alex@HIDDEN>) id 1iTGDG-0004TH-Uk
 for 37850 <at> debbugs.gnu.org; Fri, 08 Nov 2019 21:10:55 -0500
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id D655C16005C
 for <37850 <at> debbugs.gnu.org>; Sat,  9 Nov 2019 03:10:48 +0100 (CET)
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4790wl4g4hz6tm8
 for <37850 <at> debbugs.gnu.org>; Sat,  9 Nov 2019 03:10:47 +0100 (CET)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Sat, 09 Nov 2019 03:10:47 +0100
From: Alexandros Theodotou <alex@HIDDEN>
To: 37850 <at> debbugs.gnu.org
Subject: Re: Glib documentation is missing
In-Reply-To: <49c82620e6bd4b6cb477eb353fc0e8f5@HIDDEN>
References: <49c82620e6bd4b6cb477eb353fc0e8f5@HIDDEN>
Message-ID: <b380468477bbccfaaec7e417545805b9@HIDDEN>
X-Sender: alex@HIDDEN
User-Agent: Posteo Webmail
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 37850
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

I missed this part.

> glib documentation must be built with gtk-doc which in turn depends on 
> glib,
> so we need to define glib-minimal which does not depend on gtk-doc.

In this case the way I have seen other distros do it is by having a 
*-bootstrap package (same as the *-minimal that you mention), which 
doesn't sound like a bad approach.

> What about 'hiding' the normal glib package

Maybe the *-bootstrap package can be hidden. Then the normal glib 
package can have its "doc" back?




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 9 Nov 2019 02:03:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 08 21:03:56 2019
Received: from localhost ([127.0.0.1]:48024 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iTG6W-0004JV-5v
	for submit <at> debbugs.gnu.org; Fri, 08 Nov 2019 21:03:56 -0500
Received: from mout01.posteo.de ([185.67.36.141]:33238)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alex@HIDDEN>) id 1iTG6U-0004JH-1U
 for 37850 <at> debbugs.gnu.org; Fri, 08 Nov 2019 21:03:55 -0500
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 8BDAD16005C
 for <37850 <at> debbugs.gnu.org>; Sat,  9 Nov 2019 03:03:47 +0100 (CET)
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4790mf2X2Hz6tm7
 for <37850 <at> debbugs.gnu.org>; Sat,  9 Nov 2019 03:03:46 +0100 (CET)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Sat, 09 Nov 2019 03:03:46 +0100
From: Alexandros Theodotou <alex@HIDDEN>
To: 37850 <at> debbugs.gnu.org
Subject: Re: Glib documentation is missing
Message-ID: <49c82620e6bd4b6cb477eb353fc0e8f5@HIDDEN>
X-Sender: alex@HIDDEN
User-Agent: Posteo Webmail
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 37850
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

I am new to guix so please excuse my ignorance, but is there an issue 
with just adding a "doc" output to the current glib, as mentioned in the 
manual?
http://guix.gnu.org/manual/en/guix.html#Packages-with-Multiple-Outputs

I find this approach nice and clean and I am personally not too fond of 
the idea of having "*-minimal" and "*-with-documentation" packages.




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 4 Nov 2019 09:47:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 04 04:47:03 2019
Received: from localhost ([127.0.0.1]:35880 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iRYwx-0001AA-Im
	for submit <at> debbugs.gnu.org; Mon, 04 Nov 2019 04:47:03 -0500
Received: from relay11.mail.gandi.net ([217.70.178.231]:46963)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1iRYwu-00019g-3i
 for 37850 <at> debbugs.gnu.org; Mon, 04 Nov 2019 04:47:02 -0500
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay11.mail.gandi.net (Postfix) with ESMTPSA id E0511100013;
 Mon,  4 Nov 2019 09:46:57 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: Marius Bakke <mbakke@HIDDEN>, Ludovic =?utf-8?Q?Court=C3=A8s?=
 <ludo@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
In-Reply-To: <8736f4ok77.fsf@HIDDEN>
References: <87pniq9y2e.fsf@HIDDEN> <8736fjwcd2.fsf@HIDDEN>
 <87wocvwbmy.fsf@HIDDEN> <87pnikldtt.fsf@HIDDEN>
 <87v9sbj2ru.fsf@HIDDEN> <87h83ret3a.fsf@HIDDEN>
 <87k18gncbn.fsf@HIDDEN> <8736f4ok77.fsf@HIDDEN>
Date: Mon, 04 Nov 2019 10:46:55 +0100
Message-ID: <87ftj4m0s0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 37850
Cc: 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Marius Bakke <mbakke@HIDDEN> writes:

> Pierre Neidhardt <mail@HIDDEN> writes:
>
>> From 893613a3b99c20688cc331d2926dbee28cc143d7 Mon Sep 17 00:00:00 2001
>> From: Pierre Neidhardt <mail@HIDDEN>
>> Date: Sun, 3 Nov 2019 17:36:17 +0100
>> Subject: [PATCH] gnu: Add glib-minimal and build glib doc.
>>
>> glib documentation must be built with gtk-doc which in turn depends on g=
lib,
>> so we need to define glib-minimal which does not depend on gtk-doc.
>>
>> * gnu/packages/glib.scm (glib-minimal): New variable.
>> (glib)[source]: Don't use `name'.
>> * gnu/packages/avahi.scm: Use glib-minimal when necessary.
>> * gnu/packages/cups.scm: Use glib-minimal when necessary.
>> * gnu/packages/gnome.scm: Use glib-minimal when necessary.
>> * gnu/packages/graphviz.scm: Use glib-minimal when necessary.
>> * gnu/packages/gtk.scm: Use glib-minimal when necessary.
>> * gnu/packages/inkscape.scm: Use glib-minimal when necessary.
>> * gnu/packages/pdf.scm: Use glib-minimal when necessary.
>
> Please mention all changed variables and inputs here, as we always do.

Sure, I didn't because I wasn't sure it was a good idea either :p

> That said, I'm not certain this is a good solution.  Why do some
> packages use glib-minimal and others not?  What does "necessary" mean in
> this context?
>
> What about 'hiding' the normal glib package, and expose a
> 'glib-with-documentation' variant to end users, similar to how the
> 'cmake' package works?

cmake-minimal builds the doc already, I don't see a
cmake-with-documentation.  Did you mean something else?
I see a couple packages with the "-documentation" prefix, so we could
use "glib-documentation".

In a previous email, I explained that I wanted to put the documentation
in the "doc" output of glib for 2 reasons:

=2D For consistency with the other packages from the GTK family.
=2D To restore the missing "gtk:doc" output.  If I understand correctly,
  we don't have a provision to deprecate outputs, only packages.  I
  think this is a bug.

Now my current patch is admittedly not pretty.
If we fix the output deprecation feature, then glib:doc could be
forwarded to glib-documentation.  And I guess we can live without
complete consistency.

Thoughts?

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2/848ACgkQm9z0l6S7
zH+eYQf/XfqZrRT1dUCWX9fHSlWFNVLLXhU87+IUNd9gRMRcnVId2wnYTF8PcU33
s0UqyV3ox2bYvv9Yk9fVjqWb1imHexqI2srX6MCUxvlPDHW3PNwKSDTOoije8D+Y
TYNOHpaHOPMIbOJFQrTKpUIV+WFsT9ekciqCK1HX3NTVbnn6cr7Vy2SA/4Ipz1b/
Cq/zs2/ODokCB+HAHfs9hfL15ACso6WLCB1UzauS4RkChrvudtZViCeV5JDuYxLi
bL1HBA4xfHuhMbhALD7YjxKG2PtLyLjkHhxm4eMJjhXOCZ0ICNSorON/HJqS1BKo
SyJWOkAajrA51ASmOUuh2QJUn/ST6w==
=UOPh
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 3 Nov 2019 19:04:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 03 14:04:38 2019
Received: from localhost ([127.0.0.1]:35103 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iRLB0-0007gT-0c
	for submit <at> debbugs.gnu.org; Sun, 03 Nov 2019 14:04:38 -0500
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:49431)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1iRLAy-0007gE-8a
 for 37850 <at> debbugs.gnu.org; Sun, 03 Nov 2019 14:04:36 -0500
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.west.internal (Postfix) with ESMTP id 8C7A32CA;
 Sun,  3 Nov 2019 14:04:30 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Sun, 03 Nov 2019 14:04:30 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 from:to:cc:subject:in-reply-to:references:date:message-id
 :mime-version:content-type; s=fm1; bh=Cfu5i7FgPNauXIcXdqpZ7qDNL0
 eNdygN00cGHkfOEiU=; b=cH9pR326p0bTlHGxOvjMjW/CZ96dOWw6KyDqujNDNV
 R4qDfrpU/iluZo1+Kq6UbeuMpgmG3mlg5/KRkRfX/ZQzS1lTZsHcVFUz6RSrM92m
 QYUM8HP/WyNNDEeF+CO/J8miVtlBPaBQifIAygQq3ZyqS6BMZi0GMbNxoQ9J7SnN
 1ZvfoZzKW6ew3hPwaVO+cG1vrurENNDR8YJR+3swH3vPtRSidmCJA7BICvAfpVMD
 7yr5CnebsZGBPDKdv0hMja3begCeTXv0xLPUCf2hioLDnKJIhV+7M3ohTl6aFWED
 87aoG6xwDseck6KTmkTciPwm0jyGjbsoG1CxbNffv8OA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Cfu5i7
 FgPNauXIcXdqpZ7qDNL0eNdygN00cGHkfOEiU=; b=Rt2+Oa4oSr2pI+bqwKK5lC
 deDR+ejeaJGIvE5sJFSJju5SS9Mlba8edhA430DMNfERP788GqkxASXSHVOXwhd4
 aG45aS2Kpxs0/7JnCIhOpO2wtuw1VDAak6c8P2TovBpilnre0NRuMAjM0w2v0twe
 JaU3LyKpQvpDoz5kkL19eXdm1WaEdPAOtjHxSR3SuceQwskpM7WUXjygaluZCl8o
 46TQuq7OpQQKlbc1q6bajfxuB9WQiALq6mpDzodgoSbVRyHoH2E+k1LJKERyS0z4
 IOPXkWOyHDs/62moiiQRZTExP75hB9GQZEpZhzfTVMAJa4CwsvmZzCutTsogq7xw
 ==
X-ME-Sender: <xms:vSS_XXMkXczxiI7hoZSyIm9HJAAhPnmlIir43RGxEdqSn2K1I1hq_w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudduuddguddvfecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enfghrlhcuvffnffculddvfedmnecujfgurhephffvufgjfhgffffkgggtsehgtderredt
 redtnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmh
 grihhlrdgtohhmqeenucfkphepiedvrdduiedrudelvddrudehtdenucfrrghrrghmpehm
 rghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghilhdrtghomhenucevlhhushhtvg
 hrufhiiigvpedt
X-ME-Proxy: <xmx:vSS_XWPMkKcNIjVJxNtRhxyR0tp-73J29EmeW5zWHkTj6ikoOIre1w>
 <xmx:vSS_XRTlNncl2jC9C2SJG-yzCPS0BrUnAEK2CKNP9SrId0LkAQdXoA>
 <xmx:vSS_XQCLnqn02zvw_zUxkQc9aOg-W0YO4KDA8ME0lsSp56K52OoDlw>
 <xmx:viS_XXAWTwnuUJPOGNZ25xlCho5ZDfaLILRrIkIVh_5n4dPCImw9ow>
Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150])
 by mail.messagingengine.com (Postfix) with ESMTPA id 6FF603060057;
 Sun,  3 Nov 2019 14:04:29 -0500 (EST)
From: Marius Bakke <mbakke@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>, Ludovic =?utf-8?Q?Court=C3=A8s?=
 <ludo@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
In-Reply-To: <87k18gncbn.fsf@HIDDEN>
References: <87pniq9y2e.fsf@HIDDEN> <8736fjwcd2.fsf@HIDDEN>
 <87wocvwbmy.fsf@HIDDEN> <87pnikldtt.fsf@HIDDEN>
 <87v9sbj2ru.fsf@HIDDEN> <87h83ret3a.fsf@HIDDEN>
 <87k18gncbn.fsf@HIDDEN>
User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.3
 (x86_64-pc-linux-gnu)
Date: Sun, 03 Nov 2019 20:04:28 +0100
Message-ID: <8736f4ok77.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 37850
Cc: 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

Pierre Neidhardt <mail@HIDDEN> writes:

> From 893613a3b99c20688cc331d2926dbee28cc143d7 Mon Sep 17 00:00:00 2001
> From: Pierre Neidhardt <mail@HIDDEN>
> Date: Sun, 3 Nov 2019 17:36:17 +0100
> Subject: [PATCH] gnu: Add glib-minimal and build glib doc.
>
> glib documentation must be built with gtk-doc which in turn depends on glib,
> so we need to define glib-minimal which does not depend on gtk-doc.
>
> * gnu/packages/glib.scm (glib-minimal): New variable.
> (glib)[source]: Don't use `name'.
> * gnu/packages/avahi.scm: Use glib-minimal when necessary.
> * gnu/packages/cups.scm: Use glib-minimal when necessary.
> * gnu/packages/gnome.scm: Use glib-minimal when necessary.
> * gnu/packages/graphviz.scm: Use glib-minimal when necessary.
> * gnu/packages/gtk.scm: Use glib-minimal when necessary.
> * gnu/packages/inkscape.scm: Use glib-minimal when necessary.
> * gnu/packages/pdf.scm: Use glib-minimal when necessary.

Please mention all changed variables and inputs here, as we always do.

That said, I'm not certain this is a good solution.  Why do some
packages use glib-minimal and others not?  What does "necessary" mean in
this context?

What about 'hiding' the normal glib package, and expose a
'glib-with-documentation' variant to end users, similar to how the
'cmake' package works?

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2/JLwACgkQoqBt8qM6
VPqVyAf/ZAN4NhlQWHAakZkr2TfL/5WrbakRFLC+ejGsXVveJDNlxH1Vzg4AVkRS
v2b5gxop1ihqsS1kQAIV0QDP/1NlxRL61HyVutpEbbv7Oax/EOfDNSAHRfqdtlzh
AfgXQ4myNyzzAVZIDhSa9guxoiLCB/Uif05c83cSvOy8arhyHXY9YLaTwJYPtjiu
ZMpuWgd4ahp9jnV3hc90h53UdE+pEBnE33enMhv+cTcOyoGzW1DSqykWkmpb09UP
1vH912HH6t85bkULXBuLE5eE8vmjGdWendJpjLDLMKle/t5I0n0dT4e253csaayn
Ez5D2sE6KHSyNzKfMRDeM919VTMcGA==
=vmS7
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 3 Nov 2019 16:40:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 03 11:40:05 2019
Received: from localhost ([127.0.0.1]:34943 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iRIv5-0001f7-SZ
	for submit <at> debbugs.gnu.org; Sun, 03 Nov 2019 11:40:05 -0500
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:49047)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1iRIv0-0001eF-GM
 for 37850 <at> debbugs.gnu.org; Sun, 03 Nov 2019 11:40:00 -0500
X-Originating-IP: 92.169.151.76
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 8F2D41C0008;
 Sun,  3 Nov 2019 16:39:56 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
In-Reply-To: <87h83ret3a.fsf@HIDDEN>
References: <87pniq9y2e.fsf@HIDDEN> <8736fjwcd2.fsf@HIDDEN>
 <87wocvwbmy.fsf@HIDDEN> <87pnikldtt.fsf@HIDDEN>
 <87v9sbj2ru.fsf@HIDDEN> <87h83ret3a.fsf@HIDDEN>
Date: Sun, 03 Nov 2019 17:39:56 +0100
Message-ID: <87k18gncbn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 37850
Cc: Marius Bakke <mbakke@HIDDEN>, 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

--=-=-=
Content-Type: multipart/signed; boundary="==-=-=";
	micalg=pgp-sha256; protocol="application/pgp-signature"

--==-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Find a patch attached.  What do you think?

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2/AtwACgkQm9z0l6S7
zH85dggAriYhCIZQHgFnHyOviFiJ6nHVos8f0LbfGT4MompA81Rm7bh+d3ncXxjd
BLOzziUXioiPwhN78qk7nZIcyBSx/fM4nkjR8pvJTvNoiVCwJlnwOM9iutvOvs22
TaH01H7fYYmgvSC5DS6xiuNuIHEnjyAJBPzmOnIM0xBpntHxXBSez02laQdJKwnY
gJmzGGn88spq/6u3Tp+GGxsc3lpiq9mBXFT5FK1ZTOibkTNlEXhbSwqX2mF7/6bg
ekOrKD5GsjOcKP/G6JDXniiw3s9QviGiVAQA3/n0OUQ74vHNr0pkz1EETNrl31fz
ML6Iso/3u0BzyrJDV7mpwzUXIuL0iQ==
=5pJa
-----END PGP SIGNATURE-----
--==-=-=--

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-gnu-Add-glib-minimal-and-build-glib-doc.patch

From 893613a3b99c20688cc331d2926dbee28cc143d7 Mon Sep 17 00:00:00 2001
From: Pierre Neidhardt <mail@HIDDEN>
Date: Sun, 3 Nov 2019 17:36:17 +0100
Subject: [PATCH] gnu: Add glib-minimal and build glib doc.

glib documentation must be built with gtk-doc which in turn depends on glib,
so we need to define glib-minimal which does not depend on gtk-doc.

* gnu/packages/glib.scm (glib-minimal): New variable.
(glib)[source]: Don't use `name'.
* gnu/packages/avahi.scm: Use glib-minimal when necessary.
* gnu/packages/cups.scm: Use glib-minimal when necessary.
* gnu/packages/gnome.scm: Use glib-minimal when necessary.
* gnu/packages/graphviz.scm: Use glib-minimal when necessary.
* gnu/packages/gtk.scm: Use glib-minimal when necessary.
* gnu/packages/inkscape.scm: Use glib-minimal when necessary.
* gnu/packages/pdf.scm: Use glib-minimal when necessary.
---
 gnu/packages/avahi.scm    |  4 ++--
 gnu/packages/cups.scm     |  4 ++--
 gnu/packages/glib.scm     | 35 ++++++++++++++++++++++++++---------
 gnu/packages/gnome.scm    | 16 ++++++++--------
 gnu/packages/graphviz.scm |  2 +-
 gnu/packages/gtk.scm      | 22 +++++++++++-----------
 gnu/packages/inkscape.scm |  2 +-
 gnu/packages/pdf.scm      |  4 ++--
 8 files changed, 53 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm
index e84fed6a71..0b577ca990 100644
--- a/gnu/packages/avahi.scm
+++ b/gnu/packages/avahi.scm
@@ -59,14 +59,14 @@
                            "--enable-compat-libdns_sd")))
     (inputs
      `(("expat" ,expat)
-       ("glib" ,glib)
+       ("glib" ,glib-minimal)
        ("dbus" ,dbus)
        ("gdbm" ,gdbm)
        ("libcap" ,libcap)            ;to enable chroot support in avahi-daemon
        ("libdaemon" ,libdaemon)))
     (native-inputs
      `(("intltool" ,intltool)
-       ("glib" ,glib "bin")
+       ("glib" ,glib-minimal "bin")
        ("pkg-config" ,pkg-config)))
     (synopsis "Implementation of mDNS/DNS-SD protocols")
     (description
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 694ed6b039..8a1fe66073 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -147,7 +147,7 @@
                                                out "/lib/cups/filter")))
                         #t))))))
     (native-inputs
-     `(("glib" ,glib "bin") ; for gdbus-codegen
+     `(("glib" ,glib-minimal "bin") ; for gdbus-codegen
        ("pkg-config" ,pkg-config)))
     (inputs
      `(("avahi"        ,avahi)
@@ -161,7 +161,7 @@
        ("libjpeg"      ,libjpeg)
        ("libpng"       ,libpng)
        ("libtiff"      ,libtiff)
-       ("glib"         ,glib)
+       ("glib"         ,glib-minimal)
        ("qpdf"         ,qpdf)
        ("poppler"      ,poppler)
        ("cups-minimal" ,cups-minimal)))
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index b3e85f8df9..2ac270f9c9 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -71,6 +71,7 @@
   ;; Export variables up-front to allow circular dependency with the 'xorg'
   ;; module.
   #:export (dbus
+            glib-minimal
             glib
             gobject-introspection
             dbus-glib
@@ -159,15 +160,15 @@ or through unencrypted TCP/IP suitable for use behind a firewall with
 shared NFS home directories.")
     (license license:gpl2+)))                     ; or Academic Free License 2.1
 
-(define glib
+(define glib-minimal
   (package
-   (name "glib")
+   (name "glib-minimal")
    (version "2.60.6")
    (source (origin
             (method url-fetch)
-            (uri (string-append "mirror://gnome/sources/"
-                                name "/" (string-take version 4) "/"
-                                name "-" version ".tar.xz"))
+            (uri (string-append "mirror://gnome/sources/glib/"
+                                (string-take version 4) "/"
+                                "glib-" version ".tar.xz"))
             (sha256
              (base32
               "0v7vpx2md1gn0wwiirn7g4bhf2csfvcr03y96q2zv97ain6sp3zz"))
@@ -348,6 +349,22 @@ dynamic loading, and an object system.")
    (home-page "https://developer.gnome.org/glib/")
    (license license:lgpl2.1+)))
 
+(define glib
+  (package
+    (inherit glib-minimal)
+    (name "glib")
+    (outputs (cons "doc" (package-outputs glib-minimal))) ; 20 MiB of GTK-Doc reference
+    (native-inputs
+     `(("gtk-doc" ,gtk-doc)             ; for the doc
+       ,@(package-native-inputs glib-minimal)))
+    (arguments
+     (substitute-keyword-arguments (package-arguments glib-minimal)
+       ((#:configure-flags flags)
+        `(cons (string-append "--with-html-dir="
+                              (assoc-ref %outputs "doc")
+                              "/share/gtk-doc/html")
+               ,flags))))))
+
 (define gobject-introspection
   (package
     (name "gobject-introspection")
@@ -376,11 +393,11 @@ dynamic loading, and an object system.")
     (inputs
      `(("bison" ,bison)
        ("flex" ,flex)
-       ("glib" ,glib)
+       ("glib" ,glib-minimal)
        ("python" ,python-wrapper)
        ("zlib" ,zlib)))
     (native-inputs
-     `(("glib" ,glib "bin")
+     `(("glib" ,glib-minimal "bin")
        ("pkg-config" ,pkg-config)))
     (propagated-inputs
      `(;; In practice, GIR users will need libffi when using
@@ -597,10 +614,10 @@ has an ease of use unmatched by other C++ callback libraries.")
                 "return 77;\n"))
              #t)))))
     (native-inputs `(("pkg-config" ,pkg-config)
-                     ("glib" ,glib "bin")))
+                     ("glib" ,glib-minimal "bin")))
     (propagated-inputs
      `(("libsigc++" ,libsigc++)
-       ("glib" ,glib)))
+       ("glib" ,glib-minimal)))
     (home-page "https://gtkmm.org/")
     (synopsis "C++ interface to the GLib library")
     (description
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index cd881b5b87..636c665f21 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -991,7 +991,7 @@ guidelines.")
      ;; The build system appears not to be parallel-safe.
      '(#:parallel-build? #f))
     (inputs
-     `(("glib" ,glib)
+     `(("glib" ,glib-minimal)
        ("libxml2" ,libxml2)))
     (native-inputs
      `(("intltool" ,intltool)
@@ -1282,7 +1282,7 @@ the GNOME desktop environment.")
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (inputs
-     `(("glib" ,glib)
+     `(("glib" ,glib-minimal)
        ("libxml2" ,libxml2)
        ("zlib" ,zlib)))
     (home-page "https://github.com/GNOME/libcroco")
@@ -1318,7 +1318,7 @@ XML/CSS rendering engine.")
        ("bzip2" ,bzip2)))
     (propagated-inputs
      `(("gdk-pixbuf" ,gdk-pixbuf)
-       ("glib" ,glib)
+       ("glib" ,glib-minimal)
        ("libxml2" ,libxml2)))
     (home-page "https://www.gnome.org/projects/libgsf")
     (synopsis "GNOME's Structured File Library")
@@ -1375,7 +1375,7 @@ dealing with different structured file formats.")
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("vala" ,vala)
-       ("glib" ,glib "bin")                               ; glib-mkenums, etc.
+       ("glib" ,glib-minimal "bin")                               ; glib-mkenums, etc.
        ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
     (inputs
      `(("pango" ,pango)
@@ -1387,7 +1387,7 @@ dealing with different structured file formats.")
      ;; librsvg-2.0.pc refers to all of that.
      `(("cairo" ,cairo)
        ("gdk-pixbuf" ,gdk-pixbuf)
-       ("glib" ,glib)))
+       ("glib" ,glib-minimal)))
     (home-page "https://wiki.gnome.org/LibRsvg")
     (synopsis "Render SVG files using Cairo")
     (description
@@ -1466,7 +1466,7 @@ library.")
        ("rust" ,rust-1.34)
        ("cargo" ,rust-1.34 "cargo")
        ("vala" ,vala)
-       ("glib" ,glib "bin")                               ; glib-mkenums, etc.
+       ("glib" ,glib-minimal "bin")                               ; glib-mkenums, etc.
        ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
     (inputs
      `(("pango" ,pango)
@@ -1478,7 +1478,7 @@ library.")
      ;; librsvg-2.0.pc refers to all of that.
      `(("cairo" ,cairo)
        ("gdk-pixbuf" ,gdk-pixbuf)
-       ("glib" ,glib)))
+       ("glib" ,glib-minimal)))
     (home-page "https://wiki.gnome.org/LibRsvg")
     (synopsis "Render SVG files using Cairo")
     (description
@@ -2304,7 +2304,7 @@ passwords in the GNOME keyring.")
     (inputs
      `(("graphviz" ,graphviz)))
     (propagated-inputs
-     `(("glib" ,glib))) ; required by libvala-0.40.pc
+     `(("glib" ,glib-minimal))) ; required by libvala-0.40.pc
     (home-page "https://live.gnome.org/Vala/")
     (synopsis "Compiler for the GObject type system")
     (description
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index f9667e873b..e49579cd0e 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -247,7 +247,7 @@ structure and layout algorithms.")
      `(("pkg-config" ,pkg-config)))
     (propagated-inputs
      ;; The gts.pc file has glib-2.0 as required.
-     `(("glib" ,glib)))
+     `(("glib" ,glib-minimal)))
     (home-page "http://gts.sourceforge.net/")
 
     ;; Note: Despite the name, this is not official GNU software.
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 436018efdb..cc637e7438 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -99,11 +99,11 @@
              (base32
               "1k4i817bd2w5b9z394f2yyx95591l2746wa40am0vvz4gzdgwhfb"))))
    (build-system meson-build-system)
-   (propagated-inputs `(("glib" ,glib))) ; required by atk.pc
+   (propagated-inputs `(("glib" ,glib-minimal))) ; required by atk.pc
    (native-inputs
     `(("pkg-config" ,pkg-config)
       ("gettext" ,gettext-minimal)
-      ("glib" ,glib "bin")                               ; glib-mkenums, etc.
+      ("glib" ,glib-minimal "bin")                               ; glib-mkenums, etc.
       ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
    (synopsis "GNOME accessibility toolkit")
    (description
@@ -128,7 +128,7 @@ tools have full access to view and control running applications.")
    (propagated-inputs
     `(("fontconfig" ,fontconfig)
       ("freetype" ,freetype)
-      ("glib" ,glib)
+      ("glib" ,glib-minimal)
       ("libpng" ,libpng)
       ("libx11" ,libx11)
       ("libxext" ,libxext)
@@ -197,11 +197,11 @@ affine transformation (scale, rotation, shear, etc.).")
     `(("cairo" ,cairo)))
    (propagated-inputs
     ;; There are all in the Requires or Requires.private field of '.pc'.
-    `(("glib" ,glib)
+    `(("glib" ,glib-minimal)
       ("graphite2" ,graphite2)
       ("icu4c" ,icu4c)))
    (native-inputs
-    `(("glib:bin" ,glib "bin")          ;for glib-mkenums
+    `(("glib:bin" ,glib-minimal "bin")          ;for glib-mkenums
       ("gobject-introspection" ,gobject-introspection)
       ("pkg-config" ,pkg-config)
       ("python" ,python-wrapper)
@@ -237,7 +237,7 @@ affine transformation (scale, rotation, shear, etc.).")
       ("fribidi" ,fribidi)
       ("fontconfig" ,fontconfig)
       ("freetype" ,freetype)
-      ("glib" ,glib)
+      ("glib" ,glib-minimal)
       ("harfbuzz" ,harfbuzz)))
    (inputs
     `(("zlib" ,zlib)
@@ -247,7 +247,7 @@ affine transformation (scale, rotation, shear, etc.).")
       ("libxft" ,libxft)))
    (native-inputs
     `(("pkg-config" ,pkg-config)
-      ("glib" ,glib "bin")                               ; glib-mkenums, etc.
+      ("glib" ,glib-minimal "bin")                               ; glib-mkenums, etc.
       ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
    (synopsis "GNOME text and font handling library")
    (description
@@ -507,7 +507,7 @@ highlighting and other features typical of a source code editor.")
             #t)))))
    (propagated-inputs
     `(;; Required by gdk-pixbuf-2.0.pc
-      ("glib" ,glib)
+      ("glib" ,glib-minimal)
       ("libpng" ,libpng)
       ;; Used for testing and required at runtime.
       ("shared-mime-info" ,shared-mime-info)))
@@ -518,7 +518,7 @@ highlighting and other features typical of a source code editor.")
    (native-inputs
      `(("pkg-config" ,pkg-config)
        ("gettext" ,gettext-minimal)
-       ("glib" ,glib "bin")                               ; glib-mkenums, etc.
+       ("glib" ,glib-minimal "bin")                               ; glib-mkenums, etc.
        ("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc.
    (synopsis "GNOME image loading and manipulation library")
    (description
@@ -696,7 +696,7 @@ is part of the GNOME accessibility project.")
    (native-inputs
     `(("perl" ,perl)
       ("gettext" ,gettext-minimal)
-      ("glib" ,glib "bin")
+      ("glib" ,glib-minimal "bin")
       ("gobject-introspection" ,gobject-introspection)
       ("pkg-config" ,pkg-config)
       ("python-wrapper" ,python-wrapper)))
@@ -1516,7 +1516,7 @@ information.")
        ("docbook-xml" ,docbook-xml-4.3)
        ("docbook-xsl" ,docbook-xsl)
        ("source-highlight" ,source-highlight)
-       ("glib" ,glib)
+       ("glib" ,glib-minimal)
        ("python-six" ,python-six)))
     (home-page "https://www.gtk.org/gtk-doc/")
     (synopsis "Documentation generator from C source code")
diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index 1ad23a92d4..e5d951ae1a 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -75,7 +75,7 @@
        ("boost" ,boost)))
     (native-inputs
      `(("intltool" ,intltool)
-       ("glib" ,glib "bin")
+       ("glib" ,glib-minimal "bin")
        ("perl" ,perl)
        ("pkg-config" ,pkg-config)))
     ;; FIXME: tests require gmock
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index f54200a54d..3e4a5100e6 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -119,10 +119,10 @@
     ;; As per poppler-cairo and poppler-glib.pc.
     ;; XXX: Ideally we'd propagate Cairo too, but that would require a
     ;; different solution to the circular dependency mentioned above.
-    `(("glib" ,glib)))
+    `(("glib" ,glib-minimal)))
    (native-inputs
       `(("pkg-config" ,pkg-config)
-        ("glib" ,glib "bin")                      ; glib-mkenums, etc.
+        ("glib" ,glib-minimal "bin")                      ; glib-mkenums, etc.
         ("gobject-introspection" ,gobject-introspection)))
    (arguments
     `(#:tests? #f ; no test data provided with the tarball
-- 
2.23.0


--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 29 Oct 2019 10:37:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 29 06:37:27 2019
Received: from localhost ([127.0.0.1]:46927 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iPOsR-0002rC-7S
	for submit <at> debbugs.gnu.org; Tue, 29 Oct 2019 06:37:27 -0400
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:49333)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1iPOrk-0002q1-Oj
 for 37850 <at> debbugs.gnu.org; Tue, 29 Oct 2019 06:37:25 -0400
X-Originating-IP: 92.169.151.76
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 8DCCE1C001A;
 Tue, 29 Oct 2019 10:36:42 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
In-Reply-To: <87v9sbj2ru.fsf@HIDDEN>
References: <87pniq9y2e.fsf@HIDDEN> <8736fjwcd2.fsf@HIDDEN>
 <87wocvwbmy.fsf@HIDDEN> <87pnikldtt.fsf@HIDDEN>
 <87v9sbj2ru.fsf@HIDDEN>
Date: Tue, 29 Oct 2019 11:36:41 +0100
Message-ID: <87h83ret3a.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 37850
Cc: Marius Bakke <mbakke@HIDDEN>, 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I can send a patch for Glib.

=2D-8<---------------cut here---------------start------------->8---
> guix refresh -l glib
Building the following 1645 packages would ensure 4428 dependent packages a=
re rebuilt: a
=2D-8<---------------cut here---------------end--------------->8---

I guess this is going to core-updates.

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl24FjkACgkQm9z0l6S7
zH9CCwf/ZdObEwtMTRt1mDMb7uv+T89b/rhTU4lVPSqF/fox1pxWWnbp7Ikh1RZk
++Q9bxXwtuJ84cf+1oqamDDtsJCx65A9VQejeKf1vcqyB6BeEGb0C9f+pNr85QgD
ruMQN3h25Vt4JfF5j2m+FYWXTefkhVOe1dMwbqOjhiSgBCT9oojR2ZoE/YF+zOE1
HJZEhCVCxpEiopBgV2MXvBFY5zkHxA2zYRWwue+Uugc/3bULG970E4io9jloaqDI
gU8zIxRzurcp06QDeBro37/yggbnhCqqhjzQTu6C4hX1H8msF+cv4zsmp4pEATtF
vqM49h2KJE7XubFE0jHw+t8j/4YLrg==
=k1kh
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 26 Oct 2019 09:04:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 26 05:04:59 2019
Received: from localhost ([127.0.0.1]:39684 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iOI0J-0005Qw-Hl
	for submit <at> debbugs.gnu.org; Sat, 26 Oct 2019 05:04:59 -0400
Received: from relay8-d.mail.gandi.net ([217.70.183.201]:43713)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1iOI0G-0005Qm-IC
 for 37850 <at> debbugs.gnu.org; Sat, 26 Oct 2019 05:04:58 -0400
X-Originating-IP: 92.169.151.76
Received: from mimimi (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 75DE61BF205;
 Sat, 26 Oct 2019 09:04:53 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
In-Reply-To: <87pnikldtt.fsf@HIDDEN>
References: <87pniq9y2e.fsf@HIDDEN> <8736fjwcd2.fsf@HIDDEN>
 <87wocvwbmy.fsf@HIDDEN> <87pnikldtt.fsf@HIDDEN>
Date: Sat, 26 Oct 2019 11:04:53 +0200
Message-ID: <87v9sbj2ru.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 37850
Cc: Marius Bakke <mbakke@HIDDEN>, 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Alternately, we could define a new =E2=80=9Cglib-doc=E2=80=9D package tha=
t would depend
> on the current =E2=80=9Cglib=E2=80=9D package, assuming the build system =
allows us to
> build nothing but documentation.

Some possible drawbacks:

=2D It's not consistent with the other Glib/GNOME libraries like gtk+ or
  webkitgtk which have a "doc" output.

=2D Previously we had glib:doc and no measure can be taken to let the user
  know that it's now "glib-doc".

So I would got for the glib-minimal route.

This bring me to another problem: "glib:doc" was not deprecated, so
users who installed "glib:doc" cannot update their manifests / profiles
after a guix pull.

Can we actually deprecate single outputs?
If not, isn't it a bug?

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl20DDUACgkQm9z0l6S7
zH8r8gf+KbyFIKiUVX0xDYn56UVGqyUR8s1h8V3GfS//vNzrxkS/lSyaWdTHeaVp
Oah/GHoGQp2lvROzFOFJm7AZhqOuyR4QaUdS5mFDrvOCh363ZLEGEYak/g8rw76r
79rNylydT8HdkggIhXaqoixNbWgHD6OmWlDEp4nXV9ujDu4L16Qh/rzGu/nbAVfl
9LInaxZApj54rethAW0gXoPs9B/o5pAFpZnvX3elvz5Cw/jZUzI83nBq6U4D618n
azyY682ZVg1gSO231rGVqVxnZUUBH1K6FBT+SiqVsBNXx0uSC+qAD+dqTwZtzAED
8AS1KJvl4KVvN73idqJ5N5QI2mPyEA==
=RxzE
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 25 Oct 2019 21:23:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 25 17:23:23 2019
Received: from localhost ([127.0.0.1]:39482 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iO73L-0002ug-Ir
	for submit <at> debbugs.gnu.org; Fri, 25 Oct 2019 17:23:23 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59795)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iO73F-0002uO-Ob
 for 37850 <at> debbugs.gnu.org; Fri, 25 Oct 2019 17:23:21 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:59069)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iO73A-0002Ne-Dq; Fri, 25 Oct 2019 17:23:12 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46780 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1iO73A-00013y-0g; Fri, 25 Oct 2019 17:23:12 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#37850: Glib documentation is missing
References: <87pniq9y2e.fsf@HIDDEN> <8736fjwcd2.fsf@HIDDEN>
 <87wocvwbmy.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 4 Brumaire an 228 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Fri, 25 Oct 2019 23:23:10 +0200
In-Reply-To: <87wocvwbmy.fsf@HIDDEN> (Pierre Neidhardt's message of
 "Wed, 23 Oct 2019 20:38:13 +0200")
Message-ID: <87pnikldtt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 37850
Cc: Marius Bakke <mbakke@HIDDEN>, 37850 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Pierre Neidhardt <mail@HIDDEN> skribis:

> Marius Bakke <mbakke@HIDDEN> writes:

[...]

>> 'gtk-doc' unsurprisingly depends on GLib, so I'm not sure what the best
>> approach is.
>
> What about the following:
>
> 1. Turn our current glib into glib-minimal.
>
> 2. Build gtk-doc against glib-minimal.
>
> 3. Define a new glib package that inherits from glib-minimal and adds
> gtk-doc as native-inputs so that we can restore the "doc" output.

Alternately, we could define a new =E2=80=9Cglib-doc=E2=80=9D package that =
would depend
on the current =E2=80=9Cglib=E2=80=9D package, assuming the build system al=
lows us to
build nothing but documentation.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 23 Oct 2019 18:38:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 23 14:38:18 2019
Received: from localhost ([127.0.0.1]:35009 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iNLWU-000166-8c
	for submit <at> debbugs.gnu.org; Wed, 23 Oct 2019 14:38:18 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:50697)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1iNLWS-00015w-A8
 for 37850 <at> debbugs.gnu.org; Wed, 23 Oct 2019 14:38:16 -0400
X-Originating-IP: 92.169.151.76
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 18B99240002;
 Wed, 23 Oct 2019 18:38:13 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: Marius Bakke <mbakke@HIDDEN>, 37850 <at> debbugs.gnu.org
Subject: Re: bug#37850: Glib documentation is missing
In-Reply-To: <8736fjwcd2.fsf@HIDDEN>
References: <87pniq9y2e.fsf@HIDDEN> <8736fjwcd2.fsf@HIDDEN>
Date: Wed, 23 Oct 2019 20:38:13 +0200
Message-ID: <87wocvwbmy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: 37850
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Marius Bakke <mbakke@HIDDEN> writes:

> Installing the GLib documentation now requires 'gtk-doc' at build time:
>
> https://gitlab.gnome.org/GNOME/glib/blob/master/meson_options.txt

Thanks for looking into this!

> 'gtk-doc' unsurprisingly depends on GLib, so I'm not sure what the best
> approach is.

What about the following:

1. Turn our current glib into glib-minimal.

2. Build gtk-doc against glib-minimal.

3. Define a new glib package that inherits from glib-minimal and adds
gtk-doc as native-inputs so that we can restore the "doc" output.

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2wnhUACgkQm9z0l6S7
zH8aOgf/XTmxGdGDs34gOFDdodBhrouYwKug3B/IDNlZ/GxotIaBK5FGv+aP8Vxs
8L5fz9vJaWU1HiiPsYeja7B34XPP4jF6J7slfcUt3Hzlf30WR4TogPOSsh5MCbRb
/XyGARiWYMB9SDvctX3iwmCLQVsMkxpfu8SaEINnrD+Qemo8sphXNfSJ5dtCD/SN
bAH2S/fp0nBQh1hRmPUjs6lKciderxdYK2eHjY5l9K4WaiHyN4w6s6NDF3o9Gp49
2hEkDl2sjfZnkabopo1PRxF33y8ydt3ZlkjCAGLZ4lbHIGEgyHhwYz+BpbAdx2/5
fUU1fFVa0QoMZAE5SXev6ukUk4WcDQ==
=0uzt
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at 37850 <at> debbugs.gnu.org:


Received: (at 37850) by debbugs.gnu.org; 23 Oct 2019 18:22:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 23 14:22:44 2019
Received: from localhost ([127.0.0.1]:35001 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iNLHP-0000gs-OR
	for submit <at> debbugs.gnu.org; Wed, 23 Oct 2019 14:22:44 -0400
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:33003)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1iNLHN-0000gV-5v
 for 37850 <at> debbugs.gnu.org; Wed, 23 Oct 2019 14:22:41 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id C9ACD20CBC;
 Wed, 23 Oct 2019 14:22:35 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Wed, 23 Oct 2019 14:22:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 from:to:subject:in-reply-to:references:date:message-id
 :mime-version:content-type; s=fm1; bh=o/4MAztQ65KauGtJnXJ5gk1MgZ
 QmvjtFruQhTmlG700=; b=U+ZzZJmb8yO4BHOyMhD6JnOKVVsz6a5yhntejynRsp
 mo92tjgjVSR47l5q2gtuUUa/304zycDiDL7N5Yb+4yl5S8BYLP8/U3stDnisjsc+
 ukPIxO9Fx+rsBokvNbgUN4bX7aLi+ltErQeEQl0Htqrb8nSb0PkUjD6t1xRHXzaR
 t1C2Zl+7oj4IOVr1wSJTN1bkf0SUqlEfu5IOfDjRmwWQb9oA0pRIlei7bvqN3w3y
 GabJtgvES7ypuM8yA2iusSKq2qsCwcHHRB5DwF68zZOndKWAnBzEkEaLsoUg9cpo
 Cr+xOtktL2Qjbw5vuJBLF9LMihRw9fSJUZ5Mwu4T6jWw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=o/4MAz
 tQ65KauGtJnXJ5gk1MgZQmvjtFruQhTmlG700=; b=Oeq2Ot8pWoCGIDFnd7PX+P
 c2ECj4oqJCEBWHpVPBIcNPVpOI6Ke9A2LWzIhVQJH+J+I3GEl8SX+SYu18k/LMJo
 l70z8Dp3QaKQnwYsTqSsB4O5MHVLejGYgYjELVHV+3K3kt8Ag2g7gSqzpufUlMfG
 mFyH+hIVb7O2/wF1ESeriTqHLKiPTYr2ns6/VwrGlTsAwl6AdxppwgShGYeMRgVm
 DBsuFVv2b8HIbvCwdCJu/Hp0RhBjPRkw+U0LMeHYiV43l6dIOZPLyj8UI1nvRL8l
 qaBa9XPBbgeJRt8qbvkOiC+v1HNXnxf+q2bLryO9f1CEyH9b+2yffRYTaK//BeSQ
 ==
X-ME-Sender: <xms:a5qwXXgLExZcnNSVZF56RAlNvudxmpEnj92KuY2AdJ3FPQ6qvTiPVg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrkeelgdduvdehucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdludejmdenucfjughrpefhvf
 fujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgv
 uceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecuffhomhgrihhnpehgnhhomh
 gvrdhorhhgnecukfhppeeivddrudeirdduledvrdduhedtnecurfgrrhgrmhepmhgrihhl
 fhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuih
 iivgeptd
X-ME-Proxy: <xmx:a5qwXbep29a9O997WOpdUoBHL1YyjXVTY6znxH5BSzt09ZJUh38sww>
 <xmx:a5qwXUe1MzEv9gQDstPTJAtLdyMNJVMmI7Ljj94bWdjicKujuN6WNQ>
 <xmx:a5qwXd98IABlXpqD3e2JyKUi6LHIOHhS4yjIgO4uklcMqiHD3q_RIQ>
 <xmx:a5qwXRpe_vjbZLmPaTAad4TzCniaozQ2sj-Mvo-Fun_UfPOqONGc5A>
Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150])
 by mail.messagingengine.com (Postfix) with ESMTPA id 4F44DD6005B;
 Wed, 23 Oct 2019 14:22:35 -0400 (EDT)
From: Marius Bakke <mbakke@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>, 37850 <at> debbugs.gnu.org
Subject: Re: bug#37850: Glib documentation is missing
In-Reply-To: <87pniq9y2e.fsf@HIDDEN>
References: <87pniq9y2e.fsf@HIDDEN>
User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2
 (x86_64-pc-linux-gnu)
Date: Wed, 23 Oct 2019 20:22:33 +0200
Message-ID: <8736fjwcd2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 37850
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

Pierre Neidhardt <mail@HIDDEN> writes:

> Since the last core-update merge, glib 2.58.1+ does not include the
> documentation anymore (it was in the "doc" output).
>
> Documentation for Glib/GTK-based libraries is very useful for
> developers: it allows offline and contextual access from any text
> editor.
>
> This is why it would be nice to include it back.
>
> Commit 6c237a2d7bfa3c7be02c069e5c24a2b401a51864 (June 21st) states
>
> --8<---------------cut here---------------start------------->8---
> [outputs]: Remove "doc" as the documentation files are no longer included.
> --8<---------------cut here---------------end--------------->8---
>
> However looking at the source of Glib I cannot find trace of this in the
> NEWS file nor in the INSTALL.in file.  Disclaimer: I haven't tried
> building glib.
>
> Maybe we miss a compilation flag?

Installing the GLib documentation now requires 'gtk-doc' at build time:

https://gitlab.gnome.org/GNOME/glib/blob/master/meson_options.txt

'gtk-doc' unsurprisingly depends on GLib, so I'm not sure what the best
approach is.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2wmmkACgkQoqBt8qM6
VPoxpggA1djnGNf3X48JToNrRlGUP/pFPn9KboUTrfRizxxy2YxIGlKGI8q+Sp2P
4jll5S6ygS6+/QyHMYRbNsbCfnJSjPQsn86+KE7a74J+umBuN/v1IzAXBunl5lpL
DpaYxr8D5ZbHAfT3/8ZGcjhuOxSBAtU/680weTdgdZlXRXat2tDaxkWVWND86SVq
TfNj7u0c9ClfFFn8wEPRD8NcJipTJJHPrUJammUPPW1HL2xV1D3CxOOhIWSZuTmZ
9FQQ8+KtfJz9XifMxVijE2kqBKHzsEs0XNBbd8LUMyQ5sfPb5usYVUTZlkk6Eogg
6AfP9bu+TLMNZw27oVeyNtD0rWhNxg==
=a4wM
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Oct 2019 10:45:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 21 06:45:42 2019
Received: from localhost ([127.0.0.1]:55783 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iMVC2-00064A-2S
	for submit <at> debbugs.gnu.org; Mon, 21 Oct 2019 06:45:42 -0400
Received: from lists.gnu.org ([209.51.188.17]:55856)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1iMVBx-000640-7O
 for submit <at> debbugs.gnu.org; Mon, 21 Oct 2019 06:45:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44546)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <mail@HIDDEN>) id 1iMVBv-0001iC-W0
 for bug-guix@HIDDEN; Mon, 21 Oct 2019 06:45:36 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1iMVBu-0006Za-Bl
 for bug-guix@HIDDEN; Mon, 21 Oct 2019 06:45:35 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:35691)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mail@HIDDEN>) id 1iMVBu-0006Yq-5A
 for bug-guix@HIDDEN; Mon, 21 Oct 2019 06:45:34 -0400
X-Originating-IP: 92.169.151.76
Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76])
 (Authenticated sender: pierre@HIDDEN)
 by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 5F54D24000F;
 Mon, 21 Oct 2019 10:45:30 +0000 (UTC)
From: Pierre Neidhardt <mail@HIDDEN>
To: bug-guix@HIDDEN
Subject: Glib documentation is missing
Date: Mon, 21 Oct 2019 12:45:29 +0200
Message-ID: <87pniq9y2e.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 217.70.183.193
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Ricardo Wurmus <rekado@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Since the last core-update merge, glib 2.58.1+ does not include the
documentation anymore (it was in the "doc" output).

Documentation for Glib/GTK-based libraries is very useful for
developers: it allows offline and contextual access from any text
editor.

This is why it would be nice to include it back.

Commit 6c237a2d7bfa3c7be02c069e5c24a2b401a51864 (June 21st) states

=2D-8<---------------cut here---------------start------------->8---
[outputs]: Remove "doc" as the documentation files are no longer included.
=2D-8<---------------cut here---------------end--------------->8---

However looking at the source of Glib I cannot find trace of this in the
NEWS file nor in the INSTALL.in file.  Disclaimer: I haven't tried
building glib.

Maybe we miss a compilation flag?

What do you think?  Ricardo?

Cheers!

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2tjEkACgkQm9z0l6S7
zH+gNQf/WyThZvGKaZsSOcfDmr+sKDvpIciJeoI2WLcRpkl4bW6j15Q1gYWD7r21
D5itKLuzbwxn7AAsbOcNnyNSTJtB4oo0p+wfHo4zGnYzWGJApxYIRXsWtNkNAiLf
o2ZpxtLwsI8GIaUVbXB4WTi2/ndgHjC/WgdGtao53MFVpLZFyzbbzMs+B1FVWzG6
tw64i0YUNqtzqhWRgr8ZA2ODl9hNWc4gbFHIRl2QUVkT0GaOk844EmVe6+Y/4tSd
PVrxW9Q5NSKqyIKbRxbcXs7cvFXgU0KN1KAVWHXCXkNYhLQN9Ayg52wb+53qHCmR
tF4X9lLZH6QJX/58cli4N5Z2P4cvpw==
=NaQk
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Pierre Neidhardt <mail@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#37850; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 15 Nov 2019 12:30:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.