On Qui, 2015-07-09 at 08:36 +0100, Jonathan Underwood wrote:
> Hi Sergio,
>
> On 9 July 2015 at 01:07, Sérgio Basto <[email protected]> wrote:
> > On Qua, 2015-07-08 at 21:55 +0000, [email protected] wrote:
> >> nightfall mmahut, astronomy-sig 60 weeks
> >> ago
> >
> > version available on Fedora : nightfall-1.62-15.fc20
> > version available upstream : nightfall-1.86.tar.gz
> >
> > No wonder does not compile, but the package aren't orphan , so I can
> > take ownership neither fix it . How I take care of it ?
> >
>
> Are you already a Fedora contributor? If so, you can apply to be a
> co-maintainer of the package in the pkgdb[1].
I am , anyway patch in attach , this app is based on gtk2 , I wonder if
someone knows any group that do migrations of gtk2 to gtk3 , I see many
good packages that will disappear if not. Also autoreconf doesn't work
autoheader fails .
I don't have any particular interest in nightfall , but if it is just
update source from upstream , why not updated ? have we any
replacement ?
>
> > Thanks,
> > --
> > Sérgio M. B.
> >
> > --
> > devel mailing list
> > [email protected]
> > https://admin.fedoraproject.org/mailman/listinfo/devel
> > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
--
Sérgio M. B.
diff --git a/nightfall-desktop.patch b/nightfall-desktop.patch
new file mode 100644
index 0000000..da7d0b0
--- /dev/null
+++ b/nightfall-desktop.patch
@@ -0,0 +1,14 @@
+--- nightfall-1.86/nightfall.desktop.orig 2015-07-11 13:55:12.120286834 +0100
++++ nightfall-1.86/nightfall.desktop 2015-07-11 18:35:56.994530888 +0100
+@@ -2,8 +2,9 @@
+ Name=Nightfall
+ Name[de]=Nightfall
+ Comment=Eclipsing Binary Star Program
+-Comment[de]=Programm für Bedeckungsveränderliche Sterne
++Comment[de]=Programm fÌr BedeckungsverÀnderliche Sterne
+ Exec=nightfall -U 0.8 85 0.6 1.0 5500 5300
+-Icon=gnome-nightfall.png
++Icon=gnome-nightfall
+ Terminal=0
+ Type=Application
++Categories=Education;Science;Astronomy;
diff --git a/nightfall.desktop b/nightfall.desktop
deleted file mode 100644
index 78b9f24..0000000
--- a/nightfall.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Nightfall
-Comment=Nightfall is an astronomy application for emulation of eclipsing stars
-Exec=/usr/bin/nightfall -U
-Icon=/usr/share/nightfall/pixmaps/gnome-nightfall.png
-Terminal=false
-Type=Application
-Categories=Education;Science;Astronomy;
diff --git a/nightfall.spec b/nightfall.spec
index d15f568..b3b2eb9 100644
--- a/nightfall.spec
+++ b/nightfall.spec
@@ -1,18 +1,18 @@
Name: nightfall
-Version: 1.62
-Release: 18%{?dist}
+Version: 1.86
+Release: 1%{?dist}
Summary: Nightfall is an astronomy application for emulation of eclipsing stars
License: GPLv2+
Group: Applications/Engineering
URL: http://www.hs.uni-hamburg.de/DE/Ins/Per/Wichmann/Nightfall.html
Source0: http://www.la-samhna.de/%{name}/%{name}-%{version}.tar.gz
-Source1: nightfall.desktop
Patch0: nightfall-1.62-fixmakefile.patch
Patch1: nightfall-1.62-optflags.patch
+Patch2: nightfall-desktop.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel, desktop-file-utils
+BuildRequires: libjpeg-devel gtkglarea2-devel freeglut-devel
Requires: gnuplot
%description
@@ -26,30 +26,33 @@ It is, however, not able to fry your breakfast egg on your harddisk.
%prep
%setup -q
%patch0 -p2 -b .makefile
-%patch1 -p1 -b .optflags
+#patch1 -p1 -b .optflags
+%patch2 -p1 -b .desktop
%build
-%configure --with-gnuplot --enable-gnome
+%configure --with-gnuplot --enable-gnome --enable-debug
make %{_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install
%find_lang %{name}
-desktop-file-install --dir ${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1}
+desktop-file-install --dir ${RPM_BUILD_ROOT}%{_datadir}/applications nightfall.desktop
%clean
rm -rf ${RPM_BUILD_ROOT}
%files -f %{name}.lang
-%defattr(-,root,root)
-%doc UserManual.pdf UserManual.html README COPYING AUTHORS ChangeLog
-%attr(755,root,root) %{_bindir}/nightfall
-%attr(644,root,root) %{_mandir}/man1/nightfall.*
+%doc UserManual.pdf UserManual.html README AUTHORS ChangeLog
+%license COPYING
+%{_bindir}/nightfall
+%{_mandir}/man1/nightfall.*
%{_datadir}/nightfall/
%{_datadir}/applications/*nightfall.desktop
%changelog
+* Sat Jul 11 2015 Sérgio Basto <[email protected]> - 1.86-1
+- Update to 1.86, enable openGL, improve nightfall.desktop
+
* Wed Jun 17 2015 Fedora Release Engineering <[email protected]> - 1.62-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
--
devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct