Update to gnome-doc-utils-0.20.7.

This commit is contained in:
ajacoutot 2012-03-03 10:30:56 +00:00
parent 6068a7a843
commit 5f8b20489e
5 changed files with 86 additions and 30 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.51 2011/09/28 09:47:46 jasper Exp $
# $OpenBSD: Makefile,v 1.52 2012/03/03 10:30:56 ajacoutot Exp $
# This port does set MODGNOME_TOOLS=yelp on purpose: it would create a
# dependency on itself. We do not enforce dependency on x11/gnome/yelp
@ -7,8 +7,7 @@
COMMENT= collection of documentation utilities for the GNOME project
GNOME_PROJECT= gnome-doc-utils
GNOME_VERSION= 0.20.6
REVISION= 1
GNOME_VERSION= 0.20.7
CATEGORIES= textproc
@ -18,8 +17,6 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
EXTRACT_SUFX= .tar.bz2
MODULES= lang/python \
x11/gnome
@ -30,15 +27,17 @@ BUILD_DEPENDS= ${RUN_DEPENDS} \
RUN_DEPENDS= devel/gettext \
misc/gnugetopt \
textproc/libxml,-python \
textproc/libxslt,-python \
textproc/libxslt \
textproc/rarian
USE_LIBTOOL= No
USE_GROFF= Yes
MODGNOME_CPPFLAGS=${CFLAGS}
FAKE_FLAGS+= pkgconfigdir="${PREFIX}/lib/pkgconfig/"
pre-configure:
${SUBST_CMD} ${WRKSRC}/xml2po/xml2po.1
post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
${PREFIX}/lib/python${MODPY_VERSION}/site-packages/xml2po/

View File

@ -1,5 +1,5 @@
MD5 (gnome/gnome-doc-utils-0.20.6.tar.bz2) = j24FBxWZvAcwB4MOoKaDkQ==
RMD160 (gnome/gnome-doc-utils-0.20.6.tar.bz2) = 0zPNhNGuFATzkTyq9RvoM/hWlrs=
SHA1 (gnome/gnome-doc-utils-0.20.6.tar.bz2) = wR3aPP9CSKaRjPrw17iS/CC/Mp4=
SHA256 (gnome/gnome-doc-utils-0.20.6.tar.bz2) = CRSG43BIC/RTSa0J2seZIRCSoCk4smoNaCBhcsts678=
SIZE (gnome/gnome-doc-utils-0.20.6.tar.bz2) = 716487
MD5 (gnome/gnome-doc-utils-0.20.7.tar.xz) = wHsnWUM+yeM3cSogxjET+w==
RMD160 (gnome/gnome-doc-utils-0.20.7.tar.xz) = RTNX/h5RBBEHlaHOqfrblLpP0Og=
SHA1 (gnome/gnome-doc-utils-0.20.7.tar.xz) = 2b/0hD/1dKLhAHtZd1IF5dkXI/w=
SHA256 (gnome/gnome-doc-utils-0.20.7.tar.xz) = 2KQBE7yvomPj9K8KnchfkTwE8SCYMXre5iphUp/BjAY=
SIZE (gnome/gnome-doc-utils-0.20.7.tar.xz) = 519160

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-doc_xslt_Makefile_in,v 1.6 2010/12/20 15:04:50 jasper Exp $
$OpenBSD: patch-doc_xslt_Makefile_in,v 1.7 2012/03/03 10:30:56 ajacoutot Exp $
See:
http://bugzilla.gnome.org/show_bug.cgi?id=565456
--- doc/xslt/Makefile.in.orig Mon Dec 20 15:05:53 2010
+++ doc/xslt/Makefile.in Mon Dec 20 15:54:31 2010
@@ -983,7 +983,7 @@ gnome-doc-xslt-check-includes:
--- doc/xslt/Makefile.in.orig Fri Mar 2 20:45:58 2012
+++ doc/xslt/Makefile.in Sat Mar 3 11:09:50 2012
@@ -1001,7 +1001,7 @@ gnome-doc-xslt-check-includes:
xmls=`echo $(xsldoc_base) | sort`; \
exs=""; \
for xml in $$xmls; do \

View File

@ -0,0 +1,61 @@
$OpenBSD: patch-xml2po_xml2po_1,v 1.1 2012/03/03 10:30:56 ajacoutot Exp $
--- xml2po/xml2po.1.orig Sat Mar 3 11:10:02 2012
+++ xml2po/xml2po.1 Sat Mar 3 11:11:29 2012
@@ -118,7 +118,7 @@ chapter2\&.xml
.RS 4
.\}
.nf
- \fB/usr/bin/xml2po\fR \fB\-o\fR book\&.pot book\&.xml chapter1\&.xml chapter2\&.xml
+ \fB${TRUEPREFIX}/bin/xml2po\fR \fB\-o\fR book\&.pot book\&.xml chapter1\&.xml chapter2\&.xml
.fi
.if n \{\
@@ -133,7 +133,7 @@ option:
.RS 4
.\}
.nf
- \fB/usr/bin/xml2po\fR \fB\-e \-o\fR book\&.pot book\&.xml
+ \fB${TRUEPREFIX}/bin/xml2po\fR \fB\-e \-o\fR book\&.pot book\&.xml
.fi
.if n \{\
@@ -152,9 +152,9 @@ option for each XML file:
.RS 4
.\}
.nf
- \fB/usr/bin/xml2po\fR \fB\-p\fR LANG\&.po \fB\-o\fR book\&.LANG\&.xml book\&.xml
- \fB/usr/bin/xml2po\fR \fB\-p\fR LANG\&.po \fB\-o\fR chapter1\&.LANG\&.xml chapter1\&.xml
- \fB/usr/bin/xml2po\fR \fB\-p\fR LANG\&.po \fB\-o\fR chapter2\&.LANG\&.xml chapter2\&.xml
+ \fB${TRUEPREFIX}/bin/xml2po\fR \fB\-p\fR LANG\&.po \fB\-o\fR book\&.LANG\&.xml book\&.xml
+ \fB${TRUEPREFIX}/bin/xml2po\fR \fB\-p\fR LANG\&.po \fB\-o\fR chapter1\&.LANG\&.xml chapter1\&.xml
+ \fB${TRUEPREFIX}/bin/xml2po\fR \fB\-p\fR LANG\&.po \fB\-o\fR chapter2\&.LANG\&.xml chapter2\&.xml
.fi
.if n \{\
@@ -169,7 +169,7 @@ option to expand entities, you should use it again to
.RS 4
.\}
.nf
- \fB/usr/bin/xml2po\fR \fB\-e \-p\fR LANG\&.po \fB\-o\fR book\&.LANG\&.xml book\&.xml
+ \fB${TRUEPREFIX}/bin/xml2po\fR \fB\-e \-p\fR LANG\&.po \fB\-o\fR book\&.LANG\&.xml book\&.xml
.fi
.if n \{\
@@ -187,7 +187,7 @@ to merge the translation with the new POT file:
.RS 4
.\}
.nf
- \fB/usr/bin/msgmerge\fR \fB\-o\fR tmp\&.po LANG\&.po book\&.pot
+ \fB${LOCALBASE}/bin/msgmerge\fR \fB\-o\fR tmp\&.po LANG\&.po book\&.pot
.fi
.if n \{\
@@ -212,7 +212,7 @@ if you decided earlier to expand entities:
.RS 4
.\}
.nf
- \fB/usr/bin/xml2po\fR \fB\-u\fR LANG\&.po book\&.xml
+ \fB${TRUEPREFIX}/bin/xml2po\fR \fB\-u\fR LANG\&.po book\&.xml
.fi
.if n \{\

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.13 2011/03/22 15:48:18 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.14 2012/03/03 10:30:56 ajacoutot Exp $
bin/gnome-doc-prepare
bin/gnome-doc-tool
bin/xml2po
@ -24,8 +24,8 @@ lib/python${MODPY_VERSION}/site-packages/xml2po/modes/gs.pyo
lib/python${MODPY_VERSION}/site-packages/xml2po/modes/mallard.py
lib/python${MODPY_VERSION}/site-packages/xml2po/modes/mallard.pyc
lib/python${MODPY_VERSION}/site-packages/xml2po/modes/mallard.pyo
@comment lib/python${MODPY_VERSION}/site-packages/xml2po/modes/ubuntu.py
@comment lib/python${MODPY_VERSION}/site-packages/xml2po/modes/ubuntu.pyc
lib/python${MODPY_VERSION}/site-packages/xml2po/modes/ubuntu.py
lib/python${MODPY_VERSION}/site-packages/xml2po/modes/ubuntu.pyc
lib/python${MODPY_VERSION}/site-packages/xml2po/modes/ubuntu.pyo
lib/python${MODPY_VERSION}/site-packages/xml2po/modes/xhtml.py
lib/python${MODPY_VERSION}/site-packages/xml2po/modes/xhtml.pyc
@ -164,6 +164,7 @@ share/locale/as/LC_MESSAGES/gnome-doc-utils.mo
share/locale/ast/
share/locale/ast/LC_MESSAGES/
share/locale/ast/LC_MESSAGES/gnome-doc-utils.mo
share/locale/be/LC_MESSAGES/gnome-doc-utils.mo
share/locale/be@latin/
share/locale/be@latin/LC_MESSAGES/
share/locale/be@latin/LC_MESSAGES/gnome-doc-utils.mo
@ -293,6 +294,12 @@ share/locale/ug/
share/locale/ug/LC_MESSAGES/
share/locale/ug/LC_MESSAGES/gnome-doc-utils.mo
share/locale/uk/LC_MESSAGES/gnome-doc-utils.mo
share/locale/uz/
share/locale/uz/LC_MESSAGES/
share/locale/uz/LC_MESSAGES/gnome-doc-utils.mo
share/locale/uz@cyrillic/
share/locale/uz@cyrillic/LC_MESSAGES/
share/locale/uz@cyrillic/LC_MESSAGES/gnome-doc-utils.mo
share/locale/vi/LC_MESSAGES/gnome-doc-utils.mo
share/locale/wa/
share/locale/wa/LC_MESSAGES/
@ -300,13 +307,6 @@ share/locale/wa/LC_MESSAGES/gnome-doc-utils.mo
share/locale/zh_CN/LC_MESSAGES/gnome-doc-utils.mo
share/locale/zh_HK/LC_MESSAGES/gnome-doc-utils.mo
share/locale/zh_TW/LC_MESSAGES/gnome-doc-utils.mo
share/omf/
share/omf/gnome-doc-make/
share/omf/gnome-doc-make/gnome-doc-make-C.omf
share/omf/gnome-doc-make/gnome-doc-make-de.omf
share/omf/gnome-doc-xslt/
share/omf/gnome-doc-xslt/gnome-doc-xslt-C.omf
share/omf/gnome-doc-xslt/gnome-doc-xslt-de.omf
share/xml/gnome/
share/xml/gnome/xslt/
share/xml/gnome/xslt/common/
@ -373,7 +373,3 @@ share/xml/gnome/xslt/mallard/html/mal2html-page.xsl
share/xml/gnome/xslt/mallard/html/mal2html-table.xsl
share/xml/gnome/xslt/mallard/html/mal2html.xsl
share/xml/gnome/xslt/mallard/html/mal2xhtml.xsl
share/xml/mallard/
share/xml/mallard/1.0/
share/xml/mallard/1.0/mallard.rnc
share/xml/mallard/1.0/mallard.rng