[SOLVED] fluxbox menu does not accept png icons
Re: fluxbox menu does not accept png icons
I followed exactly your advice and all went fine. Only: the imlib2 option remains deactivated. I did not see any advice in the readme how to do that. Frankly, i thought if the Imlib2 library is installed fluxbox automatically would be compiled *WITH* that option ... (?)
Re: fluxbox menu does not accept png icons
Update: I got the tarball from here: http://sourceforge.net/projects/fluxbox ... z/download installed it by doing
And all is fine now

Code: Select all
./configure --enable-imlib2 \
make
sudo make install


Re: [SOLVED] fluxbox menu does not accept png icons
No, it isn't. You didn't follow my advice to create a package and you now have stray files in your system that you can't even identify. That's a recipe for disaster. You may find yourself facing unexpected behavior down the line and you won't be able to troubleshoot it at all.
If you're lucky enough the fluxbox Makefile includes an uninstall rule. So run "make uninstall" from that same directory (with superuser rights). If it doesn't, the only way to properly remove it is to reinstall the whole distribution.
You should have edited the slackbuild file and added the --enable-imlib2 option in there.
If you're lucky enough the fluxbox Makefile includes an uninstall rule. So run "make uninstall" from that same directory (with superuser rights). If it doesn't, the only way to properly remove it is to reinstall the whole distribution.
You should have edited the slackbuild file and added the --enable-imlib2 option in there.
Re: [SOLVED] fluxbox menu does not accept png icons
Ok. I see. But where and how i could set that option in the 'fakeroot ./fluxbox.SlackBuild' line?? Initially i did exactly what you taught me to do, but first there was that bug in imlib2, corrected now, and then fluxbox compiled without imlib2 support ...gapan wrote:No, it isn't. You didn't follow my advice to create a package and you now have stray files in your system that you can't even identify. That's a recipe for disaster. You may find yourself facing unexpected behavior down the line and you won't be able to troubleshoot it at all.
If you're lucky enough the fluxbox Makefile includes an uninstall rule. So run "make uninstall" from that same directory (with superuser rights). If it doesn't, the only way to properly remove it is to reinstall the whole distribution.
You should have edited the slackbuild file and added the --enable-imlib2 option in there.
Re: [SOLVED] fluxbox menu does not accept png icons
I had done that. May be i did it wrong?
In fluxbox.SlackBuild:
I have all the process in the xterm buffer and looked there for imlib2. This is what i found:
But even after restarting fluxbox no png icons and the command 'fluxbox -info' still says:
It must have to do with the slackware build, since with the other tarball it worked ...
In fluxbox.SlackBuild:
Code: Select all
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
--docdir=/usr/doc/fluxbox-$VERSION \
--enable-imlib2 \ # <== This line was added by me
--enable-xinerama \
--enable-shape \
--enable-slit \
--enable-nls \
--enable-timed-cache \
--build=$ARCH-slackware-linux
Code: Select all
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --enable-timed-cache
fluxbox version 1.3.5 configured successfully.
Features:
XFT IMLIB2 XINERAMA SHAPE RANDR
Code: Select all
[~]$ fluxbox -info
Fluxbox Version: 1.3.5
GIT Revision: this_is_tar_ball_build
Kompiliert am: Feb 14 2013 16:17:54
Compiler: GCC
Compilerversion: 4.7.2
Standardeinstellungen/-Dateien
:
menu: /usr/share/fluxbox/menu
style: /usr/share/fluxbox/styles/bloe
keys: /usr/share/fluxbox/keys
init: /usr/share/fluxbox/init
nls: /usr/share/fluxbox/nls
Einkompilierte Optionen (- => deaktiviert):
BIDI
-DEBUG
EWMH
-IMLIB2
NLS
REMEMBER
RENDER
SHAPE
SLIT
SYSTEMTRAY
TOOLBAR
RANDR1.2
XFT
XINERAMA
XMB
XPM
Re: [SOLVED] fluxbox menu does not accept png icons
Did you actually install the package you created with the slackbuild?
Re: [SOLVED] fluxbox menu does not accept png icons
That's not possible then. If you built the package with imlib2 support and replaced the original package with the new, then you would have imlib2 support.
Re: [SOLVED] fluxbox menu does not accept png icons
Hmm . .
. So eventually somewhere in the middle i committed a mistake, but where.
Preliminary:
I corrected the bug in imlib2-config as advised by laprijns here http://forum.salixos.org/viewtopic.php? ... 269#p36660
1. step: I downloaded the files from the site you pointed me to. This one:
http://download.salixos.org/i486/slackw ... p/fluxbox/
2. step: I edited manually fluxbox.SlackBuild to enable imlib2 too
3. step: I executed
4. step: I executed
Result: The build goes thru but imlib2 support is missing. Where is the error?
PS. I also tried - like with the *NOT* slackbuild tarball to do
which did not break the built so far but which also was to *NO* extent regard the imlib2 option. Since the imlib2 support worked with the non slackbuild tarball i'd presume my system is ok for supporting it. The error must be elsewhere, in the middle of the road, if you can say so ... (?)

Preliminary:
I corrected the bug in imlib2-config as advised by laprijns here http://forum.salixos.org/viewtopic.php? ... 269#p36660
1. step: I downloaded the files from the site you pointed me to. This one:
http://download.salixos.org/i486/slackw ... p/fluxbox/
2. step: I edited manually fluxbox.SlackBuild to enable imlib2 too
Code: Select all
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
--docdir=/usr/doc/fluxbox-$VERSION \
--enable-imlib2 \ # <== This line was added by me
--enable-xinerama \
--enable-shape \
--enable-slit \
--enable-nls \
--enable-timed-cache \
--build=$ARCH-slackware-linux
Code: Select all
chmod +x fluxbox.SlackBuild
Code: Select all
fakeroot ./fluxbox.SlackBuild
PS. I also tried - like with the *NOT* slackbuild tarball to do
Code: Select all
fakeroot ./fluxbox.SlackBuild --enable-imlib2 \
Last edited by jsfarinet on 3. Dec 2014, 09:16, edited 1 time in total.