From owner-freebsd-gnome@FreeBSD.ORG Fri Sep 1 13:32:51 2006 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CB7016A4E1 for ; Fri, 1 Sep 2006 13:32:51 +0000 (UTC) (envelope-from buhnux@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BF2743D7C for ; Fri, 1 Sep 2006 13:32:30 +0000 (GMT) (envelope-from buhnux@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1248344pye for ; Fri, 01 Sep 2006 06:32:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=Kt4kgb4VxFblOyrDeCN+ihT81FugzKml86jROZ+nw6uBp5iQgrOhwZWA5Tf0XlhTp4MtYjnbX9/TGmukccIckDkgW59bdPZ0/947ci5o5g5gIZv3qBv9ulHov2xJRPP2OyUsIIhik6WStmhYYk58GYRTQDhTLrLRSYXb85ENCgU= Received: by 10.35.94.1 with SMTP id w1mr3024358pyl; Fri, 01 Sep 2006 06:32:29 -0700 (PDT) Received: by 10.35.87.9 with HTTP; Fri, 1 Sep 2006 06:32:29 -0700 (PDT) Message-ID: Date: Fri, 1 Sep 2006 09:32:29 -0400 From: "michael johnson" Sender: buhnux@gmail.com To: "Joe Marcus Clarke" In-Reply-To: <1157087686.99321.31.camel@shumai.marcuscom.com> MIME-Version: 1.0 References: <1156614644.475.15.camel@shumai.marcuscom.com> <200608281824.03189.andy@athame.co.uk> <44F30B08.6000902@marcuscom.com> <1157087686.99321.31.camel@shumai.marcuscom.com> X-Google-Sender-Auth: ede2f094240ebf99 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: gnome@freebsd.org, Andy Fawcett , kde@freebsd.org, kde-freebsd@freebsd.kde.org Subject: Re: [kde-freebsd] Re: Conflict between KDE and GNOME in a prefix... X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 13:32:51 -0000 On 9/1/06, Joe Marcus Clarke wrote: > > On Thu, 2006-08-31 at 23:24 -0500, Jeremy Messenger wrote: > > On Mon, 28 Aug 2006 13:09:37 -0500, Jeremy Messenger > wrote: > > > > > On Mon, 28 Aug 2006 10:26:00 -0500, Joe Marcus Clarke > > > 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. > > > > > > > > > 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 > > > 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 . 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. > > I think option 2 would be best as who knows how much future hacking will > be required if we rename the files. I was also poking around NetBSD and > Gentoo to see how they handle this. These menu files are substantially > different enough to cause some problems. I wonder if there is a better > solution that we're missing. Does anyone have any insight into what > other platforms are doing? Debian renames these files See the following diffs http://ftp.debian.org/debian/pool/main/g/gnome-menus/gnome-menus_2.15.91-1.diff.gz http://ftp.debian.org/debian/pool/main/k/kdelibs/kdelibs_3.5.4-3.diff.gz or pages http://packages.debian.org/experimental/gnome/gnome-menus http://packages.debian.org/unstable/libs/kdelibs gnome-menus: + if (len (menu_files) < 1): +- menu_files = ["applications.menu", "settings.menu"] ++ menu_files = ["gnome-applications.menu", "gnome-settings.menu "] kde-libs: +- VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu(" applications.menu",true); ++ VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu(" kde-applications.menu", true); + Suse renames the files also http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/src/kdelibs3-3.5.1-47.src.rpm http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/src/gnome-menus-2.12.0-29.src.rpm >From gnome-menus.spec file rm $RPM_BUILD_ROOT%{sysconfdir}/xdg/menus/applications.menu cp %{S:2} $RPM_BUILD_ROOT%{sysconfdir}/xdg/menus/applications.menu.gnome >From kdelibs.spec file mv $RPM_BUILD_ROOT/etc/xdg/menus/applications.menu \ $RPM_BUILD_ROOT/etc/xdg/menus/applications.menu.kde IMHO I probably think we should also rename these files, it doesn't look like it will cause much pain to maintain from looking at the diff's from debian & suse. Michael Joe > > -- > PGP Key : http://www.marcuscom.com/pgp.asc > > >