Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 447452 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/Makefile.am (-2 / +2 lines)
Lines 214-224 harfbuzz.def: $(HBHEADERS) Link Here
214
	(cat $^ || echo 'hb_ERROR ()' ) | \
214
	(cat $^ || echo 'hb_ERROR ()' ) | \
215
	$(EGREP) '^hb_.* \(' | \
215
	$(EGREP) '^hb_.* \(' | \
216
	sed -e 's/ (.*//' | \
216
	sed -e 's/ (.*//' | \
217
	LANG=C sort; \
217
	LC_ALL=C sort; \
218
	echo LIBRARY libharfbuzz-$(HB_VERSION_MAJOR).dll; \
218
	echo LIBRARY libharfbuzz-$(HB_VERSION_MAJOR).dll; \
219
	) >"$@.tmp"
219
	) >"$@.tmp"
220
	@ ! grep -q hb_ERROR "$@.tmp" && mv "$@.tmp" "$@" || ($(RM) "$@"; false)
220
	@ ! grep -q hb_ERROR "$@.tmp" && mv "$@.tmp" "$@" || ($(RM) "$@"; false)
221
221
222
check-exported-symbols.sh: harfbuzz.def
222
223
223
GENERATORS = \
224
GENERATORS = \
224
	gen-arabic-table.py \
225
	gen-arabic-table.py \
Lines 287-293 endif Link Here
287
TESTS = $(dist_check_SCRIPTS)
288
TESTS = $(dist_check_SCRIPTS)
288
TESTS_ENVIRONMENT = \
289
TESTS_ENVIRONMENT = \
289
	srcdir="$(srcdir)" \
290
	srcdir="$(srcdir)" \
290
	MAKE="$(MAKE) $(AM_MAKEFLAGS)" \
291
	HBSOURCES="$(HBSOURCES)" \
291
	HBSOURCES="$(HBSOURCES)" \
292
	HBHEADERS="$(HBHEADERS)" \
292
	HBHEADERS="$(HBHEADERS)" \
293
	$(NULL)
293
	$(NULL)
(-)a/src/Makefile.in (-2 / +3 lines)
Lines 619-625 dist_check_SCRIPTS = check-c-linkage-decls.sh check-header-guards.sh \ Link Here
619
	$(am__append_49)
619
	$(am__append_49)
620
TESTS_ENVIRONMENT = \
620
TESTS_ENVIRONMENT = \
621
	srcdir="$(srcdir)" \
621
	srcdir="$(srcdir)" \
622
	MAKE="$(MAKE) $(AM_MAKEFLAGS)" \
623
	HBSOURCES="$(HBSOURCES)" \
622
	HBSOURCES="$(HBSOURCES)" \
624
	HBHEADERS="$(HBHEADERS)" \
623
	HBHEADERS="$(HBHEADERS)" \
625
	$(NULL)
624
	$(NULL)
Lines 1609-1619 harfbuzz.def: $(HBHEADERS) Link Here
1609
	(cat $^ || echo 'hb_ERROR ()' ) | \
1608
	(cat $^ || echo 'hb_ERROR ()' ) | \
1610
	$(EGREP) '^hb_.* \(' | \
1609
	$(EGREP) '^hb_.* \(' | \
1611
	sed -e 's/ (.*//' | \
1610
	sed -e 's/ (.*//' | \
1612
	LANG=C sort; \
1611
	LC_ALL=C sort; \
1613
	echo LIBRARY libharfbuzz-$(HB_VERSION_MAJOR).dll; \
1612
	echo LIBRARY libharfbuzz-$(HB_VERSION_MAJOR).dll; \
1614
	) >"$@.tmp"
1613
	) >"$@.tmp"
1615
	@ ! grep -q hb_ERROR "$@.tmp" && mv "$@.tmp" "$@" || ($(RM) "$@"; false)
1614
	@ ! grep -q hb_ERROR "$@.tmp" && mv "$@.tmp" "$@" || ($(RM) "$@"; false)
1616
1615
1616
check-exported-symbols.sh: harfbuzz.def
1617
1617
unicode-tables: arabic-table indic-table
1618
unicode-tables: arabic-table indic-table
1618
1619
1619
indic-table: gen-indic-table.py IndicSyllabicCategory.txt IndicMatraCategory.txt Blocks.txt
1620
indic-table: gen-indic-table.py IndicSyllabicCategory.txt IndicMatraCategory.txt Blocks.txt
(-)a/src/check-exported-symbols.sh (-3 / +1 lines)
Lines 4-10 LC_ALL=C Link Here
4
export LC_ALL
4
export LC_ALL
5
5
6
test -z "$srcdir" && srcdir=.
6
test -z "$srcdir" && srcdir=.
7
test -z "$MAKE" && MAKE=make
8
stat=0
7
stat=0
9
8
10
if which nm 2>/dev/null >/dev/null; then
9
if which nm 2>/dev/null >/dev/null; then
Lines 15-21 else Link Here
15
fi
14
fi
16
15
17
defs="harfbuzz.def"
16
defs="harfbuzz.def"
18
$MAKE $defs > /dev/null
19
tested=false
17
tested=false
20
for def in $defs; do
18
for def in $defs; do
21
	lib=`echo "$def" | sed 's/[.]def$//;s@.*/@@'`
19
	lib=`echo "$def" | sed 's/[.]def$//;s@.*/@@'`
Lines 24-30 for def in $defs; do Link Here
24
		echo "Checking that $so has the same symbol list as $def"
22
		echo "Checking that $so has the same symbol list as $def"
25
		{
23
		{
26
			echo EXPORTS
24
			echo EXPORTS
27
			nm "$so" | grep ' [BCDGINRSTVW] ' | grep -v ' T _fini\>\| T _init\>' | cut -d' ' -f3
25
			nm "$so" | grep ' [BCDGINRSTVW] ' | grep -v ' T _fini\>\| T _init\>' | cut -d' ' -f3 #| LC_ALL=C sort
28
			stat=1
26
			stat=1
29
			# cheat: copy the last line from the def file!
27
			# cheat: copy the last line from the def file!
30
			tail -n1 "$def"
28
			tail -n1 "$def"

Return to bug 447452