All of lore.kernel.org
 help / color / mirror / Atom feed
* [STABLE][PATCH] xserver-common: add 1.24 from .dev
@ 2009-05-31 12:47 Koen Kooi
  2009-05-31 13:36 ` Koen Kooi
  0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2009-05-31 12:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

From: Koen Kooi <koen@openembedded.org>


Signed-off-by: Koen Kooi <koen@openembedded.org>
---
 recipes/xserver-common/files/89xdgautostart.sh |    9 +++++++++
 recipes/xserver-common/xserver-common_1.24.bb  |   19 +++++++++++++++++++
 2 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 recipes/xserver-common/files/89xdgautostart.sh
 create mode 100644 recipes/xserver-common/xserver-common_1.24.bb

diff --git a/recipes/xserver-common/files/89xdgautostart.sh b/recipes/xserver-common/files/89xdgautostart.sh
new file mode 100644
index 0000000..9886f9f
--- /dev/null
+++ b/recipes/xserver-common/files/89xdgautostart.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+XDGAUTOSTART=/etc/xdg/autostart
+if [ -d $XDGAUTOSTART ] ; then
+    for SCRIPT in $XDGAUTOSTART/*; do
+        CMD=`grep ^Exec= $SCRIPT | cut -d '=' -f 2`
+        $CMD &
+    done
+fi
diff --git a/recipes/xserver-common/xserver-common_1.24.bb b/recipes/xserver-common/xserver-common_1.24.bb
new file mode 100644
index 0000000..1059160
--- /dev/null
+++ b/recipes/xserver-common/xserver-common_1.24.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Common X11 scripts and support files"
+LICENSE = "GPL"
+SECTION = "x11"
+RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
+PR = "r3"
+
+PACKAGE_ARCH = "all"
+
+# we are using a gpe-style Makefile
+inherit gpe
+
+SRC_URI_append = " file://setDPI.sh \
+                   file://89xdgautostart.sh \
+"
+
+do_install_append() {
+	install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"
+	install -m 0755 "${WORKDIR}/89xdgautostart.sh" "${D}/etc/X11/Xsession.d/89xdgautostart"
+}
-- 
1.6.1




^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [STABLE][PATCH] xserver-common: add 1.24 from .dev
  2009-05-31 12:47 [STABLE][PATCH] xserver-common: add 1.24 from .dev Koen Kooi
@ 2009-05-31 13:36 ` Koen Kooi
  2009-05-31 18:00   ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2009-05-31 13:36 UTC (permalink / raw)
  To: openembedded-devel

On 31-05-09 14:47, Koen Kooi wrote:
> From: Koen Kooi<koen@openembedded.org>

Grrrrr. git send-email stripped the comment again:
* This makes xdg autostart applications autostart

Note that the checksum is already in.


>
>
> Signed-off-by: Koen Kooi<koen@openembedded.org>
> ---
>   recipes/xserver-common/files/89xdgautostart.sh |    9 +++++++++
>   recipes/xserver-common/xserver-common_1.24.bb  |   19 +++++++++++++++++++
>   2 files changed, 28 insertions(+), 0 deletions(-)
>   create mode 100644 recipes/xserver-common/files/89xdgautostart.sh
>   create mode 100644 recipes/xserver-common/xserver-common_1.24.bb
>
> diff --git a/recipes/xserver-common/files/89xdgautostart.sh b/recipes/xserver-common/files/89xdgautostart.sh
> new file mode 100644
> index 0000000..9886f9f
> --- /dev/null
> +++ b/recipes/xserver-common/files/89xdgautostart.sh
> @@ -0,0 +1,9 @@
> +#!/bin/sh
> +
> +XDGAUTOSTART=/etc/xdg/autostart
> +if [ -d $XDGAUTOSTART ] ; then
> +    for SCRIPT in $XDGAUTOSTART/*; do
> +        CMD=`grep ^Exec= $SCRIPT | cut -d '=' -f 2`
> +        $CMD&
> +    done
> +fi
> diff --git a/recipes/xserver-common/xserver-common_1.24.bb b/recipes/xserver-common/xserver-common_1.24.bb
> new file mode 100644
> index 0000000..1059160
> --- /dev/null
> +++ b/recipes/xserver-common/xserver-common_1.24.bb
> @@ -0,0 +1,19 @@
> +DESCRIPTION = "Common X11 scripts and support files"
> +LICENSE = "GPL"
> +SECTION = "x11"
> +RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo"
> +PR = "r3"
> +
> +PACKAGE_ARCH = "all"
> +
> +# we are using a gpe-style Makefile
> +inherit gpe
> +
> +SRC_URI_append = " file://setDPI.sh \
> +                   file://89xdgautostart.sh \
> +"
> +
> +do_install_append() {
> +	install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"
> +	install -m 0755 "${WORKDIR}/89xdgautostart.sh" "${D}/etc/X11/Xsession.d/89xdgautostart"
> +}





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [STABLE][PATCH] xserver-common: add 1.24 from .dev
  2009-05-31 13:36 ` Koen Kooi
@ 2009-05-31 18:00   ` Otavio Salvador
  2009-05-31 18:15     ` Koen Kooi
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2009-05-31 18:00 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel

Hello,

On Sun, May 31, 2009 at 10:36 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> On 31-05-09 14:47, Koen Kooi wrote:
>>
>> From: Koen Kooi<koen@openembedded.org>
>
> Grrrrr. git send-email stripped the comment again:
> * This makes xdg autostart applications autostart

I think it ought to be enabled; in case someone uses a session manager
(xfce-session, lxde-session or a own manager) it will reopen them.

I suggest it to have a /etc/defaults/xserver-common that makes it optional.

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [STABLE][PATCH] xserver-common: add 1.24 from .dev
  2009-05-31 18:00   ` Otavio Salvador
@ 2009-05-31 18:15     ` Koen Kooi
  2009-05-31 18:34       ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2009-05-31 18:15 UTC (permalink / raw)
  To: openembedded-devel

On 31-05-09 20:00, Otavio Salvador wrote:
> Hello,
>
> On Sun, May 31, 2009 at 10:36 AM, Koen Kooi<k.kooi@student.utwente.nl>  wrote:
>> On 31-05-09 14:47, Koen Kooi wrote:
>>>
>>> From: Koen Kooi<koen@openembedded.org>
>>
>> Grrrrr. git send-email stripped the comment again:
>> * This makes xdg autostart applications autostart
>
> I think it ought to be enabled; in case someone uses a session manager
> (xfce-session, lxde-session or a own manager) it will reopen them.

question: does anyone use that in stable/2009 together with xserver-common?

> I suggest it to have a /etc/defaults/xserver-common that makes it optional.

That would be nice in .dev, but what's your thought on getting this 
change from .dev to stable/2009 first?

regards,

Koen






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [STABLE][PATCH] xserver-common: add 1.24 from .dev
  2009-05-31 18:15     ` Koen Kooi
@ 2009-05-31 18:34       ` Otavio Salvador
  2009-05-31 19:01         ` Koen Kooi
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2009-05-31 18:34 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel

Hello,

On Sun, May 31, 2009 at 3:15 PM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> On 31-05-09 20:00, Otavio Salvador wrote:
>>
>> Hello,
>>
>> On Sun, May 31, 2009 at 10:36 AM, Koen Kooi<k.kooi@student.utwente.nl>
>>  wrote:
>>>
>>> On 31-05-09 14:47, Koen Kooi wrote:
>>>>
>>>> From: Koen Kooi<koen@openembedded.org>
>>>
>>> Grrrrr. git send-email stripped the comment again:
>>> * This makes xdg autostart applications autostart
>>
>> I think it ought to be enabled; in case someone uses a session manager
>> (xfce-session, lxde-session or a own manager) it will reopen them.
>
> question: does anyone use that in stable/2009 together with xserver-common?

I use :-)

>> I suggest it to have a /etc/defaults/xserver-common that makes it
>> optional.
>
> That would be nice in .dev, but what's your thought on getting this change
> from .dev to stable/2009 first?

I think it needs to be fixed in dev and then this ought to be done in
stable all together to avoid issues for current users. I'm one that
will have problems with this change.

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [STABLE][PATCH] xserver-common: add 1.24 from .dev
  2009-05-31 18:34       ` Otavio Salvador
@ 2009-05-31 19:01         ` Koen Kooi
  2009-06-01 12:47           ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2009-05-31 19:01 UTC (permalink / raw)
  To: openembedded-devel

On 31-05-09 20:34, Otavio Salvador wrote:
> Hello,
>
> On Sun, May 31, 2009 at 3:15 PM, Koen Kooi<k.kooi@student.utwente.nl>  wrote:
>> On 31-05-09 20:00, Otavio Salvador wrote:
>>>
>>> Hello,
>>>
>>> On Sun, May 31, 2009 at 10:36 AM, Koen Kooi<k.kooi@student.utwente.nl>
>>>   wrote:
>>>>
>>>> On 31-05-09 14:47, Koen Kooi wrote:
>>>>>
>>>>> From: Koen Kooi<koen@openembedded.org>
>>>>
>>>> Grrrrr. git send-email stripped the comment again:
>>>> * This makes xdg autostart applications autostart
>>>
>>> I think it ought to be enabled; in case someone uses a session manager
>>> (xfce-session, lxde-session or a own manager) it will reopen them.
>>
>> question: does anyone use that in stable/2009 together with xserver-common?
>
> I use :-)
>
>>> I suggest it to have a /etc/defaults/xserver-common that makes it
>>> optional.
>>
>> That would be nice in .dev, but what's your thought on getting this change
>> from .dev to stable/2009 first?
>
> I think it needs to be fixed in dev and then this ought to be done in
> stable all together to avoid issues for current users. I'm one that
> will have problems with this change.

Fair enough, want to cook up a patch for that?

regards,

Koen







^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [STABLE][PATCH] xserver-common: add 1.24 from .dev
  2009-05-31 19:01         ` Koen Kooi
@ 2009-06-01 12:47           ` Otavio Salvador
  0 siblings, 0 replies; 7+ messages in thread
From: Otavio Salvador @ 2009-06-01 12:47 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel

Hello Koen,

On Sun, May 31, 2009 at 4:01 PM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> On 31-05-09 20:34, Otavio Salvador wrote:
>> I think it needs to be fixed in dev and then this ought to be done in
>> stable all together to avoid issues for current users. I'm one that
>> will have problems with this change.
>
> Fair enough, want to cook up a patch for that?

I can take a look at it but I doubt I'll be able to send it before Wed
since I have busy days before it, at work. If you can, please take a
look at it otherwise I do.

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-06-01 12:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-31 12:47 [STABLE][PATCH] xserver-common: add 1.24 from .dev Koen Kooi
2009-05-31 13:36 ` Koen Kooi
2009-05-31 18:00   ` Otavio Salvador
2009-05-31 18:15     ` Koen Kooi
2009-05-31 18:34       ` Otavio Salvador
2009-05-31 19:01         ` Koen Kooi
2009-06-01 12:47           ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.