wok-current rev 12963
pan: include glib.h
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 31 23:18:41 2012 +0200 (2012-05-31) |
parents | da67a92d3e79 |
children | 4794a55e7b5d |
files | pan/receipt |
line diff
1.1 --- a/pan/receipt Thu May 31 22:14:21 2012 +0200 1.2 +++ b/pan/receipt Thu May 31 23:18:41 2012 +0200 1.3 @@ -16,12 +16,31 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - sed -i 's|<glib/g.*h>|<glib.h>|' pan/general/file-util.h \ 1.8 - pan/general/macros.h pan/usenet-utils/mime-utils.h \ 1.9 - pan/general/worker-pool.cc pan/general/worker-pool.h \ 1.10 - pan/usenet-utils/text-massager.cc 1.11 - # apply debian fix for gcc 4.4.0 1.12 - # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504900 1.13 + sed -i 's|<glib/gtypes.h>|<glib.h>|' pan/general/file-util.h \ 1.14 + pan/data/article-cache.h \ 1.15 + pan/gui/render-bytes.h 1.16 + sed -i -e 's|<glib/gutils.h>|<glib.h>|' \ 1.17 + -e 's|<glib/gtestutils.h>|<glib.h>|' \ 1.18 + -e 's|<glibconfig.h>|<glib.h>|' \ 1.19 + pan/general/macros.h 1.20 + sed -i 's|<glib/gmain.h>|<glib.h>|' pan/general/worker-pool.cc 1.21 + sed -i -e 's|<glib/gtypes.h>|<glib.h>|' \ 1.22 + -e 's|<glib/gthreadpool.h>|<glib.h>|' \ 1.23 + -e 's|<glib/gtimer.h>|<glib.h>|' \ 1.24 + -e 's|<glib/gmain.h>|<glib.h>|' \ 1.25 + -e 's|<glib/gutils.h>|<glib.h>|' \ 1.26 + -e 's|<glib/gmacros.h>|<glib.h>|' \ 1.27 + pan/general/worker-pool.h \ 1.28 + pan/general/time-elapsed.h \ 1.29 + pan/gui/render-bytes.cc 1.30 + sed -i 's|<glib/gtypes.h>|<glib.h>|' pan/usenet-utils/mime-utils.h 1.31 + sed -i 's|<glib/gunicode.h>|<glib.h>|' pan/usenet-utils/text-massager.cc 1.32 + sed -i 's|<glib/gthread.h>|<glib.h>|' pan/general/locking.h 1.33 + sed -i -e 's|<glib/gstring.h>|<glib.h>|' \ 1.34 + -e 's|<glib/giochannel.h>|<glib.h>|' \ 1.35 + pan/tasks/socket-impl-gio.h 1.36 + sed -i -e 's|<glib/gfileutils.h>|<glib.h>|' \ 1.37 + pan/data-impl/data-impl.cc 1.38 while read file last; do 1.39 grep -q 'include <cstdio>' pan/$file || 1.40 sed -i "s/<$last>/<$last>\n#include <cstdio>/" pan/$file