facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
25 lines
783 B
Bash
25 lines
783 B
Bash
#!/bin/sh
|
|
#
|
|
#############################################################################
|
|
#
|
|
# Get the version string from version.h and print it out without
|
|
# trailing newline. This makes it suitable for use in configure.ac.
|
|
#
|
|
#############################################################################
|
|
#
|
|
# Author: Lasse Collin
|
|
#
|
|
# This file has been put into the public domain.
|
|
# You can do whatever you want with this file.
|
|
#
|
|
#############################################################################
|
|
|
|
sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/
|
|
s/LZMA_VERSION_STABILITY_BETA/beta/
|
|
s/LZMA_VERSION_STABILITY_STABLE//
|
|
s/^#define LZMA_VERSION_[MPS][AIT][AJNT][A-Z]* //p' \
|
|
src/liblzma/api/lzma/version.h \
|
|
| tr '\n' '|' \
|
|
| sed 's/|/./; s/|/./; s/|//g' \
|
|
| tr -d '\r\n'
|