rpms/gnash/devel .cvsignore, 1.19, 1.20 gnash.spec, 1.80, 1.81 sources, 1.17, 1.18 gnash-0.8.3-manual.patch, 1.1, NONE gnash-0.8.6-python-install-dir.patch, 1.4, NONE

Kevin Kofler kkofler at fedoraproject.org
Sat Feb 27 14:20:48 UTC 2010


Author: kkofler

Update of /cvs/pkgs/rpms/gnash/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32550/devel

Modified Files:
	.cvsignore gnash.spec sources 
Removed Files:
	gnash-0.8.3-manual.patch gnash-0.8.6-python-install-dir.patch 
Log Message:
* Sat Feb 27 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:0.8.7-1
- update to 0.8.7
- reenable scrollkeeper, make it a conditional
- drop gnash-0.8.3-manual.patch, should no longer be needed
- drop gnash-0.8.6-python-install-dir.patch, fixed upstream


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gnash/devel/.cvsignore,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- .cvsignore	2 Jan 2010 04:33:13 -0000	1.19
+++ .cvsignore	27 Feb 2010 14:20:46 -0000	1.20
@@ -1,2 +1,3 @@
 gnash-0.8.6.tar.bz2
 gnash-splash.swf
+gnash-0.8.7.tar.bz2


Index: gnash.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnash/devel/gnash.spec,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -p -r1.80 -r1.81
--- gnash.spec	12 Feb 2010 00:38:44 -0000	1.80
+++ gnash.spec	27 Feb 2010 14:20:47 -0000	1.81
@@ -1,12 +1,12 @@
-%define commitid 11506
-%define alphatag 20090910bzr%{commitid}
-
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
+# enable/disable ghelp/omf/scrollkeeper support
+# note that this was broken in previous versions, let's hope this is fixed
+%global scrollkeeper 1
+
 Name:           gnash
-Version:        0.8.6
-Release:	13%{?dist}
-#Release:        0.8.%{alphatag}%{?dist}
+Version:        0.8.7
+Release:	1%{?dist}
 Epoch:		1
 Summary:        GNU flash movie player
 
@@ -14,23 +14,15 @@ Group:          Applications/Multimedia
 License:        GPLv3+
 URL:            http://www.gnu.org/software/gnash/
 Source0:        http://ftp.gnu.org/gnu/gnash/%{version}/%{name}-%{version}.tar.bz2
-#Source0:        %{name}-%{version}.%{alphatag}.tar.gz
 Source1:        http://www.getgnash.org/gnash-splash.swf
 Source2:        gnash.desktop
 
-Patch0:         gnash-0.8.3-manual.patch
-Patch1:         gnash-0.8.6-python-install-dir.patch
 # register KComponentData properly in KDE 4 KPart
-Patch3:         gnash-0.8.3-fix-kde4-port.patch
+Patch0:         gnash-0.8.3-fix-kde4-port.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libxml2-devel libpng-devel libjpeg-devel libogg-devel
 BuildRequires:  boost-devel curl-devel freetype-devel fontconfig-devel
-# the opengl devel packages are required by gtkglext-devel
-# monolithic Xorg
-#BuildRequires:  xorg-x11-devel
-# modular Xorg 
-#BuildRequires:  libGLU-devel libGL-devel
 BuildRequires:  SDL-devel 
 BuildRequires:  agg-devel 
 BuildRequires:  kde-filesystem
@@ -39,7 +31,9 @@ BuildRequires:  gtkglext-devel
 BuildRequires:  docbook2X
 BuildRequires:  %{_bindir}/docbook2pdf
 BuildRequires:  gstreamer-devel >= 0.10
+%if 0%{?scrollkeeper}
 BuildRequires:  scrollkeeper
+%endif
 BuildRequires:  giflib-devel
 BuildRequires:  gettext
 BuildRequires:  desktop-file-utils
@@ -48,8 +42,10 @@ BuildRequires:  gstreamer-plugins-base-d
 BuildRequires:  pygtk2-devel
 BuildRequires:  libtool-ltdl-devel
 
-#Requires(post): scrollkeeper
-#Requires(postun): scrollkeeper
+%if 0%{?scrollkeeper}
+Requires(post): scrollkeeper
+Requires(postun): scrollkeeper
+%endif
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 Requires(post): /sbin/install-info
@@ -113,9 +109,7 @@ application.
 
 %prep
 %setup -q
-%patch0 -p1 -b .manual
-%patch1 -p1 -b .python
-%patch3 -p1 -b .fix-kde4
+%patch0 -p1 -b .fix-kde4
 # Hack as autoreconf breaks build 
 sed -i -e 's!kapp.h!kapplication.h!g' configure
 sed -i -e 's!libkdeui.la!libkdeui.so!g' configure
@@ -130,16 +124,11 @@ sed -i -e 's/\$(LT_DLLOADERS)//g' libltd
 # delete bundled libltdl stuff to make sure it's not used
 rm -f libltdl/*.[ch] libltdl/*/*.[ch]
 
-#chmod a-x libgeometry/snappingrange.h backend/render*.h gui/gtk_glue_agg.{h,cpp} 
-
 iconv -f latin1 -t utf8 < AUTHORS > AUTHORS.utf8
 touch -r AUTHORS AUTHORS.utf8
 mv AUTHORS.utf8 AUTHORS
 
 %build
-# --enable-ghelp is disabled
-# We use /usr (_kde4_prefix) as the Qt prefix because the stuff it's looking for
-# is actually in /, not in the QT4DIR (_qt4_prefix).
 %configure --disable-static --with-npapi-plugindir=%{_libdir}/mozilla/plugins \
   --enable-docbook --enable-ghelp --enable-media=GST \
   --disable-dependency-tracking --disable-rpath \
@@ -168,30 +157,12 @@ make install install-plugins \
 rm $RPM_BUILD_ROOT%{_libdir}/gnash/*.la
 # KDE 4 doesn't need the .la file anymore, thankfully
 rm $RPM_BUILD_ROOT%{_kde4_libdir}/kde4/libklashpart.la
-#rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-# don't package libltdl related files!
-#rm \
-# $RPM_BUILD_ROOT%{_libdir}/gnash/libltdl*
-#rm \
-# $RPM_BUILD_ROOT%{_includedir}/ltdl.h
-# info isn't generated rightly
-#rm -rf \
-# $RPM_BUILD_ROOT%{_infodir}/
-# omf/scrollkeeper related files are broken, some files are missing, and
-# omf files are wrong
-#rm -rf \
-# $RPM_BUILD_ROOT%{_datadir}/omf
-
-# cp -p doc/C/actionscript.info $RPM_BUILD_ROOT%{_infodir}/
-#mkdir -p $RPM_BUILD_ROOT%{_infodir}/
-#cp doc/C/gnash_*.info $RPM_BUILD_ROOT%{_infodir}/
 
 rm -rf __dist_docs
 mkdir __dist_docs
 mv $RPM_BUILD_ROOT%{_datadir}/doc/gnash/* __dist_docs/
 rmdir $RPM_BUILD_ROOT%{_datadir}/doc/gnash
-#cp doc/C/gnash*.html __dist_docs/
 
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/gnash/
 
@@ -199,6 +170,7 @@ mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
 # a wrapper to avoid gnash erroring out if there is no argument.
 # Instead open gnash-splash.swf.
 # this should not be needed in the next version.
+# FIXME: Do we still need this with 0.8.7?
 cat > $RPM_BUILD_ROOT%{_libexecdir}/gnash-wrapper << EOF
 #! /bin/sh
 if [ "z\$1" = 'z' ]; then
@@ -218,8 +190,6 @@ desktop-file-install --vendor="fedora" \
 
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
 cp -p ./gui/images/GnashG.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
-#chmod a-x $RPM_BUILD_ROOT%{_datadir}/services/klash_part.desktop \
-# $RPM_BUILD_ROOT%{_datadir}/apps/klash/pluginsinfo
 
 %find_lang %{name}
 
@@ -229,11 +199,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %post 
 /sbin/ldconfig
-#scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
-# the info is empty, but doesn't hurt
-#/sbin/install-info --entry="* Gnash: (gnash). GNU Flash Player" %{_infodir}/%{name}.info %{_infodir}/dir || :
-#/sbin/install-info %{_infodir}/asspec.info %{_infodir}/dir || :
-#/sbin/install-info %{_infodir}/actionscript.info %{_infodir}/dir || :
+%if 0%{?scrollkeeper}
+scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
+%endif
 /sbin/install-info %{_infodir}/gnash_ref.info %{_infodir}/dir || :
 /sbin/install-info %{_infodir}/gnash_user.info %{_infodir}/dir || :
 
@@ -247,16 +215,15 @@ fi
 
 %preun
 if [ $1 = 0 ]; then
-    #/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
-    #/sbin/install-info --delete %{_infodir}/asspec.info %{_infodir}/dir || :
-    #/sbin/install-info --delete %{_infodir}/actionscript.info %{_infodir}/dir || :
     /sbin/install-info --delete %{_infodir}/gnash_ref.info %{_infodir}/dir || :
     /sbin/install-info --delete %{_infodir}/gnash_user.info %{_infodir}/dir || :
 fi
 
 %postun
 /sbin/ldconfig
-#scrollkeeper-update -q || :
+%if 0%{?scrollkeeper}
+scrollkeeper-update -q || :
+%endif
 
 update-desktop-database &> /dev/null || :
 
@@ -269,8 +236,6 @@ fi
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc README AUTHORS COPYING NEWS 
-#%doc doc/C/gnash.html doc/C/actionscript.html doc/C/asspec/asspec.html
-#%doc doc/C/images
 %doc __dist_docs/*
 %config(noreplace) %{_sysconfdir}/gnashpluginrc
 %config(noreplace) %{_sysconfdir}/gnashrc
@@ -296,7 +261,9 @@ fi
 %{_datadir}/icons/hicolor/32x32/apps/*.png
 %{_datadir}/applications/*.desktop
 %{_libexecdir}/gnash-wrapper
-#%{_datadir}/omf/gnash/
+%if 0%{?scrollkeeper}
+%{_datadir}/omf/gnash/
+%endif
 
 %files plugin
 %defattr(-,root,root,-)
@@ -328,6 +295,12 @@ fi
 %{python_sitearch}/gtk-2.0/*
 
 %changelog
+* Sat Feb 27 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:0.8.7-1
+- update to 0.8.7
+- reenable scrollkeeper, make it a conditional
+- drop gnash-0.8.3-manual.patch, should no longer be needed
+- drop gnash-0.8.6-python-install-dir.patch, fixed upstream
+
 * Fri Feb 12 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:0.8.6-13
 - delete bundled libltdl stuff to make sure it's not used
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gnash/devel/sources,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- sources	29 Dec 2009 10:18:14 -0000	1.17
+++ sources	27 Feb 2010 14:20:47 -0000	1.18
@@ -1,2 +1,3 @@
 913bcbffd37c9603b84486227c65dce7  gnash-0.8.6.tar.bz2
 3ba3f30fbcd9ac6458c7d50a33eb933e  gnash-splash.swf
+039533fec46e46b94ac6b04e33d58f3a  gnash-0.8.7.tar.bz2


--- gnash-0.8.3-manual.patch DELETED ---


--- gnash-0.8.6-python-install-dir.patch DELETED ---



More information about the scm-commits mailing list