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

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +14 lines)
Line  Link Here
0
-- configure.ac
0
++ configure.ac
Lines 50-55 Link Here
50
fi;
50
fi;
51
51
52
52
53
dnl Check for libm for ceil()
54
AC_SEARCH_LIBS([ceil], [m], [], [
55
	AC_MSG_ERROR([unable to find the ceil() function])
56
])
57
58
53
dnl Check for gtk and related libraries
59
dnl Check for gtk and related libraries
54
PKG_CHECK_MODULES(GTK, [glib-2.0 >= 2.12.0
60
PKG_CHECK_MODULES(GTK, [glib-2.0 >= 2.12.0
55
		       gtk+-2.0 >= 2.8.0
61
		       gtk+-2.0 >= 2.8.0
Lines 91-96 Link Here
91
	AC_CHECK_LIB(vorbisfile, main,,
97
	AC_CHECK_LIB(vorbisfile, main,,
92
		[enable_vorbis=no;  disable_vorbis_reason="(missing vorbisfile library)"])
98
		[enable_vorbis=no;  disable_vorbis_reason="(missing vorbisfile library)"])
93
fi;
99
fi;
100
if test "$enable_vorbis" = "yes"; then
101
	PKG_CHECK_MODULES([OGG], [ogg])
102
fi;
94
103
95
AM_CONDITIONAL(ENABLE_MP3,    test "$enable_mp3" = "yes")
104
AM_CONDITIONAL(ENABLE_MP3,    test "$enable_mp3" = "yes")
96
AM_CONDITIONAL(ENABLE_VORBIS, test "$enable_vorbis" = "yes")
105
AM_CONDITIONAL(ENABLE_VORBIS, test "$enable_vorbis" = "yes")
97
-- src/Makefile.am
106
++ src/Makefile.am
Lines 28-34 Link Here
28
vorbis_sources = vorbis_file.c vorbis_file.h vorbis_edit.c 		\
28
vorbis_sources = vorbis_file.c vorbis_file.h vorbis_edit.c 		\
29
	vorbis_edit.h vorbis_edit_field.c vorbis_edit_field.h vcedit.c 	\
29
	vorbis_edit.h vorbis_edit_field.c vorbis_edit_field.h vcedit.c 	\
30
	vcedit.h
30
	vcedit.h
31
vorbis_cflags = -DENABLE_VORBIS
31
vorbis_cflags = $(OGG_CFLAGS) -DENABLE_VORBIS
32
vorbis_libs = $(OGG_LIBS)
32
else
33
else
33
vorbis_sources =
34
vorbis_sources =
34
vorbis_cflags =
35
vorbis_cflags =
Lines 39-45 Link Here
39
	${vorbis_cflags} -DDATADIR='"$(datadir)/${PACKAGE_NAME}"'
40
	${vorbis_cflags} -DDATADIR='"$(datadir)/${PACKAGE_NAME}"'
40
41
41
tagtool_LDFLAGS = -export-dynamic
42
tagtool_LDFLAGS = -export-dynamic
42
tagtool_LDADD = $(GTK_LIBS)
43
tagtool_LDADD = $(GTK_LIBS) ${vorbis_libs}
43
44
44
tagtool_SOURCES = file_list.c file_list.h file_util.c file_util.h	\
45
tagtool_SOURCES = file_list.c file_list.h file_util.c file_util.h	\
45
	edit_tab.c edit_tab.h elist.c elist.h main.c math_util.c	\
46
	edit_tab.c edit_tab.h elist.c elist.h main.c math_util.c	\

Return to bug 513012