You are not logged in.

#1 2008-08-11 19:44:24

drf
Member
From: Milano, Italy
Registered: 2008-01-13
Posts: 113

About the Shaman issue

Hi everyone,
I'm just back from some holidays and I see there are a lot of problems.

To put it short: recompiling Shaman from source won't help. Libalpm changed some internals, so some shaman internals needs to be rewritten too. This means that until this is fixed (and this will happen in a dozen of days, since I'm still on holidays as lot of you are smile ), you'll have to use pacman from command line. I'll write a line on the forums when a new release will come.

Sorry for the inconvenience and have nice holidays everyone.

Offline

#2 2008-08-11 20:27:32

drf
Member
From: Milano, Italy
Registered: 2008-01-13
Posts: 113

Re: About the Shaman issue

EDIT: The SVN version already works here. Though not all the functionalities are there, such as the callback system (so no progress shown), but you can start using it if you really can't wait wink

Last edited by drf (2008-08-11 20:28:59)

Offline

#3 2008-08-11 20:54:14

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: About the Shaman issue

By the way, maybe the end of the README in pacman source tree can help you a bit :
http://projects.archlinux.org/?p=pacman … e7;hb=HEAD

Otherwise, you can look at the history of alpm.h, either with git (git log -p lib/libalpm/alpm.h) or with gitweb :
http://projects.archlinux.org/?p=pacman … 8a;hb=HEAD

Also don't hesitate to contribute to pacman with feedbacks, suggestions and (even better big_smile) patches.

But well, enjoy your holidays first of course!
edit : btw some of us are working these days too, but it is actually only the first summer as far as I am concerned smile

Last edited by shining (2008-08-11 20:55:37)


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#4 2008-08-12 11:08:54

drf
Member
From: Milano, Italy
Registered: 2008-01-13
Posts: 113

Re: About the Shaman issue

Well, since I care about you, I made it and made a quick release, Shaman now works again with libalpm 3. There is a known bug in displaying total file size and download rate, but all the internals should be just as solid as before.

Quick note to alpm devs: cb_dl_progress always streams file_total = 0 to me... I'm sorry I'm out of time and I can't look further into it. Good changes to the API anyway, thanks.

Offline

#5 2008-08-12 11:15:04

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,403
Website

Re: About the Shaman issue

Great, I am getting on to packaging it for [community] now.  I am failing to download it from sourceforge now but I guess it has to sync properly first.

Edit:  Got the source but the configure part fails with the same error as reported in the shaman-svn package.

Offline

#6 2008-08-12 12:24:12

FeatherMonkey
Member
Registered: 2007-02-26
Posts: 313

Re: About the Shaman issue

Allan just done it, knowing the error had seen a fix/hack before. Though can't remember where, of just editing out the bit in CMakelist.txt certainly builds here without not sure what it is missing doing it though.

find in src/shaman/CMakelist.txt I normally then just edit the PKGBUILD not to check out svn again.

#if(SHAREDMIMEINFO_FOUND)
########### install files ###############
#    INSTALL(CODE "MESSAGE(\"Installing Archlinux Package Mimetypes...\")")
#    install(FILES etc/shaman.xml DESTINATION ${XDG_MIME_INSTALL_DIR})
#    update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
#endif(SHAREDMIMEINFO_FOUND)

Unsure but think it is related to KDE4.1

Thankyou drf

Last edited by FeatherMonkey (2008-08-12 12:25:27)

Offline

#7 2008-08-12 12:26:51

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,403
Website

Re: About the Shaman issue

Thanks, I came to the same conclusion.  Just doing some testing now before I upload.

Offline

#8 2008-08-12 12:26:58

drf
Member
From: Milano, Italy
Registered: 2008-01-13
Posts: 113

Re: About the Shaman issue

I think so too, I already used that fix in the past, I'm releasing a new tarball, thanks for pointing this out

Offline

#9 2008-08-12 12:44:20

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: About the Shaman issue

drf wrote:

Well, since I care about you, I made it and made a quick release, Shaman now works again with libalpm 3. There is a known bug in displaying total file size and download rate, but all the internals should be just as solid as before.

Quick note to alpm devs: cb_dl_progress always streams file_total = 0 to me... I'm sorry I'm out of time and I can't look further into it. Good changes to the API anyway, thanks.

Did you pay attention to this API change :
http://projects.archlinux.org/?p=pacman … ae222d00d7

And you might also be interested by this, but its an optional feature :
http://projects.archlinux.org/?p=pacman … cfc323d262


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#10 2008-08-12 12:45:27

drf
Member
From: Milano, Italy
Registered: 2008-01-13
Posts: 113

Re: About the Shaman issue

I've just uploaded a new tarball, including some last minute goodies... please use the last one, servers will sync in minutes

Offline

#11 2008-08-12 12:57:05

drf
Member
From: Milano, Italy
Registered: 2008-01-13
Posts: 113

Re: About the Shaman issue

shining wrote:
drf wrote:

Well, since I care about you, I made it and made a quick release, Shaman now works again with libalpm 3. There is a known bug in displaying total file size and download rate, but all the internals should be just as solid as before.

Quick note to alpm devs: cb_dl_progress always streams file_total = 0 to me... I'm sorry I'm out of time and I can't look further into it. Good changes to the API anyway, thanks.

Did you pay attention to this API change :
http://projects.archlinux.org/?p=pacman … ae222d00d7

And you might also be interested by this, but its an optional feature :
http://projects.archlinux.org/?p=pacman … cfc323d262

I just took a quick look, since I had really short time big_smile I'll give a closer look to everything when I'll be back, thanks for the pointers.

Offline

#12 2008-08-12 14:40:45

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: About the Shaman issue

drf .I doubt you are on holiday...:))


Acer Aspire V5-573P Antergos KDE

Offline

Board footer

Powered by FluxBB