wok rev 25093

updated pan (0.146 -> 0.149)
author Hans-G?nter Theisgen
date Sat Jun 18 10:10:32 2022 +0100 (2022-06-18)
parents 021e72976497
children b56b38cfd475
files pan-lang/receipt pan/description.txt pan/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pan-lang/receipt	Sat Jun 18 10:10:32 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pan-lang"
     1.7 +VERSION="0.149"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="A usenet newsreader - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://pan.rebelbase.com"
    1.13 +
    1.14 +WANTED="pan"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pan/description.txt	Sat Jun 18 10:10:32 2022 +0100
     2.3 @@ -0,0 +1,5 @@
     2.4 +Pan is a Usenet newsreader that's good at both text and binaries.
     2.5 +It supports offline reading, scoring and killfiles, yEnc, NZB,
     2.6 +PGP handling, multiple servers, and secure connections.
     2.7 +It's also the only Unix newsreader to get a perfect score on the
     2.8 +Good Net-Keeping Seal of Approval evaluations.
     3.1 --- a/pan/receipt	Sat Jun 18 10:01:45 2022 +0100
     3.2 +++ b/pan/receipt	Sat Jun 18 10:10:32 2022 +0100
     3.3 @@ -1,16 +1,17 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="pan"
     3.7 -VERSION="0.146"
     3.8 +VERSION="0.149"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="A usenet newsreader."
    3.11  MAINTAINER="allan316@gmail.com"
    3.12  LICENSE="GPL2"
    3.13 -WEB_SITE="http://pan.rebelbase.com/"
    3.14 +WEB_SITE="https://pan.rebelbase.com"
    3.15  
    3.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.17 -WGET_URL="${WEB_SITE}download/releases/$VERSION/source/$TARBALL"
    3.18 +WGET_URL="$WEB_SITE/download/releases/$VERSION/source/$TARBALL"
    3.19  
    3.20 +SUGGESTED="pan-lang"
    3.21  DEPENDS="cairo gcc-lib-base glibc-base gmime gtk+ gtkspell pcre"
    3.22  BUILD_DEPENDS="gettext glib-dev gmime-dev gtk+-dev gtkspell-dev intltool itstool"
    3.23  
    3.24 @@ -24,15 +25,17 @@
    3.25  # Rules to configure and make the package.
    3.26  compile_rules()
    3.27  {
    3.28 -	sed -i 's|<glib/gtypes.h>|<glib.h>|' pan/general/file-util.h \
    3.29 +	sed -i 's|<glib/gtypes.h>|<glib.h>|' \
    3.30 +		pan/general/file-util.h \
    3.31  		pan/data/article-cache.h \
    3.32  		pan/gui/render-bytes.h
    3.33 -	sed -i -e 's|<glib/gutils.h>|<glib.h>|' \
    3.34 +	sed -i	-e 's|<glib/gutils.h>|<glib.h>|' \
    3.35  		-e 's|<glib/gtestutils.h>|<glib.h>|' \
    3.36  		-e 's|<glibconfig.h>|<glib.h>|' \
    3.37  		pan/general/macros.h
    3.38 -	sed -i 's|<glib/gmain.h>|<glib.h>|' pan/general/worker-pool.cc
    3.39 -	sed -i -e 's|<glib/gtypes.h>|<glib.h>|' \
    3.40 +	sed -i 's|<glib/gmain.h>|<glib.h>|' \
    3.41 +		pan/general/worker-pool.cc
    3.42 +	sed -i	-e 's|<glib/gtypes.h>|<glib.h>|' \
    3.43  		-e 's|<glib/gthreadpool.h>|<glib.h>|' \
    3.44  		-e 's|<glib/gtimer.h>|<glib.h>|' \
    3.45  		-e 's|<glib/gmain.h>|<glib.h>|' \
    3.46 @@ -41,18 +44,23 @@
    3.47  		pan/general/worker-pool.h \
    3.48  		pan/general/time-elapsed.h \
    3.49  		pan/gui/render-bytes.cc
    3.50 -	sed -i 's|<glib/gtypes.h>|<glib.h>|' pan/usenet-utils/mime-utils.h
    3.51 -	sed -i 's|<glib/gunicode.h>|<glib.h>|' pan/usenet-utils/text-massager.cc
    3.52 -	sed -i 's|<glib/gthread.h>|<glib.h>|' pan/general/locking.h
    3.53 -	sed -i -e 's|<glib/gstring.h>|<glib.h>|' \
    3.54 +	sed -i 's|<glib/gtypes.h>|<glib.h>|' \
    3.55 +		pan/usenet-utils/mime-utils.h
    3.56 +	sed -i 's|<glib/gunicode.h>|<glib.h>|' \
    3.57 +		pan/usenet-utils/text-massager.cc
    3.58 +	sed -i 's|<glib/gthread.h>|<glib.h>|' \
    3.59 +		pan/general/locking.h
    3.60 +	sed -i	-e 's|<glib/gstring.h>|<glib.h>|' \
    3.61  		-e 's|<glib/giochannel.h>|<glib.h>|' \
    3.62  		pan/tasks/socket-impl-gio.h
    3.63 -	sed -i -e 's|<glib/gfileutils.h>|<glib.h>|' \
    3.64 +	sed -i	-e 's|<glib/gfileutils.h>|<glib.h>|' \
    3.65  		pan/data-impl/data-impl.cc
    3.66 -	while read file last; do
    3.67 +
    3.68 +	while read file last
    3.69 +	  do
    3.70  		grep -q 'include <cstdio>' pan/$file ||
    3.71  		sed -i "s/<$last>/<$last>\n#include <cstdio>/" pan/$file
    3.72 -	done <<EOT
    3.73 +	  done <<EOT
    3.74  general/log.cc		cstdarg
    3.75  general/progress.cc	cstdarg
    3.76  tasks/nntp.cc		cstdarg
    3.77 @@ -60,9 +68,11 @@
    3.78  usenet-utils/numbers.cc	cctype
    3.79  EOT
    3.80  
    3.81 +	# 0.149	unrecognised
    3.82 +#		--with-gmime30=yes	
    3.83 +
    3.84  	./configure			\
    3.85  		--prefix=/usr		\
    3.86 -		--with-gmime30=yes	\
    3.87  		$CONFIGURE_ARGS &&
    3.88  	make &&
    3.89  	make DESTDIR=$DESTDIR install