PDA

View Full Version : Repo's to get compiz-fusion or download package?


mattgaunt
August 30th, 2007, 08:34 AM
Hey Everyone

I used to use beryl and since the merge I have been meaning to change to compiz-fusion.

I just have a few questions about which way is the best way to install compiz-fusion

Is it better to use repo's to download, install and update, or would it be better to download the package from the compiz site and use the stable versions???

I do only want a stable version because I have had problems before with bleeding edge programs and i dont really have the time to sort out any little bugs.

hyperair
August 30th, 2007, 10:10 AM
In my opinion, you should use Trevino's repositories. I'm using that, and while it's bleeding edge and all, it's much stabler than the "stable version" which you have to compile yourself. Perhaps I just suck at compiling, but trust me, it's a lot easier to use the repositories.

mattgaunt
August 30th, 2007, 10:36 AM
No i believe you that it is probably easier than compiling it myself - Which i have no idea how to do, but like to know, The only thing i have with that, is that which repo is the official one?

delfick
August 30th, 2007, 01:32 PM
If you want stable, i'd suggest you stay away from Tevino's repos, they are updated from git and not only are expected to break, but judging from the number of posts of people having troubles with it, it does break (I don't use those repos, so i don't actually know)

If you want stable, I'd suggest either compiling the 0.5.2 release http://releases.compiz-fusion.org/0.5.2/ (and use the instructions here (http://forum.compiz-fusion.org/showpost.php?p=16631&postcount=5) to compile

or use Amaranth's repo http://forum.compiz-fusion.org/showthread.php?t=3153

but there is no official repo as such, just git (and if you want to use git (latest stuff) then follow the instructions in this thread http://forum.compiz-fusion.org/showthread.php?t=1985)

though if you're not on ubuntu, i'm not sure how those instructions would change for you...

adamk
August 30th, 2007, 01:39 PM
Actually, Amaranth's repo would be pretty official give that it's simply a backport of the compiz packages for Gutsy.

Adam

mattgaunt
August 30th, 2007, 03:56 PM
So what would you say is the safest bet?? would it be good practice to just download the source code and compile it myself since then if an update comes out and disagrees with my computer i can revert back or would the repo be a safe bet??

Lol still not decided, but thanks for the help guys, much appreciated

mattgaunt
September 15th, 2007, 10:44 AM
Hey Deflick

After clicking on the link "http://releases.compiz-fusion.org/0.5.2/" it just comes up with a load of files, will i need all of them?

To be honest never compiled a linux program myself so all new stuff to me

Matt

delfick
September 15th, 2007, 11:40 AM
compiling is easier than it sounds :D (in ubuntu anyways :p)

just follow the directions over here http://forum.compiz-fusion.org/showthread.php?t=1985

(except if you want to use 0.5.2 instead of git (is up to you which you choose :D, it can always be changed afterwards) then just use those files instead of downloading from git...)

:D

mattgaunt
September 15th, 2007, 01:14 PM
well i can do the first part of step 1 :-) lol, Second part of step one doesn't work for me

sudo apt-get build-dep compiz

I get the following

matt@matt-desktop:~$ sudo apt-get build-dep compiz
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some ‘source’ URIs in your sources.list


As for step 2, What do i need to do for that bit? I'm thinking maybe i should stick to repositories because unless i have a guide i think ill be useless lol

delfick
September 15th, 2007, 01:18 PM
for the build-dep problem, post to the forum the result of "cat /etc/apt/sources.list"

as for step two, you should have already installed anything necessary from step one :D

mattgaunt
September 15th, 2007, 01:22 PM
## See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
## newer versions of the distribution.

## Add comments (##) in front of any line to remove it from being checked.
## Use the following sources.list at your own risk.

## Uncomment deb-src if you wish to download the source packages

## If you have a install CD you can add it to the reposity using 'apt-cdrom add'
## which will add a line similar to the following:
#deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Beta i386 (20070322.1)]/ feisty main restricted
deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ feisty universe
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ feisty multiverse
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu feisty-security main restricted
#deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
#deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
#deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse

## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.)
## Medibuntu - Ubuntu 7.04 "feisty fawn"
## Please report any bug on https://launchpad.net/products/medibuntu/+bugs
deb http://packages.medibuntu.org/ feisty free non-free
#deb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free

## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera, DesktopSecure and more to come.)
deb http://archive.canonical.com/ubuntu feisty-commercial main


That was the output, but step one is just dependencies (Not that i know what they are) And i thought step 2 was for downloading git packages which i was hoping to use 0.5.2 packages

Thank you for the help deflick - I am determined to get this working

delfick
September 15th, 2007, 01:31 PM
That was the output,

in those type of files, a line with a '#' in front is a commented line, as in that line is ignored when the file is used for whatever purpose.

what you need to do is to uncomment (get rid of the '#') for the lines that start with 'deb-src' because they are the repos that contain source code
(that file contains the repos that apt uses)

to open that file, just go into the terminal and type
sudo gedit /etc/apt/sources.list

but step one is just dependencies (Not that i know what they are)

dependencies are requirements for the program to compile, without them, the program may not work, or even compile :D


And i thought step 2 was for downloading git packages which i was hoping to use 0.5.2 packages

it is, but you first must install the programs used to download them....

Thank you for the help deflick

no probs, only just last year I was new to linux, had absolutely no idea how to do anything :p

- I am determined to get this working
good to hear :D
(determination is how i'm here today, first time I tried compiz, I nearly gave up because the damn graphics driver wouldn't install, eventually it did though :D)

mattgaunt
September 15th, 2007, 01:36 PM
Well i've bn using ubuntu for about a yr, and just installed a new nVidia graphics card since my ati card didn't have the right stuff to have dual screens (Wide screen) to work with XGL so now thats working i just need compiz and then ill be a happy bunny ;-)

Right well ill have another go and post what happens when i can, thanks again deflick

mattgaunt
September 15th, 2007, 05:19 PM
The build dependencies for compiz now work, but i still dont understand how step 2 applies to me because its all about git which i thought was for downloading all the packages for compiz 0.6

I know im probably gettin this all wrong but cud sum1 explain to me what is happening in step 2 on the http://forum.compiz-fusion.org/showthread.php?t=1985 guide

Matt

delfick
September 15th, 2007, 05:44 PM
all the latest code is kept over here http://gitweb.opencompositing.org/

when you do a command
git clone <address>
you download all the data from that address to your computer
so to download the ccsm from git, the commad would be
git clone git://anongit.compiz-fusion.org/fusion/compizconfig/ccsm
(where git://anongit.compiz-fusion.org/fusion/compizconfig/ccsm is the address of that code)

now the problem with the main version is that it has the xcb dependancy which is not worth trying to fix yourself (will be fixed in later versions of ubuntu where that xcb dependency is resolved) so what you do is after you've downloaded the files you change over to the 0.6.0 branch (which doesn't have the xcb dependency)

sorry if i haven't explained that too well, it's past midnight and i'm about to go sleep :p

anyway, so you want to be using the 0.6.0 branch, so after you've download the files, go into each folder and do
git checkout 0.6.0
(for the compiz folder, it'd be git checkout compiz-0.6)

then whenever you need to update the packages, just go into each folder and do
git pull origin 0.6.0
(again for compiz, you'd do git pull origin compiz-0.6)

and then compile as explained further in the guide

what i do is I have a folder for compiz and a folder for compiz-fusion (both version 0.6.0)
I only update it like every couple of weeks or so, but when i do, it's as simple as
git pull origin compiz-0.6.0;./autogen.sh --prefix=/usr/local -disable-kde;make;sudo make install
in the compiz folder
and then use this very basic script i quickly wrote one day http://delfick755.googlepages.com/update.sh (do a "chmod +x update.sh" to it to make it executable if you end up using it)) to update compiz-fusion

all it does is for certain folders in the compiz-fusion folder (in a particular order), execute autogen, make, make install, then go back a directory and print out the directory contents (so if i'm watching it compile, i can clearly see where it finishes compiling one thing and has started another) and do so in the next folder (if you choose to use that, you may have to edit it so that the folders it looks for exist (if you look at it, you'll get what i mean :D))

disclaimer : my method is not official :p and there are git scripts on gitweb.opencompositing.org

... :D

edit : there has only been one release of compiz-fusion so far, 0.5.2, 0.6.0 hasn't been released yet, but afaik it will be soon...

adamk
September 15th, 2007, 05:56 PM
I've never been able to actually get 0.6.0 pulled and compiled... For example, I've freshly cloned the compiz tree, and when I run 'git checkout compiz-0.6' in the source directory, I get:

$ git checkout compiz-0.6
error: pathspec 'compiz-0.6' did not match any file(s) known to git.
Did you forget to 'git add'?

Or in plugins main:

$ git checkout 0.6.0
error: pathspec '0.6.0' did not match any file(s) known to git.
Did you forget to 'git add'?

And if I try 'git pull origin 0.6.0' in plugins-main:

$ adamk@thorn:~/workarea/git/compcomm/plugins-main$ git pull origin 0.6.0
Auto-merged metadata/expo.xml.in
CONFLICT (content): Merge conflict in metadata/expo.xml.in
Auto-merged metadata/shift.xml.in
CONFLICT (content): Merge conflict in metadata/shift.xml.in
Auto-merged src/animation/Makefile.am
Auto-merged src/animation/animation-internal.h
Auto-merged src/animation/animation.c
Auto-merged src/expo/expo.c
CONFLICT (content): Merge conflict in src/expo/expo.c
Auto-merged src/shift/shift.c
CONFLICT (content): Merge conflict in src/shift/shift.c
Auto-merged src/winrules/winrules.c
CONFLICT (content): Merge conflict in src/winrules/winrules.c
Auto-merged src/workarounds/workarounds.c
CONFLICT (content): Merge conflict in src/workarounds/workarounds.c
Automatic merge failed; fix conflicts and then commit the result.

Maybe it actually worked, but 'Automatic merge failed' sounds like a bad error message to me :-)

Adam

mattgaunt
September 15th, 2007, 05:59 PM
I just ended up using the repo - I wanted to compile the compiz-fusion 0.5.2 not 0.6 but thank you for your help deflick

delfick
September 16th, 2007, 03:10 AM
hmm, that's a weird problem, maybe git checkout 0.6.0 isn't the right command...

I forgot exactly what i used and i don't actually know how to use git :p

maybe someone else does....(be interesting to know :D)


EDIT :: try "git checkout origin/0.6.0"
(and git checkout origin/compiz-0.6 for compiz)

:D

but thank you for your help deflick

no probs :D

hope you enjoy compiz/compiz-fusion :D

versable
October 21st, 2007, 11:01 AM
versable@versable:~$ git clone git://anongit.freedesktop.org/git/xorg/app/compiz
Initialized empty Git repository in /home/versable/compiz/.git/
remote: Generating pack...
remote: Done counting 12885 objects.
remote: Deltifying 12885 objects...
remote: 100% (12885/12885) done
Indexing 12885 objects...
remote: Total 12885 (delta 10111), reused 1896 (delta 1509)
100% (12885/12885) done
Resolving 10111 deltas...
100% (10111/10111) done

versable@versable:~$ cd /home/versable/compiz
versable@versable:~/compiz$ git checkout compiz-0.6 ili git checkout origin/compiz-0.6
error: pathspec 'compiz-0.6' did not match any file(s) known to git.
error: pathspec 'ili' did not match any file(s) known to git.
error: pathspec 'git' did not match any file(s) known to git.
error: pathspec 'checkout' did not match any file(s) known to git.
error: pathspec 'origin/compiz-0.6' did not match any file(s) known to git.
Did you forget to 'git add'?


Same problem, on Gutsy though.

Also:

versable@versable:~/compiz$ git checkout origin/0.6.
error: pathspec 'origin/0.6.' did not match any file(s) known to git.
Did you forget to 'git add'?
versable@versable:~/compiz$ git checkout origin/compiz-0.6
Note: moving to "origin/compiz-0.6" which isn't a local branch
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
git checkout -b <new_branch_name>
HEAD is now at 4795df0... Post-release version increment.

delfick
October 21st, 2007, 11:54 AM
try

git checkout -b origin/compiz-0.6

and then for anything related to compiz fusion

git checkout -b origin/0.6.0

and then to update in the future,

git pull origin compiz-0.6
or git pull origin 0.6.0 for compiz fusion....

johnphilips
September 11th, 2008, 07:06 PM
Even I am also looking for a solution that how to install compiz-fusion. I am running a dual booting in my system Linux/windows both. So any one here to solve my problem . Please reply me.

John Philips