15 Commits

Author SHA1 Message Date
Yogesh Tyagi 6feb91601c xdotool: avoid running host ldconfig during do_install
The upstream Makefile invokes ldconfig at install time, which runs the
host ldconfig against the target sysroot (${D}) and is both unnecessary
and non-deterministic for cross builds. Pass LDCONFIG=true to make the
install step a no-op for ldconfig, matching the WITHOUT_RPATH_FIX
handling already used here.

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-12 07:19:26 -07:00
Wang Mingyu 1964be81d3 xdotool: upgrade 3.20211022.1 -> 4.20251130.1
Changelog:
============
- Fix bug in typing/keyboard causing xdotool to send extra modifier
  keys in certain cases. When xkeyboard-config 2.46 is installed,
  xdotool would send incorrect key sequences for function keys, for
  example incorrectly sending "Alt + F3" when F3 was requested.
- Add 'windowlower' command
- Fix some crashes in xdo_get_desktop_for_window
- Fix mouse movement under Xwayland when multiple screens are present
- mousemove --sync no only waits if the cursor is expected to actually move
- Remove dependency on libXi that was leftover from Wayland detection code no
  longer used in xdotool
- Bump SONAME to 4 hopefully to resolve ABI issues with previous versions of libxdo.
- Code improvements intended to reduce compiler warnings
- Add support for Cygwin when building
- Test suite works again!

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-02 09:22:52 -08:00
Richard Purdie eac1f5b9c0 recipes: Fix variable assignment whitespace
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-20 08:46:56 -07:00
Khem Raj 2f94506c97 xdotool: Remove useless rpaths
They are pointing to standard libdir on target

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-11 18:41:10 -07:00
Faiz HAMMOUCHE d12bae3851 xdotool: update UPSTREAM_CHECK_* variables to fix devtool upgrades
Update UPSTREAM_CHECK_* variables to fix UNKNOWN_BROKEN status with
devtool check-upgrade-status

Signed-off-by: Faiz HAMMOUCHE <faiz.hammouche@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
2024-07-24 08:56:52 -07:00
Khem Raj fc811eb7e5 xdotool: Upgrade to 3.20211022.1 release
Switch to github releases
Add missing dep on libxinerama and libxkbcommon

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-01 23:20:22 -07:00
Khem Raj 59e3d74810 recipes: Inherit perlnative for pod2man
replace host version of pod2man perl-native provides, helps in
improving reproducability

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-02 22:16:25 -08:00
Denys Dmytriyenko 4c00e5fed9 recipes: rename distro_features_check to features_check
Avoid warning due to the class rename in OE-Core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:51:37 -08:00
Martin Jansa ad9c16bb7b xdotool: prevent compile-host-path QA issues
* as shown in the log.do_compile:
  cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation [-Wpoison-system-directories]

* it's caused by Makefile doing:

  DEFAULT_LIBS=-L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXtst
  DEFAULT_INC=-I/usr/X11R6/include -I/usr/local/include

  LIBS=$(shell pkg-config --libs x11 xtst 2> /dev/null || echo "$(DEFAULT_LIBS)")
  INC=$(shell pkg-config --cflags x11 xtst 2> /dev/null || echo "$(DEFAULT_INC)")

  which always uses the DEFAULT_* since RSS, because there was no
  pkg-config in the recipe sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:28:32 +02:00
Yi Zhao c7ffe8da92 xdotool: pass correct libdir to make
When MACHINE=qemux86-64 and enable multilib:
ERROR: QA Issue: xdotool: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libxdo.so
  /usr/lib/libxdo.so.1
  /usr/lib/.debug
  /usr/lib/.debug/libxdo.so.1
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]

Pass the correct libdir to make, otherwise it assumes $prefix/lib even
on multilib.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2015-06-17 22:36:12 +02:00
Martin Jansa 37a841321d recipes: add x11 to required DISTRO_FEATURES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:33:24 +01:00
Matthieu CRAPET c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Martin Jansa a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Martin Jansa d26ff6c1fd xdotool: fix unpackaged files
* fixes:
xdotool-1.20100416.2809: xdotool: Files/directories were installed but not shipped
  /usr/man
  /usr/man/man1
  /usr/man/man1/xdotool.1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:53:00 +01:00
Koen Kooi 3d0b866967 xdotool: import from OE rev 5350bbef01b8979617e3d0fd38939f94f1fa5315
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-17 23:11:55 +02:00