From 1a34b2eabb56b7fae15c319e3b77c2585c4c5594 Mon Sep 17 00:00:00 2001 From: ngn Date: Wed, 21 Aug 2024 04:54:40 +0300 Subject: [PATCH] update: move git and dependencies to base pool --- .gitea/issue_template.yaml | 2 +- src/asciidoc/.gitignore | 3 -- src/asciidoc/changes.md | 2 -- src/asciidoc/pkg.sh | 18 ----------- src/docbook-xml/.gitignore | 3 -- src/docbook-xml/changes.md | 2 -- src/docbook-xml/pkg.sh | 53 --------------------------------- src/docbook-xsl-nons/.gitignore | 3 -- src/docbook-xsl-nons/catalog | 34 --------------------- src/docbook-xsl-nons/changes.md | 2 -- src/docbook-xsl-nons/pkg.sh | 52 -------------------------------- src/git/.gitignore | 3 -- src/git/changes.md | 2 -- src/git/pkg.sh | 28 ----------------- src/libxslt/pkg.sh | 19 ------------ src/sgml-common/.gitignore | 3 -- src/sgml-common/changes.md | 2 -- src/sgml-common/pkg.sh | 32 -------------------- src/xmlto/.gitignore | 3 -- src/xmlto/changes.md | 2 -- src/xmlto/pkg.sh | 17 ----------- 21 files changed, 1 insertion(+), 284 deletions(-) delete mode 100644 src/asciidoc/.gitignore delete mode 100644 src/asciidoc/changes.md delete mode 100644 src/asciidoc/pkg.sh delete mode 100644 src/docbook-xml/.gitignore delete mode 100644 src/docbook-xml/changes.md delete mode 100644 src/docbook-xml/pkg.sh delete mode 100644 src/docbook-xsl-nons/.gitignore delete mode 100644 src/docbook-xsl-nons/catalog delete mode 100644 src/docbook-xsl-nons/changes.md delete mode 100644 src/docbook-xsl-nons/pkg.sh delete mode 100644 src/git/.gitignore delete mode 100644 src/git/changes.md delete mode 100644 src/git/pkg.sh delete mode 100644 src/libxslt/pkg.sh delete mode 100644 src/sgml-common/.gitignore delete mode 100644 src/sgml-common/changes.md delete mode 100644 src/sgml-common/pkg.sh delete mode 100644 src/xmlto/.gitignore delete mode 100644 src/xmlto/changes.md delete mode 100644 src/xmlto/pkg.sh diff --git a/.gitea/issue_template.yaml b/.gitea/issue_template.yaml index bd9ecc6..9da707c 100644 --- a/.gitea/issue_template.yaml +++ b/.gitea/issue_template.yaml @@ -1,6 +1,6 @@ name: Package issue about: Report an issue for a package -title: ": " +title: "[]: " body: - type: markdown attributes: diff --git a/src/asciidoc/.gitignore b/src/asciidoc/.gitignore deleted file mode 100644 index 8b56c9f..0000000 --- a/src/asciidoc/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.cache/ -dist/ -root/ diff --git a/src/asciidoc/changes.md b/src/asciidoc/changes.md deleted file mode 100644 index 3cb0e56..0000000 --- a/src/asciidoc/changes.md +++ /dev/null @@ -1,2 +0,0 @@ -# 10.2.0 -First version diff --git a/src/asciidoc/pkg.sh b/src/asciidoc/pkg.sh deleted file mode 100644 index 85c1b1e..0000000 --- a/src/asciidoc/pkg.sh +++ /dev/null @@ -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}" -} diff --git a/src/docbook-xml/.gitignore b/src/docbook-xml/.gitignore deleted file mode 100644 index 8b56c9f..0000000 --- a/src/docbook-xml/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.cache/ -dist/ -root/ diff --git a/src/docbook-xml/changes.md b/src/docbook-xml/changes.md deleted file mode 100644 index c8c2182..0000000 --- a/src/docbook-xml/changes.md +++ /dev/null @@ -1,2 +0,0 @@ -# 4.5 -First version diff --git a/src/docbook-xml/pkg.sh b/src/docbook-xml/pkg.sh deleted file mode 100644 index 3dc77df..0000000 --- a/src/docbook-xml/pkg.sh +++ /dev/null @@ -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 -} diff --git a/src/docbook-xsl-nons/.gitignore b/src/docbook-xsl-nons/.gitignore deleted file mode 100644 index 8b56c9f..0000000 --- a/src/docbook-xsl-nons/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.cache/ -dist/ -root/ diff --git a/src/docbook-xsl-nons/catalog b/src/docbook-xsl-nons/catalog deleted file mode 100644 index 2627404..0000000 --- a/src/docbook-xsl-nons/catalog +++ /dev/null @@ -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 diff --git a/src/docbook-xsl-nons/changes.md b/src/docbook-xsl-nons/changes.md deleted file mode 100644 index 70b49a0..0000000 --- a/src/docbook-xsl-nons/changes.md +++ /dev/null @@ -1,2 +0,0 @@ -# 1.79.2 -First version diff --git a/src/docbook-xsl-nons/pkg.sh b/src/docbook-xsl-nons/pkg.sh deleted file mode 100644 index fecf1ff..0000000 --- a/src/docbook-xsl-nons/pkg.sh +++ /dev/null @@ -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 -} diff --git a/src/git/.gitignore b/src/git/.gitignore deleted file mode 100644 index 8b56c9f..0000000 --- a/src/git/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.cache/ -dist/ -root/ diff --git a/src/git/changes.md b/src/git/changes.md deleted file mode 100644 index 79cc79d..0000000 --- a/src/git/changes.md +++ /dev/null @@ -1,2 +0,0 @@ -# 2.41.0 -First version diff --git a/src/git/pkg.sh b/src/git/pkg.sh deleted file mode 100644 index 8dbc45f..0000000 --- a/src/git/pkg.sh +++ /dev/null @@ -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 -} diff --git a/src/libxslt/pkg.sh b/src/libxslt/pkg.sh deleted file mode 100644 index 7c37d37..0000000 --- a/src/libxslt/pkg.sh +++ /dev/null @@ -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 -} diff --git a/src/sgml-common/.gitignore b/src/sgml-common/.gitignore deleted file mode 100644 index 8b56c9f..0000000 --- a/src/sgml-common/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.cache/ -dist/ -root/ diff --git a/src/sgml-common/changes.md b/src/sgml-common/changes.md deleted file mode 100644 index 379b7de..0000000 --- a/src/sgml-common/changes.md +++ /dev/null @@ -1,2 +0,0 @@ -# 0.6.3 -First version diff --git a/src/sgml-common/pkg.sh b/src/sgml-common/pkg.sh deleted file mode 100644 index 71422ba..0000000 --- a/src/sgml-common/pkg.sh +++ /dev/null @@ -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 -} diff --git a/src/xmlto/.gitignore b/src/xmlto/.gitignore deleted file mode 100644 index 8b56c9f..0000000 --- a/src/xmlto/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.cache/ -dist/ -root/ diff --git a/src/xmlto/changes.md b/src/xmlto/changes.md deleted file mode 100644 index bf4c3e3..0000000 --- a/src/xmlto/changes.md +++ /dev/null @@ -1,2 +0,0 @@ -# 0.0.28 -First version diff --git a/src/xmlto/pkg.sh b/src/xmlto/pkg.sh deleted file mode 100644 index 3c71d3d..0000000 --- a/src/xmlto/pkg.sh +++ /dev/null @@ -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 -}