Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Technical discussions | Discussions techniques SOVERSION for vala CDApplet.so?
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Technical discussions | Discussions techniques

Subjects Author Language Messages Last message
[Locked] SOVERSION for vala CDApplet.so?
mtasaka English 12 mtasaka [Read]
13 March 2015 à 17:47

mtasaka, Monday 22 December 2014 à 18:14


Subscription date : 16 May 2008
Messages : 106
Well, I am trying to build also vala extension, however it seems that the built shared library CDApplet.so does not
have soversion. This is incovenient because without (proper) soversion it makes difficult to find out when API/ABI
changes (when proper soversion is given, when API/ABI changes we can easily detect it and can recompile all needed
files, however without soversion it cannot).

It is preferable that CDApplet.so also have soversion like libgldi.so.

BTW for rpmfusion packages (on F-20/21), I enabled almost all functions:
-- Stable:
-- Integration plug-ins:
-- - with Gnome support: yes
-- - with KDE support: yes
-- - with XFCE support: yes
-- Plug-ins:
-- - with Alsa-Mixer applet: yes
-- - with GMenu applet: yes
-- - with Impulse applet: yes
-- - with Indicator-Generic applet: yes
-- - with Keyboard-indicator applet: yes
-- - with Mail applet: yes
-- - with Messaging-Menu applet: yes
-- - with Recent-Events applet: yes (zeitgeist 1.0)
-- - with Sound Effects applet: yes
-- - with Status-Notifier applet: yes
-- - with Terminal applet: yes
-- - with Weblets applet: yes
-- - with Xgamma applet: yes
-- Add On:
-- - with Sound-Menu support: yes
-- - with Screen Resolution support: yes
-- - with Sensors support: yes
-- - with UPower support: yes (0.99+)
-- - with iCal support: yes
-- - with Exif support: yes
-- Third Party Interfaces:
-- - with Python2 interface: yes
-- - with Python3 interface: yes
-- - with Ruby interface: yes
-- - with Mono interface: no
-- - with Vala interface: no
-- - with Vala Translator (valac): no
-- Unstable:
-- - with Global-Menu applet: no
-- - with Disks applet: no
-- - with Doncky applet: no
-- - with KDE experimental support: no
-- - with Network-Monitor applet: no
-- - with Scooby-Do applet: no
-- Deprecated:
-- - with old Gnome support: no


With vala extension enabled, I think rpmfusion package (on Fedora 21/20) can have almost all default option
(I have no idea how unstable "Unstable" applets are. Are they worth trying?
Also I don't know about mono at all)

matttbe, Monday 29 December 2014 à 01:52


Subscription date : 24 January 2009
Messages : 12573
Hello,

It is preferable that CDApplet.so also have soversion like libgldi.so.

Yes, I agree with you, it should have a soversion. Now it has one => commited

BTW for rpmfusion packages (on F-20/21), I enabled almost all functions:

Great
By default, is it possible to install all applets (except maybe those with big dependences like Weblets) and only Python[23] interfaces? The idea is to have a fully usable dock without too much dependences. Ruby/Mono/Vala interfaces are only used by one or two applets. If other apps want to add their own applet into the dock, they can add a dependence to the right package.

I have no idea how unstable "Unstable" applets are. Are they worth trying?

They are still unstable ^^ (or not fully usable). They can be added in Alpha/Beta packages but not in stable packages .

Also I don't know about mono at all

Not a big deal if there is no Mono interface package

Thank you for your help!

PS: Do you think that it can be possible to also include these packages in official Fedora repos? If you add this CMake flag -DAVOID_PATENT_CRAP=yes, it will be no longer possible to enable the 'zoom' feature.

mtasaka, Monday 29 December 2014 à 06:39


Subscription date : 16 May 2008
Messages : 106
(First of all, Fedora 19 will be END_OF_LIFE on 2015-Jan-06, so I no longer take care of cairo-dock on F-19)

Thank you! I try enabling vala interface. By the way:

By default, is it possible to install all applets (except maybe those with big dependences like Weblets) and only Python[23]


Currently on F-20/21/22, people installing rpmfusion cairo-dock by
$ sudo yum install cairo-dock

will install
  • all core
  • stable plugins except for weblets
  • stable Add On
  • python2 interface (this is installed now because cairo-dock-launcher-API-daemon needs this)

And the following ones needs additional installion (by doing $ sudo install cairo-dock-XXXX)
  • kde-integration (packaged as cairo-dock-plug-ins-kde)
  • weblets (packaged as cairo-dock-plug-ins-webkit)
  • xfce-integration (packaged as cairo-dock-plug-ins-xfce)
  • python3 (packaged as cairo-dock-python3)
  • ruby (packaged as cairo-dock-ruby)

So people doing $ sudo yum install cairo-dock will see "normal" working cairo-dock.
Note that F-22 may change default python to 3.x, in case that comes, I change the default
python interface on cairo-dock accordingly.

They are still unstable ^^ (or not fully usable). They can be added in Alpha/Beta packages but not in stable packages .

Ah, I may try to package these ones to something like "cairo-dock-plug-ins-unstable" or so (if I want
to try), but will not make them installed by default.

PS: Do you think that it can be possible to also include these packages in official Fedora repos? If you add this CMake flag -DAVOID_PATENT_CRAP=yes, it will be no longer possible to enable the 'zoom' feature.

Thank you for info. Anyway I have to consult Red Hat legal issue authority, however currently I have one question.
  • Can "zoom" feature part be seperated from tarball (source code)?

To make cairo-dock introduced into Fedora, the "maybe-patent-issue"
part must be excluded also from source rpm (created from source tarball).
I can do the work of removing those parts by myself if "zoom" part is seperated on the code to some extent.

matttbe, Monday 29 December 2014 à 18:15


Subscription date : 24 January 2009
Messages : 12573
And the following ones needs additional installion (by doing $ sudo install cairo-dock-XXXX)
  • kde-integration (packaged as cairo-dock-plug-ins-kde)
  • weblets (packaged as cairo-dock-plug-ins-webkit)
  • xfce-integration (packaged as cairo-dock-plug-ins-xfce)
  • python3 (packaged as cairo-dock-python3)
  • ruby (packaged as cairo-dock-ruby)

So people doing $ sudo yum install cairo-dock will see "normal" working cairo-dock.

Is it possible to also install kde/xfce/gnome-integration plugins? No need to add dependences for these packages, they will be enabled if these dependences are installed (e.g. if you're using GNOME, GVFS should be installed and the corresponding daemon should be running)

Note that F-22 may change default python to 3.x, in case that comes, I change the default python interface on cairo-dock accordingly.
Good idea
But if Python3 is already installed by default, it can be interesting to also add this python3 package

Ah, I may try to package these ones to something like "cairo-dock-plug-ins-unstable" or so (if I want to try), but will not make them installed by default.
It's an excellent idea

Can "zoom" feature part be seperated from tarball (source code)?
Yes, I remembered this problem
Because this tarball will only be needed for Fedora, we don't want to share it to everybody (we don't want to give the idea to use this tarball instead of the original one ). But we can help you to build a new one.

If you just want to disable this feature, you just need to remove lines following #ifndef AVOID_PATENT_CRAP. The amplitude variable will always be 0.

But I don't know if it's enough: I think Apple guys registered a patent about the computation of the zoom feature, ... (yeah, just trigonometry... the owner of this patent should be Hipparchus, Pythagoras, Euclid and Archimedes ). Then we should also modify some code in cairo-dock-plug-ins/dock-rendering (and I'm not sure that it's exactly the same calculus... it's maybe not covered by this patent...) ==> dock-rendering: myIconsParam.fAmplitude

mtasaka, Tuesday 30 December 2014 à 07:59


Subscription date : 16 May 2008
Messages : 106
Hello, again:
Is it possible to also install kde/xfce/gnome-integration plugins? No need to add dependences for these packages, they will be enabled if these dependences are installed

Okay, kde/xfce integration is added to the "default" installation (note that gnome integration is already in "default" installation),
in the next update push (will be pushed in a week?) Again, here "default" installation means the installation by
$ sudo yum install cairo-dock


About may-be-patent issue:
For tarball, I can and will modify tarball by myself. Then
  • First I have to prepare srpm with those parts removed, build binary rpm
  • And consult Red Hat legal authority if it is okay. Reviews by the authority can take time, and additional modification may be requested by them (and additional help from you will be needed in that case).
  • If review by the authoriy passes, I can submit re-review of cairo-dock (packaging) on Fedora.
  • And if that passes, cairo-dock (without zoom effect) can be re-imported into Fedora.

In the came that comes, my plan is
  • Leave cairo-dock also on rpmfusion
  • People using Fedora repository only can use cairo-dock without zoom effect
  • People with enabling rpmfusion repository can install rpmfusion's cairo-dock, which "overrides" Fedora cairo-dock and see cairo-dock with zoom effect.


Well, I don't know either if removing zoom effect is enough or so, and it is highly expected that re-importing cairo-dock into Fedora may take time, however I will try.

mtasaka, Tuesday 30 December 2014 à 08:03


Subscription date : 16 May 2008
Messages : 106
One additional information
  • Vala interface now built
  • Unstable plug-ins (except for KDE unstable plug-ins) also built, however this is not installed by default. People trying to use these have to install this explicitly by $ sudo yum install cairo-dock-plug-ins-unstable .

These will be pushed in the next push (perhaps in one week?)

matttbe, Wednesday 31 December 2014 à 17:04


Subscription date : 24 January 2009
Messages : 12573
Nice! Thank you

matttbe, Wednesday 31 December 2014 à 17:08


Subscription date : 24 January 2009
Messages : 12573
Okay, kde/xfce integration is added to the "default" installation
Just to be sure: without extra dependences?

For tarball, I can and will modify tarball by myself.
Thank you

(and additional help from you will be needed in that case).
Sure, no problem!

In the came that comes, my plan is
  • Leave cairo-dock also on rpmfusion
  • People using Fedora repository only can use cairo-dock without zoom effect
  • People with enabling rpmfusion repository can install rpmfusion's cairo-dock, which "overrides" Fedora cairo-dock and see cairo-dock with zoom effect.
Yes, excellent idea. Fedora users should also be able to have this zoom effect

Well, I don't know either if removing zoom effect is enough or so, and it is highly expected that re-importing cairo-dock into Fedora may take time, however I will try.
We have time, thank you

mtasaka, Friday 02 January 2015 à 08:29


Subscription date : 16 May 2008
Messages : 106
Hello:
Just to be sure: without extra dependences?
Yes.

Now I have prepared the srpms which may be suitable for Fedora. I will consult Red Hat legal authority next week (seems people are on now Christmas or Mew year vacation)

matttbe, Friday 02 January 2015 à 16:09


Subscription date : 24 January 2009
Messages : 12573
Great, thank you

mtasaka, Monday 05 January 2015 à 16:42


Subscription date : 16 May 2008
Messages : 106
Update:

Today I talked to Red Hat legal authority and the testing srpms I created got "legally okay" for Fedora. Now I proceed to regular review process. If some reviewers appears and review my srpms (I will submit later), cairo-dock (zoom disabled) can be imported into Fedora.

matttbe, Tuesday 06 January 2015 à 16:07


Subscription date : 24 January 2009
Messages : 12573
Excellent! Thank you again for your help

mtasaka, Friday 13 March 2015 à 17:47


Subscription date : 16 May 2008
Messages : 106
Update:

See: http://glx-dock.org/bg_topic.php?t=8225

Technical discussions | Discussions techniques

Subjects Author Language Messages Last message
[Locked] SOVERSION for vala CDApplet.so?
mtasaka English 12 mtasaka [Read]
13 March 2015 à 17:47


Glx-Dock / Cairo-Dock List of forums Technical discussions | Discussions techniques SOVERSION for vala CDApplet.so? Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.