Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3189 - waimea installs with wrong permissions

Attached to Project: Arch Linux
Opened by Eric Belanger (Snowman) - Sunday, 18 September 2005, 18:57 GMT
Last edited by Dale Blount (dale) - Sunday, 18 September 2005, 19:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Damir Perisa (damir.perisa)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Waimea installs with the user's permissions instead of the root's one.

$ tar -tzvf /var/cache/pacman/pkg/waimea-0.4.0-2.pkg.tar.gz
-rw-r--r-- sarah/users 348 2003-04-02 18:36:06 .PKGINFO
drwxr-xr-x sarah/users 0 2003-04-02 18:36:06 usr/
drwxr-xr-x sarah/users 0 2003-04-02 18:36:06 usr/share/
drwxr-xr-x sarah/users 0 2003-04-02 18:36:06 usr/share/waimea/
drwxr-xr-x sarah/users 0 2003-04-02 18:36:06 usr/share/waimea/actions/
-rw-r--r-- sarah/users 5955 2003-04-02 18:36:06 usr/share/waimea/actions/action.sloppy-focus
-rw-r--r-- sarah/users 6559 2003-04-02 18:36:06 usr/share/waimea/actions/action.click-to-focus
-rw-r--r-- sarah/users 5877 2003-04-02 18:36:06 usr/share/waimea/actions/action.non-opaque
-rw-r--r-- sarah/users 2528 2003-04-02 18:36:06 usr/share/waimea/actions/action.no-mouse

etc.
This task depends upon

Closed by  Damir Perisa (damir.perisa)
Sunday, 04 June 2006, 22:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.5.1-3
Comment by Damir Perisa (damir.perisa) - Sunday, 18 September 2005, 20:24 GMT
extra/waimea is outdated - i will have a look at it, but don't be surprised if it does not build against gcc4

on the other hand, there is now unstable/waimea-cvs that is the new version of it, if you are interested
Comment by Damir Perisa (damir.perisa) - Sunday, 18 September 2005, 20:26 GMT
==> Retrieving Sources...
==> Downloading waimea-0.4.0.tar.gz
--22:21:31-- http://www.waimea.org/files/stable/source/waimea-0.4.0.tar.gz
=> `waimea-0.4.0.tar.gz'
Resolving www.waimea.org... 131.252.208.82
Connecting to www.waimea.org|131.252.208.82|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
22:21:32 ERROR 404: Not Found.

does anybody know where the old waimea sources are?

alternative is to drop this pkg and replace it with the waimea-cvs from unstable
Comment by Eric Belanger (Snowman) - Monday, 19 September 2005, 01:47 GMT
It looks like waimea-cvs doesn't build with latest cairo: http://bbs.archlinux.org/viewtopic.php?t=14809

The sources are on sourceforge.
http://sourceforge.net/project/showfiles.php?group_id=40461

I'll switch to waimea-cvs.
Comment by Damir Perisa (damir.perisa) - Tuesday, 25 October 2005, 18:49 GMT
i cannot rebuild waimea-cvs against new cairo ... it keeps saying:

Unknown host cvs.waimea.org.

does anybody know where the cvs tree went?
Comment by Eric Belanger (Snowman) - Tuesday, 25 October 2005, 19:17 GMT Comment by Damir Perisa (damir.perisa) - Tuesday, 25 October 2005, 19:29 GMT
this is the old waimea ... before freedesktop.org took it over... have a look here:

http://cvs.sourceforge.net/viewcvs.py/waimea/waimea/

and you will see that the age of this files is >2 years. there was a new cvs tree at www.waimea.org (actually a freedesktop.org server) and the unstable/waimea-cvs was from there (latest was 200505?? not older than half a year old). as waimea.org disappeared (unknown host), i'm searching for the destination where it went.
Comment by Eric Belanger (Snowman) - Thursday, 27 October 2005, 02:49 GMT
Sorry about that. I saw that it was > 2 years old but didn't know that there was a more recent cvs tree.
However, I sent an email to the waimea ML regarding that. I'll post here any update.
Comment by Eric Belanger (Snowman) - Thursday, 27 October 2005, 03:51 GMT
I got a quick answer. :)
It's on the freedesktop CVS.
cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/waimea login
cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/waimea co waimea

I quickly tried compiling it but it errors out. Someone put some partial patches on the waimea ML but more work is needed. I haven't tried these patches and don't know if they have been added to the cvs.
Comment by Eric Belanger (Snowman) - Thursday, 27 October 2005, 03:53 GMT
I forgot: for the patches, check the thread of Sept./Oct. 2005.
Comment by Eric Belanger (Snowman) - Monday, 02 January 2006, 22:04 GMT
Looks like the waimea projet is dead unless a new dev is found. Here's the annoncement from the waimea ML:
================================================
Subject: [waimea] waimea future

Hey,

I'm sorry that I've completely stopped working on waimea and that I
haven't had the time to read on mails on this list for months.

glitz, cairo and Xgl development is taking up all my time right now so
I'm not going to work on waimea anytime soon.

If there's someone who likes to take over the project, please let me.

-David
================================================
Thought you'd like to know.
Comment by arjan timmerman (blaasvis) - Sunday, 26 March 2006, 10:52 GMT Comment by Damir Perisa (damir.perisa) - Sunday, 26 March 2006, 12:48 GMT
==> Downloading waimea-0.5.1.tar.gz
--14:47:32-- http://www.cs.umu.se/~c99drn/waimea-0.5.1.tar.gz
=> `waimea-0.5.1.tar.gz'
Resolving www.cs.umu.se... 130.239.40.24
Connecting to www.cs.umu.se|130.239.40.24|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
14:47:38 ERROR 404: Not Found.

==> ERROR: Failed to download waimea-0.5.1.tar.gz
==> Aborting...

any other locations known?
Comment by Eric Belanger (Snowman) - Sunday, 26 March 2006, 22:33 GMT
Here's the file. I had downloaded it at the time the link was posted on the list. I haven't tried building it.
Comment by Damir Perisa (damir.perisa) - Tuesday, 28 March 2006, 18:01 GMT
thanx for the file!

i downloaded it to my build env and tried but unfortunately it does not build properly:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DWAIMEA_PATH=\"/usr/share/waimea\" -I/usr/include/cairo -DSHAPE -DXINERAMA -DRENDER -DRANDR -DPNG -I/usr/include/libpng12 -DSVG -I/usr/include/cairo -I/usr/include/libxml2 -DXCURSOR -march=i686 -O2 -pipe -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cc; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
Render.hh: In member function 'void WaColor::setcairo_color(cairo_t*)':
Render.hh:250: error: 'cairo_set_rgb_color_REPLACED_BY_cairo_set_source_rgb' was not declared in this scope
Render.hh:251: error: 'cairo_set_alpha_DEPRECATED_BY_cairo_set_source_rgba_OR_cairo_paint_with_alpha' was not declared in this scope
Render.hh: At global scope:
Render.hh:506: error: ISO C++ forbids declaration of 'cairo_font_t' with no type
Render.hh:506: error: expected ';' before '*' token
make[2]: *** [main.o] Error 1
Comment by arjan timmerman (blaasvis) - Tuesday, 28 March 2006, 18:04 GMT
seem it needs an older/newer cairo
Comment by Eric Belanger (Snowman) - Friday, 02 June 2006, 00:37 GMT
Damir:
I'm not sure if you're subscribed to the waimea ML, so here's the latest post (I haven't tried the patch):
=======================
Subject: [waimea] Cairo patch to Waimea 0.5.1

After modifying some patches that have been posted to this list in the
past year, I think I've come up with a patch [1] that applies and, at
least moderately, works for Waimea "0.5.1" [2] and Cairo 1.x. The big
problem I see so far is that anything (including the menu) only works
when client-side rendering is enabled - any suggestions on how to fix
this (or did I just miss a previous post detailing the same problem)?
Does this patch work for anybody else?

--
Joe Sapp
--
[1]
http://dev.gentoo.org/~nixphoeni/patches/waimea-0.5.1-cairo-1-fixes.patch
[2] http://dev.gentoo.org/~nixphoeni/waimea-0.5.1.tar.gz
=======================
Comment by Damir Perisa (damir.perisa) - Sunday, 04 June 2006, 22:03 GMT
Eric: thanx a lot for your infos. no, i'm not on this mailinglist and very glad that you pointed me to this patch.

Loading...