Skip to content

Commit b41ba64

Browse files
committed
Release 1.0.11
* Removed Makefile.d. Dependencies are now automatically generated at the build stage. * Updated build scripts. * Updated module versions in dependencies.
2 parents d5243fb + 39a630f commit b41ba64

File tree

11 files changed

+136
-123
lines changed

11 files changed

+136
-123
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+
=== 1.0.11 ===
6+
* Removed Makefile.d. Dependencies are now automatically generated at the build stage.
7+
* Updated build scripts.
8+
* Updated module versions in dependencies.
9+
510
=== 1.0.10 ===
611
* Updated module versions in dependencies.
712

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ DISTSRC_PATH = $(BUILDDIR)/distsrc
4646
DISTSRC = $(DISTSRC_PATH)/$(ARTIFACT_NAME)
4747

4848
.DEFAULT_GOAL := all
49-
.PHONY: all compile install uninstall depend clean
49+
.PHONY: all compile install uninstall clean
5050

51-
compile all install uninstall depend:
51+
compile all install uninstall:
5252
$(CHK_CONFIG)
5353
$(MAKE) -C "$(BASEDIR)/src" $(@) VERBOSE="$(VERBOSE)" CONFIG="$(CONFIG)" DESTDIR="$(DESTDIR)"
5454

@@ -107,7 +107,6 @@ help:
107107
echo " all Build all binaries"
108108
echo " clean Clean all build files and configuration file"
109109
echo " config Configure build"
110-
echo " depend Update build dependencies for current project"
111110
echo " distsrc Make tarball with source code for packagers"
112111
echo " fetch Fetch all desired source code dependencies from git"
113112
echo " help Print this help message"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#define LSP_R3D_BASE_LIB_MAJOR 1
2626
#define LSP_R3D_BASE_LIB_MINOR 0
27-
#define LSP_R3D_BASE_LIB_MICRO 10
27+
#define LSP_R3D_BASE_LIB_MICRO 11
2828

2929
#if defined(LSP_R3D_BASE_LIB_PUBLISHER)
3030
#define LSP_R3D_BASE_LIB_PUBLIC LSP_EXPORT_MODIFIER

make/configure.mk

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,38 +21,28 @@ ifneq ($(VERBOSE),1)
2121
.SILENT:
2222
endif
2323

24-
# Definitions
25-
PREFIX := /usr/local
26-
LIBDIR := $(PREFIX)/lib
27-
BINDIR := $(PREFIX)/bin
28-
SHAREDDIR := $(PREFIX)/share
29-
INCDIR := $(PREFIX)/include
30-
ETCDIR := /etc
3124
BASEDIR := $(CURDIR)
3225
ROOTDIR := $(CURDIR)
33-
BUILDDIR := $(BASEDIR)/.build
34-
TARGET_BUILDDIR := $(BUILDDIR)/target
35-
HOST_BUILDDIR := $(BUILDDIR)/host
36-
MODULES := $(BASEDIR)/modules
37-
CONFIG := $(BASEDIR)/.config.mk
3826
TEST := 0
3927
DEBUG := 0
4028
PROFILE := 0
4129
TRACE := 0
4230

43-
ifeq ($(DEVEL),1)
44-
X_URL_SUFFIX = _RW
45-
else
46-
X_URL_SUFFIX = _RO
47-
endif
48-
31+
# Configure system settings
4932
include $(BASEDIR)/project.mk
5033
include $(BASEDIR)/make/functions.mk
5134
include $(BASEDIR)/make/system.mk
35+
include $(BASEDIR)/make/paths.mk
5236
include $(BASEDIR)/make/tools.mk
5337
include $(BASEDIR)/modules.mk
5438
include $(BASEDIR)/dependencies.mk
5539

40+
ifeq ($(DEVEL),1)
41+
X_URL_SUFFIX = _RW
42+
else
43+
X_URL_SUFFIX = _RO
44+
endif
45+
5646
# Compute the full list of dependencies
5747
MERGED_DEPENDENCIES := \
5848
$(DEPENDENCIES) \
@@ -220,6 +210,7 @@ OVERALL_DEPS := $(call uniq,$(DEPENDENCIES) $(ARTIFACT_ID))
220210
__tmp := $(foreach dep,$(OVERALL_DEPS),$(call vardef, $(dep)))
221211

222212
CONFIG_VARS = \
213+
$(PATH_VARS) \
223214
$(COMMON_VARS) \
224215
$(TOOL_VARS) \
225216
$(foreach name, $(OVERALL_DEPS), \
@@ -271,7 +262,7 @@ config: $(CONFIG_VARS)
271262
echo "Features: $(FEATURES)"
272263
echo "Configured OK"
273264

274-
help: | toolvars sysvars
265+
help: | pathvars toolvars sysvars
275266
echo ""
276267
echo "List of variables for each dependency:"
277268
echo " <ARTIFACT>_BIN location to put all binaries when building artifact"

make/functions.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ cquery = $(foreach d,$(call uniq, $3),$(if $($(d)_$(strip $1)),
4545

4646
# Find intersection between two sets
4747
# $(call intersection, list1, list2)
48-
intersection = $(foreach v,$1,$(if $(findstring $(v),$2),$(v)))
48+
intersection = $(sort $(foreach v,$1,$(if $(findstring $(v),$2),$(v))))
4949

5050
# Subtract the first set from second set
5151
# $(call subtraction, list1, list2)
52-
subtraction = $(foreach v,$2,$(if $(findstring $(v),$1),,$(v)))
52+
subtraction = $(sort $(foreach v,$2,$(if $(findstring $(v),$1),,$(v))))
5353

5454
# Check feature presence in list
5555
# $(call fcheck, features-to-check, all-feature-list, action-if-enabled, action-if-disabled)

make/paths.mk

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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+
21+
# Installation prefix
22+
ifndef PREFIX
23+
ifeq ($(PLATFORM),Windows)
24+
PREFIX := $(BASEDIR)/INSTALL
25+
else
26+
PREFIX := /usr/local
27+
endif
28+
endif
29+
30+
# Path to configuration
31+
ifndef ETCDIR
32+
ifeq ($(PLATFORM),Windows)
33+
ETCDIR := $(PREFIX)/etc
34+
else
35+
ETCDIR := /etc
36+
endif
37+
endif
38+
39+
LIBDIR := $(PREFIX)/lib
40+
BINDIR := $(PREFIX)/bin
41+
SHAREDDIR := $(PREFIX)/share
42+
INCDIR := $(PREFIX)/include
43+
BUILDDIR := $(BASEDIR)/.build
44+
TARGET_BUILDDIR := $(BUILDDIR)/target
45+
HOST_BUILDDIR := $(BUILDDIR)/host
46+
MODULES := $(BASEDIR)/modules
47+
CONFIG := $(BASEDIR)/.config.mk
48+
49+
# Library prefix
50+
ifndef LIBDIR
51+
LIBDIR := $(PREFIX)/lib
52+
endif
53+
54+
# Binaries prefix
55+
ifndef BINDIR
56+
BINDIR := $(PREFIX)/bin
57+
endif
58+
59+
# Binaries prefix
60+
ifndef INCDIR
61+
INCDIR := $(PREFIX)/include
62+
endif
63+
64+
# Temporary directory
65+
ifndef TEMPDIR
66+
ifeq ($(PLATFORM),Windows)
67+
TEMPDIR := $(TEMP)
68+
else
69+
TEMPDIR := /tmp
70+
endif
71+
endif
72+
73+
# Set-up list of common variables
74+
PATH_VARS = \
75+
BINDIR \
76+
BUILDDIR \
77+
ETCDIR \
78+
INCDIR \
79+
LIBDIR \
80+
PREFIX \
81+
ROOTDIR \
82+
SHAREDDIR \
83+
TEMPDIR
84+
85+
.PHONY: pathvars
86+
87+
pathvars:
88+
echo "List of available path variables:"
89+
echo " BINDIR location of the binaries"
90+
echo " BUILDDIR location of the build directory"
91+
echo " ETCDIR location of system configuration files"
92+
echo " INCDIR location of the header files"
93+
echo " LIBDIR location of the library"
94+
echo " PREFIX installation prefix for binary files"
95+
echo " SHAREDDIR location of the shared files"
96+
echo " TEMPDIR location of temporary directory"
97+
98+

make/system.mk

Lines changed: 2 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ else ifeq ($(patsubst i%86,i586,$(BUILD_ARCH)),i586)
119119
ARCHITECTURE_FAMILY = ia32
120120
ARCHITECTURE_CFLAGS := -march=i586 -m32
121121
else ifeq ($(BUILD_ARCH),x86)
122-
override ARCHITECTURE = i586
122+
override ARCHITECTURE = i686
123123
ARCHITECTURE_FAMILY = ia32
124-
ARCHITECTURE_CFLAGS := -march=i586 -m32
124+
ARCHITECTURE_CFLAGS := -march=i686 -m32
125125
else ifeq ($(BUILD_ARCH),riscv32)
126126
override ARCHITECTURE = riscv32
127127
ARCHITECTURE_FAMILY = riscv32
@@ -173,67 +173,25 @@ ifndef PKGCONFIG_EXT
173173
PKGCONFIG_EXT := .pc
174174
endif
175175

176-
# Installation prefix
177-
ifndef PREFIX
178-
ifeq ($(PLATFORM),Windows)
179-
PREFIX := $(ProgramFiles)
180-
else
181-
PREFIX := /usr/local
182-
endif
183-
endif
184-
185-
# Library prefix
186-
ifndef LIBDIR
187-
LIBDIR := $(PREFIX)/lib
188-
endif
189-
190-
# Binaries prefix
191-
ifndef BINDIR
192-
BINDIR := $(PREFIX)/bin
193-
endif
194-
195-
# Binaries prefix
196-
ifndef INCDIR
197-
INCDIR := $(PREFIX)/include
198-
endif
199-
200-
# Temporary directory
201-
ifndef TEMPDIR
202-
ifeq ($(PLATFORM),Windows)
203-
TEMPDIR := $(TEMP)
204-
else
205-
TEMPDIR := /tmp
206-
endif
207-
endif
208-
209176
TEST := 0
210177

211178
# Set-up list of common variables
212179
COMMON_VARS = \
213180
ARCHITECTURE \
214181
ARCHITECTURE_FAMILY \
215182
ARCHITECTURE_CFLAGS \
216-
BINDIR \
217-
BUILDDIR \
218183
DEBUG \
219-
ETCDIR \
220184
EXECUTABLE_EXT \
221185
EXPORT_SYMBOLS \
222186
FEATURES \
223-
INCDIR \
224187
INSTALL_HEADERS \
225-
LIBDIR \
226188
LIBRARY_EXT \
227189
LIBRARY_PREFIX \
228190
PKGCONFIG_EXT \
229191
PLATFORM \
230-
PREFIX \
231-
ROOTDIR \
232192
ROOT_ARTIFACT_ID \
233193
PROFILE \
234-
SHAREDDIR \
235194
STATICLIB_EXT \
236-
TEMPDIR \
237195
TEST \
238196
TRACE
239197

@@ -246,27 +204,19 @@ sysvars:
246204
echo " ARCHITECTURE_CFLAGS compiler flags to specify architecture"
247205
echo " ARCHITECTURE_FAMILY compiler flags to specify architecture family"
248206
echo " ARCHITECTURE_LDFLAGS linker flags to specify architecture"
249-
echo " BINDIR location of the binaries"
250-
echo " BUILDDIR location of the build directory"
251207
echo " DEBUG build with debug options"
252208
echo " DEVEL build with modules checked out for read/write URL"
253-
echo " ETCDIR location of system configuration files"
254209
echo " EXECUTABLE_EXT file extension for executable files"
255210
echo " EXPORT_SYMBOLS make export symbols visible"
256211
echo " FEATURES list of features enabled in the build"
257-
echo " INCDIR location of the header files"
258212
echo " INSTALL_HEADERS install headers (enabled by default)"
259-
echo " LIBDIR location of the library"
260213
echo " LIBRARY_EXT file extension for library files"
261214
echo " LIBRARY_PREFIX prefix used for library file"
262215
echo " PKGCONFIG_EXT file extension for pkgconfig files"
263216
echo " PLATFORM target software platform to perform build"
264-
echo " PREFIX installation prefix for binary files"
265217
echo " PROFILE build with profile options"
266-
echo " SHAREDDIR location of the shared files"
267218
echo " STATICLIB_EXT file extension for static library files"
268219
echo " SUB_FEATURES list of features disabled in the build as a subtraction of default"
269-
echo " TEMPDIR location of temporary directory"
270220
echo " TEST use test build"
271221
echo " TRACE compile with additional trace information output"
272222

modules.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@
2020

2121
#------------------------------------------------------------------------------
2222
# Variables that describe source code dependencies
23-
LSP_COMMON_LIB_VERSION := 1.0.27
23+
LSP_COMMON_LIB_VERSION := 1.0.28
2424
LSP_COMMON_LIB_NAME := lsp-common-lib
2525
LSP_COMMON_LIB_TYPE := src
2626
LSP_COMMON_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_COMMON_LIB_NAME).git
2727
LSP_COMMON_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_COMMON_LIB_NAME).git
2828

29-
LSP_TEST_FW_VERSION := 1.0.19
29+
LSP_TEST_FW_VERSION := 1.0.20
3030
LSP_TEST_FW_NAME := lsp-test-fw
3131
LSP_TEST_FW_TYPE := src
3232
LSP_TEST_FW_URL_RO := https://github.com/lsp-plugins/$(LSP_TEST_FW_NAME).git
3333
LSP_TEST_FW_URL_RW := git@github.com:lsp-plugins/$(LSP_TEST_FW_NAME).git
3434

35-
LSP_R3D_IFACE_VERSION := 1.0.10
35+
LSP_R3D_IFACE_VERSION := 1.0.11
3636
LSP_R3D_IFACE_NAME := lsp-r3d-iface
3737
LSP_R3D_IFACE_TYPE := src
3838
LSP_R3D_IFACE_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_IFACE_NAME).git

project.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ ARTIFACT_ID = LSP_R3D_BASE_LIB
2323
ARTIFACT_NAME = lsp-r3d-base-lib
2424
ARTIFACT_DESC = Base library for implementing and loading 3D rendering backend
2525
ARTIFACT_HEADERS = lsp-plug.in
26-
ARTIFACT_VERSION = 1.0.10
26+
ARTIFACT_VERSION = 1.0.11
2727
ARTIFACT_EXPORT_SYMBOLS = 0

0 commit comments

Comments
 (0)