Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby jasmineaura on Fri Oct 12, 2012 5:56 pm

I've forked Compiz-0.8.8 (and all derivatives) for MATE desktop. This includes a native mateconf backend (replaces gconf), all plugins(main|extra|unsupported), emerald, compiz-bcop, and ccsm 0.8.4, python-compizconfig-0.8.4, fusion-icon-0.1.0.
Also forked gnome2-globalmenu, as mate-globalmenu ;)
Updates 14/Oct:
  • forked simple-ccsm 0.8.8 for mate after adding a patch to make it run with libcompizconfig 0.8.8
  • updated fusion-icon to list simple-ccsm. New screenshot added.
  • no more blacklisting cards. compiz-mate-gtk wrapper script tries indirect rendering before falling back to marco.
  • marco window properties ("windows" in control center) working under compiz now. New screenshots added.
Updates 16/Oct
  • Cleaned up mate-globalmenu source-base (removed all vala/xfce stuff), now on github
  • Update mate-globalmenu debs source tarball based on updated dist from github

For the impatient:
Code: Select all
wget http://jas.gemnetworks.com/jasmineaura.gpg.key -O- | sudo apt-key add -


Add to /etc/apt/sources.list.d/mate.list (or whatever.list you want):
Code: Select all
deb http://jas.gemnetworks.com/debian debian main
#deb-src http://jas.gemnetworks.com/debian debian main


Code: Select all
sudo apt-get update


To get: Compiz (-mate, and mateconf-backend), ccsm, main plugins, emerald (optional), fusion tray icon (optional), simple-ccsm (optional)
Code: Select all
sudo apt-get install compiz  compizconfig-settings-manager compiz-fusion-plugins-main emerald fusion-icon simple-ccsm


To get extra and/or unsupported plugins:
Code: Select all
sudo apt-get install compiz-fusion-plugins-extra
sudo apt-get install compiz-fusion-plugins-unsupported


If you want languages other than English or French:
Code: Select all
sudo apt-get install compiz-locales compizconfig-settings-manager-locales


to make compiz-mate start automatically at login:
Code: Select all
mateconftool-2 --set /desktop/mate/session/required_components/windowmanager --type string compiz


If you want to use emerald instead of the standard window decoration by compiz-mate, you'll need some themes. LinuxMint.com seems to have the latest and greatest out there :)
http://packages.linuxmint.com/pool/main ... ia_all.deb
http://packages.linuxmint.com/pool/main ... ia_all.deb

to get mate-globalmenu:
Code: Select all
sudo apt-get install mate-globalmenu

and to enable mate-globalmenu on your mate-panel:
Code: Select all
mateconftool-2 --set /apps/mate_settings_daemon/gtk-modules/globalmenu-mate-panel --type bool true

this is provided you don't disable the plugin (default enabled):
Code: Select all
mateconftool-2 --get /apps/mate_settings_daemon/gtk-modules/globalmenu-plugin
(should output "true")

Finally, add Panel Menu Bar to the top panel if it is not already there.

And as the parent project notes: "loading and unloading the module on the fly is yet experimental. Random crashes do occur: Save your work before toggling Global Menu! So please immediately restart your gnome session after changing this key"

Screenshots

Native window decoration by MATE's window manager (marco) :cool:
Image

Marco window properties, under compiz:
Image

Mate compatibility plugin in ccsm:
Image

Mateconf backend in ccsm:
Image

simple-ccsm & fusion-icon:
Image

LinuxMint Cube branding (after enabling svg plugin):
Image

mate-globalmenu: add applet, applet preferences, window list
Image

mate-globalmenu integration with mate-terminal:
Image

mate-globalmenu with caja (MATE's file-manager):
Image

mate-globalmenu with pluma (MATE's text-editor):
Image

gimp, it all just works with mate-globalmenu :)
Image

There are some odd ones that don't work (ex. firefox).
See: gnome2-globalmenu application compatbility list

--

This software is experimental, use at your own risk.

All Debian packages are distributed with '3.0 (quilt)' source package format, which you can use to build your own binary packages.
All sources' jars/tarballs are original, untouched from upstream, and only modified with patches in debian/patches during build.
The only exception is mate-globalmenu source, as the changes to it were too many to maintain in patches.
Last edited by jasmineaura on Thu Oct 25, 2012 3:47 pm, edited 11 times in total.
User avatar
jasmineaura
Level 2
Level 2
 
Posts: 60
Joined: Thu Mar 08, 2012 3:38 am
Location: Cairo, Egypt

Linux Mint is funded by ads and donations.
 

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby negativezero on Sat Oct 13, 2012 9:07 pm

Ah, thank you so much. I was waiting for someone to do this.

One thing that proved rather annoying is that the Sandybridge Intel graphics adapter in my laptop was blacklisted for no apparent reason. I had to pull the source and rebuild with the blacklisting code commented out; since the people installing this are probably going to be ones who know what they are doing anyway, is there any chance the relevant patch (060_something, I believe) could be omitted in the future?
negativezero
Level 1
Level 1
 
Posts: 1
Joined: Sat Oct 13, 2012 9:04 pm

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby jasmineaura on Sat Oct 13, 2012 9:41 pm

Certainly. it wasn't needed anyhow, as we're already doing checks in compiz-mate-gtk wrapper script. check last point in changelog below. 0.8.8-2 up ^_^
Updating original post.

compiz (0.8.8-2) unstable; urgency=low

* Don't remove compiz.desktop, and don't bundle compiz-mate-gtk.desktop
in debian/mate_files
* Don't remove compiz-wm.desktop. Install it from package compiz-mate in
usr/share/mate/wm-properties/compiz-wm.desktop, for marco windows
settings to work in compiz.
* update 001-mate-compiz.patch to update both desktop files to:
- use X-MATE-WMSettingsModule=marco and X-MateWMSettingsLibrary=marco
- drop deprecated Encoding=UTF-8 attribute
* delete no longer needed patch 018_use_marco_settings.patch
* delete no longer needed patch 060_move_checks_to_compiz.patch, we're
already checking capabilities in /usr/bin/compiz-mate-gtk wrapper,
and if we can't do indirect rendering, we fall back to marco.
User avatar
jasmineaura
Level 2
Level 2
 
Posts: 60
Joined: Thu Mar 08, 2012 3:38 am
Location: Cairo, Egypt

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby robespierre on Tue Oct 16, 2012 8:25 am

it is possible to add support of qt-apps by mate-globalmenu?
Anyway, thanks for this fork.
robespierre
Level 1
Level 1
 
Posts: 23
Joined: Sun Sep 09, 2012 9:06 am

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby ddurdle on Tue Oct 16, 2012 8:35 am

I take it that this plays nice with marco? Like it won't cause marco to need to be killed due to excessive idle cpu usage (with compiz in the distribution's repos), or do we still need that workaround?
ddurdle
Level 3
Level 3
 
Posts: 106
Joined: Sat Dec 17, 2011 10:03 am

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby jasmineaura on Wed Oct 17, 2012 3:44 am

robespierre wrote:it is possible to add support of qt-apps by mate-globalmenu?


Not anytime soon. Only GTK2 apps are supported for now. Sorry.

Edit: may be possible, https://gitorious.org/firefox-gnome-glo ... globalmenu
but, as author claims, only tested with QT 4.7 http://code.google.com/p/gnome2-globalm ... ?id=34#c26

If you know it works and is stable (with gnome2), I might consider porting and testing it on MATE.

ddurdle wrote:I take it that this plays nice with marco? Like it won't cause marco to need to be killed due to excessive idle cpu usage (with compiz in the distribution's repos), or do we still need that workaround?


This fork was made to specifically play nice with MATE and its window manager -- marco :)

--

NOTE: I may very soon re-fork as matepiz, to avoid conflicts with Mainline Compiz 0.9.x, for those that are using both MATE and Gnome3 with compiz. Re-forking as matepiz will require a bit of effort to rename all files to be different (as to avoid conflicts with original compiz), but this will also allow me to submit for addition to Debian.
User avatar
jasmineaura
Level 2
Level 2
 
Posts: 60
Joined: Thu Mar 08, 2012 3:38 am
Location: Cairo, Egypt

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby robespierre on Wed Oct 17, 2012 4:15 am

jasmineaura wrote:Not anytime soon. Only GTK2 apps are supported for now.



Ok, thanks for answer.
robespierre
Level 1
Level 1
 
Posts: 23
Joined: Sun Sep 09, 2012 9:06 am

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby jasmineaura on Wed Oct 17, 2012 4:18 am

robespierre wrote:
jasmineaura wrote:Not anytime soon. Only GTK2 apps are supported for now.


Ok, thanks for answer.


I edited the post. It may be possible. If you can test and confirm the qt4-gnome-globalmenu works on gnome2 and is stable, I might consider porting it to MATE, soonish. :)
User avatar
jasmineaura
Level 2
Level 2
 
Posts: 60
Joined: Thu Mar 08, 2012 3:38 am
Location: Cairo, Egypt

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby robespierre on Wed Oct 17, 2012 8:17 am

jasmineaura wrote:
If you can test and confirm the qt4-gnome-globalmenu works on gnome2 and is stable, I might consider porting it to MATE, soonish. :)


Ok, i will check for it.
I have debian squeeze with gnome2-globalmenu on grandfather's pc :)

P.S.
It there differencies in code beetwen gnome2-globalmenu and ubuntu-appmenu?
I can't remember, but i think, that ubuntu-appmenu supports both qt and gtk.

Sorrt for my eng
robespierre
Level 1
Level 1
 
Posts: 23
Joined: Sun Sep 09, 2012 9:06 am

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby jasmineaura on Wed Oct 17, 2012 10:04 pm

robespierre wrote:
jasmineaura wrote:P.S.
It there differencies in code beetwen gnome2-globalmenu and ubuntu-appmenu?
I can't remember, but i think, that ubuntu-appmenu supports both qt and gtk.

Sorrt for my eng


At the current state, afaik, besides GTK applications, appmenu also supports QT and XUL apps. Examples of the latter: Firefox/Thunderbird (though must be ubuntu-modified [1]). Others like libre-office, callibre, etc. need plugins (not part of the project -- developed independently by others).

One argues that appmenu's current implementation is superior to gnome-globalmenu's solution, mainly due to its support in several desktop environments. [2]
Another disfavor appmenu in the same comparison, because its implementation uses D-Bus, which is seen a limiting. Ex. can't work for windows handled by other users' processes, or with X11 network redirection. [3]

Can't really say much about appmenu from experience, as I haven't really used Ubuntu since the introduction of Unity :mrgreen:
User avatar
jasmineaura
Level 2
Level 2
 
Posts: 60
Joined: Thu Mar 08, 2012 3:38 am
Location: Cairo, Egypt

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby robespierre on Fri Oct 19, 2012 7:52 am

Sorry, man, i overleap oneself :( I never compiling from source with qmake before.
I'm trying, but there are a lot of inexplicit errors and messages.
robespierre
Level 1
Level 1
 
Posts: 23
Joined: Sun Sep 09, 2012 9:06 am

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby shideneyu on Tue Oct 23, 2012 3:35 pm

Hi !
For of all, thanks you infinitely of having work to port these magnificiants tools to the mate's community.

I was planning to switch to xfce in order to get the global-menu's compatibility.

On top of that, I was following a project for several months now, to no avail since it stills doesn't work unfortunately :( : https://github.com/Xancomp/mate-globalmenu


I have succeeden to install your compiz experimental version.

However, I haven't succeed to install or even to compile your mate global menu.
I have succeeded to install mate-globalmenu-common but I don't know what is it :s ?

I got a nearly fresh install of Linux Mint 13.

Code: Select all
➜  mate-globalmenu-0.7.10  sudo apt-get install mate-globalmenu     
zsh: correct 'install' to 'INSTALL' [nyae]? n
Reading package lists... Done
Building dependency tree       
Reading state information... 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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mate-globalmenu : Depends: mate-applet-globalmenu but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


In order to get the apt source working on my laptop, I had to did this.... :

Code: Select all
deb [arch=amd64] http://jas.gemnetworks.com/debian debian main
deb-src [arch=amd64] http://jas.gemnetworks.com/debian debian main


The first thing I tried to do was to install mate-applet-globalmenu, but it required another packet. I tried to install it, and it required another packet and so on. The last time it required me a packet, I have succeeden to install the required packet, but the message doesn't disappeared :s
So here is a log... in order to illustrate that:
Code: Select all
➜  ~  sudo apt-get install mate-applet-globalmenu
Reading package lists... Done
Building dependency tree       
Reading state information... 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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mate-applet-globalmenu : Depends: libglobalmenu-mate (= 0.7.10-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
➜  ~  sudo apt-get install libglobalmenu-mate
Reading package lists... Done
Building dependency tree       
Reading state information... 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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libglobalmenu-mate : Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-3ubuntu9.1 is to be installed
E: Unable to correct problems, you have held broken packages.
➜  ~  sudo apt-get install libfontconfig1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libfontconfig1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 405 not upgraded.
 


So, I tried the other method (building from the sources). Unfortunately, it also required few other tricks:
First thing, I installed these packets:
sudo apt-get install dpkg-dev devscripts debhelper libgtk2.0-dev libwnck-dev libmatepanelapplet-dev libmatemenu-dev libmatenotify-dev hardening-wrapper

It was completely compulsory. (dpkg-dev to unpack, devscript to debuild, and the others one in order to get rid of the first errors I think)
After a long minute of debuild, the last error I encountered :D :
Here are the last lines (there is no logical meaning of what part I chose (I chose in random, untill the end))
Code: Select all
 dpkg-genchanges  >../mate-globalmenu_0.7.10-2_amd64.changes
dpkg-genchanges: not including original source code in upload
 dpkg-source --after-build mate-globalmenu-0.7.10
dpkg-buildpackage: binary and diff upload (original source NOT included)
Now running lintian...
W: libmatenu0-dev: copyright-without-copyright-notice
W: libmatenu0: package-name-doesnt-match-sonames libglobalmenu-server3
W: libmatenu0: copyright-without-copyright-notice
W: libmatenu0: non-dev-pkg-with-shlib-symlink usr/lib/libglobalmenu-server.so.3.0.0 usr/lib/libglobalmenu-server.so
W: mate-globalmenu-common: copyright-without-copyright-notice
W: libglobalmenu-mate: copyright-without-copyright-notice
E: libglobalmenu-mate: pkg-has-shlibs-control-file-but-no-actual-shared-libs
W: libglobalmenu-mate: postinst-has-useless-call-to-ldconfig
W: libglobalmenu-mate: postrm-has-useless-call-to-ldconfig
W: mate-applet-globalmenu: copyright-without-copyright-notice
W: mate-globalmenu: copyright-without-copyright-notice
Finished running lintian.
Now signing changes and any dsc files...
 signfile mate-globalmenu_0.7.10-2.dsc Jasmine Hassan <jasmine.aura@gmail.com>
gpg: skipped "Jasmine Hassan <jasmine.aura@gmail.com>": secret key not available
gpg: /tmp/debsign.Qp1x9vxA/mate-globalmenu_0.7.10-2.dsc: clearsign failed: secret key not available
debsign: gpg error occurred!  Aborting....
debuild: fatal error at line 1271:
running debsign failed


Is there another new GPG key that doesn't allow me to debuild?

Thanks for your work !

PS: may you tell me what language did you used in order to be able to make these kind of portages? I'm a french student who was first planning to become a web developper and only knows some ruby basics (and few basics knowledge in other languages) and I would greatly appreciate to be able to make such magnificiants things :s :)
shideneyu
Level 1
Level 1
 
Posts: 14
Joined: Tue Oct 23, 2012 3:12 pm

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby jasmineaura on Wed Oct 24, 2012 11:01 pm

shideneyu wrote:
Code: Select all
 libglobalmenu-mate : Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-3ubuntu9.1 is to be installed
shideneyu wrote:Is there another new GPG key that doesn't allow me to debuild?


That's because I compiled on LMDE w/ UP5 , so basically Debian Testing/Wheezy package versions (or close). I'm surprised though, as I would've thought it would be the other way around (Ubuntu versions being the more recent). Is your Mint 13 updated? just curious.

shideneyu wrote:Is there another new GPG key that doesn't allow me to debuild?


from `man debuild` , Examples section:
The typical command line options to build only the binary package(s) without signing the .changes file (or the non-existent .dsc file):

debuild -i -us -uc -b

Change the -b to -S to build only a source package.


shideneyu wrote:PS: may you tell me what language did you used in order to be able to make these kind of portages? I'm a french student who was first planning to become a web developper and only knows some ruby basics (and few basics knowledge in other languages) and I would greatly appreciate to be able to make such magnificiants things :s :)


Basic Gnome -> MATE conversions, I have my own adaptation, based on benpicco's/perberos bash script:
https://github.com/jasmineaura/mate-scripts

You need to be at least familiar with all the following: the shell (ex. bash), shell scripting (bash/sh), common basic tools as "diff", "patch", "automake", "autoconf", "autotools", "intltool", "libtool", compilers as gcc and g++ (which requires at least basic knowledge of C/C++), occasionally python, perl, etc. The more programming languages (and programming styles) you are familiar with, the easier you can fix potential code issues when migrating.

For packaging: http://wiki.debian.org/Packaging , and google :)
There are a few good recent howtos on "quilt" at raphael hertzog's blog:
http://raphaelhertzog.com/2012/08/08/ho ... -packages/
http://raphaelhertzog.com/2011/07/04/ho ... -packages/
There's a tutorial pdf , also avialable in french: /usr/share/doc/packaging-tutorial/packaging-tutorial.fr.pdf (apt-get install packaging-tutorial)
User avatar
jasmineaura
Level 2
Level 2
 
Posts: 60
Joined: Thu Mar 08, 2012 3:38 am
Location: Cairo, Egypt

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby shideneyu on Thu Oct 25, 2012 3:58 am

Thanks you for the advise, I'll take a closer look very soon it seems very interresting :)

After having done a debuild -i -us -uc -b

Code: Select all
➜  mate-globalmenu-0.7.10  sudo dpkg -i ../mate-applet-globalmenu_0.7.10-2_amd64.deb
Selecting previously unselected package mate-applet-globalmenu.
(Reading database ... 174146 files and directories currently installed.)
Unpacking mate-applet-globalmenu (from .../mate-applet-globalmenu_0.7.10-2_amd64.deb) ...
dpkg: dependency problems prevent configuration of mate-applet-globalmenu:
 mate-applet-globalmenu depends on libmatenu0 (= 0.7.10-2); however:
  Package libmatenu0 is not installed.
 mate-applet-globalmenu depends on libglobalmenu-mate (= 0.7.10-2); however:
  Package libglobalmenu-mate is not installed.
dpkg: error processing mate-applet-globalmenu (--install):
 dependency problems - leaving unconfigured
Processing triggers for mate-conf ...
Errors were encountered while processing:
 mate-applet-globalmenu


So I tried forcing the install libmatemenu0 although the required dependencies seem not to be here:
Code: Select all
 ➜  mate-globalmenu-0.7.10  sudo apt-get -f install           
zsh: correct 'install' to 'INSTALL' [nyae]? n
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libmatenu0
The following packages will be REMOVED:
  mate-applet-globalmenu mate-globalmenu
The following NEW packages will be installed:
  libmatenu0
0 upgraded, 1 newly installed, 2 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 75.1 kB of archives.
After this operation, 4,096 B disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://jas.gemnetworks.com/debian/ debian/main libmatenu0 amd64 0.7.10-2 [75.1 kB]
Fetched 75.1 kB in 0s (373 kB/s)   
(Reading database ... 174154 files and directories currently installed.)
Removing mate-globalmenu ...
Removing mate-applet-globalmenu ...
Processing triggers for mate-conf ...
Selecting previously unselected package libmatenu0.
(Reading database ... 174143 files and directories currently installed.)
Unpacking libmatenu0 (from .../libmatenu0_0.7.10-2_amd64.deb) ...
Setting up libmatenu0 (0.7.10-2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
➜  mate-globalmenu-0.7.10 


Same for the other package:

Code: Select all
 ➜  mate-globalmenu-0.7.10  sudo apt-get -f install                   
zsh: correct 'install' to 'INSTALL' [nyae]? n
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  mate-applet-globalmenu
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 211 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 174158 files and directories currently installed.)
Removing mate-applet-globalmenu ...
Processing triggers for mate-conf ...
➜  mate-globalmenu-0.7.10 


The last one as well I hope...:
Code: Select all
 ➜  mate-globalmenu-0.7.10  sudo apt-get -f install                 
zsh: correct 'install' to 'INSTALL' [nyae]? n
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  mate-applet-globalmenu
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 211 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 174158 files and directories currently installed.)
Removing mate-applet-globalmenu ...
Processing triggers for mate-conf ...


Damn, It stills doesn't work...
Code: Select all
 ➜  mate-globalmenu-0.7.10  sudo apt-get install libglobalmenu-mate
zsh: correct 'install' to 'INSTALL' [nyae]? n
Reading package lists... Donelibmatenu0
Building dependency tree       
Reading state information... 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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libglobalmenu-mate : Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-3ubuntu9.1 is to be installed


(before forcing the required packages, I have no written that I have done "sudo apt-get install libmatenu0" and so on)

It seems that I have done a lot of things wrong. It's high time that I learn the whole process behind compiling, I was using Ubuntu for 3-4 years now, and I only know basics (./configure make make install uh xD); though I know shell language.

Oh and I've just made an "sudo apt-get upgrade" before doing this.
shideneyu
Level 1
Level 1
 
Posts: 14
Joined: Tue Oct 23, 2012 3:12 pm

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby zerozero on Thu Oct 25, 2012 4:04 am

libglobalmenu-mate : Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-3ubuntu9.1 is to be installed

the lock is here.
Code: Select all
apt policy libfontconfig1
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6489
Joined: Tue Jul 07, 2009 2:29 pm

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby shideneyu on Thu Oct 25, 2012 10:35 am

Okay, it seems we're hurting a wall here:
My logs:
Code: Select all
➜  ~  sudo apt policy libfontconfig1
libfontconfig1:
  Installed: 2.8.0-3ubuntu9.1
  Candidate: 2.8.0-3ubuntu9.1
  Version table:
 *** 2.8.0-3ubuntu9.1 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.8.0-3ubuntu9 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages


viewtopic.php?f=198&t=108355
shideneyu
Level 1
Level 1
 
Posts: 14
Joined: Tue Oct 23, 2012 3:12 pm

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby zerozero on Thu Oct 25, 2012 11:49 am

i see :shock: a further search http://packages.ubuntu.com/search?suite ... ontconfig1 shows that >=2.9.0 is only available in quantal (next mint14)
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6489
Joined: Tue Jul 07, 2009 2:29 pm

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby shideneyu on Thu Oct 25, 2012 1:21 pm

Well so let's wait =)
I'll keep linux mint for now.

Oh and it seems I have a lot of broken packages or some problems... I hate doing things when I don't know what are the consequences :s

Code: Select all
➜  shidoblog git:(master) gitg
Gtk-Message: Failed to load module "globalmenu-plugin"


(It seems everytime I launch a gtk app, this gtk-message opens) . There is no package named "globalmenu-plugin".
shideneyu
Level 1
Level 1
 
Posts: 14
Joined: Tue Oct 23, 2012 3:12 pm

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby jasmineaura on Thu Oct 25, 2012 4:27 pm

shideneyu wrote:After having done a debuild -i -us -uc -b

Code: Select all
➜  mate-globalmenu-0.7.10  sudo dpkg -i ../mate-applet-globalmenu_0.7.10-2_amd64.deb
...
dpkg: dependency problems prevent configuration of mate-applet-globalmenu:
 mate-applet-globalmenu depends on libmatenu0 (= 0.7.10-2); however:
  Package libmatenu0 is not installed.
 mate-applet-globalmenu depends on libglobalmenu-mate (= 0.7.10-2); however:
  Package libglobalmenu-mate is not installed.
....


1. When you see so many dependency problems, know you're not installing the right package, or not in the right order.

2. You should follow (or adapt from) the instructions. That is, when the original post says:
to get mate-globalmenu:
Code: Select all
sudo apt-get install mate-globalmenu


It really means mate-globalmenu, not mate-applet-globalmenu. That is because mate-globalmenu, as it's description says:
This metapackage provides the components necessary to run mate-globalmenu

metapackage/virtual-packages are there to make your life simple. You chose to type extra (-applet), and consequently make your life harder :P

So you could've started with:
a. `sudo dpkg -i mate-globalmenu_0.7.10-2_all.deb` , see which packages it tells you to include, and modify your dpkg -i accordingly. ex: `sudo dpkg -i mate-globalmenu_*.deb mate-applet-globalmenu_*.deb ../etc` .. tagging each other required package to the `dpkg -i` command list, as you go. So, you'd next tag libmatenu0_*.deb, then libglobalmenu-mate_*.deb, mate-globalmenu-common_*.deb, etc.

but you could just do it the easier way:
b. `sudo dpkg -i ../*.deb`. Then you can safely purge the -dev package with: `sudo apt-get purge libmatenu0-dev`, if you only wanted binaries installed.

And that would've done it for you, but you went on causing yourself more problems :)

shideneyu wrote:So I tried forcing the install libmatemenu0 although the required dependencies seem not to be here:
Code: Select all
 ➜  mate-globalmenu-0.7.10  sudo apt-get -f install           
...


Same for the other package:

Code: Select all
 ➜  mate-globalmenu-0.7.10  sudo apt-get -f install                   
...


The last one as well I hope...:
Code: Select all
 ➜  mate-globalmenu-0.7.10  sudo apt-get -f install                 
...



Really not a good idea to force (-f) install when you *know* you have unmet/conflicting dependencies.. You could end up having an unstable X /window-session even if it ran. At the very least, you could kill your panel randomly/at-login, all kinds of no fun. Lucky for you, apt-get force in this case isn't pulling in packages that conflict with base packages, which could possibly make you need to reinstall the system.

shideneyu wrote:Damn, It stills doesn't work...
...
The following packages have unmet dependencies:
libglobalmenu-mate : Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-3ubuntu9.1 is to be installed
[/code]


Of course it wouldn't work. Why have you bothered debuild in first place, if you'd end up grabbing same package from repo that was built against more recent lib than that available for your system?
I hope you're following what I'm saying.

When you debuild, you get all these packages built from source:
Code: Select all
mate-globalmenu-0.7.10 $ ls ../*.deb
../libglobalmenu-mate_0.7.10-2_amd64.deb  ../mate-applet-globalmenu_0.7.10-2_amd64.deb
../libmatenu0_0.7.10-2_amd64.deb          ../mate-globalmenu_0.7.10-2_all.deb
../libmatenu0-dev_0.7.10-2_amd64.deb      ../mate-globalmenu-common_0.7.10-2_all.deb


So the solution was there on your system soon after `debuild -i -us -uc -b` was done. That is:
Code: Select all
sudo dpkg -i ../*.deb

That would've installed libglobalmenu-mate which was just built against the libfontconfig1 version on your system (2.8.0-3ubuntu9.1).

Either install the whole set of debs locally built from source, or whole set from repo (`apt-get install mate-globalmenu`, and not mate-applet-globalmenu!). Don't mix and match :)

So, to cleanup:
Code: Select all
sudo apt-get purge libmatenu0 libglobalmenu-mate mate-globalmenu-common

(that should remove all the other globalmenu packages, because they depend on them)

then in the parent directory where debuild built your debs, do:
Code: Select all
sudo dpkg -i *.deb
sudo apt-get purge libmatenu0-dev


Or, wait until I rebuild libglobalmenu-mate against older libfontconfig1 (<= 2.8.0), so you can get any potential updates from repo without breaking your install on upgrades. :)

Cheers
User avatar
jasmineaura
Level 2
Level 2
 
Posts: 60
Joined: Thu Mar 08, 2012 3:38 am
Location: Cairo, Egypt

Re: Forks: Compiz-MATE 0.8.8, mate-globalmenu 0.7.10 (LMDE)

Postby shideneyu on Fri Oct 26, 2012 4:56 pm

Thanks you so much, I understand more and more the whole process behind everything.

Most of all... it works !! I finally got it, a nice working mate-globalmenu :mrgreen:


In the future, I will play it more safer (and stop forcing dependencies =) ).
shideneyu
Level 1
Level 1
 
Posts: 14
Joined: Tue Oct 23, 2012 3:12 pm

Linux Mint is funded by ads and donations.
 
Next

Return to Others

Who is online

Users browsing this forum: No registered users and 2 guests