zuranthus / livepaper Goto Github PK
View Code? Open in Web Editor NEWA lightweight app that displays animated wallpapers on Windows and Linux
License: MIT License
A lightweight app that displays animated wallpapers on Windows and Linux
License: MIT License
➜ LivePaper git:(main) ✗ cmake -B build
➜ LivePaper git:(main) ✗ cmake --build build
[ 16%] Building C object CMakeFiles/live-paper.dir/src/platform_linux.c.o
[ 33%] Building C object CMakeFiles/live-paper.dir/src/main.c.o
[ 50%] Building C object CMakeFiles/live-paper.dir/src/fail.c.o
[ 66%] Building C object CMakeFiles/live-paper.dir/src/video.c.o
/home/desmon/Descargas/LivePaper/src/video.c: In function ‘DecodeNextFrame’:
/home/desmon/Descargas/LivePaper/src/video.c:58:13: warning: ‘pkt_duration’ is deprecated [-Wdeprecated-declarations]
58 | *frame_end_time = (frame->best_effort_timestamp + frame->pkt_duration)*v->time_base;
| ^
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:36,
from /home/desmon/Descargas/LivePaper/src/video.c:8:
/usr/include/x86_64-linux-gnu/libavutil/frame.h:700:13: note: declared here
700 | int64_t pkt_duration;
| ^~~~~~~~~~~~
/home/desmon/Descargas/LivePaper/src/video.c: In function ‘VideoLoad’:
/home/desmon/Descargas/LivePaper/src/video.c:73:82: warning: passing argument 5 of ‘av_find_best_stream’ from incompatible pointer type [-Wincompatible-pointer-types]
73 | v->stream_id = av_find_best_stream(v->input_ctx, AVMEDIA_TYPE_VIDEO, -1, -1, &codec, 0);
| ^~~~~~
| |
| AVCodec **
In file included from /home/desmon/Descargas/LivePaper/src/video.c:9:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:2109:48: note: expected ‘const struct AVCodec **’ but argument is of type ‘AVCodec **’
2109 | const struct AVCodec **decoder_ret,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/desmon/Descargas/LivePaper/src/video.c:115:36: warning: implicit declaration of function ‘av_mallocz_array’; did you mean ‘av_malloc_array’? [-Wimplicit-function-declaration]
115 | struct CacheEntry *cache = av_mallocz_array(frame_num, sizeof(struct CacheEntry));
| ^~~~~~~~~~~~~~~~
| av_malloc_array
/home/desmon/Descargas/LivePaper/src/video.c:115:36: warning: initialization of ‘struct CacheEntry *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
[ 83%] Building C object CMakeFiles/live-paper.dir/_deps/argtable-src/argtable3.c.o
[100%] Linking C executable live-paper
/usr/bin/ld: CMakeFiles/live-paper.dir/src/video.c.o: en la función `VideoLoad':
video.c:(.text+0x7d9): undefined reference to `av_mallocz_array'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/live-paper.dir/build.make:166: live-paper] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/live-paper.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
The application seems to silently exit on windows 7. Specifically, Aero is disabled and I am not able to test it with Aero enabled. I know weebp solves this with the side effect of covering the desktop icons, so I wonder if this program can do the same?
Can you make the automated github actions return artifacts for download? My current windows system is a mess and refuses to compile the program.
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.