Bug 153193 - [patch] multimedia/emotion: vlc plugin is broken due to libvlc API changes
Summary: [patch] multimedia/emotion: vlc plugin is broken due to libvlc API changes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Stanislav Sedov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 22:30 UTC by Igor Ostapenko
Modified: 2010-12-16 02:21 UTC (History)
0 users

See Also:


Attachments
file.diff (341 bytes, patch)
2010-12-15 22:30 UTC, Igor Ostapenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Ostapenko freebsd_committer freebsd_triage 2010-12-15 22:30:13 UTC
Cannot build emotion with vlc plugin which was automatically detected and enabled due to I have multimedia/vlc installed. Emotion's vlc plugin is not updated according to the latest changes of libvlc API.
Official bug: http://trac.enlightenment.org/e/ticket/601

Vlc plugin build log:

Making all in vlc
gmake[4]: Entering directory `/usr/ports/multimedia/emotion/work/emotion-0.2.0.52995/src/modules/vlc'
/bin/sh ../../../libtool --tag=CC --tag=disable-static  --mode=compile cc -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../src/lib -I../../../src/modules -DPACKAGE_BIN_DIR=\"/usr/local/bin\" -DPACKAGE_LIB_DIR=\"/usr/local/lib\" -DPACKAGE_DATA_DIR=\"/usr/local/share/emotion\" -I/usr/local/include/eina-1 -I/usr/local/include/eina-1/eina -I/usr/local/include/evas-1 -I/usr/local/include/eet-1 -I/usr/local/include/fribidi -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/ecore-1 -I/usr/local/include -I/usr/local/include/evas-1 -I/usr/local/include/eet-1 -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/eina-1 -I/usr/local/include/eina-1/eina   -I/usr/local/include  -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=prescott -MT vlc_la-emotion_vlc.lo -MD -MP -MF .deps/vlc_la-emotion_vlc.Tpo -c -o vlc_la-emotion_vlc.lo `test -f 'emotion_vlc.c' || echo './'`emotion_vlc.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../src/lib -I../../../src/modules -DPACKAGE_BIN_DIR=\"/usr/local/bin\" -DPACKAGE_LIB_DIR=\"/usr/local/lib\" -DPACKAGE_DATA_DIR=\"/usr/local/share/emotion\" -I/usr/local/include/eina-1 -I/usr/local/include/eina-1/eina -I/usr/local/include/evas-1 -I/usr/local/include/eet-1 -I/usr/local/include/fribidi -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/ecore-1 -I/usr/local/include -I/usr/local/include/evas-1 -I/usr/local/include/eet-1 -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/eina-1 -I/usr/local/include/eina-1/eina -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=prescott -MT vlc_la-emotion_vlc.lo -MD -MP -MF .deps/vlc_la-emotion_vlc.Tpo -c emotion_vlc.c  -fPIC -DPIC -o .libs/vlc_la-emotion_vlc.o
In file included from emotion_vlc.c:11:
emotion_vlc.h:115: error: expected specifier-qualifier-list before 'libvlc_exception_t'
emotion_vlc.c: In function '_em_slave_thread':
emotion_vlc.c:18: error: 'Emotion_Vlc_Video' has no member named 'fd_slave_read'
emotion_vlc.c:24: error: 'Emotion_Vlc_Video' has no member named 'obj'
emotion_vlc.c: In function 'em_init':
emotion_vlc.c:69: error: 'Emotion_Vlc_Video' has no member named 'w'
emotion_vlc.c:70: error: 'Emotion_Vlc_Video' has no member named 'h'
emotion_vlc.c:71: error: 'Emotion_Vlc_Video' has no member named 'ratio'
emotion_vlc.c:73: error: 'Emotion_Vlc_Video' has no member named 'cur_frame'
emotion_vlc.c:77: error: 'Emotion_Vlc_Video' has no member named 'fd_read'
emotion_vlc.c:78: error: 'Emotion_Vlc_Video' has no member named 'fd_write'
emotion_vlc.c:79: error: 'Emotion_Vlc_Video' has no member named 'fd_read'
emotion_vlc.c:80: error: 'Emotion_Vlc_Video' has no member named 'fd_handler'
emotion_vlc.c:80: error: 'Emotion_Vlc_Video' has no member named 'fd_read'
emotion_vlc.c:80: warning: passing argument 3 of 'ecore_main_fd_handler_add' from incompatible pointer type
emotion_vlc.c:81: error: 'Emotion_Vlc_Video' has no member named 'fd_handler'
emotion_vlc.c:86: error: 'Emotion_Vlc_Video' has no member named 'fd_slave_read'
emotion_vlc.c:87: error: 'Emotion_Vlc_Video' has no member named 'fd_slave_write'
emotion_vlc.c:88: error: 'Emotion_Vlc_Video' has no member named 'fd_slave_write'
emotion_vlc.c:90: error: 'Emotion_Vlc_Video' has no member named 'obj'
emotion_vlc.c:92: error: 'Emotion_Vlc_Video' has no member named 'delete_me'
emotion_vlc.c:93: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:94: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:95: error: 'Emotion_Vlc_Video' has no member named 'video_mute'
emotion_vlc.c:99: error: 'Emotion_Vlc_Video' has no member named 'opt_no_audio'
emotion_vlc.c:100: error: 'Emotion_Vlc_Video' has no member named 'opt_no_video'
emotion_vlc.c:112: error: 'Emotion_Vlc_Video' has no member named 'width'
emotion_vlc.c:113: error: 'Emotion_Vlc_Video' has no member named 'height'
emotion_vlc.c:114: error: 'Emotion_Vlc_Video' has no member named 'pitch'
emotion_vlc.c:116: error: 'Emotion_Vlc_Video' has no member named 'clock'
emotion_vlc.c:117: error: 'Emotion_Vlc_Video' has no member named 'cunlock'
emotion_vlc.c:118: error: 'Emotion_Vlc_Video' has no member named 'cdata'
emotion_vlc.c:121: error: 'Emotion_Vlc_Video' has no member named 'clock'
emotion_vlc.c:121: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:122: error: 'Emotion_Vlc_Video' has no member named 'cunlock'
emotion_vlc.c:122: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:123: error: 'Emotion_Vlc_Video' has no member named 'cdata'
emotion_vlc.c:123: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:124: error: 'Emotion_Vlc_Video' has no member named 'width'
emotion_vlc.c:124: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:125: error: 'Emotion_Vlc_Video' has no member named 'height'
emotion_vlc.c:125: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:126: error: 'Emotion_Vlc_Video' has no member named 'pitch'
emotion_vlc.c:126: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:128: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:128: error: 'libvlc_exception_t' undeclared (first use in this function)
emotion_vlc.c:128: error: (Each undeclared identifier is reported only once
emotion_vlc.c:128: error: for each function it appears in.)
emotion_vlc.c:128: error: expected expression before ')' token
emotion_vlc.c:128: error: invalid operands to binary *
emotion_vlc.c:129: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:130: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:130: error: too many arguments to function 'libvlc_new'
emotion_vlc.c:131: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:134: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:140: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:141: error: 'Emotion_Vlc_Video' has no member named 'fd_write'
emotion_vlc.c:141: warning: passing argument 1 of 'write' makes integer from pointer without a cast
emotion_vlc.c: In function 'em_shutdown':
emotion_vlc.c:153: error: 'Emotion_Vlc_Video' has no member named 'cur_frame'
emotion_vlc.c:153: warning: assignment from incompatible pointer type
emotion_vlc.c:157: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:159: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:161: error: 'Emotion_Vlc_Video' has no member named 'closing'
emotion_vlc.c:163: error: 'Emotion_Vlc_Video' has no member named 'fd_handler'
emotion_vlc.c:163: warning: passing argument 1 of 'ecore_main_fd_handler_del' from incompatible pointer type
emotion_vlc.c:175: error: 'Emotion_Vlc_Video' has no member named 'fd_write'
emotion_vlc.c:175: warning: passing argument 1 of 'close' makes integer from pointer without a cast
emotion_vlc.c:176: error: 'Emotion_Vlc_Video' has no member named 'fd_read'
emotion_vlc.c:176: warning: passing argument 1 of 'close' makes integer from pointer without a cast
emotion_vlc.c:177: error: 'Emotion_Vlc_Video' has no member named 'fd_slave_write'
emotion_vlc.c:177: warning: passing argument 1 of 'close' makes integer from pointer without a cast
emotion_vlc.c:178: error: 'Emotion_Vlc_Video' has no member named 'fd_slave_read'
emotion_vlc.c:178: warning: passing argument 1 of 'close' makes integer from pointer without a cast
emotion_vlc.c: In function 'em_file_open':
emotion_vlc.c:192: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:192: warning: assignment makes pointer from integer without a cast
emotion_vlc.c:193: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:195: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:195: error: too many arguments to function 'libvlc_media_player_new_from_media'
emotion_vlc.c:196: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:198: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:202: error: 'Emotion_Vlc_Video' has no member named 'vlc_evtmngr'
emotion_vlc.c:202: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:202: error: too many arguments to function 'libvlc_media_player_event_manager'
emotion_vlc.c:203: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:206: error: 'Emotion_Vlc_Video' has no member named 'vlc_evtmngr'
emotion_vlc.c:206: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:206: warning: passing argument 1 of 'libvlc_event_attach' from incompatible pointer type
emotion_vlc.c:206: error: too many arguments to function 'libvlc_event_attach'
emotion_vlc.c:207: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:210: error: 'Emotion_Vlc_Video' has no member named 'filename'
emotion_vlc.c:211: error: 'Emotion_Vlc_Video' has no member named 'filename'
emotion_vlc.c:212: error: 'Emotion_Vlc_Video' has no member named 'filename'
emotion_vlc.c:214: error: 'Emotion_Vlc_Video' has no member named 'filename'
emotion_vlc.c:217: error: 'Emotion_Vlc_Video' has no member named 'just_loaded'
emotion_vlc.c: In function 'em_file_close':
emotion_vlc.c:232: error: 'Emotion_Vlc_Video' has no member named 'vlc_evtmngr'
emotion_vlc.c:232: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:232: warning: passing argument 1 of 'libvlc_event_detach' from incompatible pointer type
emotion_vlc.c:232: error: too many arguments to function 'libvlc_event_detach'
emotion_vlc.c:233: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:235: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:235: error: too many arguments to function 'libvlc_media_player_stop'
emotion_vlc.c:236: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:238: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:240: error: 'Emotion_Vlc_Video' has no member named 'filename'
emotion_vlc.c:241: error: 'Emotion_Vlc_Video' has no member named 'filename'
emotion_vlc.c:242: error: 'Emotion_Vlc_Video' has no member named 'filename'
emotion_vlc.c: In function 'em_play':
emotion_vlc.c:254: error: 'Emotion_Vlc_Video' has no member named 'play'
emotion_vlc.c:255: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:257: error: 'Emotion_Vlc_Video' has no member named 'pos'
emotion_vlc.c:257: error: invalid operands to binary !=
emotion_vlc.c:258: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:258: error: too many arguments to function 'libvlc_media_player_set_time'
emotion_vlc.c:261: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:261: error: too many arguments to function 'libvlc_media_player_play'
emotion_vlc.c:263: error: 'Emotion_Vlc_Video' has no member named 'just_loaded'
emotion_vlc.c: In function 'em_stop':
emotion_vlc.c:274: error: 'Emotion_Vlc_Video' has no member named 'play'
emotion_vlc.c:275: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:276: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:276: error: too many arguments to function 'libvlc_media_player_pause'
emotion_vlc.c:277: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_size_get':
emotion_vlc.c:287: error: 'Emotion_Vlc_Video' has no member named 'cur_frame'
emotion_vlc.c:287: warning: assignment from incompatible pointer type
emotion_vlc.c:290: error: 'Emotion_Vlc_Video' has no member named 'w'
emotion_vlc.c:290: warning: assignment makes integer from pointer without a cast
emotion_vlc.c:291: error: 'Emotion_Vlc_Video' has no member named 'h'
emotion_vlc.c:291: warning: assignment makes integer from pointer without a cast
emotion_vlc.c: In function 'em_pos_set':
emotion_vlc.c:302: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:302: error: too many arguments to function 'libvlc_media_player_set_time'
emotion_vlc.c:303: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_len_get':
emotion_vlc.c:312: error: 'Emotion_Vlc_Video' has no member named 'len'
emotion_vlc.c:312: error: incompatible types in return
emotion_vlc.c: In function 'em_fps_num_get':
emotion_vlc.c:321: error: 'Emotion_Vlc_Video' has no member named 'fps'
emotion_vlc.c:321: error: invalid operands to binary *
emotion_vlc.c: In function 'em_fps_get':
emotion_vlc.c:337: error: 'Emotion_Vlc_Video' has no member named 'fps'
emotion_vlc.c:337: error: incompatible types in return
emotion_vlc.c: In function 'em_pos_get':
emotion_vlc.c:346: error: 'Emotion_Vlc_Video' has no member named 'pos'
emotion_vlc.c:346: error: incompatible types in return
emotion_vlc.c: In function 'em_vis_set':
emotion_vlc.c:355: error: 'Emotion_Vlc_Video' has no member named 'vis'
emotion_vlc.c:355: warning: comparison between pointer and integer
emotion_vlc.c:356: error: 'Emotion_Vlc_Video' has no member named 'vis'
emotion_vlc.c: In function 'em_vis_get':
emotion_vlc.c:364: error: 'Emotion_Vlc_Video' has no member named 'vis'
emotion_vlc.c:364: error: incompatible types in return
emotion_vlc.c: In function 'em_ratio_get':
emotion_vlc.c:383: error: 'Emotion_Vlc_Video' has no member named 'cur_frame'
emotion_vlc.c:383: warning: assignment from incompatible pointer type
emotion_vlc.c:385: error: 'Emotion_Vlc_Video' has no member named 'ratio'
emotion_vlc.c:385: error: incompatible types in assignment
emotion_vlc.c: In function 'em_video_handled':
emotion_vlc.c:398: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:398: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:400: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:400: error: too many arguments to function 'libvlc_media_player_has_vout'
emotion_vlc.c:401: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_audio_handled':
emotion_vlc.c:411: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:411: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c: In function 'em_seekable':
emotion_vlc.c:423: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:423: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:424: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:425: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_video_data_size_get':
emotion_vlc.c:447: error: 'Emotion_Vlc_Video' has no member named 'w'
emotion_vlc.c:447: warning: assignment makes integer from pointer without a cast
emotion_vlc.c:448: error: 'Emotion_Vlc_Video' has no member named 'h'
emotion_vlc.c:448: warning: assignment makes integer from pointer without a cast
emotion_vlc.c: In function 'em_yuv_rows_get':
emotion_vlc.c:457: error: 'Emotion_Vlc_Video' has no member named 'cur_frame'
emotion_vlc.c:457: warning: assignment from incompatible pointer type
emotion_vlc.c: In function 'em_bgra_data_get':
emotion_vlc.c:479: error: 'Emotion_Vlc_Video' has no member named 'cur_frame'
emotion_vlc.c:479: warning: assignment from incompatible pointer type
emotion_vlc.c: In function '_em_resize':
emotion_vlc.c:513: error: 'Emotion_Vlc_Video' has no member named 'width'
emotion_vlc.c:513: warning: initialization from incompatible pointer type
emotion_vlc.c:514: error: 'Emotion_Vlc_Video' has no member named 'height'
emotion_vlc.c:514: warning: initialization from incompatible pointer type
emotion_vlc.c:515: error: 'Emotion_Vlc_Video' has no member named 'pitch'
emotion_vlc.c:515: warning: initialization from incompatible pointer type
emotion_vlc.c:517: error: 'Emotion_Vlc_Video' has no member named 'clock'
emotion_vlc.c:517: warning: initialization from incompatible pointer type
emotion_vlc.c:518: error: 'Emotion_Vlc_Video' has no member named 'cunlock'
emotion_vlc.c:518: warning: initialization from incompatible pointer type
emotion_vlc.c:519: error: 'Emotion_Vlc_Video' has no member named 'cdata'
emotion_vlc.c:519: warning: initialization from incompatible pointer type
emotion_vlc.c:525: error: 'Emotion_Vlc_Video' has no member named 'cur_frame'
emotion_vlc.c:525: warning: assignment from incompatible pointer type
emotion_vlc.c:529: warning: 'libvlc_video_get_width' is deprecated (declared at /usr/local/include/vlc/libvlc_media_player.h:662)
emotion_vlc.c:529: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:529: error: too many arguments to function 'libvlc_video_get_width'
emotion_vlc.c:530: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:533: warning: 'libvlc_video_get_height' is deprecated (declared at /usr/local/include/vlc/libvlc_media_player.h:652)
emotion_vlc.c:533: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:533: error: too many arguments to function 'libvlc_video_get_height'
emotion_vlc.c:534: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:542: error: 'Emotion_Vlc_Video' has no member named 'filename'
emotion_vlc.c:543: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:543: error: too many arguments to function 'libvlc_media_player_stop'
emotion_vlc.c:544: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:546: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:550: error: 'Emotion_Vlc_Video' has no member named 'w'
emotion_vlc.c:551: error: 'Emotion_Vlc_Video' has no member named 'h'
emotion_vlc.c:552: error: 'Emotion_Vlc_Video' has no member named 'ratio'
emotion_vlc.c:556: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:558: error: 'Emotion_Vlc_Video' has no member named 'clock'
emotion_vlc.c:558: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:559: error: 'Emotion_Vlc_Video' has no member named 'cunlock'
emotion_vlc.c:559: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:560: error: 'Emotion_Vlc_Video' has no member named 'cdata'
emotion_vlc.c:560: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:561: error: 'Emotion_Vlc_Video' has no member named 'width'
emotion_vlc.c:561: error: 'Emotion_Vlc_Video' has no member named 'w'
emotion_vlc.c:561: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:562: error: 'Emotion_Vlc_Video' has no member named 'height'
emotion_vlc.c:562: error: 'Emotion_Vlc_Video' has no member named 'h'
emotion_vlc.c:562: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:563: error: 'Emotion_Vlc_Video' has no member named 'pitch'
emotion_vlc.c:563: error: 'Emotion_Vlc_Video' has no member named 'w'
emotion_vlc.c:563: error: invalid operands to binary *
emotion_vlc.c:563: warning: passing argument 1 of 'sprintf' from incompatible pointer type
emotion_vlc.c:564: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:564: error: too many arguments to function 'libvlc_new'
emotion_vlc.c:565: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:569: error: 'Emotion_Vlc_Video' has no member named 'filename'
emotion_vlc.c:571: error: 'Emotion_Vlc_Video' has no member named 'filename'
emotion_vlc.c:571: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:571: warning: assignment makes pointer from integer without a cast
emotion_vlc.c:572: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:574: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:574: error: too many arguments to function 'libvlc_media_player_new_from_media'
emotion_vlc.c:575: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:577: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:581: error: 'Emotion_Vlc_Video' has no member named 'vlc_evtmngr'
emotion_vlc.c:581: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:581: error: too many arguments to function 'libvlc_media_player_event_manager'
emotion_vlc.c:582: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:585: error: 'Emotion_Vlc_Video' has no member named 'vlc_evtmngr'
emotion_vlc.c:585: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:585: warning: passing argument 1 of 'libvlc_event_attach' from incompatible pointer type
emotion_vlc.c:585: error: too many arguments to function 'libvlc_event_attach'
emotion_vlc.c:586: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:597: error: 'Emotion_Vlc_Video' has no member named 'w'
emotion_vlc.c:597: error: 'Emotion_Vlc_Video' has no member named 'h'
emotion_vlc.c:597: error: invalid operands to binary *
emotion_vlc.c:597: error: invalid operands to binary *
emotion_vlc.c:597: error: invalid operands to binary *
emotion_vlc.c:597: warning: passing argument 1 of 'malloc' makes integer from pointer without a cast
emotion_vlc.c:598: error: 'Emotion_Vlc_Video' has no member named 'w'
emotion_vlc.c:598: error: 'Emotion_Vlc_Video' has no member named 'h'
emotion_vlc.c:598: error: invalid operands to binary *
emotion_vlc.c:598: error: invalid operands to binary *
emotion_vlc.c:598: error: invalid operands to binary *
emotion_vlc.c:598: warning: passing argument 1 of 'malloc' makes integer from pointer without a cast
emotion_vlc.c:605: error: 'Emotion_Vlc_Video' has no member named 'fd_write'
emotion_vlc.c:605: warning: passing argument 1 of 'write' makes integer from pointer without a cast
emotion_vlc.c:610: error: 'Emotion_Vlc_Video' has no member named 'filename'
emotion_vlc.c:611: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:611: error: too many arguments to function 'libvlc_media_player_play'
emotion_vlc.c:615: error: 'Emotion_Vlc_Video' has no member named 'video_mute'
emotion_vlc.c: In function '_em_fd_active':
emotion_vlc.c:634: error: 'Emotion_Vlc_Video' has no member named 'obj'
emotion_vlc.c:634: warning: passing argument 1 of '_emotion_frame_new' from incompatible pointer type
emotion_vlc.c:638: error: 'Emotion_Vlc_Video' has no member named 'obj'
emotion_vlc.c:638: error: 'Emotion_Vlc_Video' has no member named 'w'
emotion_vlc.c:638: error: 'Emotion_Vlc_Video' has no member named 'h'
emotion_vlc.c:638: error: 'Emotion_Vlc_Video' has no member named 'ratio'
emotion_vlc.c:638: warning: passing argument 1 of '_emotion_frame_resize' from incompatible pointer type
emotion_vlc.c:638: warning: passing argument 2 of '_emotion_frame_resize' makes integer from pointer without a cast
emotion_vlc.c:638: warning: passing argument 3 of '_emotion_frame_resize' makes integer from pointer without a cast
emotion_vlc.c:638: error: incompatible type for argument 4 of '_emotion_frame_resize'
emotion_vlc.c: In function 'em_event_feed':
emotion_vlc.c:655: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:655: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c: In function 'em_event_mouse_button_feed':
emotion_vlc.c:727: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:727: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c: In function 'em_event_mouse_move_feed':
emotion_vlc.c:736: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:736: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c: In function 'em_video_channel_count':
emotion_vlc.c:746: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:746: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:747: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:747: error: too many arguments to function 'libvlc_media_player_has_vout'
emotion_vlc.c:748: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_video_channel_mute_set':
emotion_vlc.c:776: error: 'Emotion_Vlc_Video' has no member named 'video_mute'
emotion_vlc.c: In function 'em_video_channel_mute_get':
emotion_vlc.c:784: error: 'Emotion_Vlc_Video' has no member named 'video_mute'
emotion_vlc.c:784: warning: return makes integer from pointer without a cast
emotion_vlc.c: In function 'em_audio_channel_set':
emotion_vlc.c:801: error: 'Emotion_Vlc_Video' has no member named 'audio_channel'
emotion_vlc.c:802: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:802: warning: passing argument 1 of 'libvlc_audio_set_channel' from incompatible pointer type
emotion_vlc.c:802: error: too many arguments to function 'libvlc_audio_set_channel'
emotion_vlc.c:803: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_audio_channel_get':
emotion_vlc.c:814: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:814: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:815: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:815: warning: passing argument 1 of 'libvlc_audio_get_channel' from incompatible pointer type
emotion_vlc.c:815: error: too many arguments to function 'libvlc_audio_get_channel'
emotion_vlc.c:816: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_audio_channel_mute_set':
emotion_vlc.c:833: error: 'Emotion_Vlc_Video' has no member named 'audio_mute'
emotion_vlc.c:834: error: 'Emotion_Vlc_Video' has no member named 'audio_mute'
emotion_vlc.c:834: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:834: warning: passing argument 1 of 'libvlc_audio_set_mute' from incompatible pointer type
emotion_vlc.c:834: error: too many arguments to function 'libvlc_audio_set_mute'
emotion_vlc.c:835: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_audio_channel_mute_get':
emotion_vlc.c:844: error: 'Emotion_Vlc_Video' has no member named 'audio_mute'
emotion_vlc.c:844: warning: return makes integer from pointer without a cast
emotion_vlc.c: In function 'em_audio_channel_volume_set':
emotion_vlc.c:858: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:858: warning: passing argument 1 of 'libvlc_audio_set_volume' from incompatible pointer type
emotion_vlc.c:858: error: too many arguments to function 'libvlc_audio_set_volume'
emotion_vlc.c:859: error: 'Emotion_Vlc_Video' has no member named 'fd_slave_write'
emotion_vlc.c:859: warning: passing argument 1 of 'write' makes integer from pointer without a cast
emotion_vlc.c:860: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_audio_channel_volume_get':
emotion_vlc.c:871: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:871: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:872: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:872: warning: passing argument 1 of 'libvlc_audio_get_volume' from incompatible pointer type
emotion_vlc.c:872: error: too many arguments to function 'libvlc_audio_get_volume'
emotion_vlc.c:873: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_spu_channel_set':
emotion_vlc.c:891: error: 'Emotion_Vlc_Video' has no member named 'spu_channel'
emotion_vlc.c:892: error: 'Emotion_Vlc_Video' has no member named 'spu_channel'
emotion_vlc.c:892: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:892: warning: passing argument 2 of 'libvlc_video_set_spu' makes integer from pointer without a cast
emotion_vlc.c:892: error: too many arguments to function 'libvlc_video_set_spu'
emotion_vlc.c:893: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_spu_channel_get':
emotion_vlc.c:904: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:904: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:905: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:905: error: too many arguments to function 'libvlc_video_get_spu'
emotion_vlc.c:906: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_chapter_count':
emotion_vlc.c:936: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:936: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:937: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:937: error: too many arguments to function 'libvlc_media_player_get_chapter_count'
emotion_vlc.c:938: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_chapter_set':
emotion_vlc.c:949: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:949: error: too many arguments to function 'libvlc_media_player_set_chapter'
emotion_vlc.c:950: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_chapter_get':
emotion_vlc.c:961: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:961: error: too many arguments to function 'libvlc_media_player_get_chapter'
emotion_vlc.c:962: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_speed_set':
emotion_vlc.c:979: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:979: error: too many arguments to function 'libvlc_media_player_set_rate'
emotion_vlc.c:980: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_speed_get':
emotion_vlc.c:991: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:991: error: too many arguments to function 'libvlc_media_player_get_rate'
emotion_vlc.c:992: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c: In function 'em_meta_get':
emotion_vlc.c:1013: error: 'Emotion_Vlc_Video' has no member named 'opening'
emotion_vlc.c:1013: error: 'Emotion_Vlc_Video' has no member named 'play_ok'
emotion_vlc.c:1017: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1017: error: too many arguments to function 'libvlc_media_get_meta'
emotion_vlc.c:1020: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1020: error: too many arguments to function 'libvlc_media_get_meta'
emotion_vlc.c:1023: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1023: error: too many arguments to function 'libvlc_media_get_meta'
emotion_vlc.c:1026: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1026: error: too many arguments to function 'libvlc_media_get_meta'
emotion_vlc.c:1029: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1029: error: too many arguments to function 'libvlc_media_get_meta'
emotion_vlc.c:1032: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1032: error: too many arguments to function 'libvlc_media_get_meta'
emotion_vlc.c:1035: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1035: error: too many arguments to function 'libvlc_media_get_meta'
emotion_vlc.c: In function '_em_event':
emotion_vlc.c:1054: error: 'Emotion_Vlc_Video' has no member named 'obj'
emotion_vlc.c:1054: warning: passing argument 1 of '_emotion_video_pos_update' from incompatible pointer type
emotion_vlc.c:1055: error: 'Emotion_Vlc_Video' has no member named 'pos'
emotion_vlc.c:1056: error: 'Emotion_Vlc_Video' has no member named 'len'
emotion_vlc.c:1057: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1057: error: too many arguments to function 'libvlc_media_player_get_length'
emotion_vlc.c:1058: error: 'Emotion_Vlc_Video' has no member named 'len'
emotion_vlc.c:1070: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1070: error: too many arguments to function 'libvlc_media_player_get_length'
emotion_vlc.c:1071: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1072: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1072: error: too many arguments to function 'libvlc_media_player_get_fps'
emotion_vlc.c:1073: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1074: warning: 'libvlc_video_get_width' is deprecated (declared at /usr/local/include/vlc/libvlc_media_player.h:662)
emotion_vlc.c:1074: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1074: error: too many arguments to function 'libvlc_video_get_width'
emotion_vlc.c:1075: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1076: warning: 'libvlc_video_get_height' is deprecated (declared at /usr/local/include/vlc/libvlc_media_player.h:652)
emotion_vlc.c:1076: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1076: error: too many arguments to function 'libvlc_video_get_height'
emotion_vlc.c:1077: error: 'Emotion_Vlc_Video' has no member named 'vlc_ex'
emotion_vlc.c:1079: error: 'Emotion_Vlc_Video' has no member named 'fps'
emotion_vlc.c:1080: error: 'Emotion_Vlc_Video' has no member named 'fps'
emotion_vlc.c:1082: error: 'Emotion_Vlc_Video' has no member named 'len'
emotion_vlc.c:1083: error: 'Emotion_Vlc_Video' has no member named 'len'
emotion_vlc.c:1086: error: 'Emotion_Vlc_Video' has no member named 'w'
emotion_vlc.c:1086: warning: comparison between pointer and integer
emotion_vlc.c:1086: error: 'Emotion_Vlc_Video' has no member named 'h'
emotion_vlc.c:1086: warning: comparison between pointer and integer
emotion_vlc.c:1089: error: 'Emotion_Vlc_Video' has no member named 'fd_slave_write'
emotion_vlc.c:1089: warning: passing argument 1 of 'write' makes integer from pointer without a cast
emotion_vlc.c:1094: error: 'Emotion_Vlc_Video' has no member named 'play'
emotion_vlc.c:1095: error: 'Emotion_Vlc_Video' has no member named 'obj'
emotion_vlc.c:1095: warning: passing argument 1 of '_emotion_decode_stop' from incompatible pointer type
emotion_vlc.c:1096: error: 'Emotion_Vlc_Video' has no member named 'obj'
emotion_vlc.c:1096: warning: passing argument 1 of '_emotion_playback_finished' from incompatible pointer type
emotion_vlc.c: In function '_em_lock':
emotion_vlc.c:1110: error: 'Emotion_Vlc_Video' has no member named 'cur_frame'
emotion_vlc.c:1110: warning: assignment from incompatible pointer type
emotion_vlc.c: In function '_em_unlock':
emotion_vlc.c:1129: error: 'Emotion_Vlc_Video' has no member named 'cur_frame'
emotion_vlc.c:1129: warning: assignment from incompatible pointer type
emotion_vlc.c:1134: error: 'Emotion_Vlc_Video' has no member named 'video_mute'
emotion_vlc.c:1135: error: 'Emotion_Vlc_Video' has no member named 'fd_write'
emotion_vlc.c:1135: warning: passing argument 1 of 'write' makes integer from pointer without a cast
gmake[4]: *** [vlc_la-emotion_vlc.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/multimedia/emotion/work/emotion-0.2.0.52995/src/modules/vlc'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/multimedia/emotion/work/emotion-0.2.0.52995/src/modules'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/emotion/work/emotion-0.2.0.52995/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/emotion/work/emotion-0.2.0.52995'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/multimedia/emotion.
*** Error code 1

Stop in /usr/ports/multimedia/emotion.

Fix: The attached patch simply disables vlc plugin, but probably it's better to add port option which is turned off by default, that's up to maintainer.

Patch attached with submission follows:
How-To-Repeat: Install or check that you have 'multimedia/vlc' installed. Then try to build emotion:
cd /usr/ports/multimedia/emotion && make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-12-15 22:30:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stas

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-12-15 23:19:06 UTC
stas        2010-12-15 23:19:02 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/emotion   Makefile 
  Log:
  - Disable vlc plugin for now, it's broken.
  
  PR:             ports/153193
  Submitted by:   Igor Ostapenko <igor.ostapenko@gmail.com>
  
  Revision  Changes    Path
  1.16      +4 -0      ports/multimedia/emotion/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Stanislav Sedov freebsd_committer freebsd_triage 2010-12-16 02:21:42 UTC
State Changed
From-To: open->closed

Committed. Thanks!