forked from pool/imgvtopgm
This commit is contained in:
commit
573de4974e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
71
imgvtopgm-2.0-warnings-fix.diff
Normal file
71
imgvtopgm-2.0-warnings-fix.diff
Normal file
@ -0,0 +1,71 @@
|
||||
--- ipdb_c.c
|
||||
+++ ipdb_c.c
|
||||
@@ -28,6 +28,8 @@
|
||||
#include <mine/ipdb.h>
|
||||
#include <mine/ipdbP.h>
|
||||
|
||||
+#include <string.h>
|
||||
+
|
||||
static char *errors[] = {
|
||||
/* E_BADCOLORS */
|
||||
"Invalid palette, only {0x00, 0x55, 0xAA, 0xFF} allowed.",
|
||||
--- imgvinfo.c.xx 2005-06-23 10:02:44.000000000 +0200
|
||||
+++ imgvinfo.c 2005-06-23 10:02:51.000000000 +0200
|
||||
@@ -24,6 +24,7 @@
|
||||
MU_ID("$Mu: imgvtopgm/imgvinfo.c 1.21 1999/05/09 07:58:02 $")
|
||||
|
||||
#include <time.h>
|
||||
+#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <mine/ipdb.h>
|
||||
--- ipdb_r.c.xx 2005-06-23 10:02:57.000000000 +0200
|
||||
+++ ipdb_r.c 2005-06-23 10:03:05.000000000 +0200
|
||||
@@ -20,6 +20,7 @@
|
||||
*
|
||||
* Authors: Eric A. Howe (mu@trends.net)
|
||||
*/
|
||||
+#include <string.h>
|
||||
#include <mine/slop.h>
|
||||
MU_ID("$Mu: imgvtopgm/ipdb_r.c 1.13 1999/05/09 08:00:47 $")
|
||||
|
||||
--- imgvtopnm.c.xx 2005-06-23 10:03:12.000000000 +0200
|
||||
+++ imgvtopnm.c 2005-06-23 10:03:18.000000000 +0200
|
||||
@@ -24,6 +24,7 @@
|
||||
MU_ID("$Mu: imgvtopgm/imgvtopnm.c 1.6 1999/05/09 08:15:49 $")
|
||||
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
|
||||
#include <mine/ipdb.h>
|
||||
|
||||
--- pgmtoimgv.c.xx 2005-06-23 10:02:25.000000000 +0200
|
||||
+++ pgmtoimgv.c 2005-06-23 10:02:31.000000000 +0200
|
||||
@@ -24,6 +24,7 @@
|
||||
MU_ID("$Mu: imgvtopgm/pgmtoimgv.c 1.28 1999/05/09 08:27:51 $")
|
||||
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <mine/ipdb.h>
|
||||
--- ipdb_w.c.xx 2005-06-23 10:03:23.000000000 +0200
|
||||
+++ ipdb_w.c 2005-06-23 10:03:29.000000000 +0200
|
||||
@@ -20,6 +20,7 @@
|
||||
*
|
||||
* Authors: Eric A. Howe (mu@trends.net)
|
||||
*/
|
||||
+#include <string.h>
|
||||
#include <mine/slop.h>
|
||||
MU_ID("$Mu: imgvtopgm/ipdb_w.c 1.19 1999/05/09 08:01:47 $")
|
||||
|
||||
--- pbmtoimgv.c.xx 2005-06-23 10:03:39.000000000 +0200
|
||||
+++ pbmtoimgv.c 2005-06-23 10:03:45.000000000 +0200
|
||||
@@ -24,6 +24,7 @@
|
||||
MU_ID("$Mu: imgvtopgm/pbmtoimgv.c 1.12 1998/12/16 18:25:11 $")
|
||||
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <mine/ipdb.h>
|
3
imgvtopgm-2.0.tar.bz2
Normal file
3
imgvtopgm-2.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a47474530e19e73ee014e9a140515f63fa8d9ef2b21b366ef6fa0ced186e1cb
|
||||
size 248539
|
50
imgvtopgm.changes
Normal file
50
imgvtopgm.changes
Normal file
@ -0,0 +1,50 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 24 21:35:12 CEST 2006 - schwab@suse.de
|
||||
|
||||
- Don't strip binaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:36:36 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 2 01:08:08 CEST 2005 - ro@suse.de
|
||||
|
||||
- add -lm to help configure with netpbm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 23 10:05:05 CEST 2005 - meissner@suse.de
|
||||
|
||||
- use RPM_OPT_FLAGS, fixed all implicit warnings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 26 12:02:52 CEST 2004 - postadal@suse.cz
|
||||
|
||||
- fixed gcc warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 11 11:01:50 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %defattr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
|
||||
|
||||
- removed bogus self-provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 13 11:36:27 CEST 2001 - tcrhak@suse.cz
|
||||
|
||||
- removed aclocal, autoconf and automake
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 30 19:36:56 CEST 2001 - adostal@suse.cz
|
||||
|
||||
- change gz to bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 13 11:34:34 CET 2001 - pblaha@suse.cz
|
||||
|
||||
- create this package for view images on Palm
|
||||
|
88
imgvtopgm.spec
Normal file
88
imgvtopgm.spec
Normal file
@ -0,0 +1,88 @@
|
||||
#
|
||||
# spec file for package imgvtopgm (Version 2.0)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: imgvtopgm
|
||||
BuildRequires: netpbm
|
||||
License: GPL
|
||||
Group: Productivity/Graphics/Convertors
|
||||
Requires: netpbm
|
||||
Autoreqprov: on
|
||||
Version: 2.0
|
||||
Release: 533
|
||||
Summary: Palm Pilot Image Viewer to PGM Converter
|
||||
Source: http://www.trends.net/~mu/srcs/%{name}-%{version}.tar.bz2
|
||||
Patch: %{name}-%{version}-warnings-fix.diff
|
||||
URL: http://www.trends.net/~mu/pilot.html
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Tools for converting Pilot Image Viewer pdb files to and from Portable
|
||||
Graymaps and Portable Bitmaps. The tools support grayscale and
|
||||
monochrome images with or without compression and with or without
|
||||
notes.
|
||||
|
||||
If you are looking for a cool (and free) image viewer for your Pilot,
|
||||
you should look at TinyViewer (http://www.righto.com/pilot/tv.html).
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Eric Howe <mu@trends.net>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
CXXFLAGS="$RPM_OPT_FLAGS" \
|
||||
LIBS="-lm" \
|
||||
./configure --mandir=%{_mandir} \
|
||||
--prefix=%{_prefix} \
|
||||
--datadir=%{_prefix}/share
|
||||
make LDFLAGS=
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS CREDITS INSTALL NEWS Pilot16 COPYING ChangeLog Pilot README
|
||||
%doc samples/
|
||||
%{_prefix}/bin/*
|
||||
%{_prefix}/share/man/man1/*
|
||||
|
||||
%changelog -n imgvtopgm
|
||||
* Wed May 24 2006 - schwab@suse.de
|
||||
- Don't strip binaries.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Tue Aug 02 2005 - ro@suse.de
|
||||
- add -lm to help configure with netpbm
|
||||
* Thu Jun 23 2005 - meissner@suse.de
|
||||
- use RPM_OPT_FLAGS, fixed all implicit warnings.
|
||||
* Mon Apr 26 2004 - postadal@suse.cz
|
||||
- fixed gcc warnings
|
||||
* Sun Jan 11 2004 - adrian@suse.de
|
||||
- add %%defattr
|
||||
* Tue Sep 17 2002 - ro@suse.de
|
||||
- removed bogus self-provides
|
||||
* Tue Nov 13 2001 - tcrhak@suse.cz
|
||||
- removed aclocal, autoconf and automake
|
||||
* Mon Jul 30 2001 - adostal@suse.cz
|
||||
- change gz to bz2
|
||||
* Tue Feb 13 2001 - pblaha@suse.cz
|
||||
- create this package for view images on Palm
|
Loading…
Reference in New Issue
Block a user