mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-14 03:24:50 -04:00
Import libglnx
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "libglnx"]
|
||||
path = libglnx
|
||||
url = https://git.gnome.org/browse/libglnx
|
||||
15
Makefile.am
15
Makefile.am
@@ -29,6 +29,15 @@ libexec_PROGRAMS = \
|
||||
xdg-app-session-helper \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST =
|
||||
|
||||
libglnx_srcpath := $(srcdir)/libglnx
|
||||
libglnx_cflags := $(BASE_CFLAGS) "-I$(libglnx_srcpath)"
|
||||
libglnx_libs := $(BASE_LIBS)
|
||||
include libglnx/Makefile-libglnx.am.inc
|
||||
|
||||
noinst_LTLIBRARIES = libglnx.la
|
||||
|
||||
xdg_app_helper_SOURCES = xdg-app-helper.c
|
||||
|
||||
dbus_built_sources = xdg-app-dbus.c xdg-app-dbus.h
|
||||
@@ -107,8 +116,8 @@ xdg_app_SOURCES = \
|
||||
$(dbus_built_sources) \
|
||||
$(NULL)
|
||||
|
||||
xdg_app_LDADD = $(BASE_LIBS) $(OSTREE_LIBS) $(SOUP_LIBS)
|
||||
xdg_app_CFLAGS = $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(SOUP_CFLAGS)
|
||||
xdg_app_LDADD = $(BASE_LIBS) $(OSTREE_LIBS) $(SOUP_LIBS) libglnx.la
|
||||
xdg_app_CFLAGS = $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(SOUP_CFLAGS) -I$(srcdir)/libglnx
|
||||
|
||||
install-exec-hook:
|
||||
if PRIV_MODE_SETUID
|
||||
@@ -122,4 +131,4 @@ endif
|
||||
|
||||
completiondir = $(datadir)/bash-completion/completions
|
||||
completion_DATA = completion/xdg-app
|
||||
EXTRA_DIST = $(completion_DATA)
|
||||
EXTRA_DIST += $(completion_DATA)
|
||||
|
||||
@@ -18,7 +18,13 @@ fi
|
||||
# regenerated from their corresponding *.in files by ./configure anyway.
|
||||
touch INSTALL
|
||||
|
||||
cd "$olddir"
|
||||
if ! test -f libglnx/README.md || ! test -f bsdiff/README.md; then
|
||||
git submodule update --init
|
||||
fi
|
||||
# Workaround automake bug with subdir-objects and computed paths
|
||||
sed -e 's,$(libglnx_srcpath),'${srcdir}/libglnx,g < libglnx/Makefile-libglnx.am >libglnx/Makefile-libglnx.am.inc
|
||||
|
||||
autoreconf --force --install --verbose || exit $?
|
||||
|
||||
cd "$olddir"
|
||||
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
||||
|
||||
@@ -12,8 +12,9 @@ LT_INIT([disable-static])
|
||||
AC_CONFIG_SRCDIR([xdg-app-helper.c])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AM_INIT_AUTOMAKE([1.11 no-define no-dist-gzip dist-bzip2 tar-ustar foreign])
|
||||
AM_INIT_AUTOMAKE([1.11 no-define no-dist-gzip dist-bzip2 tar-ustar foreign subdir-objects])
|
||||
AC_PROG_SED
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
||||
# Enable silent rules is available
|
||||
AM_SILENT_RULES([yes])
|
||||
|
||||
1
libglnx
Submodule
1
libglnx
Submodule
Submodule libglnx added at 08d1339f9a
Reference in New Issue
Block a user