You are not logged in.

#301 2010-04-30 22:43:11

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Clyde - A better libalpm/makepkg wrapper

Seems to install all right for me. Running a 64bit Arch, didn't try to run anything on the virtualbox though

Offline

#302 2010-05-03 07:38:47

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Clyde - A better libalpm/makepkg wrapper

I do not know if this issue has been already notified, but:

I was going to compile a pkg from AUR, i created a folder "package", entered in it, and issued clyde -G package for copying the PKGBUILD and stuff in the package directory i created:

- clyde dowload the package.tar.gz containing PKGBUILD and stuff in the directory i created, then uncompress it in the same directory, creating a package/package tree that in my opinion is a bit weird: wouldn't be better to simply uncompress the content of the file in the current directory (like yaourt does)? I noticed that the same behaviour is used by clyde in his /tmp/clyde directory
- also, the permissions of the directory created are wrong in my opinion

in the example i was working on package dri2proto-git

berseker@acerone ~/packages $ ls dri2proto-git/ -la
totale 16
drwxr-xr-x  3 berseker users 4096  3 mag 09.31 .
drwxr-xr-x 10 berseker users 4096  3 mag 09.31 ..
drwxr-xr-x  2 http     http  4096  1 gen  1970 dri2proto-git
-rw-rw-rw-  1 root     root   786  3 mag 09.31 dri2proto-git.tar.gz

berseker@acerone ~/packages $ ls dri2proto-git/dri2proto-git -la
totale 12
drwxr-xr-x 2 http     http  4096  1 gen  1970 .
drwxr-xr-x 3 berseker users 4096  3 mag 09.31 ..
-rw-r--r-- 1 http     http  1286  1 gen  1970 PKGBUILD

Last edited by Berseker (2010-05-03 07:39:18)

Offline

#303 2010-05-03 08:34:34

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

You have a very outdated clyde. I know this because the behavior changed there a long time ago. For one I do not even use /tmp/clyde but /tmp/clyde-$USER

For two, you should not run clyde, or anything really, with more privs than it needs for the task. You are running clyde -G as root/sudo when you really should be using it as user.

[kiwi@lappy:/tmp]$ clyde -G clyde-git                                                   (05-03 03:30)
==> Downloading clyde-git.tar.gz
==> Extracted clyde-git.tar.gz to current directory
[kiwi@lappy:/tmp]$ cd clyde-git                                                         (05-03 03:30)
[kiwi@lappy:/tmp/clyde-git]$ ls -ahl                                                    (05-03 03:30)
total 4.0K
drwxr-xr-x  2 kiwi users   60 Dec 31  1969 ./
drwxrwxrwt 12 root root   380 May  3 03:30 ../
-rw-r--r--  1 kiwi users 1.1K Jan  1  1970 PKGBUILD
[kiwi@lappy:/tmp/clyde-git]$                                                            (05-03 03:30)

Offline

#304 2010-05-03 08:46:27

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Clyde - A better libalpm/makepkg wrapper

you're right. I forgot that ages ago i made an alias for use clyde with sudo.
Anyway, the clyde i'm using is the lastes git version, i update it almost every 2 o 3 days.

When i was talking about the /tmp/clyde issue, i simply forgot to add the -$user thing. The package/package folder thing is still present in it.

In your example, you didn't create the folder before launching clyde.I think I've to simply change my habits for that one (with yaourt the file were extracted in the current directory, so I had to create manually the folder before using yaourt)

Offline

#305 2010-05-03 08:51:56

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,358

Re: Clyde - A better libalpm/makepkg wrapper

Berseker wrote:

Anyway, the clyde i'm using is the lastes git version, i update it almost every 2 o 3 days.

I think clyde hasn't been updated in a month, at least the git clone doesn't give any changes smile. No need to be so diligent in 'updating'.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#306 2010-05-03 09:02:20

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

I have been busy with school and have not had as much time to devote to Clyde as I did a few months ago. I did a bunch of bug fixes about 2 weeks ago, though. I have two finals this week and two cars to fix this summer, as well as starting in June some summer classes, but I should be back to more regular updates despite that.

Offline

#307 2010-05-04 05:58:03

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,358

Re: Clyde - A better libalpm/makepkg wrapper

Kiwi wrote:

I have been busy with school and have not had as much time to devote to Clyde as I did a few months ago. I did a bunch of bug fixes about 2 weeks ago, though. I have two finals this week and two cars to fix this summer, as well as starting in June some summer classes, but I should be back to more regular updates despite that.

What already works is awesome smile. When I'm in a rush I use this, it just works faster.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#308 2010-05-04 12:08:11

cookiecaper
Member
Registered: 2007-09-22
Posts: 198

Re: Clyde - A better libalpm/makepkg wrapper

Are there any plans for sudo autodetection like yaourt has, wherein yaourt automatically re-runs itself as sudo if the operation requires root permissions? I like that feature.

Offline

#309 2010-05-04 13:22:28

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Clyde - A better libalpm/makepkg wrapper

cookiecaper wrote:

Are there any plans for sudo autodetection like yaourt has, wherein yaourt automatically re-runs itself as sudo if the operation requires root permissions? I like that feature.

use an alias, or a little shell function which was mentioned in this topic before.

Offline

#310 2010-05-05 15:00:49

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Clyde - A better libalpm/makepkg wrapper

ijanos wrote:
cookiecaper wrote:

Are there any plans for sudo autodetection like yaourt has, wherein yaourt automatically re-runs itself as sudo if the operation requires root permissions? I like that feature.

use an alias, or a little shell function which was mentioned in this topic before.

the problems with that are that
- you can't call the function "clyde", because it is already the name of the command itself
- with that, you break bash-completion (I set up the function as "clyd" and bash completion with that doesn't work)
sad

Offline

#311 2010-05-05 17:04:21

mianka
Member
From: BE LEUVEN
Registered: 2006-05-30
Posts: 230

Re: Clyde - A better libalpm/makepkg wrapper

the clyde homepage  http://clyde.archuser.com/ has become inaccessable.

Before you did not need a PW

Last edited by mianka (2010-05-05 17:05:12)

Offline

#312 2010-05-05 17:17:12

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

Ghost1227 was messing with archuser.com and apparently broke all the sites. mad

Offline

#313 2010-05-05 19:27:28

bcat
Member
From: New York, NY, USA
Registered: 2009-01-02
Posts: 30
Website

Re: Clyde - A better libalpm/makepkg wrapper

Berseker wrote:
ijanos wrote:
cookiecaper wrote:

Are there any plans for sudo autodetection like yaourt has, wherein yaourt automatically re-runs itself as sudo if the operation requires root permissions? I like that feature.

use an alias, or a little shell function which was mentioned in this topic before.

the problems with that are that
- you can't call the function "clyde", because it is already the name of the command itself
- with that, you break bash-completion (I set up the function as "clyd" and bash completion with that doesn't work)
sad

You can totally do this. In the shell function, either invoke clyde using its full path, i.e., "/usr/bin/clyde [...]", or using the "command" shell builtin, i.e., "command clyde [...]". Either one should work, though I personally prefer the "command" version because it avoids hardcoding the path to clyde. Your choice, though.

Last edited by bcat (2010-05-05 19:28:26)


Running Arch on a Dell Studio 1735. xmonad FTW! Dotfiles here.
Want free cloud-based file sharing? Sign up for Dropbox and we both get some bonus storage!

Offline

#314 2010-05-05 19:46:06

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Clyde - A better libalpm/makepkg wrapper

i have this in my .bashrc

clyd() {
    case $1 in
        (-Ss | -Si | -Q* | -T)
            /usr/bin/clyde "$@" ;;
        (-S* | -R* | -U | *)
            /usr/bin/sudo /usr/bin/clyde "$@" || /bin/su -c /usr/bin/clyde "$@" || return $? ;;
    esac
}

I can't call the function "clyde" because if I do so, bash complains about it. Or am I missing something?

EDIT
I really do not know why, but I tried again to rename the function "clyde" and now i can source .bashrc without errors, Wtf? big_smile

Offline

#315 2010-05-06 10:11:29

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: Clyde - A better libalpm/makepkg wrapper

hi,
can i translate clyde in Italian ?


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#316 2010-05-07 03:17:50

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

If pacman has already been translated into Italian there is not really a reason to as clyde can use pacman's .po files.

Offline

#317 2010-05-07 06:04:03

bruce
Member
Registered: 2008-11-27
Posts: 57

Re: Clyde - A better libalpm/makepkg wrapper

Kiwi wrote:

Ghost1227 was messing with archuser.com and apparently broke all the sites. mad

Something that wasn't broken by Allan? Blasphemy! tongue

Offline

#318 2010-05-07 08:13:28

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Clyde - A better libalpm/makepkg wrapper

Kiwi wrote:

If pacman has already been translated into Italian there is not really a reason to as clyde can use pacman's .po files.

it seems not..

berseker@acerone ~ $ clyde -Syu
:: Synchronizing package databases...
testing is up to date
core is up to date
extra is up to date
community-testing is up to date
community is up to date
:: Starting full system upgrade...
warning: gnome-keyring-sharp-svn: la versione installata (133722-1) è più recente di quella presente in community (87622-3)
local database is up to date

berseker@acerone ~ $ sudo pacman -Syu
:: Sincronizzazione dei database in corso...
testing è aggiornato
core è aggiornato
extra è aggiornato
community-testing è aggiornato
community è aggiornato
:: Aggiornamento del sistema in corso...
attenzione: gnome-keyring-sharp-svn: la versione installata (133722-1) è più recente di quella presente in community (87622-3)
Il database locale è aggiornato

Last edited by Berseker (2010-05-07 08:14:14)

Offline

#319 2010-05-07 09:20:01

Kiwi
Member
Registered: 2008-02-24
Posts: 153

Re: Clyde - A better libalpm/makepkg wrapper

That does not show that it does not work, in fact, it shows that it does. It just shows I am missing some gettext calls in the callbacks and warnings. >.>

Offline

#320 2010-05-07 09:33:49

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Clyde - A better libalpm/makepkg wrapper

Kiwi wrote:

That does not show that it does not work, in fact, it shows that it does. It just shows I am missing some gettext calls in the callbacks and warnings. >.>

of course, I didn't mean to offend, or that it isn't working at all wink but in the test I made, the only thing that "shows that it does work" is the warning message. Every other word that could be translated, It's in English. Anyway, I understood that you miss only some gettext calls so np for me wink

please consider that I am reporting all these little "issues" only because I appreciate your job and I hope that in the future clyde will gain the same popularity that yaourt have built in the last years!

Last edited by Berseker (2010-05-07 09:39:14)

Offline

#321 2010-05-10 04:04:11

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: Clyde - A better libalpm/makepkg wrapper

I have nothing to contribute outside my gratitude and awe. Clyde (and cpanp) give me a complete, centralized package management solution. It's so fussless... you've  done a great job and help make Arch the best.

Offline

#322 2010-05-12 12:36:22

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: Clyde - A better libalpm/makepkg wrapper

mcmillan wrote:

Seems to install all right for me. Running a 64bit Arch, didn't try to run anything on the virtualbox though

about that

clyde -S virtualbox_bin

I am using a i686 (x86) architecture, so I am not sure why makepkg works to build this package in i686 and clyde does not work for this package
(although clyde works as expected with other packages :s)




cookiecaper wrote:

Are there any plans for sudo autodetection like yaourt has, wherein yaourt automatically re-runs itself as sudo if the operation requires root permissions? I like that feature.

yaourt has no "real" autocompletion, actually it has the same autocompletion as pacman (for example, AUR stuff has no autocompletion when Syncing)

Basically I guess that clyde could install also its own "/etc/bash_completion.d/clyde" (somewhat a copy of /etc/bash_completion.d/pacman)





Berseker wrote:

i have this in my .bashrc

clyd() {
    case $1 in
        (-Ss | -Si | -Q* | -T)
            /usr/bin/clyde "$@" ;;
        (-S* | -R* | -U | *)
            /usr/bin/sudo /usr/bin/clyde "$@" || /bin/su -c /usr/bin/clyde "$@" || return $? ;;
    esac
}

I can't call the function "clyde" because if I do so, bash complains about it. Or am I missing something?

EDIT
I really do not know why, but I tried again to rename the function "clyde" and now i can source .bashrc without errors, Wtf? big_smile

basically you could have an alias for clyde (and when u have an alias and a function with the same name i guess that the bash will eval only the alias)


btw: for the -G and ownage/permissions

clyde() {
    case $1 in
        (-Ss | -Si | -Q* | -T | -G)
            /usr/bin/clyde "$@" ;;
        (-S* | -R* | -U | *)
            # don't use the pipes neither return (when I wrote that part i was not thinking in warnings and stuff)
            /usr/bin/sudo /usr/bin/clyde "$@" ;;
           # or if you do not use sudo, use the following
           #/bin/su -c /usr/bin/clyde "$@" ;;
    esac
}

Last edited by quarkup (2010-05-12 12:42:52)


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#323 2010-05-12 19:30:47

Square
Member
Registered: 2008-06-11
Posts: 435

Re: Clyde - A better libalpm/makepkg wrapper

That function... why didn't I think of that? Why isn't that in the wiki? O.o

Good stuff. A+

Last edited by Square (2010-05-12 19:31:36)


 

Offline

#324 2010-05-21 05:46:47

Japanlinux
Member
Registered: 2010-05-18
Posts: 173

Re: Clyde - A better libalpm/makepkg wrapper

Forgive me for the stupid question, but how do I download and use clyde? i'm new to Arch. I got the pkgbuild from the clyde page and used the wiki's guide for makepkg. However, it gave me a program called Cower (???) instead of clyde... is there a better way to install clyde?

EDIT: lol.. on the AUR helpers page, I must have clicked the wrong program (cower instead of clyde) by accident. I went to the clyde page again and it's pkgbuild was definitely called clyde-git. tongue

Regardless, is there an easier way to install Clyde without having to use makepkg?

Last edited by Japanlinux (2010-05-21 05:52:43)

Offline

#325 2010-05-21 06:19:59

lymphatik
Member
From: Somewhere else
Registered: 2009-03-07
Posts: 119

Re: Clyde - A better libalpm/makepkg wrapper

Japanlinux wrote:

Forgive me for the stupid question, but how do I download and use clyde? i'm new to Arch. I got the pkgbuild from the clyde page and used the wiki's guide for makepkg. However, it gave me a program called Cower (???) instead of clyde... is there a better way to install clyde?

EDIT: lol.. on the AUR helpers page, I must have clicked the wrong program (cower instead of clyde) by accident. I went to the clyde page again and it's pkgbuild was definitely called clyde-git. tongue

Regardless, is there an easier way to install Clyde without having to use makepkg?

Well once you have installed clyde with makepkg just use clyde to install everything from aur. Have a look there http://clyde.archuser.com/usage/ for help or man clyde.

For example if you want to update clyde just do

clyde clyde

or if you want to update all the app installed from aur

clyde -Syu --aur

Remember "man" is often faster than "google" if you know what to use ^^

Offline

Board footer

Powered by FluxBB