Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113860 - vlc-0.8.4-r1 some problems with the skins use flag (compilation and installation)
Summary: vlc-0.8.4-r1 some problems with the skins use flag (compilation and installat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-28 17:58 UTC by Gergan Penkov
Modified: 2005-11-29 04:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gergan Penkov 2005-11-28 17:58:50 UTC
I have had problems compiling the vlc-0.8.4-r1 with skins flag, because it seems
to imply the use of the freetype flag. This is the result on compilation with
+skins -freetype:

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags
plugin skins2` -Wsign-compare -Wsign-compare -Wall -march=athlon-xp -O2 -pipe
-pipe -MT libskins2_plugin_a-evt_scroll.o -MD -MP -MF
".deps/libskins2_plugin_a-evt_scroll.Tpo" -c -o libskins2_plugin_a-evt_scroll.o
`test -f 'events/evt_scroll.cpp' || echo './'`events/evt_scroll.cpp; \
then mv -f ".deps/libskins2_plugin_a-evt_scroll.Tpo"
".deps/libskins2_plugin_a-evt_scroll.Po"; else rm -f
".deps/libskins2_plugin_a-evt_scroll.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags
plugin skins2` -Wsign-compare -Wsign-compare -Wall -march=athlon-xp -O2 -pipe
-pipe -MT libskins2_plugin_a-builder.o -MD -MP -MF
".deps/libskins2_plugin_a-builder.Tpo" -c -o libskins2_plugin_a-builder.o `test
-f 'parser/builder.cpp' || echo './'`parser/builder.cpp; \
then mv -f ".deps/libskins2_plugin_a-builder.Tpo"
".deps/libskins2_plugin_a-builder.Po"; else rm -f
".deps/libskins2_plugin_a-builder.Tpo"; exit 1; fi
In file included from parser/../src/ft2_font.hpp:28,
                 from parser/builder.cpp:35:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file
or directory
In file included from parser/builder.cpp:35:
parser/../src/ft2_font.hpp:29:10: error: #include expects "FILENAME" or <FILENAME>
parser/../src/ft2_font.hpp:30:10: error: #include expects "FILENAME" or <FILENAME>
parser/../src/ft2_font.hpp:60: error: 
Comment 1 Gergan Penkov 2005-11-28 17:58:50 UTC
I have had problems compiling the vlc-0.8.4-r1 with skins flag, because it seems
to imply the use of the freetype flag. This is the result on compilation with
+skins -freetype:

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags
plugin skins2` -Wsign-compare -Wsign-compare -Wall -march=athlon-xp -O2 -pipe
-pipe -MT libskins2_plugin_a-evt_scroll.o -MD -MP -MF
".deps/libskins2_plugin_a-evt_scroll.Tpo" -c -o libskins2_plugin_a-evt_scroll.o
`test -f 'events/evt_scroll.cpp' || echo './'`events/evt_scroll.cpp; \
then mv -f ".deps/libskins2_plugin_a-evt_scroll.Tpo"
".deps/libskins2_plugin_a-evt_scroll.Po"; else rm -f
".deps/libskins2_plugin_a-evt_scroll.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags
plugin skins2` -Wsign-compare -Wsign-compare -Wall -march=athlon-xp -O2 -pipe
-pipe -MT libskins2_plugin_a-builder.o -MD -MP -MF
".deps/libskins2_plugin_a-builder.Tpo" -c -o libskins2_plugin_a-builder.o `test
-f 'parser/builder.cpp' || echo './'`parser/builder.cpp; \
then mv -f ".deps/libskins2_plugin_a-builder.Tpo"
".deps/libskins2_plugin_a-builder.Po"; else rm -f
".deps/libskins2_plugin_a-builder.Tpo"; exit 1; fi
In file included from parser/../src/ft2_font.hpp:28,
                 from parser/builder.cpp:35:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file
or directory
In file included from parser/builder.cpp:35:
parser/../src/ft2_font.hpp:29:10: error: #include expects "FILENAME" or <FILENAME>
parser/../src/ft2_font.hpp:30:10: error: #include expects "FILENAME" or <FILENAME>
parser/../src/ft2_font.hpp:60: error: FT_Glyph does not name a type
parser/../src/ft2_font.hpp:61: error: FT_BBox does not name a type
parser/../src/ft2_font.hpp:74: error: FT_Library does not name a type
parser/../src/ft2_font.hpp:76: error: FT_Face does not name a type
make[6]: *** [libskins2_plugin_a-builder.o] Error 1
make[6]: Leaving directory
`/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4/modules/gui/skins2'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory
`/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4/modules/gui/skins2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.4-r1/work/vlc-0.8.4'
make: *** [all] Error 2

!!! ERROR: media-video/vlc-0.8.4-r1 failed.
!!! Function src_compile, Line 230, Exitcode 2
!!! make of VLC failed
!!! If you need support, post the topmost build error, NOT this status message.

Now with +skins +freetype the compilation completes successfully, so probably in
some way freetype should be automatically selected in the ebuild on using the
skins-use-flag.

The other thing is that the ebuild does not installs the default skin, so the
skins-interface could not be used on default installation:

        rm -rf ${D}/usr/share/vlc/skins2 ${D}/usr/share/doc/vlc \
                ${D}/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico}

probably should be 

        rm -rf ${D}/usr/share/doc/vlc \
                ${D}/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico}
        if ! use skins; then
                rm -rf ${D}/usr/share/vlc/skins2
        fi
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-29 04:07:11 UTC
Fixed now (without revbump as I'm planning of doing one in the next days).