Skip to content

Allow for building plugins when using ubuntu OBS cutter and rizin packages #4879

@wannkunstbeikor

Description

@wannkunstbeikor

Is your feature request related to a problem? Please describe.

When installing the ubuntu 22.04 (not sure if this is the case for other distros, I only tested on ubuntu) package of cutter and rizin it doesnt include any decompiler. I only tried to install the rz-ghidra decompiler by building it, but that also doesn't work, bc the package doesnt include a pkg config file and maybe probably also the library files, not sure since the build failed on getting the package config file.

Describe the solution you'd like

Include the package config file and library files in a package, so that u can build plugins for cutter and rizin when using packaged builds. This would also solve the rz-pm not being able to install plugins when using the packaged build of rizin.

Describe alternatives you've considered

Include the decompiler directly like done with the AppImage.

Additional context

CMake Error at CMakeLists.txt:8 (find_package):
  By not providing "FindRizin.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Rizin", but
  CMake did not find one.

  Could not find a package configuration file provided by "Rizin" with any of
  the following names:

    RizinConfig.cmake
    rizin-config.cmake

  Add the installation prefix of "Rizin" to CMAKE_PREFIX_PATH or set
  "Rizin_DIR" to a directory containing one of the above files.  If "Rizin"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions