~ubuntu-branches/ubuntu/intrepid/libcairo/intrepid

« back to all changes in this revision

Viewing changes to src/check-def.sh

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher, Fabien Tassin
  • Date: 2007-12-21 11:46:45 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20071221114645-v1bx91voavqus4uw
Tags: 1.5.4-0ubuntu1
* debian/rules:
  - updated shlibs version

[ Fabien Tassin ]
* new upstream snapshot: 1.5.4
* Drop patches no longer useful:
  - debian/patches/91_malloc-overflow-fixes.dpatch
  - debian/patches/90_from_git_fix_zero_sized_bitmap_handling.dpatch
  - debian/patches/90_from_git_fix_not_available_glyph_handling.dpatch
* Replace Ubuntu's lcd patch by patch from Freedesktop bug #10301
  - drop debian/patches/02-cairo-1.4.8-lcd-filter-2.dpatch
  - add debian/patches/02-lcd_filter_freedesktop_bug10301.patch
* Move from 16.16 to 24.8 fixed point precision
  - add debian/patches/01-fixed_point_24.8_precision.dpatch
* Add libpixman-1-dev (>= 0.9.4) to Build-deps
  - update debian/control
* Update debian/patches/00list

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
defs="cairo.def"
19
19
make $defs
20
20
for def in $defs; do
21
 
        lib=${def%.def}
22
 
        lib=${lib##*/}
 
21
        lib=`echo "$def" | sed 's/[.]def$//'`
 
22
        lib=`echo "$lib" | sed 's@.*/@@'`
23
23
        so=.libs/lib${lib}.so
24
24
 
25
 
        test -f $so || continue
 
25
        test -f "$so" || continue
26
26
        echo Checking $def
27
27
 
28
28
        {
29
29
                echo EXPORTS
30
30
                eval $get_cairo_syms | grep -v '^_cairo_test_\|^_fini\|^_init' | sort -u
31
31
                # cheat: copy the last line from the def file!
32
 
                tail -n1 $def
33
 
        } | diff $def - || status=1
 
32
                tail -n1 "$def"
 
33
        } | diff "$def" - || status=1
34
34
done
35
35
 
36
36
exit $status