You are not logged in.
I asked on the ##archlinux on IRC: "Are X's libs needed to display stuff with framebuffer?", someone said "No".
So, when installing the w3m browser. There's an optional dependency: imlib2; which displays images in w3m using framebuffer.
But, when I installed 'imlib2', it also installed X's libs because they were in the dependencies of imlib2.
The dependencies are, such as: xproto -- X protocol; libx11 -- X's libs, very obvious; etc...
I've later on realised that imlib2 needed those X libraries for the commands to test imlib2 under a graphical (X) environment.
I've also realised that imlib2 needed this to display images on graphical (X) environments (on programmes like: feh)
But, the only thing I need from imlib2 is to display images in w3m using the framebuffer.
I don't have X (I'm just on a plain console and tmux on my laptop, nothing else) and I don't need X (I don't watch movies, I don't play games, I just code and play with my cat) ![]()
So, Is there an alternative way to display images in w3m using the framebuffer without needing to install X libraries?
milo64.
Registered Linux User: #555436
My Blog @ http://milo64.blogspot.com/
Offline
How about rebuilding imlib2 without X support? A quick check shows that the --without-x configure flag should do it.
Offline
Uhm... Just for confirmation. So, you are saying that I can get imlib2's source and extract and chdir and do:
./configure --without-x
make
make installby myself?
milo64.
Registered Linux User: #555436
My Blog @ http://milo64.blogspot.com/
Offline
No, you don't want to be installing it outside of pacman. Get the Arch source files here: https://projects.archlinux.org/svntogit … ges/imlib2 change the deps and the configure switches and build the package.
You can also use the ABS to get the files if you'd rather: https://wiki.archlinux.org/index.php/Abs
Last edited by Scimmia (2013-10-31 04:57:14)
Offline
No, you don't want to be installing it outside of pacman. Get the Arch source files here: https://projects.archlinux.org/svntogit … ges/imlib2 change the deps and the configure switches and build the package.
Sorry for being so dumb, but:
1. How do I change the deps?
2. How do I configure switches?
3. How do I build it? (Do I build it like AUR?)
milo64.
Registered Linux User: #555436
My Blog @ http://milo64.blogspot.com/
Offline
How do you change it? With a text editor. A PKGBUILD is just a script.
Yes, you would build it similar to how you do with AUR packages.
Offline
Okay, thanks, i'll try.
milo64.
Registered Linux User: #555436
My Blog @ http://milo64.blogspot.com/
Offline
Offline
sorry, don't like abs.
milo64.
Registered Linux User: #555436
My Blog @ http://milo64.blogspot.com/
Offline
sorry, don't like abs.
Would you mind elaborating why?
Offline
sorry, don't like abs.
Sorry, it is the right solution - whether you like it or not.
Though Karol's reply is probably more productive in assuming that is short hand for saying you ran into a challenge you don't know how to solve. But we can't help you solve it either unless you describe what the problem is.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline