~ubuntu-branches/ubuntu/natty/vlc/natty

« back to all changes in this revision

Viewing changes to src/check_symbols

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-06-25 01:09:16 UTC
  • mfrom: (1.1.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20100625010916-asxhep2mutg6g6pd
Tags: 1.1.0-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - build and install the libx264 plugin
  - add Xb-Npp header to vlc package
  - Add apport hook to include more vlc dependencies in bug reports
* Drop xulrunner patches.
* Drop 502_xulrunner_191.diff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Plugin API consistency check for VLC
3
3
# Copyright © 2007 Rémi Denis-Courmont.
4
4
 
5
 
rm -f libvlc-headers.sym
6
 
 
7
 
cat ${srcdir}/../include/vlc_*.h ${srcdir}/control/*.h | \
8
 
sed -n -e 's/^[ ]*VLC_EXPORT[ ]*([^,]*,\([^,]*\),.*/\1/p' | \
9
 
sed -e 's/[^a-zA-Z0-9_]*//' | \
10
 
sort -fdu > libvlc-headers.sym
11
 
 
12
 
if ! diff -u ${srcdir}/libvlccore.sym libvlc-headers.sym; then
 
5
if ! diff -u libvlc-headers.sym libvlc-sorted.sym; then
13
6
        echo "Mismatching symbols found!"
14
7
        exit 1
15
8
fi
19
12
#       echo "Illegal symbol name (starting with underscore) found!";
20
13
#       exit 1
21
14
#fi
22
 
 
23
 
rm -f libvlc-headers.sym