LibreCAD

LibreCAD
Login

LibreCAD scratch repository

I have created this repository as a mirror of LibreCAD in order to publish here my modifications and fixes.

Unfortunately, I can't do this on the original GitHub repository, because I can't login to github anymore, because of their 2FA policy.

I will sync periodically with the main repository. And the LibreCAD developers can (if they wish) to pull from here changes and fixes.

Of course, everyone else can clone and compile the code in order to get the features not officially published yet.

Anyway. For now all my work will be done in the branch jf_fixes. But I might decide to fork another branches if they are needed. But will never commit into the original git branches in order not to interfere with the developers.

For those, not familiar with Fossil SCM will give some guide how to clone and compile:

Install fossil from your favorite package manager.

Clone the repository with the following command:

$ fossil clone https://asm32.info/fossil/librecad/ MY_REPOS/LibreCad.fossil

Enter the CHECKOUT directory and open the repository:

$ fossil open MY_REPOS/LibreCad.fossil BRANCH_NAME

This command will checkout the source code for the branch BRANCH_NAME from the repository to the current directory.

You can see the branches list from this site, but practically you can choose from 2:

Check and install the libraries LibreCad depend on:

Compile the code:

$ qmake6 -r
$ make -j4
$ sudo make install

If you want later to update, execute from the CHECKOUT directory:

$ fossil clean
$ fossil update
$ qmake6 -r
$ make -j4
$ sudo make install

Some tips and tricks with fossil:

In order to browse the local repository you can execute from the checkout directory:

$ fossil ui

You can create several checkout directories for the different branches and versions of the code and open the same already cloned repository from them.

No need to clone it multiply times.

When you don't need the checkout directory anymore, simply delete it. The repository is independent from the working directories and will remain intact.