* [gentoo-commits] repo/gentoo:master commit in: app-misc/muttprint/files/, app-misc/muttprint/
@ 2016-09-23 11:59 José María Alonso
0 siblings, 0 replies; 2+ messages in thread
From: José María Alonso @ 2016-09-23 11:59 UTC (permalink / raw
To: gentoo-commits
commit: a5b4bada329039b84af4b31a81378f8befdabf53
Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 23 11:59:29 2016 +0000
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Fri Sep 23 11:59:29 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b4bada
app-misc/muttprint: Bump to update the RegEx which calculates de number of pages
Fixes bug #594722
Package-Manager: portage-2.2.28
.../files/muttprint-0.73-fix-number-of-pages.patch | 12 ++++
app-misc/muttprint/muttprint-0.73-r4.ebuild | 76 ++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch b/app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch
new file mode 100644
index 00000000..0e7a4b4
--- /dev/null
+++ b/app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch
@@ -0,0 +1,12 @@
+diff -Nuar a/muttprint b/muttprint
+--- a/muttprint 2016-09-23 10:03:48.870030157 +0200
++++ b/muttprint 2016-09-23 10:08:39.310036004 +0200
+@@ -1635,7 +1635,7 @@
+ open (AUX, "$auxfile") or fatalError "Could not open $auxfile:\n$!";
+
+ while (<AUX>) {
+- ($numberOfPages) = /\\newlabel{LastPage}{{}{(\d+)}}/;
++ ($numberOfPages) = /\\newlabel\{LastPage}\{\{}\{(\d+)}}/;
+ }
+
+ close AUX or fatalError "Could not close $auxfile:\n$!";
diff --git a/app-misc/muttprint/muttprint-0.73-r4.ebuild b/app-misc/muttprint/muttprint-0.73-r4.ebuild
new file mode 100644
index 00000000..34988ed
--- /dev/null
+++ b/app-misc/muttprint/muttprint-0.73-r4.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools-utils eutils
+
+DESCRIPTION="Script for pretty printing of your mails"
+HOMEPAGE="http://muttprint.sourceforge.net"
+SRC_URI="mirror://sourceforge/muttprint/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc"
+
+DEPEND="dev-lang/perl
+ virtual/latex-base
+ dev-texlive/texlive-fontsextra
+ doc? (
+ app-text/dvipsk
+ app-text/docbook-sgml-utils[jadetex] )"
+
+RDEPEND="dev-lang/perl
+ virtual/latex-base
+ dev-texlive/texlive-latexextra"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+patch_docs() {
+ sed -i -e 's/db2pdf/docbook2pdf/' "${S}"/configure.ac || die
+ for l in de en es it sl
+ do
+ sed -i -e "/^docdir/s/$/-${PV}/" \
+ -e 's/db2/docbook2/' -e 's/ -s / -d /' \
+ -e "s|manual-${l}-sed/||" \
+ -e "s/mv manual-${l}-sed.dvi/cp manual-${l}-sed.dvi/" \
+ "${S}"/doc/manual/${l}/Makefile.am || die
+ done
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-warning.patch"
+ epatch "${FILESDIR}/${P}-manuals.patch"
+ epatch "${FILESDIR}/${P}-pod-encoding.patch"
+ epatch "${FILESDIR}/${P}-fix-number-of-pages.patch"
+
+ if use doc ; then
+ # Patch docbook and docdir
+ patch_docs
+ else
+ # Don't do manuals
+ sed -i -e '/db2pdf/d' "${S}"/configure.ac || die
+ fi
+ sed -i -e "/^docdir/s/$/-${PV}/" "${S}"/Makefile.am || die
+
+ # The distfile does not include the png files, nor penguin.jpg
+ sed -i -e '/.*png /d' -e '/penguin.jpg /d' "${S}"/pics/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --docdir="/usr/share/doc/${PF}"
+}
+
+src_compile() {
+ # Parallel build does not work when USE="doc"
+ emake -j1
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/muttprint/files/, app-misc/muttprint/
@ 2017-04-19 8:45 José María Alonso
0 siblings, 0 replies; 2+ messages in thread
From: José María Alonso @ 2017-04-19 8:45 UTC (permalink / raw
To: gentoo-commits
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 4219 bytes --]
commit: 67d5285c58c7140c224093f905abb70befa5b202
Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 19 08:44:51 2017 +0000
Commit: José MarÃa Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Wed Apr 19 08:45:15 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d5285c
app-misc/muttprint: Drops old version
Package-Manager: Portage-2.3.3, Repoman-2.3.1
.../files/muttprint-0.73-r3-pod-encoding.patch | 36 -----------
app-misc/muttprint/muttprint-0.73-r3.ebuild | 75 ----------------------
2 files changed, 111 deletions(-)
diff --git a/app-misc/muttprint/files/muttprint-0.73-r3-pod-encoding.patch b/app-misc/muttprint/files/muttprint-0.73-r3-pod-encoding.patch
deleted file mode 100644
index 1a939582c1b..00000000000
--- a/app-misc/muttprint/files/muttprint-0.73-r3-pod-encoding.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Nuar a/doc/manpages/de/muttprint.pod b/doc/manpages/de/muttprint.pod
---- a/doc/manpages/de/muttprint.pod 2006-05-06 09:13:46.000000000 +0200
-+++ b/doc/manpages/de/muttprint.pod 2014-12-19 23:17:31.939783684 +0100
-@@ -1,3 +1,5 @@
-+=encoding latin1
-+
- =head1 NAME
-
- muttprint - schöner Ausdruck von Mails mit Mutt
-diff -Nuar a/doc/manpages/en/muttprint.pod b/doc/manpages/en/muttprint.pod
---- a/doc/manpages/en/muttprint.pod 2006-05-06 09:13:46.000000000 +0200
-+++ b/doc/manpages/en/muttprint.pod 2014-12-19 23:17:15.219783778 +0100
-@@ -1,3 +1,5 @@
-+=encoding latin1
-+
- =head1 NAME
-
- muttprint - pretty printing of mails with Mutt
-diff -Nuar a/doc/manpages/es/muttprint.pod b/doc/manpages/es/muttprint.pod
---- a/doc/manpages/es/muttprint.pod 2006-05-06 09:13:46.000000000 +0200
-+++ b/doc/manpages/es/muttprint.pod 2014-12-19 23:17:25.029783723 +0100
-@@ -1,3 +1,5 @@
-+=encoding latin1
-+
- =head1 NOMBRE
-
- muttprint - impresión elegante de mensajes de correo con Mutt
-diff -Nuar a/doc/manpages/it/muttprint.pod b/doc/manpages/it/muttprint.pod
---- a/doc/manpages/it/muttprint.pod 2006-05-06 09:13:46.000000000 +0200
-+++ b/doc/manpages/it/muttprint.pod 2014-12-19 23:17:39.779783640 +0100
-@@ -1,3 +1,5 @@
-+=encoding latin1
-+
- =head1 NOME
-
- muttprint - stampa raffinata della posta elettronica con Mutt
diff --git a/app-misc/muttprint/muttprint-0.73-r3.ebuild b/app-misc/muttprint/muttprint-0.73-r3.ebuild
deleted file mode 100644
index 01ae5b79d36..00000000000
--- a/app-misc/muttprint/muttprint-0.73-r3.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools-utils eutils
-
-DESCRIPTION="Script for pretty printing of your mails"
-HOMEPAGE="http://muttprint.sourceforge.net"
-SRC_URI="mirror://sourceforge/muttprint/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="doc"
-
-DEPEND="dev-lang/perl
- virtual/latex-base
- dev-texlive/texlive-fontsextra
- doc? (
- app-text/dvipsk
- app-text/docbook-sgml-utils[jadetex] )"
-
-RDEPEND="dev-lang/perl
- virtual/latex-base
- dev-texlive/texlive-latexextra"
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
-patch_docs() {
- sed -i -e 's/db2pdf/docbook2pdf/' "${S}"/configure.ac || die
- for l in de en es it sl
- do
- sed -i -e "/^docdir/s/$/-${PV}/" \
- -e 's/db2/docbook2/' -e 's/ -s / -d /' \
- -e "s|manual-${l}-sed/||" \
- -e "s/mv manual-${l}-sed.dvi/cp manual-${l}-sed.dvi/" \
- "${S}"/doc/manual/${l}/Makefile.am || die
- done
-}
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-warning.patch"
- epatch "${FILESDIR}/${P}-manuals.patch"
- epatch "${FILESDIR}/${PF}-pod-encoding.patch"
-
- if use doc ; then
- # Patch docbook and docdir
- patch_docs
- else
- # Don't do manuals
- sed -i -e '/db2pdf/d' "${S}"/configure.ac || die
- fi
- sed -i -e "/^docdir/s/$/-${PV}/" "${S}"/Makefile.am || die
-
- # The distfile does not include the png files, nor penguin.jpg
- sed -i -e '/.*png /d' -e '/penguin.jpg /d' "${S}"/pics/Makefile.am || die
-
- eautoreconf
-}
-
-src_configure() {
- econf --docdir="/usr/share/doc/${PF}"
-}
-
-src_compile() {
- # Parallel build does not work when USE="doc"
- emake -j1
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- dodoc ChangeLog
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-19 8:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-23 11:59 [gentoo-commits] repo/gentoo:master commit in: app-misc/muttprint/files/, app-misc/muttprint/ José María Alonso
-- strict thread matches above, loose matches on Subject: below --
2017-04-19 8:45 José María Alonso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox