Commit Graph

29 Commits

Author SHA1 Message Date
Khem Raj
1bc33e8e58
classed/xfce: Add XFCEBASEBUILDCLASS
Default to autotools to keep the present defaults working, it allows
building xfce components with meson, many of newer releases of xfce
components are using meson

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-12 13:50:01 -07:00
Khem Raj
b4f3c4665c
classed/xfce: Make download tarball extention type configurable
Default is still tar.bz2, but there is now option to use tar.xz which is
some of new xfce component releases are only xz compressed tarballs.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-12 13:50:01 -07:00
Jason Schonberg
cffffd29e5 thunar-plugin.bbclass change and plugins
Newer thunar plugins are being distributed as tar.xz archives
instead of tar.bz2.  Update the bbclass to reflect that.

Also update the three users of this bbclass to newer plugin versions
that are distributed as tar.xz arcives.

All three of these plugins still build with autotools.  Although some
thought should be given to how we want to build with meson in the future.

thunar-shares-plugin: upgrade 0.4.0 -> 0.5.0

Changelog: https://gitlab.xfce.org/thunar-plugins/thunar-shares-plugin/-/tags/thunar-shares-plugin-0.5.0

thunar-media-tags-plugin: upgrade 0.5.0 -> 0.6.0

Changelog: https://gitlab.xfce.org/thunar-plugins/thunar-media-tags-plugin/-/tags/thunar-media-tags-plugin-0.6.0

thunar-archive-plugin: upgrade 0.5.3 -> 0.6.0

Changelog: https://gitlab.xfce.org/thunar-plugins/thunar-archive-plugin/-/tags/thunar-archive-plugin-0.6.0

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-05 13:41:52 -07:00
Markus Volk
abdb05b6b4 unblock some recipes for wayland
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-01 08:43:01 -07:00
Khem Raj
0300f77934 xfce.bbclass: Mark string as raw in a regexp
Fixes python Deprecated behavior warning

xfce.bbclass:3: DeprecationWarning: invalid escape sequence \.
  m = re.match("^([0-9]+)\.([0-9]+)", v)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-16 08:25:21 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07: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
Kai Kang
53724ff23d xfce-panel-plugin.bbclass: correct SRC_URI with xfce_verdir
The SRC_URI is wrongly calculated in xfce-panel-plugin.bbclass when the
length of first 2 parts(separated by dot(.)) of PV is longer than 3 such
as 0.10. It should use function xfce_verdir() instead which is
introduced by xfce.bbclass.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-08 10:05:22 -08:00
Mark Asselstine
029ad49c25 xfce4: package libtool files if they are installed
This is a partial revert of commit 2ad5ceafa5 [various classes
recipes: Remove FILES entries for dbg/dev packages] to restore the
packaging of libtool (.la) files. It is generally recommended to
include 'remove-libtool' in your distro features to purge libtool
files as a do_install postfunc for all recipes, as is the documented
recommendation for handling of libtool files (unless the .la have been
determined to be absolutely necessary, in which case a recipe can use
the REMOVE_LIBTOOL_LA to prevent the cleanup). However, if the
'remove-libtool' distro feature is not specified we need to ensure
that if after a recipe completes do_install() and there are libtool
files present in the image, we must package them or we will hit
'installed-vs-shipped' QA issues.

NOTE: that even with respect to libtool files this is not a 1:1
partial revert of commit 2ad5ceafa5, adjustments are made according
to the current state of the build today.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-18 16:42:54 -07:00
Andreas Müller
ae41c0e250 thunar-plugin.bbclass: pack GTK3 plugins properly
There are no GTK2 thunar plugins left in meta-xfce so remove
${libdir}/thunarx-2/*.so.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-06-14 08:57:14 -07:00
Andreas Müller
2ad5ceafa5 various classes recipes: Remove FILES entries for dbg/dev packages
These entries are no more required - oe-core defaults were reworked long time
ago.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-06-14 08:57:14 -07:00
Jackie Huang
db0e4783e2 xfce-app.bbclass: add x11 to REQUIRED_DISTRO_FEATURES
All xfce apps depend on gtk+ or xfce4-panel or libxfce4ui
which require x11 distro feature.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:24:48 +01:00
Jackie Huang
723e9b71a4 xfce-panel-plugin.bbclass: add x11 to REQUIRED_DISTRO_FEATURES
The bbclass depends on xfce4-panel and libxfce4ui
which require x11 distro feature.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:24:48 +01:00
Jackie Huang
20b398d878 thunar-plugin.bbclass: add x11 to REQUIRED_DISTRO_FEATURES
thunar depends on gtk+, libsm and xfce4-panel which
require x11 distro feature.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:24:48 +01:00
Andreas Müller
b86f2fac95 meta-xfce: add intltool-native to DEPENDS
fix tons of messages as:

| WARNING: foo do_configure: Missing DEPENDS on intltool-native

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:24 +02:00
Andreas Müller
14d3f7c83c xfce-app.bbclass: SRC_URI calculation supports multiple digit version numbers
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2014-10-16 07:00:59 +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
Andreas Müller
de430ccd76 xfce-git.bbclass initial add
common preparations for xfce-git-repos

* implement autogen.sh call in do_configure_prepend
* AUTOTOOLS_COPYACLOCAL = "1": In oe-core commit
  79ea036de331bde65a88fb777647dc099ef05acf copying aclocals was moved to
  do_configure[prefuncs]. These are called before do_configure_prepend which
  causes configure.ac not yet being created and autotools_copy_aclocals
  returning undone.

By using this class tons of errors like

| aclocal: error: couldn't open directory '/home/a.mueller/tmp/oe-core-eglibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/xfce4-settings/4.11.0+gitAUTOINC+b7a0e1fd77-r0/git/aclocal-copy/': No such file or directory
| autoreconf: aclocal failed with exit status: 1

are fixed.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2014-04-20 10:40:26 +02:00
Andreas Müller
094c5412ef thunar-plugin.bbclass: initial add
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2013-05-19 09:37:30 +02:00
Andreas Müller
a2417b3b98 xfce.bbclass: change SRC_URI calculation
* grabbed from oe-core gnomebase.bbclass
* old calculation did not work for version numbers with multiple digits (4.10)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-09-18 15:53:59 +02:00
Andreas Müller
8b3ed2f434 xfce.bbclass: inherit gettext
Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-05 10:14:24 +01:00
Andreas Müller
2d1d33ec11 xfce-panel-plugin.bbclass: Add further directories to FILES_${PN}
* Some panel-plugins (e.g xfce4-clipman-plugin) use panel/plugins instead of
  xfce4/panel-plugins.
* build tested on maiden tmp-dir
* run tested all applications and plugins on overo

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-02 17:25:43 +01:00
Andreas Müller
48640311c1 xfce.bbclass: Add further folders for ${PN}-dev/-staticdev/-dbg
* Some panel-plugins (e.g xfce4-clipman-plugin) store libraries in
  /usr/lib/xfce4/panel/plugins instead of
  /usr/lib/xfce4/panel-plugins.
* build tested on maiden tmp-dir
* run tested all applications and plugins on overo

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-02 17:25:42 +01:00
Andreas Müller
7faafa8b3c xfce-app.bbclass: just set SRC_URI commmon to most xfce-apps
* build tested with source download for xfce4-notifyd and xfce4-screenshooter
* run tested on overo

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-31 11:25:55 +01:00
Andreas Müller
b795bbb81c xfce-panel-plugin.bbclass: pack modules also from ${libdir}/xfce4/panel-plugins
* some panel-plugins (e.g xfce4-datetime-plugin) install their modules to
  ${libdir}/xfce4/panel-plugins
* build tested with fresh build dir
* run tested on overo: applications / all available plugins

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-25 07:02:06 +02:00
Andreas Müller
aaa135b7dc xfce.bbclass: Move static libraries to ${PN}-staticdev
* build tested with fresh build dir
* run tested on overo: applications / all available plugins

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-25 07:02:05 +02:00
Andreas Müller
4a4f0966ca xfce-panel-plugin: bbclass for panel plugins
* based on Koen's patch [1]
* use libxfce4ui instead of libxfcegui4

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-October/035589.html

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-18 11:18:12 +02:00
Andreas Müller
c571ecbb43 xfce4-dev-tools: add native support 2011-09-22 17:16:27 +02:00
Andreas Mueller
c2004f5eca xfce.bbclass: A class for xfce-global settings 2011-08-05 19:49:58 +02:00