Open GoogleCodeExporter opened 8 years ago
workaround:
after first:
cmake .
edit the file:
cmake_install.cmake
than edit the line:
# Set the install prefix
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "/")
in
# Set the install prefix
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "/opt/Sayonara")
then
make && make install
worked for me
Original comment by luca.cap...@gmail.com
on 18 Jul 2013 at 1:04
And the icons are loaded correctly, too? Atm the paths are hardcoded inside the
player. E.g. language-paths, icon-paths, plugins etc
I have to think about a better concept, but in this version an alternative
installation path is not supported actually.
I will change it and I will let you know
Original comment by LucioCarreras@gmail.com
on 18 Jul 2013 at 2:40
Hi! There is a fix now on svn
Original comment by LucioCarreras@gmail.com
on 18 Jul 2013 at 7:07
Original comment by LucioCarreras@gmail.com
on 18 Jul 2013 at 7:07
thank you...works better but I have the following "root" installation after
recompiled and reinstalled:
...
-- Installing: /usr/share/icons/sayonara.png
-- Installing: /usr/share/pixmaps/sayonara.png
...
-- Installing: /usr/share/icons/hicolor
-- Installing: /usr/share/icons/hicolor/16x16
-- Installing: /usr/share/icons/hicolor/16x16/apps
-- Installing: /usr/share/icons/hicolor/16x16/apps/sayonara.png
-- Installing: /usr/share/icons/hicolor/22x22
-- Installing: /usr/share/icons/hicolor/22x22/apps
-- Installing: /usr/share/icons/hicolor/22x22/apps/sayonara.png
-- Installing: /usr/share/icons/hicolor/24x24
-- Installing: /usr/share/icons/hicolor/24x24/apps
-- Installing: /usr/share/icons/hicolor/24x24/apps/sayonara.png
-- Installing: /usr/share/icons/hicolor/256x256
-- Installing: /usr/share/icons/hicolor/256x256/apps
-- Installing: /usr/share/icons/hicolor/256x256/apps/sayonara.png
-- Installing: /usr/share/icons/hicolor/32x32
-- Installing: /usr/share/icons/hicolor/32x32/apps
-- Installing: /usr/share/icons/hicolor/32x32/apps/sayonara.png
-- Installing: /usr/share/icons/hicolor/36x36
-- Installing: /usr/share/icons/hicolor/36x36/apps
-- Installing: /usr/share/icons/hicolor/36x36/apps/sayonara.png
-- Installing: /usr/share/icons/hicolor/48x48
-- Installing: /usr/share/icons/hicolor/48x48/apps
-- Installing: /usr/share/icons/hicolor/48x48/apps/sayonara.png
-- Installing: /usr/share/icons/hicolor/64x64
-- Installing: /usr/share/icons/hicolor/64x64/apps
-- Installing: /usr/share/icons/hicolor/64x64/apps/sayonara.png
-- Installing: /usr/share/icons/hicolor/72x72
-- Installing: /usr/share/icons/hicolor/72x72/apps
-- Installing: /usr/share/icons/hicolor/72x72/apps/sayonara.png
-- Installing: /usr/share/icons/hicolor/96x96
-- Installing: /usr/share/icons/hicolor/96x96/apps
-- Installing: /usr/share/icons/hicolor/96x96/apps/sayonara.png
-- Installing: /usr/share/icons/hicolor/128x128
-- Installing: /usr/share/icons/hicolor/128x128/apps
-- Installing: /usr/share/icons/hicolor/128x128/apps/sayonara.png
-- Installing: /usr/share/icons/hicolor/192x192
-- Installing: /usr/share/icons/hicolor/192x192/apps
-- Installing: /usr/share/icons/hicolor/192x192/apps/sayonara.png
-- Installing: /usr/share/menu/sayonara
-- Installing: /usr/share/applications/sayonara.desktop
Original comment by luca.cap...@gmail.com
on 22 Jul 2013 at 10:24
This is no bug. I excluded those files intentionally. Those files have to be
placed in those directories. Otherwise your Linux installation won't find the
icons. Sad but true
Original comment by LucioCarreras@gmail.com
on 22 Jul 2013 at 12:12
This is true in case you need to provide a general root installation to all the
OS.
But you can take into account the case of a compile/installation into a
specific non "root" folder like $HOME.
In this case you can provide a specific option at configure time and or read
some XDG related environment variable where the packager can read/write into.
You can retrieve:
$XDG_DATA_HOME that defaults in to $HOME/.local
where you can put al the /usr/share/icons /usr/share/applications
/usr/share/pixmaps
$XDG_CONFIG_HOME defaults to $HOME/.config
so you can build you own $XDG_CONFIG_HOME/Sayonara folder just reading the
environment freedesktop.org variable
$XDG_CACHE_HOME defaults to $HOME/.cache
this will help also to unclutter the $HOME folder and let you less hard-coding
the path at code/compile/debug time
the $HOME will be freed from the huge dot files
objects will be more portable and standard (backups will be very easy for
automatic backup software)
some refs:
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
https://developer.gnome.org/basedir-spec/
http://freedesktop.org/wiki/Software/xdg-user-dirs/
http://portland.freedesktop.org/xdg-utils-1.0/xdg-icon-resource.html
Original comment by luca.cap...@gmail.com
on 22 Jul 2013 at 1:02
Thanks a lot for the research. I will add this as soon as possible
Original comment by LucioCarreras@gmail.com
on 23 Jul 2013 at 6:23
Original issue reported on code.google.com by
luca.cap...@gmail.com
on 18 Jul 2013 at 12:48