public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gerbv] rawhide: update to 2.13.0
@ 2026-06-06 4:29 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-06 4:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gerbv
Branch : rawhide
Commit : 9631304ef57f038ea4fd6c98db532692ea2d164e
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-06-06T01:29:16-03:00
Stats : +56/-53 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/gerbv/c/9631304ef57f038ea4fd6c98db532692ea2d164e?branch=rawhide
Log:
update to 2.13.0
---
diff --git a/.gitignore b/.gitignore
index 432fc00..1129e5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1 @@
-gerbv-2.4.0.tar.gz
-/gerbv-2.5.0.tar.gz
-/gerbv-2.6.0.tar.gz
-/gerbv-2.6.2.tar.gz
-/gerbv-2.7.0.tar.gz
-/v2.8.2.tar.gz
-/v2.9.2.tar.gz
-/gerbv-2.9.5.tar.gz
-/gerbv-2.9.8.tar.gz
-/gerbv-2.10.0.tar.gz
+/gerbv-*.tar.gz
diff --git a/.packit.yaml b/.packit.yaml
new file mode 100644
index 0000000..44ad89a
--- /dev/null
+++ b/.packit.yaml
@@ -0,0 +1,19 @@
+# See the documentation for more information:
+# https://packit.dev/docs/configuration/
+
+specfile_path: gerbv.spec
+
+copy_upstream_release_description: false
+
+jobs:
+ - job: pull_from_upstream
+ trigger: release
+ dist_git_branches:
+ - fedora-rawhide
+
+ - job: koji_build
+ trigger: commit
+ allowed_committers: ['packit','all_admins']
+ dist_git_branches:
+ - fedora-rawhide
+
diff --git a/gerbv-2.13.0-Fix-Fails-GCC15.patch b/gerbv-2.13.0-Fix-Fails-GCC15.patch
new file mode 100644
index 0000000..fdf283b
--- /dev/null
+++ b/gerbv-2.13.0-Fix-Fails-GCC15.patch
@@ -0,0 +1,23 @@
+diff -upr gerbv-2.13.0.orig/src/main.c gerbv-2.13.0/src/main.c
+--- a/src/main.c
++++ b/src/main.c
+@@ -42,6 +42,10 @@
+ # include <string.h>
+ #endif
+
++#ifdef HAVE_STRINGS_H
++# include <strings.h>
++#endif
++
+ #ifdef HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif
+diff -upr gerbv-2.13.0.orig/src/lrealpath.c gerbv-2.13.0/src/lrealpath.c
+--- a/src/lrealpath.c
++++ b/src/lrealpath.c
+@@ -1,3 +1,5 @@
++#define _GNU_SOURCE
++
+ /* Libiberty realpath. Like realpath, but more consistent behavior.
+ Based on gdb_realpath from GDB.
+
diff --git a/gerbv.spec b/gerbv.spec
index 68fcfdc..eef4671 100644
--- a/gerbv.spec
+++ b/gerbv.spec
@@ -1,5 +1,5 @@
Name: gerbv
-Version: 2.10.0
+Version: 2.13.0
Release: %autorelease
Summary: Gerber file viewer from the gEDA toolkit
License: GPL-2.0-only
@@ -7,19 +7,19 @@ URL: https://github.com/gerbv/gerbv
Source: https://github.com/gerbv/gerbv/archive/refs/tags/%{name}-%{version}.tar.gz
# https://github.com/gerbv/gerbv/issues/255
-Patch0: gerbv-2.10.0-Fix-Fails-GCC15.patch
+Patch0: gerbv-2.13.0-Fix-Fails-GCC15.patch
# fix for https://bugzilla.redhat.com/show_bug.cgi?id=2331596
Requires: gdk-pixbuf2-modules-extra
-BuildRequires: automake
+BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: gettext-devel
BuildRequires: ImageMagick-devel
+BuildRequires: libdxfrw-devel
BuildRequires: libpng-devel
BuildRequires: libtool
-BuildRequires: make
BuildRequires: pkgconfig(gtk+-2.0)
%description
@@ -54,34 +54,15 @@ you will need to install %{name}-devel.
%prep
%autosetup -p1
-# use explicit version for compilation and not a git-derived one
-sed -i -e "s/m4_esyscmd(utils\/git-version-gen.sh [0-9.]*)/%{version}/" configure.ac
%build
-./autogen.sh
-# default measurement units set to millimeters
-%configure \
- --enable-unit-mm \
- --disable-update-desktop-database \
- --disable-static --disable-rpath \
- CFLAGS="%{build_cflags}" \
- LDFLAGS="%{build_ldflags}"
-# CFLAGS="${RPM_OPT_FLAGS}" \
-# LIBS="-ldl -lpthread"
-
-# Don't use rpath
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-
-# Clean unused-direct-shlib-dependencies. This should have been already removed in 2.5.0-2 ?
-#sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
-
-%make_build
+%cmake
+%cmake_build
%install
-%make_install
+%cmake_install
desktop-file-install --vendor "" \
--remove-category Education \
@@ -90,25 +71,14 @@ desktop-file-install --vendor "" \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%{__rm} -f %{buildroot}%{_libdir}/libgerbv.la
+%{__rm} -f %{buildroot}%{_libdir}/libgerbv.a
+%{__rm} -rf %{buildroot}%{_docdir}/%{name}
%{__rm} -f {doc,example}/Makefile*
-
-pushd example/
-for dir in * ; do
- [ -d $dir ] && %{__rm} -f $dir/Makefile*
-done
-popd
-
-pushd doc/
-for dir in * ; do
- [ -d $dir ] && %{__rm} -f $dir/Makefile*
-done
-popd
-
%find_lang %{name}
%files -f %{name}.lang
-%doc AUTHORS ChangeLog NEWS README.md CONTRIBUTORS HACKING
+%doc AUTHORS README.md CONTRIBUTORS HACKING
%license COPYING
%{_bindir}/%{name}
%{_datadir}/%{name}/
@@ -128,8 +98,8 @@ popd
%doc doc/PNG-print
%files devel
-%dir %{_includedir}/%{name}-%{version}
-%{_includedir}/%{name}-%{version}/%{name}.h
+%dir %{_includedir}/%{name}
+%{_includedir}/%{name}/%{name}.h
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/libgerbv.pc
diff --git a/sources b/sources
index a3e7c91..2e7e31b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gerbv-2.10.0.tar.gz) = da9cdfb0ba1ebd964ccd8e115307eff5722f2d04990e9409e7de8b1607326c3d2b563ba6de2d416af0567c362ac6bdcd22680838fb98090edf40c2f4ba59e62c
+SHA512 (gerbv-2.13.0.tar.gz) = b65432f4bfa3a15ccb558e49e789c63476ed8300f9a1c4d160dbe468d2eca912b4c7ba04aa5742282f84058b35ce8f927a9b303a481491f4aa2a62cf2d8faaa2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-06 4:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-06 4:29 [rpms/gerbv] rawhide: update to 2.13.0 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox