Участник с: 06 февраля 2015
|
vasek Не поверил toZen
toZen vasek, спасибо за ответ и линк, но в данном случае это не работает: и решил проверить сам — переименовал mpv.png в директориях 16х16, 32х32, 64х64 — в итоге фиолетовая иконка исчезла (осталась только одна в самой программе — ее менять не стал, не мешает). Значит если вместо этой png поместить другую, то будет новая иконка........ Вывод — что то делал неправильно. Давайте ещё раз по тексту. Первым делом я меняю дефолтные фиолетовые иконки, находящиеся в исходниках (etc/) на нужные мне:
После чего собственно и компилирую:
┌─ tozen {Linux 4.1.2-2-ARCH x86_64} /home/tozen/mpv-master
[20:44:01]
└─> $ ./waf configure
Setting top to : /home/tozen/mpv-master
Setting out to : /home/tozen/mpv-master/build
Checking for waf version in 1.8.4-1.9.0 : ok
Checking for program 'cc' : /usr/bin/cc
Checking for program 'pkg-config' : /usr/bin/pkg-config
Checking for program 'ar' : /usr/bin/ar
Checking for program 'perl' : /usr/bin/perl
Checking for program 'rst2man' : not found
Checking for program 'rst2pdf' : not found
Checking for program 'windres' : not found
Checking for 'gcc' (C compiler) : /usr/bin/cc
Detected target OS: : os-linux
Checking for compiler flags -Werror=implicit-function-declaration : yes
Checking for compiler flags -Wno-error=deprecated-declarations : yes
Checking for compiler flags -Wno-error=unused-function : yes
Checking for compiler flags -Wempty-body : yes
Checking for compiler flags -Wdisabled-optimization : yes
Checking for compiler flags -Wstrict-prototypes : yes
Checking for compiler flags -Wno-format-zero-length : yes
Checking for compiler flags -Werror=format-security : yes
Checking for compiler flags -Wno-redundant-decls : yes
Checking for mpv CLI player : yes
Checking for shared library : disabled
Checking for static library : disabled
Checking for static build : disabled
Checking for whether to include binary compile time : yes
Checking for whether to optimize : yes
Checking for whether to compile-in debugging information : yes
Checking for manpage generation : no (missing RST2MAN)
Checking for pdf manual generation : disabled
Checking for dynamic loader : yes
Checking for dlopen : yes
Checking for compilation of default filters for vf_dlopen : disabled
Checking for zsh completion : disabled
Checking for inline assembly (currently without effect) : yes
Checking for test suite (using cmocka) : disabled
Checking for generate a clang compilation database : disabled
Checking for compiler support for noexecstack : yes
Checking for linker support for --nxcompat --no-seh --dynamicbase : no
Checking for -lm : yes
Checking for MinGW : os-win32 not found
Checking for POSIX environment : yes
Checking for development environment : yes
Checking for win32 : not found any of os-win32, os-cygwin
Checking for internal pthread wrapper for win32 (Vista+) : disabled
Checking for POSIX threads : yes
Checking for stdatomic.h : yes
Checking for compiler support for __atomic built-ins : stdatomic found
Checking for compiler support for __sync built-ins : stdatomic found
Checking for compiler support for usable thread synchronization built-ins : yes
Checking for linking with -lrt : yes
Checking for iconv : yes
Checking for w32/dos paths : not found any of os-win32, os-cygwin
Checking for libwaio for win32 : os-win32, mingw not found
Checking for termios : yes
Checking for shm : yes
Checking for nanosleep : yes
Checking for POSIX spawnp()/kill() : yes
Checking for posix_spawnp() or MinGW : yes
Checking for glob() : yes
Checking for glob() win32 replacement : not found any of os-win32, os-cygwin
Checking for fchmod() : yes
Checking for vt.h : yes
Checking for GLIBC API for setting thread name : yes
Checking for OSX API for setting thread name : glibc-thread-name found
Checking for BSD API for setting thread name : glibc-thread-name found
Checking for NetBSD API for setting thread name : glibc-thread-name found
Checking for BSD's fstatfs() : no
Checking for Linux's fstatfs() : yes
Checking for libguess support : yes
Checking for Samba support : yes
Checking for Lua : yes (version found: 52arch)
Checking for SSA/ASS support : yes
Checking for libass OSD support : yes
Checking for dummy OSD support : libass-osd found
Checking for zlib : yes
Checking for Encoding : yes
Checking for Bluray support : yes
Checking for dvdread support : yes
Checking for dvdnav support : yes
Checking for cdda support (libcdio) : yes
Checking for ENCA support : yes
Checking for LADSPA plugin support : yes
Checking for librubberband support : yes
Checking for libbs2b audio filter support : no ('libbs2b' not found)
Checking for LCMS2 support : yes
Checking for VapourSynth filter bridge (core) : no ('vapoursynth >= 24' not found)
Checking for VapourSynth filter bridge (Python) : vapoursynth-core not found
Checking for VapourSynth filter bridge (Lazy Lua) : vapoursynth-core not found
Checking for SDL2 : disabled
Checking for SDL (1.x) : disabled
Checking for OSS (implementation from opensound.com) : no
Checking for OSS (platform-specific OSS implementation) : yes
Checking for OSS (emulation on top of SunAudio) : oss-audio-native found
Checking for OSS audio output : yes
Checking for RSound audio output : no
Checking for sndio audio input/output : disabled
Checking for PulseAudio audio output : yes
Checking for JACK audio output : yes
Checking for OpenAL audio output : disabled
Checking for ALSA audio output : yes
Checking for CoreAudio audio output : no
Checking for DirectSound audio output : no
Checking for WASAPI audio output : win32 not found
Checking for Cocoa : no
Checking for Wayland : yes
Checking for X11 : yes
Checking for Xss screensaver extensions : yes
Checking for X extensions : yes
Checking for Xv video output : yes
Checking for Xinerama : yes
Checking for Xrandr : yes
Checking for OpenGL Cocoa Backend : cocoa not found
Checking for OpenGL X11 Backend : yes
Checking for OpenGL X11 EGL Backend : disabled
Checking for OpenGL Wayland Backend : yes
Checking for OpenGL Win32 Backend : win32 not found
Checking for VDPAU acceleration : yes
Checking for VDPAU with OpenGL/X11 : yes
Checking for VAAPI acceleration : yes
Checking for VAAPI VPP : yes
Checking for VAAPI GLX : yes
Checking for CACA : yes
Checking for DRM : yes
Checking for JPEG support : yes
Checking for Direct3D support : win32 not found
Checking for Raspberry Pi support : no
Checking for GLES on Raspberry Pi : rpi not found
Checking for OpenGL video outputs : yes
Checking for libav/ffmpeg : yes
Checking for libswresample : yes
Checking for libavresample : libswresample found
Checking for usable resampler found : yes
Checking for libavfilter : yes
Checking for libavdevice : yes
Checking for libavcodec avcodec_enum_to_chroma_pos API : yes
Checking for libavutil AVFrame metadata : yes
Checking for libavutil AVFrame skip samples metadata : yes
Checking for libavutil AV_PIX_FMT_MMAL : yes
Checking for libavtuil av_version_info() : no
Checking for libavcodec VAAPI hwaccel : yes
Checking for libavcodec VDA hwaccel : no
Checking for libavcodec VDA hwaccel (configurable AVVDAContext) : vda-hwaccel not found
Checking for VDA with OpenGL : vda-hwaccel, gl-cocoa not found
Checking for libavcodec VDPAU hwaccel : yes
Checking for libavcodec VDPAU hwaccel (old API) : vdpau-hwaccel found
Checking for libavcodec DXVA2 hwaccel : win32 not found
Checking for TV interface : yes
Checking for videoio.h : no
Checking for videodev2.h : yes
Checking for Video4Linux2 TV interface : yes
Checking for libv4l2 support : yes
Checking for Video4Linux2 MPEG PVR interface : yes
Checking for audio input support : yes
Checking for DVB input module : yes
Checking for w32 executable : not found any of os-win32, os-cygwin
Checking for Apple Remote support : cocoa not found
Writing configuration header: : config.h
'configure' finished successfully (4.500s)
┌─ tozen {Linux 4.1.2-2-ARCH x86_64} /home/tozen/mpv-master
[20:44:23]
└─> $ sudo ./waf install
[sudo] password for tozen:
Waf: Entering directory `/home/tozen/mpv-master/build'
[ 1/261] Compiling version.sh
[ 13/261] Compiling audio/audio.c
[ 14/261] Compiling audio/audio_buffer.c
[ 15/261] Compiling audio/chmap.c
[ 16/261] Compiling audio/chmap_sel.c
[ 17/261] Compiling audio/fmt-conversion.c
[ 18/261] Compiling audio/format.c
[ 19/261] Compiling audio/mixer.c
[ 20/261] Compiling audio/decode/ad_lavc.c
[ 21/261] Compiling audio/decode/ad_spdif.c
[ 22/261] Compiling audio/decode/dec_audio.c
[ 23/261] Compiling audio/filter/af.c
[ 24/261] Compiling audio/filter/af_center.c
[ 25/261] Compiling audio/filter/af_channels.c
[ 26/261] Compiling audio/filter/af_delay.c
[ 27/261] Compiling audio/filter/af_drc.c
[ 28/261] Compiling audio/filter/af_dummy.c
[ 29/261] Compiling audio/filter/af_equalizer.c
[ 30/261] Compiling audio/filter/af_export.c
[ 31/261] Compiling audio/filter/af_extrastereo.c
[ 32/261] Compiling audio/filter/af_format.c
[ 33/261] Compiling audio/filter/af_hrtf.c
[ 34/261] Compiling audio/filter/af_karaoke.c
[ 35/261] Compiling audio/filter/af_ladspa.c
[ 36/261] Compiling audio/filter/af_lavcac3enc.c
[ 37/261] Compiling audio/filter/af_lavfi.c
[ 38/261] Compiling audio/filter/af_lavrresample.c
[ 39/261] Compiling audio/filter/af_pan.c
[ 40/261] Compiling audio/filter/af_rubberband.c
[ 41/261] Compiling audio/filter/af_scaletempo.c
[ 42/261] Compiling audio/filter/af_sinesuppress.c
[ 43/261] Compiling audio/filter/af_sub.c
[ 44/261] Compiling audio/filter/af_surround.c
[ 45/261] Compiling audio/filter/af_sweep.c
[ 46/261] Compiling audio/filter/af_volume.c
[ 47/261] Compiling audio/filter/filter.c
[ 48/261] Compiling audio/filter/tools.c
[ 49/261] Compiling audio/filter/window.c
[ 50/261] Compiling audio/out/ao.c
[ 51/261] Compiling audio/out/ao_alsa.c
[ 52/261] Compiling audio/out/ao_jack.c
[ 53/261] Compiling audio/out/ao_lavc.c
[ 54/261] Compiling audio/out/ao_null.c
[ 55/261] Compiling audio/out/ao_oss.c
[ 56/261] Compiling audio/out/ao_pcm.c
[ 57/261] Compiling audio/out/ao_pulse.c
[ 58/261] Compiling audio/out/pull.c
[ 59/261] Compiling audio/out/push.c
[ 60/261] Compiling common/av_common.c
../common/av_common.c: In function ‘mp_copy_lav_codec_headers’:
../common/av_common.c:70:5: warning: ‘stream_codec_tag’ is deprecated [-Wdeprecated-declarations]
avctx->stream_codec_tag = st->stream_codec_tag;
^
In file included from ../common/av_common.c:26:0:
/usr/include/libavcodec/avcodec.h:1280:18: note: declared here
unsigned int stream_codec_tag;
^
../common/av_common.c:70:5: warning: ‘stream_codec_tag’ is deprecated [-Wdeprecated-declarations]
avctx->stream_codec_tag = st->stream_codec_tag;
^
In file included from ../common/av_common.c:26:0:
/usr/include/libavcodec/avcodec.h:1280:18: note: declared here
unsigned int stream_codec_tag;
^
[ 61/261] Compiling common/av_log.c
[ 62/261] Compiling common/codecs.c
[ 63/261] Compiling common/encode_lavc.c
[ 64/261] Compiling common/common.c
[ 65/261] Compiling common/tags.c
[ 66/261] Compiling common/msg.c
[ 67/261] Compiling common/playlist.c
[ 68/261] Compiling common/version.c
[ 69/261] Compiling demux/codec_tags.c
[ 70/261] Compiling demux/cue.c
[ 71/261] Compiling demux/demux.c
[ 72/261] Compiling demux/demux_cue.c
[ 73/261] Compiling demux/demux_disc.c
[ 74/261] Compiling demux/demux_edl.c
[ 75/261] Compiling demux/demux_lavf.c
[ 76/261] Compiling demux/demux_libass.c
[ 77/261] Compiling demux/demux_mf.c
[ 78/261] Compiling demux/demux_mkv.c
[ 79/261] Compiling demux/demux_mkv_timeline.c
[ 80/261] Compiling demux/demux_playlist.c
[ 81/261] Compiling demux/demux_raw.c
[ 82/261] Compiling demux/demux_rar.c
[ 83/261] Compiling demux/demux_subreader.c
[ 84/261] Compiling demux/demux_tv.c
[ 85/261] Compiling demux/ebml.c
[ 86/261] Compiling demux/packet.c
[ 87/261] Compiling demux/timeline.c
[ 88/261] Compiling input/cmd_list.c
[ 89/261] Compiling input/cmd_parse.c
[ 90/261] Compiling input/event.c
[ 91/261] Compiling input/input.c
[ 92/261] Compiling input/ipc.c
[ 93/261] Compiling input/keycodes.c
[ 94/261] Compiling misc/bstr.c
[ 95/261] Compiling misc/charset_conv.c
[ 96/261] Compiling misc/dispatch.c
[ 97/261] Compiling misc/json.c
[ 98/261] Compiling misc/ring.c
[ 99/261] Compiling misc/rendezvous.c
[100/261] Compiling options/m_config.c
[101/261] Compiling options/m_option.c
[102/261] Compiling options/m_property.c
[103/261] Compiling options/options.c
[104/261] Compiling options/parse_commandline.c
[105/261] Compiling options/parse_configfile.c
[106/261] Compiling options/path.c
[107/261] Compiling player/audio.c
[108/261] Compiling player/client.c
[109/261] Compiling player/command.c
[110/261] Compiling player/configfiles.c
[111/261] Compiling player/discnav.c
[112/261] Compiling player/loadfile.c
[113/261] Compiling player/main.c
[114/261] Compiling player/misc.c
[115/261] Compiling player/lua.c
[116/261] Compiling player/osd.c
[117/261] Compiling player/playloop.c
[118/261] Compiling player/screenshot.c
[119/261] Compiling player/scripting.c
[120/261] Compiling player/sub.c
[121/261] Compiling player/video.c
[122/261] Compiling stream/ai_alsa1x.c
[123/261] Compiling stream/ai_oss.c
[124/261] Compiling stream/audio_in.c
[125/261] Compiling stream/cache.c
[126/261] Compiling stream/cache_file.c
[127/261] Compiling stream/cookies.c
[128/261] Compiling stream/dvb_tune.c
[129/261] Compiling stream/frequencies.c
[130/261] Compiling stream/rar.c
[131/261] Compiling stream/stream.c
[132/261] Compiling stream/stream_avdevice.c
[133/261] Compiling stream/stream_bluray.c
[134/261] Compiling stream/stream_cdda.c
[135/261] Compiling stream/stream_dvb.c
[136/261] Compiling stream/stream_dvd.c
[137/261] Compiling stream/stream_dvd_common.c
[138/261] Compiling stream/stream_dvdnav.c
[139/261] Compiling stream/stream_edl.c
[140/261] Compiling stream/stream_file.c
[141/261] Compiling stream/stream_lavf.c
[142/261] Compiling stream/stream_memory.c
[143/261] Compiling stream/stream_mf.c
[144/261] Compiling stream/stream_null.c
[145/261] Compiling stream/stream_pvr.c
[146/261] Compiling stream/stream_rar.c
[147/261] Compiling stream/stream_smb.c
[148/261] Compiling stream/stream_tv.c
[149/261] Compiling stream/tv.c
[150/261] Compiling stream/tvi_dummy.c
[151/261] Compiling stream/tvi_v4l2.c
[152/261] Compiling sub/ass_mp.c
[153/261] Compiling sub/dec_sub.c
[154/261] Compiling sub/draw_bmp.c
[155/261] Compiling sub/find_subfiles.c
[156/261] Compiling sub/img_convert.c
[157/261] Compiling sub/osd.c
[158/261] Compiling sub/osd_libass.c
[159/261] Compiling sub/sd_ass.c
[160/261] Compiling sub/sd_lavc.c
[161/261] Compiling sub/sd_lavc_conv.c
[162/261] Compiling sub/sd_lavf_srt.c
[163/261] Compiling sub/sd_microdvd.c
[164/261] Compiling sub/sd_movtext.c
[165/261] Compiling sub/sd_srt.c
[166/261] Compiling video/csputils.c
[167/261] Compiling video/fmt-conversion.c
[168/261] Compiling video/image_writer.c
[169/261] Compiling video/img_format.c
[170/261] Compiling video/mp_image.c
[171/261] Compiling video/mp_image_pool.c
[172/261] Compiling video/sws_utils.c
[173/261] Compiling video/vaapi.c
[174/261] Compiling video/vdpau.c
[175/261] Compiling video/vdpau_mixer.c
[176/261] Compiling video/decode/dec_video.c
[177/261] Compiling video/decode/vaapi.c
[178/261] Compiling video/decode/vd_lavc.c
[179/261] Compiling video/decode/vdpau.c
[180/261] Compiling video/filter/vf.c
[181/261] Compiling video/filter/vf_buffer.c
[182/261] Compiling video/filter/vf_crop.c
[183/261] Compiling video/filter/vf_delogo.c
[184/261] Compiling video/filter/vf_dlopen.c
[185/261] Compiling video/filter/vf_dsize.c
[186/261] Compiling video/filter/vf_eq.c
[187/261] Compiling video/filter/vf_expand.c
[188/261] Compiling video/filter/vf_flip.c
[189/261] Compiling video/filter/vf_format.c
[190/261] Compiling video/filter/vf_gradfun.c
[191/261] Compiling video/filter/vf_hqdn3d.c
[192/261] Compiling video/filter/vf_lavfi.c
[193/261] Compiling video/filter/vf_mirror.c
[194/261] Compiling video/filter/vf_noformat.c
[195/261] Compiling video/filter/vf_noise.c
[196/261] Compiling video/filter/vf_pullup.c
[197/261] Compiling video/filter/vf_rotate.c
[198/261] Compiling video/filter/vf_scale.c
[199/261] Compiling video/filter/vf_stereo3d.c
[200/261] Compiling video/filter/vf_sub.c
[201/261] Compiling video/filter/vf_unsharp.c
[202/261] Compiling video/filter/vf_vavpp.c
[203/261] Compiling video/filter/vf_vdpaupp.c
[204/261] Compiling video/filter/vf_vdpaurb.c
[205/261] Compiling video/filter/vf_yadif.c
[206/261] Compiling video/out/aspect.c
[207/261] Compiling video/out/bitmap_packer.c
[208/261] Compiling video/out/dither.c
[209/261] Compiling video/out/filter_kernels.c
[210/261] Compiling video/out/gl_common.c
[211/261] Compiling video/out/gl_hwdec.c
[212/261] Compiling video/out/gl_hwdec_vaglx.c
[213/261] Compiling video/out/gl_hwdec_vdpau.c
[214/261] Compiling video/out/gl_lcms.c
[215/261] Compiling video/out/gl_osd.c
[216/261] Compiling video/out/gl_utils.c
[217/261] Compiling video/out/gl_video.c
[218/261] Compiling video/out/gl_wayland.c
[219/261] Compiling video/out/gl_x11.c
[220/261] Compiling video/out/vo.c
[221/261] Compiling video/out/vo_caca.c
[222/261] Compiling video/out/vo_drm.c
[223/261] Compiling video/out/vo_image.c
[224/261] Compiling video/out/vo_lavc.c
[225/261] Compiling video/out/vo_null.c
[226/261] Compiling video/out/vo_opengl.c
[227/261] Compiling video/out/vo_opengl_cb.c
[228/261] Compiling video/out/vo_vaapi.c
[229/261] Compiling video/out/vo_vdpau.c
[230/261] Compiling video/out/vo_wayland.c
[231/261] Compiling video/out/vo_xv.c
[232/261] Compiling video/out/wayland_common.c
[233/261] Compiling video/out/wayland/buffer.c
[234/261] Compiling video/out/wayland/memfile.c
[235/261] Compiling video/out/win_state.c
[236/261] Compiling video/out/x11_common.c
[237/261] Compiling video/out/drm_common.c
[238/261] Compiling osdep/terminal-unix.c
[239/261] Compiling osdep/io.c
[240/261] Compiling osdep/timer.c
[241/261] Compiling osdep/timer-linux.c
[242/261] Compiling osdep/threads.c
[243/261] Compiling osdep/semaphore_osx.c
[244/261] Compiling osdep/subprocess.c
[245/261] Compiling osdep/subprocess-posix.c
[246/261] Compiling osdep/path-unix.c
[247/261] Compiling ta/ta.c
[248/261] Compiling ta/ta_talloc.c
[249/261] Compiling ta/ta_utils.c
[250/261] Compiling osdep/main-fn-unix.c
+ install /usr/local/share/doc/mpv/example.conf (from etc/example.conf)
+ install /usr/local/share/doc/mpv/input.conf (from etc/input.conf)
+ install /usr/local/share/doc/mpv/mplayer-input.conf (from etc/mplayer-input.conf)
+ install /usr/local/share/doc/mpv/restore-old-bindings.conf (from etc/restore-old-bindings.conf)
+ install /usr/local/share/applications/mpv.desktop (from etc/mpv.desktop)
+ install /usr/local/etc/mpv/encoding-profiles.conf (from etc/encoding-profiles.conf)
+ install /usr/local/share/icons/hicolor/16x16/apps/mpv.png (from etc/mpv-icon-8bit-16x16.png)
+ install /usr/local/share/icons/hicolor/32x32/apps/mpv.png (from etc/mpv-icon-8bit-32x32.png)
+ install /usr/local/share/icons/hicolor/64x64/apps/mpv.png (from etc/mpv-icon-8bit-64x64.png)
[260/261] Linking build/mpv
+ install /usr/local/bin/mpv (from build/mpv)
Waf: Leaving directory `/home/tozen/mpv-master/build'
'install' finished successfully (37.163s)
После чего появляются оные в директории /usr/local/share/icons/hicolor/{16x16,32x32,64x64}
А так же, иконка самого приложения:
Девелопер пока молчит. Возможно, какой кэш где сидит? o_O
|