|
|
|
|
RetroX
Master of all things Linux
 Joined: Apr 2008
Posts: 1,055
|
 |
Reply #17 Posted on: October 14, 2010, 08:44:06 PM |
|
|
Quote from: The 11th plague of Egypt on October 14, 2010, 06:01:50 PM I tested the Ubuntu 32bit version and it works. I hope it will uninstall without leaving pieces behind.
Do you have a game to test?
It removes the symbolic links when it uninstalls, but it will probably will leave the /opt/enigma directory behind. You can delete that if you want it to be fully removed.
|
|
|
RetroX
Master of all things Linux
 Joined: Apr 2008
Posts: 1,055
|
 |
Reply #18 Posted on: October 14, 2010, 08:49:39 PM |
|
|
|
I've added GLU to the dependencies. I'll build new packages soon.
|
|
|
The 11th plague of Egypt
 Joined: Dec 2009
Posts: 274
|
 |
Reply #19 Posted on: October 16, 2010, 10:57:13 AM |
|
|
|
Please make it this weekend, or I won't have that much time for testing.
|
|
|
RetroX
Master of all things Linux
 Joined: Apr 2008
Posts: 1,055
|
 |
Reply #20 Posted on: October 16, 2010, 06:23:06 PM |
|
|
|
They're built, now. If you have any other package-related errors, let me know. Otherwise, it's Josh's job.
|
|
|
The 11th plague of Egypt
 Joined: Dec 2009
Posts: 274
|
 |
Reply #21 Posted on: October 17, 2010, 11:24:23 AM |
|
|
|
Ubuntu Software Center didn't found the Enigma installation, so I had to use Package Manager, and do the work by hand. And removing Opt/Enigma folder requires root privileges, so it can't be done using the GUI. I had to install search the net for a Nautilus plugin to get those privileges, and once I "trashed" the folder, it just disappeared instead of going into the trash can.
I still have to install the new Enigma and I'm already fed up...
EDIT: it works, but the Enigma Progress Console doesn't close when the game starts.
|
|
|
Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Reply #22 Posted on: October 17, 2010, 01:18:25 PM |
|
|
|
We're working on that. By which I mean, I'm hinting to Ism every week or so that I hate it when that thing covers my game window.
|
|
|
IsmAvatar
LateralGM Developer
 Joined: Apr 2008
Posts: 877
|
 |
Reply #23 Posted on: October 17, 2010, 02:09:03 PM |
|
|
QuoteWe're working on that. By which I mean, I'm hinting to Ism every week or so that I hate it when that thing covers my game window. You've never mentioned it. I'm looking over my code, and it looks like I call compileEGMf from your dll, and then never execute the game myself - it seems you do that now from within compileEGMf. Obviously I have no way of telling when that single method is done one part and moving on to another, which means that the method would need to inform me. Which means that it's Josh's job. And since I provided josh with this wonderful toolkit of progress console methods, including one to close the console, I don't know what you're bitching to me about. Although I am aware of a slightly separate, always-on-top problem which I'm still trying to fix I've now fixed in r504.
|
|
|
RetroX
Master of all things Linux
 Joined: Apr 2008
Posts: 1,055
|
 |
Reply #24 Posted on: October 17, 2010, 05:29:01 PM |
|
|
Quote from: The 11th plague of Egypt on October 17, 2010, 11:24:23 AM Ubuntu Software Center didn't found the Enigma installation, so I had to use Package Manager and do the work by hand.
Download the package, right click the package > install. Or something like that. Eventually, a package repository will probably be put up or something, so that it will be automatically updated. I'm not doing that until it's actually onto a stable release. Quote from: The 11th plague of Egypt on October 17, 2010, 11:24:23 AM And removing Opt/Enigma folder requires root privileges, so it can't be done using the GUI. I had to install search the net for a Nautilus plugin to get those privileges, and once I "trashed" the folder, it just disappeared instead of going into the trash can.
I'll look into debian packages more. I know that there's a purge configuration option in the package manager, which, when chosen, would fully remove configuration (in this case, /opt/enigma) after uninstall. It's not done automatically with the package because you might want to uninstall and then reinstall explicitly, and that would delete your configurations without any undo. Could you check the software center for me and see what kind of uninstallation options that there are? I know that Synaptic has it, but I'm not sure that it can be done via the software center. You have to realise that this is still a development version of ENIGMA. It's not automated for Linux yet, but I'll try to do that.
|
|
|
Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Reply #25 Posted on: October 17, 2010, 05:44:24 PM |
|
|
|
We may need to set up our own repository. I doubt ENIGMA will just waltz into the main Ubuntu repo (But never say never. I intend to try).
|
|
|
RetroX
Master of all things Linux
 Joined: Apr 2008
Posts: 1,055
|
 |
Reply #26 Posted on: October 17, 2010, 06:16:36 PM |
|
|
|
As a little update, I've made it so that for all of the packages, when ENIGMA is updated or uninstalled, this is run:
rm -rf /opt/enigma/blank.txt /opt/enigma/defines.txt /opt/enigma/redirfile.txt /opt/enigma/searchdirs.txt /opt/enigma/ENIGMAsystem/SHELL/Preprocessor_Environment_Editable /opt/enigma/ENIGMAsystem/SHELL/API_Switchboard.h find /opt/enigma -type f -name "*.o" -exec rm {} \; find /opt/enigma -type f -name "*.a" -exec rm {} \; find /opt/enigma -type d -depth -exec rmdir {} --ignore-fail-on-non-empty \;
In English: blank.txt, defines.txt, redirfile.txt, and searchdirs.txt are all deleted so that LGM can regenerate them. ENIGMAsystem/SHELL/Preprocessor_Environment_Editable and ENIGMAsystem/SHELL/API_Switchboard.h are deleted. These are generated when compiling and will be updated per-game, anyways. All objects and static libraries are deleted. All empty directories are removed.
|
|
|
IsmAvatar
LateralGM Developer
 Joined: Apr 2008
Posts: 877
|
 |
Reply #27 Posted on: October 17, 2010, 08:12:51 PM |
|
|
Quoteblank.txt, defines.txt, redirfile.txt, and searchdirs.txt are all deleted so that LGM can regenerate them. Neither LGM nor the plugin are responsible for the generation or regeneration of any of these files. I believe you meant ENIGMA. Also, redirfile.txt should be regenerated irregardless of its existence. It serves as a temporary active log of the output of `make game` when run from ENIGMA, which the plugin will then attempt to read and pipe to the progress console. I don't know of the nature of the other 3.
|
|
|
The 11th plague of Egypt
 Joined: Dec 2009
Posts: 274
|
 |
Reply #28 Posted on: October 17, 2010, 09:44:03 PM |
|
|
Quote from: RetroX on October 17, 2010, 05:29:01 PM I'll look into debian packages more. I know that there's a purge configuration option in the package manager, which, when chosen, would fully remove configuration (in this case, /opt/enigma) after uninstall. It's not done automatically with the package because you might want to uninstall and then reinstall explicitly, and that would delete your configurations without any undo. Could you check the software center for me and see what kind of uninstallation options that there are? I know that Synaptic has it, but I'm not sure that it can be done via the software center.
You have to realise that this is still a development version of ENIGMA. It's not automated for Linux yet, but I'll try to do that.
It showed up under installed software only after I used the search function, here's a pick. There's only one uninstall option, a Remove button. BTW there's a typo in the description "EnvironmentAn"
|
|
|
RetroX
Master of all things Linux
 Joined: Apr 2008
Posts: 1,055
|
 |
Reply #29 Posted on: October 17, 2010, 09:46:58 PM |
|
|
Quote from: IsmAvatar on October 17, 2010, 08:12:51 PM
Quoteblank.txt, defines.txt, redirfile.txt, and searchdirs.txt are all deleted so that LGM can regenerate them. Neither LGM nor the plugin are responsible for the generation or regeneration of any of these files. I believe you meant ENIGMA. Also, redirfile.txt should be regenerated irregardless of its existence. It serves as a temporary active log of the output of `make game` when run from ENIGMA, which the plugin will then attempt to read and pipe to the progress console. I don't know of the nature of the other 3.
ENIGMA, whatever. The point is that they're regenerated every single time and can be deleted after ENIGMA is removed. In fact, I'll actually create them in the package so that they're removed automatically.
|
|
|
|