-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Thu, Jul 27, 2017 at 07:01:17PM -0700, Andrew Morgan wrote: > On 07/26/2017 01:29 AM, Marek Marczykowski-Górecki wrote: > > On Tue, Jul 25, 2017 at 08:54:57PM -0700, Andrew Morgan wrote: > >> Is it possible to build just Nautilus with qubes-builder? That may make > >> things much closer to what we want. > > > > You'll need source package (.spec for rpm for example). You can start > > with upstream source package: > > - dnf download --source nautilus && rpmdev-extract nautilus*src.rpm > > - apt-get source nautilus > > > > Then place resulting files in a subdirectory of qubes-src and add > > Makefile.builder with either (or both): > > RPM_SPEC_FILES = relative/path/to/spec > > DEBIAN_BUILD_DIRS = debian (actually, a path to a directory with "control" > > file) > > > > For RPM, qubes-builder will handle unpacking sources, for Debian, you > > need to add commands to do it into Makefile.builder, something like: > > > > ifneq ($(filter $(DISTRIBUTION), debian qubuntu),) > > SOURCE_COPY_IN = debian-source-copy-in > > endif > > > > debian-source-copy-in: SRC_FILE = > > "$(CHROOT_DIR)/$(DIST_SRC)/nautilus-x.y.z.tar.gz" > > tar xf $(SRC_FILE) -C $(CHROOT_DIR)/$(DIST_SRC) > > --strip-components=1 > > > > Some more details here: > > https://github.com/QubesOS/qubes-builder/blob/master/doc/ComponentConfiguration.md > > > > > > Hey Marek, > > I was able to build an entire f25-minimal template. Is there any way to > build just the app or perhaps just build a new copy of Nautilus for an > existing template?
Yes, I recommend "make help" ;) In short: "make component-name", like "make core-agent-linux". It will print list of built packages at the end - you need to copy them into appropriate (Template)VM and install using rpm or dnf. To build nautilus (which is by default downloaded from upstream repositories as binary package), you need to add new component, according to instruction above. Also, other builder documentation https://www.qubes-os.org/doc/qubes-builder/ - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJZevQSAAoJENuP0xzK19csPLAH/0hgqeQiwMSGPeeqaB17F/l3 3tqUa9zAttAHHDdMcic0w2v0AB6hAQl8bfXMq+CTLfO/wRBKc0fMKkXmFeLby21y ds78yuJvOKn14yjZdAWy7WRg55u2NdAySROeI2tr749lK6Bj8JU8svwY+NLtN9+m pomuhEUTYvDYbAK9gTKZtqV3Ckl4MkGMFY4U9EBBTeyFXfcK/qIpnGoYAC3fBoLH c+uh/T7XNd8P86697cSJwj1HFZv0w/bPHU7md3ZLD0ZZNg1pFMpuslrJopUxZeib 0E024cyPasWIM1gPL2bFH45Wy69ldudS0cGTSGHCZNjqN87JoHh12Td7oIC7EVY= =Ueos -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/20170728082137.GN1095%40mail-itl. For more options, visit https://groups.google.com/d/optout.
