10 Commits

Author SHA1 Message Date
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08: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
Khem Raj 2faae996e1 indent: Remove dead code using count_parens function
clang static analyser finds it as dead code, and it indeed is dead code
so remove it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-05 06:06:27 -07:00
Robert P. J. Day f869eaaef3 indent: delete meaningless line referring to "/usr/doc"
Remove what appears to be historical line referencing HTML docs under
/usr/doc -- building indent generates no such file.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-18 15:33:49 -07:00
Khem Raj 8c65264690 indent: Do not build docs
It fails to build currently, with texinfo-dummy

|   File "/mnt/a/tmp-yoe/work/riscv64-yoe-linux-musl/indent/2.2.12-r0/recipe-sysroot-native/usr/bin/makeinfo", line 100, in <module>
|     stub_msg                                                                  | AssertionError: Don't know how to get default output file name from input file
!
| This stand-in version of makeinfo is not yet fully capable of emulating
| the real version from the GNU texinfo suite. If you see this message, file a
| bug report with details on the recipe that failed.
|                                                                               | make[2]: *** [Makefile:814: indent.html] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-28 23:11:30 -08:00
Khem Raj 4078a203e8 recipes: Inherit missing texinfo for makeinfo program
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-28 22:37:15 -08:00
Alexander Kanavin abda84d15d enscript/indent/sharutils: fix build with gettext 0.20.x
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-20 16:01:19 -08:00
Mingli Yu 9fa40ad5f4 indent: Upgrade to 2.2.12
Add two patches to fix the build error.

Add -Wno-error=unused-value for native build
to silence below error:
| In file included from ../../indent-2.2.12/src/indent.h:60:0,
                 from ../../indent-2.2.12/src/indent.c:77:
| ../../indent-2.2.12/src/indent.c: In function 'main':
| ../../indent-2.2.12/src/libgettext.h:88:5: error: statement with no effect [-Werror=unused-value]
     ((void) (Domainname), (const char *) (Dirname))
     ^
| ../../indent-2.2.12/src/indent.c:1064:5: note: in expansion of macro 'bindtextdomain'
     bindtextdomain(PACKAGE, LOCALEDIR);

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-29 10:13:56 -07:00
Bian Naimeng a804a9f994 indent: license should be GPLv3
The license of indent should be GPLv3

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Acked-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:52 +02:00
Qian Lei 7f24cb1fe4 indent: Add new recipe
Indent is a GNU program for beautifying C code, so that it is easier
to read. Indent can also convert from one C writing style to a different
one. Indent understands correct C syntax and tries to handle incorrect C
syntax.

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-28 13:41:01 +01:00