rpms/gv/devel gv-3.5.8-buffer.patch, NONE, 1.1 gv-3.6.1-pkglibdir.patch, NONE, 1.1 gv.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Orion Poplawski (orion)
fedora-extras-commits at redhat.com
Fri Oct 21 19:16:41 UTC 2005
- Previous message (by thread): rpms/gv import.log,1.1,1.2
- Next message (by thread): rpms/openslp/FC-3 openslp-1.2.1-optflags.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 openslp.spec, 1.4, 1.5 slpd.init, 1.1, 1.2 sources, 1.3, 1.4 openslp-1.2.0-optflags.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: orion
Update of /cvs/extras/rpms/gv/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27087/devel
Modified Files:
.cvsignore sources
Added Files:
gv-3.5.8-buffer.patch gv-3.6.1-pkglibdir.patch gv.spec
Log Message:
auto-import gv-3.6.1-3 on branch devel from gv-3.6.1-3.src.rpm
gv-3.5.8-buffer.patch:
--- NEW FILE gv-3.5.8-buffer.patch ---
--- gv-3.5.8/src/file.c.foo 2002-09-24 17:01:07.000000000 -0400
+++ gv-3.5.8/src/file.c 2002-09-24 18:29:44.000000000 -0400
@@ -208,21 +208,13 @@
if (strlen(tmpExt)>11) tmpExt[11] = '\0'; /* allow .ps_page_nnn */
if (strlen(tmpName)+strlen(tmpExt)>23) tmpName[23-strlen(tmpExt)] = '\0';
}
- {
- struct stat s;
- int no_such_file;
- int i=1;
- do {
#ifdef VMS
sprintf(tempFilename,"%sgv_%lx_%x_%s_%s.tmp",tmpDirBuf,time(NULL),i,tmpName,tmpExt);
#else
- sprintf(tempFilename,"%sgv_%lx_%x_%s.%s.tmp",tmpDirBuf,time(NULL),i,tmpName,tmpExt);
+ sprintf(tempFilename,"%sgv_%s.%s.XXXXXX",tmpDirBuf,tmpName,tmpExt);
#endif
- file_translateTildeInPath(tempFilename);
- no_such_file = stat(tempFilename,&s);
- i++;
- } while (!no_such_file);
- }
+ file_translateTildeInPath(tempFilename);
+ close(mkstemp(tempFilename));
SMESSAGE(tempFilename)
tempFilenameP = GV_XtNewString(tempFilename);
ENDMESSAGE(file_getTmpFilename)
gv-3.6.1-pkglibdir.patch:
--- NEW FILE gv-3.6.1-pkglibdir.patch ---
--- gv-3.6.1/src/Makefile.in.orig 2005-10-17 11:30:57.000000000 -0600
+++ gv-3.6.1/src/Makefile.in 2005-10-17 11:31:10.000000000 -0600
@@ -27,7 +27,7 @@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
+pkglibdir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
--- NEW FILE gv.spec ---
Summary: A X front-end for the Ghostscript PostScript(TM) interpreter
Name: gv
Version: 3.6.1
Release: 3%{?dist}
License: GPL
Group: Applications/Publishing
Requires: ghostscript
URL: http://www.gnu.org/software/gv/
Source0: ftp://ftp.gnu.org/gnu/gv/gv-%{version}.tar.gz
Patch0: gv-3.5.8-buffer.patch
Patch1: gv-3.6.1-pkglibdir.patch
BuildRequires: Xaw3d-devel, /usr/bin/desktop-file-install
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/install-info, /usr/bin/update-mime-database
Requires(post): /usr/bin/update-desktop-database
Requires(preun): /sbin/install-info
Requires(postun): /usr/bin/update-mime-database
Requires(postun): /usr/bin/update-desktop-database
%description
Gv is a user interface for the Ghostscript PostScript(TM) interpreter.
Gv can display PostScript and PDF documents on an X Window System.
%prep
%setup -q
%patch0 -p1 -b .buffer
%patch1 -p1 -b .pkglibdir
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
#Still provide link
ln $RPM_BUILD_ROOT%{_bindir}/gv $RPM_BUILD_ROOT%{_bindir}/ghostview
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cat > gv.desktop <<EOF
[Desktop Entry]
Name=Ghostview PostScript/PDF Viewer
GenericName=PostScript/PDF Viewer
Comment="View PostScript and PDF files"
Type=Application
Icon=postscript-viewer.png
MimeType=application/postscript;application/pdf;
StartupWMClass=GV
Exec=gv
EOF
desktop-file-install --vendor=fedora \
--add-category=Applications\
--add-category=Graphics \
--add-category=X-Fedora \
--dir %{buildroot}%{_datadir}/applications/ \
gv.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info \
--entry '* gv: (gv). A X front-end for the Ghostscript PostScript(TM) interpreter' \
%{_infodir}/%{name}.info %{_infodir}/dir || :
/usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1 || :
/usr/bin/update-desktop-database /usr/share/applications > /dev/null 2>&1 || :
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi
%postun
if [ $1 = 0 ]; then
/usr/bin/update-mime-database /usr/share/mime > /dev/null 2>&1 || :
/usr/bin/update-desktop-database /usr/share/applications > /dev/null 2>&1 || :
fi
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/ghostview
%{_bindir}/gv
%{_datadir}/gv/
%{_datadir}/applications/fedora-gv.desktop
%{_datadir}/info/gv.info.gz
%{_mandir}/man1/gv.*
%changelog
* Thu Oct 20 2005 Orion Poplwaski <orion at cora.nwra.com> 3.6.1-3
- Fixup .desktop file, add Comment and StartupWMClass
* Thu Oct 20 2005 Orion Poplwaski <orion at cora.nwra.com> 3.6.1-2
- Trim install paragraph from Description
- Add MimeType to desktop and update mime and desktop databases
- Fix info file handling
* Mon Oct 17 2005 Orion Poplwaski <orion at cora.nwra.com> 3.6.1-1
- Updated to 3.6.1
- Fedora Extras version
* Sun Sep 19 2004 Dan Williams <dcbw at redhat.com> 3.5.8-29
- Fix .desktop file (#125849)
* Tue Jun 15 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt
* Fri May 14 2004 Dan Williams <dcbw at redhat.com> 3.5.8-27
- display empty page when input file has size 0 (#100538)
* Fri May 14 2004 Dan Williams <dcbw at redhat.com> 3.5.8-26
- fix argv array size (#80672)
* Tue May 4 2004 Bill Nottingham <notting at redhat.com> 3.5.8-25
- fix desktop file (#120190)
* Fri Feb 13 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt
* Wed Jun 04 2003 Elliot Lee <sopwith at redhat.com>
- rebuilt
* Wed Jan 22 2003 Tim Powers <timp at redhat.com>
- rebuilt
* Thu Dec 12 2002 Tim Powers <timp at redhat.com> 3.5.8-21
- rebuild on all arches
* Tue Nov 19 2002 Bill Nottingham <notting at redhat.com> 3.5.8-20
- rebuild
* Tue Sep 24 2002 Bill Nottingham <notting at redhat.com>
- fix handling of certain postscript/pdf headers
- use mkstemp
* Fri Jun 21 2002 Tim Powers <timp at redhat.com>
- automated rebuild
* Wed Jun 12 2002 Bill Nottingham <notting at redhat.com>
- remove anti-aliasing change; it causes problems
* Thu May 23 2002 Tim Powers <timp at redhat.com>
- automated rebuild
* Thu Feb 21 2002 Bill Nottingham <notting at redhat.com>
- rebuild
* Fri Jan 25 2002 Bill Nottingham <notting at redhat.com>
- fix anti-aliasing (#58686)
* Fri Jul 13 2001 Bill Nottingham <notting at redhat.com>
- fix some build issues (#48983, #48984)
* Thu Jul 13 2000 Prospector <bugzilla at redhat.com>
- automatic rebuild
* Fri Jun 9 2000 Bill Nottingham <notting at redhat.com>
- add filename quoting patch from debian
- rebuild in new build environment
* Mon May 8 2000 Bernhard Rosenkraenzer <bero at redhat.com>
- rebuild with new libXaw3d
* Mon Feb 07 2000 Preston Brown <pbrown at redhat.com>
- wmconfig -> desktop
* Thu Feb 3 2000 Bill Nottingham <notting at redhat.com>
- handle compressed man pages
* Sun Mar 21 1999 Cristian Gafton <gafton at redhat.com>
- auto rebuild in the new build environment (release 7)
* Mon Jan 23 1999 Michael Maher <mike at redhat.com>
- fixed bug #272, changed group
* Thu Dec 17 1998 Michael Maher <mike at redhat.com>
- built pacakge for 6.0
* Sat Aug 15 1998 Jeff Johnson <jbj at redhat.com>
- build root
* Fri May 08 1998 Prospector System <bugs at redhat.com>
- translations modified for de, fr, tr
* Fri Apr 10 1998 Cristian Gafton <gafton at redhat.com>
- Manhattan build
* Thu Nov 06 1997 Cristian Gafton <gafton at redhat.com>
- we are installin a symlink to ghostview
* Wed Oct 21 1997 Cristian Gafton <gafton at redhat.com>
- updated to 3.5.8
* Thu Jul 17 1997 Erik Troan <ewt at redhat.com>
- built against glibc
* Tue Apr 15 1997 Erik Troan <ewt at redhat.com>
- added ghostscript requirement, added errlist patch for glibc.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gv/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 21 Oct 2005 19:15:56 -0000 1.1
+++ .cvsignore 21 Oct 2005 19:16:38 -0000 1.2
@@ -0,0 +1 @@
+gv-3.6.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gv/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 21 Oct 2005 19:15:56 -0000 1.1
+++ sources 21 Oct 2005 19:16:38 -0000 1.2
@@ -0,0 +1 @@
+ace080d647b70f46fca7946e9543b79e gv-3.6.1.tar.gz
- Previous message (by thread): rpms/gv import.log,1.1,1.2
- Next message (by thread): rpms/openslp/FC-3 openslp-1.2.1-optflags.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 openslp.spec, 1.4, 1.5 slpd.init, 1.1, 1.2 sources, 1.3, 1.4 openslp-1.2.0-optflags.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list