Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu support #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Ubuntu support #1

wants to merge 4 commits into from

Conversation

e-orz
Copy link

@e-orz e-orz commented Apr 10, 2016

Adds a directory with Ubuntu install script.
Also,

  • instructions how to extract the latest ravkav version (a must for some card readers)
  • instructions how to use HopOn (for Dan contracts)

@@ -0,0 +1,8 @@
[Desktop Entry]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this exactly the same file we have in the ArchLinux directory?

@jarondl
Copy link
Owner

jarondl commented Apr 10, 2016

Hi @e-orz,
Thank you for your help with this. Particularly kudos on finding a way to extract the newer jar from the windows installation.
However, I am a bit hesitant about merging it in the current form, because installation scripts shouldn't mess with /usr/bin - this is apt-get's territory.

I think this should be restructured.

  1. We need one separate script to download and extract the jar.
  2. We need to use the same files for Arch and Ubuntu (I mean the ravkav script and the .desktop file. I guess a common location would be good. Arch can actually download those files in install time.
  3. In ubuntu, we can either create a .deb file, or install with a script in the user directory as explained in the readme.
  4. Is there a way around wine?

What do you think?

Anyway, thanks again for the PR.
Yaron

@e-orz
Copy link
Author

e-orz commented Apr 11, 2016

Hi @jarondl,
I agree with you about the restructure. I spent a lot of time investigating the version and the HopOn issues and didn't want the knowledge to get lost. I don't know how to create DEB files or PPA, and I am not sure that I will have the time to learn them in the following weeks. I am not even sure if it's feasible from GitHub or it must be on Launchpad.
My intention was to have the script (working of course) as a guidance for others to create proper installation from them.

About Wine, I really hate the idea of installing so large dependency just to extract the cab file. But Advanced Installer has its own format (I think) and I don't know anything that can extract it.

the DummyRavKav is simple. Normally, the user should give a folder to the extract parameter. If it's an existing Wine folder (e.g. c:) the installer will extract to it. In Wine case it will be somewhere in the Wine profile. It's simpler to give non existing folder and then it extracts it to the current one.

As a simple fast workaround extracting to a user directory should be enough.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants