2009-06-01, 17:25
Hi, i'm not a developer but just a linux packager, i work with source code any day, ad i have to say the true, i don't like so much XBMC code/installed files. It just think to be in windows even if is not.
XBMC is infact (maybe) the only software i know the have all windows problems, and do not care about linux standards/improvments...
examples: xbmc.bin and xbmc-xrandr MUST go in /usr/bin
all libraries considered as plugins should go in LIBDIR/xbmc (where LIBDIR is /usr(/local)/lib(64)
and so on
1st) it don't care about LINUX FHS ( http://www.pathname.com/fhs/ ) That is a STANDARD and should be followed
example
2nd) it provides his own NOT VERSIONED (all of the are just *.so), NOT SHARED (they are used only by XBMC) , BAD LOCATED (they are not in default system libdir) libraries.
example: /usr/share/xbmc/system is the same one you found in windows, where you provide your own dll. in linux you should use as much as possible shared libraries already installed on the system (and you know they are because the are REQUIRED to successful compile it) and the libraries should be located in /usr/lib(64) or /usr/lib(64)/xbmc you can of course use /usr/local instead of /usr
3rd) other stupid things like: /usr/share/xbmc/system/players/dvdplayer/etc/fonts/* why are they there when /etc/fonts/* already exist
4th) you tell your software provide 64bit support but almost all distros (excluding ubuntu : you can refer to a very old post i already published)
use /usr/lib64 for 64 libraries. i still wonder to understand why you still don't want to check for dbus-1.0 and glib-2.0 headers in -I/usr/lib64/*/include folders
i like your software, but i think there is lots of work you can do it to really improves it
XBMC is infact (maybe) the only software i know the have all windows problems, and do not care about linux standards/improvments...
examples: xbmc.bin and xbmc-xrandr MUST go in /usr/bin
all libraries considered as plugins should go in LIBDIR/xbmc (where LIBDIR is /usr(/local)/lib(64)
and so on
1st) it don't care about LINUX FHS ( http://www.pathname.com/fhs/ ) That is a STANDARD and should be followed
example
2nd) it provides his own NOT VERSIONED (all of the are just *.so), NOT SHARED (they are used only by XBMC) , BAD LOCATED (they are not in default system libdir) libraries.
example: /usr/share/xbmc/system is the same one you found in windows, where you provide your own dll. in linux you should use as much as possible shared libraries already installed on the system (and you know they are because the are REQUIRED to successful compile it) and the libraries should be located in /usr/lib(64) or /usr/lib(64)/xbmc you can of course use /usr/local instead of /usr
3rd) other stupid things like: /usr/share/xbmc/system/players/dvdplayer/etc/fonts/* why are they there when /etc/fonts/* already exist
4th) you tell your software provide 64bit support but almost all distros (excluding ubuntu : you can refer to a very old post i already published)
use /usr/lib64 for 64 libraries. i still wonder to understand why you still don't want to check for dbus-1.0 and glib-2.0 headers in -I/usr/lib64/*/include folders
i like your software, but i think there is lots of work you can do it to really improves it