galeb-mkfiles

Извори пакета за Галеб
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување 543d0c45c9d0e00cb6c13b354eae7989430521ea
родитељ 36e1c7715c949e4ece9a40add17abd9335e4b957
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Sun, 30 Apr 2023 22:31:31 +0200

glib: Update to 2.76.2; xapian-core: Update to 1.4.22

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
MTODO | 4++--
Mglib/config.mk | 5+++--
Aglib/fetch-docbook | 89+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mglib/mkfile | 9++++++++-
Mxapian-core/config.mk | 3++-
измењених датотека: 5, додавања: 104(+), брисања: 6(-)

diff --git a/TODO b/TODO @@ -7,7 +7,7 @@ TODO [x] docbook-xsl-nons [x] galeb-howtos [ ] gdb - [ ] glib + [x] glib [ ] gmime [ ] isync [x] linux-headers @@ -22,7 +22,7 @@ TODO [x] sled [ ] table [x] unzip - [ ] xapian-core + [x] xapian-core [x] xmlto [ ] Add urlview diff --git a/glib/config.mk b/glib/config.mk @@ -1,6 +1,7 @@ PKGBASE= glib -PKGVER= 2.72.3 +PKGVER= 2.76.2 LEGALFILES= COPYING PREFIX= /sucks SYSCONFDIR= /etc -SRCTARBALLS= https://mirrors.dotsrc.org/gnome/sources/glib/2.72/$PKGBASE-$PKGVER.tar.xz +SRCTARBALLS= https://mirrors.dotsrc.org/gnome/sources/glib/2.76/$PKGBASE-$PKGVER.tar.xz +SHA512SUMS= 5a99723d72ae987999bdf3eac4f3cabe2e014616038f2006e84060b97d6d290b7d44a20d700e9c0f4572a6defed56169f624bcd21b0337f32832b311aa2737e6 diff --git a/glib/fetch-docbook b/glib/fetch-docbook @@ -0,0 +1,89 @@ +#!/bin/sh +mkdir -p docbook-xsl +cd docbook-xsl +for xslfile in docbook block inline synop lists endnotes table pi \ + utility param html-synop info other refentry tbl +do + if [ ! -e $xslfile.xsl ]; then + printf " CURL\t%s.xsl\n" "$xslfile" + curl -O https://docbook.sourceforge.net/release/xsl/current/manpages/$xslfile.xsl + sleep 5 + fi +done +cd .. +mkdir -p common +cd common +for xslfile in stripns refentry charmap olink targets \ + subtitles titles gentext table l10n utility labels pi \ + common +do + if [ ! -e $xslfile.xsl ]; then + printf " CURL\t%s.xsl\n" "$xslfile" + curl -O https://docbook.sourceforge.net/release/xsl/current/common/$xslfile.xsl + sleep 5 + fi +done +for xmlfile in l10n en +do + if [ ! -e $xmlfile.xml ]; then + printf " CURL\t%s.xml\n" "$xmlfile" + curl -O https://docbook.sourceforge.net/release/xsl/current/common/$xmlfile.xml + sleep 5 + fi +done +for entfile in entities +do + if [ ! -e $entfile.ent ]; then + printf " CURL\t%s.ent\n" "$entfile" + curl -O https://docbook.sourceforge.net/release/xsl/current/common/$entfile.ent + sleep 5 + fi +done +cd .. +mkdir -p html +cd html +for xslfile in docbook param VERSION html-rtf publishers \ + annotations titlepage titlepage.templates pi chunker \ + ebnf biblio biblio-iso690 glossary block task \ + qandaset synop toc index refentry math admon \ + component keywords division htmltbl sections \ + inline footnote html its info lists callout verbatim \ + graphics xref formal table autotoc autoidx +do + if [ ! -e $xslfile.xsl ]; then + printf " CURL\t%s.xsl\n" "$xslfile" + curl -O https://docbook.sourceforge.net/release/xsl/current/html/$xslfile.xsl + sleep 5 + fi +done +cd .. +mkdir -p lib +cd lib +for xslfile in lib +do + if [ ! -e $xslfile.xsl ]; then + printf " CURL\t%s.xsl\n" "$xslfile" + curl -O https://docbook.sourceforge.net/release/xsl/current/lib/$xslfile.xsl + sleep 5 + fi +done +cd .. +mkdir -p manpages +cd manpages +for xslfile in charmap.groff +do + if [ ! -e $xslfile.xsl ]; then + printf " CURL\t%s.xsl\n" "$xslfile" + curl -O https://docbook.sourceforge.net/release/xsl/current/manpages/$xslfile.xsl + sleep 5 + fi +done +cd .. +for xslfile in VERSION +do + if [ ! -e $xslfile.xsl ]; then + printf " CURL\t%s.xsl\n" "$xslfile" + curl -O https://docbook.sourceforge.net/release/xsl/current/$xslfile.xsl + sleep 5 + fi +done diff --git a/glib/mkfile b/glib/mkfile @@ -9,6 +9,7 @@ DATADIR= $PREFIX/share LIBDIR= $PREFIX/lib LOCALEDIR= $DATADIR/locale MANDIR= $DATADIR/man +SKIPCLEAN= 1 #CFLAGS= $CFLAGS -static-libstdc++ -static-libgcc #CXXFLAGS= $CFLAGS #LDFLAGS= -static -Wl,-Bstatic @@ -20,14 +21,20 @@ $PKGBASE:QV: fi printf " CD\tbuild\n" cd build + ../fetch-docbook # TODO: Fix libmount to allow static linking; disabled libmount for now unset CFLAGS CXXFLAGS LDFLAGS printf " MESON\t%s\n" --prefix=$PREFIX - meson --prefix=$PREFIX \ + meson -Dprefix=$PREFIX \ -Dman=true -Dselinux=disabled \ -Ddefault_library=static \ -Dlibmount=disabled \ .. + if [ ! -e ../meson.build.orig ]; then + mv ../meson.build ../meson.build.orig + sed 's,^\(.*'\''\).*\(docbook\.xsl'\''.*\),\1docbook-xsl/\2,' ../meson.build.orig \ + > ../meson.build + fi printf " NINJA\n" ninja printf " CD\t-\n" diff --git a/xapian-core/config.mk b/xapian-core/config.mk @@ -1,5 +1,6 @@ PKGBASE= xapian-core -PKGVER= 1.4.20 +PKGVER= 1.4.22 LEGALFILES= COPYING PREFIX= / SRCTARBALLS= https://oligarchy.co.uk/xapian/$PKGVER/$PKGBASE-$PKGVER.tar.xz +SHA512SUMS= 60d66adbacbd59622d25e392060984bd1dc6c870f9031765f54cb335fb29f72f6d006d27af82a50c8da2cfbebd08dac4503a8afa8ad51bc4e6fa9cb367a59d29