Commit Graph
20 Commits
Author SHA1 Message Date
Ash Charles 5cd87e8d6c bluez4: Allow systemd to activate bluetooth
The bluetooth.service runs bluetoothd to manage bluetooth devices, if
present, in the system.  By design, it should be running in either of
two cases:
1. A userspace utility (e.g. networkmanager) has made a dbus request
   for bluetooth services provided by org.bluez.  Even without this
   patch, the bluetooth.service gets run via dbus activation under the
   systmed aliased name 'dbus-org-bluez.service'. Perfect!
2. A bluetooth device is added to the system.  When a bluetooth device
   is added, udev triggers the special systemd target, bluetooth.target
   intended to pull in any services needed for bluetooth linked under
   bluetooth.target.wants.

Enable bluetooth.service so it gets linked under bluetooth.target.wants
and bluetoothd gets started when a user adds a bluetooth device to the
system.

To be clear, this isn't forcing bluetooth to be running all the time---
only when either of #1 or #2 are true.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-18 11:38:04 +02:00
Ash Charles 12f2a4dd70 mpd: Add build dependency on samba
Version 0.19 [1], adds the smbclient plugins for storage and input so
needs samba when building with the --enable-samba option.

[1] http://git.musicpd.org/cgit/master/mpd.git/plain/NEWS?h=v0.19

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:47 +02:00
Ash Charles f54d3a506f xfce4-session: Remove unneeded pkg_postinst
The pkg_postinst inherited from previous versions of this recipe no
longer seems necessary; no error message seen at runtime in a quick
test.  As it made the generated packages unnecessarily
machine-specific, remove this post-install step. Based on the ensuring
discussion, this supersedes the original patch [1].

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2015-February/100454.html

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Tested-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-03 08:35:59 +01:00
Ash Charles 7cbf97d136 xfce4-diskperf-plugin: Specify BSD license
This software contains an older or slightly modified BSD license in
its COPYING file and assigns copyright to the specific authors.  The
code (see the About function) makes it clear that a BSD
license is intended:

      "license", xfce_get_license_text (XFCE_LICENSE_TEXT_BSD),

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:33:46 +01:00
Ash Charles ccf450cc46 xfce4-xkb-plugin: Specify GPLv2 license
Like several other xfce plugins, this software contains an older or
slightly modified BSD license in its COPYING file and assigns copyright
to the specific authors.  The code itself (see the xfce_xkb_about
function) however makes it clear that a GPL license is intended:

    xfce_get_license_text (XFCE_LICENSE_TEXT_GPL));

Use GPLv2, not the author's name, as the LICENSE matching other plugins
with the same license text.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:33:46 +01:00
Ash Charles 642f2cc030 xfce4-wavelan-plugin: Specify BSD license
This software contains an older or slightly modified BSD license in
its COPYING file and assigns copyright to the specific authors.  The
code (see the wavelan_show_about function) makes it clear that a BSD
license is intended:

      "license", xfce_get_license_text (XFCE_LICENSE_TEXT_BSD),

(caveat: and of course, INAL)

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Acked-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:33:25 +01:00
Ash Charles b196d3e213 polkit-group-rule: Add polkitd user and group
Recipes including polkit-group-rule.inc correctly install a directory
with the user and group set as 'polkitd'.  To avoid warnings like
these when assemblying the rootfs,

  WARNING: log_check: warning: user polkitd does not exist - using root
  ...
  WARNING: log_check: warning: group polkitd does not exist - using root

create this user and group.

Note: although the polkit recipe itself, on which this depends, is
      creating this same user and group, it seems that the useradd class
      needs this to be specified independently.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Acked-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:33:24 +01:00
Ash Charles 89b48fdf7c cpufrequtils: Don't preserve host user permissions
The makefile installs the generated libcpufreq with 'cp -fpR'
preserving the user and group of the builder on the host system yielding
errors like this:

  WARNING: log_check: warning: group pulse does not exist - using root

Really, this library should be installed with root user and group
ownership so override the meaning of 'CP' to simply 'cp'.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:33:24 +01:00
Ash Charles c702fc4dfa mpd: ship systemd socket file
As of mpd version 19.1, as systemd socket file, mpd.socket, is
installed. Ship this file as part of the mpd-systemd package.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-12 15:34:01 +01:00
Ash Charles 20944d9c8a eject: copy po subdirectory for out-of-tree build
The po subdirectory found on the VPATH for an out-of-tree build so we
copy it over. See [1] for discussion.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2014-May/096052.html

v3: only create and populate po/ if it doesn't already exist
v4: test to see if we're building out-of-tree

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 10:32:31 +02:00
Ash Charles 60971c1a5a xfce4-notifyd: Ensure xfce4-notifyd subdirectory exists
The notify-dbus.h file is autogenerated during compilation into the
xfce4-notifyd subdirectory.  This directory doesn't exist in an
out-of-tree build so we add one manually.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-13 13:38:12 +02:00
Ash Charles 2d80699e8a xfce4-screenshooter: Ensure lib directory exists.
Screenshooter autogenerates screenshooter-marshal.[ch] in lib/ during
compilation.  The source directory contains a lib/ but this directory
doesn't exist in a build directory by default so we add one manually.
Really, this should be corrected in the upstream package.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-13 13:38:11 +02:00
Ash Charles 351bc35e25 network-manager-applet: fix S!=B error
The Makefile fixup in do_configure_append is in the build directory,
not the source directory.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10 12:27:19 +02:00
Ash Charles a2cd67f9d4 sqlite: Point to Makefile in source directory
Makefile.linux-gcc used to compile sqlite is found in the source
directory.  When building out-of-tree, we need to specify the
whole path.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10 12:25:41 +02:00
Ash Charles 74c3fdbcd8 networkmanager: correct test libs install source
When building out-of-tree, the test binaries are available in the build
directory, not the source directory.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10 12:25:41 +02:00
Ash Charles 3801a2a8fd lxdm: Use lxdm.conf from build directory
The lxdm.conf is populated to the build/data directory, not
the source directory.

Upstream-Status: Inappropriate (configuration)

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10 12:25:41 +02:00
Ash Charles 1c2147485f ltrace: Run autogen.sh in source directory
The autogen.sh script needs to be run in and from the source
directory.  The configuration step can still be run from
out-of-tree.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10 12:25:40 +02:00
Ash Charles 5f80b2cbd3 mbuffer: Update to version 20140310 from 20091227
The previous version of mbuffer could not be built out-of-tree and
seems rather old [1].

[1] http://www.maier-komor.de/mbuffer.html

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10 12:25:40 +02:00
Ash Charles df58431f76 xfce4-settings: Install cursors from srcdir
Cursors patched into the install by 0001-add-cursor-theme-xfce-invisible.patch
are located in the source directory.  To install during an out-of-tree build,
we need to copy them from the source directory, not the current build
directory. See [1] for discussion.

Upstream-Status: Submitted

[1] https://bugzilla.xfce.org/show_bug.cgi?id=9474

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10 12:16:23 +02:00
Ash Charles 14648c1650 xfce-git: Run autogen.sh in source directory
The autogen.sh script executed by the xfce-git.bbclass needs to be
run in and from the source directory.  The configuration step can
still be run from out-of-tree.

Currently, this affects these recipes:
 * libxfce4ui
 * xarchiver
 * xfce4-taskmanager
 * xfce4-closebutton-plugin
 * xfce4-settings
 * xfwm4

Upstream-Status: Inappropriate (configuration)

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10 12:16:23 +02:00