From 21bc97be30c0f851134dd3cb825206daff2f8f10 Mon Sep 17 00:00:00 2001 From: Carlos Soriano Date: Thu, 1 Dec 2016 11:49:23 +0100 Subject: Add building with flatpak --- .gitignore | 87 ++++++++++++++++++++++++++++++++++++ org.gnome.Nautilus.json | 114 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 201 insertions(+) create mode 100644 .gitignore create mode 100644 org.gnome.Nautilus.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..be9825a6c --- /dev/null +++ b/.gitignore @@ -0,0 +1,87 @@ +*.o +.deps +/*.bak +/*.gcda +/*.gcno +/*.orig +/*.rej +/*.tab.c +/*~ +/.*.sw[nop] +/.dirstamp +/.gitignore +/.flatpak-builder +/ABOUT-NLS +/GPATH +/GRTAGS +/GSYMS +/GTAGS +/ID +/Makefile +/Makefile.in +/TAGS +/aclocal.m4 +/ar-lib +/autom4te.cache +/autoscan.log +/compile +/config.cache +/config.guess +/config.h +/config.h.in +/config.log +/config.lt +/config.rpath +/config.status +/config.status.lineno +/config.sub +/configure +/configure.lineno +/configure.scan +/data/Makefile.in +/data/icons/Makefile.in +/depcomp +/docs/Makefile.in +/docs/reference/Makefile.in +/docs/reference/libnautilus-extension/Makefile.in +/eel/Makefile.in +/install-sh +/intltool-extract.in +/intltool-merge.in +/intltool-update.in +/libgd/Makefile.in +/libnautilus-extension/Makefile.in +/libtool +/ltmain.sh +/m4/libtool.m4 +/m4/ltoptions.m4 +/m4/ltsugar.m4 +/m4/ltversion.m4 +/m4/lt~obsolete.m4 +/missing +/mkinstalldirs +/nautilus-desktop/Makefile.in +/nautilus-sendto-extension/Makefile.in +/po/*.gmo +/po/*.header +/po/*.mo +/po/*.sed +/po/*.sin +/po/.intltool-merge-cache +/po/Makefile +/po/Makefile.in +/po/Makefile.in.in +/po/Makefile.in.in~ +/po/Makevars.template +/po/POTFILES +/po/Rules-quot +/po/nautilus.pot +/po/stamp-it +/po/stamp-po +/so_locations +/src/Makefile.in +/stamp-h1 +/tags +/test-driver +/test/Makefile.in +/ylwrap diff --git a/org.gnome.Nautilus.json b/org.gnome.Nautilus.json new file mode 100644 index 000000000..6364f3ae4 --- /dev/null +++ b/org.gnome.Nautilus.json @@ -0,0 +1,114 @@ +{ + "app-id": "org.gnome.Nautilus", + "runtime": "org.gnome.Platform", + "runtime-version": "master", + "sdk": "org.gnome.Sdk", + "command": "nautilus", + "tags": ["nightly"], + "desktop-file-name-prefix": "(Nightly) ", + "finish-args": [ + /* X11 + XShm access */ + "--share=ipc", "--socket=x11", + /* Wayland access */ + "--socket=wayland", + /* Online accounts support */ + "--talk-name=org.gnome.OnlineAccounts", + /* Tracker */ + "--talk-name=org.freedesktop.Tracker1", + /* XXX This sucks */ + "--filesystem=home", + /* Browse gvfs */ + "--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*", + /* Needed for dconf to work */ + "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", + "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf" + ], + "build-options" : { + "cflags": "-O2 -g", + "cxxflags": "-O2 -g" + }, + "cleanup": [ "/include", "/share/bash-completion" ], + "modules": [ + { + "name": "libexif", + "sources": [ + { + "type": "archive", + "url": "https://downloads.sourceforge.net/libexif/libexif-0.6.21.tar.bz2", + "sha256": "16cdaeb62eb3e6dfab2435f7d7bccd2f37438d21c5218ec4e58efa9157d4d41a" + }, + /* For arm architectures */ + { + "type": "shell", + "commands": [ + "cp -f /usr/share/gnu-config/config.sub .", + "cp -f /usr/share/gnu-config/config.guess ." + ] + } + ] + }, + { + "name": "exempi", + "config-opts": [ + "--disable-unittest" + ], + "sources": [ + { + "type": "git", + "url": "https://anongit.freedesktop.org/git/exempi.git" + } + ] + + }, + { + "name": "tracker", + "cleanup": [ "/bin", "/etc", "/libexec" ], + "config-opts": [ "--disable-miner-apps", "--disable-static", + "--disable-tracker-extract", "--disable-tracker-needle", + "--disable-tracker-preferences", "--disable-artwork", + "--disable-tracker-writeback", "--disable-miner-user-guides"], + "sources": [ + { + "type": "git", + "url": "https://git.gnome.org/browse/tracker" + } + ] + }, + { + "name": "gnome-desktop", + "config-opts": ["--disable-debug-tools", "--disable-udev"], + "sources": [ + { + "type": "git", + "url": "https://git.gnome.org/browse/gnome-desktop" + } + ] + }, + { + "name": "gnome-autoar", + "sources": [ + { + "type": "git", + "url": "https://git.gnome.org/browse/gnome-autoar" + } + ] + }, + { + "name": "nautilus", + "config-opts": [ + "--disable-static", + "--disable-desktop", + "--disable-selinux", + "--enable-xmp", + "--enable-libexif", + "--disable-update-mimedb" + ], + "sources": [ + { + "type": "git", + "url": "https://git.gnome.org/browse/nautilus" + } + ] + } + ] +} -- cgit v1.2.1