Hi > Since the last patch I pushed XBoard is now completely XPM free: I > replaced the 7 remaining XPM icons that were used in the engine window by > the Xaw version by bitmaps (which I defined internally in xenginoutput.c).
Great, I created a branch removexpm [1] which gets rid of all xpm calls. Let me know if this would work and I'll push it to master Tim: I also removed zic2xpm from git, which I guess is not that usefull anymore anyway? > There still are 6 XPM files in the pixmaps directory, howeever. These are > not used for building the XBoard binary, but they are desktop icons to be > associated with various mime types. I don't think that can be said to make > XBoard dependent on libXpm. In any case, the icons could be converted to > another format, like PNG, and moved to another folder. This would require > changes in the Makefile. Probably should convert them to png. I don't have time for that right now though, but I'll look into it at one point. > Currently these icon files are installed in > $(datadir)/games/xboard/pixmaps/textures. This does not make much sense, > as they are not textures, and since the switch to Cairo neither the Xaw > nor the GTK version can use pixmaps for textures. In fact it does not make > much sense they are installed at all; XBoard does not need them for > running. They are only used at install time, in the xdg commands to > associate them with the mime types, and in that case it is the version > from the source tree that is used, not the copies in pixmaps/textures. The > latter are sort of 'write once, read never' copies. We still need to package them though, so that they are in the tar-ball and can get installed into the right place at one point. Arun [1] https://github.com/arunpersaud/xboard/tree/removexpm or http://git.nubati.net/cgi-bin/cgit.cgi/xboard.git/ _______________________________________________ Bug-XBoard mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-xboard
