Skip to main content
replaced http://raspberrypi.stackexchange.com/ with https://raspberrypi.stackexchange.com/
Source Link

I'm one of the developers on the Motion project.

We are trying to merge the popular motion-mmal fork used by a lot of Raspberry Pi users back into the main project's github repository.

To build with MMAL camera support, the libraspberrypi-dev package is required to be present (and I guess to run, the libraspberrypi0 package needs to be a dependency of the built package too) — so that we can build/run with the MMAL camera interface files.

What is the correct way to achieve this? The libraspberrypi packages aren't present in Debian as a I understand it, so I believe the upstream Debian package can't mention those.

Is the only way to have a completely separate package with a different name that is only available in Raspbian — that seems less than optimal as it means anyone that installs motion will get a version that doesn't support the Raspberry Pi camera, even though the Raspberry Pi support is there in the upstream source code.

I've searched but didn't find much on this subject; http://raspberrypi.stackexchange.com/a/37300/10976https://raspberrypi.stackexchange.com/a/37300/10976 is relevant but I think may be more about the case where the upstream source code doesn't have Raspberry Pi support.

Further confusing me is the fact that raspbian is apparently targeting boards other than raspberry pi, so I don't entirely see how to depend on raspberry pi specific libraries even in raspbian.

I'm one of the developers on the Motion project.

We are trying to merge the popular motion-mmal fork used by a lot of Raspberry Pi users back into the main project's github repository.

To build with MMAL camera support, the libraspberrypi-dev package is required to be present (and I guess to run, the libraspberrypi0 package needs to be a dependency of the built package too) — so that we can build/run with the MMAL camera interface files.

What is the correct way to achieve this? The libraspberrypi packages aren't present in Debian as a I understand it, so I believe the upstream Debian package can't mention those.

Is the only way to have a completely separate package with a different name that is only available in Raspbian — that seems less than optimal as it means anyone that installs motion will get a version that doesn't support the Raspberry Pi camera, even though the Raspberry Pi support is there in the upstream source code.

I've searched but didn't find much on this subject; http://raspberrypi.stackexchange.com/a/37300/10976 is relevant but I think may be more about the case where the upstream source code doesn't have Raspberry Pi support.

Further confusing me is the fact that raspbian is apparently targeting boards other than raspberry pi, so I don't entirely see how to depend on raspberry pi specific libraries even in raspbian.

I'm one of the developers on the Motion project.

We are trying to merge the popular motion-mmal fork used by a lot of Raspberry Pi users back into the main project's github repository.

To build with MMAL camera support, the libraspberrypi-dev package is required to be present (and I guess to run, the libraspberrypi0 package needs to be a dependency of the built package too) — so that we can build/run with the MMAL camera interface files.

What is the correct way to achieve this? The libraspberrypi packages aren't present in Debian as a I understand it, so I believe the upstream Debian package can't mention those.

Is the only way to have a completely separate package with a different name that is only available in Raspbian — that seems less than optimal as it means anyone that installs motion will get a version that doesn't support the Raspberry Pi camera, even though the Raspberry Pi support is there in the upstream source code.

I've searched but didn't find much on this subject; https://raspberrypi.stackexchange.com/a/37300/10976 is relevant but I think may be more about the case where the upstream source code doesn't have Raspberry Pi support.

Further confusing me is the fact that raspbian is apparently targeting boards other than raspberry pi, so I don't entirely see how to depend on raspberry pi specific libraries even in raspbian.

Tweeted twitter.com/StackRaspi/status/771384655236956160
added 197 characters in body; edited tags; edited title
Source Link
JosephH
  • 173
  • 7

How to add derivativeraspberry pi / raspbian distro specific build-deps to a Debian package

I'm one of the developers on the Motion project.

We are trying to merge the popular motion-mmal fork used by a lot of Raspberry Pi users back into the main project's github repository.

To build with MMAL camera support, the libraspberrypi-dev package is required to be present (and I guess to run, the libraspberrypi0 package needs to be a dependency of the built package too) — so that we can build/run with the MMAL camera interface files.

What is the correct way to achieve this? The libraspberrypi packages aren't present in Debian as a I understand it, so I believe the upstream Debian package can't mention those.

Is the only way to have a completely separate package with a different name that is only available in Raspbian — that seems less than optimal as it means anyone that installs motion will get a version that doesn't support the Raspberry Pi camera, even though the Raspberry Pi support is there in the upstream source code.

I've searched but didn't find much on this subject; http://raspberrypi.stackexchange.com/a/37300/10976 is relevant but I think may be more about the case where the upstream source code doesn't have Raspberry Pi support.

Further confusing me is the fact that raspbian is apparently targeting boards other than raspberry pi, so I don't entirely see how to depend on raspberry pi specific libraries even in raspbian.

How to add derivative distro specific build-deps to a Debian package

I'm one of the developers on the Motion project.

We are trying to merge the popular motion-mmal fork used by a lot of Raspberry Pi users back into the main project's github repository.

To build with MMAL camera support, the libraspberrypi-dev package is required to be present (and I guess to run, the libraspberrypi0 package needs to be a dependency of the built package too) — so that we can build/run with the MMAL camera interface files.

What is the correct way to achieve this? The libraspberrypi packages aren't present in Debian as a I understand it, so I believe the upstream Debian package can't mention those.

Is the only way to have a completely separate package with a different name that is only available in Raspbian — that seems less than optimal as it means anyone that installs motion will get a version that doesn't support the Raspberry Pi camera, even though the Raspberry Pi support is there in the upstream source code.

I've searched but didn't find much on this subject; http://raspberrypi.stackexchange.com/a/37300/10976 is relevant but I think may be more about the case where the upstream source code doesn't have Raspberry Pi support.

How to add raspberry pi / raspbian distro specific build-deps to a Debian package

I'm one of the developers on the Motion project.

We are trying to merge the popular motion-mmal fork used by a lot of Raspberry Pi users back into the main project's github repository.

To build with MMAL camera support, the libraspberrypi-dev package is required to be present (and I guess to run, the libraspberrypi0 package needs to be a dependency of the built package too) — so that we can build/run with the MMAL camera interface files.

What is the correct way to achieve this? The libraspberrypi packages aren't present in Debian as a I understand it, so I believe the upstream Debian package can't mention those.

Is the only way to have a completely separate package with a different name that is only available in Raspbian — that seems less than optimal as it means anyone that installs motion will get a version that doesn't support the Raspberry Pi camera, even though the Raspberry Pi support is there in the upstream source code.

I've searched but didn't find much on this subject; http://raspberrypi.stackexchange.com/a/37300/10976 is relevant but I think may be more about the case where the upstream source code doesn't have Raspberry Pi support.

Further confusing me is the fact that raspbian is apparently targeting boards other than raspberry pi, so I don't entirely see how to depend on raspberry pi specific libraries even in raspbian.

Post Migrated Here from unix.stackexchange.com (revisions)
Source Link
JosephH
  • 173
  • 7

How to add derivative distro specific build-deps to a Debian package

I'm one of the developers on the Motion project.

We are trying to merge the popular motion-mmal fork used by a lot of Raspberry Pi users back into the main project's github repository.

To build with MMAL camera support, the libraspberrypi-dev package is required to be present (and I guess to run, the libraspberrypi0 package needs to be a dependency of the built package too) — so that we can build/run with the MMAL camera interface files.

What is the correct way to achieve this? The libraspberrypi packages aren't present in Debian as a I understand it, so I believe the upstream Debian package can't mention those.

Is the only way to have a completely separate package with a different name that is only available in Raspbian — that seems less than optimal as it means anyone that installs motion will get a version that doesn't support the Raspberry Pi camera, even though the Raspberry Pi support is there in the upstream source code.

I've searched but didn't find much on this subject; http://raspberrypi.stackexchange.com/a/37300/10976 is relevant but I think may be more about the case where the upstream source code doesn't have Raspberry Pi support.