Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
dda9df40
Commit
dda9df40
authored
Feb 14, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config_GetLibDir: return arch-dep package directory
parent
4ad069f6
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
2 deletions
+25
-2
include/vlc_configuration.h
include/vlc_configuration.h
+1
-0
src/Makefile.am
src/Makefile.am
+2
-1
src/config/dirs.c
src/config/dirs.c
+1
-1
src/config/dirs_macos.c
src/config/dirs_macos.c
+5
-0
src/config/dirs_xdg.c
src/config/dirs_xdg.c
+10
-0
src/libvlccore.sym
src/libvlccore.sym
+1
-0
src/win32/dirs.c
src/win32/dirs.c
+5
-0
No files found.
include/vlc_configuration.h
View file @
dda9df40
...
...
@@ -215,6 +215,7 @@ VLC_EXPORT( void, config_ResetAll, ( vlc_object_t * ) );
VLC_EXPORT
(
module_config_t
*
,
config_FindConfig
,(
vlc_object_t
*
,
const
char
*
)
LIBVLC_USED
);
VLC_EXPORT
(
char
*
,
config_GetDataDir
,
(
vlc_object_t
*
)
LIBVLC_USED
);
#define config_GetDataDir(a) config_GetDataDir(VLC_OBJECT(a))
VLC_EXPORT
(
const
char
*
,
config_GetLibDir
,
(
void
)
LIBVLC_USED
);
VLC_EXPORT
(
const
char
*
,
config_GetConfDir
,
(
void
)
LIBVLC_USED
);
typedef
enum
vlc_userdir
...
...
src/Makefile.am
View file @
dda9df40
...
...
@@ -192,7 +192,8 @@ libvlccore_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlccore` \
-DSYSCONFDIR
=
\"
$(sysconfdir)
\"
\
-DDATA_PATH
=
\"
$(vlcdatadir)
\"
\
-DLIBDIR
=
\"
$(libdir)
\"
\
-DPLUGIN_PATH
=
\"
$(vlclibdir)
/modules
\"
-DPKGLIBDIR
=
\"
$(vlclibdir)
\"
\
-DPLUGIN_PATH
=
PKGLIBDIR
\"
/modules
\"
libvlccore_la_LDFLAGS
=
`
$(VLC_CONFIG)
--ldflags
libvlccore
`
$(AM_LDFLAGS)
\
-no-undefined
\
-export-symbols
$(srcdir)
/libvlccore.sym
\
...
...
src/config/dirs.c
View file @
dda9df40
...
...
@@ -32,7 +32,7 @@
#undef config_GetDataDir
/**
* Determines the shared data directory
* Determines the shared
architecture-independent
data directory
*
* @return a string or NULL. Use free() to release.
*/
...
...
src/config/dirs_macos.c
View file @
dda9df40
...
...
@@ -59,6 +59,11 @@ char *config_GetDataDirDefault (void)
return
datadir
;
}
const
char
*
config_GetLibDir
(
void
)
{
abort
();
}
static
char
*
config_GetHomeDir
(
void
)
{
const
char
*
home
=
getenv
(
"HOME"
);
...
...
src/config/dirs_xdg.c
View file @
dda9df40
...
...
@@ -46,6 +46,16 @@ char *config_GetDataDirDefault (void)
return
strdup
(
DATA_PATH
);
}
/**
* Determines the architecture-dependent data directory
*
* @return a string (always succeeds).
*/
const
char
*
config_GetLibDir
(
void
)
{
return
PKGLIBDIR
;
}
/**
* Determines the system configuration directory.
*
...
...
src/libvlccore.sym
View file @
dda9df40
...
...
@@ -55,6 +55,7 @@ config_ExistIntf
config_FindConfig
config_GetConfDir
config_GetDataDir
config_GetLibDir
config_GetFloat
config_GetUserDir
config_GetInt
...
...
src/win32/dirs.c
View file @
dda9df40
...
...
@@ -49,6 +49,11 @@ char *config_GetDataDirDefault( void )
return
strdup
(
psz_vlcpath
);
}
const
char
*
config_GetLibDir
(
void
)
{
abort
();
}
const
char
*
config_GetConfDir
(
void
)
{
static
char
appdir
[
PATH_MAX
]
=
""
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment