Author Topic: [fixed] cmake install script in the data archive does not install all files  (Read 757 times)

PaddyMac

  • Guest
I downloaded megaglest-data-3.6.0.3.tar.xz When I run cmake then run make and install, it installs all the proper folders of data, configuration.xml, glest.ini, glestkeys.ini, and megaglest.bmp (which appears to be unnecessary in the datat directory) into the specified data directory. However, it fails to install editor.ico, g3dviewer.ico, glest.ico, megaglest.ico, and servers.ini which should be installed in the data directory. The archive also contains megaglest.desktop, megaglest.png, and megaglest.xpm which, along with megaglest.bmp, seem to be unnecessary in the data directory and superfluous in the archive since they are also included, more appropriately, in megaglest-source-3.6.0.3.tar.xz. Could the install script at least be updated so as to automatically install editor.ico, g3dviewer.ico, glest.ico, megaglest.ico, and servers.ini?

Also, the html documentation in the docs folder is installed in the games data directory by default, but would it not be more appropriate for that documentation to be installed in /usr/share/doc/megaglest-data-3.6.0.3/html/ by default?

Edit: I made a small patch to update the CMakeLists.txt to include the servers.ini file and omit the unneeded megaglest.bmp file, but I don't see a way to add attachments.
« Last Edit: 20 July 2012, 16:36:49 by softcoder »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Edit: I made a small patch to update the CMakeLists.txt to include the servers.ini file and omit the unneeded megaglest.bmp file, but I don't see a way to add attachments.

Please either post it here wrapped in [code] [/code] tags or put it on a pastebin and link to it.

Unfortunately I cannot comment on your bug report. Titi is rather busy these days and Softcoder is both busy and offsite, so it may take a little to get a response... Thanks for your report, though, it's appreciated.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything