This commit is contained in:
commit
28c2873ab1
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
|
35
netpbm-10.26.22-aliasing.patch
Normal file
35
netpbm-10.26.22-aliasing.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
--- lib/util/mallocvar.h
|
||||||
|
+++ lib/util/mallocvar.h
|
||||||
|
@@ -12,9 +12,8 @@
|
||||||
|
#include <limits.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
-static __inline__ void
|
||||||
|
-mallocProduct(void ** const resultP,
|
||||||
|
- unsigned int const factor1,
|
||||||
|
+static __inline__ void *
|
||||||
|
+mallocProduct(unsigned int const factor1,
|
||||||
|
unsigned int const factor2) {
|
||||||
|
/*----------------------------------------------------------------------------
|
||||||
|
malloc a space whose size in bytes is the product of 'factor1' and
|
||||||
|
@@ -30,9 +29,9 @@
|
||||||
|
nobody really needs to allocate more than 4GB of memory.
|
||||||
|
-----------------------------------------------------------------------------*/
|
||||||
|
if (UINT_MAX / factor2 < factor1)
|
||||||
|
- *resultP = NULL; \
|
||||||
|
+ return NULL;
|
||||||
|
else
|
||||||
|
- *resultP = malloc(factor1 * factor2);
|
||||||
|
+ return malloc(factor1 * factor2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -51,7 +50,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
#define MALLOCARRAY(arrayName, nElements) \
|
||||||
|
- mallocProduct((void **)(void *)&arrayName, nElements, sizeof(arrayName[0]))
|
||||||
|
+ (arrayName = mallocProduct(nElements, sizeof(arrayName[0])))
|
||||||
|
|
||||||
|
#define REALLOCARRAY(arrayName, nElements) \
|
||||||
|
reallocProduct((void **)&arrayName, nElements, sizeof(arrayName[0]))
|
19
netpbm-10.26.22-colornames-init.diff
Normal file
19
netpbm-10.26.22-colornames-init.diff
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
--- netpbm-10.26.12/lib/libppmcolor.c
|
||||||
|
+++ netpbm-10.26.12/lib/libppmcolor.c
|
||||||
|
@@ -450,6 +450,16 @@
|
||||||
|
|
||||||
|
fclose(colorFile);
|
||||||
|
}
|
||||||
|
+ else {
|
||||||
|
+ /*
|
||||||
|
+ * 31.8.2004, jw:
|
||||||
|
+ * ppm_freecolornames() may be unhappy when
|
||||||
|
+ * free'ing uninitialized data.
|
||||||
|
+ */
|
||||||
|
+ int i = MAXCOLORNAMES;
|
||||||
|
+ while (i) colornames[--i] = NULL;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
}
|
||||||
|
|
||||||
|
|
3
netpbm-10.26.22-documentation.tar.bz2
Normal file
3
netpbm-10.26.22-documentation.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:472e503559fc537ff1e8c8b6435a0a79a001f4da1d8b816fbfa12d376ef24ef6
|
||||||
|
size 470787
|
19
netpbm-10.26.22-endian.patch
Normal file
19
netpbm-10.26.22-endian.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
--- converter/other/fiasco/config.h
|
||||||
|
+++ converter/other/fiasco/config.h
|
||||||
|
@@ -23,7 +23,15 @@
|
||||||
|
|
||||||
|
/* Define if your processor stores words with the most significant
|
||||||
|
byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||||
|
-/* #undef WORDS_BIGENDIAN */
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+/* since we don't have autoconf... */
|
||||||
|
+#include <endian.h>
|
||||||
|
+#if __BYTE_ORDER == __BIG_ENDIAN
|
||||||
|
+#define WORDS_BIGENDIAN 1
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+
|
||||||
|
|
||||||
|
/* Define if the X Window System is missing or not being used. */
|
||||||
|
#define X_DISPLAY_MISSING 1
|
209
netpbm-10.26.22-fixes.patch
Normal file
209
netpbm-10.26.22-fixes.patch
Normal file
@ -0,0 +1,209 @@
|
|||||||
|
--- buildtools/Makefile
|
||||||
|
+++ buildtools/Makefile
|
||||||
|
@@ -33,10 +33,10 @@
|
||||||
|
-o $@ $<
|
||||||
|
|
||||||
|
typegen.o endiangen.o:%.o:%.c
|
||||||
|
- $(CC_FOR_BUILD) -c -o $@ $<
|
||||||
|
+ $(CC_FOR_BUILD) $(CFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
|
$(PROGS):%:%.o
|
||||||
|
- $(LD_FOR_BUILD) -o $@ $<
|
||||||
|
+ $(LD_FOR_BUILD) $(LDFLAGS) -o $@ $<
|
||||||
|
|
||||||
|
clean: cleanlocal
|
||||||
|
.PHONY: cleanlocal
|
||||||
|
--- converter/other/fiasco/codec/coeff.c
|
||||||
|
+++ converter/other/fiasco/codec/coeff.c
|
||||||
|
@@ -14,6 +14,7 @@
|
||||||
|
* $State: Exp $
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#include <string.h>
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#include "types.h"
|
||||||
|
--- converter/other/fiasco/codec/dfiasco.c
|
||||||
|
+++ converter/other/fiasco/codec/dfiasco.c
|
||||||
|
@@ -14,6 +14,9 @@
|
||||||
|
* $State: Exp $
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#include <string.h>
|
||||||
|
+#include <stdlib.h>
|
||||||
|
+
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#include "types.h"
|
||||||
|
--- converter/other/fiasco/input/basis.c
|
||||||
|
+++ converter/other/fiasco/input/basis.c
|
||||||
|
@@ -14,6 +14,7 @@
|
||||||
|
* $State: Exp $
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#include <string.h>
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#include "types.h"
|
||||||
|
--- converter/other/jpegtopnm.c
|
||||||
|
+++ converter/other/jpegtopnm.c
|
||||||
|
@@ -511,6 +511,7 @@
|
||||||
|
pm_error("Input JPEG image has 'unknown' color space "
|
||||||
|
"(JCS_UNKNOWN).\n"
|
||||||
|
"We cannot interpret this image.");
|
||||||
|
+ *output_type_p = PPM_TYPE; /* not reached */
|
||||||
|
break;
|
||||||
|
case JCS_GRAYSCALE:
|
||||||
|
*output_type_p = PGM_TYPE;
|
||||||
|
@@ -538,6 +539,7 @@
|
||||||
|
default:
|
||||||
|
pm_error("Internal error: unknown color space code %d passed "
|
||||||
|
"to set_color_spaces().", jpeg_color_space);
|
||||||
|
+ *output_type_p = PPM_TYPE; /* not reached */
|
||||||
|
}
|
||||||
|
pm_message("WRITING %s FILE",
|
||||||
|
*output_type_p == PPM_TYPE ? "PPM" : "PGM");
|
||||||
|
--- converter/other/pamtouil.c
|
||||||
|
+++ converter/other/pamtouil.c
|
||||||
|
@@ -377,11 +377,15 @@
|
||||||
|
int i;
|
||||||
|
|
||||||
|
for (i = 0; i < ncolors; ++i) {
|
||||||
|
- cixel_map const cmapEntry = cmap[i];
|
||||||
|
- if (cmapEntry.uilname)
|
||||||
|
+ cixel_map cmapEntry = cmap[i];
|
||||||
|
+ if (cmapEntry.uilname) {
|
||||||
|
freeString(cmapEntry.uilname);
|
||||||
|
- if (cmapEntry.rgbname)
|
||||||
|
+ cmapEntry.uilname = NULL;
|
||||||
|
+ }
|
||||||
|
+ if (cmapEntry.rgbname) {
|
||||||
|
freeString(cmapEntry.uilname);
|
||||||
|
+ cmapEntry.rgbname = NULL;
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
--- converter/other/pfmtopam.c
|
||||||
|
+++ converter/other/pfmtopam.c
|
||||||
|
@@ -136,7 +136,7 @@
|
||||||
|
Type converter
|
||||||
|
-----------------------------------------------------------------------------*/
|
||||||
|
if (machineEndianness == pfmEndianness) {
|
||||||
|
- const float * const floatPointer = (float *)&sample;
|
||||||
|
+ const float * const floatPointer = (float *)(void *)&sample;
|
||||||
|
return *floatPointer;
|
||||||
|
} else {
|
||||||
|
unsigned char reversed[sizeof(pfmSample)];
|
||||||
|
--- converter/other/pgmtopbm.c
|
||||||
|
+++ converter/other/pgmtopbm.c
|
||||||
|
@@ -549,6 +549,8 @@
|
||||||
|
converter.cols = cols;
|
||||||
|
converter.convertRow = &dither8ConvertRow;
|
||||||
|
converter.destroy = NULL;
|
||||||
|
+ converter.stateP = NULL;
|
||||||
|
+ converter.maxval = 0;
|
||||||
|
|
||||||
|
/* Scale dither matrix. */
|
||||||
|
for (row = 0; row < 16; ++row) {
|
||||||
|
@@ -619,6 +621,7 @@
|
||||||
|
converter.cols = cols;
|
||||||
|
converter.convertRow = &clusterConvertRow;
|
||||||
|
converter.destroy = &clusterDestroy;
|
||||||
|
+ converter.maxval = 0;
|
||||||
|
|
||||||
|
MALLOCVAR_NOFAIL(stateP);
|
||||||
|
|
||||||
|
--- converter/other/pnmtofits.c
|
||||||
|
+++ converter/other/pnmtofits.c
|
||||||
|
@@ -121,13 +121,13 @@
|
||||||
|
sprintf( card, "NAXIS3 = 3 " );
|
||||||
|
write_card( card ); ++i;
|
||||||
|
}
|
||||||
|
- sprintf( card, "BSCALE = %E ", bscale );
|
||||||
|
+ sprintf( card, "BSCALE = %E ", bscale ); /* %E is 12 chars */
|
||||||
|
write_card( card ); ++i;
|
||||||
|
- sprintf( card, "BZERO = %E ", fits_bzero );
|
||||||
|
+ sprintf( card, "BZERO = %E ", fits_bzero );
|
||||||
|
write_card( card ); ++i;
|
||||||
|
- sprintf( card, "DATAMAX = %E ", datamax );
|
||||||
|
+ sprintf( card, "DATAMAX = %E ", datamax );
|
||||||
|
write_card( card ); ++i;
|
||||||
|
- sprintf( card, "DATAMIN = %E ", datamin );
|
||||||
|
+ sprintf( card, "DATAMIN = %E ", datamin );
|
||||||
|
write_card( card ); ++i;
|
||||||
|
sprintf( card, "HISTORY Created by pnmtofits. " );
|
||||||
|
write_card( card ); ++i;
|
||||||
|
--- converter/other/pnmtopng.c
|
||||||
|
+++ converter/other/pnmtopng.c
|
||||||
|
@@ -145,6 +145,7 @@
|
||||||
|
retval.green = PPM_GETG(scaled);
|
||||||
|
retval.blue = PPM_GETB(scaled);
|
||||||
|
retval.gray = PNM_GET1(scaled);
|
||||||
|
+ retval.index = 0;
|
||||||
|
|
||||||
|
return retval;
|
||||||
|
}
|
||||||
|
--- converter/other/rletopnm.c
|
||||||
|
+++ converter/other/rletopnm.c
|
||||||
|
@@ -100,7 +100,7 @@
|
||||||
|
optStruct3 opt;
|
||||||
|
unsigned int option_def_index;
|
||||||
|
|
||||||
|
- unsigned int alphaoutSpec;
|
||||||
|
+ unsigned int alphaoutSpec = 0;
|
||||||
|
|
||||||
|
option_def_index = 0; /* incremented by OPTENT3 */
|
||||||
|
OPTENT3('h', "headerdump", OPT_FLAG,
|
||||||
|
--- converter/ppm/ximtoppm.c
|
||||||
|
+++ converter/ppm/ximtoppm.c
|
||||||
|
@@ -50,7 +50,7 @@
|
||||||
|
|
||||||
|
unsigned int option_def_index;
|
||||||
|
|
||||||
|
- unsigned int alphaoutSpec;
|
||||||
|
+ unsigned int alphaoutSpec = 0;
|
||||||
|
|
||||||
|
option_def_index = 0; /* incremented by OPTENT3 */
|
||||||
|
OPTENT3(0, "alphaout", OPT_STRING,
|
||||||
|
--- editor/pamenlarge.c
|
||||||
|
+++ editor/pamenlarge.c
|
||||||
|
@@ -52,7 +52,7 @@
|
||||||
|
Create a tuple *outTupleRowP which is actually a row of pointers into
|
||||||
|
inTupleRow[], so as to map input pixels to output pixels by stretching.
|
||||||
|
-----------------------------------------------------------------------------*/
|
||||||
|
- tuple * const newtuplerow;
|
||||||
|
+ tuple * newtuplerow;
|
||||||
|
int col;
|
||||||
|
|
||||||
|
MALLOCARRAY_NOFAIL(newtuplerow, outpamP->width);
|
||||||
|
--- lib/pm.h
|
||||||
|
+++ lib/pm.h
|
||||||
|
@@ -20,6 +20,7 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
+#include <string.h>
|
||||||
|
|
||||||
|
#ifdef VMS
|
||||||
|
#include <perror.h>
|
||||||
|
--- lib/util/wordaccess.h
|
||||||
|
+++ lib/util/wordaccess.h
|
||||||
|
@@ -76,6 +76,7 @@
|
||||||
|
return *((wordint *)bytes);
|
||||||
|
}
|
||||||
|
|
||||||
|
+static __inline__ void
|
||||||
|
wordintToBytes(wordintBytes * const bytesP,
|
||||||
|
wordint const wordInt) {
|
||||||
|
|
||||||
|
--- urt/rle.h
|
||||||
|
+++ urt/rle.h
|
||||||
|
@@ -36,6 +36,7 @@
|
||||||
|
#include "rle_config.h" /* Configuration parameters. */
|
||||||
|
|
||||||
|
#include <stdio.h> /* Declare FILE. */
|
||||||
|
+#include <string.h>
|
||||||
|
|
||||||
|
#ifdef c_plusplus
|
||||||
|
#define USE_PROTOTYPES
|
86
netpbm-10.26.22-manpages.patch
Normal file
86
netpbm-10.26.22-manpages.patch
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
--- GNUmakefile
|
||||||
|
+++ GNUmakefile
|
||||||
|
@@ -64,7 +64,6 @@
|
||||||
|
|
||||||
|
SUBDIRS = $(PRODUCT_SUBDIRS) $(SUPPORT_SUBDIRS)
|
||||||
|
|
||||||
|
-SCRIPTS = manweb
|
||||||
|
MANUALS1 = netpbm
|
||||||
|
NOMERGEBINARIES = netpbm
|
||||||
|
|
||||||
|
@@ -198,11 +197,9 @@
|
||||||
|
endif
|
||||||
|
|
||||||
|
.PHONY: install-merge install-nonmerge
|
||||||
|
-install-merge: install.merge install.lib install.data \
|
||||||
|
- install.manweb install.man
|
||||||
|
+install-merge: install.merge install.lib install.data
|
||||||
|
|
||||||
|
-install-nonmerge: install.bin install.lib install.data \
|
||||||
|
- install.manweb install.man
|
||||||
|
+install-nonmerge: install.bin install.lib install.data
|
||||||
|
|
||||||
|
.PHONY: merge
|
||||||
|
merge: netpbm
|
||||||
|
@@ -290,17 +287,6 @@
|
||||||
|
install.lib:
|
||||||
|
endif
|
||||||
|
|
||||||
|
-.PHONY: install.manweb
|
||||||
|
-install.manweb: $(PKGDIR)/man/web/netpbm.url $(PKGDIR)/bin/doc.url
|
||||||
|
-
|
||||||
|
-$(PKGDIR)/man/web/netpbm.url: $(PKGDIR)/man/web
|
||||||
|
- echo "$(NETPBM_DOCURL)" > $@
|
||||||
|
- chmod $(INSTALL_PERM_MAN) $@
|
||||||
|
-
|
||||||
|
-$(PKGDIR)/bin/doc.url: $(PKGDIR)/bin
|
||||||
|
- echo "$(NETPBM_DOCURL)" > $@
|
||||||
|
- chmod $(INSTALL_PERM_MAN) $@
|
||||||
|
-
|
||||||
|
.PHONY: install-dev
|
||||||
|
# Note that you might install the development package and NOT the runtime
|
||||||
|
# package. If you have a special system for building stuff, maybe for
|
||||||
|
--- Makefile.common
|
||||||
|
+++ Makefile.common
|
||||||
|
@@ -360,31 +360,6 @@
|
||||||
|
$(INSTALL) -c -m $(INSTALL_PERM_DATA) \
|
||||||
|
$(SRCDIR)/$(SUBDIR)/$(@:%_installdata=%) $<
|
||||||
|
|
||||||
|
-
|
||||||
|
-.PHONY: install.man install.man1 install.man3 install.man5
|
||||||
|
-install.man: install.man1 install.man3 install.man5 \
|
||||||
|
- $(SUBDIRS:%=%/install.man)
|
||||||
|
-
|
||||||
|
-MANUALS1 = $(BINARIES) $(SCRIPTS)
|
||||||
|
-
|
||||||
|
-install.man1: $(PKGDIR)/man/man1 $(MANUALS1:%=%_installman1)
|
||||||
|
-
|
||||||
|
-install.man3: $(PKGDIR)/man/man3 $(MANUALS3:%=%_installman3)
|
||||||
|
-
|
||||||
|
-install.man5: $(PKGDIR)/man/man5 $(MANUALS5:%=%_installman5)
|
||||||
|
-
|
||||||
|
-%_installman1: $(PKGDIR)/man/man1
|
||||||
|
- perl -w $(SRCDIR)/buildtools/makepointerman $(@:%_installman1=%) \
|
||||||
|
- $(NETPBM_DOCURL) $< 1 $(MANPAGE_FORMAT) $(INSTALL_PERM_MAN)
|
||||||
|
-
|
||||||
|
-%_installman3: $(PKGDIR)/man/man3
|
||||||
|
- perl -w $(SRCDIR)/buildtools/makepointerman $(@:%_installman3=%) \
|
||||||
|
- $(NETPBM_DOCURL) $< 3 $(MANPAGE_FORMAT) $(INSTALL_PERM_MAN)
|
||||||
|
-
|
||||||
|
-%_installman5: $(PKGDIR)/man/man5
|
||||||
|
- perl -w $(SRCDIR)/buildtools/makepointerman $(@:%_installman5=%) \
|
||||||
|
- $(NETPBM_DOCURL) $< 5 $(MANPAGE_FORMAT) $(INSTALL_PERM_MAN)
|
||||||
|
-
|
||||||
|
.PHONY: clean
|
||||||
|
|
||||||
|
ifneq ($(EXE)x,x)
|
||||||
|
@@ -422,9 +397,6 @@
|
||||||
|
%/install.lib:
|
||||||
|
$(MAKE) -C $(dir $@) -f $(SRCDIR)/$(SUBDIR)/$(dir $@)Makefile \
|
||||||
|
SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) $(notdir $@)
|
||||||
|
-%/install.man:
|
||||||
|
- $(MAKE) -C $(dir $@) -f $(SRCDIR)/$(SUBDIR)/$(dir $@)Makefile \
|
||||||
|
- SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) $(notdir $@)
|
||||||
|
%/install.data:
|
||||||
|
$(MAKE) -C $(dir $@) -f $(SRCDIR)/$(SUBDIR)/$(dir $@)Makefile \
|
||||||
|
SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) $(notdir $@)
|
3
netpbm-10.26.22-manpages.tar.bz2
Normal file
3
netpbm-10.26.22-manpages.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6e908d298c441959e311b588301b3c18d578a4137e1244765c41f65e543b9cd8
|
||||||
|
size 478853
|
3
netpbm-10.26.22-nohpcdtoppm-nojbig.tar.bz2
Normal file
3
netpbm-10.26.22-nohpcdtoppm-nojbig.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:996db6ecd0eb2b2435105b6137e6aa4b57499f9f973f8744681288869b9ba8bc
|
||||||
|
size 2144853
|
2241
netpbm-10.26.22-overflow.patch
Normal file
2241
netpbm-10.26.22-overflow.patch
Normal file
File diff suppressed because it is too large
Load Diff
11
netpbm-10.26.22-pamtouil.patch
Normal file
11
netpbm-10.26.22-pamtouil.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- converter/other/pamtouil.c
|
||||||
|
+++ converter/other/pamtouil.c
|
||||||
|
@@ -94,7 +94,7 @@
|
||||||
|
|
||||||
|
/* Remove trailing "_icon" */
|
||||||
|
barPos = strrchr(cmdlineP->outname, '_');
|
||||||
|
- if (strcmp(barPos, "_icon") == 0)
|
||||||
|
+ if (barPos && strcmp(barPos, "_icon") == 0)
|
||||||
|
*barPos = '\0';
|
||||||
|
} else {
|
||||||
|
if (strcmp(cmdlineP->inputFilespec, "-") == 0)
|
21
netpbm-10.26.22-pbmtext.patch
Normal file
21
netpbm-10.26.22-pbmtext.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
--- generator/pbmtext.c
|
||||||
|
+++ generator/pbmtext.c
|
||||||
|
@@ -217,7 +217,7 @@
|
||||||
|
/* logical: we haven't seen any renderable characters yet in
|
||||||
|
the line.
|
||||||
|
*/
|
||||||
|
- struct glyph * lastGlyphP;
|
||||||
|
+ struct glyph * lastGlyphP = NULL;
|
||||||
|
/* Glyph of last character processed so far. Undefined if
|
||||||
|
'no_chars_yet'.
|
||||||
|
*/
|
||||||
|
@@ -248,8 +248,8 @@
|
||||||
|
*bwid_p += full_pixels;
|
||||||
|
accumulated_ics -= full_pixels;
|
||||||
|
}
|
||||||
|
- lastGlyphP = glyphP;
|
||||||
|
}
|
||||||
|
+ lastGlyphP = glyphP;
|
||||||
|
*bwid_p += glyphP->xadd;
|
||||||
|
}
|
||||||
|
}
|
20
netpbm-10.26.22-pnmtopng-CAN-2005-2978.patch
Normal file
20
netpbm-10.26.22-pnmtopng-CAN-2005-2978.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- converter/other/pnmtopng.c.pnmtopng 2004-08-28 04:53:12.000000000 +0200
|
||||||
|
+++ converter/other/pnmtopng.c 2005-09-16 14:17:47.129390456 +0200
|
||||||
|
@@ -159,7 +159,7 @@
|
||||||
|
unsigned int * const bestMatchP) {
|
||||||
|
|
||||||
|
unsigned int paletteIndex;
|
||||||
|
- unsigned int bestIndex;
|
||||||
|
+ unsigned int bestIndex = 0;
|
||||||
|
unsigned int bestMatch;
|
||||||
|
|
||||||
|
bestMatch = UINT_MAX;
|
||||||
|
@@ -1566,7 +1566,7 @@
|
||||||
|
/* The color part of the color/alpha palette passed to the PNG
|
||||||
|
compressor
|
||||||
|
*/
|
||||||
|
- unsigned int palette_size;
|
||||||
|
+ unsigned int palette_size = MAXCOLORS;
|
||||||
|
|
||||||
|
gray trans_pnm[MAXCOLORS];
|
||||||
|
png_byte trans[MAXCOLORS];
|
14
netpbm-10.26.22-pnmtopng-overflow.patch
Normal file
14
netpbm-10.26.22-pnmtopng-overflow.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
--- converter/other/pnmtopng.c
|
||||||
|
+++ converter/other/pnmtopng.c
|
||||||
|
@@ -913,9 +913,9 @@
|
||||||
|
colorhist_vector chv;
|
||||||
|
unsigned int colors;
|
||||||
|
|
||||||
|
- gray *alphas_of_color[MAXPALETTEENTRIES];
|
||||||
|
+ gray *alphas_of_color[MAXPALETTEENTRIES + 1];
|
||||||
|
unsigned int alphas_first_index[MAXPALETTEENTRIES];
|
||||||
|
- unsigned int alphas_of_color_cnt[MAXPALETTEENTRIES];
|
||||||
|
+ unsigned int alphas_of_color_cnt[MAXPALETTEENTRIES + 1];
|
||||||
|
|
||||||
|
getChv(ifP, imagepos, cols, rows, maxval, format, MAXCOLORS,
|
||||||
|
&chv, &colors);
|
20
netpbm-10.26.22-pnmtopng-transparent.patch
Normal file
20
netpbm-10.26.22-pnmtopng-transparent.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- converter/other/pnmtopng.c
|
||||||
|
+++ converter/other/pnmtopng.c
|
||||||
|
@@ -1322,7 +1322,7 @@
|
||||||
|
computePixelWidth(PNM_FORMAT_TYPE(format), pnm_meaningful_bits, alpha,
|
||||||
|
NULL, &bitsPerPixel);
|
||||||
|
|
||||||
|
- if (!pfP && bitsPerPixel == 1)
|
||||||
|
+ if (0/*!pfP && bitsPerPixel == 1*/)
|
||||||
|
/* No palette can beat 1 bit per pixel -- no need to waste time
|
||||||
|
counting the colors.
|
||||||
|
*/
|
||||||
|
@@ -1345,7 +1345,7 @@
|
||||||
|
"colormapped PNG", MAXCOLORS);
|
||||||
|
} else {
|
||||||
|
/* There are few enough colors that a palette is possible */
|
||||||
|
- if (bitsPerPixel <= paletteIndexBits(colors) && !pfP)
|
||||||
|
+ if (0/*bitsPerPixel <= paletteIndexBits(colors) && !pfP*/)
|
||||||
|
asprintfN(noColormapReasonP,
|
||||||
|
"palette index for %u colors would be "
|
||||||
|
"no smaller than the indexed value (%u bits)",
|
19
netpbm-10.26.22-pstopnm-gs-options.patch
Normal file
19
netpbm-10.26.22-pstopnm-gs-options.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
--- converter/other/pstopnm.c
|
||||||
|
+++ converter/other/pstopnm.c
|
||||||
|
@@ -702,13 +702,13 @@
|
||||||
|
|
||||||
|
if (verbose) {
|
||||||
|
pm_message("execing '%s' with args '%s' (arg 0), "
|
||||||
|
- "'%s', '%s', '%s', '%s', '%s', '%s', '%s'",
|
||||||
|
+ "'%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s'",
|
||||||
|
ghostscriptProg, arg0,
|
||||||
|
- deviceopt, outfileopt, gopt, ropt, "-q", "-dNOPAUSE", "-");
|
||||||
|
+ deviceopt, outfileopt, gopt, ropt, "-q", "-dNOPAUSE", "-dSAFER", "-");
|
||||||
|
}
|
||||||
|
|
||||||
|
execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt, "-q",
|
||||||
|
- "-dNOPAUSE", "-", NULL);
|
||||||
|
+ "-dNOPAUSE", "-dSAFER", "-", NULL);
|
||||||
|
|
||||||
|
pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)",
|
||||||
|
ghostscriptProg, errno, strerror(errno));
|
11
netpbm-10.26.22-rgb.patch
Normal file
11
netpbm-10.26.22-rgb.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- pm_config.in.h
|
||||||
|
+++ pm_config.in.h
|
||||||
|
@@ -99,7 +99,7 @@
|
||||||
|
#define RGB_DB2 "PBMplus_Dir:RGB.TXT"
|
||||||
|
#define RGB_DB3 "PBMplus_Dir:RGB.TXT"
|
||||||
|
#else
|
||||||
|
-#define RGB_DB1 "/usr/lib/X11/rgb.txt"
|
||||||
|
+#define RGB_DB1 "/usr/share/X11/rgb.txt"
|
||||||
|
#define RGB_DB2 "/usr/openwin/lib/rgb.txt"
|
||||||
|
#define RGB_DB3 "/usr/X11R6/lib/X11/rgb.txt"
|
||||||
|
#endif
|
47
netpbm-10.26.22-tmpfile.patch
Normal file
47
netpbm-10.26.22-tmpfile.patch
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
--- editor/pnmindex.csh
|
||||||
|
+++ editor/pnmindex.csh
|
||||||
|
@@ -88,7 +88,7 @@
|
||||||
|
goto usage
|
||||||
|
endif
|
||||||
|
|
||||||
|
-set tmpfile=/tmp/pi.tmp.$$
|
||||||
|
+set tmpfile=.pi.tmp.$$
|
||||||
|
rm -f $tmpfile
|
||||||
|
set maxformat=PBM
|
||||||
|
|
||||||
|
--- editor/ppmquantall.csh
|
||||||
|
+++ editor/ppmquantall.csh
|
||||||
|
@@ -34,8 +34,8 @@
|
||||||
|
set heights=( $heights `sed '1d; s/.* //; 2q' $i` )
|
||||||
|
end
|
||||||
|
|
||||||
|
-set all=/tmp/pqa.all.$$
|
||||||
|
-rm -f $all
|
||||||
|
+set all=.pqa.all.$$
|
||||||
|
+
|
||||||
|
pnmcat -topbottom -jleft -white $files | ppmquant -quiet $newcolors > $all
|
||||||
|
if ( $status != 0 ) exit $status
|
||||||
|
|
||||||
|
--- generator/ppmrainbow
|
||||||
|
+++ generator/ppmrainbow
|
||||||
|
@@ -39,7 +39,13 @@
|
||||||
|
push @colorlist, $ARGV[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
-my $tmpprefix = $tmpdir . "/$myname.$$.";
|
||||||
|
+my $mytmpdir;
|
||||||
|
+chomp($mytmpdir = `mktemp -d $tmpdir/ppmrainbow.XXXXXX`);
|
||||||
|
+if ($? >> 8) {
|
||||||
|
+ die "Can't create tmpdir";
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+my $tmpprefix = $mytmpdir . "/file.";
|
||||||
|
|
||||||
|
my $widthRemaining;
|
||||||
|
my $n;
|
||||||
|
@@ -71,4 +77,5 @@
|
||||||
|
|
||||||
|
END {
|
||||||
|
unlink @outlist if @outlist;
|
||||||
|
+ rmdir $mytmpdir if -d $mytmpdir;
|
||||||
|
}
|
13
netpbm-10.26.22-ximtoppm-fixes.patch
Normal file
13
netpbm-10.26.22-ximtoppm-fixes.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- converter/ppm/ximtoppm.c
|
||||||
|
+++ converter/ppm/ximtoppm.c
|
||||||
|
@@ -56,6 +56,10 @@
|
||||||
|
OPTENT3(0, "alphaout", OPT_STRING,
|
||||||
|
&cmdlineP->alpha_filename, &alphaoutSpec, 0);
|
||||||
|
|
||||||
|
+ opt.opt_table = option_def;
|
||||||
|
+ opt.short_allowed = FALSE; /* We have no short (old-fashioned) options */
|
||||||
|
+ opt.allowNegNum = FALSE; /* We may have parms that are negative numbers */
|
||||||
|
+
|
||||||
|
optParseOptions3(&argc, argv, opt, sizeof(opt), 0);
|
||||||
|
/* Uses and sets argc, argv, and all of *cmdlineP. */
|
||||||
|
|
59
netpbm-10.26.22.dif
Normal file
59
netpbm-10.26.22.dif
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
--- Makefile.config.in
|
||||||
|
+++ Makefile.config.in
|
||||||
|
@@ -78,7 +78,7 @@
|
||||||
|
#OSF1:
|
||||||
|
#INSTALL = $(SRCDIR)/buildtools/installosf
|
||||||
|
#Red Hat Linux:
|
||||||
|
-#INSTALL = install
|
||||||
|
+INSTALL = install
|
||||||
|
|
||||||
|
# STRIPFLAG is the option you pass to the above install program to make it
|
||||||
|
# strip unnecessary information out of binaries.
|
||||||
|
@@ -218,9 +218,9 @@
|
||||||
|
# copy of Pbmtext used 16K less real memory when built with -fpic than
|
||||||
|
# when built without. 2001.06.02.
|
||||||
|
|
||||||
|
-CFLAGS_SHLIB =
|
||||||
|
+# CFLAGS_SHLIB =
|
||||||
|
# Solaris or SunOS with gcc, and NetBSD:
|
||||||
|
-#CFLAGS_SHLIB = -fpic
|
||||||
|
+CFLAGS_SHLIB = -fPIC
|
||||||
|
#CFLAGS_SHLIB = -fPIC
|
||||||
|
# Sun compiler:
|
||||||
|
#CFLAGS_SHLIB = -Kpic
|
||||||
|
@@ -288,7 +288,7 @@
|
||||||
|
# The TIFF library. See above. If you want to build the tiff
|
||||||
|
# converters, you must have the tiff library already installed.
|
||||||
|
|
||||||
|
-TIFFLIB = NONE
|
||||||
|
+TIFFLIB = libtiff.so
|
||||||
|
TIFFHDR_DIR =
|
||||||
|
|
||||||
|
#TIFFLIB = libtiff.so
|
||||||
|
@@ -318,7 +318,7 @@
|
||||||
|
# JPEG stuff statically linked in, in which case you won't need
|
||||||
|
# JPEGLIB in order to build the Tiff converters.
|
||||||
|
|
||||||
|
-JPEGLIB = NONE
|
||||||
|
+JPEGLIB = libjpeg.so
|
||||||
|
JPEGHDR_DIR =
|
||||||
|
#JPEGLIB = libjpeg.so
|
||||||
|
#JPEGHDR_DIR = /usr/include/jpeg
|
||||||
|
@@ -342,7 +342,7 @@
|
||||||
|
# with names that include a version number, such as libpng10.a and header
|
||||||
|
# files in /usr/include/libpng10.
|
||||||
|
# option.
|
||||||
|
-PNGLIB = NONE
|
||||||
|
+PNGLIB = libpng.so
|
||||||
|
PNGHDR_DIR =
|
||||||
|
PNGVER =
|
||||||
|
#PNGLIB = libpng$(PNGVER).so
|
||||||
|
@@ -359,7 +359,7 @@
|
||||||
|
# NONE for the PNG library, it doesn't matter what you specify here --
|
||||||
|
# it won't get used.
|
||||||
|
|
||||||
|
-ZLIB = NONE
|
||||||
|
+ZLIB = libz.so
|
||||||
|
ZHDR_DIR =
|
||||||
|
#ZLIB = libz.so
|
||||||
|
|
384
netpbm.changes
Normal file
384
netpbm.changes
Normal file
@ -0,0 +1,384 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 6 11:21:08 CET 2006 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- fixed pamtouil crash when -name was specified (pamtouil.patch)
|
||||||
|
- changed transparency handling (pnmtopng-transparent.patch) [#225258]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 30 17:34:42 CET 2006 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- fixed missing manpages [#224478]
|
||||||
|
- fixed segfault in pbmtext [#224420]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 14 14:52:55 CET 2006 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- fixed [#216670]
|
||||||
|
- removed man pages that pointed to online documentation (manpages.patch)
|
||||||
|
- added man pages generated from HTML documentation (manpages.tar.bz2)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 23 17:12:34 CET 2006 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed uninitialized variables [#155948]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:38:39 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 12 16:31:23 CET 2006 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- compile with -fstack-protector
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 5 17:46:45 CET 2006 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- updated to 10.26.22
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 15 19:17:40 CET 2005 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed possible buffer overflow [#133649]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 13 11:33:28 CEST 2005 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed possible buffer overflow (CAN-2005-2978) [#119601]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 26 17:52:57 CEST 2005 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed fiasco on bigendian [#105431]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 9 17:19:09 CEST 2005 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- call ghostscript with the -dSAFER option [#102527]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 1 10:14:20 CEST 2005 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed libnetpb.so symlink
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 29 17:13:34 CEST 2005 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- installed palm colormaps required by plucker
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 28 20:58:18 CEST 2005 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- updated to 10.26.12
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 22 16:07:55 CEST 2005 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix aliasing bug.
|
||||||
|
- Don't strip binaries.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 6 12:31:14 CET 2005 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- updated to 10.18.18
|
||||||
|
- fixed tempdir handling in anytopbm [#49446]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 19 11:27:44 CET 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- fixed file list
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 31 22:08:00 CEST 2004 - jw@suse.de
|
||||||
|
|
||||||
|
- fix uninitialized colornames in libppmcolor.c,
|
||||||
|
that caused ppmtoxpm to segv on x86-64.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 27 10:19:05 CEST 2004 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Fix .so symlink
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 26 16:06:55 CEST 2004 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- updated to 10.18.15: many bugfixes, incuding pnmtopng fix [#42868]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 18 16:27:04 CET 2004 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- do not pack /usr/bin/doc.url [#36329]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 05 14:10:33 CET 2004 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed pbmtextps [#32104]
|
||||||
|
- fixed dangerous compiler warnings
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 26 17:49:30 CET 2004 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed temp files handling [#34036]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 10 16:38:36 CET 2004 - adrian@suse.de
|
||||||
|
|
||||||
|
- add %run_ldconfig
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 18 10:55:50 CEST 2003 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed tail/head syntax [#31231]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 28 11:59:00 CEST 2003 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- remove unpackaged files from buildroot
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 13 18:22:39 CET 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- fix symlink for libnetpbm.so
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 11 18:47:07 CET 2003 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- updated to 10.11.4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 05 17:05:05 CEST 2002 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- removed g3topbm again
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 29 14:07:27 CEST 2002 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix reference to perl in scripts.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 27 18:53:34 CEST 2002 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Create compatibility links for the old libraries to compile
|
||||||
|
old sources
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 27 09:50:13 CEST 2002 - meissner@suse.de
|
||||||
|
|
||||||
|
- %_lib fixes, use RPM_OPT_FLAGS and -fPIC
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 26 21:39:00 CEST 2002 - adrian@suse.de
|
||||||
|
|
||||||
|
- fix neededforbuild
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 26 12:25:48 CEST 2002 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- updated to 10.5:
|
||||||
|
- libraries libpbm, libpgm, libpnm, libppm merged to libnetpbm
|
||||||
|
- documentation is in html only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 13:40:53 CEST 2002 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed usage of the %{_libdir} macro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 26 14:56:37 CET 2002 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed "#!/bin/sh" line in ppmtomap
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 7 16:37:29 CET 2002 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- updated to 9.24
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 1 00:26:08 CET 2002 - ro@suse.de
|
||||||
|
|
||||||
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 10 16:21:10 CET 2002 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- update to 9.23:
|
||||||
|
- bugfix release
|
||||||
|
- patched pnmtops to accept -dpi <number>x<number> [bug #12591]
|
||||||
|
- used macros %{_lib} and %{_libdir}
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 5 18:11:02 CET 2001 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- update to 9.21:
|
||||||
|
- new: pamdeinterlace, pnmquant, ppmtoneo, neotoppm
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 4 10:13:47 CEST 2001 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- removed jbigtopnm and pnmtojbig because of potential patent
|
||||||
|
problems [bug #9903]
|
||||||
|
- fixed segfault in icontopnm
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 23 18:48:36 CEST 2001 - ro@suse.de
|
||||||
|
|
||||||
|
- added pm.h and pm_config.h to INTERFACE_HEADERS
|
||||||
|
(pm.h is included by pbm.h and includes pm_config.h)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 23 15:04:35 CEST 2001 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- update to 9.16
|
||||||
|
new: pbmtopsg3 (Postscript G3 fax), pbmtonokia, ppmrainbow
|
||||||
|
pamoil (a replacement for pgmoil)
|
||||||
|
fixes and updates:
|
||||||
|
ppmtogif, ppmtojpeg, xpmtoppm, pnmtopng/pngtopnm,
|
||||||
|
giftopnm, ppm3d, tifftopnm, pgmcrater, pnmgamma,
|
||||||
|
ppmcie, pnmscale, pnmscalefixed, ppmtoeyuv, eyuvtoppm
|
||||||
|
pstopnm
|
||||||
|
- removed hpcdtoppm from source, because selling and commercial
|
||||||
|
using is prohibited
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 5 14:23:11 CEST 2001 - pblaha@suse.cz
|
||||||
|
|
||||||
|
- upgrade on 9.14
|
||||||
|
- add documentation and examples for ppmtompeg fix bug #8647
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 5 17:38:19 CEST 2001 - pblaha@suse.cz
|
||||||
|
|
||||||
|
- make ln -s pnmtoplainpnm pnmnoraw and ln -s gemtopnm gemtopbm
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 3 10:44:48 CEST 2001 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Remove g2topbm again due conficts with g3utils
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 26 14:47:55 CEST 2001 - pblaha@suse.cz
|
||||||
|
|
||||||
|
- update on 9.12
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 14 14:56:39 CET 2001 - pblaha@suse.cz
|
||||||
|
|
||||||
|
- remove g3topbm due to conflict with g3utils
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 7 18:04:02 CET 2001 - pblaha@suse.cz
|
||||||
|
|
||||||
|
- update on 9.11
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 24 11:59:36 CET 2001 - pblaha@suse.cz
|
||||||
|
|
||||||
|
- update on 9.10
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 22 00:48:09 MET 2000 - garloff@suse.de
|
||||||
|
|
||||||
|
- Add Provides + Obsoletes: libnetpb.
|
||||||
|
- Use some more macros in spec file.
|
||||||
|
- bzip2 source.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 5 15:16:05 CET 2000 - schwab@suse.de
|
||||||
|
|
||||||
|
- Be sure to compile with -fpic.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 4 19:10:35 CET 2000 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Fix again path to perl
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 30 17:10:01 CET 2000 - pblaha@suse.cz
|
||||||
|
|
||||||
|
- remove g3topbm and pbmtog3 for conflict with g3utils
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 28 11:35:39 CET 2000 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Use /usr/bin/perl
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 28 10:11:44 CET 2000 - pblaha@suse.cz
|
||||||
|
|
||||||
|
- remove hpcdtoppm because conflict with photocd
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 2 18:11:17 CEST 2000 - pblaha@suse.cz
|
||||||
|
|
||||||
|
- update to 9.8 and rename libnetpb to libnetpbm
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 29 01:24:47 CEST 2000 - ro@suse.de
|
||||||
|
|
||||||
|
- fixed Makefile deps
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 10 15:32:37 CEST 2000 - bubnikv@suse.cz
|
||||||
|
|
||||||
|
- fixed pbmtog3 to use fixed width of fax image (standard), added
|
||||||
|
switch to allow usage of source image width
|
||||||
|
- updated man page of pbmtog3
|
||||||
|
- changed URLs of home page and source file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 20 12:15:57 CEST 2000 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- added shhopt.h, libshhopt.*
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 26 16:11:40 CEST 2000 - bubnikv@suse.cz
|
||||||
|
|
||||||
|
- sorted
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 19 16:43:31 CEST 2000 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- fixed Imakefile
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 16 12:09:10 CEST 2000 - nadvornik@suse.cz
|
||||||
|
|
||||||
|
- update to 8.4
|
||||||
|
- added BuildRoot
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 12 13:47:13 CEST 2000 - schwab@suse.de
|
||||||
|
|
||||||
|
- pbmplus.h: fix linux configuration.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 29 16:23:26 CET 2000 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Let ldconfig create correct links for shared libraries and add
|
||||||
|
them to file list
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||||
|
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 14 00:25:12 MET 1999 - ro@suse.de
|
||||||
|
|
||||||
|
- pbmplus.h: don't redeclare write on alpha
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 17 16:33:08 MEST 1998 - ro@suse.de
|
||||||
|
|
||||||
|
- patched to build for libc5 and glibc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 14 14:25:59 MEST 1998 - ro@suse.de
|
||||||
|
|
||||||
|
- added patch to build pbmtosff from Christian Lademann
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 12 18:21:56 MEST 1998 - ro@suse.de
|
||||||
|
|
||||||
|
- extracted package from libgr / build from own sources
|
367
netpbm.spec
Normal file
367
netpbm.spec
Normal file
@ -0,0 +1,367 @@
|
|||||||
|
#
|
||||||
|
# spec file for package netpbm (Version 10.26.22)
|
||||||
|
#
|
||||||
|
# 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: netpbm
|
||||||
|
BuildRequires: libpng-devel libtiff-devel
|
||||||
|
License: Artistic License, Other License(s), see package
|
||||||
|
Group: Productivity/Graphics/Convertors
|
||||||
|
Provides: pbmplus
|
||||||
|
Autoreqprov: on
|
||||||
|
Version: 10.26.22
|
||||||
|
Release: 33
|
||||||
|
Summary: A Powerful Graphics Conversion Package
|
||||||
|
Source: netpbm-%{version}-nohpcdtoppm-nojbig.tar.bz2
|
||||||
|
Source1: netpbm-%{version}-documentation.tar.bz2
|
||||||
|
Source2: netpbm-%{version}-manpages.tar.bz2
|
||||||
|
Source3: prepare-src-tarball
|
||||||
|
Patch: netpbm-%{version}.dif
|
||||||
|
Patch2: netpbm-%{version}-manpages.patch
|
||||||
|
Patch4: netpbm-%{version}-overflow.patch
|
||||||
|
Patch5: netpbm-%{version}-aliasing.patch
|
||||||
|
Patch6: netpbm-%{version}-tmpfile.patch
|
||||||
|
Patch7: netpbm-%{version}-colornames-init.diff
|
||||||
|
Patch8: netpbm-%{version}-fixes.patch
|
||||||
|
Patch9: netpbm-%{version}-pstopnm-gs-options.patch
|
||||||
|
Patch10: netpbm-%{version}-endian.patch
|
||||||
|
Patch11: netpbm-%{version}-pnmtopng-CAN-2005-2978.patch
|
||||||
|
Patch12: netpbm-%{version}-pnmtopng-overflow.patch
|
||||||
|
Patch13: netpbm-%{version}-ximtoppm-fixes.patch
|
||||||
|
Patch14: netpbm-%{version}-pbmtext.patch
|
||||||
|
Patch15: netpbm-%{version}-rgb.patch
|
||||||
|
Patch16: netpbm-%{version}-pamtouil.patch
|
||||||
|
Patch17: netpbm-%{version}-pnmtopng-transparent.patch
|
||||||
|
URL: http://netpbm.sourceforge.net
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
The latest version of the Portable Bitmap Plus Utilities. This large
|
||||||
|
package, which is by now available for all hardware platforms, provides
|
||||||
|
tools for graphics conversion. Using these tools, images can be
|
||||||
|
converted from virtually any format into any other format. A few of the
|
||||||
|
supported formats include: GIF, PC-Paintbrush, IFF ILBM, Gould Scanner
|
||||||
|
file, MTV ray tracer, Atari Degas .pi1 and .pi3, Macintosh PICT, HP
|
||||||
|
Paintjet file, QRT raytracer, AUTOCAD slide, Atari Spectrum (compressed
|
||||||
|
and uncompressed), Andrew Toolkit raster object, and many more. On top
|
||||||
|
of that, man pages are included for all tools.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Alberto Accomazzi <alberto@cfa.harvard.edu>
|
||||||
|
Andre Beck <Andre_Beck@IRS.Inf.TU-Dresden.de>
|
||||||
|
Angus Duggan <ajcd@dcs.ed.ac.uk>
|
||||||
|
Arnaud Le Hors <lehors@sophia.inria.fr>
|
||||||
|
Arthur David Olson <OLSONA@dc37a.nci.nih.gov>
|
||||||
|
Burkhard Neidecker-Lutz <neideck@nestvx.enet.dec.com>
|
||||||
|
Daniel Briggs <dbriggs@nrao.edu>
|
||||||
|
David Beckemeyer <bdt!david>
|
||||||
|
David Koblas <koblas@netcom.com>
|
||||||
|
Diomidis D. Spinellis <dds@cc.ic.ac.uk>
|
||||||
|
George Phillips <phillips@cs.ubc.ca>
|
||||||
|
Graeme W. Gill <graeme@labtam.oz.au>
|
||||||
|
Hadmut Danisch <danisch@ira.uka.de>
|
||||||
|
Ingo Wilken <Ingo.Wilken@informatik.uni-oldenburg.de>
|
||||||
|
James Darrell McCauley <mccauley@mcs.com>
|
||||||
|
John Tiller <tiller@galois.msfc.nasa.gov>
|
||||||
|
John Walker <kelvin@Autodesk.com>
|
||||||
|
Kanthan Pillay <svpillay@Princeton.EDU>
|
||||||
|
Ken Yap <ken@cs.rocester.edu>
|
||||||
|
Lyle Rains <lrains@netcom.com>
|
||||||
|
Marcel Wijkstra <wijkstra@fwi.uva.nl>
|
||||||
|
Marc Boucher <marc@PostImage.COM>
|
||||||
|
Oliver Trepte <oliver.trepte@dd.sigma.se>
|
||||||
|
Patrick J. Naughton <naughton@wind.sun.com>
|
||||||
|
Paul Haeberli <paul@manray.sgi.com>
|
||||||
|
Paul Breslaw <paul@mecazh.uu.ch>
|
||||||
|
S.Petra Zeidler <spz@specklec.mpifr-bonn.mpg.de>
|
||||||
|
Steve Belczyk <seb3@gte.com>
|
||||||
|
Warren Toomey <wkt@csadfa.cs.adfa.oz.au>
|
||||||
|
Wilson H. Bent. Jr. <whb@evtech.com>
|
||||||
|
Wolfgang Stuerzlinger <wrzl@gup.uni-linz.ac.at>
|
||||||
|
|
||||||
|
%package -n libnetpbm
|
||||||
|
Version: 1.0.0
|
||||||
|
Release: 676
|
||||||
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL), Other License(s), see package
|
||||||
|
Summary: Libraries for the NetPBM (NetPortableBitmap) Graphic Formats
|
||||||
|
Group: System/Libraries
|
||||||
|
Autoreqprov: on
|
||||||
|
Provides: libnetpb
|
||||||
|
Obsoletes: libnetpb
|
||||||
|
|
||||||
|
%description -n libnetpbm
|
||||||
|
These are the libs for the netpbm graphic formats. The tools can be
|
||||||
|
found in the netpbm package. The sources are contained in the netpbm
|
||||||
|
source package.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Rob Hooft <hooft@EMBL-Heidelberg.DE>
|
||||||
|
Michael Mauldin <mlm@cs.cmu.edu>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
%setup -D -q -a 1
|
||||||
|
%setup -D -q -a 2
|
||||||
|
rm -rf libtiff
|
||||||
|
%patch
|
||||||
|
%patch2
|
||||||
|
%patch4
|
||||||
|
%patch5
|
||||||
|
%patch6
|
||||||
|
%patch7 -p1
|
||||||
|
%patch8
|
||||||
|
%patch9
|
||||||
|
%patch10
|
||||||
|
%patch11
|
||||||
|
%patch12
|
||||||
|
%patch13
|
||||||
|
%patch14
|
||||||
|
%patch15
|
||||||
|
%patch16
|
||||||
|
%patch17
|
||||||
|
# for ppmtompeg
|
||||||
|
rm -fr ppmtompeg
|
||||||
|
mkdir -p ppmtompeg
|
||||||
|
mkdir -p pnmtopalm
|
||||||
|
cd ppmtompeg
|
||||||
|
cp -v ../converter/ppm/ppmtompeg/BUGS .
|
||||||
|
cp -v ../converter/ppm/ppmtompeg/CHANGES .
|
||||||
|
cp -vr ../converter/ppm/ppmtompeg/docs/ .
|
||||||
|
cp -vr ../converter/ppm/ppmtompeg/examples/ .
|
||||||
|
cd ../pnmtopalm
|
||||||
|
cp -v ../converter/other/pnmtopalm/LICENSE .
|
||||||
|
cp -v ../converter/other/pnmtopalm/README .
|
||||||
|
|
||||||
|
%build
|
||||||
|
cp Makefile.config.in Makefile.config
|
||||||
|
make CFLAGS="$RPM_OPT_FLAGS -fPIC -fstack-protector"
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/{bin,include,%_lib,share/man}
|
||||||
|
make pkgdir=`pwd`/package package STRIPFLAG=
|
||||||
|
cp -prd package/bin $RPM_BUILD_ROOT/usr
|
||||||
|
cp -pd package/{lib,link}/* $RPM_BUILD_ROOT/usr/%_lib
|
||||||
|
ln -sf libnetpbm.so.10.26 $RPM_BUILD_ROOT/usr/%_lib/libnetpbm.so
|
||||||
|
ln -sf libnetpbm.so $RPM_BUILD_ROOT/usr/%_lib/libpbm.so
|
||||||
|
ln -sf libnetpbm.so $RPM_BUILD_ROOT/usr/%_lib/libpgm.so
|
||||||
|
ln -sf libnetpbm.so $RPM_BUILD_ROOT/usr/%_lib/libpnm.so
|
||||||
|
ln -sf libnetpbm.so $RPM_BUILD_ROOT/usr/%_lib/libppm.so
|
||||||
|
cp -pd package/include/* $RPM_BUILD_ROOT/usr/include
|
||||||
|
cp -prd man/* $RPM_BUILD_ROOT/usr/share/man
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/share/netpbm
|
||||||
|
install -m 644 converter/other/pnmtopalm/*.map $RPM_BUILD_ROOT/usr/share/netpbm
|
||||||
|
rm $RPM_BUILD_ROOT/usr/bin/g3topbm #conflict with g3utils
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post -n libnetpbm
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
|
%postun -n libnetpbm
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README doc/* netpbm.sourceforge.net/doc
|
||||||
|
%doc ppmtompeg/ pnmtopalm/
|
||||||
|
%doc %{_mandir}/man1/*.gz
|
||||||
|
%doc %{_mandir}/man3/*.gz
|
||||||
|
%doc %{_mandir}/man5/*.gz
|
||||||
|
/usr/bin/*
|
||||||
|
/usr/share/netpbm
|
||||||
|
|
||||||
|
%files -n libnetpbm
|
||||||
|
%defattr(-,root,root)
|
||||||
|
/usr/include/*
|
||||||
|
%{_libdir}/lib*
|
||||||
|
|
||||||
|
%changelog -n netpbm
|
||||||
|
* Wed Dec 06 2006 - prusnak@suse.cz
|
||||||
|
- fixed pamtouil crash when -name was specified (pamtouil.patch)
|
||||||
|
- changed transparency handling (pnmtopng-transparent.patch) [#225258]
|
||||||
|
* Thu Nov 30 2006 - prusnak@suse.cz
|
||||||
|
- fixed missing manpages [#224478]
|
||||||
|
- fixed segfault in pbmtext [#224420]
|
||||||
|
* Tue Nov 14 2006 - prusnak@suse.cz
|
||||||
|
- fixed [#216670]
|
||||||
|
- removed man pages that pointed to online documentation (manpages.patch)
|
||||||
|
- added man pages generated from HTML documentation (manpages.tar.bz2)
|
||||||
|
* Thu Mar 23 2006 - nadvornik@suse.cz
|
||||||
|
- fixed uninitialized variables [#155948]
|
||||||
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
* Thu Jan 12 2006 - nadvornik@suse.cz
|
||||||
|
- compile with -fstack-protector
|
||||||
|
* Thu Jan 05 2006 - nadvornik@suse.cz
|
||||||
|
- updated to 10.26.22
|
||||||
|
* Tue Nov 15 2005 - nadvornik@suse.cz
|
||||||
|
- fixed possible buffer overflow [#133649]
|
||||||
|
* Thu Oct 13 2005 - nadvornik@suse.cz
|
||||||
|
- fixed possible buffer overflow (CAN-2005-2978) [#119601]
|
||||||
|
* Mon Sep 26 2005 - nadvornik@suse.cz
|
||||||
|
- fixed fiasco on bigendian [#105431]
|
||||||
|
* Tue Aug 09 2005 - nadvornik@suse.cz
|
||||||
|
- call ghostscript with the -dSAFER option [#102527]
|
||||||
|
* Mon Aug 01 2005 - nadvornik@suse.cz
|
||||||
|
- fixed libnetpb.so symlink
|
||||||
|
* Fri Jul 29 2005 - nadvornik@suse.cz
|
||||||
|
- installed palm colormaps required by plucker
|
||||||
|
* Thu Jul 28 2005 - nadvornik@suse.cz
|
||||||
|
- updated to 10.26.12
|
||||||
|
* Wed Jun 22 2005 - schwab@suse.de
|
||||||
|
- Fix aliasing bug.
|
||||||
|
- Don't strip binaries.
|
||||||
|
* Thu Jan 06 2005 - nadvornik@suse.cz
|
||||||
|
- updated to 10.18.18
|
||||||
|
- fixed tempdir handling in anytopbm [#49446]
|
||||||
|
* Fri Nov 19 2004 - ro@suse.de
|
||||||
|
- fixed file list
|
||||||
|
* Tue Aug 31 2004 - jw@suse.de
|
||||||
|
- fix uninitialized colornames in libppmcolor.c,
|
||||||
|
that caused ppmtoxpm to segv on x86-64.
|
||||||
|
* Fri Aug 27 2004 - kukuk@suse.de
|
||||||
|
- Fix .so symlink
|
||||||
|
* Thu Aug 26 2004 - nadvornik@suse.cz
|
||||||
|
- updated to 10.18.15: many bugfixes, incuding pnmtopng fix [#42868]
|
||||||
|
* Thu Mar 18 2004 - nadvornik@suse.cz
|
||||||
|
- do not pack /usr/bin/doc.url [#36329]
|
||||||
|
* Fri Mar 05 2004 - nadvornik@suse.cz
|
||||||
|
- fixed pbmtextps [#32104]
|
||||||
|
- fixed dangerous compiler warnings
|
||||||
|
* Mon Jan 26 2004 - nadvornik@suse.cz
|
||||||
|
- fixed temp files handling [#34036]
|
||||||
|
* Sat Jan 10 2004 - adrian@suse.de
|
||||||
|
- add %%run_ldconfig
|
||||||
|
* Thu Sep 18 2003 - nadvornik@suse.cz
|
||||||
|
- fixed tail/head syntax [#31231]
|
||||||
|
* Wed May 28 2003 - nadvornik@suse.cz
|
||||||
|
- remove unpackaged files from buildroot
|
||||||
|
* Thu Feb 13 2003 - ro@suse.de
|
||||||
|
- fix symlink for libnetpbm.so
|
||||||
|
* Tue Feb 11 2003 - nadvornik@suse.cz
|
||||||
|
- updated to 10.11.4
|
||||||
|
* Mon Aug 05 2002 - nadvornik@suse.cz
|
||||||
|
- removed g3topbm again
|
||||||
|
* Mon Jul 29 2002 - schwab@suse.de
|
||||||
|
- Fix reference to perl in scripts.
|
||||||
|
* Sat Jul 27 2002 - kukuk@suse.de
|
||||||
|
- Create compatibility links for the old libraries to compile
|
||||||
|
old sources
|
||||||
|
* Sat Jul 27 2002 - meissner@suse.de
|
||||||
|
- %%_lib fixes, use RPM_OPT_FLAGS and -fPIC
|
||||||
|
* Fri Jul 26 2002 - adrian@suse.de
|
||||||
|
- fix neededforbuild
|
||||||
|
* Fri Jul 26 2002 - nadvornik@suse.cz
|
||||||
|
- updated to 10.5:
|
||||||
|
- libraries libpbm, libpgm, libpnm, libppm merged to libnetpbm
|
||||||
|
- documentation is in html only
|
||||||
|
* Tue May 14 2002 - nadvornik@suse.cz
|
||||||
|
- fixed usage of the %%{_libdir} macro
|
||||||
|
* Tue Feb 26 2002 - nadvornik@suse.cz
|
||||||
|
- fixed "#!/bin/sh" line in ppmtomap
|
||||||
|
* Thu Feb 07 2002 - nadvornik@suse.cz
|
||||||
|
- updated to 9.24
|
||||||
|
* Fri Feb 01 2002 - ro@suse.de
|
||||||
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||||
|
* Thu Jan 10 2002 - nadvornik@suse.cz
|
||||||
|
- update to 9.23:
|
||||||
|
- bugfix release
|
||||||
|
- patched pnmtops to accept -dpi <number>x<number> [bug #12591]
|
||||||
|
- used macros %%{_lib} and %%{_libdir}
|
||||||
|
* Wed Dec 05 2001 - nadvornik@suse.cz
|
||||||
|
- update to 9.21:
|
||||||
|
- new: pamdeinterlace, pnmquant, ppmtoneo, neotoppm
|
||||||
|
* Tue Sep 04 2001 - nadvornik@suse.cz
|
||||||
|
- removed jbigtopnm and pnmtojbig because of potential patent
|
||||||
|
problems [bug #9903]
|
||||||
|
- fixed segfault in icontopnm
|
||||||
|
* Thu Aug 23 2001 - ro@suse.de
|
||||||
|
- added pm.h and pm_config.h to INTERFACE_HEADERS
|
||||||
|
(pm.h is included by pbm.h and includes pm_config.h)
|
||||||
|
* Thu Aug 23 2001 - nadvornik@suse.cz
|
||||||
|
- update to 9.16
|
||||||
|
new: pbmtopsg3 (Postscript G3 fax), pbmtonokia, ppmrainbow
|
||||||
|
pamoil (a replacement for pgmoil)
|
||||||
|
fixes and updates:
|
||||||
|
ppmtogif, ppmtojpeg, xpmtoppm, pnmtopng/pngtopnm,
|
||||||
|
giftopnm, ppm3d, tifftopnm, pgmcrater, pnmgamma,
|
||||||
|
ppmcie, pnmscale, pnmscalefixed, ppmtoeyuv, eyuvtoppm
|
||||||
|
pstopnm
|
||||||
|
- removed hpcdtoppm from source, because selling and commercial
|
||||||
|
using is prohibited
|
||||||
|
* Tue Jun 05 2001 - pblaha@suse.cz
|
||||||
|
- upgrade on 9.14
|
||||||
|
- add documentation and examples for ppmtompeg fix bug #8647
|
||||||
|
* Thu Apr 05 2001 - pblaha@suse.cz
|
||||||
|
- make ln -s pnmtoplainpnm pnmnoraw and ln -s gemtopnm gemtopbm
|
||||||
|
* Tue Apr 03 2001 - kukuk@suse.de
|
||||||
|
- Remove g2topbm again due conficts with g3utils
|
||||||
|
* Mon Mar 26 2001 - pblaha@suse.cz
|
||||||
|
- update on 9.12
|
||||||
|
* Wed Mar 14 2001 - pblaha@suse.cz
|
||||||
|
- remove g3topbm due to conflict with g3utils
|
||||||
|
* Wed Mar 07 2001 - pblaha@suse.cz
|
||||||
|
- update on 9.11
|
||||||
|
* Wed Jan 24 2001 - pblaha@suse.cz
|
||||||
|
- update on 9.10
|
||||||
|
* Fri Dec 22 2000 - garloff@suse.de
|
||||||
|
- Add Provides + Obsoletes: libnetpb.
|
||||||
|
- Use some more macros in spec file.
|
||||||
|
- bzip2 source.
|
||||||
|
* Tue Dec 05 2000 - schwab@suse.de
|
||||||
|
- Be sure to compile with -fpic.
|
||||||
|
* Mon Dec 04 2000 - kukuk@suse.de
|
||||||
|
- Fix again path to perl
|
||||||
|
* Thu Nov 30 2000 - pblaha@suse.cz
|
||||||
|
- remove g3topbm and pbmtog3 for conflict with g3utils
|
||||||
|
* Tue Nov 28 2000 - kukuk@suse.de
|
||||||
|
- Use /usr/bin/perl
|
||||||
|
* Tue Nov 28 2000 - pblaha@suse.cz
|
||||||
|
- remove hpcdtoppm because conflict with photocd
|
||||||
|
* Mon Oct 02 2000 - pblaha@suse.cz
|
||||||
|
- update to 9.8 and rename libnetpb to libnetpbm
|
||||||
|
* Fri Sep 29 2000 - ro@suse.de
|
||||||
|
- fixed Makefile deps
|
||||||
|
* Mon Jul 10 2000 - bubnikv@suse.cz
|
||||||
|
- fixed pbmtog3 to use fixed width of fax image (standard), added
|
||||||
|
switch to allow usage of source image width
|
||||||
|
- updated man page of pbmtog3
|
||||||
|
- changed URLs of home page and source file
|
||||||
|
* Tue Jun 20 2000 - nadvornik@suse.cz
|
||||||
|
- added shhopt.h, libshhopt.*
|
||||||
|
* Fri May 26 2000 - bubnikv@suse.cz
|
||||||
|
- sorted
|
||||||
|
* Fri May 19 2000 - nadvornik@suse.cz
|
||||||
|
- fixed Imakefile
|
||||||
|
* Tue May 16 2000 - nadvornik@suse.cz
|
||||||
|
- update to 8.4
|
||||||
|
- added BuildRoot
|
||||||
|
* Fri May 12 2000 - schwab@suse.de
|
||||||
|
- pbmplus.h: fix linux configuration.
|
||||||
|
* Tue Feb 29 2000 - kukuk@suse.de
|
||||||
|
- Let ldconfig create correct links for shared libraries and add
|
||||||
|
them to file list
|
||||||
|
* Mon Sep 13 1999 - bs@suse.de
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
* Thu Jan 14 1999 - ro@suse.de
|
||||||
|
- pbmplus.h: don't redeclare write on alpha
|
||||||
|
* Wed Jun 17 1998 - ro@suse.de
|
||||||
|
- patched to build for libc5 and glibc
|
||||||
|
* Thu May 14 1998 - ro@suse.de
|
||||||
|
- added patch to build pbmtosff from Christian Lademann
|
||||||
|
* Tue May 12 1998 - ro@suse.de
|
||||||
|
- extracted package from libgr / build from own sources
|
35
prepare-src-tarball
Normal file
35
prepare-src-tarball
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
#This script is used to create netpbm-$VER-nohpcdtoppm-nojbig.tar.bz2
|
||||||
|
#from netpbm-$VER.tgz
|
||||||
|
#netpbm-$VER.tgz can be found at http://sourceforge.net/projects/netpbm/
|
||||||
|
|
||||||
|
|
||||||
|
VER=10.26.22
|
||||||
|
rm -rf REMOVE
|
||||||
|
mkdir REMOVE
|
||||||
|
cd REMOVE
|
||||||
|
tar xzf ../netpbm-$VER.tgz
|
||||||
|
|
||||||
|
cd netpbm*/converter/ppm/hpcdtoppm || exit 1
|
||||||
|
rm -rf *
|
||||||
|
echo all: >> Makefile
|
||||||
|
echo install.bin: >> Makefile
|
||||||
|
echo install.man: >> Makefile
|
||||||
|
echo install.data: >> Makefile
|
||||||
|
echo clean: >> Makefile
|
||||||
|
cd ../../../..
|
||||||
|
|
||||||
|
cd netpbm*/converter/other/jbig || exit 1
|
||||||
|
rm -rf *
|
||||||
|
echo all: >> Makefile
|
||||||
|
echo install.bin: >> Makefile
|
||||||
|
echo install.man: >> Makefile
|
||||||
|
echo install.data: >> Makefile
|
||||||
|
echo clean: >> Makefile
|
||||||
|
cd ../../../..
|
||||||
|
|
||||||
|
|
||||||
|
tar cjf ../netpbm-$VER-nohpcdtoppm-nojbig.tar.bz2 *
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user