| Submitter | eu@felipetonello.com |
|---|---|
| Date | March 13, 2013, 4:37 p.m. |
| Message ID | <1363192654-5856-1-git-send-email-ftonello@cercacor.com> |
| Download | mbox | patch |
| Permalink | /patch/46157/ |
| State | Accepted, archived |
| Headers | show |
Comments
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Op 13-03-13 17:37, eu@felipetonello.com schreef: > From: "Felipe F. Tonello" <ftonello@cercacor.com> > > Fingerterm is a terminal emulator for Nokia Harmattan, but it works in > any Qt4 environment. > > This recipe can be extended by a .bbappend to add .desktop, icon and > others to the target device. Why not include a default .desktop in the recipe so it actually works out of the box? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFRQeBGMkyGM64RGpERAgyPAJ0USSaBvvUFaBFIJe2TU5g809CDhgCffXxy p6KfZb9GJ6BgF049Lhzs8bI= =7rVm -----END PGP SIGNATURE-----
Hi Koen, On 03/14/2013 07:35 AM, Koen Kooi wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Op 13-03-13 17:37, eu@felipetonello.com schreef: >> From: "Felipe F. Tonello" <ftonello@cercacor.com> >> >> Fingerterm is a terminal emulator for Nokia Harmattan, but it works in >> any Qt4 environment. >> >> This recipe can be extended by a .bbappend to add .desktop, icon and >> others to the target device. > > Why not include a default .desktop in the recipe so it actually works out of > the box? The binary is been installed. So it will work out of the box. Regarding the .desktop file, it is not installed by default because it was done for MeeGo only. It needs some hack to work for generic desktops that follow desktop-entry spec[1]. [1] http://standards.freedesktop.org/desktop-entry-spec/latest/ Felipe > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (Darwin) > Comment: GPGTools - http://gpgtools.org > > iD8DBQFRQeBGMkyGM64RGpERAgyPAJ0USSaBvvUFaBFIJe2TU5g809CDhgCffXxy > p6KfZb9GJ6BgF049Lhzs8bI= > =7rVm > -----END PGP SIGNATURE----- > > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel >
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Op 15-03-13 01:11, Felipe Ferreri Tonello schreef: > Hi Koen, > > On 03/14/2013 07:35 AM, Koen Kooi wrote: Op 13-03-13 17:37, > eu@felipetonello.com schreef: >>>> From: "Felipe F. Tonello" <ftonello@cercacor.com> >>>> >>>> Fingerterm is a terminal emulator for Nokia Harmattan, but it works >>>> in any Qt4 environment. >>>> >>>> This recipe can be extended by a .bbappend to add .desktop, icon >>>> and others to the target device. > > Why not include a default .desktop in the recipe so it actually works out > of the box? > >> The binary is been installed. So it will work out of the box. Eh, no. You need a .desktop to launch it properly. > >> Regarding the .desktop file, it is not installed by default because it >> was done for MeeGo only. It needs some hack to work for generic >> desktops that follow desktop-entry spec[1]. Then add a .desktop that adheres to the spec, I see no reason why this recipe has to be so 'special' that it needs a .bbappend to work as intended. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFRQulAMkyGM64RGpERAmgSAJ4ig6vvXAYDa6Z/YAKH+p7YNetshACgj/Xm nt4iz6waFF9QQjtytfRo/2Q= =wmfE -----END PGP SIGNATURE-----
On 03/15/2013 05:26 AM, Koen Kooi wrote: > Op 15-03-13 01:11, Felipe Ferreri Tonello schreef: >> Hi Koen, > >> On 03/14/2013 07:35 AM, Koen Kooi wrote: Op 13-03-13 17:37, >> eu@felipetonello.com schreef: >>>>> From: "Felipe F. Tonello" <ftonello@cercacor.com> >>>>> >>>>> Fingerterm is a terminal emulator for Nokia Harmattan, but >>>>> it works in any Qt4 environment. >>>>> >>>>> This recipe can be extended by a .bbappend to add .desktop, >>>>> icon and others to the target device. > >> Why not include a default .desktop in the recipe so it actually >> works out of the box? > >>> The binary is been installed. So it will work out of the box. > > Eh, no. You need a .desktop to launch it properly. > > >>> Regarding the .desktop file, it is not installed by default >>> because it was done for MeeGo only. It needs some hack to work >>> for generic desktops that follow desktop-entry spec[1]. > > Then add a .desktop that adheres to the spec, I see no reason why > this recipe has to be so 'special' that it needs a .bbappend to > work as intended. We should minimize the need for distros to add bbappends to recipes to add basic functions. This should be true for all layers. bbappends for be for special use cases. Philip > > > _______________________________________________ Openembedded-devel > mailing list Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > > >
Patch
diff --git a/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb b/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb new file mode 100644 index 0000000..7a0d0eb --- /dev/null +++ b/meta-oe/recipes-qt/fingerterm/fingerterm_1.0.2.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "A terminal emulator for Harmattan (Nokia N9/N950) with a custom \ +virtual keyboard and usability-enhancing features such as URL grabber, pan \ +gestures and customizable shortcut menu. Designed especially to be used with \ +screen and irssi." +HOMEPAGE = "http://hqh.unlink.org/harmattan" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +SECTION = "qt/app" + +PR = "r0" + +inherit qt4x11 pkgconfig + +SRC_URI = " \ + http://hqh.unlink.org/harmattan/fingerterm-${PV}.tar.gz \ +" + +SRC_URI[md5sum] = "d53b0f463c025583cd52accf95715448" +SRC_URI[sha256sum] = "c21a07cc411d09739bd7fa248eba2bf96427b3f032382a044b6674dd82d95150" + +S = "${WORKDIR}/${PN}" + +FILES_${PN} = " \ + ${bindir}/${PN} \ +" + +do_install() { + install -d ${D}${bindir} + install -m 0744 ${S}/${PN} ${D}${bindir} +}