Page 3 of 3

Re: fluxbox menu does not accept png icons

Posted: 3. Dec 2014, 09:13
by gapan
Do you actually have this:

Code: Select all

 #  <== This line was added by me
in the slackbuild?

Re: fluxbox menu does not accept png icons

Posted: 3. Dec 2014, 09:45
by jsfarinet
gapan wrote:Do you actually have this:

Code: Select all

 #  <== This line was added by me
in the slackbuild?
No, i added "# <== This line was added by me" only here to make clear i added the line

Code: Select all

--enable-imlib2 \
in the slackbuild and that originally it was not there. In *MY* slackbuild the line looks like above.

Re: fluxbox menu does not accept png icons

Posted: 3. Dec 2014, 09:48
by gapan
OK, so what does this show you?

Code: Select all

which fluxbox

Re: fluxbox menu does not accept png icons

Posted: 3. Dec 2014, 10:06
by jsfarinet
May be it's useful to see what i get from the buffer of the built (if not be free to cancel this msg):

Code: Select all

checking whether to have IMLIB2 (pixmap themes) support... yes
checking for imlib2-config... /usr/bin/imlib2-config
checking for imlib2 - version >= 1.0.0... yes

Code: Select all

configure: WARNING: unrecognized options: --enable-timed-cache

        fluxbox version 1.3.5 configured successfully.

Features:
         XFT IMLIB2 XINERAMA SHAPE RANDR

Using:
        '/usr' for installation.
        '$(prefix)/share/fluxbox/menu' for location menu file.
        '$(prefix)/share/fluxbox/styles/bloe' by default style.
        '$(prefix)/share/fluxbox/keys' for location keys file.
        '$(prefix)/share/fluxbox/init' for location init file.
        '$(prefix)/share/fluxbox/nls' for nls files.
        'g++' for C++ compiler.

Building with:
        '-O2 -fPIC   -I/usr/include/freetype2   ' for C++ compiler flags.
        '-lfribidi -lXrandr -lXext -lXinerama -L/usr/lib64 -lImlib2 -lXpm -lXrender -lXft -lfontconfig    -lX11  -lrt ' for linker flags.

Code: Select all

g++ -DHAVE_CONFIG_H -I. -I../..     -O2 -fPIC   -I/usr/include/freetype2    -MT ImageImlib2.o -MD -MP -MF .deps/ImageImlib2.Tpo -c -o ImageImlib2.o ImageImlib2.cc
mv -f .deps/TextBox.Tpo .deps/TextBox.Po
mv -f .deps/ImageXPM.Tpo .deps/ImageXPM.Po
mv -f .deps/MenuSeparator.Tpo .deps/MenuSeparator.Po
mv -f .deps/Image.Tpo .deps/Image.Po
mv -f .deps/XftFontImp.Tpo .deps/XftFontImp.Po
mv -f .deps/XmbFontImp.Tpo .deps/XmbFontImp.Po
mv -f .deps/ImageImlib2.Tpo .deps/ImageImlib2.Po
rm -f libFbTk.a
ar cru libFbTk.a App.o Color.o ColorLUT.o FileUtil.o EventManager.o FbWindow.o Font.o I18n.o ImageControl.o LogicCommands.o MacroCommand.o Menu.o MenuItem.o MultiButtonMenuItem.o MenuTheme.o BorderTheme.o TextTheme.o SignalHandler.o TextUtils.o Texture.o TextureRender.o Shape.o Theme.o ThemeItems.o Timer.o FbTime.o XFontImp.o Button.o TextButton.o Container.o MultLayers.o Layer.o LayerItem.o Resource.o StringUtil.o Parser.o RegExp.o FbString.o AutoReloadHelper.o Transparent.o FbPixmap.o FbDrawable.o Image.o TextBox.o GContext.o KeyUtil.o MenuSeparator.o SearchResult.o CachedPixmap.o RelCalcHelper.o ImageXPM.o XftFontImp.o XmbFontImp.o ImageImlib2.o 
ranlib libFbTk.a

Code: Select all

g++  -O2 -fPIC   -I/usr/include/freetype2     -lrt   -lSM -lICE -o fluxbox ArrowButton.o FbAtoms.o FbWinFrame.o FbWinFrameTheme.o fluxbox.o Keys.o main.o RootTheme.o FbRootWindow.o OSDWindow.o TooltipWindow.o Screen.o WinButton.o WinButtonTheme.o Window.o WindowState.o Workspace.o FbCommands.o LayerMenu.o FbMenu.o WinClient.o Xutil.o CurrentWindowCmd.o WorkspaceCmd.o TextDialog.o CommandDialog.o SendToMenu.o AlphaMenu.o FbMenuParser.o StyleMenuItem.o RootCmdMenuItem.o MenuCreator.o ClientMenu.o ClientPattern.o WorkspaceMenu.o HeadArea.o Resources.o WindowCmd.o FocusControl.o CascadePlacement.o ColSmartPlacement.o MinOverlapPlacement.o RowSmartPlacement.o ScreenPlacement.o UnderMousePlacement.o AttentionNoticeHandler.o IconButton.o IconbarTheme.o FocusableList.o Ewmh.o Remember.o Slit.o SlitTheme.o SlitClient.o Toolbar.o ToolbarTheme.o ToolbarItem.o ClockTool.o WorkspaceNameTool.o IconbarTool.o ToolTheme.o GenericTool.o ButtonTool.o ButtonTheme.o ToolFactory.o SystemTray.o FbTk/libFbTk.a defaults.o -lfribidi -lXrandr -lXext -lXinerama -L/usr/lib64 -lImlib2 -lXpm -lXrender -lXft -lfontconfig    -lX11  -lrt

Code: Select all

g++  -O2 -fPIC   -I/usr/include/freetype2     -lrt   -lSM -lICE -o fbrun FbRun.o main.o ../../src/FbTk/libFbTk.a -lfribidi -lXrandr -lXext -lXinerama -L/usr/lib64 -lImlib2 -lXpm -lXrender -lXft -lfontconfig    -lX11  -lrt 
make[3]: Leaving directory `/tmp/fluxbox-1.3.5/util/fbrun'
make[3]: Entering directory `/tmp/fluxbox-1.3.5/util'

Code: Select all

g++ -DHAVE_CONFIG_H -I. -I..  -I../src -I../src/FbTk   -O2 -fPIC   -I/usr/include/freetype2    -MT fluxbox-remote.o -MD -MP -MF .deps/fluxbox-remote.Tpo -c -o fluxbox-remote.o fluxbox-remote.cc
sed -e "s,@PREFIX@,/usr,g" \
                    -e "s,@pkgprefix@,,g" \
                    -e "s,@pkgsuffix@,,g" \
                    -e "s,,,g" \
                        ./fluxbox-generate_menu.in \
                        > fluxbox-generate_menu
sed -e "s,@pkgdatadir@,/usr/share/fluxbox,g" \
                    -e "s,@pkgbindir@,/usr/bin,g" \
                    -e "s,@pkgprefix@,,g" \
                    -e "s,@pkgsuffix@,,g" \
                    -e "s,,,g" \
                        ./startfluxbox.in > startfluxbox
chmod 755 fluxbox-generate_menu
chmod 755 startfluxbox
mv -f .deps/fluxbox-remote.Tpo .deps/fluxbox-remote.Po
g++  -O2 -fPIC   -I/usr/include/freetype2     -lrt   -lSM -lICE -o fluxbox-remote fluxbox-remote.o  -lfribidi -lXrandr -lXext -lXinerama -L/usr/lib64 -lImlib2 -lXpm -lXrender -lXft -lfontconfig    -lX11  -lrt 
mv -f .deps/fbsetroot.Tpo .deps/fbsetroot.Po
g++  -O2 -fPIC   -I/usr/include/freetype2     -lrt   -lSM -lICE -o fbsetroot fbsetroot.o ../src/FbRootWindow.o ../src/FbAtoms.o ../src/FbTk/libFbTk.a -lfribidi -lXrandr -lXext -lXinerama -L/usr/lib64 -lImlib2 -lXpm -lXrender -lXft -lfontconfig    -lX11  -lrt 
mv -f .deps/fluxbox-update_configs.Tpo .deps/fluxbox-update_configs.Po
g++  -O2 -fPIC   -I/usr/include/freetype2     -lrt   -lSM -lICE -o fluxbox-update_configs fluxbox-update_configs.o ../src/defaults.o ../src/Resources.o ../src/FbTk/libFbTk.a -lfribidi -lXrandr -lXext -lXinerama -L/usr/lib64 -lImlib2 -lXpm -lXrender -lXft -lfontconfig    -lX11  -lrt 

Re: fluxbox menu does not accept png icons

Posted: 3. Dec 2014, 10:15
by gapan
That shows that imlib2 is compiled in. It would be useful to post for the output I asked.

Re: fluxbox menu does not accept png icons

Posted: 3. Dec 2014, 10:37
by jsfarinet
gapan wrote:OK, so what does this show you?

Code: Select all

which fluxbox

Code: Select all

$ which fluxbox
/usr/bin/fluxbox

Re: fluxbox menu does not accept png icons

Posted: 3. Dec 2014, 10:56
by jsfarinet
I'm ashamed,blame on me :| :oops: :oops:

I should have done also:

Code: Select all

sudo installpkg /tmp/fluxbox-1.3.5-x86_64-1.txz
Now it's all fine. And i'm so sorry i broke your nerves.

A small add-on about package management,in the wiki i didn't find the answer. Why 'slapt-get -i <packagename> doesn't do the job, but 'installpkg <packagename>' does? Not totally clear to me after readin the startup guide.

Re: fluxbox menu does not accept png icons

Posted: 3. Dec 2014, 11:09
by laprjns
jsfarinet wrote:A small add-on about package management,in the wiki i didn't find the answer. Why 'slapt-get -i <packagename> doesn't do the job, but 'installpkg <packagename>' does? Not totally clear to me after readin the startup guide.
http://guide.salixos.org/324spkg.html

Re: fluxbox menu does not accept png icons

Posted: 3. Dec 2014, 11:14
by gapan
jsfarinet wrote:I'm ashamed,blame on me :| :oops: :oops:

I should have done also:

Code: Select all

sudo installpkg /tmp/fluxbox-1.3.5-x86_64-1.txz
*Sigh*

that's why I asked if you actually have installed the package.

slapt-get does not install local packages. It installs packages from the repos. Not the same thing. And as laprjns pointed out, use spkg, not installpkg/upgradepkg.

Re: fluxbox menu does not accept png icons

Posted: 3. Dec 2014, 11:57
by jsfarinet
gapan wrote:
jsfarinet wrote:I'm ashamed,blame on me :| :oops: :oops:

I should have done also:

Code: Select all

sudo installpkg /tmp/fluxbox-1.3.5-x86_64-1.txz
*Sigh*
Stupidity is unlimited, obviously (a little excuse might be, i'm so unused to slackware and i thought the fakeroot command would do it all) :cry:
gapan wrote:that's why I asked if you actually have installed the package.

slapt-get does not install local packages. It installs packages from the repos. Not the same thing. And as laprjns pointed out, use spkg, not installpkg/upgradepkg.
In any case, installpkg would not have done any harm, i presume (?) Now, if there's any upgrade would that respect the built fluxbox version? Or is there a way to inform the package system there has been installed a slightly different package and to consider that as (my) default?