Merge branch 'master' of github.com:pisilinux/main

This commit is contained in:
Ertuğrul Erata
2017-12-13 12:39:43 +03:00
20 changed files with 139054 additions and 138330 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
def setup():
autotools.configure("--with-html-xsl \
--program-suffix=.pl ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "TODO", "ChangeLog", "COPYING", "README", "NEWS", "THANKS")
@@ -0,0 +1,33 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 05_fix_439214_error_on_missing_refentry.dpatch by Daniel Leidert <daniel.leidert@wgdd.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: If there is no refentry element, the manpage stylesheets silently
## DP: "ignores" this. It has been requested to print at least a
## DP: warning.
## DP:
## DP: <URL:http://bugs.debian.org/439214>
## DP: <URL:http://lists.gnu.org/archive/html/groff/2007-11/msg00023.html>
@DPATCH@
diff -urNad trunk~/xslt/man/docbook.xsl trunk/xslt/man/docbook.xsl
--- trunk~/xslt/man/docbook.xsl 2006-04-11 21:00:19.000000000 +0200
+++ trunk/xslt/man/docbook.xsl 2008-02-05 03:31:48.000000000 +0100
@@ -111,11 +111,15 @@
<xsl:when test="child::refentry">
<xsl:apply-templates />
</xsl:when>
-
- <xsl:otherwise>
+ <xsl:when test="descendant-or-self::refentry">
<manpageset>
<xsl:apply-templates select="descendant-or-self::refentry" />
</manpageset>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message terminate="no">
+ <xsl:text>WARNING: Sorry, but I cannot find a refentry element in your source!</xsl:text>
+ </xsl:message>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
@@ -0,0 +1,43 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_fix_420153_filename_whitespace_handling.dpatch by
## Daniel Leidert (dale) <daniel.leidert@wgdd.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Peter Eisentraut reported a regression in the whitespace handling of
## DP: refentrytitle content during filename creation:
## DP: http://bugs.debian.org/420153. The problem is, that upstream first
## DP: replaces all spaces (but not linebreaks btw) with underlines and then
## DP: it tries to normalize the result. This means, that a linebreak with
## DP: additional whitespaces results in manpage names like 'foo_ ____bar.9'.
## DP: So what we basically do in this patch is, that we first normalize the
## DP: refentrytitle and then replace any spaces left with underlines.
@DPATCH@
diff -urNad docbook2x-0.8.8~/xslt/man/manpage.xsl docbook2x-0.8.8/xslt/man/manpage.xsl
--- docbook2x-0.8.8~/xslt/man/manpage.xsl 2006-04-20 15:45:55.000000000 +0200
+++ docbook2x-0.8.8/xslt/man/manpage.xsl 2007-04-20 16:19:28.000000000 +0200
@@ -30,7 +30,7 @@
<xsl:template name="manpage-filename">
<xsl:param name="filename" />
- <xsl:value-of select="normalize-space(translate($filename, &quot; /&quot;, &quot;__&quot;))" />
+ <xsl:value-of select="translate(normalize-space($filename), ' /', '__')" />
</xsl:template>
diff -urNad docbook2x-0.8.8~/xslt/man/refentry.xsl docbook2x-0.8.8/xslt/man/refentry.xsl
--- docbook2x-0.8.8~/xslt/man/refentry.xsl 2006-04-21 04:39:55.000000000 +0200
+++ docbook2x-0.8.8/xslt/man/refentry.xsl 2007-04-20 16:21:53.000000000 +0200
@@ -38,7 +38,11 @@
<xsl:template name="refentry-filename">
<xsl:param name="title" />
- <xsl:variable name="title2" select="translate($title, &quot; /&quot;, &quot;__&quot;)" />
+ <xsl:variable name="title2">
+ <xsl:call-template name="manpage-filename">
+ <xsl:with-param name="filename" select="$title" />
+ </xsl:call-template>
+ </xsl:variable>
<!-- not using gentext here since man page names tend not to have
accented chars / non-Latin chars ...
@@ -0,0 +1,90 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 04_fix_442782_preprocessor_declaration_syntax.dpatch by Colin Watson <cjwatson@debian.org>.
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Conventionally, preprocessor declarations should start with
## DP: '\"
## DP: rather than
## DP: .\"
## DP: Current man-db only supports the first (and recommended) syntax. So
## DP: Colin Watson provided this patch to fix docbook2x.
## DP:
## DP: <URL:http://bugs.debian.org/442782>
## DP: <URL:http://lists.gnu.org/archive/html/groff/2007-11/msg00023.html>
@DPATCH@
diff -urNad trunk~/perl/db2x_manxml.pl trunk/perl/db2x_manxml.pl
--- trunk~/perl/db2x_manxml.pl 2006-04-22 17:21:32.000000000 +0200
+++ trunk/perl/db2x_manxml.pl 2007-11-24 01:27:37.000000000 +0100
@@ -342,6 +342,25 @@
$self->{line_start} = 1;
}
+#
+# Print a comment in the output, without causing a break.
+# Params: comment - the comment text.
+# May use any characters; they need not be escaped.
+#
+sub comment_nobreak
+{
+ my ($self, $comment) = @_;
+ $self->write("\n") unless $self->{line_start};
+
+ foreach my $line (split(/\n/, $comment)) {
+ $self->write('\'\" ');
+ $self->write($line);
+ $self->write("\n");
+ }
+
+ $self->{line_start} = 1;
+}
+
#
# Use a roff "escape" i.e. commands embedded in text starting with \
@@ -510,16 +529,20 @@
$self->{'adjust-stack'} = [ 'b' ];
- $self->{rw}->comment($elem->attr('preprocessors'))
- if($elem->attr('preprocessors') ne '');
-
+ my $preprocessors = $elem->attr('preprocessors');
# I've dug through the Internet to see if there was any
# standard way to specify encoding with man pages.
# The following seems to be a reasonable proposal:
# <URL:http://mail.nl.linux.org/linux-utf8/2001-04/msg00168.html>
my $encoding = $self->{options}->{'encoding'};
$encoding =~ s#//TRANSLIT$##i;
- $self->{rw}->comment("-*- coding: $encoding -*-");
+ $encoding = "-*- coding: $encoding -*-";
+ if ($preprocessors eq '') {
+ $preprocessors = $encoding;
+ } else {
+ $preprocessors = "$preprocessors $encoding";
+ }
+ $self->{rw}->comment_nobreak($preprocessors);
# Define escapes for switching to and from monospace fonts (groff only)
$self->{rw}->request(qw{ .if \n(.g .ds T< \\\\FC});
diff -urNad trunk~/xslt/backend/db2x_manxml.xsl trunk/xslt/backend/db2x_manxml.xsl
--- trunk~/xslt/backend/db2x_manxml.xsl 2006-04-23 16:44:52.000000000 +0200
+++ trunk/xslt/backend/db2x_manxml.xsl 2007-11-24 01:27:37.000000000 +0100
@@ -528,7 +528,7 @@
<exslt:document method="text"
encoding="{$encoding}"
href="{$path}">
- <xsl:text>.\" -*- coding: </xsl:text>
+ <xsl:text>'\" -*- coding: </xsl:text>
<xsl:value-of select="$encoding" />
<xsl:text> -*-&#10;</xsl:text>
<xsl:copy-of select="$content" />
@@ -538,7 +538,7 @@
<saxon:output method="text"
encoding="{$encoding}"
href="{$path}">
- <xsl:text>.\" -*- coding: </xsl:text>
+ <xsl:text>'\" -*- coding: </xsl:text>
<xsl:value-of select="$encoding" />
<xsl:text> -*-&#10;</xsl:text>
<xsl:copy-of select="$content" />
+53
View File
@@ -0,0 +1,53 @@
<PISI>
<Source>
<Name>docbook2x</Name>
<Homepage>http://docbook2x.sourceforge.net</Homepage>
<Packager>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<PartOf>office.docbook</PartOf>
<IsA>app:gui</IsA>
<Summary>docbook2X converts DocBook documents to man and Texinfo format.</Summary>
<Description>docbook2X is a software package that converts DocBook documents into the traditional Unix man page format and the GNU Texinfo format.</Description>
<Archive sha1sum="7dc34d420f8aae2a0c0cdb39f52146ce005bf902" type="targz">http://downloads.sourceforge.net/project/docbook2x/docbook2x/0.8.8/docbook2X-0.8.8.tar.gz</Archive>
<BuildDependencies>
<Dependency>docbook-xml</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>perl-XML-SAX</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">docbook2X-0.8.8-error_on_missing_refentry.patch</Patch>
<Patch level="1">docbook2X-0.8.8-filename_whitespace_handling.patch</Patch>
<Patch level="1">docbook2X-0.8.8-preprocessor_declaration_syntax.patch</Patch>
</Patches>
</Source>
<Package>
<Name>docbook2x</Name>
<RuntimeDependencies>
<Dependency>docbook-xml</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>libxslt</Dependency>
<Dependency>perl-XML-SAX</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2017-12-12</Date>
<Version>0.8.8</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>docbook2x</Name>
<Summary xml:lang="en">docbook2X converts DocBook documents to man and Texinfo format.</Summary>
<Description xml:lang="tr">docbook2X is a software package that converts DocBook documents into the traditional Unix man page format and the GNU Texinfo format.</Description>
</Source>
</PISI>
+138555 -138328
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
ccea0ff7127ea127678d8fff12bb7cc8252e016f
48d5047926fdfa4000e692179add57f629789965
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
18d3c3733d2057c41459ea31a927238c4619dd65
d45f97615ac5b71494f7bcbbd8ca85b42d95e32b
@@ -0,0 +1,23 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import perlmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
perlmodules.configure()
def build():
perlmodules.make()
def check():
perlmodules.make("test")
def install():
perlmodules.install()
pisitools.dodoc("MANIFEST", "README", "Changes")
@@ -0,0 +1,41 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>Perl-XML-SAX-BASE</Name>
<Homepage>http://search.cpan.org/~grantm/XML-SAX-Base-1.08/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>Artistic</License>
<PartOf>programming.language.perl</PartOf>
<IsA>app:console</IsA>
<Summary>Base class SAX Drivers and Filters</Summary>
<Description>This module has a very simple task - to be a base class for PerlSAX drivers and filters. It's default behaviour is to pass the input directly to the output unchanged. It can be useful to use this module as a base class so you don't have to, for example, implement the characters() callback.</Description>
<Archive sha1sum="bf2c97ed35d5de09015d5a6f6ab8a8ee50aedd4a" type="targz">http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-SAX-Base-1.09.tar.gz</Archive>
<BuildDependencies>
<Dependency>perl</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>Perl-XML-SAX-BASE</Name>
<RuntimeDependencies>
<Dependency>perl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/perl5/vendor_perl</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2017-12-12</Date>
<Version>1.09</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>Perl-XML-SAX-BASE</Name>
<Summary xml:lang="en">Base class SAX Drivers and Filters</Summary>
</Source>
</PISI>
@@ -0,0 +1,27 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import perlmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import get
#WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())
def setup():
perlmodules.configure("--skipdeps")
def build():
perlmodules.make()
def check():
perlmodules.make("test")
def install():
perlmodules.install()
pisitools.dodoc("README*", "Changes")
@@ -0,0 +1,42 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>perl-XML-NamespaceSupport</Name>
<Homepage>http://search.cpan.org/dist/XML-NamespaceSupport/</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>Artistic</License>
<IsA>library</IsA>
<Summary>A Perl module that offers a simple to process namespaced XML names</Summary>
<Description>This module offers a simple way to process namespaced XML names (unames) from within any application that may need them.</Description>
<Archive sha1sum="59ad0d90eaa8bd8e3182e04115114b65ca285812" type="targz">http://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-1.12_9.tar.gz</Archive>
<BuildDependencies>
<Dependency>perl</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>perl-XML-NamespaceSupport</Name>
<RuntimeDependencies>
<Dependency>perl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2017-12-12</Date>
<Version>1.12</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,7 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>perl-XML-NamespaceSupport</Name>
<Description xml:lang="es">Módulo Perl para procesamiento sencillo de nombres de espacio de nombres XML (unames) desde cualquier programa</Description>
</Source>
</PISI>
@@ -0,0 +1,26 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import perlmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())
def setup():
perlmodules.configure()
def build():
perlmodules.make()
def check():
perlmodules.make("test")
def install():
# pure_install avoids touching system's ParserDetails.ini
# This ini file gets generated/updated on post/preInstall
perlmodules.install("pure_install")
@@ -0,0 +1,16 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
# FIXME: Bump this version when needed
perlVersion = "5.12.2"
vendor_lib_path = "/usr/lib/perl5/vendor_perl/%s" % perlVersion
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
# Register XML::SAX::PurePerl
os.system("/usr/bin/perl -MXML::SAX -e 'XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()' 2>/dev/null")
def preRemove():
# Unregister XML::SAX::PurePerl
os.system("/usr/bin/perl -MXML::SAX -e 'XML::SAX->remove_parser(q(XML::SAX::PurePerl))->save_parsers()'")
@@ -0,0 +1,52 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>perl-XML-SAX</Name>
<Homepage>http://search.cpan.org/dist/XML-SAX/</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>Artistic</License>
<IsA>library</IsA>
<Summary>Perl module for using and building Perl SAX2 XML parsers, filters, and drivers</Summary>
<Description>This module consists of several framework classes for using and building Perl SAX2 XML parsers, filters, and drivers.</Description>
<Archive sha1sum="9685c417627d75ae18ab0be3b1562608ee093d5c" type="targz">http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-SAX-0.99.tar.gz</Archive>
<BuildDependencies>
<Dependency>perl</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>Perl-XML-SAX-BASE</Dependency>
<Dependency>perl-XML-NamespaceSupport</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>perl-XML-SAX</Name>
<RuntimeDependencies>
<Dependency>perl</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>Perl-XML-SAX-BASE</Dependency>
<Dependency>perl-XML-NamespaceSupport</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
<Provides>
<!-- FIXME: Update perl version in package.py when Perl version changes! -->
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<History>
<Update release="1">
<Date>2017-12-12</Date>
<Version>0.99</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>perl-XML-SAX</Name>
<Summary xml:lang="tr">Perl SAX2 XML ayıklacı, süzgeç ve sürücülerini kullanmak ve inşa etmek için gerekli Perl modülü</Summary>
<Description xml:lang="es">El módulo consiste de varias clases de framework para usar y construir (build) parsers, filtros y controladores SAX2 XML</Description>
</Source>
</PISI>