Skip to content

Commit 2b4a923

Browse files
committed
Releae 0.5.3
* Updated build scripts that now use tags without prefixes first. * Updated headers and license files to match LGPL3+ license. * Updated make files to produce static library, pkgconf file and source tree.
2 parents e45cbab + 1426c3c commit 2b4a923

File tree

18 files changed

+1156
-58
lines changed

18 files changed

+1156
-58
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
* RECENT CHANGES
33
*******************************************************************************
44

5+
=== 0.5.3 ===
6+
* Updated build scripts that now use tags without prefixes first.
7+
* Updated headers and license files to match LGPL3+ license.
8+
* Updated make files to produce static library, pkgconf file and source tree.
9+
510
=== 0.5.2 ===
611
* Build updates.
712

COPYING

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

LICENSE renamed to COPYING.LESSER

File renamed without changes.

Makefile

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
#!/usr/bin/make -f
2+
#
3+
# Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
4+
# (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
5+
#
6+
# This file is part of lsp-r3d-base-lib
7+
#
8+
# lsp-r3d-base-lib is free software: you can redistribute it and/or modify
9+
# it under the terms of the GNU Lesser General Public License as published by
10+
# the Free Software Foundation, either version 3 of the License, or
11+
# any later version.
12+
#
13+
# lsp-r3d-base-lib is distributed in the hope that it will be useful,
14+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
# GNU Lesser General Public License for more details.
17+
#
18+
# You should have received a copy of the GNU Lesser General Public License
19+
# along with lsp-r3d-base-lib. If not, see <https://www.gnu.org/licenses/>.
20+
#
221

322
# Location
423
BASEDIR := $(CURDIR)
@@ -18,6 +37,8 @@ include $(BASEDIR)/project.mk
1837

1938
# Setup paths
2039
CHK_CONFIG = test -f "$(CONFIG)" || (echo "System not properly configured. Please launch 'make config' first" && exit 1)
40+
DISTSRC_PATH = $(BUILDDIR)/.distsrc
41+
DISTSRC = $(DISTSRC_PATH)/$(ARTIFACT_NAME)
2142

2243
.DEFAULT_GOAL := all
2344
.PHONY: all compile install uninstall depend clean
@@ -32,37 +53,66 @@ clean:
3253
@echo "Clean OK"
3354

3455
# Module-related tasks
35-
.PHONY: fetch prune
56+
.PHONY: fetch tree prune
3657
fetch:
37-
@echo "Fetching source code dependencies"
58+
@$(CHK_CONFIG)
59+
@echo "Fetching desired source code dependencies"
3860
@$(MAKE) -s -f "make/modules.mk" $(@) BASEDIR="$(BASEDIR)" CONFIG="$(CONFIG)"
3961
@echo "Fetch OK"
62+
63+
tree:
64+
@echo "Fetching all possible source code dependencies"
65+
@$(MAKE) -s -f "make/modules.mk" $(@) BASEDIR="$(BASEDIR)" TREE="1"
66+
@echo "Fetch OK"
4067

4168
prune: clean
4269
@echo "Pruning the whole project tree"
4370
@$(MAKE) -s -f "make/modules.mk" prune BASEDIR="$(BASEDIR)" CONFIG="$(CONFIG)"
71+
@$(MAKE) -s -f "make/modules.mk" prune BASEDIR="$(BASEDIR)" TREE="1"
4472
@-rm -rf "$(CONFIG)"
4573
@echo "Prune OK"
4674

4775
# Configuration-related targets
48-
.PHONY: config help
76+
.PHONY: config help chkconfig
4977

5078
testconfig:
5179
@$(MAKE) -s -f "$(BASEDIR)/make/configure.mk" $(@) CONFIG="$(CONFIG)" TEST="1" $(MAKEFLAGS)
5280

5381
config:
5482
@$(MAKE) -s -f "$(BASEDIR)/make/configure.mk" $(@) CONFIG="$(CONFIG)" $(MAKEFLAGS)
5583

84+
# Release-related targets
85+
.PHONY: distsrc
86+
distsrc:
87+
@echo "Building source code archive"
88+
@mkdir -p "$(DISTSRC)/modules"
89+
@$(MAKE) -s -f "make/modules.mk" tree BASEDIR="$(BASEDIR)" MODULES="$(DISTSRC)/modules" TREE="1"
90+
@cp -R $(BASEDIR)/include $(BASEDIR)/make $(BASEDIR)/src "$(DISTSRC)/"
91+
@cp $(BASEDIR)/CHANGELOG $(BASEDIR)/COPYING* $(BASEDIR)/Makefile $(BASEDIR)/*.mk "$(DISTSRC)/"
92+
@find "$(DISTSRC)" -iname '.git' | xargs -exec rm -rf {}
93+
@find "$(DISTSRC)" -iname '.gitignore' | xargs -exec rm -rf {}
94+
@tar -C $(DISTSRC_PATH) -czf "$(BUILDDIR)/$(ARTIFACT_NAME)-$(ARTIFACT_VERSION)-src.tar.gz" "$(ARTIFACT_NAME)"
95+
@echo "Created archive: $(BUILDDIR)/$(ARTIFACT_NAME)-$(ARTIFACT_VERSION)-src.tar.gz"
96+
@ln -sf "$(ARTIFACT_NAME)-$(ARTIFACT_VERSION)-src.tar.gz" "$(BUILDDIR)/$(ARTIFACT_NAME)-src.tar.gz"
97+
@echo "Created symlink: $(BUILDDIR)/$(ARTIFACT_NAME)-src.tar.gz"
98+
@rm -rf $(DISTSRC_PATH)
99+
@echo "Build OK"
100+
101+
# Help
56102
help:
57103
@echo "Available targets:"
58104
@echo " all Build all binaries"
59105
@echo " clean Clean all build files and configuration file"
60106
@echo " config Configure build"
61107
@echo " depend Update build dependencies for current project"
62-
@echo " fetch Fetch all source code dependencies from git"
108+
@echo " distsrc Make tarball with source code for packagers"
109+
@echo " fetch Fetch all desired source code dependencies from git"
63110
@echo " help Print this help message"
64111
@echo " info Output build configuration"
65112
@echo " install Install all binaries into the system"
113+
@echo " prune Cleanup build and all fetched dependencies from git"
114+
@echo " tree Fetch all possible source code dependencies from git"
115+
@echo " to make source code portable between machines"
66116
@echo " uninstall Uninstall binaries"
67117
@echo ""
68118
@$(MAKE) -s -f "$(BASEDIR)/make/configure.mk" $(@)

dependencies.mk

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
1+
#
2+
# Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
# (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
4+
#
5+
# This file is part of lsp-r3d-base-lib
6+
#
7+
# lsp-r3d-base-lib is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU Lesser General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# any later version.
11+
#
12+
# lsp-r3d-base-lib is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
# GNU Lesser General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU Lesser General Public License
18+
# along with lsp-r3d-base-lib. If not, see <https://www.gnu.org/licenses/>.
19+
#
20+
121
# Variables that describe dependencies
2-
LSP_COMMON_LIB_VERSION := 1.0.7
22+
LSP_COMMON_LIB_VERSION := 1.0.8
323
LSP_COMMON_LIB_NAME := lsp-common-lib
424
LSP_COMMON_LIB_URL := https://github.com/sadko4u/$(LSP_COMMON_LIB_NAME).git
525
LSP_COMMON_LIB_TYPE := hdr
626

7-
LSP_TEST_FW_VERSION := 1.0.5
27+
LSP_TEST_FW_VERSION := 1.0.6
828
LSP_TEST_FW_NAME := lsp-test-fw
929
LSP_TEST_FW_URL := https://github.com/sadko4u/$(LSP_TEST_FW_NAME).git
1030
LSP_TEST_FW_TYPE := src

include/lsp-plug.in/r3d/backend.h

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
/*
2-
* backend.h
2+
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
34
*
4-
* Created on: 18 апр. 2019 г.
5-
* Author: sadko
5+
* This file is part of lsp-r3d-base-lib
6+
* Created on: 18 апр. 2019 г.
7+
*
8+
* lsp-r3d-base-lib is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU Lesser General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* any later version.
12+
*
13+
* lsp-r3d-base-lib is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU Lesser General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU Lesser General Public License
19+
* along with lsp-r3d-base-lib. If not, see <https://www.gnu.org/licenses/>.
620
*/
721

822
#ifndef LSP_PLUG_IN_R3D_BACKEND_H_

include/lsp-plug.in/r3d/base.h

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
/*
2-
* base_backend.h
2+
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
34
*
4-
* Created on: 18 апр. 2019 г.
5-
* Author: sadko
5+
* This file is part of lsp-r3d-base-lib
6+
* Created on: 18 апр. 2019 г.
7+
*
8+
* lsp-r3d-base-lib is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU Lesser General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* any later version.
12+
*
13+
* lsp-r3d-base-lib is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU Lesser General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU Lesser General Public License
19+
* along with lsp-r3d-base-lib. If not, see <https://www.gnu.org/licenses/>.
620
*/
721

822
#ifndef LSP_PLUG_IN_R3D_BASE_H_

include/lsp-plug.in/r3d/factory.h

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
/*
2-
* factory.h
2+
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
34
*
4-
* Created on: 24 апр. 2019 г.
5-
* Author: sadko
5+
* This file is part of lsp-r3d-base-lib
6+
* Created on: 24 апр. 2019 г.
7+
*
8+
* lsp-r3d-base-lib is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU Lesser General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* any later version.
12+
*
13+
* lsp-r3d-base-lib is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU Lesser General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU Lesser General Public License
19+
* along with lsp-r3d-base-lib. If not, see <https://www.gnu.org/licenses/>.
620
*/
721

822
#ifndef LSP_PLUG_IN_R3D_FACTORY_H_

include/lsp-plug.in/r3d/types.h

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
/*
2-
* types.h
2+
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
34
*
4-
* Created on: 18 апр. 2019 г.
5-
* Author: sadko
5+
* This file is part of lsp-r3d-base-lib
6+
* Created on: 18 апр. 2019 г.
7+
*
8+
* lsp-r3d-base-lib is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU Lesser General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* any later version.
12+
*
13+
* lsp-r3d-base-lib is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU Lesser General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU Lesser General Public License
19+
* along with lsp-r3d-base-lib. If not, see <https://www.gnu.org/licenses/>.
620
*/
721

822
#ifndef LSP_PLUG_IN_R3D_TYPES_H_

include/lsp-plug.in/r3d/version.h

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,30 @@
11
/*
2-
* version.h
2+
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
34
*
4-
* Created on: 3 мая 2020 г.
5-
* Author: sadko
5+
* This file is part of lsp-r3d-base-lib
6+
* Created on: 3 мая 2020 г.
7+
*
8+
* lsp-r3d-base-lib is free software: you can redistribute it and/or modify
9+
* it under the terms of the GNU Lesser General Public License as published by
10+
* the Free Software Foundation, either version 3 of the License, or
11+
* any later version.
12+
*
13+
* lsp-r3d-base-lib is distributed in the hope that it will be useful,
14+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
* GNU Lesser General Public License for more details.
17+
*
18+
* You should have received a copy of the GNU Lesser General Public License
19+
* along with lsp-r3d-base-lib. If not, see <https://www.gnu.org/licenses/>.
620
*/
721

822
#ifndef LSP_PLUG_IN_R3D_VERSION_H_
923
#define LSP_PLUG_IN_R3D_VERSION_H_
1024

1125
#define LSP_R3D_BASE_LIB_MAJOR 0
1226
#define LSP_R3D_BASE_LIB_MINOR 5
13-
#define LSP_R3D_BASE_LIB_MICRO 2
27+
#define LSP_R3D_BASE_LIB_MICRO 3
1428

1529
#ifdef LSP_R3D_BASE_LIB_BUILTIN
1630
#define LSP_R3D_BASE_LIB_EXPORT

0 commit comments

Comments
 (0)