Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Request: Package LibreCAD in Fedora #362

Open
Andrew89 opened this Issue · 7 comments

2 participants

@Andrew89

I notice the availability of LibreCAD in RPM packages. But it would be even nicer if Rallaz went ahead and submitted LibreCAD to Fedora package maintenance, and regularly maintained the package.

This would be much appreciated, if it is not too much trouble for Rallaz. Fedora has a near-total absence of quality CAD software. Only QCad CV is available, and that's abandonware.

@Rallaz
Collaborator

Hi Andrew,
I am a user of OpenSuse and I build the RPM packages thanks to OpenSuse Build Service.
To be Fedora package maintainer, at least should be user and follow the Fedora maintainer rules.
My proposal is that the maintainer is an Fedora user and I help him in whatever it takes to generate the SPEC file

@Andrew89

Hi Rallaz,

If you're an RPM package maintainer for OpenSuse, maintaining for Fedora shouldn't be much different. Guidelines are here: https://fedoraproject.org/wiki/Join_the_package_collection_maintainers

I don't think it's necessary to be a regular Fedora user to be a maintainer. Fedora is a very "vanilla" distro. I would say that, for testing purposes, you could keep Fedora on a LiveUSB and make sure the package builds and runs without problems.

But I've also asked the person who maintains OCC and FreeCAD in Fedora to maintain LibreCAD as well.

@Rallaz
Collaborator

No, only OpenSuse user.
My package are "multi-distro" but my proposal are open for FreeCAD maintainer in Fedora
All the info needed to create the RPM (spec, patcthes, etc.) are in:
https://build.opensuse.org/package/show?package=LibreCAD2&project=home%3ARallaz

@Andrew89

The following packages are dependencies required to build version 1.0.2, am I right?:
fparser 4.4.3
dxflib 2.5.0
muparser 2.2.2

Currently Fedora 18 only has muparser. I would have to also maintain dxflib to maintain LibreCAD. There is a submission ticker for fparser that I see here: https://bugzilla.redhat.com/show_bug.cgi?id=814458 However, nothing has made it into the repository yet.

If I take it upon myself to maintain LibreCAD for Fedora, I will have to learn from beginning to end how to properly maintain a package, and also maintain up to two dependencies. I have never maintained packages before. This task is daunting and I don't know if I have what it takes (or even enough time) to do it. Rallaz, I agree with your decision not to maintain for Fedora since you do not use it, but I doubt I will be able to maintain the LibreCAD package myself, as I have no experience with it. Do you know of anyone else that could do it?

@Rallaz
Collaborator

Some parts of LibreCAD are GPL 2 only and fparser are incompatible (GPL 3) and removed to LC.
Dependencies are listed on top of spec file.

LibreCAD 1.0.2
BuildRequires: make gcc gcc-c++ glibc-devel muparser-devel
Fedora specifics
BuildRequires: qt4-devel >= 4.4.1 fdupes dxflib-devel
files for 1.0.2
https://build.opensuse.org/package/show?package=LibreCAD&project=home%3ARallaz

dxflib-devel requires a patch:
https://build.opensuse.org/package/show?package=dxflib&project=home%3ARallaz

I suggest not to make any package for version 1, versión 2 beta2 are ready in 1 week and BuildRequires are:
make gcc gcc-c++ glibc-devel boost-devel qt4-devel >= 4.4.1 fdupes
muparser-devel & libdxfrw-devel >= 0.5.6

muparser seems present in fedora and libdxfrw are into LC source and no require package it separately.

To learn about creating rpm see chapters from 8 to 13 of
http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/index.html

Another LC and fedora user are:
http://zxq9.com/librecad/fedbuilds.html

If you decide to go ahead, we continue with private messages for not fill this of noise about create RPM's

@Andrew89

What is LC anyway?

Sorry, but this is just too much for me to learn. I wish I had the time and patience, but inevitably, I would hit a problem I couldn't fix. That's how it is with package maintenance: it's hard stuff.

Perhaps you could contact the person who wrote http://zxq9.com/librecad/fedbuilds.html and ask him?

@Rallaz
Collaborator

LC == LibreCad
zxq9 is often at IRC: irc://chat.freenode.net/librecad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.