Skip to content

Commit

Permalink
libcamera: Standardize URLs to git repositories
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Umang Jain <[email protected]>
Reviewed-by: Paul Elder <[email protected]>
  • Loading branch information
pinchartl committed Sep 24, 2021
1 parent 9b8f4c8 commit 40f5fdd
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .reuse/dep5
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libcamera
Upstream-Contact: Laurent Pinchart <[email protected]>
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
Expand Down
11 changes: 7 additions & 4 deletions Documentation/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------
Expand Down
10 changes: 5 additions & 5 deletions Documentation/guides/application-developer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package/gentoo/media-libs/libcamera/libcamera-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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+"
Expand Down

0 comments on commit 40f5fdd

Please sign in to comment.