pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[Patch] PDF builds on Red Hat for <= 9.6
3+ messages / 2 participants
[nested] [flat]

* [Patch] PDF builds on Red Hat for <= 9.6
@ 2017-11-08 16:29 Devrim Gündüz <devrim@gunduz.org>
  2017-11-08 16:54 ` Re: [Patch] PDF builds on Red Hat for <= 9.6 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Devrim Gündüz @ 2017-11-08 16:29 UTC (permalink / raw)
  To: pgsql-docs


Hi,

Every time I install a new laptop, I lose a few hours while building Postgres
PDFs, because of some missing packages, so time to send a patch.

Attached is a small patch that updates docguide.sgml, and adds two missing
RPMs.

We don't need this patch for >= 10.

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachments:

pgsql-docguide-redhat.patch (text/x-patch, 519B) download diff --git a/doc/src/sgml/docguide.sgml b/doc/src/sgml/docguide.sgml index f8389c74c1..8f8cefb8d6 100644 --- a/doc/src/sgml/docguide.sgml +++ b/doc/src/sgml/docguide.sgml @@ -212,7 +212,7 @@ <para> To install the required packages, use: <programlisting> -yum install docbook-dtds docbook-style-dsssl docbook-style-xsl libxslt openjade +yum install docbook-dtds docbook-style-dsssl docbook-style-xsl libxslt openjade texlive-collection-fontsrecommended texlive-times </programlisting> </para> </sect2>
signature.asc (application/pgp-signature, 832B) download ^ permalink raw reply [nested|flat] 3+ messages in thread

* Re: [Patch] PDF builds on Red Hat for <= 9.6
  2017-11-08 16:29 [Patch] PDF builds on Red Hat for <= 9.6 Devrim Gündüz <devrim@gunduz.org>
@ 2017-11-08 16:54 ` Tom Lane <tgl@sss.pgh.pa.us>
  2017-11-08 17:07   ` Re: [Patch] PDF builds on Red Hat for <= 9.6 Devrim Gündüz <devrim@gunduz.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2017-11-08 16:54 UTC (permalink / raw)
  To: Devrim Gündüz <devrim@gunduz.org>; +Cc: pgsql-docs

Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= <devrim@gunduz.org> writes:
> Every time I install a new laptop, I lose a few hours while building Postgres
> PDFs, because of some missing packages, so time to send a patch.
>
> -yum install docbook-dtds docbook-style-dsssl docbook-style-xsl libxslt openjade
> +yum install docbook-dtds docbook-style-dsssl docbook-style-xsl libxslt openjade texlive-collection-fontsrecommended texlive-times

Hm ... my RHEL6 machine, which certainly can build the documentation,
hasn't got either of those:

$ rpm -qa | grep texlive | sort
texlive-2007-60.el6_7.x86_64
texlive-dvips-2007-60.el6_7.x86_64
texlive-latex-2007-60.el6_7.x86_64
texlive-texmf-2007-39.el6_7.noarch
texlive-texmf-dvips-2007-39.el6_7.noarch
texlive-texmf-errata-2007-7.1.el6.noarch
texlive-texmf-errata-dvips-2007-7.1.el6.noarch
texlive-texmf-errata-fonts-2007-7.1.el6.noarch
texlive-texmf-errata-latex-2007-7.1.el6.noarch
texlive-texmf-fonts-2007-39.el6_7.noarch
texlive-texmf-latex-2007-39.el6_7.noarch
texlive-utils-2007-60.el6_7.x86_64

So evidently Red Hat has refactored their TeX RPMs since then.
I don't doubt Devrim's conclusions are good for recent Red Hat
releases, but we might want to add some weasel wording saying
that the required package set has moved around.

Personally, my longstanding habit has been to select the
"Authoring & Publishing" package set when installing any new
RHEL or Fedora box, and as far as I can recall, that's always
Just Worked for building PG docs.  Maybe we should mention
that strategy as a preferable one.

			regards, tom lane


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [Patch] PDF builds on Red Hat for <= 9.6
  2017-11-08 16:29 [Patch] PDF builds on Red Hat for <= 9.6 Devrim Gündüz <devrim@gunduz.org>
  2017-11-08 16:54 ` Re: [Patch] PDF builds on Red Hat for <= 9.6 Tom Lane <tgl@sss.pgh.pa.us>
@ 2017-11-08 17:07   ` Devrim Gündüz <devrim@gunduz.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Devrim Gündüz @ 2017-11-08 17:07 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-docs


Hi Tom,

On Wed, 2017-11-08 at 11:54 -0500, Tom Lane wrote:
> Hm ... my RHEL6 machine, which certainly can build the documentation,
> hasn't got either of those:
<snip>

> So evidently Red Hat has refactored their TeX RPMs since then.
> I don't doubt Devrim's conclusions are good for recent Red Hat
> releases,

Right, I tested on Fedora 26, and then on RHEL 7. Sorry.

>  but we might want to add some weasel wording saying
> that the required package set has moved around.
> 
> Personally, my longstanding habit has been to select the
> "Authoring & Publishing" package set when installing any new
> RHEL or Fedora box, and as far as I can recall, that's always
> Just Worked for building PG docs.  Maybe we should mention
> that strategy as a preferable one.

This will install extra packages, which are not needed, but given that very few
people will install this set, I am fine with this solution.

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2017-11-08 17:07 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-11-08 16:29 [Patch] PDF builds on Red Hat for <= 9.6 Devrim Gündüz <devrim@gunduz.org>
2017-11-08 16:54 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-11-08 17:07   ` Devrim Gündüz <devrim@gunduz.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox