public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grace] epel10.3: New upstream release (bugfixes)
@ 2026-10-17 16:20 
  0 siblings, 0 replies; 2+ messages in thread
From:  @ 2026-10-17 16:20 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/grace
            Branch : epel10.3
            Commit : 63e6633a95c12cb099c209c885cf872309ff7e78
            Author : José Matos <jamatos@fedoraproject.org>
            Date   : 2012-11-26T19:25:36+00:00
            Stats  : +6/-35 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/grace/c/63e6633a95c12cb099c209c885cf872309ff7e78?branch=epel10.3

            Log:
            New upstream release (bugfixes)

- Drop libpng15 (fixed in this release)
- Use debian patches where it makes sense

---
diff --git a/grace-gracerc-no_auxiliary.diff b/grace-gracerc-no_auxiliary.diff
deleted file mode 100644
index cfa4ea9..0000000
--- a/grace-gracerc-no_auxiliary.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- gracerc.old	2005-09-03 20:18:51.000000000 +0200
-+++ gracerc	2005-09-03 20:19:04.000000000 +0200
-@@ -7,7 +7,7 @@
- DEFINE IFILTER "bin/grconvert %s -" MAGIC "00000031" 
- #
- # This one is for automatic import of Origin-4 fit description files
--DEFINE IFILTER "auxiliary/fdf2fit %s -" PATTERN "*.fdf"
-+DEFINE IFILTER "bin/fdf2fit %s -" PATTERN "*.fdf"
- #
- # Save disk space by keeping files gzip'ed
- DEFINE IFILTER "gzip -dc %s" PATTERN "*.gz"

diff --git a/grace-zlib-libpng.patch b/grace-zlib-libpng.patch
deleted file mode 100644
index 33862b5..0000000
--- a/grace-zlib-libpng.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Naur grace-5.1.22.orig/src/rstdrv.c grace-5.1.22/src/rstdrv.c
---- grace-5.1.22.orig/src/rstdrv.c	2004-07-03 16:47:46.000000000 -0400
-+++ grace-5.1.22/src/rstdrv.c	2012-07-26 17:17:53.081271670 -0400
-@@ -54,6 +54,7 @@
- 
- #ifdef HAVE_LIBPNG
- #  include <png.h>
-+#  include <zlib.h>
- #endif
- 
- #ifndef NONE_GUI
-@@ -885,7 +886,7 @@
-         return;
-     }
- 
--    if (setjmp(png_ptr->jmpbuf)) {
-+    if (setjmp(png_jmpbuf(png_ptr))) {
-         png_destroy_write_struct(&png_ptr, &info_ptr);
-         return;
-     }

diff --git a/grace.spec b/grace.spec
index cd0dad5..eee9745 100644
--- a/grace.spec
+++ b/grace.spec
@@ -14,8 +14,10 @@ Source1:        %{name}.desktop
 Source2:        %{name}.png
 Source3:        cephes-license.email
 Source4:        LICENSE.cephes
-Patch0:		http://ftp.de.debian.org/debian/pool/main/g/grace/grace_5.1.23-1.debian.tar.gz
-Patch1:         %{name}-detect-netcdf.diff
+Source5:        http://ftp.de.debian.org/debian/pool/main/g/grace/grace_5.1.23-1.debian.tar.gz
+
+Patch0:         %{name}-detect-netcdf.diff
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Group:          Applications/Engineering
 
@@ -54,10 +56,10 @@ Install these files if you need to compile software that requires grace.
 
 %prep
 %setup -q
-%patch1
+%setup -D -a 5
 
+%patch0
 # avoid duplicating debian patch
-%patch0 -p1
 patch -p1 < debian/patches/binary_nostrip.diff
 patch -p1 < debian/patches/gracerc.diff
 patch -p1 < debian/patches/source-hardening.diff

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [rpms/grace] epel10.3: New upstream release (bugfixes)
@ 2026-10-17 16:20 
  0 siblings, 0 replies; 2+ messages in thread
From:  @ 2026-10-17 16:20 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/grace
            Branch : epel10.3
            Commit : d1887a826d833b12a590b4e65f9ecc26122ddc55
            Author : José Matos <jamatos@fedoraproject.org>
            Date   : 2012-11-26T16:11:21+00:00
            Stats  : +22/-23 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/grace/c/d1887a826d833b12a590b4e65f9ecc26122ddc55?branch=epel10.3

            Log:
            New upstream release (bugfixes)

- Drop libpng15 (fixed in this release)
- Use debian patches where it makes sense

---
diff --git a/.gitignore b/.gitignore
index d8e0c7a..e194673 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
 grace-5.1.22.tar.gz
 grace_5.1.22-1.diff.gz
+/grace-5.1.23.tar.gz
+/grace_5.1.23-1.debian.tar.gz

diff --git a/grace.spec b/grace.spec
index 0d779c2..cd0dad5 100644
--- a/grace.spec
+++ b/grace.spec
@@ -1,9 +1,9 @@
-# relative do datadir
+# relative to datadir
 %define type1fontdir fonts/default/Type1
 
 Name:           grace
-Version:        5.1.22
-Release:        14%{?dist}
+Version:        5.1.23
+Release:        1%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 
 License:        GPLv2+
@@ -14,10 +14,8 @@ Source1:        %{name}.desktop
 Source2:        %{name}.png
 Source3:        cephes-license.email
 Source4:        LICENSE.cephes
-Patch0:         %{name}-gracerc-no_auxiliary.diff
+Patch0:		http://ftp.de.debian.org/debian/pool/main/g/grace/grace_5.1.23-1.debian.tar.gz
 Patch1:         %{name}-detect-netcdf.diff
-Patch2:         http://ftp.de.debian.org/debian/pool/main/g/grace/grace_5.1.22-1.diff.gz
-Patch3:         grace-zlib-libpng.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Group:          Applications/Engineering
 
@@ -25,19 +23,14 @@ BuildRequires:  libjpeg-devel, libpng-devel, netcdf-devel
 BuildRequires:  zlib-devel, fftw2-devel, t1lib-devel
 BuildRequires:  xbae-devel, gcc-gfortran, libXmu-devel
 BuildRequires:  desktop-file-utils
+BuildRequires:  libXpm-devel
 # to be able to generate FontDataBase
 BuildRequires:  urw-fonts
 
-#%if "%{fedora}" < "5"
-#BuildRequires: xorg-x11-devel
-#%else
-BuildRequires: libXpm-devel
-#%endif
-
-Requires:      nedit
-Requires:      xdg-utils
+Requires:       nedit
+Requires:       xdg-utils
 # /usr/share/fonts/default/Type1/
-Requires:      urw-fonts
+Requires:       urw-fonts
 
 %description
 Grace is a Motif application for two-dimensional data visualization.
@@ -61,17 +54,16 @@ Install these files if you need to compile software that requires grace.
 
 %prep
 %setup -q
-%patch0
 %patch1
 
 # avoid duplicating debian patch
-%patch2 -p1
+%patch0 -p1
+patch -p1 < debian/patches/binary_nostrip.diff
+patch -p1 < debian/patches/gracerc.diff
+patch -p1 < debian/patches/source-hardening.diff
 patch -p1 < debian/patches/tmpnam_to_mkstemp.diff
 
-%patch3 -p1 -b .zlib-libpng
-
-# remove stripping option to have meaningfull debuginfo packages
-sed -i -e 's/^\(.*INSTALL_PROGRAM.*\) -s /\1 /' */Makefile
+# remove bundled libraries
 rm -rf Xbae T1lib
 
 %build
@@ -230,6 +222,11 @@ fi
 
 
 %changelog
+* Mon Nov 26 2012 José Matos <jamatos@fedoraproject.org> - 5.1.23-1
+- New upstream release (bugfixes)
+- Drop libpng15 (fixed in this release)
+- Use debian patches where it makes sense
+
 * Wed Aug 01 2012 Jon Ciesla <limburgher@gmail.com> - 5.1.22-14
 - Tom Lane's zlib, libpng15 fixes, BZ 843647.
 

diff --git a/sources b/sources
index 219f6ac..817885a 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-672356466f18fe59ed21a8fb44f9851d  grace-5.1.22.tar.gz
-d487c80094180c187a41b196eb45827d  grace_5.1.22-1.diff.gz
+e2b28ebe31288952d899fbb5c97858ae  grace-5.1.23.tar.gz
+2ba90ad15966a85025609d0b70f06d83  grace_5.1.23-1.debian.tar.gz

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-17 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17 16:20 [rpms/grace] epel10.3: New upstream release (bugfixes) 
  -- strict thread matches above, loose matches on Subject: below --
2026-10-17 16:20 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox