Ubuntu: clean up control file.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 22 Dec 2023 04:52:33 +0000 (13:52 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 22 Dec 2023 05:47:08 +0000 (14:47 +0900)
We have multiple control files for different distros.
Clean up ubuntu-ppa control file.

Reported by Q2 of #4357
Fixes the first half of #4358

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
debian/control
debian/control.ubuntu.ppa

index d5915ca..800e416 100644 (file)
@@ -1,3 +1,5 @@
+### PPA does NOT use this file!  ###
+### Rule file will override!     ###
 Source: nnstreamer
 Section: libs
 Priority: optional
index bdc8972..d8bcb43 100644 (file)
@@ -3,16 +3,19 @@ Section: libs
 Priority: optional
 Maintainer: MyungJoo Ham <myungjoo.ham@samsung.com>
 Build-Depends: gcc-9 | gcc-8 | gcc-7 | gcc-6 | gcc-5 (>=5.4),
- ninja-build, meson (>=0.49), debhelper (>=9), nnstreamer-edge-dev, libjson-glib-dev,
- libgstreamer1.0-dev, libgstreamer-plugins-base1.0-dev, libglib2.0-dev,
+ ninja-build, meson (>=0.49), debhelper (>=9), nnstreamer-edge-dev,
+ libgstreamer1.0-dev, libgstreamer-plugins-base1.0-dev, libglib2.0-dev, libjson-glib-dev,
  gstreamer1.0-tools, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good,
- libgtest-dev, ssat, libpng-dev, libopencv-dev, liborc-0.4-dev,
- python3, python3-dev, python3-numpy,
- nnfw-dev [amd64] | gcc, tensorflow2-lite-dev,
- pytorch (>= 3.10) | gcc, libedgetpu1-std (>=12), libedgetpu-dev (>=12),
- openvino-dev, openvino-cpu-mkldnn [amd64], libflatbuffers-dev, flatbuffers-compiler,
+ libgtest-dev, ssat, libpng-dev, libopencv-dev, liborc-0.4-dev, flex, bison,
+ python3, python3-dev, python3-numpy, pkg-config,
+ libflatbuffers-dev, flatbuffers-compiler,
  protobuf-compiler (>=3.12), libprotobuf-dev [amd64 arm64 armhf],
- libpaho-mqtt-dev, flex, bison, tvm-runtime-dev
+ libpaho-mqtt-dev,
+ tensorflow2-lite-dev,
+ pytorch, libedgetpu1-std (>=12), libedgetpu-dev (>=12),
+ openvino-dev, openvino-cpu-mkldnn [amd64],
+ nnfw-dev [amd64] | gcc,
+ tvm-runtime-dev
 Standards-Version: 3.9.6
 Homepage: https://github.com/nnstreamer/nnstreamer
 
@@ -27,7 +30,7 @@ Description: NNStreamer plugins for Gstreamer
 Package: nnstreamer-core
 Architecture: any
 Multi-Arch: same
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: nnstreamer-edge, ${shlibs:Depends}, ${misc:Depends}
 Description: NNStreamer plugins for Gstreamer
  Gstreamer plugins, "NNStreamer", provides access to neural network frameworks for media streams.
  This package is core package without configuration.
@@ -50,21 +53,21 @@ Description: NNStreamer Single-shot
 Package: nnstreamer-tensorflow2-lite
 Architecture: any
 Multi-Arch: same
-Depends: nnstreamer, ${shlibs:Depends}, ${misc:Depends}
+Depends: nnstreamer-single, ${shlibs:Depends}, ${misc:Depends}
 Description: NNStreamer TensorFlow Lite 2.x Support
  This package allows nnstreamer to support tensorflow-lite 2.x.
 
 Package: nnstreamer-pytorch
 Architecture: any
 Multi-Arch: same
-Depends: nnstreamer, pytorch, ${shlibs:Depends}, ${misc:Depends}
+Depends: nnstreamer-single, pytorch, ${shlibs:Depends}, ${misc:Depends}
 Description: NNStreamer Pytorch Support
  This package allows nnstreamer to support pytorch.
 
 Package: nnstreamer-caffe2
 Architecture: any
 Multi-Arch: same
-Depends: nnstreamer, pytorch, ${shlibs:Depends}, ${misc:Depends}
+Depends: nnstreamer-single, pytorch, ${shlibs:Depends}, ${misc:Depends}
 Description: NNStreamer Caffe2 Support
  This package allows nnstreamer to support caffe2.
 
@@ -78,21 +81,21 @@ Description: NNStreamer Python Custom Filter Support (3.x)
 Package: nnstreamer-edgetpu
 Architecture: any
 Multi-Arch: same
-Depends: nnstreamer, libedgetpu1-std, ${shlibs:Depends}, ${misc:Depends}
+Depends: nnstreamer-single, libedgetpu1-std, ${shlibs:Depends}, ${misc:Depends}
 Description: NNStreamer Edge TPU support
  This package allows nnstreamer to support Edge TPU.
 
 Package: nnstreamer-openvino
 Architecture: any
 Multi-Arch: same
-Depends: nnstreamer, openvino, ${shlibs:Depends}, ${misc:Depends}
+Depends: nnstreamer-single, openvino, ${shlibs:Depends}, ${misc:Depends}
 Description: NNStreamer OpenVino support
  This package allows nnstreamer to support OpenVino.
 
 Package: nnstreamer-nnfw
 Architecture: amd64
 Multi-Arch: same
-Depends: nnstreamer, nnfw, ${shlibs:Depends}, ${misc:Depends}
+Depends: nnstreamer-single, nnfw, ${shlibs:Depends}, ${misc:Depends}
 Description: NNStreamer NNFW (ONE) support
  This package allows nnstreamer to support NNFW (ONE, On-Device Neural Engine).