Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57433 - ximian-artwork and redhat-artwork put cursors into /usr/share/cursors/xfree and xorg does not see them
Summary: ximian-artwork and redhat-artwork put cursors into /usr/share/cursors/xfree ...
Status: RESOLVED DUPLICATE of bug 53348
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-17 17:19 UTC by hodak
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to ximian-artwork-0.2.26.0.6.1-r1.ebuild (patch-xim,920 bytes, patch)
2004-07-24 12:22 UTC, hodak
Details | Diff
Patch to redhat-artwork-0.73.ebuild (patch-rh,1.09 KB, patch)
2004-07-24 12:25 UTC, hodak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hodak 2004-07-17 17:19:42 UTC
I installed xorg-x11 and I cannot use cursor themes from ximian-artwork and redhat-artwork packages. The reason is that they are /usr/share/cursors/xfree whereas xorg looks into /usr/share/cursors/xorg-x11. Copying theme directories works, but this should be handled automatically, i.e. both packages should look at virtual-x11 setting and then put cursor themes at appropriate locations.

I tried reemerging both packages after xorg was installed, but cursor themes are still in xfree directory. 

This is for current stable versions: redhat-artwork-0.73 and ximian-artwork-0.2.26.0.6.1-r1.

Reproducible: Always
Steps to Reproduce:
1.Have xorg-x11 installed
2.emerge ximian-artwork and redhat-artwork packages
3.

Actual Results:  
Setting cursor theme to Industrial or Bluecurve in ~/.Xdefaults is ignored since
xorg cannot find cursor themes. One has to copy theme directories manually.

Expected Results:  
Cursor themes from those package should be avaialable without the need of manual
copying.

Xorg-x11 is stable now, so other packages should work without problems with it.

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.26-g
entoo-r6)
=================================================================
System uname: 2.4.26-gentoo-r6 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dv
ipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config
/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo ft
p://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.ussg.iu.edu/pub/lin
ux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib apm avi berkdb cdr crypt cups directfb divx4linux encode esd 
fbcon fftw foomaticdb gd gdbm gif gnome gpm gstreamer gtk gtk2 guile imlib java 
javascript jpeg ldap libg++ libwww live mad mikmod mmx motif mozilla mpeg msn nc
urses nls oggvorbis opengl oss pam pdflib perl plotutils png python quicktime re
adline sdl slang spell sse ssl tcltk tcpd tetex theora tiff truetype usb v4l v4l
2 x86 xml2 xmms xv xvid zlib"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-07-23 20:41:36 UTC
where should they be now? i don't have xorg-x11 yet .. 
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-07-24 00:05:28 UTC

*** This bug has been marked as a duplicate of 54673 ***
Comment 3 hodak 2004-07-24 10:53:03 UTC
I do not think that this bug has anything to do with 54673. First of all, it is against current stable versions (redhat-artwork-0.73 and ximian-artwork-0.2.26.0.6.1-r1), 54673 deals with redhat-artwork 0.96, which unstable.

Also, the problem here is completely different, both package compile OK, they just put cursor themes into directories where only xfree can see them (i.e xorg-x11 cannot see them). What is needed is to change the ebuilds so that it detects whether xfree of xorg is installed, then if xfree is found put cursor themes into
/usr/share/cursors/xfree and if xorg is detected then it should install cursor themes into /usr/share/cursors/xorg-x11. Currently, no such check is performed and cursor themes are installed into /usr/share/cursors/xfree and thus xorg-x11 cannot use them.

I looked on unstable versions of ebuilds and it seems that ximian-artwork-0.2.29.0.6.3.ebuild does exactly what I want (all other ebuilds have hardcoded /usr/share/cursors/xfree path in them).

Since xorg-x11 is now stable, one would expect that it works fine with other stable packages. Therefore I think that this bug should be reopened.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-07-24 11:30:12 UTC
sorry wrong bug .. im trying to hit two birds with one stone here .. the one i'm marking as dup now has a patch .. thats one better than this one.

*** This bug has been marked as a duplicate of 53348 ***
Comment 5 hodak 2004-07-24 12:22:19 UTC
Created attachment 36086 [details, diff]
Patch to ximian-artwork-0.2.26.0.6.1-r1.ebuild

This is patch for ximian-artwork-0.2.26.0.6.1-r1.ebuild. Code that  detects
x-server is taken from ximian-artwork-0.2.29.0.6.3.ebuild.
Comment 6 hodak 2004-07-24 12:25:01 UTC
Created attachment 36087 [details, diff]
Patch to redhat-artwork-0.73.ebuild

This is patch for redhat-artwork-0.73.ebuild.  Code that  detects
x-server is taken from ximian-artwork-0.2.29.0.6.3.ebuild.
Comment 7 hodak 2004-07-24 12:30:59 UTC
I have created patches to stable euilds of ximian and redhat artwork packages. Both work on my computer and put cursor themes into /usr/share/cursors/xorg-x11 (since I am using xorg-x11). The code that detects x-server type and sets up X11_IMPLEM was taken from ximian-artwork-0.2.29.0.6.3.ebuild. 

Note that all other ebuilds of these two packages should probably be changed in the same fashion. 
Comment 8 hodak 2004-07-24 12:33:23 UTC
BTW, can you change status of this bug to REOPENED (or anything other than RESOLVED DUPLICATE)? 
Comment 9 Alastair Tse (RETIRED) gentoo-dev 2004-07-24 13:02:16 UTC
its the same bug as i marked dup of this one .. so i'm not reopening