File tree 4 files changed +9
-3
lines changed
4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Requirements
34
34
- automake >= 1.11 (only needed when building from git)
35
35
- libtool (only needed when building from git)
36
36
- pkg-config >= 0.22
37
- - libglib >= 2.28.0
37
+ - libglib >= 2.34
38
38
- Python >= 3.2
39
39
- check >= 0.9.4 (optional, only needed to run unit tests)
40
40
- doxygen (optional, only needed for the C API docs)
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ AC_SUBST([SRD_PKGLIBS])
137
137
138
138
# Retrieve the compile and link flags for all modules combined.
139
139
# Also, bail out at this point if any module dependency is not met.
140
- PKG_CHECK_MODULES([ LIBSIGROKDECODE] , [ glib-2.0 >= 2.28.0 $SRD_PKGLIBS] )
140
+ PKG_CHECK_MODULES([ LIBSIGROKDECODE] , [ glib-2.0 >= 2.34 $SRD_PKGLIBS] )
141
141
PKG_CHECK_MODULES([ TESTS] , [ $SRD_PKGLIBS_TESTS glib-2.0 $SRD_PKGLIBS] )
142
142
143
143
srd_glib_version=`$PKG_CONFIG --modversion glib-2.0 2>&AS_MESSAGE_LOG_FD `
@@ -168,7 +168,7 @@ Compile configuration:
168
168
- Linker flags.................... $LDFLAGS
169
169
170
170
Detected libraries (required):
171
- - glib-2.0 >= 2.28.0 .............. $srd_glib_version
171
+ - glib-2.0 >= 2.34.. .............. $srd_glib_version
172
172
$srd_pkglibs_summary
173
173
Detected libraries (optional):
174
174
$srd_pkglibs_opt_summary
Original file line number Diff line number Diff line change @@ -320,6 +320,7 @@ struct srd_pd_callback {
320
320
/* srd.c */
321
321
SRD_API int srd_init (const char * path );
322
322
SRD_API int srd_exit (void );
323
+ SRD_API GSList * srd_searchpaths_get (void );
323
324
324
325
/* session.c */
325
326
SRD_API int srd_session_new (struct srd_session * * sess );
Original file line number Diff line number Diff line change @@ -179,6 +179,11 @@ static int print_searchpaths(void)
179
179
return SRD_ERR_PYTHON ;
180
180
}
181
181
182
+ SRD_API GSList * srd_searchpaths_get (void )
183
+ {
184
+ return g_slist_copy_deep (searchpaths , (GCopyFunc )g_strdup , NULL );
185
+ }
186
+
182
187
/**
183
188
* Initialize libsigrokdecode.
184
189
*
You can’t perform that action at this time.
0 commit comments