What's the recommended way to build "HEAD"


#1

Hi everyone,

I got a couple of questions:

  1. What’s the recommended way of building the latest version of all components?

I’m looking at https://github.com/lxqt/lxqt , but I see it doesn’t contain all of the repositories that Github lists under lxqt (e.g. screengrab is not included). That’s deliberate, right? :slight_smile:

  1. What’s your typical development workflow like? Do you build off the lxqt repo with all items checked out via git submodule, then work on the copy that was checked out that way? Or do you build off lxqt to get a working tree, then checkout components separately for development purposes and build them against that tree? Or something else entirely :-)? I’ve never used git submodule before and I’m not sure what the “correct” way to do it; I see the modules it checks out are in detached HEAD mode (makes sense, I suppose).

I got a build working from lxqt, I just want to make sure it’s (still) the correct way.

You know, asking in case I wake up one morning and find some new code has been written on my computer and I need to make a pull request :wink:


(jwh) #2
  1. https://github.com/lxqt/lxqt/wiki/Building-from-source
    This first shows metapackages for various distributions, then further down shows the build order in: Compiling-> General/Build Order

  2. Not sure but these might help…?

[https://github.com/lxqt/lxqt/blob/master/README.md](https://github.com/lxqt/lxqt/blob/master/README.md)
[https://github.com/lxqt/lxqt/wiki/Contributing-code](https://github.com/lxqt/lxqt/wiki/Contributing-code)

#3

Aah! That should be a useful reference, thanks!

It looks like the lxqt/lxqt repo actually implements this, and the document looks up to date, so I guess that answers my question.


(Alf Gaida) #4

And btw - the recommend way to build from source includes the usage of the distribution package manager. Not a must, but if the installation should live longer than a day i would recommend it.