wisk / medusa

An open source interactive disassembler
Other
1.04k stars 92 forks source link

Needed items for building into a package #62

Open archey opened 7 years ago

archey commented 7 years ago
wisk commented 7 years ago

Hi archey and thanks for your message.

I'm not a Linux packaging guru, so may I ask you some questions to fulfill your need?

archey commented 7 years ago

@wisk in my opinion the external modules such as boost and ogdf and such its the pkgers responsability to get support for those. As in add them as a pkg or what not, we specifically had to pull in ogdf, but boost is a default library in most linux distributions. I think if you move it all to a static library setup, it might make it more difficult to pkg.

Python version, I used a sed line to just change the default to python2 as it finds python3 no problem.

sed -i 's|find_package(PythonLibs REQUIRED)|find_package(PythonLibs 2 REQUIRED)|' src/ui/python/CMakeLists.txt

archey commented 7 years ago

To be FHS compliant most libraries will go into /usr/lib/ or /usr/lib/pkgname, and that is currently how my patch file works. It drops the libs and bins into the correct locations. I can provide it, if youd like