diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-05-09 09:40:38 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-09 09:46:26 +0200 |
commit | ba37b22d78f3b1011ceab182c8a4a05d5ba630a7 (patch) | |
tree | 2c1b93d5f8712318d2055d23de829b0e98a68700 | |
parent | c24528d3697c62cad8ff746a56992a59f31d333d (diff) | |
download | flatpak-ba37b22d78f3b1011ceab182c8a4a05d5ba630a7.tar.gz |
Rename library to libflatpak
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile.am | 16 | ||||
-rw-r--r-- | app/Makefile.am.inc | 3 | ||||
-rw-r--r-- | builder/Makefile.am.inc | 2 | ||||
-rw-r--r-- | common/Makefile.am.inc | 8 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | doc/reference/Makefile.am | 18 | ||||
-rw-r--r-- | doc/reference/flatpak-docs.xml (renamed from doc/reference/xdg-app-docs.xml) | 20 | ||||
-rw-r--r-- | doc/reference/flatpak-sections.txt (renamed from doc/reference/xdg-app-sections.txt) | 0 | ||||
-rw-r--r-- | document-portal/Makefile.am.inc | 2 | ||||
-rw-r--r-- | flatpak.pc.in (renamed from xdg-app.pc.in) | 6 | ||||
-rw-r--r-- | lib/Makefile.am.inc | 32 | ||||
-rw-r--r-- | session-helper/Makefile.am.inc | 2 | ||||
-rw-r--r-- | system-helper/Makefile.am.inc | 2 | ||||
-rw-r--r-- | tests/Makefile.am.inc | 4 |
15 files changed, 59 insertions, 60 deletions
@@ -52,7 +52,7 @@ lib/xdg-app-version-macros.h xdg-app.pc lib/xdg-app-enum-types.c lib/xdg-app-enum-types.h -test-libxdg-app +test-libflatpak XdgApp-1.0.* /doc/reference/gtkdoc-check.log /doc/reference/gtkdoc-check.test diff --git a/Makefile.am b/Makefile.am index 67af9d7b..90855ae3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,9 +40,9 @@ AM_CPPFLAGS = \ -DFLATPAK_BASEDIR=\"$(pkgdatadir)\" \ -DFLATPAK_TRIGGERDIR=\"$(pkgdatadir)/triggers\" \ -DSYSTEM_FONTS_DIR=\"$(SYSTEM_FONTS_DIR)\" \ - -DHELPER=\"$(libdir)/xdg-app/bwrap\" \ + -DHELPER=\"$(libdir)/flatpak/bwrap\" \ -DDBUSPROXY=\"$(libexecdir)/xdg-dbus-proxy\" \ - -DG_LOG_DOMAIN=\"xdg-app\" \ + -DG_LOG_DOMAIN=\"flatpak\" \ -I$(srcdir)/libglnx \ -I$(srcdir)/common \ -I$(builddir)/common \ @@ -78,18 +78,18 @@ include document-portal/Makefile.am.inc include tests/Makefile.am.inc bwrap_PROGRAMS = bwrap -bwrapdir = $(libdir)/xdg-app +bwrapdir = $(libdir)/flatpak include bubblewrap/Makefile-bwrap.am.inc # NOTE: bwrap is install-bwrapPROGS which is run from install-data, not install-exec, this data-hook is used install-data-hook: $(MAKE) $(AM_MAKEFLAGS) install-test-data-hook if PRIV_MODE_SETUID - $(SUDO_BIN) chown root $(DESTDIR)$(libdir)/xdg-app/bwrap - $(SUDO_BIN) chmod u+s $(DESTDIR)$(libdir)/xdg-app/bwrap + $(SUDO_BIN) chown root $(DESTDIR)$(libdir)/flatpak/bwrap + $(SUDO_BIN) chmod u+s $(DESTDIR)$(libdir)/flatpak/bwrap else if PRIV_MODE_FILECAPS - $(SUDO_BIN) setcap cap_sys_admin,cap_net_admin,cap_sys_chroot+ep $(DESTDIR)$(libdir)/xdg-app/bwrap + $(SUDO_BIN) setcap cap_sys_admin,cap_net_admin,cap_sys_chroot+ep $(DESTDIR)$(libdir)/flatpak/bwrap endif endif @@ -118,8 +118,8 @@ xdg-app.env: env.d/xdg-app.env.in -e "s|\@sysconfdir\@|$(sysconfdir)|" $< > $@ pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = xdg-app.pc -EXTRA_DIST += xdg-app.pc.in +pkgconfig_DATA = flatpak.pc +EXTRA_DIST += flatpak.pc.in DISTCHECK_CONFIGURE_FLAGS = \ --enable-documentation \ diff --git a/app/Makefile.am.inc b/app/Makefile.am.inc index d8f7ddf9..19cbd6eb 100644 --- a/app/Makefile.am.inc +++ b/app/Makefile.am.inc @@ -30,6 +30,5 @@ xdg_app_SOURCES = \ $(xdp_dbus_built_sources) \ $(NULL) -xdg_app_LDADD = $(BASE_LIBS) $(OSTREE_LIBS) $(SOUP_LIBS) $(LIBARCHIVE_LIBS) libglnx.la libxdgapp-common.la +xdg_app_LDADD = $(BASE_LIBS) $(OSTREE_LIBS) $(SOUP_LIBS) $(LIBARCHIVE_LIBS) libglnx.la libflatpak-common.la xdg_app_CFLAGS = $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(SOUP_CFLAGS) $(LIBARCHIVE_CFLAGS) - diff --git a/builder/Makefile.am.inc b/builder/Makefile.am.inc index c6d42b18..1f560d5c 100644 --- a/builder/Makefile.am.inc +++ b/builder/Makefile.am.inc @@ -35,5 +35,5 @@ xdg_app_builder_SOURCES = \ $(NULL) xdg_app_builder_LDADD = $(BASE_LIBS) $(OSTREE_LIBS) $(JSON_LIBS) $(SOUP_LIBS) $(LIBARCHIVE_LIBS) $(LIBELF_LIBS) \ - libglnx.la libxdgapp-common.la + libglnx.la libflatpak-common.la xdg_app_builder_CFLAGS = $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(JSON_CFLAGS) $(SOUP_CFLAGS) $(LIBARCHIVE_CFLAGS) diff --git a/common/Makefile.am.inc b/common/Makefile.am.inc index b0069fba..a10e59ef 100644 --- a/common/Makefile.am.inc +++ b/common/Makefile.am.inc @@ -1,4 +1,4 @@ -noinst_LTLIBRARIES += libxdgapp-common.la +noinst_LTLIBRARIES += libflatpak-common.la dbus_built_sources = common/flatpak-dbus.c common/flatpak-dbus.h systemd_dbus_built_sources = common/flatpak-systemd-dbus.c common/flatpak-systemd-dbus.h @@ -20,7 +20,7 @@ $(systemd_dbus_built_sources) : data/org.freedesktop.systemd1.xml $(srcdir)/data/org.freedesktop.systemd1.xml \ $(NULL) -libxdgapp_common_la_SOURCES = \ +libflatpak_common_la_SOURCES = \ common/flatpak-common-types.h \ common/flatpak-dir.c \ common/flatpak-dir.h \ @@ -43,7 +43,7 @@ libxdgapp_common_la_SOURCES = \ $(systemd_dbus_built_sources) \ $(NULL) -libxdgapp_common_la_CFLAGS = \ +libflatpak_common_la_CFLAGS = \ $(AM_CFLAGS) \ $(BASE_CFLAGS) \ $(HIDDEN_VISIBILITY_CFLAGS) \ @@ -53,4 +53,4 @@ libxdgapp_common_la_CFLAGS = \ $(LIBSECCOMP_CFLAGS) \ -I$(srcdir)/dbus-proxy \ $(NULL) -libxdgapp_common_la_LIBADD = libglnx.la $(BASE_LIBS) $(OSTREE_LIBS) $(SOUP_LIBS) $(XAUTH_LIBS) $(LIBSECCOMP_LIBS) +libflatpak_common_la_LIBADD = libglnx.la $(BASE_LIBS) $(OSTREE_LIBS) $(SOUP_LIBS) $(XAUTH_LIBS) $(LIBSECCOMP_LIBS) diff --git a/configure.ac b/configure.ac index 5371b968..1c00be9b 100644 --- a/configure.ac +++ b/configure.ac @@ -362,7 +362,7 @@ AC_CONFIG_FILES([ Makefile doc/Makefile doc/reference/Makefile -xdg-app.pc +flatpak.pc lib/flatpak-version-macros.h doc/reference/version.xml po/Makefile.in diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am index a7c624ad..dd144965 100644 --- a/doc/reference/Makefile.am +++ b/doc/reference/Makefile.am @@ -1,21 +1,21 @@ -DOC_MODULE = xdg-app -DOC_MAIN_SGML_FILE = xdg-app-docs.xml +DOC_MODULE = flatpak +DOC_MAIN_SGML_FILE = flatpak-docs.xml DOC_SOURCE_DIR = $(top_srcdir)/lib $(top_builddir)/lib SCAN_OPTIONS = --rebuild-types \ - --ignore-decorators='XDG_APP_EXTERN' + --ignore-decorators='FLATPAK_EXTERN' SCANGOBJ_OPTIONS = -MKDB_OPTIONS = --output-format=xml --name-space=xdg_app +MKDB_OPTIONS = --output-format=xml --name-space=flatpak FIXXREF_OPTIONS = HFILE_GLOB = $(top_srcdir)/lib/*.h $(top_builddir)/lib/*.h CFILE_GLOB = $(top_srcdir)/lib/*.c IGNORE_HFILES = \ - xdg-app-enum-types.h \ - xdg-app-installed-ref-private.h \ - xdg-app-remote-ref-private.h \ - xdg-app-remote-private.h + flatpak-enum-types.h \ + flatpak-installed-ref-private.h \ + flatpak-remote-ref-private.h \ + flatpak-remote-private.h EXTRA_HFILES = @@ -25,7 +25,7 @@ content_files = expand_content_files = AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib $(BASE_CFLAGS) -GTKDOC_LIBS = $(top_builddir)/libxdg-app.la $(BASE_LIBS) +GTKDOC_LIBS = $(top_builddir)/libflatpak.la $(BASE_LIBS) include $(top_srcdir)/gtk-doc.make diff --git a/doc/reference/xdg-app-docs.xml b/doc/reference/flatpak-docs.xml index 4a1d441c..ce7ae491 100644 --- a/doc/reference/xdg-app-docs.xml +++ b/doc/reference/flatpak-docs.xml @@ -7,21 +7,21 @@ ]> <book id="index"> <bookinfo> - <title>xdg-app Library Reference Manual</title> + <title>Flatpak Library Reference Manual</title> <releaseinfo> - For xdg-app &version; + For flatpak &version; </releaseinfo> </bookinfo> <chapter> - <title>XDG-App</title> - <xi:include href="xml/xdg-app-installation.xml"/> - <xi:include href="xml/xdg-app-ref.xml"/> - <xi:include href="xml/xdg-app-installed-ref.xml"/> - <xi:include href="xml/xdg-app-remote-ref.xml"/> - <xi:include href="xml/xdg-app-remote.xml"/> - <xi:include href="xml/xdg-app-error.xml"/> - <xi:include href="xml/xdg-app-version-macros.xml"/> + <title>Flatpak</title> + <xi:include href="xml/flatpak-installation.xml"/> + <xi:include href="xml/flatpak-ref.xml"/> + <xi:include href="xml/flatpak-installed-ref.xml"/> + <xi:include href="xml/flatpak-remote-ref.xml"/> + <xi:include href="xml/flatpak-remote.xml"/> + <xi:include href="xml/flatpak-error.xml"/> + <xi:include href="xml/flatpak-version-macros.xml"/> </chapter> <chapter id="object-tree"> diff --git a/doc/reference/xdg-app-sections.txt b/doc/reference/flatpak-sections.txt index ebe1bd74..ebe1bd74 100644 --- a/doc/reference/xdg-app-sections.txt +++ b/doc/reference/flatpak-sections.txt diff --git a/document-portal/Makefile.am.inc b/document-portal/Makefile.am.inc index 8656f255..3b1419b5 100644 --- a/document-portal/Makefile.am.inc +++ b/document-portal/Makefile.am.inc @@ -29,5 +29,5 @@ xdg_document_portal_SOURCES = \ document-portal/xdp-fuse.c \ $(NULL) -xdg_document_portal_LDADD = $(BASE_LIBS) $(FUSE_LIBS) libxdgapp-common.la +xdg_document_portal_LDADD = $(BASE_LIBS) $(FUSE_LIBS) libflatpak-common.la xdg_document_portal_CFLAGS = $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(SOUP_CFLAGS) $(XAUTH_LIBS) $(FUSE_CFLAGS) -I$(srcdir)/document-portal -I$(builddir)/document-portal diff --git a/xdg-app.pc.in b/flatpak.pc.in index 906eb05a..fb62da84 100644 --- a/xdg-app.pc.in +++ b/flatpak.pc.in @@ -7,10 +7,10 @@ datadir=@datadir@ interfaces_dir=${datadir}/dbus-1/interfaces/ -Name: xdg-app +Name: flatpak Description: Application sandboxing framework Version: @VERSION@ Requires: glib-2.0 gio-2.0 Requires.private: gio-unix-2.0 ostree-1 libgsystem -Libs: -L${libdir} -lxdg-app -Cflags: -I${includedir}/xdg-app +Libs: -L${libdir} -lflatpak +Cflags: -I${includedir}/flatpak diff --git a/lib/Makefile.am.inc b/lib/Makefile.am.inc index fa75fa6e..4dc41fa4 100644 --- a/lib/Makefile.am.inc +++ b/lib/Makefile.am.inc @@ -1,5 +1,5 @@ -lib_LTLIBRARIES += libxdg-app.la -noinst_PROGRAMS += test-libxdg-app +lib_LTLIBRARIES += libflatpak.la +noinst_PROGRAMS += test-libflatpak public_headers = \ lib/flatpak.h \ @@ -38,8 +38,8 @@ lib/flatpak-enum-types.c: $(public_headers) lib/flatpak-enum-types.c.template EXTRA_DIST += lib/flatpak-enum-types.c.template lib/flatpak-enum-types.h.template -xdgappincludedir = $(includedir)/xdg-app -xdgappinclude_HEADERS = $(public_headers) $(generated_public_headers) +flatpakincludedir = $(includedir)/flatpak +flatpakinclude_HEADERS = $(public_headers) $(generated_public_headers) sources = \ lib/flatpak.c \ @@ -56,13 +56,13 @@ sources = \ lib/flatpak-installation.c \ $(NULL) -libxdg_app_la_SOURCES = \ +libflatpak_la_SOURCES = \ $(public_headers) \ $(generated_public_headers) \ $(sources) \ $(NULL) -libxdg_app_la_CFLAGS = \ +libflatpak_la_CFLAGS = \ $(HIDDEN_VISIBILITY_CFLAGS) \ -DFLATPAK_COMPILATION \ -I$(top_srcdir)/lib \ @@ -73,32 +73,32 @@ libxdg_app_la_CFLAGS = \ $(SOUP_CFLAGS) \ $(NULL) -libxdg_app_la_LDFLAGS = \ +libflatpak_la_LDFLAGS = \ -version-info $(LT_VERSION_INFO) \ -export-dynamic \ -rpath $(libdir) \ $(NULL) -libxdg_app_la_LIBADD = \ - libxdgapp-common.la \ +libflatpak_la_LIBADD = \ + libflatpak-common.la \ $(BASE_LIBS) \ $(OSTREE_LIBS) \ $(SOUP_LIBS) \ $(NULL) -test_libxdg_app_SOURCES = \ +test_libflatpak_SOURCES = \ lib/test-lib.c \ $(NULL) -test_libxdg_app_CFLAGS = \ +test_libflatpak_CFLAGS = \ $(BASE_CFLAGS) \ -I$(top_srcdir)/lib \ -I$(top_builddir)/lib \ $(NULL) -test_libxdg_app_LDADD = \ +test_libflatpak_LDADD = \ $(BASE_LIBS) \ - libxdg-app.la \ + libflatpak.la \ $(NULL) # gobject-introspection rules @@ -107,16 +107,16 @@ test_libxdg_app_LDADD = \ INTROSPECTION_GIRS = if HAVE_INTROSPECTION -Flatpak-1.0.gir: libxdg-app.la Makefile +Flatpak-1.0.gir: libflatpak.la Makefile introspected_headers = $(public_headers) introspected_sources = $(filter-out %-private.h,$(sources)) Flatpak_1_0_gir_NAMESPACE = Flatpak Flatpak_1_0_gir_VERSION = 1.0 -Flatpak_1_0_gir_LIBS = libxdg-app.la +Flatpak_1_0_gir_LIBS = libflatpak.la Flatpak_1_0_gir_FILES = $(introspected_headers) $(introspected_sources) -Flatpak_1_0_gir_CFLAGS = $(libxdg_app_la_CFLAGS) +Flatpak_1_0_gir_CFLAGS = $(libflatpak_la_CFLAGS) Flatpak_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0 Flatpak_1_0_gir_SCANNERFLAGS = \ --warn-all \ diff --git a/session-helper/Makefile.am.inc b/session-helper/Makefile.am.inc index 55f5b02d..5c931617 100644 --- a/session-helper/Makefile.am.inc +++ b/session-helper/Makefile.am.inc @@ -14,5 +14,5 @@ xdg_app_session_helper_SOURCES = \ session-helper/flatpak-permission-store.h \ $(NULL) -xdg_app_session_helper_LDADD = $(BASE_LIBS) libxdgapp-common.la +xdg_app_session_helper_LDADD = $(BASE_LIBS) libflatpak-common.la xdg_app_session_helper_CFLAGS = $(BASE_CFLAGS) diff --git a/system-helper/Makefile.am.inc b/system-helper/Makefile.am.inc index 4a581519..7b346968 100644 --- a/system-helper/Makefile.am.inc +++ b/system-helper/Makefile.am.inc @@ -17,7 +17,7 @@ xdg_app_system_helper_SOURCES = \ lib/flatpak-error.c \ $(NULL) -xdg_app_system_helper_LDADD = $(BASE_LIBS) $(OSTREE_LIBS) $(POLKIT_LIBS) libxdgapp-common.la +xdg_app_system_helper_LDADD = $(BASE_LIBS) $(OSTREE_LIBS) $(POLKIT_LIBS) libflatpak-common.la xdg_app_system_helper_CFLAGS = $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(POLKIT_CFLAGS) polkit_rulesdir = $(datadir)/polkit-1/rules.d diff --git a/tests/Makefile.am.inc b/tests/Makefile.am.inc index e9af7ab3..c9ef3f17 100644 --- a/tests/Makefile.am.inc +++ b/tests/Makefile.am.inc @@ -12,7 +12,7 @@ testdb_LDADD = \ $(BASE_LIBS) \ $(OSTREE_LIBS) \ libglnx.la \ - libxdgapp-common.la \ + libflatpak-common.la \ $(NULL) testdb_SOURCES = tests/testdb.c @@ -21,7 +21,7 @@ test_doc_portal_LDADD = \ $(BASE_LIBS) \ $(OSTREE_LIBS) \ libglnx.la \ - libxdgapp-common.la \ + libflatpak-common.la \ $(NULL) test_doc_portal_SOURCES = tests/test-doc-portal.c $(xdp_dbus_built_sources) |