Jump to content
Sign in to follow this  
Naim89

Xorg transparency

Recommended Posts

Hi there,

 

I'm trying to compile xcompmgr and transset so that I can have transparent windows and window shadows and other eye candy!

 

However, I keep getting the same error message:

 

checking for xcomposite xfixes xdamage xrender... Package xcomposite was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcomposite.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xcomposite' found

configure: error: Library requirements (xcomposite xfixes xdamage xrender) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

 

I tried to search for "xcomposite", with no luck. I have the latest version of Xorg installed. Should xcomposite have been installed or do I need to install it seperately?

 

Many thanks,

 

Naim

Share this post


Link to post
Share on other sites

Search for xcomposite.pc on your system. Then open a console and type: PKG_CONFIG_PATH=/path to xcompostie.pc <enter> export PKG_CONFIG_PATH <enter>.

 

That should do it.

Share this post


Link to post
Share on other sites

Unfortunately, no result for xcomposite anywhere :( how can I install it? where is it obtained?

Share this post


Link to post
Share on other sites

I don't think we have those experimental options enabled in the stock X.org package, they're too bleeding-edge. You'd have to build your own X.org to have them enabled, I think.

Share this post


Link to post
Share on other sites

I can't seem to find any other version of X.org other than the stock release - how can I build my own? Or does it require special syntax at compile time?

Share this post


Link to post
Share on other sites

You don't need to download any patches, but yes, you'd need to download the X source code and build it yourself, and I think you may have to pass it certain parameters at build time to have them enabled (haven't done it myself, so I can't say for sure). Which version of MDK do you have?

Share this post


Link to post
Share on other sites

I compiled xcompmgr 2.0.2 against Mandrake's xorg 2.6.8. You might want to consider installing thac's xorg 2.6.8 packages. xcompmgr and transset are both in Cooker contrib.

Share this post


Link to post
Share on other sites
You don't need to download any patches, but yes, you'd need to download the X source code and build it yourself, and I think you may have to pass it certain parameters at build time to have them enabled (haven't done it myself, so I can't say for sure). Which version of MDK do you have?

I'm using Mandrake 10.1.

 

I compiled xcompmgr 2.0.2 against Mandrake's xorg 2.6.8.  You might want to consider installing thac's xorg 2.6.8 packages.  xcompmgr and transset are both in Cooker contrib.

Thanks for the info, I'll try that.

UPDATE: xcompmgr needs "xcomposite" to compile successfully. We are now at square one again!

Edited by Naim89

Share this post


Link to post
Share on other sites
UPDATE: xcompmgr needs "xcomposite" to compile successfully. We are now at square one again!

Do you have libxorg-x11-devel installed? Also, you should be able to install the cooker xcompmgr and transset packages if you have Xorg 2.6.8 installed now, saving you the trouble of compiling.

Share this post


Link to post
Share on other sites

That's the problem - I do have it installed, but it is version 6.7.0, not 6.8.2.

 

When trying to install libxorg-x11-devel version, this is the output I get:

 

[naim@localhost naim]$ su -c "rpm -i /home/naim/downloads/libxorg-x11-6.8.2-6mdk.i586.rpm"
Password:
warning: /home/naim/downloads/libxorg-x11-6.8.2-6mdk.i586.rpm: V3 DSA signature: NOKEY, key ID 26752624
       file /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/X11/locale/lib/common/xlocale.so.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libFS.so.6.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libGL.so.1.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libGLw.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libI810XvMC.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libICE.so.6.3 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libOSMesa.so.4.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libSM.so.6.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libX11.so.6.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXRes.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXTrap.so.6.4 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXaw.so.6.1 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXaw.so.7.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXcursor.so.1.0.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXext.so.6.4 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXfont.so.1.5 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXft.so.1.1 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXft.so.2.1.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXi.so.6.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXinerama.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXmu.so.6.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXmuu.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXp.so.6.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXrandr.so.2.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXrender.so.1.2.2 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXss.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXt.so.6.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXtst.so.6.1 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXvMC.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXxf86misc.so.1.1 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXxf86rush.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libXxf86vm.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libdps.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libdpstk.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libfontenc.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libpsres.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libviaXvMC.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libxkbfile.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
       file /usr/X11R6/lib/libxkbui.so.1.0 from install of libxorg-x11-6.8.2-6mdk conflicts with file from package libxorg-x11-6.7.0-3mdk
[naim@localhost naim]$

 

The problem now is that I should have removed the existing installation of Xorg before building and installing this newer one. Uninstalling Xorg 6.7.0 would mean that I'd lose a LOT of applications. It'd also mean that I'd have to install EVERYTHING from scratch, as all programs with a GUI depend on the X window system!

Share this post


Link to post
Share on other sites

Yeah, that's what I meant in the first place, only 10.2 / 2005 has the new 6.8 x.org with all this flashy stuff in it. 10.1 has boring old x.org 6.7 with no flashy stuff at all. If you really want to do this on 10.1, I think thac has x.org 6.8 backported, but honestly your best bet would be to go to Cooker (which is, in any case, basically 10.2 / 2005 right now).

Share this post


Link to post
Share on other sites

It seems so much easier just to go ahead and install 10.2. I don't think I'll bother with it on 10.1 now!

 

Just a question, after upgrading to 10.2, would it "upgrade" or will it install the system from scratch? As in, would I lose my personal settings and my documents?

Share this post


Link to post
Share on other sites

naim: you can do the install either way, it gives you the choice. An 'Upgrade' install will be most likely to work if you have a fairly clean system with no non-MDK packages, software built from source installed in /usr, stuff like that. In such cases it ought to work but people have had problems in the past. I usually suggest you do a 'fresh' install but do custom partitioning, use your existing /home partition (assuming you have it on its own partitition :>) and tell the installer not to format it.

 

i.e., if your home partition is /dev/hda6, run the installer, do custom partitioning, tell it to mount /dev/hda6 as /home and re-do all the other partitions, then when it asks you which to format, format everything except /home. As long as you store all your documents in your /home directory (as you should :>), this way will get a pretty clean install but keep all your documents and settings (except for any that were specified system-wide in /etc instead of within your user's home directory).

Share this post


Link to post
Share on other sites

I see... Well, on the contrary, I have LOTS of self-compiled, non-mdk versions of programs lol, so clean install will be the best way to go. Thanks very much for the advice!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...