View Issue Details

IDProjectCategoryView StatusLast Update
0000857FreeCADFeaturepublic2017-05-28 12:11
Reporterwmayer Assigned Towmayer  
PrioritylowSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0000857: Split package into smaller ones.
DescriptionA meta package freecad can be offered which installs all other packages.

First mentioned: http://forum.freecadweb.org/viewtopic.php?f=10&t=3132#p24310
Formal discussion: https://forum.freecadweb.org/viewtopic.php?f=10&t=22691
Additional Informationhttps://wiki.debian.org/PkgSplit
Tagsaddon-manager, packaging
FreeCAD Information

Relationships

related to 0003032 closedyorik Addon Manager should have a dependency pre-requisite checker 

Activities

wmayer

2015-04-19 15:04

administrator   ~0006049

The steps to split FreeCAD into smaller packages:
1. Add a new package name to the control file (e.g. freecad-fem)
2. Write a file freecad-<PACKAGE>.install (e.g. freecad-fem.install)
Add there the files which should go to this package, e.g.:
usr/lib/freecad/Mod/Fem
usr/lib/freecad/lib/Fem.so
usr/lib/freecad/lib/FemGui.so
usr/share/freecad/Mod/Fem

3. Adjust the file freecad.install to avoid that the files appear in two packages. Instead of
usr/lib/freecad/Mod
usr/lib/freecad/lib
a more concrete list of files must be set.

wmayer

2015-04-19 16:03

administrator   ~0006050

Use "fakeroot debian/rules binary" to avoid to build from scratch.

normandc

2017-03-09 02:54

manager   ~0008581

Rather than using this method, maybe look at the old freecad 0.12.5284 package from the Ubuntu 12.04 repository which didn't use any .install file but did it from the rules makefile. Attaching the debian folder for future reference as Ubuntu 12.04 will soon reach EOL and it may disappear from the packages.ubuntu.com site.
freecad_0.12.5284-dfsg-5ubuntu1.debian.tar.gz (Attachment missing)

Kunda1

2017-05-10 12:36

administrator   ~0008935

Relevant: prerequisite checker https://forum.freecadweb.org/viewtopic.php?f=18&t=21576&p=173596#p173596

Kunda1

2017-05-28 12:11

administrator   ~0009178

Opened a dedicated Formal discussion: https://forum.freecadweb.org/viewtopic.php?f=10&t=22691

Issue History

Date Modified Username Field Change
2012-10-28 08:01 wmayer New Issue
2012-10-28 08:01 wmayer Status new => assigned
2012-10-28 08:01 wmayer Assigned To => wmayer
2015-04-19 15:04 wmayer Note Added: 0006049
2015-04-19 15:05 wmayer Priority normal => low
2015-04-19 15:44 wmayer Description Updated View Revisions
2015-04-19 15:44 wmayer Additional Information Updated View Revisions
2015-04-19 16:03 wmayer Note Added: 0006050
2017-03-09 02:54 normandc File Added: freecad_0.12.5284-dfsg-5ubuntu1.debian.tar.gz
2017-03-09 02:54 normandc Note Added: 0008581
2017-05-10 12:36 Kunda1 Note Added: 0008935
2017-05-10 13:20 Kunda1 Tag Attached: packaging
2017-05-15 12:12 Kunda1 Relationship added related to 0003032
2017-05-15 12:12 Kunda1 Tag Attached: addon-manager
2017-05-28 12:10 Kunda1 Description Updated View Revisions
2017-05-28 12:11 Kunda1 Note Added: 0009178