On 2024-06-25 12:52 p.m., Khem Raj wrote:
Thanks Randy, We need to find more such recipes and purge them


Yes, I'll be working on that a bit over the coming weeks.
In case anyone wants to join in the culling, err fun, below are the filters to look for old recipes along with comments on my plans for the older recipes in the meta-oe layer of the meta-openembedded repo.

Removal summary for meta-oe layer:

recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb
recipes-devtools/json-spirit/json-spirit_4.08.bb
recipes-extended/sblim-sfc-common/sblim-sfc-common_1.0.1.bb
recipes-multimedia/xsp/xsp_1.0.0-8.bb

Any objections?

There isn't as much to remove as I hoped for.


../Randy


$ cd ../meta-openembedded.git

$ for i in `ls -d meta-*`; do \
      cd $i; \
      git ls-tree -r --name-only HEAD | rg bb$ | while read filename; do \
          echo "$(git log -1 --format="%ad" -- $filename) $filename"; \

     done | \
     cut -d" " -f 5- | sort -n | tee /tmp/$i.log; cd -; \

done

$ egrep "^201|2020" /tmp/meta-* | Randy to add meta-oe comments

/tmp/meta-filesystems.log:2020 recipes-support/physfs/physfs_3.0.2.bb
/tmp/meta-gnome.log:2019 recipes-support/ibus/ibus-native.bb
/tmp/meta-initramfs.log:2020 recipes-core/images/initramfs-kexecboot-klibc-image.bb
/tmp/meta-initramfs.log:2020 recipes-core/images/meta-initramfs-image.bb
/tmp/meta-multimedia.log:2015 recipes-multimedia/opencore-amr/vo-aacenc_0.1.3.bb /tmp/meta-multimedia.log:2015 recipes-multimedia/opencore-amr/vo-amrwbenc_0.1.3.bb
/tmp/meta-multimedia.log:2019 recipes-multimedia/juce/projucer_git.bb
/tmp/meta-multimedia.log:2020 recipes-multimedia/opusfile/opusfile_0.12.bb
/tmp/meta-networking.log:2012 recipes-support/tunctl/tunctl_1.5.bb
/tmp/meta-networking.log:2013 recipes-support/libmemcached/libmemcached_1.0.7.bb
/tmp/meta-networking.log:2016 recipes-support/ssmping/ssmping_0.9.1.bb
/tmp/meta-networking.log:2017 recipes-support/libmemcached/libmemcached_1.0.18.bb
/tmp/meta-networking.log:2018 recipes-support/netcat/netcat-openbsd_1.195.bb
/tmp/meta-networking.log:2020 recipes-support/libmaxminddb/libmaxminddb_1.4.3.bb

Randy's meta-oe list of old packages and comments:

# remove - queued
/tmp/meta-oe.log:2015 recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb

# keep, update
/tmp/meta-oe.log:2016 recipes-devtools/dmalloc/dmalloc_5.5.2.bb

# keep update directfb2 ?
/tmp/meta-oe.log:2016 recipes-graphics/directfb/directfb_1.7.7.bb

# Update https://github.com/compuphase/minIni/tags
/tmp/meta-oe.log:2016 recipes-support/minini/minini_1.2.b.bb

# Keep? Need more analysis
/tmp/meta-oe.log:2017 recipes-extended/libexecinfo/libexecinfo_1.1.bb

# 4 hits: https://layers.openembedded.org/layerindex/branch/master/recipes/?q=depends%3Alibmng
# update?
/tmp/meta-oe.log:2017 recipes-graphics/libmng/libmng_2.0.3.bb

# old, slow? -> remove
/tmp/meta-oe.log:2018 recipes-devtools/json-spirit/json-spirit_4.08.bb

# no users -> remove?
/tmp/meta-oe.log:2018 recipes-extended/sblim-sfc-common/sblim-sfc-common_1.0.1.bb

# update to 1.1.1 from 20 months ago
/tmp/meta-oe.log:2018 recipes-graphics/xorg-app/bdftopcf_1.1.bb


# stable benchmark tool -> keep?
/tmp/meta-oe.log:2019 recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb

# keep?
/tmp/meta-oe.log:2019 recipes-core/emlog/kernel-module-emlog_git.bb

# keep. layer on logging - maintained rsyslog dev
/tmp/meta-oe.log:2019 recipes-extended/liblogging/liblogging_1.0.6.bb

# library that uses Freetype2 to simplify rendering fonts in OpenGL applications. # 3 dependencies in other layers: https://layers.openembedded.org/layerindex/branch/master/recipes/?q=depends%3Aftgl
#  so keep
/tmp/meta-oe.log:2019 recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb


# remove: X Server Nokia 770 extensions library
/tmp/meta-oe.log:2019 recipes-multimedia/xsp/xsp_1.0.0-8.bb

# unchanged for > 10 years: https://repo.or.cz/libtar.git/shortlog/refs/heads/master
# libreport depends on it so keep
/tmp/meta-oe.log:2019 recipes-support/libtar/libtar_1.2.20.bb

# I can't bring myself to remove the cscope recipe!
/tmp/meta-oe.log:2020 recipes-devtools/cscope/cscope_15.9.bb

# keep. upstream still active (2023): https://github.com/dynup/kpatch/tags
/tmp/meta-oe.log:2020 recipes-kernel/kpatch/kpatch_git.bb

# keep. upstream still maintained: https://gitlab.xiph.org/xiph/libopusenc/-/commits/master/?ref_type=HEADS
/tmp/meta-oe.log:2020 recipes-multimedia/libopusenc/libopusenc_0.2.1.bb

# keep. font.
/tmp/meta-oe.log:2021 recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb
# keep. font.
/tmp/meta-oe.log:2023 recipes-graphics/ttf-fonts/ttf-vlgothic_20200720.bb


/tmp/meta-python.log:2017 recipes-devtools/python/python3-django-south_1.0.2.bb /tmp/meta-python.log:2017 recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb /tmp/meta-python.log:2017 recipes-devtools/python/python3-flask-xstatic_0.0.1.bb /tmp/meta-python.log:2018 recipes-devtools/python/python3-flask-sijax_0.4.1.bb
/tmp/meta-python.log:2020 recipes-devtools/python/python3-asciitree_0.3.3.bb
/tmp/meta-python.log:2020 recipes-devtools/python/python3-docopt_0.6.2.bb
/tmp/meta-python.log:2020 recipes-devtools/python/python3-ipaddress_1.0.23.bb /tmp/meta-python.log:2020 recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb
/tmp/meta-python.log:2020 recipes-devtools/python/python3-libconf_2.0.1.bb
/tmp/meta-python.log:2020 recipes-devtools/python/python3-pathtools3_0.2.1.bb
/tmp/meta-python.log:2020 recipes-devtools/python/python3-sijax_0.3.2.bb
/tmp/meta-python.log:2020 recipes-devtools/python/python3-speaklater_1.3.bb
/tmp/meta-python.log:2020 recipes-devtools/python/python3-tinyrecord_0.2.0.bb
/tmp/meta-python.log:2020 recipes-devtools/python/python3-visitor_0.1.3.bb
/tmp/meta-webserver.log:2020 recipes-support/fcgiwrap/fcgiwrap_git.bb


I'll continue with cleaning up old recipes in meta-oe so if someone wants to
look at the other layers, please reply here so that we don't have two people doing the
same work.


I already locally removed liblinebreak. It's unused but if people want it they should add libunibreak
as I'll explain in my commit log.

On Tue, Jun 25, 2024 at 9:20 AM Randy MacLeod via
lists.openembedded.org
<randy.macleod=windriver....@lists.openembedded.org>  wrote:
From: Randy MacLeod<randy.macl...@windriver.com>

libee had been used by rsyslog but the library never relly panned out.

It has been declared to be obsolete:
    Early versions of rsyslog and liblognorm used it for representing 
structured content.
    However, this is long gone. We do not know of any other user. So libee 
should be of
    no further interest and is provided here solely for historical reasons.
https://github.com/rsyslog/libee

Also remove references to libee in:
    meta-oe/conf/include/ptest-packagelists-meta-oe.inc
    meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb

Signed-off-by: Randy MacLeod<randy.macl...@windriver.com>
---
  .../include/ptest-packagelists-meta-oe.inc    |  1 -
  .../packagegroups/packagegroup-meta-oe.bb     |  2 -
  meta-oe/recipes-support/libee/libee.inc       | 39 -------------------
  meta-oe/recipes-support/libee/libee/ezapi1.sh | 14 -------
  .../libee/libee/libee-parallel-make.patch     | 20 ----------
  meta-oe/recipes-support/libee/libee/run-ptest |  3 --
  meta-oe/recipes-support/libee/libee_0.4.1.bb  |  4 --
  7 files changed, 83 deletions(-)
  delete mode 100644 meta-oe/recipes-support/libee/libee.inc
  delete mode 100755 meta-oe/recipes-support/libee/libee/ezapi1.sh
  delete mode 100644 
meta-oe/recipes-support/libee/libee/libee-parallel-make.patch
  delete mode 100755 meta-oe/recipes-support/libee/libee/run-ptest
  delete mode 100644 meta-oe/recipes-support/libee/libee_0.4.1.bb

diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc 
b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
index eaa86c411..01bf975a1 100644
--- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
+++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
@@ -17,7 +17,6 @@ PTESTS_FAST_META_OE = "\
      jq \
      leveldb \
      libcereal \
-    libee \
      libgpiod \
      libio-pty-perl \
      libmanette \
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb 
b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index bc40f56b9..e11afcd4e 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -811,7 +811,6 @@ RDEPENDS:packagegroup-meta-oe-support ="\
      libcanberra \
      libssh \
      libssh2 \
-    libee \
      libusbgx-config \
      libusbgx \
      lockdev \
@@ -972,7 +971,6 @@ RDEPENDS:packagegroup-meta-oe-ptest-packages = "\
      oprofile-ptest \
      libteam-ptest \
      uthash-ptest \
-    libee-ptest \
      poco-ptest \
      cmocka-ptest \
      minicoredumper-ptest \
diff --git a/meta-oe/recipes-support/libee/libee.inc 
b/meta-oe/recipes-support/libee/libee.inc
deleted file mode 100644
index 592109b95..000000000
--- a/meta-oe/recipes-support/libee/libee.inc
+++ /dev/null
@@ -1,39 +0,0 @@
-SUMMARY = "An Event Expression Library inspired by CEE"
-DESCRIPTION = "The core idea of libee is to provide a small \
-but hopefully convenient API layer above the CEE standard."
-
-HOMEPAGE ="http://www.libee.org";
-SECTION = "base"
-
-LICENSE = "LGPL-2.1-or-later"
-LIC_FILES_CHKSUM ="file://COPYING;md5=1c2687de35e36ba3b999136236a66cd6"
-
-SRC_URI ="http://www.libee.org/download/files/download/${BPN}-${PV}.tar.gz\ - file://libee-parallel-make.patch \ - file://run-ptest \ - file://ezapi1.sh \ -"
-
-inherit autotools ptest pkgconfig
-
-DEPENDS += "libestr"
-
-PACKAGECONFIG ??="${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'testbench', '', 
d)}"
-
-PACKAGECONFIG[debug] = "--enable-debug,--disable-debug,,"
-PACKAGECONFIG[testbench] = "--enable-testbench,--disable-testbench,,"
-
-TESTDIR = "tests"
-
-# We presume the tests we are going to install so just build them directly.
-#
-do_compile_ptest() {
-    oe_runmake -C ${TESTDIR} genfile ezapi1
-}
-
-do_install_ptest() {
-    install -d ${D}${PTEST_PATH}
-    install -m 0755 ${B}/${TESTDIR}/genfile ${D}${PTEST_PATH}
-    install -m 0755 ${B}/${TESTDIR}/.libs/ezapi1 ${D}${PTEST_PATH}
-    install -m 0755 ${UNPACKDIR}/ezapi1.sh ${D}${PTEST_PATH}
-}
diff --git a/meta-oe/recipes-support/libee/libee/ezapi1.sh 
b/meta-oe/recipes-support/libee/libee/ezapi1.sh
deleted file mode 100755
index e9db5e614..000000000
--- a/meta-oe/recipes-support/libee/libee/ezapi1.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-#
-echo 
---------------------------------------------------------------------------
-echo A very basic test for the event class
-echo 
---------------------------------------------------------------------------
-rm -f infile
-./genfile 100 > infile
-./ezapi1 -iinfile
-if [ $? -ne 0 ] ; then
-   echo "FAIL: $0"
-   exit 1
-fi
-echo "PASS: $0"
-rm -f infile
diff --git a/meta-oe/recipes-support/libee/libee/libee-parallel-make.patch 
b/meta-oe/recipes-support/libee/libee/libee-parallel-make.patch
deleted file mode 100644
index 8bb23aafc..000000000
--- a/meta-oe/recipes-support/libee/libee/libee-parallel-make.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-fix parallel compiling problem
-
-without specifying libee_convert_DEPENDENCIES = libee.la, libee_convert
-can't find libee.la when linking as libee is not generated yet.
-
-Upstream-Status: Pending
-
-Signed-off-by: Yao Zhao<yao.z...@windriver.com>
----
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 08aaa9e..f0c78f7 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -46,5 +46,6 @@ libee_la_LDFLAGS = -version-info 0:0:0
- libee_convert_SOURCES = convert.c
- libee_convert_CPPFLAGS =  -I$(top_srcdir) $(LIBEE_CFLAGS) $(LIBESTR_CFLAGS) 
$(LIBXML2_CFLAGS)
- libee_convert_LDADD = $(LIBEE_LIBS) $(LIBXML2_LIBS) $(LIBESTR_LIBS)
-+libee_convert_DEPENDENCIES = libee.la
-
- include_HEADERS =
diff --git a/meta-oe/recipes-support/libee/libee/run-ptest 
b/meta-oe/recipes-support/libee/libee/run-ptest
deleted file mode 100755
index 3cb660764..000000000
--- a/meta-oe/recipes-support/libee/libee/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-#
-./ezapi1.sh
diff --git a/meta-oe/recipes-support/libee/libee_0.4.1.bb 
b/meta-oe/recipes-support/libee/libee_0.4.1.bb
deleted file mode 100644
index ef2c20db5..000000000
--- a/meta-oe/recipes-support/libee/libee_0.4.1.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require ${BPN}.inc
-
-SRC_URI[md5sum] = "7bbf4160876c12db6193c06e2badedb2"
-SRC_URI[sha256sum] = 
"c0dac01938593deee06c3d161e4eda4ecc0fd7317e1321bd96e301aceb7fb027"
--
2.34.1





--
# Randy MacLeod
# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111116): 
https://lists.openembedded.org/g/openembedded-devel/message/111116
Mute This Topic: https://lists.openembedded.org/mt/106897997/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to