From 40f5fddca7f774944a53f58eeaebc4db79c373d8 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 19 Sep 2021 20:37:26 +0300 Subject: libcamera: Standardize URLs to git repositories When the libcamera project was started, we had no public git tree hosted on git.libcamera.org. The problem has been addressed a while ago, and the git.linuxtv.org libcamera repository is now a mirror of the main git tree. The mirror is useful to benefit from the linuxtv.org automated compile tests, but it can also confuse users who don't know where the official version is. To try and clarify this, use the git.libcamera.org URL consistently through the project. This doesn't void the validatity of the linuxtv.org repository which will continue to mirror the libcamera.org repository. Signed-off-by: Laurent Pinchart Reviewed-by: Umang Jain Reviewed-by: Paul Elder --- .reuse/dep5 | 2 +- Documentation/contributing.rst | 11 +++++++---- Documentation/guides/application-developer.rst | 10 +++++----- README.rst | 2 +- package/gentoo/media-libs/libcamera/libcamera-9999.ebuild | 2 +- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.reuse/dep5 b/.reuse/dep5 index 1fd90dd7..96fefbe2 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -1,7 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libcamera Upstream-Contact: Laurent Pinchart -Source: https://git.linuxtv.org/libcamera.git/ +Source: https://git.libcamera.org/libcamera/libcamera.git/ Files: src/ipa/raspberrypi/data/*.json utils/raspberrypi/ctt/ctt_config_example.json diff --git a/Documentation/contributing.rst b/Documentation/contributing.rst index 6da82bac..b192c3b4 100644 --- a/Documentation/contributing.rst +++ b/Documentation/contributing.rst @@ -30,14 +30,17 @@ Source Code ----------- libcamera is in early stages of development, and no releases are available yet. -The source code is available from the project's `git tree`_, hosted by `LinuxTV`_. +The source code is available from the project's `git tree`_. .. code-block:: shell - $ git clone git://linuxtv.org/libcamera.git + $ git clone https://git.libcamera.org/libcamera/libcamera.git -.. _git tree: https://git.linuxtv.org/libcamera.git/ -.. _LinuxTV: https://linuxtv.org/ +.. _git tree: https://git.libcamera.org/libcamera/libcamera.git/ + +A mirror is also hosted on `LinuxTV`_. + +.. _LinuxTV: https://git.linuxtv.org/libcamera.git/ Issue Tracker ------------- diff --git a/Documentation/guides/application-developer.rst b/Documentation/guides/application-developer.rst index 84e522c0..ae28c96b 100644 --- a/Documentation/guides/application-developer.rst +++ b/Documentation/guides/application-developer.rst @@ -469,7 +469,7 @@ instance. An example of how to write image data to disk is available in the `FileSink class`_ which is a part of the ``cam`` utility application in the libcamera repository. -.. _FileSink class: https://git.linuxtv.org/libcamera.git/tree/src/cam/file_sink.cpp +.. _FileSink class: https://git.libcamera.org/libcamera/libcamera.git/tree/src/cam/file_sink.cpp With the handling of this request completed, it is possible to re-use the buffers by adding them to a new ``Request`` instance with their matching @@ -575,12 +575,12 @@ which is also the official build system of the libcamera library. Make sure both ``meson`` and ``libcamera`` are installed in your system. Please refer to your distribution documentation to install meson and install the most -recent version of libcamera from the git repository at `Linux TV`_. You would -also need to install the ``pkg-config`` tool to correctly identify the -libcamera.so object install location in the system. +recent version of libcamera from the `git repository`_. You would also need to +install the ``pkg-config`` tool to correctly identify the libcamera.so object +install location in the system. .. _Meson build system: https://mesonbuild.com/ -.. _Linux TV: https://git.linuxtv.org/libcamera.git/ +.. _git repository: https://git.libcamera.org/libcamera/libcamera.git/ Dependencies ~~~~~~~~~~~~ diff --git a/README.rst b/README.rst index 6eb25c70..a0cc4597 100644 --- a/README.rst +++ b/README.rst @@ -32,7 +32,7 @@ To fetch the sources, build and install: :: - git clone git://linuxtv.org/libcamera.git + git clone https://git.libcamera.org/libcamera/libcamera.git cd libcamera meson build ninja -C build install diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild index ca216c0a..65619e07 100644 --- a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild +++ b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild @@ -8,7 +8,7 @@ inherit git-r3 meson python-any-r1 DESCRIPTION="Camera support library for Linux" HOMEPAGE="http://libcamera.org" -EGIT_REPO_URI="git://linuxtv.org/libcamera.git" +EGIT_REPO_URI="https://git.libcamera.org/libcamera/libcamera.git" EGIT_BRANCH="master" LICENSE="LGPL-2.1+" -- cgit v1.2.1