LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-27-2018, 08:57 AM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Has anyone compiled compiz in BLFS?


I am thinking of trying Compiz out in my BLFS system. Yeah, I want the wobbly windows when they move, I want the spinning cube thing.

Has anyone compiled compiz in their BLFS system? The docs on the compiz site make it appear straightforward but I know how that can often end up. Any tips? Things unmentioned to look out for?

Thank you.

Last edited by jr_bob_dobbs; 03-27-2018 at 09:05 AM.
 
Old 04-19-2018, 07:40 PM   #2
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
Yes, for a couple BLFS cycles - and it works well. I'm using the 0.9.11 series (when I built BLFS 7.9 the latest was 0.9.11.3).

I do not use the more recent gtk3 versions. Remember that as a window manager, compiz is responsible for drawing the title bar with the minimize, maximize, and close buttons, and if you would like any gtk2 theme then you will need compiz built against gtk2. Compiz decorates any and all windows exactly same way, regardless of their gui libraries. It works fine with KDE (4 and 5), so yes, you can rotate the cube there too.

You will need:

zenity (latest gtk2-only version)
startup-notification
libcanberra
libgtop
metacity (version == 2.34 with gsettings backend)

Then build compiz. There is a DSO problem somewhere with compiz, though, and I don't have my notes handy. I remember it being an easy fix once I figured out how to edit the proper cmake file.

Another issue, you might need to replace your window manager using
Quote:
compiz ccp --replace &
(noting the cpp in there).
 
Old 04-21-2018, 07:16 AM   #3
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by ordealbyfire83 View Post
Yes, for a couple BLFS cycles - and it works well. I'm using the 0.9.11 series (when I built BLFS 7.9 the latest was 0.9.11.3).
Nice!

Quote:
There is a DSO problem somewhere with compiz, though, and I don't have my notes handy. I remember it being an easy fix once I figured out how to edit the proper cmake file.
I googled DSO and got unclear results. What do you mean?

Quote:
Another issue, you might need to replace your window manager using

(noting the cpp in there).
Replace? I just put a line in my .xinitrc to call whatever window manager I am using on that day. Then I type startx.

p.s. Naturally things get interesting in unexpected ways. All downloads from the actual compiz web site go to 404. D'oh! Well, one works, the 0.9 main tarball ... but not the plugins nor any of the other files. Guess I'm ten years too late.
 
Old 04-23-2018, 07:37 PM   #4
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
No you're certainly not too late. In recent years most of the work on Compiz has moved over to Canonical. The source tarballs are best downloaded from Ubuntu. Debian has not officially supported compiz in Wheezy and Jessie but it appears it finally made it in the official repository for Stretch.

To get version 0.11.3, try going to https://packages.ubuntu.com/source/t...updates/compiz and download the file compiz_0.9.11.3+14.04.20160425.orig.tar.gz listed near the bottom.

Nowadays the plugins as well as ccsm are all built from the main source tarball, so you only need this one.

DSO problems are caused by Makefiles not explicitly listing all of the libraries that the linker should be aware of. Suppose a program depends on liba and libb, and liba depends on libb. Previously, the linker could find libb through liba if the program's Makefile didn't list libb. Newer versions of gcc clamp down on this and require all dependencies to be explicitly listed. This is old but it sort of explains what is going on. Typically you need to just add the library in the LIBS line of the Makefile. The B/LFS books generally handle this in a 'sed' command if and when it needs to be done.

The "replace" switch for compiz is generally how to launch compiz if another window manager is already running. So it shouldn't be needed if there is no window manager running. Or does it? I've never tried it on a "naked" X session.
 
Old 04-24-2018, 12:29 PM   #5
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Well, it turns out that every version of zenity actually requires GTK 3. Maybe Compiz can run without zenity but I'm not going to bother to try.

Calling this a bust. Abandon project. Abandon thread. Thanks for the replies.
 
Old 04-24-2018, 06:50 PM   #6
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
zenity 2.32 is fine. Just FYI, I don't have GTK3 anywhere on this system. Don't mind the "requirements" listed on the Ubuntu pages; sometimes those just mean "required to get the program/library to build the way we want". It really should be a straightforward build though.

Last edited by ordealbyfire83; 04-24-2018 at 06:51 PM.
 
Old 02-17-2019, 05:34 AM   #7
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / GoboLinux / LFS / VoidLinux
Posts: 145

Rep: Reputation: 26
I have recently tried to compile the new compiz release:

https://launchpad.net/compiz/0.9.14/....9.14.0.tar.xz

Unfortunately the build system still has lots of problems.

IMO it is quite a mess and may take more time to fix problems.

It's very difficult to regain momentum in projects that have been, more
or less, abandoned at one point in time.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BLFS 8.1: w3m will not compile jr_bob_dobbs Linux From Scratch 3 01-31-2018 07:08 PM
[SOLVED] blfs - glib compile error idnotcrae Linux From Scratch 2 05-17-2012 03:09 PM
Unable to compile IcedTea6 using instructions from blfs svn krystal Linux From Scratch 3 01-03-2012 12:06 PM
teTeX fails to compile in BLFS corbis_demon Linux From Scratch 2 10-22-2009 10:41 AM
BLFS Libxml2-2.6.20 compile error hbinded Linux From Scratch 1 05-31-2006 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration