All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] fluxbox: add xsession profile
Date: Wed, 07 Dec 2011 21:14:51 +0100	[thread overview]
Message-ID: <8739cwcf5w.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1318238520-16580-1-git-send-email-yegorslists@googlemail.com> (yegorslists@googlemail.com's message of "Mon, 10 Oct 2011 11:21:58 +0200")

>>>>> "yegorslists" == yegorslists  <yegorslists@googlemail.com> writes:

 yegorslists> From: Yegor Yefremov <yegorslists@googlemail.com>
 yegorslists> add .xsession profile to get fluxbox being started automatically
 yegorslists> by XDM

Committed with some fixes, thanks.

 yegorslists> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
 yegorslists> ---
 yegorslists>  package/fluxbox/.xsession  |    1 +
 yegorslists>  package/fluxbox/fluxbox.mk |    6 ++++++
 yegorslists>  2 files changed, 7 insertions(+), 0 deletions(-)
 yegorslists>  create mode 100644 package/fluxbox/.xsession

 yegorslists> diff --git a/package/fluxbox/.xsession b/package/fluxbox/.xsession
 yegorslists> new file mode 100644
 yegorslists> index 0000000..3775bad
 yegorslists> --- /dev/null
 yegorslists> +++ b/package/fluxbox/.xsession

I prefer to call it xsession, so it isn't hidden.

 yegorslists> @@ -0,0 +1 @@
 yegorslists> +exec startfluxbox

.xsession scripts afaik should be executable shell scripts.

 yegorslists> diff --git a/package/fluxbox/fluxbox.mk b/package/fluxbox/fluxbox.mk
 yegorslists> index 85a8eae..e0f6e4e 100644
 yegorslists> --- a/package/fluxbox/fluxbox.mk
 yegorslists> +++ b/package/fluxbox/fluxbox.mk
 yegorslists> @@ -13,4 +13,10 @@ FLUXBOX_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
 
 yegorslists>  FLUXBOX_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
 
 yegorslists> +define FLUXBOX_INSTALL_XSESSION_FILE
 yegorslists> +	$(INSTALL) -m 0644 package/fluxbox/.xsession $(TARGET_DIR)/root/.xsession

We should only install this if it isn't available in the fs skeleton, so
you can provide a custom version. Also use 0755 permissions so it
becomes executable and lastly use install -D so it doesn't fail if
skeleton doesn't have /root/.

-- 
Bye, Peter Korsgaard

      parent reply	other threads:[~2011-12-07 20:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10  9:21 [Buildroot] [PATCH 1/3] fluxbox: add xsession profile yegorslists at googlemail.com
2011-10-10  9:21 ` [Buildroot] [PATCH 2/3] xdm: bump to 1.1.11 yegorslists at googlemail.com
2011-12-07 10:32   ` Yegor Yefremov
2011-12-07 20:18   ` Peter Korsgaard
2011-10-10  9:22 ` [Buildroot] [PATCH 3/3] xdm: install startup script yegorslists at googlemail.com
2011-12-07 10:32   ` Yegor Yefremov
2011-12-07 20:32   ` Peter Korsgaard
2011-12-07 10:31 ` [Buildroot] [PATCH 1/3] fluxbox: add xsession profile Yegor Yefremov
2011-12-07 20:14 ` Peter Korsgaard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8739cwcf5w.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.