Package Details: clicompanion-bzr 1.1+r112-1

Package Base: clicompanion-bzr
Description: Run terminal commands from a GUI storing commands for later use CLI Companion is an application that is used as a complement to the Terminal.
Upstream URL: https://launchpad.net/clicompanion
Category: system
Licenses: gpl v3
Submitter: dcelasun
Maintainer: jfperini
Last Packager: jfperini
Votes: 8
First Submitted: 2010-09-01 08:43
Last Updated: 2014-11-20 02:03

Dependencies (4)

Required by (0)

Sources

Latest Comments

Comment by dcelasun

2011-05-27 15:50

@PhotonX: That's not intended, my mistake.
@fzerorubigd: Your idea about the symlink should work, but I wish there was a cleaner, KISS way of doing it.

Anyway, I'm no longer interested in this package, so if anyone wants to adopt, just say so :)

Comment by PhotonX

2011-05-15 15:25

In the current state the executable file is in /usr/share/applications/clicompanion/, is it intended? Shouldn't only .desktop files be in /usr/share/applications? Also this directory isn't in $PATH, so you can't simply execute the program. The installed .desktop file also fails to start the application. The only way to start it is to run it with the whole path...

Comment by fzerorubigd

2010-12-16 21:11

@dcelasun
You can remove the link in post_remove function, or you can create an empty file in build, and remove it in post install and create a link instead of that file. so the file exist in package but actually its a place holder. (this are suggestions :) there is always a better way.)

And thanks for your work.

Comment by dcelasun

2010-12-16 20:53

@fzerorubigd: Well, that's weird since the symlink did work for me.

Still, as I can I see from your output, you are right and I'm wrong. Though I believe I can find a way to fix this inside the package() function and not the .install file. If I can't, I'll do as you suggested and deal with it inside post_install().

Sorry if my previous post seemed a bit harsh, that wasn't my intention at all. Thanks for your help.

Comment by fzerorubigd

2010-12-16 20:45

I install this and after install I check it :
ls -l /usr/bin/clicompanion
lrwxrwxrwx 1 root root 89 Dec 17 00:03 /usr/bin/clicompanion -> /home/f0rud/Desktop/clicompanion-bzr/pkg/usr/share/applications/clicompanion/clicompanion

(Just install it again now)

And you can see, Its a link to place that I use the makepkg not the correct place.
Check it yourself.
And about delete upon uninstall, there is many workaround...

-- I also found a bug on program and I fill a bug report on launchpad too.
https://bugs.launchpad.net/clicompanion/+bug/691266

------
"did you even try installing the package?"
I want to help ,not to annoy you. yes I do install the package and not once, 3 time.

Comment by dcelasun

2010-12-16 09:28

Uhm, actually you are quite wrong. The soft link is package() works as intended (did you even try installing the package?). If I did it in the install file the resulting /usr/bin/clicompanion would NOT belong to the package and removing the package would NOT remove /usr/bin/clicompanion. That is completely against Arch Packaging Guidelines.

So, the package stays as it is.

Comment by fzerorubigd

2010-12-16 09:17

You should *NOT* make a soft link in build function (or in this case in package() ) .
Now the /usr/bin/clicompanion is link to place you make package not the /usr/share/applications/clicompanion/clicompanion
It should be done in post.install file not here!!!

Comment by dcelasun

2010-12-02 21:42

Also, the author of clicompanion informed me that he'd love to hear any opinions/ideas etc. regarding the program. Just post anything you'd like as a comment.

Comment by dcelasun

2010-12-02 13:07

All runtime errors are now fixed and package updated.

Comment by dcelasun

2010-10-15 16:51

Well, I think I've fixed that error, but now there is a new one. Upstream changed some files and the PKGBUILD will need some changes. I'll take a look at it soon.

Anonymous comment

2010-10-15 16:45

sorry, comment got entered twice. But the error persists.

Comment by dcelasun

2010-10-15 16:42

Yeah, I know that, I'm trying to figure out why that is happening.

Anonymous comment

2010-10-15 16:41

I get the following error:

==> Starting package()...
cp: cannot stat `clicompanion/menus_buttons.py': No such file or directory
Aborting...

Comment by dcelasun

2010-10-15 16:36

@jarav: Package updated, that error should be gone now.

Anonymous comment

2010-10-15 16:32

I get the following error:

==> Starting package()...
cp: cannot stat `clicompanion/menus_buttons.py': No such file or directory
Aborting...

Comment by dcelasun

2010-10-01 21:32

@fzerorubigd: Weird, I don't get that error. I'll investigate and see if I can find something.

Comment by fzerorubigd

2010-10-01 19:31

I get this error when run this application :
$ clicompanion
Traceback (most recent call last):
File "clicompanion.py", line 54, in <module>
idioma = get_language()
File "clicompanion.py", line 47, in get_language
traducidos = os.listdir(locale_dir)
OSError: [Errno 2] No such file or directory: '/usr/share/clicompanion/locale'