wok annotate gnumeric/receipt @ rev 25496

Up expat (2.5.0), CVE-2022-43680. Again.
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:26:08 2022 +0000 (18 months ago)
parents 4c101652eb90
children
rev   line source
pankso@566 1 # SliTaz package receipt.
pankso@566 2
pankso@566 3 PACKAGE="gnumeric"
pascal@25467 4 VERSION="1.12.53"
pankso@566 5 CATEGORY="office"
pankso@566 6 SHORT_DESC="Office Spreadsheet application."
pankso@566 7 MAINTAINER="pankso@slitaz.org"
al@19466 8 LICENSE="GPL"
Hans-G?nter@25085 9 WEB_SITE="http://www.gnumeric.org/"
Hans-G?nter@25085 10
al@19466 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19466 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@566 13
Hans-G?nter@25085 14 DEPENDS="at-spi2 at-spi2-atk atk bzlib cairo dconf dbus fontconfig freetype
Hans-G?nter@25085 15 gdk-pixbuf glib glibc-base goffice gtk+3 harfbuzz libcroco libffi
Hans-G?nter@25085 16 libgio libgsf libpng librsvg libxcb libxml2 libxslt pango pcre
Hans-G?nter@25085 17 pixman util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 xorg-libXau
Hans-G?nter@25085 18 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp
Hans-G?nter@25085 19 xorg-libXext xorg-libXfixes xorg-libXi xorg-libXinerama
Hans-G?nter@25085 20 xorg-libXrandr xorg-libXrender zlib"
pascal@25468 21 BUILD_DEPENDS="bison goffice-dev gtk-doc gtk+3-dev libcroco-dev rarian
pascal@25468 22 itstool"
slaxemulator@11161 23
pascal@25467 24 # What is the latest version available today?
pascal@24111 25 current_version()
pascal@24111 26 {
pascal@24111 27 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 28 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 29 }
pascal@24111 30
pankso@566 31 # Rules to configure and make the package.
pankso@566 32 compile_rules()
pankso@566 33 {
pascal@25467 34 sed 's|^gnm_cell_has_expr|gnm_cell_has_expr (GnmCell const *cell);\ninline gboolean\n&|' \
pascal@25467 35 -i src/cell.h
Hans-G?nter@25085 36 ./configure \
Hans-G?nter@25085 37 --without-perl \
Hans-G?nter@25085 38 --without-python \
Hans-G?nter@25085 39 --without-gda \
pascal@1524 40 $CONFIGURE_ARGS &&
Hans-G?nter@25085 41 make &&
Hans-G?nter@25085 42 make install
pankso@566 43 }
pankso@566 44
pankso@566 45 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@566 46 genpkg_rules()
pankso@566 47 {
Hans-G?nter@25085 48 mkdir -p $fs/usr/lib
Hans-G?nter@25085 49 mkdir -p $fs/usr/share
pankso@4166 50
al@18531 51 cp -a $install/usr/bin $fs/usr
al@18531 52
al@18531 53 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@18531 54 cp -a $install/usr/lib/gnumeric $fs/usr/lib
al@19468 55 cp -a $install/usr/lib/goffice $fs/usr/lib
al@18531 56 find $fs/usr/lib -name '*.la' -delete
al@18531 57
al@18531 58 cp -a $install/usr/share/applications $fs/usr/share
al@18531 59 cp -a $install/usr/share/glib-2.0 $fs/usr/share
al@18531 60 cp -a $install/usr/share/gnumeric $fs/usr/share
al@18531 61 cp -a $install/usr/share/icons $fs/usr/share
pankso@566 62 }