[kde-freebsd] Re: Conflict between KDE and GNOME in a prefix...

Jeremy Messenger mezz7 at cox.net
Fri Sep 1 04:23:15 UTC 2006


On Mon, 28 Aug 2006 13:09:37 -0500, Jeremy Messenger <mezz7 at cox.net> wrote:

> On Mon, 28 Aug 2006 10:26:00 -0500, Joe Marcus Clarke  
> <marcus at marcuscom.com> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Andy Fawcett wrote:
>>> Hi Joe, Mezz, Gnome, KDE,
>>>
>>> On Saturday 26 August 2006 20:50, Joe Marcus Clarke wrote:
>>>> On Sat, 2006-08-26 at 03:43 -0500, Jeremy Messenger wrote:
>>>>> Hello folks,
>>>>>
>>>>> We, FreeBSD GNOME Team, have successed to move GNOME from X11BASE
>>>>> to LOCALBASE. There are three files that are conflict between KDE
>>>>> and GNOME. The two files that need to be fix in the KDE side and
>>>>> another file that is need to be fix both in the GNOME and KDE
>>>>> sides.
>>>>>
>>>>> http://people.freebsd.org/~mezz/conflict_prefix.txt
>>>>>
>>>>> etc/xdg/menus/applications.menu:
>>>>> =============================================
>>>>> GNOME and KDE teams will have to figure how to solve this problem.
>>>>> Take the looks at the other Linux distros or so would be a good
>>>>> start. If you have any good suggest, let us know.
>>>> We might need to create a small port that just handles conflicting
>>>> files such as this one.  applications.menu is not huge, and should be
>>>> interchangeable between GNOME and KDE.
>>>
>>> How different are the versions installed by Gnome & KDE?
>>>
>>> But yes, possibly we need an 'xdg-menu' port to cover such files.
>>
>> mezz could probably better answer this.  They should be comparable since
>> we're using the same xdg stuff.
> <snip>
>
> http://people.freebsd.org/~mezz/menu/
>
> Both KDE and GNOME applications.menu are in ~mezz/menu/, so you can  
> compare the difference. We can either merge both of applications.menu  
> into one or try to rename applications.menu to  
> (kde|gnome)-applications.menu. I am not sure about <MergeFile>  
> stuff...so.. What I have in my mind is something like this below, but I  
> have no idea if it will working. If that don't work, then do either  
> merge into one or hack all apps for rename of applications.menu.

It doesn't work, I tried to play with it for about two hours and still no  
luck with <MergeFile>. Either I need to learn more or it is limited.  
However, it looks like that leave us two choices:

	1) Rename both of applications.menu and hack
	   in the ports to teach them about the new
	   name.
	2) Create our own applications.menu that will
	   working for the general desktop.

Cheers,
Mezz

> applications.menu:
> ======================================
> [...]
> <Menu>
>    <MergeFile>kde-applications.menu</MergeFile>
>    <Include> <!-- not remember if need this -->
>      <And> <!-- not remember if need this -->
>        <Not>
>          <Or>
>            <Category>GTK</Category>
>            <Category>GNOME</Category>
>          </Or>
>        </Not>
>      </And>
>    </Include>
> </menu>
>
> <Menu>
>    <MergeFile>gnome-applications.menu</MergeFile>
>    <Include> <!-- not remember if need this -->
>      <And> <!-- not remember if need this -->
>        <Not>
>          <Or>
>            <Category>Qt</Category>
>            <Category>KDE</Category>
>          </Or>
>        </Not>
>      </And>
>    </Include>
> </menu>
> [...]
> ======================================
>
> I saved two links in my bookmark about applications.menu conflict:
>
> http://lists.freedesktop.org/archives/xdg/2005-June/thread.html#6973
> http://oskuro.net/blog/freesoftware/gnome-2.10-unstable-2005-06-09-21-10
>
> Cheers,
> Mezz


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia at FreeBSD.org


More information about the freebsd-gnome mailing list