1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
Commit graph

991 commits

Author SHA1 Message Date
Mitchell Pleune
eee89d79e9 rolling overlay mcap vendor url v1.4.0 2024-09-24 19:46:28 -04:00
Michal Sojka
dde852afc9 Add script and Github workflow to automate colcon updates 2024-09-19 19:37:08 -04:00
Michal Sojka
44ad5c0a4a Switch colcon-cargo and colcon-ros-cargo from github to pypi
The projects started to make releases there so make the Nix
expressions consistent with other colcon-* packages.
2024-09-19 19:37:08 -04:00
Michal Sojka
3ed0f25726 Reduce the number of systems offered by the flake
This gets rid of evaluation error for armv7a-darwin. It makes no sense
to support this platform in this overlay. According to the discussion
around around
https://github.com/NixOS/nixpkgs/pull/324155#issuecomment-2362297603,
it is better to support just the systems exposed by the nixpkgs flake.

Currently, these are:
- aarch64-darwin
- aarch64-linux
- armv6l-linux
- armv7l-linux
- i686-linux
- powerpc64le-linux
- riscv64-linux
- x86_64-darwin
- x86_64-freebsd
- 86_64-linux
2024-09-19 19:24:28 -04:00
Ben Wolsieffer
2a9b7c4237 openni2: replace sed with substituteInPlace 2024-09-19 19:13:05 -04:00
Michal Sojka
3288b71c64 openni2: Fix remaining compile errors
In file included from ../../../ThirdParty/GL/glh/glh_obs.h:62:
../../../ThirdParty/GL/glh/glh_linear.h:371:11: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  371 |           register real u;
      |           ^~~~~~~~
2024-09-19 19:07:35 -04:00
Michal Sojka
e9fc4018ea openni2: Use libjpeg from nixpkgs
The vendored version of libjpeg fails to build with errors like this:

../../ThirdParty/LibJPEG/jccolor.c:135:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  135 |   register int r, g, b;
      |   ^~~~~~~~
2024-09-19 19:07:35 -04:00
Michal Sojka
1449b831a7 openni2: Update repo owner
The commit referenced in rev is not in the original OpenNI repo, but
in the structureio fork.
2024-09-19 19:07:35 -04:00
Ben Wolsieffer
f845184df7 rosinstall-generator: make distutils required
It is included in the pinned nixpkgs version now.
2024-09-18 21:54:44 -04:00
Ben Wolsieffer
b6676bf7dc flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a?narHash=sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ%3D' (2024-03-11)
  → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a?narHash=sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ%3D' (2024-09-17)
• Updated input 'nixpkgs':
    'github:lopsided98/nixpkgs/9f4128e00b0ae8ec65918efeba59db998750ead6?narHash=sha256-rwz8NJZV%2B387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ%3D' (2024-07-03)
  → 'github:lopsided98/nixpkgs/345c263f2f53a3710abe117f28a5cb86d0ba4059?narHash=sha256-sjiGsMh%2B1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I%3D' (2024-09-13)
2024-09-18 19:52:42 -04:00
Ben Wolsieffer
7f44b828b4 noetic: sophus: remove -Werror 2024-09-18 19:48:40 -04:00
Jeremy Kolb
8224ba4a98 rospkg: 1.5.1 2024-09-17 18:46:23 -04:00
Jeremy Kolb
73795cc55c rosdistro: 0.9.1 2024-09-17 18:46:12 -04:00
Jeremy Kolb
3ccb660a14 rosdep: 0.25.1 2024-09-17 18:45:59 -04:00
Jeremy Kolb
b25779b448 catkin_pkg: 1.0.0 2024-09-17 18:45:49 -04:00
Jeremy Kolb
008ae5e64d catkin-tools: 0.9.4 2024-09-17 18:45:34 -04:00
Jeremy Kolb
1fcbc069cb rosidl-generator-rs 0.4.1 2024-09-17 18:45:25 -04:00
Jeremy Kolb
90a80fe3dc cargo-ament-build: v0.1.8 2024-09-17 18:44:41 -04:00
Thies Oelerich
dabd41fd0d Added fixup phase flag 2024-09-14 21:31:54 -04:00
Mitchell Pleune
e309da560b python-qt-binding: support both
In e78372fd63,
the sip_configure.py cmake helper script in python-qt-binding was
updated to live-patch the QtCoremod.sip file in a temp directory. Which
is the same change that is applied from the aur here. The live patch
thing breaks the build as it is writing to a file outside of the nix
build area. Remove that write and apply the patch from the AUR.

Also moved the ros1 rviz pyqt patch into the regular python-qt-binding
overlay to allow any downstream packages to have functional pyqt if that
is what ends up being used.
2024-09-14 18:25:05 -04:00
Superflore
dc78c560eb regenerate all distros, Fri Sep 13 14:15:34 2024 2024-09-14 18:07:00 -04:00
Mitchell Pleune
9bc338678f ament-cmake-vendor-package: don't 'fix' cmake files 2024-09-14 18:06:42 -04:00
Steve Walker
a6f38acca1 update foonathan-memory to fix memory allocation error
fixes [foonathan::memory] Allocator foonathan::memory::memory_pool error,
mentioned in https://github.com/lopsided98/nix-ros-overlay/issues/419#iss
uecomment-2196472985, see https://github.com/RoboStack/ros-humble/issues/
32#issuecomment-2227591674
2024-09-14 18:05:56 -04:00
hacker1024
0ddfc2f75b python3Packages.rosinstall-generator: Add distutils to nativeBuildInputs 2024-09-14 18:04:56 -04:00
Joshua Leivenzon
866292e705 Allow changing the Python version in ROS distros
on-behalf-of: @Abi-Andromeda <abi@dromeda.com.au>
2024-09-14 18:04:13 -04:00
Viktor Pocedulic
74a15df3f9 colcon-mixin: init at 0.2.3 2024-09-06 19:51:43 -04:00
Achmad Fathoni
9133804172 Update colcon 2024-09-04 18:24:35 -04:00
Jeremy Kolb
5f7cb4199b Fix rviz-map-plugin 2024-08-30 19:49:48 -04:00
Jeremy Kolb
6829a251ab noetic: fix hdf5-map-io build 2024-08-30 19:49:48 -04:00
Jeremy Kolb
e988a6925f Get lvr2 to compile 2024-08-30 19:49:48 -04:00
Michal Sojka
db05cec6d7 Patch rosx-introspection to not download anything from the Internet
This is needed at least for Humble and Iron. Jazzy version cannot be
build due to build failures in its dependencies.

Without this change the build fails with:

    -- The CXX compiler identification is GNU 13.3.0
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /nix/store/mpm3i0sbqc9svfch6a17179fs64dz2kv-gcc-wrapper-13.3.0/bin/g++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    CMake Error at cmake/CPM.cmake:19 (file):
      file DOWNLOAD cannot compute hash on failed download

        status: [6;"Couldn't resolve host name"]
    Call Stack (most recent call first):
      CMakeLists.txt:8 (include)
2024-08-30 11:43:46 -04:00
Superflore
80d4ae9bb3 regenerate all distros, Fri Aug 30 13:28:23 2024 2024-08-30 11:43:05 -04:00
Superflore
1992646cf6 regenerate all distros, Fri Aug 16 13:54:37 2024 2024-08-19 21:25:29 -04:00
Max Beutelspacher
6753eee596 Fix rosidl-generator-py patching.
The patch is no longer needed on jazzy.

equivalent to 252ad9fcb2
2024-08-19 21:24:56 -04:00
Michal Sojka
0c20c50260 shared-queues-vendor: Update patching of vendor URL for Jazzy
The version in jazzy uses a different version, so we copy the original
expression to {humble,iron}/overrides.nix and add an updated one to
jazzy/overrides.nix.
2024-08-19 21:20:23 -04:00
Michal Sojka
c1c526aea9 Remove libstatistics-collector patch
It doesn't apply and is not needed anymore.
2024-08-13 18:49:35 -04:00
Superflore
69219f8f35 regenerate all distros, Fri Aug 2 13:27:09 2024 2024-08-07 08:01:20 -04:00
Jeremy Kolb
461db9a822 Do not use import for the default module
see: https://fzakaria.com/2024/07/29/import-but-don-t-import-your-nixos-modules.html
see: https://github.com/nix-community/nixd/issues/556
2024-08-07 08:01:10 -04:00
Superflore
400bfc88fb regenerate all distros, Fri Jul 26 13:34:25 2024 2024-08-01 20:55:20 -04:00
Ben Wolsieffer
a76cac0463 jsk-recognition-msgs: cleanup patching
* Move to ros1-overlay.nix
* Link to upstream PRs
* Use --replace-fail
2024-07-25 20:36:34 -04:00
Jeremy Kolb
a55d6a903b Remove catkin_python_setup
Gets around:

> error: Multiple top-level packages discovered in a flat-layout: ['srv', 'msg', 'sample', 'action'].
       >
       > To avoid accidental inclusion of unwanted files or directories,
       > setuptools will not proceed with this build.
       >
       > If you are trying to create a single distribution with multiple packages
       > on purpose, you should not rely on automatic discovery.
       > Instead, consider the following options:
       >
       > 1. set up custom discovery (`find` directive with `include` or `exclude`)
       > 2. use a `src-layout`
       > 3. explicitly set `py_modules` or `packages` with a list of names
       >
       > To find more information, look for "package discovery" on setuptools docs.
       > CMake Error at catkin_generated/safe_execute_install.cmake:4 (message):
       >
       >   execute_process(/build/jsk_recognition-release-release-noetic-jsk_recognition_msgs-1.2.17-2/build/catkin_generated/python_distutils_install.sh)
       >   returned error code
       > Call Stack (most recent call first):
       >   cmake_install.cmake:46 (include)
       >
       >
       > make: *** [Makefile💯 install] Error 1
2024-07-25 20:29:13 -04:00
Jeremy Kolb
0c2d6cfa80 jsk-recognition-msgs: Add dependency on ros-environment
The package looks at the ROS_VERSION variable and fails to find it without this.
2024-07-25 20:29:13 -04:00
Ben Wolsieffer
71487c89a9 librealsense2: cleanup patching
There is no need for the version conditional, as every distro uses the
same version (or newer in the future).
2024-07-25 20:16:34 -04:00
Akshay Srinivasan
1f4b95fc0e - fix librealsense2 build (squash commits) 2024-07-25 19:57:45 -04:00
Ben Wolsieffer
f92010d437 noetic.novatel-oem7-driver: fix patching 2024-07-24 19:51:55 -04:00
Ben Wolsieffer
1fb292a50c Use master branch in example flake.
The default develop branch contains code that is still being
tested/fixed, so users are likely to run into problems if they use it.
2024-07-24 19:46:37 -04:00
Bernd Müller
b43a24a856 [fix] humble: yaml-cpp-vendor 2024-07-24 19:00:34 -04:00
Ben Wolsieffer
252ad9fcb2 Fix rosidl-generator-py patching.
The patch is no longer needed on rolling.
2024-07-24 18:56:01 -04:00
Ben Wolsieffer
80b46d5263 patchExternalProjectGit: fail if URL or rev doesn't match
This catches when packages update their vendored version but we haven't
updated on our end. Try to fix all usages of patchExternalProjectGit so
they are correct now.
2024-07-23 22:22:37 -04:00
Ben Wolsieffer
c7e6f7c7dd Revert "distro-overlay: use pythonPackagesExtensions"
This reverts commit 2632a16e77.
2024-07-21 19:50:15 -04:00