[ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
I have a perl script I wish to publish but doing so seems rather akin to pulling teeth! I'm trying to package it as an executable but this doesn't seem to work. Can anyone advise me what format it needs to be in to submit it, and how I may achieve this. Thanks Gareth -- ubuntu-uk@lists.ubuntu

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Alan Pope
Hi Gareth, On 23 April 2014 08:14, Gareth France wrote: > I have a perl script I wish to publish but doing so seems rather akin to > pulling teeth! I'm trying to package it as an executable but this doesn't > seem to work. Can anyone advise me what format it needs to be in to submit > it, and how

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
The goal is to create a program which can be installed from the software centre like any other. I don't want the code to be accessable by anybody. I have used pp to package it but the resulting file does nothing. Double clicking doesn't work and running it from a terminal results in a command n

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Alan Pope
Hi Gareth, These two statements are somewhat in conflict.. On 23 April 2014 08:31, Gareth France wrote: > The goal is to create a program which can be installed from the software > centre like any other. > I don't want the code to be accessable by anybody. Not sure what you mean by that. But

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
Take get-iplayer for instance. I install that on my system and (to my knowledge) I am not able to browse through the source. It is buried away in the system and just works. That is what I am wanting. You install it , you use it, no faffing about. On 23/04/14 08:39, Alan Pope wrote: Hi Gareth,

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Alan Pope
On 23 April 2014 08:41, Gareth France wrote: > Take get-iplayer for instance. I install that on my system and (to my > knowledge) I am not able to browse through the source. It is buried away in > the system and just works. That is what I am wanting. You install it , you > use it, no faffing about

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Colin Law
On 23 April 2014 08:41, Gareth France wrote: > Take get-iplayer for instance. I install that on my system and (to my > knowledge) I am not able to browse through the source. It is buried away in > the system and just works. That is what I am wanting. You install it , you > use it, no faffing about

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 08:56, Colin Law wrote: On 23 April 2014 08:41, Gareth France wrote: Take get-iplayer for instance. I install that on my system and (to my knowledge) I am not able to browse through the source. It is buried away in the system and just works. That is what I am wanting. You install it

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Alan Pope
On 23 April 2014 08:56, Colin Law wrote: > On 23 April 2014 08:41, Gareth France wrote: >> Take get-iplayer for instance. I install that on my system and (to my >> knowledge) I am not able to browse through the source. It is buried away in >> the system and just works. That is what I am wanting.

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 08:56, Colin Law wrote: On 23 April 2014 08:41, Gareth France wrote: Take get-iplayer for instance. I install that on my system and (to my knowledge) I am not able to browse through the source. It is buried away in the system and just works. That is what I am wanting. You install it

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 08:56, Colin Law wrote: On 23 April 2014 08:41, Gareth France wrote: Take get-iplayer for instance. I install that on my system and (to my knowledge) I am not able to browse through the source. It is buried away in the system and just works. That is what I am wanting. You install it

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Colin Law
On 23 April 2014 08:58, Alan Pope wrote: > On 23 April 2014 08:56, Colin Law wrote: >> On 23 April 2014 08:41, Gareth France wrote: >>> Take get-iplayer for instance. I install that on my system and (to my >>> knowledge) I am not able to browse through the source. It is buried away in >>> the sy

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
Thanks Alan. I was pointing out a misunderstanding on his part that might have been important to him. In an earlier post he said "I don't want the code to be accessable by anybody." whereas if he publishes the script the way he is suggesting then it *will* be accessable by everybody, and he sa

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Colin Law
On 23 April 2014 09:37, Gareth France wrote: > >> Thanks Alan. I was pointing out a misunderstanding on his part that >> might have been important to him. In an earlier post he said "I don't >> want the code to be accessable by anybody." whereas if he publishes >> the script the way he is sugges

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
OK, no problem. Been there as the saying goes. On second thoughts I haven't, there wasn't email then. :) Colin So does anyone have any ideas about packaging up this script? I now have information about how to package it for submission but I still need a way to run the program from the comm

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Alan Lord
So does anyone have any ideas about packaging up this script? I now have information about how to package it for submission but I still need a way to run the program from the command line without calling perl. If your script is executable and has the right "shebang" at the start you will not ne

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 10:27, Alan Lord wrote: So does anyone have any ideas about packaging up this script? I now have information about how to package it for submission but I still need a way to run the program from the command line without calling perl. If your script is executable and has the right "s

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Alan Pope
On 23 April 2014 10:31, Gareth France wrote: > On 23/04/14 10:27, Alan Lord wrote: >>> >>> So does anyone have any ideas about packaging up this script? I now have >>> information about how to package it for submission but I still need a >>> way to run the program from the command line without cal

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 10:36, Alan Pope wrote: On 23 April 2014 10:31, Gareth France wrote: On 23/04/14 10:27, Alan Lord wrote: So does anyone have any ideas about packaging up this script? I now have information about how to package it for submission but I still need a way to run the program from the co

Re: [ubuntu-uk] First impressions on Trusty

2014-04-23 Thread Simon Greenwood
I upgraded my Acer S400C laptop to Xubuntu 14.04 on Sunday and it's generally been good in terms of performance. There is a bug with iBus which relates to language settings and left me with a US English keyboard map after reboot and which was fixed by selecting UK English in keyboard settings. Also

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 10:36, Alan Pope wrote: On 23 April 2014 10:31, Gareth France wrote: On 23/04/14 10:27, Alan Lord wrote: So does anyone have any ideas about packaging up this script? I now have information about how to package it for submission but I still need a way to run the program from the co

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Stuart Ward
As I understand it the way this should be set up is: create a directory /usr/share/myappname put all the resources of the script app there ln -s /usr/share/myappname/myappname /usr/bin/myappname Stuart -- Stuart Ward M +44 7782325143 On 23 April 2014 10:39, Gareth France wrote: > On 23/04/

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Stuart Ward
On 23 April 2014 15:07, Gareth France wrote: > I have tried renaming the file but still get a 'Command not found' error. > Any ideas > My guess it that it will be permissions. what do you see with a ls -l /usr/bin/seaward -- Stuart Ward M +44 7782325143 -- ubuntu-uk@lists.ubuntu.com https://li

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Simon Greenwood
If you're just running in a local directory and it's chmodded 755, you have to execute it with slashdot: ./seaward s/ On 23 April 2014 15:07, Gareth France wrote: > On 23/04/14 10:36, Alan Pope wrote: > >> On 23 April 2014 10:31, Gareth France wrote: >> >>> On 23/04/14 10:27, Alan Lord wrote:

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 15:15, Stuart Ward wrote: On 23 April 2014 15:07, Gareth France > wrote: I have tried renaming the file but still get a 'Command not found' error. Any ideas My guess it that it will be permissions. what do you see with a ls -l /usr/bin/sea

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Alan James Jenkins
Could you please give us the output of these commands: echo $PATH ls -la /usr/bin/seaward head -n1 /usr/bin/seaward Thanks, Alan On 23 Apr 2014, at 15:17, Gareth France wrote: > On 23/04/14 15:15, Stuart Ward wrote: >> >> On 23 April 2014 15:07, Gareth France wrote: >> I have tried renamin

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 15:18, Alan James Jenkins wrote: Could you please give us the output of these commands: echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games ls -la /usr/bin/seaward -rwxr-xr-x 1 root root 6844 Apr 23 15:09 /usr/bin/CTS/seaward hea

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Alan James Jenkins
Going on what those commands reported you should be good to run seaward as the script is in your path, is executable to everyone and has the correct interpreter set in the shebang. Is it not working? On 23 Apr 2014, at 15:22, Gareth France wrote: > On 23/04/14 15:18, Alan James Jenkins wrote:

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 15:24, Alan James Jenkins wrote: Going on what those commands reported you should be good to run seaward as the script is in your path, is executable to everyone and has the correct interpreter set in the shebang. Is it not working? On 23 Apr 2014, at 15:22, Gareth France wrote:

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Alan James Jenkins
OK next command to try: file /usr/bin/seaward On 23 Apr 2014, at 15:27, Gareth France wrote: > On 23/04/14 15:24, Alan James Jenkins wrote: >> Going on what those commands reported you should be good to run seaward as >> the script is in your path, is executable to everyone and has the correct

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Colin Law
On 23 April 2014 15:22, Gareth France wrote: > On 23/04/14 15:18, Alan James Jenkins wrote: > > Could you please give us the output of these commands: > > echo $PATH > > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > > > ls -la /usr/bin/seaward > > -rwxr

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Alan James Jenkins
Also try: which seaward If that shows /usr/bin/seaward your terminal is finding the command in your path. Reason for the `file /usr/bin/seaward` was to determine whether or not it was a valid symbolic link but tbh the ls -la /usr/bin/seaward showed that it was a symlink to /usr/bin/CTS/seaward

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 15:37, Alan James Jenkins wrote: Also try: which seaward If that shows /usr/bin/seaward your terminal is finding the command in your path. Reason for the `file /usr/bin/seaward` was to determine whether or not it was a valid symbolic link but tbh the ls -la /usr/bin/seaward showed

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Alan James Jenkins
Good stuff glad you got it working =). On 23 Apr 2014, at 15:39, Gareth France wrote: > On 23/04/14 15:37, Alan James Jenkins wrote: >> Also try: >> >> which seaward >> >> If that shows /usr/bin/seaward your terminal is finding the command in your >> path. Reason for the `file /usr/bin/seawar

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Colin Law
On 23 April 2014 15:39, Gareth France wrote: > On 23/04/14 15:37, Alan James Jenkins wrote: >> >> Also try: >> >> which seaward >> >> If that shows /usr/bin/seaward your terminal is finding the command in >> your path. Reason for the `file /usr/bin/seaward` was to determine whether >> or not it wa

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 15:40, Alan James Jenkins wrote: Good stuff glad you got it working =). On 23 Apr 2014, at 15:39, Gareth France wrote: Not yet I haven't. If you run it without specifying the correct inputs it just crashes with a file not found error. It works but is very clunky. Maybe I could p

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 15:42, Colin Law wrote: On 23 April 2014 15:39, Gareth France wrote: On 23/04/14 15:37, Alan James Jenkins wrote: Also try: which seaward If that shows /usr/bin/seaward your terminal is finding the command in your path. Reason for the `file /usr/bin/seaward` was to determine whet

Re: [ubuntu-uk] 14.10 code name

2014-04-23 Thread Bruno Girin
The adjective may be the difficult part. Unreliable Unicorn doesn't sound too good. On 23 April 2014 16:22, Philip Stubbs wrote: > Just started typing "Animals begining..." and Google's second suggested > completion was " with u". I guess there are a few people trying to second > guess Mark abo

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 08:26, Alan Pope wrote: Hi Gareth, On 23 April 2014 08:14, Gareth France wrote: I have a perl script I wish to publish but doing so seems rather akin to pulling teeth! I'm trying to package it as an executable but this doesn't seem to work. Can anyone advise me what format it needs

Re: [ubuntu-uk] 14.10 code name

2014-04-23 Thread Philip Stubbs
Just started typing "Animals begining..." and Google's second suggested completion was " with u". I guess there are a few people trying to second guess Mark about now. On 22 April 2014 18:38, Peter Smout wrote: > On 22/04/14 18:30, J Fernyhough wrote: > >> On 22 April 2014 18:23, Chris Coulson

Re: [ubuntu-uk] First impressions on Trusty

2014-04-23 Thread Barry Drake
On 23/04/14 12:05, Simon Greenwood wrote: There is a bug with iBus which relates to language settings and left me with a US English keyboard map after reboot and which was fixed by selecting UK English in keyboard settings. Ah! Please report a bug in the keyboard selector. I have this proble

Re: [ubuntu-uk] 14.10 code name

2014-04-23 Thread J Fernyhough
On 23 April 2014 16:56, Bruno Girin wrote: > The adjective may be the difficult part. Unreliable Unicorn doesn't sound > too good. > Reading MS's blog post, I think the time delay was probably actually due to his trying to find unique u-words to use. :) "Ubuntu 14.10: Go on, stroke my horn" J

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Matthew Wild
On 23 April 2014 16:56, Gareth France wrote: > On 23/04/14 08:26, Alan Pope wrote: > > Hi Gareth, > > On 23 April 2014 08:14, Gareth France wrote: > > I have a perl script I wish to publish but doing so seems rather akin to > pulling teeth! I'm trying to package it as an executable but this doesn

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
On 23/04/14 20:24, Matthew Wild wrote: On 23 April 2014 16:56, Gareth France wrote: On 23/04/14 08:26, Alan Pope wrote: Hi Gareth, On 23 April 2014 08:14, Gareth France wrote: I have a perl script I wish to publish but doing so seems rather akin to pulling teeth! I'm trying to package it as

Re: [ubuntu-uk] Publishing to the software centre

2014-04-23 Thread Gareth France
I have muddled my way through the packaging process so far and I have to say it feels like pulling teeth! I know Canonical had that big drive a while back to get more people publishing, I can see why they don't! Why isn't there an easy way to publish your code yet? I'm 99% of the way there and

Re: [ubuntu-uk] First impressions on Trusty

2014-04-23 Thread Tony Pursell
On 23 April 2014 18:16, Barry Drake wrote: > On 23/04/14 12:05, Simon Greenwood wrote: > >> There is a bug with iBus which relates to language settings and left me >> with a US English keyboard map after reboot and which was fixed by >> selecting UK English in keyboard settings. >> > > Ah! Pleas

Re: [ubuntu-uk] 14.10 code name

2014-04-23 Thread Alan Jenkins
Yeah that could be a pain. Unbelievable Unicorn sounds more amusing though considering they don't exist anyway. On Wednesday, April 23, 2014, Bruno Girin wrote: > The adjective may be the difficult part. Unreliable Unicorn doesn't sound > too good. > > > On 23 April 2014 16:22, Philip Stubbs >