You are not logged in.

#451 2010-08-18 09:22:16

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

Re: Clyde - A better libalpm/makepkg wrapper

how can i write the italian translation for clyde ?


+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

#452 2010-08-19 18:00:27

juster
Forum Fellow
Registered: 2008-10-07
Posts: 195

Re: Clyde - A better libalpm/makepkg wrapper

cactus wrote:

I whipped up (might be buggy! I didn't spend a whole lot of time on it) a lua module that provides a mechanism to set the process name (/proc/$PID/status).
Linux 2.6.16+ only, I believe. That is when the kernel added the prctl PR_SET_NAME. Might be 2.6.11? Anyway...

Thanks cactus, I adapted your code to set the process name to "clyde" on startup. It is in the "test" branch on clyde's github repo. This and other work will be in the next release. By the way cactus, the manpage says 2.6.9.

nTia89 I'll have to get back to on that. clyde's multilang support needs some work.

Offline

#453 2010-08-19 18:08:36

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Clyde - A better libalpm/makepkg wrapper

juster wrote:
cactus wrote:

I whipped up (might be buggy! I didn't spend a whole lot of time on it) a lua module that provides a mechanism to set the process name (/proc/$PID/status).
Linux 2.6.16+ only, I believe. That is when the kernel added the prctl PR_SET_NAME. Might be 2.6.11? Anyway...

Thanks cactus, I adapted your code to set the process name to "clyde" on startup. It is in the "test" branch on clyde's github repo. This and other work will be in the next release. By the way cactus, the manpage says 2.6.9.

Why? What is the purpose of process name rewriting, other then confusing your users (and potentially making them angry)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#454 2010-08-19 18:12:02

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Clyde - A better libalpm/makepkg wrapper

Dieter@be wrote:

What is the purpose of process name rewriting, other then confusing your users (and potentially making them angry)

If it makes my terminal window title bar say "clyde" instead of "lua" then I'll be happy. big_smile

Offline

#455 2010-08-19 18:18:42

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

Re: Clyde - A better libalpm/makepkg wrapper

Dieter@be wrote:

Why? What is the purpose of process name rewriting, other then confusing your users (and potentially making them angry)

As it is now the process is listed as lua, which is probably less informative than clyde. If I'm understanding right the patch is meant to switch to the more useful one.

Offline

#456 2010-08-20 19:00:22

franz1789
Member
Registered: 2008-04-22
Posts: 56

Re: Clyde - A better libalpm/makepkg wrapper

==> Compilazione terminata: libfm-git 20100820-1 (ven 20 ago 2010, 21.00.28, CEST)
loading package data...
resolving dependencies...
looking for inter-conflicts...
:: libfm-git conflicts with libfm. Remove libfm? [Y/n] y
checking package integrity...
(1/1) removing libfm                               [######################] 100%
(1/1) installing libfm-git                         [######################] 100%
Optional dependencies for libfm-git
    gvfs: To sccess remote file systems.

Bug, after these lines it should continue installing other pkgs but it stops and freeze...

Last edited by franz1789 (2010-08-20 19:01:05)

Offline

#457 2010-08-22 22:09:20

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Clyde - A better libalpm/makepkg wrapper

juster wrote:

By the way cactus, the manpage says 2.6.9.

Aha!
Thanks for clarifying that.
smile


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#458 2010-08-24 17:19:20

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: Clyde - A better libalpm/makepkg wrapper

I found a bug. When installing a package from AUR, Clyde does not re-read the PKGBUILD after editing. To test this, install any AUR package, add in a dependency when Clyde asks if you want to edit the PKGBUILD, and it will not be satisfied.

Offline

#459 2010-08-24 17:35:34

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

Re: Clyde - A better libalpm/makepkg wrapper

linkmaster03 wrote:

I found a bug. When installing a package from AUR, Clyde does not re-read the PKGBUILD after editing. To test this, install any AUR package, add in a dependency when Clyde asks if you want to edit the PKGBUILD, and it will not be satisfied.

Good for you! Next time please check the issue tracker.

http://github.com/Kiwi/clyde/issues#issue/10

Offline

#460 2010-08-25 00:14:40

linkmaster03
Member
Registered: 2008-12-27
Posts: 269

Re: Clyde - A better libalpm/makepkg wrapper

Sorry, I didn't know there was a bug tracker. I thought it was a little mix-up in the operation order, but apparently it is more complex. Thanks for the link though! smile

Offline

#461 2010-08-27 09:09:18

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: Clyde - A better libalpm/makepkg wrapper

+1 for the dependency showing, it would be really useful and Arch philosophy states nothing should be hidden from the user (or something like that).

Im very happy with clyde it does a VERY good job managin packages, for me its my everyday package manager, only thing I have found so far is this dependency thing.

keep up the good work big_smile


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#462 2010-08-27 12:17:50

shemz
Member
Registered: 2010-04-23
Posts: 135

Re: Clyde - A better libalpm/makepkg wrapper

I do not know if this just me, but it doesn't interpret C-c properly. For example, I shoot a search with "clyde clyde", it will give me options to choose from; but when I hit C-c to kill the process, I have to hit return once and then it would kill.

Offline

#463 2010-09-05 18:18:00

Franek
Member
Registered: 2010-05-16
Posts: 100

Re: Clyde - A better libalpm/makepkg wrapper

I hereby confirm that. clyde does not handle C-c properly.

Apart from that: Awesome!

Offline

#464 2010-09-06 20:03:58

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Clyde - A better libalpm/makepkg wrapper

The PKGBUILD for clyde needs to be updated to include ronn in makedepends. Also why the new dependency?

Offline

#465 2010-09-07 00:41:20

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Clyde - A better libalpm/makepkg wrapper

anonymous_user wrote:

Also why the new dependency?

Looking at the repo, it looks like the man page has always been kept in ronn, roff, and html formats. Juster added a make target for building the man page and made it a requirement of the whole build.

imo, kind of silly to version the built roff/html man pages and then ask the user to (re)generate them. Pick one or the other, not both!

Offline

#466 2010-09-08 01:41:55

juster
Forum Fellow
Registered: 2008-10-07
Posts: 195

Re: Clyde - A better libalpm/makepkg wrapper

Clyde has always used ronn to generate the manpage from ronn format. You should not need to generate the manpage because it is already generated and stored in the git repository. I added the Makefile entry for man/clyde.8, the manpage, so that I can change the original ronn formated file and just run make to run ronn for me. The Makefile entry is for developers not users.

A developer reported a problem on the AUR where the make process failed because he needed ronn. He was unable to reproduce the bug and found it isolated to one machine. Hope that clears things up. ronn is not needed in the PKGBUILD makedepends. Unless some other user experiences the same bug this is just a little confusion.

Feel free to email me or report on clyde's issue tracker directly about problems in order to avoid misinformation like this.

Offline

#467 2010-09-08 14:03:27

aeosynth
Member
From: California
Registered: 2010-02-06
Posts: 115
Website

Re: Clyde - A better libalpm/makepkg wrapper

I'm having the same problem and did make an issue.

juster wrote:

The Makefile entry is for developers not users.

Maybe you should tell the pkgbuild to ignore it, then.

Offline

#468 2010-09-09 00:49:18

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Clyde - A better libalpm/makepkg wrapper

I just tried installing clyde-git and it worked fine this time. I'm happy.

Offline

#469 2010-09-10 01:14:08

juster
Forum Fellow
Registered: 2008-10-07
Posts: 195

Re: Clyde - A better libalpm/makepkg wrapper

Ah I did not know you were reporting a bug, anonymous_user. I thought you were just repeating comments from the AUR. I have changed the Makefile to allow the manpage generation to fail. It will display an error but will work properly.

The problem was that git sets timestamps for files it downloads (in a clone) to the current time. If the clock changes by a second after downloading the .8 file but before the .ronn file, make will think that it needs to run ronn because the output file is older than the input file.

In response to aeosynth: I can't change the PKGBUILD directly and the problem was more or less in the Makefile... which the PKGBUILD runs.

Edit: Thanks to Otto for reporting the problem originally and diagnosing it. Double edit: Otto has a Ctrl-C fix that is coming soon.

Last edited by juster (2010-09-10 01:22:43)

Offline

#470 2010-09-11 12:21:40

murugan
Member
Registered: 2010-08-02
Posts: 27

Re: Clyde - A better libalpm/makepkg wrapper

It is really fast. I like it. Any plan to add auto detecting best mirrors (using reflection) like bauerbill?

Offline

#471 2010-09-14 21:03:20

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Clyde - A better libalpm/makepkg wrapper

I may have found a bug!
I wanted to run an update, as usual with the following command line

clyde -Syu --aur

Clyde wants to install a whole lot of packages

Targets (29): gnome-terminal-2.30.2-1 [1,13 MB]  vte-0.24.3-1 [0,32 MB]  libgnome-2.30.0-1 [0,91 MB]  gnome-vfs-2.24.3-2 [0,72 MB]  libbonobo-2.24.3-1 [0,71 MB]  gvfs-1.6.3-1 [0,71 MB]  fam-2.7.0-14 [0,09 MB]  hal-0.5.14-4 [0,32 MB]  smbclient-3.5.4-2 [7,08 MB]  gnome-mime-data-2.18.0-4 [0,69 MB]  libsoup-gnome-2.30.2-2 [0,01 MB]  gnome-disk-utility-2.30.1-1 [1,31 MB]  hal-info-0.20091130-1 [0,04 MB]  eject-2.1.5-4 [0,03 MB]  dmidecode-2.10-1 [0,06 MB]  pm-utils-1.4.0-1 [0,04 MB]  consolekit-0.4.1-4 [0,07 MB]  tdb-1.2.1-1 [0,05 MB]  talloc-2.0.1-1 [0,04 MB]  libproxy-0.4.6-1 [0,08 MB]  libgnome-keyring-2.30.1-2 [0,07 MB]  udisks-1.0.1-5 [0,14 MB]  vbetool-1.1-1 [0,02 MB]  pm-quirks-0.20100619-1 [0,01 MB]  sg3_utils-1.29-1 [0,44 MB]  parted-2.3-1 [0,47 MB]  device-mapper-2.02.73-1 [0,11 MB]  libatasmart-0.17-1 [0,03 MB]  lvm2-2.02.73-1 [0,47 MB]

First I was thinking, what dev messed this up?! NONE of these packages is installed on my system! So I checked it with pacman -Syyu (-yy to be completely sure), but pacman doesn't want to update any package, just the way it should be.
So, why does clyde want to install all those packages or the one package which depends on all the others?

Offline

#472 2010-09-14 21:25:33

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Clyde - A better libalpm/makepkg wrapper

Does it happen if you just run "clyde -Syu"?

Is there an AUR package it wants to update?

Offline

#473 2010-09-14 21:39:46

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Clyde - A better libalpm/makepkg wrapper

FUUUUUUUCK you are right! The AUR package which wanted to be updated wants gnome-terminal. Thanks for helping me figuring it out! I really didn't expect gtk-youtube-viewer to suddenly depend on gnome-terminal!!!

Last edited by Army (2010-09-14 21:46:56)

Offline

#474 2010-09-21 12:29:40

s1gma
Member
Registered: 2009-09-29
Posts: 45

Re: Clyde - A better libalpm/makepkg wrapper

Don't you think clyde should have a default /etc/clyde.conf, so that it would be tracked by the package manager (pacman, or clyde itself) ? Right now, clyde.conf is created _after_ the installation, so it is no owned by anyone.

The behaviour would be :
- create an empty clyde.conf at installation
- clyde launch : is clyde.conf empty ? Yes -> copy pacman.conf and customize, No -> read it.

Yes, I like yaving _everything_ under package manager control ;-)

Offline

#475 2010-09-21 17:05:03

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: Clyde - A better libalpm/makepkg wrapper

@s1gma, it would be better if instead of copying, it sourced it. something like:

Include = /etc/pacman.conf

Which is what I currently have since I didn't see a reason to keep them separate.

Anyway, I'm trying to install something only via aur. It should be like this, right?

sudo clyde -Sa somepackage

However, when I do that, it's still looking through the repos. Is this a bug, or did I do something wrong?

Offline

Board footer

Powered by FluxBB