Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/7] package/procps: bump version and rename to procps-ng
  2014-06-02 20:27 [Buildroot] [PATCH 0/7 v3] A bunch of bumps (branch yem/bumps) Yann E. MORIN
@ 2014-06-02 20:27 ` Yann E. MORIN
  2014-06-02 20:34   ` Peter Korsgaard
  2014-06-02 20:27 ` [Buildroot] [PATCH 2/7] package/libinput: new package Yann E. MORIN
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2014-06-02 20:27 UTC (permalink / raw)
  To: buildroot

From: "Yann E. MORIN" <yann.morin.1998@free.fr>

procps is getting replaced by procps-ng, and there are
new versions available!

procps-ng is now an autotools package, so get rid of our
custom build/install rules.

Remove most patches, except for one that still half-applies,
so update and rename it.

procps is dead, long live procps-ng!

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 Config.in.legacy                                   | 10 ++++++++
 package/Config.in                                  |  2 +-
 package/{procps => procps-ng}/Config.in            |  6 ++---
 .../procps-ng/procps-ng-0000-remove-index.patch    | 16 ++++++++++++
 package/procps-ng/procps-ng.mk                     | 15 +++++++++++
 package/procps/procps-make-3.82.patch              | 23 -----------------
 package/procps/procps-remove-flags.patch           | 26 -------------------
 package/procps/procps-remove-index.patch           | 21 ----------------
 package/procps/procps-wchar.patch                  | 29 ----------------------
 package/procps/procps.mk                           | 25 -------------------
 10 files changed, 45 insertions(+), 128 deletions(-)
 rename package/{procps => procps-ng}/Config.in (63%)
 create mode 100644 package/procps-ng/procps-ng-0000-remove-index.patch
 create mode 100644 package/procps-ng/procps-ng.mk
 delete mode 100644 package/procps/procps-make-3.82.patch
 delete mode 100644 package/procps/procps-remove-flags.patch
 delete mode 100644 package/procps/procps-remove-index.patch
 delete mode 100644 package/procps/procps-wchar.patch
 delete mode 100644 package/procps/procps.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index 00661db..9e8be3d 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -99,6 +99,16 @@ comment "----------------------------------------------------"
 endif
 
 ###############################################################################
+comment "Legacy options removed in 2014.08"
+
+config BR2_PACKAGE_PROCPS
+	bool "procps has been replaced by procps-ng"
+	select BR2_PACKAGE_PROCPS_NG
+	select BR2_LEGACY
+	help
+	  The procps package has been replaced by the equivalent procps-ng.
+
+###############################################################################
 comment "Legacy options removed in 2014.05"
 
 config BR2_PACKAGE_EVTEST_CAPTURE
diff --git a/package/Config.in b/package/Config.in
index 1282066..9c0a769 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1106,7 +1106,7 @@ source "package/numactl/Config.in"
 source "package/nut/Config.in"
 source "package/polkit/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
-source "package/procps/Config.in"
+source "package/procps-ng/Config.in"
 source "package/psmisc/Config.in"
 endif
 source "package/quota/Config.in"
diff --git a/package/procps/Config.in b/package/procps-ng/Config.in
similarity index 63%
rename from package/procps/Config.in
rename to package/procps-ng/Config.in
index 48baf7b..0dea84a 100644
--- a/package/procps/Config.in
+++ b/package/procps-ng/Config.in
@@ -1,8 +1,8 @@
-config BR2_PACKAGE_PROCPS
-	bool "procps"
+config BR2_PACKAGE_PROCPS_NG
+	bool "procps-ng"
 	select BR2_PACKAGE_NCURSES
 	help
 	  Standard informational utilities and process-handling tools.
 	  Provides things like kill, ps, uptime, free, top, etc...
 
-	  http://procps.sourceforge.net/
+	  http://sourceforge.net/projects/procps-ng/
diff --git a/package/procps-ng/procps-ng-0000-remove-index.patch b/package/procps-ng/procps-ng-0000-remove-index.patch
new file mode 100644
index 0000000..1d85b31
--- /dev/null
+++ b/package/procps-ng/procps-ng-0000-remove-index.patch
@@ -0,0 +1,16 @@
+sysctl: remove use of legacy index()
+
+[yann.morin.1998 at free.fr: adapt to procps-ng]
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+diff -durN procps-v3.3.9.orig/sysctl.c procps-v3.3.9/sysctl.c
+--- procps-v3.3.9.orig/sysctl.c	2013-12-03 12:16:18.000000000 +0100
++++ procps-v3.3.9/sysctl.c	2014-05-31 00:45:00.869748741 +0200
+@@ -794,7 +794,7 @@
+ 		      program_invocation_short_name);
+ 
+ 	for ( ; *argv; argv++) {
+-		if (WriteMode || index(*argv, '='))
++		if (WriteMode || strchr(*argv, '='))
+ 			ReturnCode += WriteSetting(*argv);
+ 		else
+ 			ReturnCode += ReadSetting(*argv);
diff --git a/package/procps-ng/procps-ng.mk b/package/procps-ng/procps-ng.mk
new file mode 100644
index 0000000..3245e92
--- /dev/null
+++ b/package/procps-ng/procps-ng.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# procps
+#
+################################################################################
+
+PROCPS_NG_VERSION = 3.3.9
+PROCPS_NG_SOURCE = procps-ng-$(PROCPS_NG_VERSION).tar.xz
+PROCPS_NG_SITE = http://downloads.sourceforge.net/project/procps-ng/Production
+PROCPS_NG_LICENSE = GPLv2+, libproc and libps LGPLv2+
+PROCPS_NG_LICENSE_FILES = COPYING COPYING.LIB
+
+PROCPS_NG_DEPENDENCIES = ncurses
+
+$(eval $(autotools-package))
diff --git a/package/procps/procps-make-3.82.patch b/package/procps/procps-make-3.82.patch
deleted file mode 100644
index 2a56356..0000000
--- a/package/procps/procps-make-3.82.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-[PATCH] procps: fix build with make 3.82
-
-Equivalent to upstream fix:
-http://procps.cvs.sourceforge.net/viewvc/procps/procps/Makefile?r1=1.70&r2=1.71
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- Makefile |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: procps-3.2.8/Makefile
-===================================================================
---- procps-3.2.8.orig/Makefile
-+++ procps-3.2.8/Makefile
-@@ -174,7 +174,7 @@
- # want this rule first, use := on ALL, and ALL not filled in yet
- all: do_all
- 
---include */module.mk
-+-include proc/module.mk ps/module.mk
- 
- do_all:    $(ALL)
- 
diff --git a/package/procps/procps-remove-flags.patch b/package/procps/procps-remove-flags.patch
deleted file mode 100644
index cb4dc56..0000000
--- a/package/procps/procps-remove-flags.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -u procps-3.2.5/Makefile procps-3.2.5-patched/Makefile
---- procps-3.2.5/Makefile	2005-01-25 22:55:26.000000000 -0600
-+++ procps-3.2.5-patched/Makefile	2007-07-05 23:09:24.251423681 -0500
-@@ -70,9 +70,7 @@
- CURSES := -lncurses
- 
- # Preprocessor flags.
--PKG_CPPFLAGS := -D_GNU_SOURCE -I proc
--CPPFLAGS     := -I/usr/include/ncurses
--ALL_CPPFLAGS := $(PKG_CPPFLAGS) $(CPPFLAGS)
-+ALL_CPPFLAGS := -D_GNU_SOURCE -I proc
- 
- # Left out -Wconversion due to noise in glibc headers.
- # Left out -Wunreachable-code and -Wdisabled-optimization
-@@ -91,11 +89,9 @@
-   -Wstrict-prototypes -Wmissing-prototypes
- # Note that some stuff below is conditional on CFLAGS containing
- # an option that starts with "-g". (-g, -g2, -g3, -ggdb, etc.)
--CFLAGS       := -O2 -s
- ALL_CFLAGS   := $(PKG_CFLAGS) $(CFLAGS)
- 
- PKG_LDFLAGS  := -Wl,-warn-common
--LDFLAGS      :=
- ALL_LDFLAGS  := $(PKG_LDFLAGS) $(LDFLAGS)
- 
- ############ Add some extra flags if gcc allows
diff --git a/package/procps/procps-remove-index.patch b/package/procps/procps-remove-index.patch
deleted file mode 100644
index 4f4cfb7..0000000
--- a/package/procps/procps-remove-index.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ur procps-3.2.5/sysctl.c procps-3.2.5-patched/sysctl.c
---- procps-3.2.5/sysctl.c	2005-01-05 15:00:47.000000000 -0600
-+++ procps-3.2.5-patched/sysctl.c	2006-12-04 19:51:36.272843000 -0600
-@@ -272,7 +272,7 @@
-       return 0;
-    } /* end if */
- 
--   equals = index(setting, '=');
-+   equals = strchr(setting, '=');
-  
-    if (!equals) {
-       fprintf(stderr, ERR_NO_EQUALS, setting);
-@@ -498,7 +498,7 @@
-          if (NameOnly && Quiet)   // nonsense
-             return Usage(me);
-          SwitchesAllowed = false;
--         if (WriteMode || index(*argv, '='))
-+         if (WriteMode || strchr(*argv, '='))
-             ReturnCode = WriteSetting(*argv);
-          else
-             ReturnCode = ReadSetting(*argv);
diff --git a/package/procps/procps-wchar.patch b/package/procps/procps-wchar.patch
deleted file mode 100644
index 7915229..0000000
--- a/package/procps/procps-wchar.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- procps-3.2.7/proc/escape.c	2005-01-06 07:50:26.000000000 +1100
-+++ procps-3.2.7.fixed/proc/escape.c	2008-09-09 11:55:57.000000000 +1000
-@@ -15,7 +15,7 @@
- #include "escape.h"
- #include "readproc.h"
- 
--#if (__GNU_LIBRARY__ >= 6)
-+#if (__GNU_LIBRARY__ >= 6) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__))
- # include <wchar.h>
- # include <wctype.h>
- # include <stdlib.h>  /* MB_CUR_MAX */
-@@ -23,7 +23,7 @@
- # include <langinfo.h>
- #endif
- 
--#if (__GNU_LIBRARY__ >= 6)
-+#if (__GNU_LIBRARY__ >= 6) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__))
- static int escape_str_utf8(char *restrict dst, const char *restrict src, int bufsize, int *maxcells){
-   int my_cells = 0;
-   int my_bytes = 0;
-@@ -123,7 +123,7 @@
-   "********************************"
-   "********************************";
-   
--#if (__GNU_LIBRARY__ >= 6)
-+#if (__GNU_LIBRARY__ >= 6) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__))
-   static int utf_init=0;
-   
-   if(utf_init==0){
diff --git a/package/procps/procps.mk b/package/procps/procps.mk
deleted file mode 100644
index dc2b841..0000000
--- a/package/procps/procps.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-################################################################################
-#
-# procps
-#
-################################################################################
-
-PROCPS_VERSION = 3.2.8
-PROCPS_SITE = http://procps.sourceforge.net/
-PROCPS_LICENSE = GPLv2+, libproc and libps LGPLv2+
-PROCPS_LICENSE_FILES = COPYING COPYING.LIB
-
-PROCPS_DEPENDENCIES = ncurses
-
-define PROCPS_BUILD_CMDS
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
-endef
-
-define PROCPS_INSTALL_TARGET_CMDS
-	mkdir -p $(addprefix $(TARGET_DIR)/,usr/bin bin sbin) \
-		 $(addprefix $(TARGET_DIR)/usr/share/man/,man1 man5 man8)
-	$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) lib64=lib install=install \
-		ldconfig=true install
-endef
-
-$(eval $(generic-package))
-- 
1.8.3.2

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

* [Buildroot] [PATCH 2/7] package/libinput: new package
  2014-06-02 20:27 [Buildroot] [PATCH 0/7 v3] A bunch of bumps (branch yem/bumps) Yann E. MORIN
  2014-06-02 20:27 ` [Buildroot] [PATCH 1/7] package/procps: bump version and rename to procps-ng Yann E. MORIN
@ 2014-06-02 20:27 ` Yann E. MORIN
  2014-06-02 21:15   ` Peter Korsgaard
  2014-06-02 20:27 ` [Buildroot] [PATCH 3/7] package/weston: add support for libinput Yann E. MORIN
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2014-06-02 20:27 UTC (permalink / raw)
  To: buildroot

From: "Yann E. MORIN" <yann.morin.1998@free.fr>

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/Config.in            |  1 +
 package/libinput/Config.in   | 17 +++++++++++++++++
 package/libinput/libinput.mk | 19 +++++++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 100644 package/libinput/Config.in
 create mode 100644 package/libinput/libinput.mk

diff --git a/package/Config.in b/package/Config.in
index 9c0a769..1706197 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -625,6 +625,7 @@ source "package/libcec/Config.in"
 source "package/libfreefare/Config.in"
 source "package/libftdi/Config.in"
 source "package/libhid/Config.in"
+source "package/libinput/Config.in"
 source "package/libiqrf/Config.in"
 source "package/libllcp/Config.in"
 source "package/libmbim/Config.in"
diff --git a/package/libinput/Config.in b/package/libinput/Config.in
new file mode 100644
index 0000000..14e4e70
--- /dev/null
+++ b/package/libinput/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_LIBINPUT
+	bool "libinput"
+	depends on BR2_PACKAGE_HAS_UDEV
+	select BR2_PACKAGE_LIBEVDEV
+	select BR2_PACKAGE_MTDEV
+	help
+	  libinput is a library to handle input devices in Wayland
+	  compositors and to provide a generic X.Org input driver.
+	  It provides device detection, device handling, input device
+	  event processing and abstraction so minimize the amount of
+	  custom input code compositors need to provide the common
+	  set of functionality that users expect.
+
+	  http://freedesktop.org/wiki/Software/libinput/
+
+comment "libinput needs udev /dev management"
+	depends on !BR2_PACKAGE_HAS_UDEV
diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk
new file mode 100644
index 0000000..7c3e5e8
--- /dev/null
+++ b/package/libinput/libinput.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# libinput
+#
+################################################################################
+
+LIBINPUT_VERSION = 0.2.0
+LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz
+LIBINPUT_SITE = http://www.freedesktop.org/software/libinput
+LIBINPUT_LICENSE = MIT
+LIBINPUT_LICENSE_FILES = COPYING
+
+LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev
+LIBINPUT_INSTALL_STAGING = YES
+
+# Tests need fork, so just disable them everywhere.
+LIBINPUT_CONF_OPT = --disable-tests
+
+$(eval $(autotools-package))
-- 
1.8.3.2

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

* [Buildroot] [PATCH 3/7] package/weston: add support for libinput
  2014-06-02 20:27 [Buildroot] [PATCH 0/7 v3] A bunch of bumps (branch yem/bumps) Yann E. MORIN
  2014-06-02 20:27 ` [Buildroot] [PATCH 1/7] package/procps: bump version and rename to procps-ng Yann E. MORIN
  2014-06-02 20:27 ` [Buildroot] [PATCH 2/7] package/libinput: new package Yann E. MORIN
@ 2014-06-02 20:27 ` Yann E. MORIN
  2014-06-02 21:16   ` Peter Korsgaard
  2014-06-02 20:27 ` [Buildroot] [PATCH 4/7] package/freerdp: not forcibly depend on X.Org Yann E. MORIN
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2014-06-02 20:27 UTC (permalink / raw)
  To: buildroot

From: "Yann E. MORIN" <yann.morin.1998@free.fr>

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/weston/weston.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index ea63203..325cfc7 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -32,6 +32,13 @@ else
 WESTON_CONF_OPT += --disable-xkbcommon
 endif
 
+ifeq ($(BR2_PACKAGE_LIBINPUT),y)
+WESTON_DEPENDENCIES += libinput
+WESTON_CONF_OPT += --enable-libinput-backend
+else
+WESTON_CONF_OPT += --disable-libinput-backend
+endif
+
 ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
 WESTON_DEPENDENCIES += libunwind
 else
-- 
1.8.3.2

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

* [Buildroot] [PATCH 0/7 v3] A bunch of bumps (branch yem/bumps)
@ 2014-06-02 20:27 Yann E. MORIN
  2014-06-02 20:27 ` [Buildroot] [PATCH 1/7] package/procps: bump version and rename to procps-ng Yann E. MORIN
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Yann E. MORIN @ 2014-06-02 20:27 UTC (permalink / raw)
  To: buildroot

From: "Yann E. MORIN" <yann.morin.1998@free.fr>

Hello All!

This series has been sitting here waiting for the last release to be out.
It is now, so here are the bumps.


Changes v2 -> v3:
  - fix the procps-ng file names  (Peter)
  - add procps to legacy  (Peter)
  - drop applied patches

Changes v1 -> v2:
  - apply a fixup to procps that I forgot in the previous round...


Regards,
Yann E. MORIN.


The following changes since commit 8e10125d25455a734528b0a18c9bca6e5c1ba4ea:

  ti-gfx: select fbset as it is a runtime dependency (2014-06-02 22:05:23 +0200)

are available in the git repository at:

  git://gitorious.org/buildroot/buildroot.git yem/bumps

for you to fetch changes up to 79d083ee71a1e3c81a26f9f8a1b47cbb8c0b6d83:

  [WIP] package/weston: add support for the RDP compositor (2014-06-02 22:08:55 +0200)

----------------------------------------------------------------
Yann E. MORIN (7):
      package/procps: bump version and rename to procps-ng
      package/libinput: new package
      package/weston: add support for libinput
      package/freerdp: not forcibly depend on X.Org
      pacakge/freerdp: disable building the manpages
      package/freerdp: add options to enable/disable server and/or client
      [WIP] package/weston: add support for the RDP compositor

 Config.in.legacy                                   | 10 +++++++
 package/Config.in                                  |  5 ++--
 package/freerdp/Config.in                          | 31 +++++++++++++++++----
 package/freerdp/freerdp.mk                         | 32 +++++++++++++++++++---
 package/libinput/Config.in                         | 17 ++++++++++++
 package/libinput/libinput.mk                       | 19 +++++++++++++
 package/{procps => procps-ng}/Config.in            |  6 ++--
 .../procps-ng/procps-ng-0000-remove-index.patch    | 16 +++++++++++
 package/procps-ng/procps-ng.mk                     | 15 ++++++++++
 package/procps/procps-make-3.82.patch              | 23 ----------------
 package/procps/procps-remove-flags.patch           | 26 ------------------
 package/procps/procps-remove-index.patch           | 21 --------------
 package/procps/procps-wchar.patch                  | 29 --------------------
 package/procps/procps.mk                           | 25 -----------------
 package/weston/Config.in                           |  5 ++++
 package/weston/weston.mk                           | 14 ++++++++++
 16 files changed, 156 insertions(+), 138 deletions(-)
 create mode 100644 package/libinput/Config.in
 create mode 100644 package/libinput/libinput.mk
 rename package/{procps => procps-ng}/Config.in (63%)
 create mode 100644 package/procps-ng/procps-ng-0000-remove-index.patch
 create mode 100644 package/procps-ng/procps-ng.mk
 delete mode 100644 package/procps/procps-make-3.82.patch
 delete mode 100644 package/procps/procps-remove-flags.patch
 delete mode 100644 package/procps/procps-remove-index.patch
 delete mode 100644 package/procps/procps-wchar.patch
 delete mode 100644 package/procps/procps.mk

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 4/7] package/freerdp: not forcibly depend on X.Org
  2014-06-02 20:27 [Buildroot] [PATCH 0/7 v3] A bunch of bumps (branch yem/bumps) Yann E. MORIN
                   ` (2 preceding siblings ...)
  2014-06-02 20:27 ` [Buildroot] [PATCH 3/7] package/weston: add support for libinput Yann E. MORIN
@ 2014-06-02 20:27 ` Yann E. MORIN
  2014-06-02 20:27 ` [Buildroot] [PATCH 5/7] pacakge/freerdp: disable building the manpages Yann E. MORIN
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2014-06-02 20:27 UTC (permalink / raw)
  To: buildroot

From: "Yann E. MORIN" <yann.morin.1998@free.fr>

It is possible to build the libfreerdp standalone, without X.Org.
Having a libfreerdp will be usefull for the weston RDP compositor.

Re-order the menuconfig, as freerdp is no longer an X-only application.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/Config.in          |  2 +-
 package/freerdp/Config.in  | 17 ++++++++++++-----
 package/freerdp/freerdp.mk | 18 ++++++++++++++----
 3 files changed, 27 insertions(+), 10 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index 1706197..4b97cde 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -190,6 +190,7 @@ endif
 source "package/fb-test-app/Config.in"
 source "package/fbterm/Config.in"
 source "package/fbv/Config.in"
+source "package/freerdp/Config.in"
 source "package/imagemagick/Config.in"
 source "package/linux-fusion/Config.in"
 source "package/lite/Config.in"
@@ -228,7 +229,6 @@ source "package/apitrace/Config.in"
 source "package/dillo/Config.in"
 source "package/docker/Config.in"
 source "package/feh/Config.in"
-source "package/freerdp/Config.in"
 source "package/gmpc/Config.in"
 source "package/gob2/Config.in"
 source "package/gqview/Config.in"
diff --git a/package/freerdp/Config.in b/package/freerdp/Config.in
index c5ff769..81a67ea 100644
--- a/package/freerdp/Config.in
+++ b/package/freerdp/Config.in
@@ -1,14 +1,21 @@
 config BR2_PACKAGE_FREERDP
 	bool "freerdp"
 	select BR2_PACKAGE_OPENSSL
-	select BR2_PACKAGE_XLIB_LIBX11
-	select BR2_PACKAGE_XLIB_LIBXT
-	select BR2_PACKAGE_XLIB_LIBXEXT
-	select BR2_PACKAGE_XLIB_LIBXCURSOR
 	select BR2_PACKAGE_ZLIB
-	depends on BR2_PACKAGE_XORG7
 	help
 	  FreeRDP is a free implementation of the Remote Desktop
 	  Protocol (RDP), released under the Apache license
 
 	  http://www.freerdp.com/
+
+if BR2_PACKAGE_FREERDP
+
+config BR2_PACKAGE_FREERDP_NEEDS_XLIBS
+	def_bool y
+	depends on BR2_PACKAGE_XORG7
+	select BR2_PACKAGE_XLIB_LIBX11
+	select BR2_PACKAGE_XLIB_LIBXT
+	select BR2_PACKAGE_XLIB_LIBXEXT
+	select BR2_PACKAGE_XLIB_LIBXCURSOR
+
+endif
diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk
index e92067c..95430bb 100644
--- a/package/freerdp/freerdp.mk
+++ b/package/freerdp/freerdp.mk
@@ -4,13 +4,23 @@
 #
 ################################################################################
 
-FREERDP_VERSION = 1.0.1
-FREERDP_SITE = https://github.com/downloads/FreeRDP/FreeRDP
-FREERDP_DEPENDENCIES = openssl zlib \
-	xlib_libX11 xlib_libXt xlib_libXext xlib_libXcursor
+# Changeset on the stable-1.1 branch
+FREERDP_VERSION = 01865f0e284ce34bb5f38842b34dc80f08b58749
+FREERDP_SITE = https://github.com/FreeRDP/FreeRDP
+FREERDP_SITE_METHOD = git
+FREERDP_DEPENDENCIES = openssl zlib
 FREERDP_LICENSE = Apache-2.0
 FREEDRP_LICENSE_FILES = LICENSE
 
+FREERDP_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PACKAGE_FREERDP_NEEDS_XLIBS),y)
+FREERDP_DEPENDENCIES += xlib_libX11 xlib_libXt xlib_libXext xlib_libXcursor
+FREERDP_CONF_OPT += -DWITH_X11=ON
+else
+FREERDP_CONF_OPT += -DWITH_X11=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_CUPS),y)
 FREERDP_CONF_OPT += -DWITH_CUPS=ON
 FREERDP_DEPENDENCIES += cups
-- 
1.8.3.2

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

* [Buildroot] [PATCH 5/7] pacakge/freerdp: disable building the manpages
  2014-06-02 20:27 [Buildroot] [PATCH 0/7 v3] A bunch of bumps (branch yem/bumps) Yann E. MORIN
                   ` (3 preceding siblings ...)
  2014-06-02 20:27 ` [Buildroot] [PATCH 4/7] package/freerdp: not forcibly depend on X.Org Yann E. MORIN
@ 2014-06-02 20:27 ` Yann E. MORIN
  2014-06-02 20:27 ` [Buildroot] [PATCH 6/7] package/freerdp: add options to enable/disable server and/or client Yann E. MORIN
  2014-06-02 20:27 ` [Buildroot] [PATCH 7/7] [WIP] package/weston: add support for the RDP compositor Yann E. MORIN
  6 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2014-06-02 20:27 UTC (permalink / raw)
  To: buildroot

From: "Yann E. MORIN" <yann.morin.1998@free.fr>

Building the manpages requires xsltproc, which might not be available.
Also, who needs the manpages on the target anyway? ;-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/freerdp/freerdp.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk
index 95430bb..aef9350 100644
--- a/package/freerdp/freerdp.mk
+++ b/package/freerdp/freerdp.mk
@@ -14,6 +14,8 @@ FREEDRP_LICENSE_FILES = LICENSE
 
 FREERDP_INSTALL_STAGING = YES
 
+FREERDP_CONF_OPT = -DWITH_MANPAGES=OFF
+
 ifeq ($(BR2_PACKAGE_FREERDP_NEEDS_XLIBS),y)
 FREERDP_DEPENDENCIES += xlib_libX11 xlib_libXt xlib_libXext xlib_libXcursor
 FREERDP_CONF_OPT += -DWITH_X11=ON
-- 
1.8.3.2

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

* [Buildroot] [PATCH 6/7] package/freerdp: add options to enable/disable server and/or client
  2014-06-02 20:27 [Buildroot] [PATCH 0/7 v3] A bunch of bumps (branch yem/bumps) Yann E. MORIN
                   ` (4 preceding siblings ...)
  2014-06-02 20:27 ` [Buildroot] [PATCH 5/7] pacakge/freerdp: disable building the manpages Yann E. MORIN
@ 2014-06-02 20:27 ` Yann E. MORIN
  2014-06-02 20:27 ` [Buildroot] [PATCH 7/7] [WIP] package/weston: add support for the RDP compositor Yann E. MORIN
  6 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2014-06-02 20:27 UTC (permalink / raw)
  To: buildroot

From: "Yann E. MORIN" <yann.morin.1998@free.fr>

Building the client or the server requires an X.Org stack.

Since freerdp can also be used for weston (wayland-based, hence no X.Org
stack), we may want to disable the client and server.

Conversely, with on an X.Org stack, we may want to enable either or
none if we're just interested in the library.

Add two options, one to enable the server, the other the client.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/freerdp/Config.in  | 18 ++++++++++++++++--
 package/freerdp/freerdp.mk | 12 ++++++++++++
 2 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/package/freerdp/Config.in b/package/freerdp/Config.in
index 81a67ea..0c2edc5 100644
--- a/package/freerdp/Config.in
+++ b/package/freerdp/Config.in
@@ -6,16 +6,30 @@ config BR2_PACKAGE_FREERDP
 	  FreeRDP is a free implementation of the Remote Desktop
 	  Protocol (RDP), released under the Apache license
 
+	  This only installs the freerdp library.
+
 	  http://www.freerdp.com/
 
 if BR2_PACKAGE_FREERDP
 
 config BR2_PACKAGE_FREERDP_NEEDS_XLIBS
-	def_bool y
-	depends on BR2_PACKAGE_XORG7
+	bool
 	select BR2_PACKAGE_XLIB_LIBX11
 	select BR2_PACKAGE_XLIB_LIBXT
 	select BR2_PACKAGE_XLIB_LIBXEXT
 	select BR2_PACKAGE_XLIB_LIBXCURSOR
 
+config BR2_PACKAGE_FREERDP_SERVER
+	bool "build server"
+	depends on BR2_PACKAGE_XORG7
+	select BR2_PACKAGE_FREERDP_X_LIBS
+
+config BR2_PACKAGE_FREERDP_CLIENT
+	bool "build client"
+	depends on BR2_PACKAGE_XORG7
+	select BR2_PACKAGE_FREERDP_X_LIBS
+
+comment "freerdp server and client needs X.Org"
+	depends on !BR2_PACKAGE_XORG7
+
 endif
diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk
index aef9350..80e4945 100644
--- a/package/freerdp/freerdp.mk
+++ b/package/freerdp/freerdp.mk
@@ -23,6 +23,18 @@ else
 FREERDP_CONF_OPT += -DWITH_X11=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_FREERDP_SERVER),y)
+FREERDP_CONF_OPT += -DWITH_SERVER=ON -DWITH_SERVER_INTERFACE=ON
+else
+FREERDP_CONF_OPT += -DWITH_SERVER=OFF -DWITH_SERVER_INTERFACE=OFF
+endif
+
+ifeq ($(BR2_PACKAGE_FREERDP_CLIENT),y)
+FREERDP_CONF_OPT += -DWITH_CLIENT=ON -DWITH_CLIENT_INTERFACE=ON
+else
+FREERDP_CONF_OPT += -DWITH_CLIENT=OFF -DWITH_CLIENT_INTERFACE=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_CUPS),y)
 FREERDP_CONF_OPT += -DWITH_CUPS=ON
 FREERDP_DEPENDENCIES += cups
-- 
1.8.3.2

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

* [Buildroot] [PATCH 7/7] [WIP] package/weston: add support for the RDP compositor
  2014-06-02 20:27 [Buildroot] [PATCH 0/7 v3] A bunch of bumps (branch yem/bumps) Yann E. MORIN
                   ` (5 preceding siblings ...)
  2014-06-02 20:27 ` [Buildroot] [PATCH 6/7] package/freerdp: add options to enable/disable server and/or client Yann E. MORIN
@ 2014-06-02 20:27 ` Yann E. MORIN
  6 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2014-06-02 20:27 UTC (permalink / raw)
  To: buildroot

From: "Yann E. MORIN" <yann.morin.1998@free.fr>

Using the RDP compositor, one can run a headless machine to serve remote
clients, using the RDP protocol.

Add an option to enable the rdp-backend.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

---
Note: this is mostly in an WIP state. The backend builds and does
not crash. But the best I was able to get when connecting to this
RDP server, is an empty, completely black client window, in which
I could do nothing, not even run a weston-terminal or whatever,
even by explicitly asking to run it via the RDP 'shell' command...
But it works, as it does not crash. Oh, wait...

Although WIP, sending it to show off what weston is (supposed to be)
capable of.
---
 package/weston/Config.in | 5 +++++
 package/weston/weston.mk | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/package/weston/Config.in b/package/weston/Config.in
index 96ebdf1..267571a 100644
--- a/package/weston/Config.in
+++ b/package/weston/Config.in
@@ -45,6 +45,11 @@ config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
 config BR2_PACKAGE_WESTON_FBDEV
 	bool "fbdev compositor"
 
+config BR2_PACKAGE_WESTON_RDP
+	bool "RDP compositor"
+	select BR2_PACKAGE_FREERDP
+	select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
+
 comment "RPi compositor needs a toolchain w/ C++, largefile, threads"
 	depends on BR2_arm
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index 325cfc7..6189601 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -39,6 +39,13 @@ else
 WESTON_CONF_OPT += --disable-libinput-backend
 endif
 
+ifeq ($(BR2_PACKAGE_WESTON_RDP),y)
+WESTON_DEPENDENCIES += freerdp
+WESTON_CONF_OPT += --enable-rdp-compositor
+else
+WESTON_CONF_OPT += --disable-rdp-compositor
+endif
+
 ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
 WESTON_DEPENDENCIES += libunwind
 else
-- 
1.8.3.2

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

* [Buildroot] [PATCH 1/7] package/procps: bump version and rename to procps-ng
  2014-06-02 20:27 ` [Buildroot] [PATCH 1/7] package/procps: bump version and rename to procps-ng Yann E. MORIN
@ 2014-06-02 20:34   ` Peter Korsgaard
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2014-06-02 20:34 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > From: "Yann E. MORIN" <yann.morin.1998@free.fr>
 > procps is getting replaced by procps-ng, and there are
 > new versions available!

 > procps-ng is now an autotools package, so get rid of our
 > custom build/install rules.

 > Remove most patches, except for one that still half-applies,
 > so update and rename it.

 > procps is dead, long live procps-ng!

 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/7] package/libinput: new package
  2014-06-02 20:27 ` [Buildroot] [PATCH 2/7] package/libinput: new package Yann E. MORIN
@ 2014-06-02 21:15   ` Peter Korsgaard
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2014-06-02 21:15 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > From: "Yann E. MORIN" <yann.morin.1998@free.fr>
 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Committed, thanks.

I've added another commit with some patches to fix the build for older
kernel headers.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 3/7] package/weston: add support for libinput
  2014-06-02 20:27 ` [Buildroot] [PATCH 3/7] package/weston: add support for libinput Yann E. MORIN
@ 2014-06-02 21:16   ` Peter Korsgaard
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2014-06-02 21:16 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > From: "Yann E. MORIN" <yann.morin.1998@free.fr>
 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2014-06-02 21:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-02 20:27 [Buildroot] [PATCH 0/7 v3] A bunch of bumps (branch yem/bumps) Yann E. MORIN
2014-06-02 20:27 ` [Buildroot] [PATCH 1/7] package/procps: bump version and rename to procps-ng Yann E. MORIN
2014-06-02 20:34   ` Peter Korsgaard
2014-06-02 20:27 ` [Buildroot] [PATCH 2/7] package/libinput: new package Yann E. MORIN
2014-06-02 21:15   ` Peter Korsgaard
2014-06-02 20:27 ` [Buildroot] [PATCH 3/7] package/weston: add support for libinput Yann E. MORIN
2014-06-02 21:16   ` Peter Korsgaard
2014-06-02 20:27 ` [Buildroot] [PATCH 4/7] package/freerdp: not forcibly depend on X.Org Yann E. MORIN
2014-06-02 20:27 ` [Buildroot] [PATCH 5/7] pacakge/freerdp: disable building the manpages Yann E. MORIN
2014-06-02 20:27 ` [Buildroot] [PATCH 6/7] package/freerdp: add options to enable/disable server and/or client Yann E. MORIN
2014-06-02 20:27 ` [Buildroot] [PATCH 7/7] [WIP] package/weston: add support for the RDP compositor Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox