Gazebo Garden is end of life as of November 2024. I will continue to accept patches to fix build errors, but will focus my efforts on the releases supported by upstream developers.
Search Criteria
Package Details: gz-gui7 7.2.2-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/gz-gui7.git (read-only, click to copy) |
---|---|
Package Base: | gz-gui7 |
Description: | Graphical interfaces for robotics applications |
Upstream URL: | https://github.com/gazebosim/gz-gui |
Licenses: | Apache-2.0 |
Provides: | gz-gui |
Submitter: | oysstu |
Maintainer: | oysstu |
Last Packager: | oysstu |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2023-10-04 08:51 (UTC) |
Last Updated: | 2025-07-09 09:06 (UTC) |
Dependencies (14)
- gz-common (gz-common5AUR, gz-common6AUR)
- gz-math (gz-math7AUR, gz-math8AUR)
- gz-msgs (gz-msgs10AUR, gz-msgs11AUR, gz-msgs9AUR)
- gz-plugin (gz-plugin2AUR, gz-plugin3AUR)
- gz-rendering (gz-rendering7AUR, gz-rendering8AUR, gz-rendering9AUR)
- gz-transport (gz-transport12AUR, gz-transport13AUR, gz-transport14AUR)
- gz-utils (gz-utils2AUR, gz-utils3AUR)
- protobuf (protobuf-gitAUR)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- qt5-quickcontrols2 (qt5-quickcontrols2-gitAUR)
- tinyxml2 (tinyxml2-gitAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- doxygen (doxygen-gitAUR) (make)
- gz-cmake (gz-cmake3AUR, gz-cmake4AUR) (make)
Required by (9)
- gz-garden (requires gz-gui)
- gz-harmonic (requires gz-gui)
- gz-ionic (requires gz-gui)
- gz-launch6 (requires gz-gui)
- gz-launch7 (requires gz-gui)
- gz-launch8 (requires gz-gui)
- gz-sim7 (requires gz-gui)
- gz-sim8 (requires gz-gui)
- gz-sim9 (requires gz-gui)
Sources (2)
Latest Comments
oysstu commented on 2025-07-10 11:20 (UTC)
saitewasreset commented on 2025-07-07 11:47 (UTC)
When building with newer versions of protobuf, you may encounter errors like:
error: cannot convert ‘absl::lts_2
0250512::string_view’ {aka ‘std::basic_string_view<char>’} to ‘const std::string&’ {aka ‘const std::__cxx11::basic_string<char>&’}
255 | this->AddField(msgItem, msgField->name(), messageType->name());
| ~~~~~~~~~~~~~~^~
| |
| absl::lts_20250512::string_view {aka std::basic_string_view<char>}
This occurs due to: The return type change of certain protobuf methods from std::string
to absl::string_view
/std::string_view
I've created a patch to resolve the build issues.
Additionally, gz-gui7.tag.xml
and libGrid3D.so
contain reference to $srcdir
.
To apply the patch(download manually first) and remove the reference to $srcdir
:
--- PKGBUILD.orig 2025-07-07 19:43:33.266151702 +0800
+++ PKGBUILD.new 2025-07-07 19:39:48.024016547 +0800
@@ -28,8 +28,20 @@
'gz-cmake=3'
)
provides=("${_pkgbase}=${_pkgmaj}")
-source=("https://github.com/gazebosim/${_pkgbase}/archive/${pkgname}_${pkgver}.tar.gz")
-sha256sums=('26b5c502977cf87f13e86bc504a72b1a8d810d4100c2878c76f7a0994ea26617')
+source=(
+ "https://github.com/gazebosim/${_pkgbase}/archive/${pkgname}_${pkgver}.tar.gz"
+ "fix_protobuf_build.patch"
+)
+sha256sums=(
+ '26b5c502977cf87f13e86bc504a72b1a8d810d4100c2878c76f7a0994ea26617'
+ '89fb889259e78136dfa83a894937361c5bb0b28722c8251594c61f59fd40aa2a'
+)
+
+prepare() {
+ cd "${srcdir}/${_pkgbase}-${pkgname}_${pkgver}"
+
+ patch -Np1 -i "../fix_protobuf_build.patch"
+}
build() {
cmake -B build -S "${_pkgbase}-${pkgname}_${pkgver}" \
@@ -42,4 +54,10 @@
package() {
DESTDIR="$pkgdir" cmake --install build
+
+ sed -i "s|$srcdir/${_pkgbase}-${pkgname}_${pkgver}/|/usr/|g" "${pkgdir}/usr/share/gz/gz-gui7/gz-gui7.tag.xml"
+
+ patchelf --remove-rpath "${pkgdir}/usr/lib/gz-gui-7/plugins/libGrid3D.so"
+
+ patchelf --set-rpath "/usr/lib" "${pkgdir}/usr/lib/gz-gui-7/plugins/libGrid3D.so"
}
Pinned Comments
oysstu commented on 2025-07-10 11:20 (UTC)
Gazebo Garden is end of life as of November 2024. I will continue to accept patches to fix build errors, but will focus my efforts on the releases supported by upstream developers.
https://gazebosim.org/docs/latest/releases/