maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   New Port: FreeCiv SDL (https://talk.maemo.org/showthread.php?t=16754)

Croc 2010-01-15 14:06

Re: New Port: FreeCiv SDL
 
is the current extras-devel version working ok with nothing more but installation via app manager or we have to do some extra things to get it going?
love civ games, thanks for this port :)

Croc 2010-01-19 10:56

Re: New Port: FreeCiv SDL
 
hmmm
seem to be gone from repositories?

mece 2010-01-19 11:05

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by Ashley (Post 461195)
Hey

This is my first post on Maemo.org. I made the mistake of installing this app a little early and like many of you i am unable to install the broken app. Since then I have only being installing apps from the testing rep. Anyway... My efforts to uninstall this app have been unsuccessful. I have enabled root access and tried to install bash via the terminal ( apt-get install bash ), but this failed, a number of possible reasons listed. The working method seems to be to change bash to sh, however i dont understand what this means nor how to do it. I'm not an experienced linux user but i'm fine with copying commands into the terminal. I dont want to do anything where there is a risk of further damage. Please could somone spare some time to provide a step by step guide to uninstall this broken app using the bash->sh method. Many thanks & Cheers... :)

Try this:
Code:

sudo gainroot
apt-get install bash

then uninstall freeciv from app manager.

Ooops. Thought it was a new post.

LozBlake 2010-01-19 18:13

Re: New Port: FreeCiv SDL
 
Hey i've installed FreeCiv, it loads up and i get the menu, however when i click start new game the menu disapears and nothing happens? Any Ideas?

Croc 2010-01-21 15:33

Re: New Port: FreeCiv SDL
 
still not in of the extra/testing/devel repositories? gone for days now, any idea if it coming back?

Flandry 2010-01-21 16:24

Re: New Port: FreeCiv SDL
 
It may have been removed when it broke the repo, but i thought that was an older version.

ldrn: did this old port prove to be too much of a broken PITA?

ldrn 2010-01-25 13:08

Re: New Port: FreeCiv SDL
 
It should have been an older version that was removed -- according to the package manager, it should be there, but of course isn't. I'm trying to figure out why.

I thought it was going rather well, actually. :( It could be something to do with the new update.

Flandry 2010-01-25 13:46

Re: New Port: FreeCiv SDL
 
The UQM version in -devel mysteriously disappeared in the same way, but it had a missing dependency. Maybe some automated cleanup process is the culprit.

Bump up the version number and include any changes and reupload i guess. Worked for uqm...

ldrn 2010-01-27 17:22

Re: New Port: FreeCiv SDL
 
Great advice -- I did it, and Freeciv should be back in devel now.

PR1.1 changed how SDL apps work, though... it turns out there's a minor graphical glitch in the in-program task switch button when it's actually used. I'll need to fix that before I promote it to Testing again.

Croc 2010-01-27 18:57

Re: New Port: FreeCiv SDL
 
its back thanks :)

kyllerbuzcut 2010-01-29 11:37

Re: New Port: FreeCiv SDL
 
so... any fixes for those of us who still can't get the game to start and cannot get it to uninstall properly?

I've been through everything on this thread and others.I can get the n900 to think it's uninstalled even though the icon remains in the list of installed apps whenyou press 'more'. It will let me install it again and the option to uninstall appears, but the icon never goes no matter what you do.

Every time I think Imve done something new and fixed it it to work it just does the same thing. First screen loads up but when you hit start game nothing happens. The small options window dissappears. The latest thing I tried was to uninstall again and reinstall from x terminal in the order -data,server,client. I thought I discovered something when it told me the folder usr/share/man/man6/civserver.6 dpesnt exist when intalling the server. I uninstalled and created that directory through mc and it all seemed to install properly. BUT same end result.game wont start.

Another thing I noticed is there are files called civ and civclient (NOT freeciv but civ).is that right?

sorry for the long post but I wanted to try and provide as much info as I could. I installed it about 2 weeks ago.only got n900 on about 8th of )anuary I think it was

ldrn 2010-02-01 00:28

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by kyllerbuzcut (Post 500731)
so... any fixes for those of us who still can't get the game to start and cannot get it to uninstall properly?

This sounds like a different problem than before. The man page thing is a false lead -- it's not needed, and I should see if I can stop it from installing since Maemo purges the man pages anyway (why it isn't there when it goes to remove it.) Civclient and the like are the right names for the binaries, so there's nothing wrong there.

I'm trying to reproduce this now -- thank you for the detailed information. If you could try something, if you get to the screen where you hit start screen and hit nothing, but just wait, does it close on its own?

kyllerbuzcut 2010-02-01 12:27

Re: New Port: FreeCiv SDL
 
hi. thanks for the reply. Tried that one already:). Left it on for about an hour and came back to it, incase it was just taking a long tie to load, but screen was still the same.

Something good that came out of this is that I've learned the file structure of maemo, and learned a few tricks on x terminal.
I've spent hours looking through files on midnight commander trying to track down some las civ file somewhere, but the icon still remains on the list of apps, and it's on the list of things to download when I look, so some part thinks it's installed, and another part thinks it isn't.
Does anyone know where the n900 gets those icons from? How does it generate the list, it must look somewhere when you click 'more', for a set of icons to display. Perhaps there is a stray file in there that I haven't found. There MUST be a folder containing the icon at least.

Flandry 2010-02-01 14:41

Re: New Port: FreeCiv SDL
 
/usr/share/applications/hildon/ for the .desktop file that makes an entry for the app in your apps list. May be moved by catorize/mymenu (not sure).
/usr/share/icons/hicolor/64x64/apps/ for the icons, generally.

kyllerbuzcut 2010-02-01 17:41

Re: New Port: FreeCiv SDL
 
thank you.
there is indeed, in the first place you listed, a file called freeciv-client-sdl.desktop
the icon was in 48x48/apps. (freeciv-client.png
I will just go and delete them and see what happens....

yaay. its gone from the list.

right.i wonder if I'm brave enough to try installing agan from scratch lol.
which download is working for everybody?

The lure of playing freeciv on my n900 might be too great to resist . I had been, in the meantime plaaying civ1 through dosbox,which has been going great. Took a little bit of setting up but with the knowledge I learned so far it wasn't too hard.

raily 2010-02-08 10:26

Re: New Port: FreeCiv SDL
 
I just installed freeciv from extras-devel and it runs out of the box. Did the developers change it, so you don't need bash anymore?
Only thing to mention: it does not get put into "Games"-Folder if you use the categorise-app

kyllerbuzcut 2010-02-08 21:41

Re: New Port: FreeCiv SDL
 
well, I finally took a chance and downloaded it again. Same thing happened. Looed like it installed normally,started it up and it loads, then when you press 'start game' the little window dissappears and nothing happens.
I just don't get it. Is there something totally obvious I'm not doing?

I also thought I'd try uninstalling it again to see if that would work normally, but the same thing happened there again-it 'looks' like it uninstalls but the icon is still there in the apps list and there are files left all over the place when you go look.

My theory is there is some file somewhere I haven't found yet that needs removing before it will completely think it is uninstalled, then it might install properly? Well it's just a guess.

Something else I noticed was when I installed it was the icon was just a blue square and not the golden globe type icon form before.

Any suggestion appreciated.

nrajesh 2010-02-09 05:00

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by Flandry (Post 505159)
/usr/share/applications/hildon/ for the .desktop file that makes an entry for the app in your apps list. May be moved by catorize/mymenu (not sure).
/usr/share/icons/hicolor/64x64/apps/ for the icons, generally.

Thank you. This did the trick of removing the icon!

cryox92 2010-02-10 15:47

FreeCiv
 
First of all,my intention was not to make another topic.i AM aware that there is another topic,but for some reason im not allowed to post there.So i installed FreeCiv played it for a while,then i got bored.I uninstalled it but the icon remained in the "More" section.Well i did read the other topic,but with all the posts there im kinda lost.Could some please try to explain how to remove the icon from the "More" section.

Thx in advance

cryox92 2010-02-10 17:51

Re: FreeCiv
 
30 Views and no reply?Ah come on guys,someone help me out?

SubCore 2010-02-10 17:56

Re: FreeCiv
 
Code:

sudo gainroot
rm /usr/share/applications/hildon/freeciv-client-sdl.desktop

should do it.
you'll need the package "rootsh".

and be careful when entering that command! ther should be _no_ space anywhere in the path (between the first / and .desktop)!

kyllerbuzcut 2010-02-11 22:35

Re: New Port: FreeCiv SDL
 
what dependencies does freeciv have?

The reason I ask is I'm getting a sneaking suspicion that something got deleted when I used xterminal to uninstall the client,server and data.
At the time it was an attempt to get rid of the icon that still remained in the app list, so I tried re-installing all 3 from xterminal and then uninstalled from there too. I remember something flashed up on the screen about dependencies, and I should have payed more attention, but I didn't and pressed OK, thinking it must be part of the game.
I'd still love to play freeciv some day, but I am seriously considering restoring factory settings soon. The program seems to have put stray files all over the place, which the un-installer doesn't remove. Trying to delete these stray files means venturing around the innards of the n900's file system, with the risks that entails. I'm just not confident that everything is working as it did before now. A couple of other games wont load, when they used to before, and I'm not certain but I think some bookmarks have moved around or possibly have gone. Also there seems to be less space available on rootfs.
As I said I'd absolutely love to be playing freeciv and keep up the great work and all that, but I do think it's a bit irresponsible to be putting something out there that a lot of people will want to download, when there is no proper uninstall for it and no way to know you've got rid of everything.
Also puzzling is why does it work for some people and others are getting the 'game wont start' problem. Could this be anything to do with something else that's installed or not installed by some people? I have no idea what or why, just an idea.

mikkov 2010-02-11 22:38

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by kyllerbuzcut (Post 522039)
As I said I'd absolutely love to be playing freeciv and keep up the great work and all that, but I do think it's a bit irresponsible to be putting something out there that a lot of people will want to download, when there is no proper uninstall for it and no way to know you've got rid of everything.

Maybe so. But you are also accepting possibility of broken packages when using extras-devel or even extras-testing.

ldrn 2010-02-11 22:54

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by kyllerbuzcut (Post 522039)
what dependencies does freeciv have?

libsdl, zlib1g, freeciv-data, freeciv-server, and freeciv-client-sdl. Please let me know if any of these fixes it for you!
Quote:

As I said I'd absolutely love to be playing freeciv and keep up the great work and all that, but I do think it's a bit irresponsible to be putting something out there that a lot of people will want to download, when there is no proper uninstall for it and no way to know you've got rid of everything.
You are absolutely right, which is why I am not promoting it back into testing -- it's in -devel right now for development and fixing those problems. :( I am really, really sorry you can't get it working; I've been busy with my job these last couple of weeks, but am still trying to duplicate the error.

I thought there *was* a proper install and uninstall -- it tested out alright in my scratchbox and on my device, although it turned out (several times) I have been wrong or overlooked things or things I had set up on my device/environment were not marked correctly as requirements. I am very sorry again for these mistakes, and thank you for testing my modified Freeciv package in extras-devel to help find and fix them. (But please realize that's what -devel [and to a lesser extent testing] are for -- it's languishing there because it is still being tested and found wanting.)

Quote:

Also puzzling is why does it work for some people and others are getting the 'game wont start' problem. Could this be anything to do with something else that's installed or not installed by some people? I have no idea what or why, just an idea.
That's also possible. It would have to be either a missing file or a missing dependency for the server part, I think, since the sdl-client gets to the part where you can start a game (from your description.)

I'm going to try to put together a better package in a few days; some of these problems could be due to me not packaging it correctly, still. I would really appreciate it if you could test it when I do -- as far as I am aware, this problem is all that is stopping Freeciv from being ready for the next step (and what a problem it is, though. :()

kyllerbuzcut 2010-02-12 12:30

Re: New Port: FreeCiv SDL
 
thanks for the reply.I realy did not mean for that lasr post to sound like a rant,and people are right about accepting things from testing and devel. I remember thinking at the time; lookng through those repo's, saying to myself 'well I've only just got the phone, I can always restore factory settings'.
Has anyone here done that yet, and is it easy or hard to do? Also is it fairly easy to take a snapshot of what you have installed then just install it again?(or will that mean writing everthing down then finding it from that list). Any pics or other data in the storage area I can transfer to pc then put back.
I'd certainly be willing to try installing freeciv again to see if it works after the reset. Would that provide any answers? I think I'll be making a backup before installing anything new lol.

SubCore 2010-02-12 12:43

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by kyllerbuzcut (Post 522849)
Has anyone here done that yet, and is it easy or hard to do? Also is it fairly easy to take a snapshot of what you have installed then just install it again?(or will that mean writing everthing down then finding it from that list).

there you go: http://wiki.maemo.org/Updating_the_tablet_firmware

it's relatively easy IMO.
first you create a backup with the included application. this will contain messages, settings, and a software list.
after flashing the device, you restore the backup, and it will automatically install all applications you had when you took the backup.

if you don't flash the eMMC area, your files under /home/user and /home/user/MyDocs (that's the memory card you see when you connect it using mass storage mode) will be unaffected.

kyllerbuzcut 2010-02-12 16:10

Re: New Port: FreeCiv SDL
 
thanks for that. I might give it a try this weekend. Sounds like it's not such a pain to do. I can then make a restore point and try different things out with freeciv.

SirKline 2010-02-19 08:35

Re: New Port: FreeCiv SDL
 
Freeciv isn't working for me anymore after the Firmware update?

ldrn 2010-02-20 01:33

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by SirKline (Post 536123)
Freeciv isn't working for me anymore after the Firmware update?

Are you only using Extras-Testing? The post-Firmware update version is only in Extras-Devel because of some problems with it on some devices.

@ kyllerbuzcut -- I put a new version in Extras-Devel, but I was finally able to replicate your problems with a scratchbox install on my laptop, and it does not fix it. I am very confused, it seems the client never connects to the server after starting it... :(

SirKline 2010-02-20 14:23

Re: New Port: FreeCiv SDL
 
I uninstalled and reinstalled. Now it's working again.

kyllerbuzcut 2010-02-20 20:47

Re: New Port: FreeCiv SDL
 
yeah, it's a bit weird I didn't go for flashing in the end. Got wind there was a firmware update due so thought I better wait and see. Then I can flash to the latest fw and have a squeeky clean install..... must remember to make a backup/restore point at that stage.

Just as a point of interest, why do some apps not remove all the files when you un-install? And would it be only apps from testing and devel that might be likely for that to happen, or possibly other repos?

Flandry 2010-02-21 08:51

Re: New Port: FreeCiv SDL
 
Which files are you referring to? I believe it's standard (debian) policy to not remove user configuration files when uninstalling a package. That would be anything in ~/.packagename, for example.

kyllerbuzcut 2010-02-21 16:09

Re: New Port: FreeCiv SDL
 
can't remember all of them for freeciv, but I think I mentioned some of them earlier in this thread. Civclient and civ something else, there were 2 files to do with the icon and the apps list that remained after uninstall. There were 3 or 4 others I found too, but can't remember anything about those.

I think there was a similar situation with open arena but that llooked like just a couple. There might be others I haven't seen I just dont know. That's why I was asking the question-I have no idea what is usual or unusual in the linux world. I'm trying to learn the ways of the force

whaleyboy 2010-03-10 09:03

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by ldrn (Post 461896)
If that is the case, you *should* be able to remove things with...
Code:

sudo gainroot
mv /var/lib/dpkg/info/freeciv* /tmp/
dpkg --remove --force-depends --force-remove-reinstreq freeciv freeciv-client-sdl freeciv-server freeciv-data

... but if the files are still there, you'd need to manually delete the files after.

Just for the record, I was getting the same issues trying to remove freeciv remnants from my system and this solved it! Thanks!

mannakiosk 2010-04-16 13:42

Re: New Port: FreeCiv SDL
 
So, freeciv is in extras-testing now, but it can't install due to lacking freeciv-data and freeciv-server.

Did I catch it in the midst of promotion to testing?

ldrn 2010-04-16 17:34

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by mannakiosk (Post 613493)
Did I catch it in the midst of promotion to testing?

Let's go with that... :o

mannakiosk 2010-04-16 19:01

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by ldrn (Post 613799)
Let's go with that... :o

Thanks for working on this. :)

ivgalvez 2010-04-17 12:46

Re: New Port: FreeCiv SDL
 
I have been able to install it from Testing but when I press on Start New Game it freezes and I have to close the application.

Have anyone experienced this?

Shane Kerr 2010-04-18 18:43

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by ivgalvez (Post 614682)
I have been able to install it from Testing but when I press on Start New Game it freezes and I have to close the application.

Have anyone experienced this?

I get the exact same thing. I see someone else here had the same problem. I'm not sure what to do to debug it. Oh well, back to Wesnoth...

Shane Kerr 2010-04-18 19:01

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by Shane Kerr (Post 616436)
I get the exact same thing. I see someone else here had the same problem. I'm not sure what to do to debug it. Oh well, back to Wesnoth...

I just went to uninstall and got the following:

Code:

/home/user # dpkg --purge freeciv-server freeciv-client-sdl freeciv-data
(Reading database ...
dpkg: serious warning: files list file for package `freeciv-server' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `freeciv-client-sdl' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `freeciv-data' missing, assuming package has no files currently installed.
41333 files and directories currently installed.)
Removing freeciv-client-sdl ...
Removing freeciv-server ...
Removing freeciv-data ...

Maybe this can help the packager.


All times are GMT. The time now is 15:33.

vBulletin® Version 3.8.8