Commit Graph

139 Commits (2618a19716856d2b107acc0b5b63838e1379ef45)

Author SHA1 Message Date
Colin Walters 2618a19716 Import ostree's compiler warnings, fix up callers
In ostree I maintain what I consider a "baseline" set of compiler
warnings that should *always* be fatal for a modern C project.

I noticed while working on a previous patch that a `-Werror=format`
warning wasn't fatal.

There are a few that are really, really important like
`-Werror=missing-prototypes`. I also take some like `-Werror=misleading-indentation`
which already caught some bugs.  See also https://lwn.net/Articles/678019/
2017-03-27 10:42:36 +02:00
Alexander Larsson afc2dd3d75 Update minimal automake to 1.13.4
It doesn't build on the current minimum of 1.11.
Fixes https://github.com/flatpak/flatpak/issues/621
2017-03-15 09:54:37 +01:00
Alexander Larsson dcccb3c807 Bump glib dependency to 2.44
This is required for e.g. G_DECLARE_FINAL_TYPE, and most current
distros have this now.

This fixes https://github.com/flatpak/flatpak/issues/622

For distributions that want to build against older glib, see
the issue above, it has patches to make that work.
2017-03-15 09:44:28 +01:00
Alexander Larsson 55553af813 Remove old --with-priv-mode=caps
This doesn't work anymore
2017-01-30 12:11:55 +01:00
Ikey Doherty 3b64fbc4f5 profile: Support alternative profile.d locations
Typically Linux distributions employ /etc/profile.d for system wide
environment manipulation prior to multi-user initialisation. Modern
distribution efforts split the vendor configuration from the local
sysadmin configuration and data, by not using the /etc/ directories,
for example.

To enable this stateless pattern, this change adds a new --with-profile-dir
option to use an alternative location, such as within /usr/share/. This
ensures that the data (not configuration) is owned through the update
process, and does not conflict with changes made locally to the system,
enforcing domains of ownership.

To preserve backwards compatible behaviour, the default directory remains
set to /etc/profile.d.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-01-19 10:05:13 +01:00
Ikey Doherty ca107ebb16 system-helper: Allow configuration of dbus configuration directory
Newer versions of dbus support stateless directories, and many distributions
now use /usr/share/dbus-1/system.d for the vendor configuration files, as
opposed to the legacy /etc/dbus-1/system.d directory.

To enable this, we add a new --with-dbus-config-dir option to control the
configuration directory, whilst retaining backwards compatibility for those
still using older versions of dbus.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-01-19 10:05:13 +01:00
Alexander Larsson afda4e6900 Update to version 0.9.1 for unstable branch 2017-01-18 17:06:42 +01:00
Alexander Larsson 84f0b90af7 Bump version to 0.8.1 2017-01-18 16:34:26 +01:00
Michal Rostecki 2860c0c4ad configure: Look for the libdwarf headers also in /usr/include/libdwarf
Before this change, configure script looked for them only in
$includedir, which doesn't work well with jhbuild.

Fixes #471
2017-01-12 11:52:05 +01:00
Alexander Larsson bef52f4ee7 Update version to 0.8.0 2016-12-20 16:44:22 +01:00
Alexander Larsson 6d0af18df1 Require system bwrap 0.1.5
This is the latest stable release
2016-12-19 10:51:43 +01:00
Alexander Larsson cc85b93584 build-finish: Add --require-version and handling of it
This means that clients will refuse to install or update to your
new app if the flatpak version they are using is too old.
2016-12-14 13:48:51 +01:00
Alexander Larsson 109698c6b0 Release 0.6.14 2016-11-29 10:44:32 +01:00
Alexander Larsson c7776d0a6f Require new ostree and drop old workaroung
OSTree 2016.4 fixes the scanning and purging issues that
forced us to do a double-pull during sudir installs.
2016-11-28 12:25:59 +01:00
Alexander Larsson 6e31932221 OCI: Generate an oci image dir structure instead of a runtime 2016-10-31 20:11:14 +01:00
Alexander Larsson f0380434e1 Remove check for OstreeRepoExportArchiveOptions.path_prefix
We now hard-depend on a recent enough ostree that has this.
2016-10-28 11:02:40 +02:00
Alexander Larsson 32d5418605 Don't use the system-helper if disabled
I.e. if there is a system-installed helper, then we should not use
it if flatpak was built without the system helper.
2016-10-24 15:27:42 +02:00
Alexander Larsson 173897c544 Require OStree 2016.12 for new features and fixes
We want to use the new transactioned detached metadata support,
multi-subdirs pull, and inherit-transactions on pull. Also, there are
some fixes we like.
2016-10-22 10:11:09 +02:00
Alexander Larsson 274e30310b Post-release version bump 2016-10-17 08:54:22 +02:00
Alexander Larsson 9792ee1d4a post release version bump 2016-09-20 16:26:59 +02:00
Alexander Larsson 38a6b8d5e4 Post-release version bump 2016-09-13 15:13:20 +02:00
Alexander Larsson da38fc544c Update version/news to 0.6.10 2016-09-12 13:27:47 +02:00
Alexander Larsson cd3cccf136 Require OSTree 2016.10 for mtime revert
It seems OSTree switched back to 0 for mtimes, so we have to switch
back too. We need to depend on this release to ensure that all
created repos gets things right.
2016-09-09 09:13:20 +02:00
Alexander Larsson a46f8ed1d3 Require bubblewrap 0.1.2 for system bwrap and update git submodule to that 2016-09-09 09:07:15 +02:00
Alexander Larsson 837dd35234 Update versin to 0.6.9 2016-08-25 13:46:22 +02:00
Alexander Larsson 6578d37984 Drop libgsystem dependency 2016-08-22 16:00:33 +02:00
Alexander Larsson f93cd615b3 Update for 0.6.8 2016-07-31 00:01:27 +02:00
Alexander Larsson cbe20d3a6c Require ostree 2016.7 to get fix for issue #144
The new ostree has a fix for delta updates that lets us
re-enable these for updates via the system helper.
2016-07-29 01:20:40 +02:00
Alexander Larsson 003ef9ee2e Revert "Set up logging to the journal" 2016-07-29 00:24:43 +02:00
Matthias Clasen 9583e0ddb4 Add a configure summary 2016-07-28 15:02:40 -04:00
Matthias Clasen d7da128818 Optionally redirect stdout and stderr to the journal
Arrange for stdout and stderr to be redirected to the systemd
journal, before exec'ing bwrap. This is under the control of
a pair of run flags. By default, we try to be smart and only
redirect if stderr is not a tty.
2016-07-25 10:36:00 -04:00
Matthias Clasen e09a1d23f9 Reduce gettext requirement
Drop the gettext requirement to something that is available in
Enterprise distributions. Gettext older than 0.19.7 won't support
merging translations back into xml with msgfmt, but the fallback
code to install the untranslated policy file should work for
that case.
2016-07-15 12:54:41 -04:00
Matthias Clasen 3c52321a40 Use upstream gettext
Drop the intltool dependency that was recently added, and use
upstream gettext and its its features for the same purpose.
Note that polkit currently does not install .its files (I've
sent a patch). Until that is in place, this change has the
effect of installing the untranslated policy file.
2016-07-15 11:58:46 -04:00
Matthias Clasen bf96dd248f Build html documentation from the man pages
This will be useful for putting the docs online.
2016-07-12 00:41:13 -04:00
matthiasclasen d1d881edf3 Merge pull request #172 from hadess/origin/wip/glib-reqs
Allow building on GLib 2.40 or older
2016-07-04 21:06:42 -04:00
Bastien Nocera 47e3b9fb5c build: Add minimum GLib requirements
The build system did not have any minimum requirements on GLib, which is
somewhat optimistic. We rely on ostree, so the minimum version is the
same as ostree's minimum requirement, 2.40.
2016-07-04 23:40:14 +02:00
Alexander Larsson e70ddb78d3 Require ostree 2016.6
This has some important pull fixes that we want people to have.
Also it changed the mtime of checkouts from 0 to 1, so we want
to require only one of those (as flatpak has some special code for mtimes).
2016-07-01 14:05:29 +02:00
Alexander Larsson b9db25c4c8 Bump version number since last release 2016-06-30 17:41:20 +02:00
Simon McVittie ee99e8afff Add BWRAP and --with-system-bubblewrap configure arguments
This lets distributors share a system copy of bubblewrap (>= 0.1.0)
between Flatpak and any other projects that benefit from it, if they are
careful to keep new versions in sync. The default is still to use the
bundled submodule, ensuring compatibility and simplifying dependencies.

Enable $PATH search everywhere that runs bwrap, so that $BWRAP doesn't
necessarily need to be a fully-qualified path.

Signed-off-by: Simon McVittie <smcv@debian.org>
2016-06-26 11:09:03 +01:00
Alexander Larsson 769f19fd30 Bump version number to 0.6.6 2016-06-23 13:19:17 +02:00
Alexander Larsson 1e5a42aff7 Fix build
The --disable-system-helper flag addition lacked a $
2016-06-07 10:10:30 +02:00
Matthias Clasen 9b22b1f167 Make system helper build optional
This lets us avoid the polkit dependency when just building
flatpak for its library.
2016-06-04 14:56:59 -04:00
Alexander Larsson 1db9764b73 Post-release version bump 2016-06-01 14:56:23 +02:00
Alexander Larsson dec99d6d6b Release 0.6.4 2016-06-01 10:28:03 +02:00
Alexander Larsson 53552deb9a Update version to 0.6.3 2016-05-31 16:47:54 +02:00
David King c8d04472ba configure: Remove some redundant AC_SUBST usage
PKG_CHECK_MODULES has called these automatically since well before
pkg-config 0.24.
2016-05-31 10:52:50 +02:00
David King b44d7462b8 configure: Use some extra AC_INIT parameters
Additionally, use PACKAGE_NAME when setting the gettext domain.

http://www.gnu.org/software/autoconf/manual/autoconf.html#Initializing-configure
2016-05-31 10:49:10 +02:00
Alexander Larsson 2b6f4f1bcf Add --with-privileged-group options
This allows distros to change the wheel group into something else,
for instance admin (ubuntu) or sudo (debian).
2016-05-24 10:13:23 +02:00
Alexander Larsson d6593d65e6 Post release version bump 2016-05-23 11:05:06 +02:00
Alexander Larsson 42d08ed18c NEWS/version: Update to 0.6.1 2016-05-23 09:22:41 +02:00