[oe-commits] org.oe.dev Qtopia/X11: Install a qtopia.sh into the profile.d to set PATH, QPEDIR and LD_LIBRARY_PATH

freyther commit oe at amethyst.openembedded.net
Fri Apr 25 15:40:10 UTC 2008


Qtopia/X11: Install a qtopia.sh into the profile.d to set PATH, QPEDIR and LD_LIBRARY_PATH

Author: freyther at openembedded.org
Branch: org.openembedded.dev
Revision: 453235132f7854f1822704d1398a978b23b4a64a
ViewMTN: http://monotone.openembedded.org/revision/info/453235132f7854f1822704d1398a978b23b4a64a
Files:
1
packages/qtopia-phone/qtopia-phone-x11/qtopia.sh
packages/qtopia-phone/qtopia-phone-x11_4.3.1.bb
Diffs:

#
# mt diff -r68fe059c340e312fd579066e6b352588b63ae299 -r453235132f7854f1822704d1398a978b23b4a64a
#
#
#
# add_file "packages/qtopia-phone/qtopia-phone-x11/qtopia.sh"
#  content [c955894686aae5510c5b36db674c9f457416616c]
# 
# patch "packages/qtopia-phone/qtopia-phone-x11_4.3.1.bb"
#  from [0d30f0e2f203011597df480fb0ec8c0bd4d438ba]
#    to [337ea063ac2bf420284360097b31d9405a3be8eb]
#
============================================================
--- packages/qtopia-phone/qtopia-phone-x11/qtopia.sh	c955894686aae5510c5b36db674c9f457416616c
+++ packages/qtopia-phone/qtopia-phone-x11/qtopia.sh	c955894686aae5510c5b36db674c9f457416616c
@@ -0,0 +1,4 @@
+#!/bin/sh
+export QPEDIR=/opt/Qtopia
+export PATH=$PATH=$QPEDIR/bin
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QPEDIR/lib
============================================================
--- packages/qtopia-phone/qtopia-phone-x11_4.3.1.bb	0d30f0e2f203011597df480fb0ec8c0bd4d438ba
+++ packages/qtopia-phone/qtopia-phone-x11_4.3.1.bb	337ea063ac2bf420284360097b31d9405a3be8eb
@@ -12,12 +12,13 @@ PROVIDES = "qtopia-phone"
 HOMEPAGE = "http://www.trolltech.com"
 DEPENDS = "glib-2.0 dbus freetype alsa-lib bluez-libs virtual/libx11 fontconfig xft libxext libxrender libxrandr libxcursor libxtst"
 PROVIDES = "qtopia-phone"
-PR = "r2"
+PR = "r4"
 SRCREV = "${AUTOREV}"
 SRC_URI = "git://git.openmoko.org/git/qtopia.git;protocol=git \
            file://device-conf \
            file://qplatformdefs.h \
-           file://Xsession.d/99qtopia"
+           file://Xsession.d/99qtopia \
+           file://qtopia.sh"
 
 S = "${WORKDIR}/git"
 
@@ -116,6 +117,9 @@ do_install() {
    # Install some scripts
    install -d ${D}${bindir}
    install -m 0755 ${S}/bin/qcop-x11-launch ${D}${bindir}
+
+   install -d ${D}${sysconfdir}/profile.d/
+   install -m 0755 ${WORKDIR}/qtopia.sh ${D}${sysconfdir}/profile.d/
 }
 
 FILES_${PN} += "${OE_QT_RPREFIX}/bin ${OE_QT_RPREFIX}/help  \






More information about the Openembedded-commits mailing list