View Full Version : Build Debian Packages of Compiz Fusion GIT w/ MakeFusionDebs
Treviño
June 28th, 2007, 02:50 AM
Few minutes ago I released the first release of makefusiondebs (http://gitweb.opencompositing.org/?p=users/3v1n0/compiz-fusion-debian-builder;a=commit;h=cb564b4d8ac22f0649d8ec47a3a7d92 d1ad298ac), that is an improved version of the "makedebs" script I wrote both for beryl-svn and beryl-git, however there are some improvements since past public version version:
* Autoupdate (the script will update itself)
* Option file support (makefusiondebs-options)
* Debian patches support (quilt based)
* Plugins ABIVERSION support (to rebuild them on update)
* Base version now is loaded from configure.ac too
* Support for debian version prefix (#:version)
* Fixed some versioning if using particular prefix
* Fixed the local-based date in changelog
* Check and install (if agreed) for Build-Dependencies
* Move old debs in proper dir based on package source too
* Debs, changelogs, and Old-Debs dirs now can be set
* $DISTRODIR_USER now has priority on $DISTRODIR
* Some code cleanups
* Many other fixes I can't remember :)
But let's see how to build packages, this works for any Debian based distro:
git-clone git://anongit.opencompositing.org/users/3v1n0/compiz-fusion-debian-builder compiz-fusion-git
cd compiz-fusion-git
./makefusiondebs
Check you've removed all the compiz related data in /usr/local, and wait until the packages are built! It's all absolutely easy! The script will use both my Compiz Fusion Debian Trees (http://gitweb.opencompositing.org/?p=users/3v1n0/compiz-fusion-debian;a=summary), and my Compiz-Wrapper Script (http://gitweb.opencompositing.org/?p=users/3v1n0/compiz-fusion-debian-builder;a=summary) (they're automatically downloaded/updated from git).
You can set some script options editing the $settingfile ("makefusiondebs-options" by default).
The script has a kind of AutoUpdate feature (but it could be disabled by settings), that will upgrade (and restart) the script itself if a new version is found in git; that's why, it's better to use the $settingfile, instead of editing the main scriptfile.
The script support also some arguments for "advanced" tasks, here you are a small guide:
./makefusiondebs performs all the tasks (sync and package)
./makefusiondebs update just sync the local data to remote git
./makefusiondebs build try to build the needed items
./makefusiondebs <item> build only the <item> (if needed)
./makefusiondebs rebuild <item> force a rebuild of the <item>
./makefusiondebs repack <item> force a repack of the <item>
You can find more informations in the headers of both makefusiondebs and of makefusiondebs-options
Apex
June 28th, 2007, 02:57 AM
Now at patch 999_3v1n0-optimizations.patch
touch debian/stamp-patched
./autogen.sh: 9: autoreconf: not found
I'm getting this error Trevino.
Treviño
June 28th, 2007, 03:05 AM
Now at patch 999_3v1n0-optimizations.patch
touch debian/stamp-patched
./autogen.sh: 9: autoreconf: not found
I'm getting this error Trevino.Check you've installed the autoconf package... That file is there ;)
ziegs
June 28th, 2007, 03:30 AM
I'm having a problem. Its spitting out this error:
[code:22ef3]dh_install: libcompizconfig0 missing files (usr/lib/compiz/*.so), aborting
make: *** [binary-install/libcompizconfig0] Error 1[/code:22ef3]
Ideas?
Treviño
June 28th, 2007, 03:37 AM
I'm having a problem. Its spitting out this error:
[code:be4f5]dh_install: libcompizconfig0 missing files (usr/lib/compiz/*.so), aborting
make: *** [binary-install/libcompizconfig0] Error 1[/code:be4f5]
Ideas?Check that compiz is installed correctly in compiz/debian/tmp... These files should be there!
ziegs
June 28th, 2007, 03:45 AM
Where should those files be? If I'm in the compiz/ directory, i see debian/, and there are files in /usr/lib/compiz/*...
Treviño
June 28th, 2007, 03:54 AM
Where should those files be? If I'm in the compiz/ directory, i see debian/, and there are files in /usr/lib/compiz/*...
From what I see you're compiling libcompizconfig, so go in fusion/libcompizconfig/debian/tmp; there should be a usr/lib/compiz/ folder, with a libccp.so file...
ziegs
June 28th, 2007, 03:58 AM
There's no libccp library in there. There's libcompizconfig.so.*/la/a, but thats all...
Treviño
June 28th, 2007, 04:13 AM
There's no libccp library in there. There's libcompizconfig.so.*/la/a, but thats all...
:o, could you check, please, the build log? Since that file is the compiz plugin needed to access to libcompizconfig, and it should be compiled and installed in that folder... Have you installed the compiz packages you've already built in debs/ folder?
ziegs
June 28th, 2007, 04:18 AM
Yeah, the compiz and -core, -bcop, -dev, -gnome, -kde, and -plugins packages (debs) are built, as well as the libdecoration and associated dev package. I tried installing those debs and running makefusion before I posted originally. As for buildlogs, what & where would you like me to check?
FYI This is feisty on an amd64 box, don't know if that'll tell you anything.
ziegs
June 28th, 2007, 04:22 AM
Ah! I seem to have found the libccp* files, they're off hiding in debian/tmp/usr/local/lib/compiz. Any idea why they'd be there?
--z
Treviño
June 28th, 2007, 04:32 AM
Yes!
Probabily you've an old copy of compiz installed in /usr/local (and so /usr/local/bin for the binary, /usr/local/lib/compiz for the plugins, and /usr/local/lib for the libdecoration), so the configure file you run uses the data there, since it has more priority than the one in /usr.
So, remove all that data, and run again!
ziegs
June 28th, 2007, 04:52 AM
Bingo!
Oopsie :oops:
Thanks Trev, great work.
Quattro
June 28th, 2007, 08:06 AM
mine seems to compile correctly, only it is being compiled without svg support it seems....
but only on the first package being configured, the rest does have svg support...
and i'm missing some dependencies, installing them and starting a recompile when at school.
coming back in a bit.... ^_^
okay
the script fails at libqt3-dev
[code:f7b40]
dpkg-checkbuilddeps: warning: can't parse dependency libqt3-headers
libqt3-dev
dpkg-checkbuilddeps: error: error occurred while parsing Build-Depends
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
[/code:f7b40]
Treviño
June 28th, 2007, 10:16 AM
mine seems to compile correctly, only it is being compiled without svg support it seems....
but only on the first package being configured, the rest does have svg support...
and i'm missing some dependencies, installing them and starting a recompile when at school.
coming back in a bit.... ^_^
okay
the script fails at libqt3-dev
[code:161b6]
dpkg-checkbuilddeps: warning: can't parse dependency libqt3-headers
libqt3-dev
dpkg-checkbuilddeps: error: error occurred while parsing Build-Depends
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
[/code:161b6]
Ops, sorry for that... It was a typo... Run the script again, it should work!
Don't look at first configuration, since it uses standard parameters of the autogen.sh, then debuild will re-run configure with right settings ;)
Quattro
June 28th, 2007, 10:25 AM
all packages compiled nicely now =)
anyone interested? :P
still got an error on splash
/usr/bin/compiz.real (core) - Error: 'splash' plugin must be loaded after 'png' plugin
/usr/bin/compiz.real (core) - Error: Can't activate 'splash' plugin due to dependency problems
Shadzik
June 28th, 2007, 11:50 AM
This is the fist problem
[code:4492d]./admin/cvs.sh: line 33: --version: command not found
*** AUTOCONF NOT FOUND!.
*** KDE requires autoconf 2.53 or newer
make[1]: *** [cvs] B??d 1
make: *** [all] B??d 2
[/code:4492d]
I have chenge a few lines in /compizconfig-backend-kconfig/admin/cvs.sh becouse i have installed autoconf autoconf2.50 and autoconf2.13 the same with automake and autoheader.
then emerald depends on beryl-dev package and i don't have it
any ideas what to do with it ?
imported_konsumer
June 28th, 2007, 12:58 PM
i have build the packages successful with the script (thank to Treviño) but now i have an error by starting ccsm
[code:87f95]konsumer@bimsel:~$ ccsm
Traceback (most recent call last):
File "/usr/bin/ccsm", line 22, in ?
import compizconfig
ImportError: /usr/lib/python2.4/site-packages/compizconfig.so: undefined symbol: PyInt_AsSsize_t
[/code:87f95]
any idea to solve the problem?
Treviño
June 28th, 2007, 01:17 PM
Check you've installed the python-compizconfig package you've just built...
PS: In git there are some updates and fixes, the cooler is that now the script will check and install for Build-Depends dependencies ;)
YoungHiFi
June 28th, 2007, 02:06 PM
I encountered a problem during compilation. Here's the code:
[code:9348c]gcc -Wall -g -O2 -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -o compiz main.o privates.o texture.o display.o screen.o window.o event.o paint.o option.o plugin.o session.o fragment.o matrix.o cursor.o match.o metadata.o -Wl,--export-dynamic -lpng12 -lXcomposite -lXdamage -lXfixes -lXrandr -lXinerama -lXcursor -lSM -lICE /usr/lib/libxslt.so /usr/lib/libxml2.so -lstartup-notification-1 -lGL -lm
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[3]: *** [compiz] Error 1
[/code:9348c]
So what's wrong? Has anybody else encountered such a problem?
Treviño
June 28th, 2007, 02:31 PM
I encountered a problem during compilation. Here's the code:
[code:cda32]gcc -Wall -g -O2 -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -o compiz main.o privates.o texture.o display.o screen.o window.o event.o paint.o option.o plugin.o session.o fragment.o matrix.o cursor.o match.o metadata.o -Wl,--export-dynamic -lpng12 -lXcomposite -lXdamage -lXfixes -lXrandr -lXinerama -lXcursor -lSM -lICE /usr/lib/libxslt.so /usr/lib/libxml2.so -lstartup-notification-1 -lGL -lm
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[3]: *** [compiz] Error 1
[/code:cda32]
So what's wrong? Has anybody else encountered such a problem?Maybe that's due to your LD parameters, you could force them adding a compiz debian user dir where you've set these settings...
YoungHiFi
June 28th, 2007, 02:48 PM
Well, I haven't tinkered with the LD or anything, I also don't know how can I force that + I haven't changed anything with the script's settings. I just ran ./makefusiondebs and that's all.
Treviño
June 28th, 2007, 03:11 PM
You can define them passing LDFLAGS="-Wl,-z,defs" (they're just an example) to the configure file setting it in debian/rules
YoungHiFi
June 28th, 2007, 03:27 PM
Thanks, but after googling a bit, it seems that I may have something wrong with the /usr/lib/libGL.so.* files. I'll let you guys know if it worked or not.
imported_konsumer
June 28th, 2007, 03:37 PM
[quote="Treviño":b5165]Check you've installed the python-compizconfig package you've just built...
PS: In git there are some updates and fixes, the cooler is that now the script will check and install for Build-Depends dependencies ;)[/quote:b5165]
there was an old compizconfig.so in /usr/lib/python2.4/site-packages/ ... i removed them and now it works ...
imported_konsumer
June 28th, 2007, 05:17 PM
there is a problem with compiz start script. the function running_under_bad_driver() hangs.
i have change
[code:9a06f]if egrep -q "/usr/lib/xorg/modules/drivers/+(nv|vga|vesa)_drv\.so" $LOG; then[/code:9a06f]
to
[code:9a06f]if $LOG | egrep -q "/usr/lib/xorg/modules/drivers/+(nv|vga|vesa)_drv\.so"; then[/code:9a06f]
now it works ...
Treviño
June 28th, 2007, 05:21 PM
I've fixed it in git too... Thanks!
Edit, since that is a logfile, the old syntax was right... I'll add some extra checks, looks if they're ok in your config!
gilir
June 28th, 2007, 08:33 PM
Thanks you very much :) Working fine (after the little edit in the compiz.wrapper) on debian unstable 64 bits :)
YoungHiFi
June 28th, 2007, 08:53 PM
Thanks, whatever it was, the latest changes to the git master files fixed my problem. ;) Compilation and package building in progress...
krop
June 28th, 2007, 09:55 PM
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[3]: *** [compiz] Error 1
[/code]
So what's wrong? Has anybody else encountered such a problem?
I did.
After checking for /usr/lib/libGL, it appeared that a symlink was missing.
Before :
[code:332a2]krop@djamba:~$ ls -l /usr/lib/libGL.so*
lrwxrwxrwx 1 root root 18 2007-06-28 17:48 /usr/lib/libGL.so.1 -> libGL.so.100.14.11
-rw-r--r-- 1 root root 608400 2007-06-28 17:47 /usr/lib/libGL.so.100.14.11
[/code:332a2]
After :
[code:332a2]krop@djamba:/usr/lib$ ls -l /usr/lib/libGL.so*
lrwxrwxrwx 1 root root 18 2007-06-28 19:56 /usr/lib/libGL.so -> libGL.so.100.14.11
lrwxrwxrwx 1 root root 18 2007-06-28 17:48 /usr/lib/libGL.so.1 -> libGL.so.100.14.11
-rw-r--r-- 1 root root 608400 2007-06-28 17:47 /usr/lib/libGL.so.100.14.11
[/code:332a2]
and compilation worked after creating the missing link.
YoungHiFi
June 28th, 2007, 10:11 PM
I did just that krop, but it didn't fix my problems. Kinda weird.
To me it looked like this:
Run script, compile error, check symlinks, check packages, still compile error, leave it and get back to it in 3 hours, run script (notice that there was a small update), compiles all the way :)
imported_konsumer
June 29th, 2007, 10:30 AM
I've fixed it in git too... Thanks!
Edit, since that is a logfile, the old syntax was right... I'll add some extra checks, looks if they're ok in your config!
since last checkout it works :)
thanks ...
Paul S
June 30th, 2007, 12:54 AM
I'm getting "BUILD FAILED for compizconfig-backend-kconfig". So, I try again, with no better result:
<<<<<<<<<<<<< --------------
paul :~/Desktop/bld.fusion/compiz-fusion-git$ ./makefusiondebs compizconfig-backend-kconfig
< snipped >
Building compizconfig-backend-kconfig...
make: Nothing to be done for `apply-patches'.
This Makefile is only for the CVS repository
This will be deleted before making the distribution
./admin/cvs.sh: 651: --version: not found
*** AUTOCONF NOT FOUND!.
*** KDE requires autoconf 2.53 or newer
make[1]: *** [cvs] Error 1
make: *** [all] Error 2
Problems occurred while building compizconfig-backend-kconfig packages... Continue Building?
[Y/n]: y
BUILD FAILED for compizconfig-backend-kconfig
<<<<<<<<<<<<<< -----------------
But, I do have autoconf 2.50 installed. I notice autoconf 2.13 is also installed and there is a diversion in effect, as follows.
paul :~/Desktop/bld.fusion/compiz-fusion-git$ dpkg -l | grep autoconf
ii autoconf 2.61-3 automatic configure script builder
ii autoconf-archive 20060312-1 The Autoconf Macro Archive
ii autoconf2.13 2.13-58 automatic configure script builder (obsolete
paul :~/Desktop/bld.fusion/compiz-fusion-git$ ls -l /usr/bin/autoconf*
-rwxr-xr-x 1 root root 9893 2006-11-08 02:55 /usr/bin/autoconf
-rwxr-xr-x 1 root root 4980 2006-11-08 02:55 /usr/bin/autoconf2.13
-rwxr-xr-x 1 root root 13409 2006-12-20 10:07 /usr/bin/autoconf2.50
paul :~/Desktop/bld.fusion/compiz-fusion-git$ autoconf --version
Autoconf version 2.13
---
Autoconf 2.13 chosen by Debian wrapper script.
For information and tuning advice see autoconf(1).
paul :~/Desktop/bld.fusion/compiz-fusion-git$ autoconf2.50 --version
autoconf (GNU Autoconf) 2.61
paul :~/Desktop/bld.fusion/compiz-fusion-git$ dpkg-divert --list | grep autoconf
diversion of /usr/bin/autoconf to /usr/bin/autoconf2.50 by autoconf2.13
diversion of /usr/share/man/man1/autoconf.1.gz to /usr/share/man/man1/autoconf2.50.1.gz by autoconf2.13
diversion of /usr/bin/autoheader to /usr/bin/autoheader2.50 by autoconf2.13
diversion of /usr/share/man/man1/autoheader.1.gz to /usr/share/man/man1/autoheader2.50.1.gz by autoconf2.13
diversion of /usr/bin/autoreconf to /usr/bin/autoreconf2.50 by autoconf2.13
diversion of /usr/share/man/man1/autoreconf.1.gz to /usr/share/man/man1/autoreconf2.50.1.gz by autoconf2.13
I'm building on feisty, aren't you? Any idea how to proceed?
TIA
Treviño
June 30th, 2007, 01:31 AM
The script uses the file /usr/bin/autoconf, looking to your ls that's the old version for you... There are two solutions: remove the old version (I think it's unneded), or make the /usr/bin/autoconf file point to the latest version you've installed...
Paul S
June 30th, 2007, 03:21 PM
Yes, after removing autoconf 2.13 it works. But, with the updated script, I now get this warning .. is this a problem?
[code:7b81c]
Updating the plugins-main package...
remote: Generating pack...
remote: Done counting 17 objects.
remote: Result has 16 objects.
remote: Deltifying 16 objects.
remote: 100% (16/16) done
Unpacking 16 objects
remote: Total 16 (delta 6), reused 0 (delta 0)
100% (16/16) done
* refs/heads/origin: not updating to non-fast forward branch 'master' of git://anongit.opencompositing.org/fusion/plugins-main
old...new: b00a200...6e5e034
*** Environment problem:
*** Your name cannot be determined from your system services (gecos).
*** You would need to set GIT_AUTHOR_NAME and GIT_COMMITTER_NAME
*** environment variables; otherwise you won't be able to perform
*** certain operations because of "empty ident" errors.
*** Alternatively, you can use user.name configuration variable.
fatal: empty ident <paul@localhost.(none)> not allowed
Updating the plugins-extra package...
Updating 199cb23..fe5059d
fatal: Untracked working tree file 'po/Makefile.in.in' would be overwritten by merge.
Updating the plugins-unsupported package...
Updating 2f20895..4b5e977
metadata/tile.xml: needs update
fatal: Untracked working tree file 'po/Makefile.in.in' would be overwritten by merge.
[/code:7b81c]
also, further down is another failure
[code:7b81c]
Building ccsm...
make: Nothing to be done for `apply-patches'.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for intltool >= 0.35.0... 0.35.5 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for library containing strerror... none required
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CCS... configure: error: Package requirements (compizconfig-python >= 0.0.1) were not met:
No package 'compizconfig-python' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables CCS_CFLAGS
and CCS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Problems occurred while building ccsm packages... Continue Building?
[Y/n]: y
GIT PULL FAILED
compiz already built
bcop already built
libcompizconfig already built
compizconfig-python already built
BUILD FAILED for ccsm
compizconfig-backend-gconf already built
compizconfig-backend-kconfig already built
emerald already built
emerald-themes already built
plugins-extra already built
plugins-main already built
plugins-unsupported already built
[/code:7b81c]
but, I have all these installed:
paul :~$ locate codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4
/usr/share/gnulib/m4/codeset.m4
/usr/share/aclocal/codeset.m4
/usr/share/gnulib/m4/gettext.m4
/usr/share/aclocal/gettext.m4
/usr/share/aclocal/glib-gettext.m4
/usr/share/gnulib/m4/glibc21.m4
/usr/share/aclocal/glibc21.m4
/usr/share/gnulib/m4/iconv.m4
/usr/share/aclocal/iconv.m4
/usr/share/gnulib/m4/isc-posix.m4
/usr/share/gnulib/m4/lcmessage.m4
/usr/share/aclocal/lcmessage.m4
/usr/share/gnulib/m4/progtest.m4
/usr/share/aclocal/progtest.m4
paul :~$ locate config.guess config.sub
/usr/share/gnulib/build-aux/config.guess
/usr/share/apps/kapptemplate/admin/config.guess
/usr/share/man/man1/config.guess.1.gz
/usr/share/automake-1.7/config.guess
/usr/share/automake-1.10/config.guess
/usr/share/libtool/config.guess
/usr/share/misc/config.guess
/usr/share/gnulib/build-aux/config.sub
/usr/share/apps/kapptemplate/admin/config.sub
/usr/share/man/man1/config.sub.1.gz
/usr/share/automake-1.7/config.sub
/usr/share/automake-1.10/config.sub
/usr/share/libtool/config.sub
/usr/share/misc/config.sub
My compizconfig-python is actually named python-compizconfig .. is this name being changed?
paul :~/Desktop/bld.fusion/compiz-fusion-git$ dpkg -l | grep compiz
ii compiz 0.5.1+git20070627~3v1ubuntu1 OpenGL window and compositing manager
ii compiz-bcop 0.1.3+git20070620~3v1ubuntu0 Compiz option code generator
ii compiz-core 0.5.1+git20070627~3v1ubuntu1 OpenGL window and compositing manager
ii compiz-dev 0.5.1+git20070629~0local0 OpenGL window and compositing manager - deve
ii compiz-fusion-plugins-extra 0.0.1+git20070627~3v1ubuntu0 Collection of Compiz Fusion plugins for Comp
ii compiz-fusion-plugins-main 0.0.1+git20070628~3v1ubuntu0 Collection of Compiz Fusion plugins for Comp
ii compiz-fusion-plugins-unsupported 0.0.1+git20070620~3v1ubuntu2 Collection of plugins for Compiz - Unsupport
ii compiz-gnome 0.5.1+git20070627~3v1ubuntu1 OpenGL window and compositing manager - GNOM
ii compiz-kde 0.5.1+git20070627~3v1ubuntu1 OpenGL window and compositing manager - KDE
ii compiz-plugins 0.5.1+git20070627~3v1ubuntu1 OpenGL window and compositing manager - plug
ii compizconfig-backend-kde 0.1+git20070620~3v1ubuntu0 KDE Backend for the Compiz Configuration Sys
ii compizconfig-settings-manager 0.1.0+git20070627~3v1ubuntu0 Plugin and configuration tool - Compiz Fusio
ii libcompizconfig0 0.0.1+git20070629~0local0 Settings library for plugins - Compiz Fusion
ii libcompizconfig0-dev 0.0.1+git20070629~0local0 Development file for plugin settings - Compi
ii python-compizconfig 0.1.0+git20070617~3v1ubuntu0 Python bindings for the Compiz Configuration
Treviño
June 30th, 2007, 04:01 PM
About the python-compizconfg,install the one you've built (available in debs/)... It sems you've an old version from my repo installed... About the git pull problems, simply do:
[code:00781]rm -rf fusion/plugins-*[/code:00781]
23peg
July 1st, 2007, 11:50 AM
Great job on that script! Thanks.
However, I have a problem building plugins-main.
All the other stuff compiled fine. Basicly it complains about "006-magic-lamp-genie-style.patch" which can't be found. (see log below)
I tried to remove plugins-main and did a update via the script but that didn't change anything.
Any hints?
[code:df6ad]cd . && QUILT_PATCHES=patches quilt --quiltrc /dev/null push -a || test $? = 2
Patch 006-magic-lamp-genie-style.patch existiert nicht
Wende Patch 006-magic-lamp-genie-style.patch an
make: *** [debian/stamp-patched] Fehler 1
Problems occurred while building plugins-main packages... Continue Building?
[/code:df6ad]
aantn
July 1st, 2007, 06:00 PM
I'm getting a similar error.
[code:f9e19]cd . && QUILT_PATCHES=patches quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch 006-magic-lamp-genie-style.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/metadata/animation.xml b/metadata/animation.xml
|index 7c92c86..22f1b1b 100644
|--- a/metadata/animation.xml
|+++ b/metadata/animation.xml
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
patching file src/animation/animation.c
Hunk #1 succeeded at 712 (offset -5089 lines).
Patch 006-magic-lamp-genie-style.patch does not apply (enforce with -f)
make: *** [debian/stamp-patched] Error 1
[/code:f9e19]
Any ideas?
G-Man
July 1st, 2007, 06:17 PM
I'm getting a similar error.
[code:e214d]cd . && QUILT_PATCHES=patches quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch 006-magic-lamp-genie-style.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/metadata/animation.xml b/metadata/animation.xml
|index 7c92c86..22f1b1b 100644
|--- a/metadata/animation.xml
|+++ b/metadata/animation.xml
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
patching file src/animation/animation.c
Hunk #1 succeeded at 712 (offset -5089 lines).
Patch 006-magic-lamp-genie-style.patch does not apply (enforce with -f)
make: *** [debian/stamp-patched] Error 1
[/code:e214d]
Any ideas?
I just got the error too. Apparently the [url=http://gitweb.opencompositing.org/?p=users/3v1n0/compiz-fusion-debian;a=blob;f=plugins-main/debian/patches/006-magic-lamp-genie-style.patch;hb=57cb515621f7c0ec2915224974a9bae6447 0bd3c:e214d]patch that is trying to be applied[/url:e214d] to the [url=http://gitweb.opencompositing.org/?p=fusion/plugins/animation;a=blob;f=animation.c;h=0c08a27c503bd16d1 2441ba8407882b2c32b6ff0;hb=55fefe53de45da305bb32d2 4c5ab1e6432439b29:e214d]animation plugin[/url:e214d] is out of date.
aantn
July 1st, 2007, 06:27 PM
So how would I disable this patch?
What does it do for that matter?
Treviño
July 2nd, 2007, 02:35 AM
Plugin structure changed, the patches are now working again...
I've also changed the script to fix problems when git-pull fails... It seems to works well here ;)
SpmP
July 2nd, 2007, 07:53 AM
Thanks Treviño,
I must be the lucky one, it worked first time (tried it two days ago). I especially appreciate all the effort thats gone into it, re the automatic downloading of dependancies.
BUT
How can I get your script to build and package the weird and wonderful plugins like 3d etc. that arnt in the wip, sunsupported, etc?
If you require it I can build pacakes for Debian/Unstable (i386), and on my other dodgy lapop with hardware issues, AMD64 ut probably only once a week on that one.
cheers.
Quattro
July 2nd, 2007, 08:49 AM
Thanks Treviño,
I must be the lucky one, it worked first time (tried it two days ago). I especially appreciate all the effort thats gone into it, re the automatic downloading of dependancies.
BUT
How can I get your script to build and package the weird and wonderful plugins like 3d etc. that arnt in the wip, sunsupported, etc?
If you require it I can build pacakes for Debian/Unstable (i386), and on my other dodgy lapop with hardware issues, AMD64 ut probably only once a week on that one.
cheers.
i'm building amd64 packages on almost daily basis... =)
aantn
July 2nd, 2007, 09:54 AM
I'm not at home right now, but I'll try to compile again when I do get home.
I also was having some difficulty compiling some of the user created plugins that aren't even unsupported yet. You say in the comments to use grep syntax. The only problem is that I was never good at grep's regular expressions. Would you mind telling me what I would need to do in order to compile all user created plugins.
Also, why are you patching compiz? Why not just submit the changes into the main code?
Treviño
July 2nd, 2007, 12:31 PM
I'm not at home right now, but I'll try to compile again when I do get home.
I also was having some difficulty compiling some of the user created plugins that aren't even unsupported yet. You say in the comments to use grep syntax. The only problem is that I was never good at grep's regular expressions. Would you mind telling me what I would need to do in order to compile all user created plugins.
Also, why are you patching compiz? Why not just submit the changes into the main code?
Well I wanted do this from the beginning, but it hasn't coded yet... I want to study the better version for having all working without recoding every time these changes... I love un-hardcoded code :P
aantn
July 2nd, 2007, 12:40 PM
[quote=aantn]Also, why are you patching compiz? Why not just submit the changes into the main code?
Well I wanted do this from the beginning, but it hasn't coded yet... I want to study the better version for having all working without recoding every time these changes... I love un-hardcoded code :P[/quote:927d3]
Ok. That makes sense.
How would I compile all the user created plugins?
pato101
July 2nd, 2007, 02:32 PM
Treviño: you are THE CRACK! :D
I thank you very much your wonderful script.
It has worked flawlessly
cwall64
July 2nd, 2007, 04:48 PM
is there a way to effect the following so as to not build for kde in the compiz make?
[code:6520d]
the following optional plugins will be compiled:
glib: yes
gconf: yes
place: yes
dbus: yes
annotate: yes
svg: no
inotify: yes
fuse: no
and the following optional features will be compiled:
gtk: yes
metacity: yes
gnome: yes
kde: yes
[/code:6520d]
nirnaeth
July 2nd, 2007, 09:39 PM
First of all, GREAT work on the build script, it's fantastic.
Unfortunately i've been getting this since this morning:
[code:c883e]jeremy@Hannibal:~$ compiz --replace &
[3] 4429
jeremy@Hannibal:~$ Adding plugin svg (svg)
Adding plugin decoration (decoration)
Adding plugin fadedesktop (fadedesktop)
Adding plugin imgjpeg (imgjpeg)
Adding plugin cubereflex (cubereflex)
Adding plugin water (water)
Adding plugin video (video)
Adding core settings (General Options)
Adding plugin scaleaddon (scaleaddon)
Adding plugin extrawm (extrawm)
Adding plugin rotate (rotate)
Adding plugin splash (splash)
Adding plugin ring (ring)
Adding plugin regex (regex)
Adding plugin fs (fs)
Adding plugin resize (resize)
Adding plugin cube (cube)
Adding plugin wall (wall)
Adding plugin annotate (annotate)
Adding plugin reflex (reflex)
Adding plugin vpswitch (vpswitch)
Adding plugin fade (fade)
Adding plugin tile (tile)
Adding plugin opacify (opacify)
Adding plugin thumbnail (thumbnail)
Adding plugin resizeinfo (resizeinfo)
Adding plugin expo (expo)
Adding plugin snow (snow)
Adding plugin move (move)
Adding plugin group (group)
Adding plugin text (text)
Adding plugin dbus (dbus)
Adding plugin zoom (zoom)
Adding plugin bench (bench)
Adding plugin crashhandler (crashhandler)
Adding plugin blur (blur)
Adding plugin snap (snap)
Adding plugin fakeargb (fakeargb)
Adding plugin switcher (switcher)
Adding plugin screenshot (screenshot)
Adding plugin addhelper (addhelper)
Adding plugin glib (glib)
Adding plugin clone (clone)
Adding plugin inotify (inotify)
Adding plugin mblur (mblur)
Adding plugin animation (animation)
Adding plugin wobbly (wobbly)
Adding plugin scale (scale)
Adding plugin minimize (minimize)
Adding plugin trailfocus (trailfocus)
Adding plugin put (put)
Adding plugin winrules (winrules)
Adding plugin firepaint (firepaint)
Adding plugin plane (plane)
Adding plugin png (png)
Adding plugin place (place)
Adding plugin neg (neg)
Adding plugin showdesktop (showdesktop)
Backend : ini
Integration : true
Profile : default
Initializing core options...done
Initializing decoration options...done
/usr/bin/compiz: line 686: 4631 Segmentation fault (core dumped) $*
[/code:c883e]
Anybody know whats up?
nirnaeth
July 2nd, 2007, 11:16 PM
Nevermind, removed all my compiz debs and repacked, then reinstalled. Back up and running in style :)
SpmP
July 3rd, 2007, 10:37 PM
sorry to nag, but can this script build/pack the plugins from the /plugins/* in git?
If so is this mutually exclusive to plugins-*
cheers
Martin
July 4th, 2007, 05:21 PM
Hi,
I tried making packages for Debian/Etch using these sripts but this failed in multiple ways. Firstly, because of dependent packages that are not in Etch. I notice that these are really for Sid, but I thought I'd give it a shot anyway.
So, does any one have any suggestions for Etch? Does any one know of a reliable Etch repository out there?
Thanks!
Treviño
July 5th, 2007, 05:40 AM
Most of your prayers have been listened, and now it's possible to compile extra packages too.
I've added some by default, but starting from now you could "play" both with makefusiondebs-options (GITEXTRA variable) and makefusiondebs-extra (for external git repositories - it could be integrated also to http, svn, cvs...) files to set the external items you want ;)
They'll be put in the package compiz-fusion-plugins-unofficial
Let's make the fishes stay in your cube! * :P
Bye!
* New aquarium plugin
aantn
July 5th, 2007, 05:50 AM
Yay!
Thanks a million.
Treviño
July 5th, 2007, 06:28 AM
However I should say that it's still a little buggy... I'd have to fix the way that is used to build or rebuild packages for this (if a sub-plugin changes, all should be rebuilt)... But for today it's enough ;)
aantn
July 5th, 2007, 06:52 AM
Ok. Thanks again
If its not to much of a hassle, could you point me at a article that explains how to make a repository. I'd like to make one for ppc.
bernardo
July 5th, 2007, 07:08 AM
Ok. Thanks again
If its not to much of a hassle, could you point me at a article that explains how to make a repository. I'd like to make one for ppc.
It's quite simple, actually. First you have to create a "Packages.gz" file in debs. I do it like this, every time after I run makefusiondebs:
[code:98e6a]cd debs && dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz && cd ..[/code:98e6a]
Then, you need to add a line to /etc/apt/sources.list like this one:
[code:98e6a]deb file:/opt/build/compiz-fusion-debian-builder/debs ./
[/code:98e6a]
And there you have your own repository. A "sudo apt-get update" should now make the packages you built available for installation.
Quattro
July 5th, 2007, 10:00 AM
[quote="Treviño":1c1fd]Most of your prayers have been listened, and now it's possible to compile extra packages too.
I've added some by default, but starting from now you could "play" both with makefusiondebs-options (GITEXTRA variable) and makefusiondebs-extra (for external git repositories - it could be integrated also to http, svn, cvs...) files to set the external items you want ;)
They'll be put in the package compiz-fusion-plugins-unofficial
Let's make the fishes stay in your cube! * :P
Bye!
* New aquarium plugin[/quote:1c1fd]
how can i make the script compile the extra plugins?
as it is now it doesn't seem to compile them...
[code:1c1fd]packager="Quattro - Finke Lamein" # Packager Name (alias)
packager_email="finke.lamein@gmail.com" # Packager email
package_sufix="Qubuntu" # Packages Sufix (don't add numbers at end)
#AUTOUPDATE="false" # Enable or disable the autoupdate script feature
# DEBDIR="debs" # Directory in which storing the deb files
# DEBOLDDIR="debs-old" # Directory in which moving the old deb files
#GITBLACKLIST="\/logs$" # Blacklisted packages (use grep syntax)
#GITWHITELIST="^fusion/\|^compiz$\|compiz-wrapper$\|compiz-fusion-debian$" # Packages to download (use grep syntax)
GITEXTRA="\/plugins\/\|extra-items" # Extra packages to download (use grep syntax)
#PRIOPKGS="compiz bcop libcompizconfig compizconfig-python" # Override compiling order[/code:1c1fd]
aantn
July 5th, 2007, 10:32 AM
Ok. Thanks again
If its not to much of a hassle, could you point me at a article that explains how to make a repository. I'd like to make one for ppc.
It's quite simple, actually. First you have to create a "Packages.gz" file in debs. I do it like this, every time after I run makefusiondebs:
[code:265c3]cd debs && dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz && cd ..[/code:265c3]
Then, you need to add a line to /etc/apt/sources.list like this one:
[code:265c3]deb file:/opt/build/compiz-fusion-debian-builder/debs ./
[/code:265c3]
And there you have your own repository. A "sudo apt-get update" should now make the packages you built available for installation.
Thanks for the reply. Its good knowledge to know, but perhaps I didn't explain my question well enough. I'm interested in creating an online ppc repository for the entire ubuntu ppc community. I have ftp access to a server that can host the repo. How would I go about putting this repository online?
Should I just upload the entire directory to my website, or is it more complicated than that?
Treviño
July 5th, 2007, 12:04 PM
For making it easily you could also use Falcon....
For compiling extra packages, the default string is:
[code:9cc13]GITEXTRA="\/plugins\/\|users/pafy/screensaver\|users/guillaume/soc/colorfilter"
EXTRAITEMSUPPORT="true"[/code:9cc13]You can add something else (using "\|" as divisor)
aantn
July 5th, 2007, 12:08 PM
Thanks.
If I'm going to do it, then I might as well use the same package names that you're using. Are there any meta packages that I should create?
Quattro
July 5th, 2007, 03:39 PM
[quote="Treviño":8f8ef]For making it easily you could also use Falcon....
For compiling extra packages, the default string is:
[code:8f8ef]GITEXTRA="\/plugins\/\|users/pafy/screensaver\|users/guillaume/soc/colorfilter"
EXTRAITEMSUPPORT="true"[/code:8f8ef]You can add something else (using "\|" as divisor)[/quote:8f8ef]
i tried that, but it seems to do nothing at all :S
my options file looks like this now, i suspect i have to change the gitextra to reflect the directory structure that's present in fusion/extra-items/
but i don't see how :S
[code:8f8ef]
# Use the standard bash syntax.
packager="Quattro - Finke Lamein" # Packager Name (alias)
packager_email="finke.lamein@gmail.com" # Packager email
package_sufix="Qubuntu" # Packages Sufix (don't add numbers at end)
#AUTOUPDATE="false" # Enable or disable the autoupdate script feature
# DEBDIR="debs" # Directory in which storing the deb files
# DEBOLDDIR="debs-old" # Directory in which moving the old deb files
#GITBLACKLIST="\/logs$" # Blacklisted packages (use grep syntax)
#GITWHITELIST="^fusion/\|^compiz$\|compiz-wrapper$\|compiz-fusion-debian$" # Packages to download (use grep syntax)
GITEXTRA="\/plugins\/\|users/pafy/screensaver\|users/guillaume/soc/colorfilter"
#PRIOPKGS="compiz bcop libcompizconfig compizconfig-python" # Override compiling order
EXTRAITEMSUPPORT="true"[/code:8f8ef]
aantn
July 5th, 2007, 08:07 PM
Did you try restarting the settings manager.
It worked for me like a charm. Thanks again Trevino.
Quattro
July 5th, 2007, 08:44 PM
Did you try restarting the settings manager.
It worked for me like a charm. Thanks again Trevino.
restarting my computer twice because i had to go somewhere should count as a restart of my settings manager...
to clarify it a bit, it updates and downloads the extra plugins...
but it never seems to compile them :S
*edit*
i'm trying it one more time, after that I'll give the repo a shot at it. and probably later will try the script again because i'm just too impatient to wait for updates of the repo :P
*edit2*
it didn't solve my problem, but the latest update fixed my problem with the splash plugin not being loaded after the png plugin ^_^
*edit3[08 july]*
i have redownloaded all the sources and now 2 of the plugins won't compile and exit with an error :S
BUILD FAILED for plugins-extra
BUILD FAILED for plugins-extra
BUILD FAILED for plugins-main
BUILD FAILED for plugins-main
plugins extra is missing a text.h header file
[code:e2b42]the error for plugins main is:
Applying patch 006-magic-lamp-genie-style.patch
patching file metadata/animation.xml.in
Hunk #1 FAILED at 1384.
1 out of 1 hunk FAILED -- rejects in file metadata/animation.xml.in
patching file src/animation/animation.c
Hunk #1 FAILED at 5801.
1 out of 1 hunk FAILED -- rejects in file src/animation/animation.c
Patch 006-magic-lamp-genie-style.patch does not apply (enforce with -f)
make: *** [debian/stamp-patched] Error 1[/code:e2b42]
*and another edit*
i realize now this doesn't look like an error of the script :P
let's hope it gets fixed soon.
[code:e2b42]the problem wasn't fixed, but a patch being applied is the first problem now...
pt_PT.po:136: duplicate message definition...
pt_PT.po:92: ...this is the location of the first definition
/usr/bin/msgfmt: found 1 fatal error
make[3]: *** [pt_PT.gmo] Error 1
done by
Updating the plugins-extra package...
patching file po/pt_PT.po
Already up-to-date.
that patch places the double definition in it.[/code:e2b42]
All the above problems are fixed except for the ccsm bug
Quattro
July 9th, 2007, 08:22 PM
[quote="Treviño":a3b6b]For making it easily you could also use Falcon....[/quote:a3b6b]
do you have the code for the falcon repository builder?
because the website seems to be down.
aantn
July 9th, 2007, 08:28 PM
[quote="Treviño":bb572]For making it easily you could also use Falcon....
do you have the code for the falcon repository builder?
because the website seems to be down.[/quote:bb572]
You should be able to compile it from the svn code.
Quattro
July 10th, 2007, 09:32 PM
[quote="Treviño":9639b]For making it easily you could also use Falcon....
do you have the code for the falcon repository builder?
because the website seems to be down.
You should be able to compile it from the svn code.[/quote:9639b]
call me stupid, but i can't find the svn address on it's launchpad
Treviño
July 11th, 2007, 03:24 AM
You can use bazaar to retrieve latest falcon: https://code.launchpad.net/~dennis/falcon/falcon-2
Einarin
July 13th, 2007, 08:25 AM
Does compiz-fusion-plugins-unofficial version 0.0.1+git20070711~3v1ubuntu0 break compiz.real for anyone else?
Also, so this isn't only a post about the temporary state of the repo, I want to say thanks trevino for letting me have bleeding edge stuff without compiling myself. Thanks for being an enabler for us lazy experimenters.
bernardo
July 16th, 2007, 08:19 AM
Does anyone else have problems building plugins-extra? Since I had ABI version problems Saturday, I tried rebuilding everything a few times during the weekend, only to have it fail always at plugins-extra.
Quattro
July 16th, 2007, 08:29 AM
Does anyone else have problems building plugins-extra? Since I had ABI version problems Saturday, I tried rebuilding everything a few times during the weekend, only to have it fail always at plugins-extra.
i'll try to rebuild it...
[code:103b1]plugins-extra rebuilt OK
quattro@quattro-laptop:~/compiz-fusion-git$
[/code:103b1]
i still have problems with my ccsm and no clue as to what the problem might be, other than python-compizconfig f*ck*ng up
r3tex
July 16th, 2007, 05:04 PM
I can't even start compiling compiz:
Patch 009-compiz-zoom-only-on-manual-rotate-option.patch does not apply
3v1n0 aiuto! :cry:
UPDATE: builds good here too :D
pato101
July 16th, 2007, 05:15 PM
I can't even start compiling compiz:
Patch 009-compiz-zoom-only-on-manual-rotate-option.patch does not apply :cry:
Me too. :cry:
Update 08/17: Now builds just OK! :D :D :D
Quattro
July 18th, 2007, 07:45 AM
the last days i'm getting this message
[code:595cf]dpkg-buildpackage: binary only upload (no source included)
Problems occurred while building extra-items packages... Continue Building?
[Y/n]: y
Building extra-items...[/code:595cf]
what's going on?
update
[code:595cf]
compiz already built
bcop already built
libcompizconfig already built
compizconfig-python already built
ccsm already built
compizconfig-backend-gconf already built
compizconfig-backend-kconfig already built
emerald already built
emerald-themes already built
extra-items built OK
plugins-extra built OK
plugins-main built OK
plugins-unsupported built OK[/code:595cf]
everything builds fine afterwards...
Quattro
July 21st, 2007, 06:37 AM
i'm missing the screensaver plugin, although it gets downloaded it doesn't get included in the packages :S
[code:92271]
Updating the screensaver package...
Already up-to-date.
[/code:92271]
never mind, it was a missing dependency
from the README file within Screensaver source[code:92271]
You need the XScreenSaver extension.
Ubuntu users, you need to install thoses packages: x11proto-scrnsaver-dev libxss-dev
If you get a C/C++ conflict, you need to update bcop.
[/code:92271]
the notification plugin needs libnotify-dev installed.
the python plugin needs python-cairo-dev installed.
and python plugin doesn't get included in the package, even with satisfied dependencies, trying to find the reason
*edit 25-07 09:00 western Europe time*
this mornings update kills compiz, and trying to clean up my old debs killed the working packages by accident...
so i guess I'm screwed for the moment :P
going away for a few hours anyway, so let's hope it works afterwards :P
Treviño
July 30th, 2007, 04:02 PM
On next Tuesday (July, 31st) I'll go in holidays that's why this script and related patches won't be updated until ~ August 17th.
If you've compilation problems you could use the "nopatch" command line for any git item (i.e.: ./makefusiondebs compiz nopatch) or use a custom debian folder, btw...
holodad
July 30th, 2007, 07:04 PM
Hello Everyone!
Since Trevinho is going on vacation(Enjoy Trevinho), i would like to get updates using this script or other repo.
Can someone explain me quickly how do i use this script to build my Feisty 7.04 packages?
Have you got a other repo's to use till this vacations? If i use other repo's, will i get problems when updating packages? I mean, if i use other Feisty repo will a get problems updating Trevinho's current installation that i use? I guess all the Feisty packages are in the same format but just want to be sure.
Thanks a lot for your help
Regards
Quattro
July 31st, 2007, 08:32 PM
i'm going on holidays tomorrow as well.
the information in the first post should be enough to make your own debs :P
i use my own all the time ;-)
jackkerouac
August 4th, 2007, 12:06 AM
This is the error I get when using the script:
[code:b5c4a]autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --output=aclocal.m4t
Can't locate Automake/Config.pm in @INC (@INC contains: /usr/local/share/automake-1.9 /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 .) at /usr/local/bin/aclocal line 39.
BEGIN failed--compilation aborted at /usr/local/bin/aclocal line 39.[/code:b5c4a]
Any ideas?
Perry3D
August 5th, 2007, 11:04 AM
Anyone else getting this error?
[code:7a0d4]Wende Patch 050-compiz-update-italian-language.patch an
patching file po/it.po
Hunk #1 FAILED at 1.
1 out of 58 hunks FAILED -- rejects in file po/it.po
Patch 050-compiz-update-italian-language.patch läßt sich nicht anwenden (erzwingen mit -f)
make: *** [debian/stamp-patched] Fehler 1
Problems occurred while building compiz packages... Continue Building?
[Y/n]:
[/code:7a0d4]
What can i do to fix this?
bernardo
August 5th, 2007, 12:37 PM
You can do this (in the directory where you have makefusiondebs:
[code:ffa8b] mkdir fusion/compiz-fusion-debian-user
cp -r fusion/compiz-fusion-debian/compiz fusion/compiz-fusion-debian-user/
vi fusion/compiz-fusion-debian-user/compiz/debian/patches/series
[/code:ffa8b]
On this file, remove the line "050-compiz-update-italian-language.patch".
You'll probably also need to edit the file fusion/compiz-fusion-debian-user/compiz/debian/patches/999_3v1n0-optimizations_patch, as it doesn't apply cleanly to cube.xml.in anymore. I removed the offending section on this patch as a quick workaround.
bernardo
August 7th, 2007, 08:08 AM
Well, today it won't build because compiz configure script can't find x11-xcb. I've installed the xcb and xcb-proto packages, but the error is still there, so if anyone know how to solve it, which package to install under kubuntu feisty, I'd appreciate.
Thank you.
telperion
August 7th, 2007, 12:55 PM
Well, today it won't build because compiz configure script can't find x11-xcb. I've installed the xcb and xcb-proto packages, but the error is still there, so if anyone know how to solve it, which package to install under kubuntu feisty, I'd appreciate.
Thank you.
Same here
viewtopic.php?f=48&t=1771 (http://forums.opencompositing.org/viewtopic.php?f=48&t=1771)
Megaqwerty
August 12th, 2007, 06:39 PM
Hello Everyone!
Since Trevinho is going on vacation(Enjoy Trevinho), i would like to get updates using this script or other repo.
Can someone explain me quickly how do i use this script to build my Feisty 7.04 packages?
Have you got a other repo's to use till this vacations? If i use other repo's, will i get problems when updating packages? I mean, if i use other Feisty repo will a get problems updating Trevinho's current installation that i use? I guess all the Feisty packages are in the same format but just want to be sure.
Thanks a lot for your help
Regards
It's actually quite simple. You first need a place to put your build environment, mine is in a folder called compiz in my home directory. Then, assuming you have done the same, run the following commands:
cd ~/compiz/
git clone git://anongit.opencompositing.org/users/3v1n0/compiz-fusion-debian-builder
That will download Treviño's script into ~/compiz/compiz-fusion-debian-builder/ . Now, to build the packages, you merely need to run the following commands:
cd ~/compiz/compiz-fusion-debian-builder/
./makefusiondebs nopatch
When Treviño gets back, if you wish to continue building with his script, you can either leave it like this, or remove the "nopatch" from that last command to get Treviño's patches applied as well.
Currently, there is a problem you will face when building the compiz-core. It will complain about you not having x11-xcb. This is normal, and will not affect your ability to use the latest plugins. Sadly we do not have this dependency in most modern distros yet, so just say 'y' to the question about whether to continue or not, the packages will build, and you will be up to date.
There is one change you should be aware of from the last time Treviño updated his packages. Apparently, the configuration location has changed, so you must copy your config from ~/.compizconfig/ to ~/.config/compiz/compizconfig/.
If you have any further questions, don't hesitate to ask.
-Megaqwerty
EDIT: I forgot to say that this script will also install the packages for you automatically, and should not conflict with any packages Treviño may build in the future, as the packages built by this script use the same versioning scheme as the ones in Treviño's repository. Nifty, isn't it?
Gettinther
August 13th, 2007, 01:57 PM
x11-xcb is already within libx11 but disabled by default (since version 1.1).
When compiling libx11, use configure --with-xcb to create the extra libs
bernardo
August 13th, 2007, 04:49 PM
I'm now running kubuntu gutsy, and decided to build a libx11 with xcb. I got the "debian" dir from the official ubuntu libx11 sources, and used the latest git branch of libx11. Besides removing a couple of patches, removing the references to ru_* from the install files, and a couple more changes, everything built with "sh autogen.sh&& fakeroot debian/rules clean && fakeroot debian/rules binary", and I now have a fully working (even though somewhat sluggish at times) libx11 + xcb that lets me build all packages with treviño's script. The only strange thing is that the unofficial plugins aren't built, but I'm not sure if they were before I reinstalled my laptop.
holodad
August 14th, 2007, 09:25 PM
Hello Megaqwerty
Thanks a lot for your answer... Since it came to late(it's not your fault), i found the way to compile CF with git!
Thanks a lot
Cheers
Megaqwerty
August 15th, 2007, 06:07 AM
You're welcome, and good job figuring it out!
-Megaqwerty
Megaqwerty
August 15th, 2007, 09:50 PM
I'm now running kubuntu gutsy, and decided to build a libx11 with xcb. I got the "debian" dir from the official ubuntu libx11 sources, and used the latest git branch of libx11. Besides removing a couple of patches, removing the references to ru_* from the install files, and a couple more changes, everything built with "sh autogen.sh&& fakeroot debian/rules clean && fakeroot debian/rules binary", and I now have a fully working (even though somewhat sluggish at times) libx11 + xcb that lets me build all packages with treviño's script. The only strange thing is that the unofficial plugins aren't built, but I'm not sure if they were before I reinstalled my laptop.
I took a slightly different path by just downloading the main sources (apt-get source libx11-6) updating the changelog with dch, editing debian/rules so that it said --with-xcb (as opposed to --without-xcb) running debuild -S and then subsequently running dpkg-buildpackage -rfakeroot. Afterwards, I installed everything (libx11-6, libx11-data, libx11-dev.) but the dbg package (libx11-6-dbg.)
The problem is that compiz still fails to build. Any idea as to what I'm doing wrong?
Thanks,
Megaqwerty
bernardo
August 15th, 2007, 10:03 PM
Did you install libx11-xcb-dev and libx11-xcb0?
Megaqwerty
August 16th, 2007, 05:23 AM
Did you install libx11-xcb-dev and libx11-xcb0?
Huh, that didn't get created. Go figure. Could you walk me though how you did it? I must have missed a step somewhere.
Thanks,
Megaqwerty
bernardo
August 16th, 2007, 10:49 AM
I forgot, you have to append the following lines to debian/control:
Package: libx11-xcb1
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Conflicts: libx11-6 (<< 2:1.1)
Pre-Depends: x11-common (>= 1:7.0.0)
Description: Xlib/XCB interface library
libX11-xcb provides functions needed by clients which take advantage of
Xlib/XCB to mix calls to both Xlib and XCB over the same X connection.
.
More information about X.Org can be found at:
<URL:http://xorg.freedesktop.org>
<URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
.
More information about XCB can be found at:
<URL:http://xcb.freedesktop.org>
Package: libx11-xcb1-dbg
Section: libdevel
Architecture: any
Priority: extra
Depends: ${shlibs:Depends}, ${misc:Depends}, libx11-xcb1 (= ${binary:Version})
Description: Xlib/XCB interface library (debug package)
libX11-xcb provides functions needed by clients which take advantage of
Xlib/XCB to mix calls to both Xlib and XCB over the same X connection.
.
This package contains the debug versions of the library found in
libx11-xcb1. Non-developers likely have little use for this package.
.
More information about X.Org can be found at:
<URL:http://xorg.freedesktop.org>
<URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
.
More information about XCB can be found at:
<URL:http://xcb.freedesktop.org>
Megaqwerty
August 16th, 2007, 05:30 PM
Thanks, that makes sense. Out of curiosity, how did you figure that out?
EDIT: Still facing the same problem. Maybe it will work if I change all references to "libx11-xcb1" in control to "x11-xcb"?
bernardo
August 16th, 2007, 07:07 PM
Thanks, that makes sense. Out of curiosity, how did you figure that out?
EDIT: Still facing the same problem. Maybe it will work if I change all references to "libx11-xcb1" in control to "x11-xcb"?
No, that shouldn't change anything. I'll have to check if there is another reference to xcb in debian/rules that needs editing.
Megaqwerty
August 16th, 2007, 07:34 PM
Alright, thanks. If you can't remember, would you mind attaching your debian directory? That way, the only thing that could be different is that I'm not using the current libx11 GIT source, but the source from Feisty.
bernardo
August 17th, 2007, 07:52 AM
Ok, here is my debian dir for the git build I did of libX11 with xcb, I hope this helps.
Megaqwerty
August 17th, 2007, 05:34 PM
Thanks. I was able to get it working by using the latest libx11 GIT with your debian directory.
In case someone is reading our somewhat lengthy conversation here, and wants to replicate our results, here are the steps summarized: git clone git://cgit.freedesktop.org/xorg/lib/libX11/
mv libX11 libx11-1.1.1
Copy bernardo's debian directory into libx11-1.1.1/ and then to build both source and binary packages: cd libx11-1.1.1
debuild -S
sudo dpkg-buildpackage
#or if you have fakeroot installed: dpkg-buildpackage -rfakeroot
Thanks again to bernardo,
Megaqwerty
bernardo
August 19th, 2007, 11:00 AM
With todays update, the only package that doesn't build is libcompizconfig. But I think I saw on a thread that the compizconfig interface is broken in git and will be for a couple of days.
Treviño
August 19th, 2007, 11:41 PM
I've made a patch for fixing that issue too, since I prefer not to change it directly in git I'll put a patch on next hours... Now, it's time for sleeping :P
Etarion
August 20th, 2007, 02:46 PM
Hi, how hard would it be to add an option that skips the networking part and goes straight to the build part? When you try to make compiz work, the update-from-git-everytime is quite time-consuming, especially if the connection is slow.
Thanks,
Stefan
shame
August 20th, 2007, 11:28 PM
makedebs build?
Possibly, not sure if the makedebs bit is right though, makefusion?
Megaqwerty
August 21st, 2007, 06:15 AM
makedebs build?
Possibly, not sure if the makedebs bit is right though, makefusion?
It's actually a combination of the two:
makefusiondebs build
Etarion
August 21st, 2007, 01:28 PM
*scratches head* i thought i tried that one ... must've been dreaming then
Treviño
August 21st, 2007, 01:47 PM
Hi, how hard would it be to add an option that skips the networking part and goes straight to the build part? When you try to make compiz work, the update-from-git-everytime is quite time-consuming, especially if the connection is slow.
It's available since long time... Use the "noupdate" parameter...
Quattro
August 22nd, 2007, 11:29 AM
It's available since long time... Use the "noupdate" parameter...
thanks i forgot that function was there :P
a rebuild all would be cool as well, saves the trouble of removing all sources :P
*edit*
i just updated and rebuild, some of my packages weren't updated anymore because naming changed somehow from ~Qubuntu to +Qubuntu
had to force update them....
the good news is... CCSM works again ^_^ *edit2* sort of, i seem to have lost all my shortcut settings :S
aantn
August 24th, 2007, 11:35 AM
I'm trying to update for the first time in a month and I'm getting this error:
Applying patch 011-restart.patch
patching file src/session.c
Hunk #1 FAILED at 93.
1 out of 1 hunk FAILED -- rejects in file src/session.c
Patch 011-restart.patch does not apply (enforce with -f)
make: *** [debian/stamp-patched] Error 1
Any ideas?
Megaqwerty
August 24th, 2007, 07:53 PM
I'm getting that too. It's just an out of date patch. You'll just have to wait a while for Trevino to update it.
Treviño
August 25th, 2007, 03:12 AM
Fixed... Sorry for delay but my compiz local git repo didn't update correctly :o
yclement
August 25th, 2007, 09:21 AM
Hi,
Many thanks for your script Trevino, I finally got Compiz Fusion working with the fglrx trick^^
I have one question: Is it possible to compile only the Gnome part of Compiz without installing KDE packages?
I could live with KDE so that not very important, but I don't use it at all.
Even if that is not possible, thanks again for the script^^
Yann
Debian Testing - ATI 1650XT with FGLRX driver
Treviño
August 25th, 2007, 12:58 PM
To do that you should add a personal debian data in ./fusion/compiz-fusion-debian-user/ folder using the default as example but disabling there the kde stuff...
Mr Fabulous
August 25th, 2007, 04:02 PM
I have just installed the last Debian Etch 4.0r1.
I tried to use the shame repository following the instruction at http://shame.tuxfamily.org/repo/?page_id=29 but I had not luck.
This is what apt says to me:
laptop:~# apt-get install compiz-fusion-gnome
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
compiz-fusion-gnome: Depends: compiz-core (>= 0.5.1) but it is not going to be installed
Depends: compiz-plugins (>= 0.5.1) but it is not going to be installed
Depends: compiz-gnome (>= 0.5.1) but it is not going to be installed
Depends: libdecoration0 (>= 0.5.1) but it is not going to be installed
Depends: libcompizconfig0 but it is not going to be installed
Depends: compizconfig-backend-gconf but it is not going to be installed
Depends: compizconfig-python but it is not going to be installed
Depends: ccsm but it is not going to be installed
Depends: compiz-fusion-plugins-main but it is not going to be installed
Depends: compiz-fusion-plugins-extra but it is not going to be installed
Depends: compiz-fusion-plugins-unsupported but it is not going to be installed
Depends: emerald (>= 0.3.0+git20070621) but it is not going to be installed
Depends: emerald-themes (>= 0.3.0+git20070323) but it is not going to be installed
Depends: libemeraldengine0 (>= 0.3.0+git20070621) but it is not going to be installed
Depends: fusion-icon but it is not going to be installed
E: Broken packages
Anyway thanks to shame and trevino for their great work. It's really appreciated. :D
aantn
August 25th, 2007, 06:55 PM
Thanks. I'm trying right now. I'm expecting to run into some x11-xcb problems, but besides for that we'll see if it works. Hopefully it will and I can start trying to fix the x11-xcb issue.
bigbrovar
August 29th, 2007, 12:34 AM
just got notification that new updates are avialable for compiz fusion..how safe is it to install..? am scared nowadays of updates the last one was cool but i can still rememer the time when things went heywire.any way is it safe?
jackkerouac
September 1st, 2007, 01:25 AM
Has anyone been able to build anything lately? I've tried the past few days and I get errors:
compiz already built
bcop already built
BUILD FAILED for libcompizconfig
BUILD FAILED for libcompizconfig
compizconfig-python already built
ccsm already built
compizconfig-backend-gconf already built
BUILD FAILED for compizconfig-backend-kconfig
BUILD FAILED for compizconfig-backend-kconfig
emerald already built
emerald-themes already built
BUILD FAILED for plugins-extra
BUILD FAILED for plugins-extra
BUILD FAILED for plugins-main
BUILD FAILED for plugins-main
BUILD FAILED for plugins-unsupported
BUILD FAILED for plugins-unsupported
And I haven't heard a word from Trevino in a while. Anyone else having this issue?
shame
September 1st, 2007, 01:36 AM
There have been plenty of changes lately. Trevino might be still working out all the patches and stuff to catch up with them all.
jackkerouac
September 1st, 2007, 01:52 AM
There have been plenty of changes lately. Trevino might be still working out all the patches and stuff to catch up with them all.
That's what I thought. I just was wondering if I was the only one having compiling problems.
shame
September 1st, 2007, 01:57 AM
Though I should have pointed out that I'm not actually using the script, it was just an assumption. You may need to hear from some other users to confirm if it is a general problem or something your end.
Quattro
September 2nd, 2007, 01:01 PM
i have the same problem...
and i really need a new update for ccsm as my settings are all locked and i can't change them :(
bernardo
September 2nd, 2007, 02:17 PM
The only package that failed to build for me these two days was compizconfig-backend-kconfig, all the others built fine. This one seems to be missing a makefile.
jackkerouac
September 3rd, 2007, 02:40 AM
Everything builds for me as of yesterday, but I lost all of the images in CCSM.
Serverless
September 3rd, 2007, 09:50 AM
This is the error about the plugins-extra package that appears when I try to compile
cairo.c:651: error: 'CompTextAttrib' has no member named 'maxWidth'
cairo.c:652: error: 'CompTextAttrib' has no member named 'maxHeight'
make[4]: *** [cairo.lo] Error 1
make[4]: Leaving directory `/home/serverless/Applicazioni/compiz-fusion-debian-builder/fusion/plugins-extra/src/group'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/serverless/Applicazioni/compiz-fusion-debian-builder/fusion/plugins-extra/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/serverless/Applicazioni/compiz-fusion-debian-builder/fusion/plugins-extra'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/serverless/Applicazioni/compiz-fusion-debian-builder/fusion/plugins-extra'
make: *** [debian/stamp-makefile-build] Error 2
Any solution?
Megaqwerty
September 3rd, 2007, 04:52 PM
From the error, I'm pretty sure that the problem is in the source code itself. You'll just have to wait a bit for it to be fixed in GIT, or for Trevino to release a patch.
bernardo
September 4th, 2007, 08:29 AM
Treviño fixed most build problems with this latest script update, the only two remaining are the one with plugins-extra you document, and this one with compizconfig-backend-kconfig:
debian/rules clean
QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2
No patch removed
rm -rf .pc debian/stamp-patched
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entrando no diretório `/opt/build/trevino/compiz-fusion-debian-builder/fusion/compizconfig-backend-kconfig'
make[1]: *** Sem regra para processar o alvo `clean'. Pare.
make[1]: Saindo do diretório `/opt/build/trevino/compiz-fusion-debian-builder/fusion/compizconfig-backend-kconfig'
make: [clean] Erro 2 (ignorado)
dh_clean
debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entrando no diretório `/opt/build/trevino/compiz-fusion-debian-builder/fusion/compizconfig-backend-kconfig'
make[1]: *** Nenhum alvo indicado e nenhum arquivo make encontrado. Pare.
make[1]: Saindo do diretório `/opt/build/trevino/compiz-fusion-debian-builder/fusion/compizconfig-backend-kconfig'
make: ** [build-stamp] Erro 2
Quattro
September 4th, 2007, 09:06 AM
mine gives an error in libcompiz-config...
undeclared variables....
Treviño
September 4th, 2007, 02:04 PM
For fixing the problem related to plugins-extra, compile plugins-main and then install it... After that all should go well...
If you've problem with some component check that it's up-to-dated, and you couold always try removing its folder at fusion/ to redownload and rebuild it...
bernardo
September 4th, 2007, 02:43 PM
Removing fusion/compizconfig-backend-kconfig anr doing a makefusiondeps rebuild I still have the same error... As for the plugins-extra will see after this build how it goes.
shame
September 4th, 2007, 03:25 PM
Does makefusiondebs run ./configure in the kconfig directory AS WELL as ./autogen.sh?
I find I need the extra ./configure step after ./autogen.sh but only for kconfig.
aantn
September 4th, 2007, 03:55 PM
Can I use this script to build source packages?
bernardo
September 4th, 2007, 06:17 PM
Does makefusiondebs run ./configure in the kconfig directory AS WELL as ./autogen.sh?
I find I need the extra ./configure step after ./autogen.sh but only for kconfig.
And that fixed it. I copied fusion/compizconfig-backend-kconfig to fusion/compiz-fusion-debian-user/, edited fusion/compiz-fusion-debian-user/compizconfig-backend-kconfig/debian/rules to add a "./configure" line after the "dh-testdir" line in the configure-stamp area, and managed to build compizconfig-backend-kconfig at last.
jocko
September 4th, 2007, 08:34 PM
Does anyone else have problems getting the script to build the extra-items (like 3d and screensaver)?
I had it working a few weeks ago, but now it's not working.
I can build and install them manually to .compiz, but I can't figure out how to get makefusiondebs to include them in the .debs...
Thanks
Quattro
September 6th, 2007, 07:46 AM
i having more problems then just extra-items when trying to build on gutsy gibbon, of course another python bug is effing up
Blazeix
September 6th, 2007, 04:49 PM
I think plugins-extra is broken in source; at least I haven't been able to build it for the past few days.
Also, the script currently hangs on "Updating the bs package..." on Ubuntu 7.10.
EDIT: The bs hanging bug is gone. There must have been some error contacting the git repo or something.
Quattro
September 16th, 2007, 09:30 AM
i'm having another go at compiling them under gutsy AMD64, I'll keep you updated
*update
after forcing some packages and rerunning the script twice i got all stuff compiled and installed, but gutsy claims it has newer packages...
so DO NOT UPDATE after you got these working...
or lock the packages...
reez0105
September 16th, 2007, 10:40 AM
hm...btwn..my rotating cube crash if i enable opacity....
anybody..please who succeed compile unstable = visualevent ,radial-switcher , brightness and saturated plugins...please attach it here....current version for those plugins are broken in http://gitweb.opencompositing.org...
Quattro
September 16th, 2007, 11:47 AM
when running on gutsy: do NOT use trevino repo or this script, the 4 (or something like that) plugins you get when using unsupported do not outweigh the dependency hell caused by mixing gutsy packages and 3v1n0 packages.
aantn
September 16th, 2007, 12:42 PM
Quattro, that could just be because of the versioning scheme that Trevinho uses.
reez0105
September 16th, 2007, 02:48 PM
when running on gutsy: do NOT use trevino repo or this script, the 4 (or something like that) plugins you get when using unsupported do not outweigh the dependency hell caused by mixing gutsy packages and 3v1n0 packages.
lol...you seems don't understand anything don't you...?using git or that script is fine...as long as we uninstall all compiz packages from main repo......
Acesabe
September 17th, 2007, 09:18 PM
Get missing package error:
Reading package lists... Done
Building dependency tree... Done
Note, selecting automake for regex ‘automake1.10’
E: Couldn't find package libgnome-settings-daemon-dev
Would you like to skip this package and continue building?
I'm trying on Etch based install - is the above package available anywhere for Etch?
shame
September 17th, 2007, 09:55 PM
I don't believe Etch has that package.
I'm not sure exactly what will and won't work on Etch, CCSM and Fusion Icon definately not apparently.
If you are interested in testing, I have some Etch packages built (minus ccsm and fusion icon. If you want to try them PM me and I will let you have the secret repo :)
Acesabe
September 18th, 2007, 09:51 AM
Cheers Shame - but it's the config/starter tools I'm really after - Mepis 7 (beta 4 atm) has Compiz in the repos but no tools or extras...Now - if anyone knows where the KDE 4 config panel (with what appears to be Compiz controls) is at - I would love to know...
shame
September 18th, 2007, 09:57 AM
I wasn't aware there was one but if you find it let me know.
Acesabe
September 18th, 2007, 02:01 PM
Looks like KDE 4 will be trying to include some very similar (read copied) effects:
http://dot.kde.org/1180541665/
Question is - with the lack of QT compiz config tools available - there is certainly room for a KDE composite effects manager - whether it is using Compiz or KDE 4's composite manager may become less of an issue. I think it looks like KDE will have a working composite effects config manager quite soon - how far these effects will go is another matter (rotating cube, expose etc.)...
Quattro
October 20th, 2007, 10:40 AM
lol...you seems don't understand anything don't you...?using git or that script is fine...as long as we uninstall all compiz packages from main repo......
first of all, i (and others) don't like to be called stupid.
i do understand it, the packages are named the same, as soon as ubuntu updates one of the packages, it will overwrite your own ones, apt doesn't look at the source a package is from, it just gets the newest version.
i guess i'll just have to remove the main repo from my sources.list then ;-)
now on more serious note:
Probably that isn't a problem anymore, because 3v1n0 packages will almost certainly be newer now gutsy has been released. i'll try the build script in a few days
i tried them just now, and it fails at building compiz...
Applying patch 013-add-cursor-theme-support.patch
patching file configure.ac
Hunk #1 succeeded at 123 (offset -1 lines).
patching file gtk/window-decorator/gtk-window-decorator.c
patching file include/compiz-core.h
Hunk #1 FAILED at 753.
1 out of 1 hunk FAILED -- rejects in file include/compiz-core.h
patching file metadata/core.xml.in
Hunk #1 succeeded at 325 (offset 20 lines).
patching file src/Makefile.am
patching file src/display.c
Hunk #3 succeeded at 781 (offset 5 lines).
Hunk #4 succeeded at 935 (offset 5 lines).
Patch 013-add-cursor-theme-support.patch does not apply (enforce with -f)
make: *** [debian/stamp-patched] Error 1
Problems occurred while building compiz packages... Continue Building?
[Y/n]: n
fixed the patch issue...
dpkg - warning: downgrading libdecoration0 from 1:0.6.0+git20071008-0ubuntu1 to 1:0.5.5~git20071019+Qubuntu0.
(Reading database ... 151367 files and directories currently installed.)
point proven?
jackkerouac
October 22nd, 2007, 10:08 PM
Is MakeFusionDebs grabbing the latest from git? I just compiled with it (using Gutsy) and I get compiz and compiz core at 0.5.5, not 0.6 or whatever it is supposed to be right now.
Megaqwerty
October 23rd, 2007, 03:20 AM
Yes, it is. MakeFusionDebs gets its version number from debain/control. So the version number will be changed when Trevino updates his debian git files.
jackkerouac
October 23rd, 2007, 03:38 AM
Yes, it is. MakeFusionDebs gets its version number from debain/control. So the version number will be changed when Trevino updates his debian git files.
Cool, thanks. My Update Manager keeps telling me there are newer versions available and I wanted to make sure there weren't. I should have known better. Building from source is ALWAYS newer.
aantn
October 24th, 2007, 09:24 PM
Hmm... Does fusion-icon work for you on Gutsy with your packages?
jackkerouac
October 26th, 2007, 03:07 AM
Hmm... Does fusion-icon work for you on Gutsy with your packages?
Yes, it works fine.
aantn
October 26th, 2007, 09:43 AM
Weird... I must have some of the official packages still installed. Exactly what steps did yo take to install your packages?
Ornedan
October 26th, 2007, 10:34 PM
Is it possible to use this script without having to install the Gnome dependencies? (Or without KDE dependencies in case one happens to be one of those weird people that prefer Gnome :p)
That is, is it possible to selectively disable some of the packages from being built and in such way that the dependency checker will also not require the now-unnecessary dependencies to be installed anyway?
Quattro
October 28th, 2007, 12:30 PM
Is it possible to use this script without having to install the Gnome dependencies? (Or without KDE dependencies in case one happens to be one of those weird people that prefer Gnome :p)
That is, is it possible to selectively disable some of the packages from being built and in such way that the dependency checker will also not require the now-unnecessary dependencies to be installed anyway?
that would be really cool, but only useful for those people that build the packages only for themselves and friends who happen to have the same taste in Desktop Environment
shame
October 28th, 2007, 04:45 PM
Find the line that does the autogen.sh command, which will be something like ./autogen.sh --prefix=/usr and add bits to disable the gnome stuff maybe.
Something like ./autogen.sh --prefix=/usr --disable-gnome --disable-gtk
Though I think some gnome stuff will still be needed.
Ornedan
October 31st, 2007, 12:41 PM
Find the line that does the autogen.sh command, which will be something like ./autogen.sh --prefix=/usr and add bits to disable the gnome stuff maybe.
Something like ./autogen.sh --prefix=/usr --disable-gnome --disable-gtk
Though I think some gnome stuff will still be needed.
I think it'd be ./autogen.sh --prefix=/usr --disable-gnome --disable-gtk --disable-gconf
But that just disables the compilation of the gnome components, the script makes the dependency check before compilation and doesn't consider the autogen parameters when doing it -> Would still need to have the Gnome dependencies present before the script is willing to start compiling.
plun
October 31st, 2007, 06:51 PM
Works just fine on Hardy Heron ( the same as Gutsy for the moment)
Running from "Source" with Gutsy was "mission impossible"....:confused:
The version 0.5.5 is really stupid because Ubuntus packages must be blocked.
Below works :)
plun@dunder:~/compiz-fusion-git$ dpkg -l | grep compizii compiz-bcop 0.6.99~git20071021+3v1ubuntu0 Compiz option code generator
ii compiz-core 1:0.5.5~git20071030+3v1ubuntu0 OpenGL window and compositing manager
ii compiz-fusion-plugins-extra 0.6.99~git20071031+3v1ubuntu0 Collection of Compiz Fusion plugins for Comp
ii compiz-fusion-plugins-main 0.6.99~git20071031+3v1ubuntu0 Collection of Compiz Fusion plugins for Comp
ii compiz-fusion-plugins-unsupported 0.6.99~git20071031+3v1ubuntu0 Collection of plugins for Compiz - Unsupport
ii compiz-gnome 1:0.5.5~git20071030+3v1ubuntu0 OpenGL window and compositing manager - GNOM
rc compiz-gtk 1:0.3.6-1ubuntu13 OpenGL window and compositing manager - Gtk
ii compiz-plugins 1:0.5.5~git20071030+3v1ubuntu0 OpenGL window and compositing manager - plug
ii libcompizconfig-backend-gconf 0.6.99~git20071028+3v1ubuntu0 GNOME Backend for the Compiz Configuration S
ii libcompizconfig0 0.6.99~git20071021+3v1ubuntu0 Settings library for plugins - Compiz Fusion
ii libemeraldengine0 0.3~git20070717-0ubuntu1 Decoration engines for compiz-fusion
ii python-compizconfig 0.6.99~git20071021+3v1ubuntu0 Python bindings for the Compiz Configuration
Screensaver crashes. Going to check if its possible to install from source.
aantn
October 31st, 2007, 07:23 PM
Plun, can you be more clear about how you got it working?
plun
October 31st, 2007, 07:36 PM
Plun, can you be more clear about how you got it working?
Well... its rather easy...but...
First of all build packages.
git-clone git://anongit.opencompositing.org/users/3v1n0/compiz-fusion-debian-builder compiz-fusion-git
cd compiz-fusion-git
./makefusiondebs
During this build 3 packages reaches higher value for packages and
the update manager "serves" them.
Inside compiz-fusion-git > debs you have the others.
You must then uninstall Gutsys packages and install debs.
(from terminal or Synaptic, several of them also have dependencies)
With dpkg -l | grep compiz you check package version.
The screensaver still crashes....:p
aantn
November 1st, 2007, 03:11 PM
That works. :)
I seem to remember running into more issues last time I tried...
plun
November 1st, 2007, 05:59 PM
That works. :)
I seem to remember running into more issues last time I tried...
Yup :)
Now we just need a smart easy way to change version number.
Change every 0.5.5 package to 0.6.3 :o :p
One example:
http://intimate.handhelds.org/PackagingHowTo.html
Debians control file
http://www.debian.org/doc/debian-policy/ch-controlfields.html
:cool:
jackkerouac
November 6th, 2007, 01:03 AM
Did Trevino die or something? Is he on vacation?
aantn
November 6th, 2007, 08:10 AM
Did Trevino die or something? Is he on vacation?
Wouldn't he have said if he was going on vacation.
I know that he was arguing with Amaranth wether there should be a git repo for Gutsy, and I don't know what happened.
Quattro
November 9th, 2007, 08:24 AM
i think there should be a repo for gutsy, only problem is that the packages the build script makes are lower in version then those of ubuntu...
<edit>
i'm trying to find out where i can change the version of the package, should be somewhere in the debian/control of compiz :S
<edit>
I found where the version is modified, something is patching configure.ac, trying to find out what does the patching
</edit>
</edit>
i'm still a bit in the dark why ubuntu chose to put development versions of compiz and firefox in the repo's
I succeeded in creating a repo, and fill it with the latest and greatest packages for Gutsy i386 and AMD64
downside is that my upload won't survive all of you =(
I'm looking into other options, but I'll keep you posted, maybe I'll just send them to trevi
YEAH
i was able to ftp the whole bunch to my own hosting, http://kwatrow.nl/repo/
*edit
untill i find a better way to upload the repo to my hosting the repo will be hosted at http://home.kwatrow.nl/repo
don't expect godspeed though :P
dsvilko
November 12th, 2007, 10:29 AM
That's great!
Only, the snow plugin does not work, or rather there is no keybinding tab in the CCSM.
And just when I found a nice winter background... :)
aantn
November 12th, 2007, 10:32 AM
I suppose the big question is "What happened to Trevinho?!"
Quattro
November 12th, 2007, 11:45 AM
That's great!
Only, the snow plugin does not work, or rather there is no keybinding tab in the CCSM.
And just when I found a nice winter background... :)
i'm having more trouble with the packages, plugins-unofficial for instance...
(as in non-existent for the moment)
i can look into snow for you, but i think it's not the fault of the packages, maybe the source is a bit outdated and doesn't support ccsm as well as it used to do...
dsvilko
November 13th, 2007, 01:23 PM
Well, I am back on the 7.10 official packages for now.
Is it just me or are some things (opening menus and changing tabs in the Firefox) much slower in the git version?
aantn
November 13th, 2007, 01:38 PM
Well, I am back on the 7.10 official packages for now.
Is it just me or are some things (opening menus and changing tabs in the Firefox) much slower in the git version?
Firefox switches tabs fast for me... Then again, I haven't bothered to compare it to without compiz.
aantn
November 15th, 2007, 04:46 PM
I've edited the script around a bit and the version numbers are now fixed. You can download it from here: http:/theesylum.com/download/makefusiondebs
All I did was comment out the line:
version="${base_comp_ver}~git$(git_commit_date)+${package_s ufix}${buildstamp}"[code]
And replace it with:
[code]version="1:0.6.0+git$(git_commit_date)+${package_sufix}${bu ildstamp}"
plun
November 15th, 2007, 05:34 PM
Yup, seems to work.....:D
But I checked versions and for "bravehearts" running Hardys repo its 0.6.2, easy
to change with your solution... Thanks !!!;)
http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=compiz&searchon=name&subword=1&version=all&release=all
Any repo builder awake....;)
Quattro
November 24th, 2007, 09:00 PM
the script got updated, but i still can't get the extra-items to compile with the script :S
aantn
November 25th, 2007, 04:42 AM
Hmm... I don't seem to be getting all of the extra plugins installed either.
plun
November 25th, 2007, 08:35 AM
Well, our friend Trevino was in and changed this script...:)
http://gitweb.compiz-fusion.org/?p=users/3v1n0/compiz-fusion-debian-builder;a=commit;h=aa3a2ede2c3536b77240ff7c91a1103 7252acc95
What is he meaning with the text inside the file makefusiondebs-extra
# This file will be called from makefusiondebs to sync with extra repositories
#
# You can define both variables and commands.
# The commands MUST be into an 'extra_items_do' function (users could use also
# 'extra_user_items_do' not to ovverride default); the base syntax is:
# git_sync git://GIT-BASE-URL GIT-ITEM "BASE-DIR"
# So an example to grab compiz (as extra item) from freedesktop is:
# git_sync git://anongit.freedesktop.org/git xorg/app/compiz "$extradir"
#
# PLEASE DON'T EDIT THIS FILE, USE THE makefusiondebs-extra-user INSTEAD!!
GITEXTRA="$GITEXTRA\|/screensaver$\|/colorfilter$\|/workarounds$\|/radial-switcher$\|/cubecaps$\|/visualevent$\|/smackpad$\|/stars$\|/atlantis2$\|/cubedbus$\|/anaglyph$\|/filedebug$\|/notifier$\|/flash$\|/photowheel$\|/freewins"
]Inside makefusiondebs there are several matches but I cannot figure out how to
fix it.
makefusiondebs-extra-user :confused:
:)
Megaqwerty
November 27th, 2007, 09:00 PM
Hmm... I don't seem to be getting all of the extra plugins installed either.
Same with me. compiz-fusion-plugins-extra builds, but I seem to be missing the plugins therein (at least Anaglyph and Freewins...didn't look for the others.) I installed the .deb manually as well just to be sure, but alas they are still missing.
aantn
December 4th, 2007, 07:39 PM
One thing I've noticed is that all of the missing plugins are located in fusion/extra-items. I don't know if that helps. :(
hyperair
December 10th, 2007, 11:26 AM
I've tried and it's possible to checkinstall the rest of them I reckon. =P The sources are there.
aantn
December 10th, 2007, 05:40 PM
Thats good to know. You just disproved my theory that the debian directory was outdated.
I'm guessing that the script simply forgets to build that directory.
fettouhi
December 26th, 2007, 04:20 PM
Has anyone been able to install those new plugins in the extra-items folder? I've only been able to build a few of them by hand (make & sudo make install).
Regards
André
jackkerouac
December 30th, 2007, 04:18 AM
What about the new folder compiz-tools? How will this effect the script?
shoofy
January 2nd, 2008, 04:33 AM
There's a note in the script that actually installing the extra items is on Trevino's to do list for the script. It seems a little strange that he would make it download the packages if they can't be installed yet, but I guess he wanted us to be able to install the packages manually.
jackkerouac
January 6th, 2008, 03:34 AM
Well, he hasn't touched the script in forever, so I am assuming he's either busy or abandoned it.
Megaqwerty
January 6th, 2008, 03:44 AM
I concur. I plan to study the script and debian directories, but haven't yet had the time to do so. (I really do hope that Treviño comes back though...I don't look forward to sifting through the mass of code that is his update script ;) )
EDIT: Or...I suppose one of us could figure out at what point the script stopped working, and through the magic of GIT, we should be able to see what changed since then that would have caused this. If you want to know an easy way to look, you can go to http://gitweb.opencompositing.org/?p=users/3v1n0/compiz-fusion-debian-builder;a=summary and look through the commitdiff links. Or if the problem happens to be the debian directory, you can look through the commitdiffs here (http://gitweb.opencompositing.org/?p=users/3v1n0/compiz-fusion-debian;a=summary)
aantn
January 6th, 2008, 05:02 PM
I concur. I plan to study the script and debian directories, but haven't yet had the time to do so. (I really do hope that Treviño comes back though...I don't look forward to sifting through the mass of code that is his update script ;) )
EDIT: Or...I suppose one of us could figure out at what point the script stopped working, and through the magic of GIT, we should be able to see what changed since then that would have caused this. If you want to know an easy way to look, you can go to http://gitweb.opencompositing.org/?p=users/3v1n0/compiz-fusion-debian-builder;a=summary and look through the commitdiff links. Or if the problem happens to be the debian directory, you can look through the commitdiffs here (http://gitweb.opencompositing.org/?p=users/3v1n0/compiz-fusion-debian;a=summary)
Well, I'm a bit busy with ghop at the moment, but if you're trying to fix this than ignore my previous comment about the debian directories. Checkinstall does *not* use the debian directory, and the problem is most likely an outdated debian directory. Good luck.
shoofy
January 12th, 2008, 09:39 PM
What do you mean by "at what point the script stopped working?" The script still works fine for me. As far as I can tell it is still building the latest versions of the standard compiz fusion packages. It just doesn't build the extra plugins. I don't think this script ever built the extra plugins, so I wouldn't say that it stopped working in that respect, it just doesn't work yet. I think it will be very hard to make a script that is able to keep the extra plugins up to date, since many of them don't build successfully on any given GIT pull. I'm happy to donate some time and effort to working on this if anyone wants to make an attempt though.
Megaqwerty
January 12th, 2008, 10:15 PM
Sorry, you're probably correct. I stopped building from GIT for a bit after Gutsy came out, and started again around the time the FreeWins and Anaglyph plugins were introduced because I wanted to try them out. I had assumed that they were building before, and that some change in the script stopped them from building. This may explain why I haven't been able to see anything wrong in the admittedly short amount of time I've had to look over the script ;).
jackkerouac
January 30th, 2008, 02:29 PM
I'm getting the following error when trying to build:
1 out of 3 hunks FAILED -- rejects in file plugins/rotate.c
Patch 009-compiz-zoom-only-on-manual-rotate-option.patch does not apply (enforce with -f)
make: *** [debian/stamp-patched] Error 1
pato101
January 30th, 2008, 03:03 PM
this may be because the patch which is being to be applied does no longer match to the actual code.
Copy compiz-fusion-debian folder to compiz-fusion-debian-user and there, disable the patch via :
fusion/compiz-fusion-debian-user/compiz/debian/patches/series
removing the entry for the patch in conflict
jackkerouac
February 1st, 2008, 01:51 AM
this may