[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] [Q] Fedora/RedHat vs. Debian packaging
From: |
Samuel Mimram |
Subject: |
Re: [Linphone-developers] [Q] Fedora/RedHat vs. Debian packaging |
Date: |
Mon, 05 Feb 2007 08:55:35 +0100 |
User-agent: |
Icedove 1.5.0.9 (X11/20061220) |
Hi,
Francois-Xavier KOWALSKI wrote:
> seems like the content of the Linphone's .desktop file does not fit the
> Fedora/RedHat packaging: In order to deliver Linphone in Fedora extras,
> the following patch is applied:
>
> Comment[de]=Linphone ist ein web-phone.
> Type=Application
> Exec=linphone
> -Icon=linphone/linphone2.png
> -Terminal=0
> +Icon=linphone2.png
> +Terminal=false
> Categories=Application;Network;
>
> So my question: would this patch be applicable to Debian too (kind of a
> gnome/kde change) or does Debian requires exactly what is currently in
> the .desktop file right now?
In Debian too we have to patch the desktop files in the Debian package
(cf. the attached patch). It seems that we could have a common desktop
file between Fedora and Debian.
Cheers,
Samuel.
#! /bin/sh /usr/share/dpatch/dpatch-run
## desktop_icon.dpatch by Samuel Mimram <address@hidden>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Correct path in .desktop files.
@DPATCH@
diff -urNad linphone-1.2.0~/share/linphone_applet.desktop
linphone-1.2.0/share/linphone_applet.desktop
--- linphone-1.2.0~/share/linphone_applet.desktop 2002-02-08
08:54:01.000000000 +0100
+++ linphone-1.2.0/share/linphone_applet.desktop 2006-01-09
00:50:09.000000000 +0100
@@ -5,5 +5,5 @@
Comment[de]=Linphone ist ein web-phone.
Type=Application
Exec=linphone --applet --activate-goad-server=linphone_applet
-Icon=linphone/linphone2.png
-Terminal=0
\ No newline at end of file
+Icon=/usr/share/pixmaps/linphone/linphone2.png
+Terminal=0
diff -urNad linphone-1.2.0~/share/linphone.desktop
linphone-1.2.0/share/linphone.desktop
--- linphone-1.2.0~/share/linphone.desktop 2003-02-03 17:52:01.000000000
+0100
+++ linphone-1.2.0/share/linphone.desktop 2006-01-09 00:49:56.000000000
+0100
@@ -5,6 +5,6 @@
Comment[de]=Linphone ist ein web-phone.
Type=Application
Exec=linphone
-Icon=linphone/linphone2.png
+Icon=/usr/share/pixmaps/linphone/linphone2.png
Terminal=0
Categories=Application;Network;