Skip to content

Commit

Permalink
Merge branch 'develop' into 'master'
Browse files Browse the repository at this point in the history
Merge branch 'develop' into 'master'

See merge request Scientific-IT-Systems/gr!1368
  • Loading branch information
IngoMeyer441 committed Dec 17, 2024
2 parents 8a4e4bc + 9fac4e4 commit 9e61244
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ deploy-to-obs:
mv -f ${OBS_PROJECT}/gr/_service.new
${OBS_PROJECT}/gr/_service
- osc commit ${OBS_PROJECT}/gr/_service -m "Release $REVISION"
- fails=`osc results -w -f -F ${OBS_PROJECT}/gr`
if [ -z "${fails}" ]; then
echo "$fails"
exit 1
- fails="$(osc results -w -f -F ${OBS_PROJECT}/gr)"
- if [[ -n "${fails}" ]]; then
echo "$fails";
exit 1;
fi

deploy-to-aur:
Expand Down
2 changes: 1 addition & 1 deletion lib/gks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ else
GR_SHARED_LIBRARY_SUFFIX ?= .so
INSTALL_NAME =
LDFLAGS = $(EXTRA_LDFLAGS) -Wl,-rpath,'$$ORIGIN/.'
SOFLAGS = -shared
SOFLAGS = -shared -Wl,-soname,$@
endif
LIBS = -lpthread -ldl -lc -lm
FTDEFS =
Expand Down
3 changes: 3 additions & 0 deletions lib/gks/plugin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ endif
CXXFLAGS = -O -Wall -Wextra -pedantic -Wno-deprecated-copy -fPIC $(EXTRA_CXXFLAGS) # -Wno-deprecated-copy to avoid warnings from wx headers
INCLUDES = -I.. -I$(THIRDPARTYDIR)/include
SOFLAGS = -shared
ifeq ($(UNAME),Linux)
SOFLAGS += -Wl,-soname,$@
endif
LDFLAGS = $(EXTRA_LDFLAGS)
ifeq ($(UNAME),Darwin)
CFLAGS += -mmacosx-version-min=10.15
Expand Down
2 changes: 1 addition & 1 deletion lib/gr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ else
GR_SHARED_LIBRARY_SUFFIX ?= .so
INSTALL_NAME =
LDFLAGS = $(EXTRA_LDFLAGS) -Wl,-rpath,'$$ORIGIN/.'
SOFLAGS = -shared
SOFLAGS = -shared -Wl,-soname,$@
endif
LIBS = -lpthread -ldl -lc -lm
JPEGLIBS = $(THIRDPARTYDIR)/lib/libjpeg.a
Expand Down
3 changes: 3 additions & 0 deletions lib/gr/qtgr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ UNAME_S := $(shell uname -s)

CFLAGS = -O3 -Wall -fPIC $(EXTRA_CFLAGS)
LDFLAGS = $(EXTRA_LDFLAGS)
ifeq ($(UNAME_S),Linux)
LDFLAGS += -Wl,-soname,$@
endif


ifeq ($(UNAME_S),Darwin)
Expand Down
2 changes: 1 addition & 1 deletion lib/gr3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ PLATFORMLIBS = -lX11 -lGL
OBJS+= gr3_glx.o
INSTALL_NAME =
LDFLAGS = $(EXTRA_LDFLAGS) -Wl,-rpath,'$$ORIGIN/.'
SOFLAGS = -shared
SOFLAGS = -shared -Wl,-soname,$@
LIBS = -ldl
endif

Expand Down
2 changes: 1 addition & 1 deletion lib/grm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ else
GR_SHARED_LIBRARY_SUFFIX ?= .so
INSTALL_NAME =
LDFLAGS = $(EXTRA_LDFLAGS) -Wl,-rpath,'$$ORIGIN/.'
SOFLAGS = -shared
SOFLAGS = -shared -Wl,-soname,$@
endif
GRLIBS = -L ../gr/ -lGR
GR3LIBS = -L ../gr3/ -lGR3
Expand Down
4 changes: 2 additions & 2 deletions lib/grm/src/grm/import.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,7 @@ int grm_interactive_plot_from_file(grm_args_t *args, int argc, char **argv)
}
}
// special case for barplot and histogram cause the x-values and bar_width gets calculated via x_range_min
// and max; without the following code block all series will allways have the same x and same width
// and max; without the following code block all series will always have the same x and same width
if (str_equals_any(kind, "barplot", "histogram"))
{
for (col = 0; col < x_data.size(); ++col)
Expand Down Expand Up @@ -1520,7 +1520,7 @@ int grm_interactive_plot_from_file(grm_args_t *args, int argc, char **argv)
{
if (cols % 2 == 1)
{
fprintf(stderr, "For polar_line and polar_scatter plots x and y must allways be given, but in this case the "
fprintf(stderr, "For polar_line and polar_scatter plots x and y must always be given, but in this case the "
"number of columns is odd -> 1 column is missing.\n");
cols -= 1;
}
Expand Down

0 comments on commit 9e61244

Please sign in to comment.