ThinkingRock Forum

To go back to http://www.trgtd.com.au
It is currently Wed Jun 19, 2013 5:51 pm

All times are UTC




Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2, 3  Next

Is Ubuntu package useful?
Yes 100%  100%  [ 14 ]
No 0%  0%  [ 0 ]
Total votes : 14
Author Message
 Post subject: Ubuntu Package
PostPosted: Sun Jun 22, 2008 6:14 pm 
Offline
User avatar

Joined: Mon Feb 04, 2008 4:51 pm
Posts: 69
Location: Slovakia
Hello folks!

I created unofficial ThinkingRock Ubuntu package.

:idea: Highlights:
  • simple installation and update
  • menu launcher
  • interactive configuration of Java
:arrow: Installation:
  1. In 'Applications' menu click on 'Accessories' and then 'Terminal'
  2. Enter these two commands:
    Code:
    sudo sh -c "echo deb http://repository.salutis.sk/production ./ >> /etc/apt/sources.list"
    sudo sh -c "aptitude update && aptitude install thinkingrock"
  3. In 'Applications' menu click on 'Office' and then 'ThinkingRock'

Your feedback is welcome! Thanks for it and enjoy!


Last edited by salutis on Tue Jul 29, 2008 7:29 pm, edited 6 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 22, 2008 6:32 pm 
Offline
User avatar

Joined: Mon Feb 04, 2008 4:51 pm
Posts: 69
Location: Slovakia
For your information:
https://bugs.launchpad.net/ubuntu/+bug/236595


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 22, 2008 7:08 pm 
Offline
User avatar

Joined: Mon Feb 04, 2008 4:51 pm
Posts: 69
Location: Slovakia
Released in 2.0.1-2. Please can someone test the package?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 22, 2008 10:02 pm 
Offline

Joined: Wed Jul 05, 2006 11:11 am
Posts: 1517
Location: Sydney
Thank you very much for that.

Once someone has tested it, I can put the link on the download page.

_________________
Claire
ThinkingRock Analyst and Tester


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 1:37 am 
Offline

Joined: Wed Jul 05, 2006 10:51 am
Posts: 898
Location: Sydney, Australia
Hi,

Thanks for doing this.

I tried it out using Ubuntu 8.04 Desktop VMware image.

First I tried "Installation - alternative way"
- step 4. had to append "deb " for this to be accepted - so line is:
deb http://repository.salutis.sk/production ./
- Could not get it to install. Everything seemed to be alright but nothing was installed. No menu item and no in /usr/share/thinkingrock

Then used "Installation" instructions and all went well and installed.

Some questions:
- the xdg-utils were already installed in the VMWare image I used. Is it safe to assume that in general Ubuntu systems will have this or do you need some dependency or install or link to TRs xdg-utils in bin, if they are not present?
- Is there a check whether Java 1.6 is already installed or does it just always install the JRE?

It would be good to get it in the Ubuntu release. Maybe you could submit it to them or let us know how we can do this.

_________________
ThinkingRock Developer


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 7:54 am 
Offline
User avatar

Joined: Mon Feb 04, 2008 4:51 pm
Posts: 69
Location: Slovakia
Quote:
I tried it out using Ubuntu 8.04 Desktop VMware image.

Thanks.
Quote:
First I tried "Installation - alternative way"
- step 4. had to append "deb " for this to be accepted - so line is:
deb http://repository.salutis.sk/production ./
- Could not get it to install. Everything seemed to be alright but nothing was installed. No menu item and no in /usr/share/thinkingrock

I simplified the default installation method (just two commands) and removed alternative way.
Quote:
Some questions:
- the xdg-utils were already installed in the VMWare image I used. Is it safe to assume that in general Ubuntu systems will have this or do you need some dependency or install or link to TRs xdg-utils in bin, if they are not present?

Fixed in 2.0.1-3 and released to repository. Thanks for reminder.
Quote:
- Is there a check whether Java 1.6 is already installed or does it just always install the JRE?

I wrote simple loader with interactive Java pre-configuration. If Sun JRE 1.6 is default JRE then no configuration window appears and ThinkingRock is started immediately. If not, an pre-configuration window appear.

So, let's configure JRE to unsupported one:
  • Type a command:
    Code:
    sudo update-alternatives --config java
  • Select incompatible JRE from list, for example '/usr/bin/gij-4.2'
  • Start ThinkingRock
  • Configuration window appear with question 'Unsupported Java version. Reconfigure system to use Sun Java?'
  • Click 'OK' for automatic re-configuration to Sun JRE 1.6
Quote:
It would be good to get it in the Ubuntu release. Maybe you could submit it to them or let us know how we can do this.

In progress - look at https://bugs.launchpad.net/ubuntu/+bug/236595 bug.


Last edited by salutis on Tue Jul 29, 2008 7:30 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 9:41 am 
Offline

Joined: Wed Jul 05, 2006 10:51 am
Posts: 898
Location: Sydney, Australia
On my Ubuntu VM it tried to upgrade to the new version but the installer failed and said there was a Size Mismatch.

I was going to try it out running TR with no Java installed.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 10:15 am 
Offline
User avatar

Joined: Mon Feb 04, 2008 4:51 pm
Posts: 69
Location: Slovakia
Jeremy wrote:
On my Ubuntu VM it tried to upgrade to the new version but the installer failed and said there was a Size Mismatch.


Fixed. :oops:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 11:28 am 
Offline

Joined: Wed Jul 05, 2006 10:51 am
Posts: 898
Location: Sydney, Australia
Quote:
I wrote simple loader with interactive Java pre-configuration. If Sun JRE 1.6 is default JRE then no configuration window appear and ThinkingRock is started immediately. If not, an pre-configuration window appear.


Is this supposed to work with the upgrade? It didn't work. I tried removing Java - when TR was run nothing happened. I then installed Java 1.4.2 - when TR was run I got the TR message that it needs Java 1.5.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 11:53 am 
Offline
User avatar

Joined: Mon Feb 04, 2008 4:51 pm
Posts: 69
Location: Slovakia
Jeremy wrote:
Quote:
I wrote simple loader with interactive Java pre-configuration. If Sun JRE 1.6 is default JRE then no configuration window appear and ThinkingRock is started immediately. If not, an pre-configuration window appear.


Is this supposed to work with the upgrade? It didn't work. I tried removing Java - when TR was run nothing happened. I then installed Java 1.4.2 - when TR was run I got the TR message that it needs Java 1.5.


ThinkingRock package depends on Sun JRE 1.6. So, you can't remove Java Sun JRE 1.6 without removing ThinkingRock too. In case of two or more JRE installed you can configure alternatives.

In default Ubuntu is preinstalled GNU Java. When ThinkingRock is installed, Sun JRE 1.6 is installed too, as dependency. Then user can reconfigure JRE for use with 'update-alternatives' command. And if there is incompatible JRE set, ThinkingRock loader ask you and switches to Sun JRE 1.6.

So, can you please clarify how was Java removed and what commands you used for that? As I know - it isn't possible. Or do you mean setup of incompatible JRE alternative? Or am I missing something?


Last edited by salutis on Tue Jul 29, 2008 7:31 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 11:24 pm 
Offline

Joined: Wed Jul 05, 2006 10:51 am
Posts: 898
Location: Sydney, Australia
The Java handling should be ok. I removed Java by removing the link using the command line - as you said, I could not remove it using the package manager due to the dependency by TR.

How have you handled the xdg-utils dependency?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 24, 2008 6:11 am 
Offline
User avatar

Joined: Mon Feb 04, 2008 4:51 pm
Posts: 69
Location: Slovakia
Quote:
How have you handled the xdg-utils dependency?


As I wrote, it is fixed in 2.0.1-3, so now you can't install ThinkingRock without 'xdg-utils'. It's handled as a regular package dependency.


Last edited by salutis on Tue Jul 29, 2008 7:32 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 24, 2008 7:24 am 
Offline

Joined: Wed Jul 05, 2006 10:51 am
Posts: 898
Location: Sydney, Australia
Ok good.

One last thing. You have both tr and tr.sh in the bin directory. Should remove tr and use tr.sh (tr.sh replaces tr due to the problems with the tr naming clash).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 24, 2008 7:52 am 
Offline
User avatar

Joined: Mon Feb 04, 2008 4:51 pm
Posts: 69
Location: Slovakia
Jeremy wrote:
Ok good.

One last thing. You have both tr and tr.sh in the bin directory. Should remove tr and use tr.sh (tr.sh replaces tr due to the problems with the tr naming clash).


Thanks for information. Removed in 2.0.1-4. Windows binaries removed too.

Another issue I found is that there are 'xdg-email' and 'xdg-open' scripts in ThinkingRock directory. These files are already installed in the system as a regular dependency, so I will remove them in the next version (2.0.1-5).


Last edited by salutis on Tue Jul 29, 2008 7:33 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 24, 2008 9:05 am 
Offline
User avatar

Joined: Mon Feb 04, 2008 4:51 pm
Posts: 69
Location: Slovakia
Summary what to do next:
  1. Fix duplicity of 'xdg-email' and 'xdg-open'.
  2. Make a final testing round.
  3. Change version to '2.0.1-0ubuntu1'.
  4. Add information to the download page.
  5. Try to move to official Ubuntu repository.


Last edited by salutis on Tue Jul 29, 2008 7:33 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group