update: move git and dependencies to base pool

This commit is contained in:
ngn 2024-08-21 04:54:40 +03:00
parent 68903e4de8
commit 1a34b2eabb
21 changed files with 1 additions and 284 deletions

View File

@ -1,6 +1,6 @@
name: Package issue name: Package issue
about: Report an issue for a package about: Report an issue for a package
title: "<package name>: <issue desc>" title: "[<package name>]: <issue desc>"
body: body:
- type: markdown - type: markdown
attributes: attributes:

View File

@ -1,3 +0,0 @@
.cache/
dist/
root/

View File

@ -1,2 +0,0 @@
# 10.2.0
First version

View File

@ -1,18 +0,0 @@
NAME="asciidoc"
DESC="Text based document generation"
VERSION="10.2.0"
FILES=("https://files.pythonhosted.org/packages/source/a/asciidoc/asciidoc-${VERSION}.tar.gz")
HASHES=("ecac3af818f7a65596efc6e243b520a0")
DEPENDS=("python3" "docbook-xsl" "libxslt")
PACKAGE() {
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
python3 -m build --wheel --no-isolation
python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -rf "${NAME}-${VERSION}"
}

View File

@ -1,3 +0,0 @@
.cache/
dist/
root/

View File

@ -1,2 +0,0 @@
# 4.5
First version

View File

@ -1,53 +0,0 @@
NAME="docbook-xml"
DESC="Contains document type definitions for verification of XML data files against the DocBook rule set"
VERSION="4.5"
FILES=("https://www.docbook.org/xml/$VERSION/docbook-xml-$VERSION.zip")
HASHES=("03083e288e87a7e829e437358da7ef9e")
DEPENDS=("libxml2" "sgml-common")
PACKAGE() {
mkdir $NAME && mv $NAME-$VERSION.zip $NAME
cd $NAME && unzip $NAME-$VERSION.zip
install -v -d -m755 $ROOTDIR/usr/share/xml/docbook/xml-dtd-$VERSION
install -v -d -m755 $ROOTDIR/etc/xml
cp -v -af --no-preserve=ownership docbook.cat *.dtd ent/ *.mod \
$ROOTDIR/usr/share/xml/docbook/xml-dtd-$VERSION
cd .. && rm -rf $NAME
}
INSTALL(){
if [ ! -e /etc/xml/docbook ]; then
xmlcatalog --noout --create /etc/xml/docbook
fi &&
xmlcatalog --noout --add "public" "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" /etc/xml/docbook &&
xmlcatalog --noout --add "public" "-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" "file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" /etc/xml/docbook &&
xmlcatalog --noout --add "public" "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" /etc/xml/docbook &&
xmlcatalog --noout --add "public" "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" "file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" /etc/xml/docbook &&
xmlcatalog --noout --add "public" "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" "file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" /etc/xml/docbook &&
xmlcatalog --noout --add "public" "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" "file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" /etc/xml/docbook &&
xmlcatalog --noout --add "public" "-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" "file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" /etc/xml/docbook &&
xmlcatalog --noout --add "public" "-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" "file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" /etc/xml/docbook &&
xmlcatalog --noout --add "public" "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" "file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" /etc/xml/docbook &&
xmlcatalog --noout --add "rewriteSystem" "http://www.oasis-open.org/docbook/xml/4.5" "file:///usr/share/xml/docbook/xml-dtd-4.5" /etc/xml/docbook &&
xmlcatalog --noout --add "rewriteURI" "http://www.oasis-open.org/docbook/xml/4.5" "file:///usr/share/xml/docbook/xml-dtd-4.5" /etc/xml/docbook
if [ ! -e /etc/xml/catalog ]; then
xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "delegatePublic" "-//OASIS//ENTITIES DocBook XML" "file:///etc/xml/docbook" /etc/xml/catalog &&
xmlcatalog --noout --add "delegatePublic" "-//OASIS//DTD DocBook XML" "file:///etc/xml/docbook" /etc/xml/catalog &&
xmlcatalog --noout --add "delegateSystem" "http://www.oasis-open.org/docbook/" "file:///etc/xml/docbook" /etc/xml/catalog &&
xmlcatalog --noout --add "delegateURI" "http://www.oasis-open.org/docbook/" "file:///etc/xml/docbook" /etc/xml/catalog
for DTDVERSION in 4.1.2 4.2 4.3 4.4
do
xmlcatalog --noout --add "public" "-//OASIS//DTD DocBook XML V$DTDVERSION//EN" "http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" /etc/xml/docbook
xmlcatalog --noout --add "rewriteSystem" "http://www.oasis-open.org/docbook/xml/$DTDVERSION" "file:///usr/share/xml/docbook/xml-dtd-4.5" /etc/xml/docbook
xmlcatalog --noout --add "rewriteURI" "http://www.oasis-open.org/docbook/xml/$DTDVERSION" "file:///usr/share/xml/docbook/xml-dtd-4.5" /etc/xml/docbook
xmlcatalog --noout --add "delegateSystem" "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" "file:///etc/xml/docbook" /etc/xml/catalog
xmlcatalog --noout --add "delegateURI" "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" "file:///etc/xml/docbook" /etc/xml/catalog
done
}

View File

@ -1,3 +0,0 @@
.cache/
dist/
root/

View File

@ -1,34 +0,0 @@
if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &&
if [ ! -f /etc/xml/catalog ]; then
xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "rewriteSystem" \
"https://cdn.docbook.org/release/xsl-nons/1.79.2" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"https://cdn.docbook.org/release/xsl-nons/1.79.2" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
"https://cdn.docbook.org/release/xsl-nons/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"https://cdn.docbook.org/release/xsl-nons/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/current" \
"/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" \
/etc/xml/catalog

View File

@ -1,2 +0,0 @@
# 1.79.2
First version

View File

@ -1,52 +0,0 @@
NAME="docbook-xsl-nons"
DESC="Contains XSL stylesheets"
VERSION="1.79.2"
FILES=(
"https://github.com/docbook/xslt10-stylesheets/releases/download/release/$VERSION/docbook-xsl-nons-$VERSION.tar.bz2"
"https://www.linuxfromscratch.org/patches/blfs/12.0/docbook-xsl-nons-$VERSION-stack_fix-1.patch"
)
HASHES=(
"2666d1488d6ced1551d15f31d7ed8c38"
"a92c39715c54949ba9369add1809527b8f155b7e2a2b2e30cb4b39ee715f2e30"
)
DEPENDS=("libxml2" "docbook-xml")
PACKAGE() {
tar xf $NAME-$VERSION.tar.bz2
cd $NAME-$VERSION
patch -Np1 -i ../docbook-xsl-nons-$VERSION-stack_fix-1.patch
install -v -m755 -d $ROOTDIR/usr/share/xml/docbook/xsl-stylesheets-nons-$VERSION
cp -v -R VERSION assembly common eclipse epub epub3 extensions fo \
highlighting html htmlhelp images javahelp lib manpages params \
profiling roundtrip slides template tests tools webhelp website \
xhtml xhtml-1_1 xhtml5 \
$ROOTDIR/usr/share/xml/docbook/xsl-stylesheets-nons-$VERSION
ln -s VERSION $ROOTDIR/usr/share/xml/docbook/xsl-stylesheets-nons-$VERSION/VERSION.xsl
install -v -m644 -D README \
$ROOTDIR/usr/share/doc/docbook-xsl-nons-$VERSION/README.txt
install -v -m644 RELEASE-NOTES* NEWS* \
$ROOTDIR/usr/share/doc/docbook-xsl-nons-$VERSION
cd .. && rm -rf $NAME-$VERSION
}
INSTALL(){
if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &&
if [ ! -f /etc/xml/catalog ]; then
xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "rewriteSystem" "https://cdn.docbook.org/release/xsl-nons/1.79.2" "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" "https://cdn.docbook.org/release/xsl-nons/1.79.2" "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" "https://cdn.docbook.org/release/xsl-nons/current" "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" "https://cdn.docbook.org/release/xsl-nons/current" "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" "http://docbook.sourceforge.net/release/xsl/current" "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" /etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" "http://docbook.sourceforge.net/release/xsl/current" "/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" /etc/xml/catalog
}

3
src/git/.gitignore vendored
View File

@ -1,3 +0,0 @@
.cache/
dist/
root/

View File

@ -1,2 +0,0 @@
# 2.41.0
First version

View File

@ -1,28 +0,0 @@
NAME="git"
DESC="Free and open source, distributed version control system"
VERSION="2.41.0"
FILES=(
"https://www.kernel.org/pub/software/scm/git/git-$VERSION.tar.xz"
"https://www.kernel.org/pub/software/scm/git/git-manpages-$VERSION.tar.xz"
)
HASHES=(
"c1f58a12b891ad73927b8e4a3aa29c7b"
"bc7a4c944492c76fc3cd766ce22e826d0241e43792c611d4fdc068e0df545877"
)
DEPENDS=("curl")
PACKAGE() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
./configure --prefix=/usr \
--with-gitconfig=/etc/gitconfig \
--with-python=python3
make && make DESTDIR=$ROOTDIR perllibdir=/usr/lib/perl5/5.38/site_perl install
mkdir -pv $ROOTDIR/usr/share/man
tar -xf ../git-manpages-$VERSION.tar.xz \
-C $ROOTDIR/usr/share/man --no-same-owner --no-overwrite-dir
cd .. && rm -rf $NAME-$VERSION
}

View File

@ -1,19 +0,0 @@
NAME="libxslt"
DESC="XSLT libraries used for extending libxml2 libraries to support XSLT files"
VERSION="1.1.39"
FILES=("https://download.gnome.org/sources/libxslt/1.1/libxslt-$VERSION.tar.xz")
HASHES=("22e9eb7c23825124e786611b3760a3c7")
DEPENDS=("libxml2" "libgcrypt")
PACKAGE() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/libxslt-$VERSION \
PYTHON=/usr/bin/python3
make && make DESTDIR=${ROOTDIR} install
cd .. && rm -rf $NAME-$VERSION
}

View File

@ -1,3 +0,0 @@
.cache/
dist/
root/

View File

@ -1,2 +0,0 @@
# 0.6.3
First version

View File

@ -1,32 +0,0 @@
NAME="sgml-common"
DESC="Contains install-catalog which is useful for creating and maintaining centralized SGML catalogs"
VERSION="0.6.3"
FILES=(
"https://sourceware.org/ftp/docbook-tools/new-trials/SOURCES/sgml-common-$VERSION.tgz"
"https://www.linuxfromscratch.org/patches/blfs/12.0/sgml-common-$VERSION-manpage-1.patch"
)
HASHES=(
"103c9828f24820df86e55e7862e28974"
"50d93af704a0869faf8fedf5d23b1a9f90fff6499f4c11cf4addb5e460b7b58b"
)
DEPENDS=()
PACKAGE() {
tar xf $NAME-$VERSION.tgz
cd $NAME-$VERSION
patch -Np1 -i ../sgml-common-$VERSION-manpage-1.patch
autoreconf -f -i
./configure --prefix=/usr --sysconfdir=/etc
make && make DESTDIR=$ROOTDIR install
make DESTDIR=$ROOTDIR docdir=/usr/share/doc install
install-catalog --add /etc/sgml/sgml-ent.cat \
$ROOTDIR/usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
install-catalog --add /etc/sgml/sgml-docbook.cat \
$ROOTDIR/etc/sgml/sgml-ent.cat
cd .. && rm -rf $NAME-$VERSION
}

View File

@ -1,3 +0,0 @@
.cache/
dist/
root/

View File

@ -1,2 +0,0 @@
# 0.0.28
First version

View File

@ -1,17 +0,0 @@
NAME="xmlto"
DESC="A front-end to a XSL toolchain"
VERSION="0.0.28"
FILES=("https://releases.pagure.org/xmlto/xmlto-$VERSION.tar.bz2")
HASHES=("93bab48d446c826399d130d959fe676f")
DEPENDS=("docbook-xml" "docbook-xsl-nons" "libxslt")
PACKAGE() {
tar xf $NAME-$VERSION.tar.bz2
cd $NAME-$VERSION
LINKS="/usr/bin/links" \
./configure --prefix=/usr
make && make DESTDIR=$ROOTDIR install
cd .. && rm -rf $NAME-$VERSION
}