From 246c2e4b4163784aa876ae14d2706fd7eab347e5 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 30 May 2021 07:10:44 -0400 Subject: [PATCH] Rename as PDFio for consistency. Add PDFio logo image. Move documentation to "doc" subdirectory. --- Makefile | 16 +++++++++------- NOTICE | 2 +- doc/pdfio-512.png | Bin 0 -> 18333 bytes pdfio.3 => doc/pdfio.3 | 6 +++--- pdfio.html => doc/pdfio.html | 9 +++++---- pdfio.md => doc/pdfio.md | 4 ++-- pdfio-array.c | 2 +- pdfio-content.c | 2 +- pdfio-content.h | 2 +- pdfio-dict.c | 2 +- pdfio-file.c | 2 +- pdfio-object.c | 4 ++-- pdfio-page.c | 2 +- pdfio-private.h | 2 +- pdfio-stream.c | 2 +- pdfio-string.c | 2 +- pdfio-token.c | 2 +- pdfio-value.c | 2 +- pdfio.h | 2 +- pdfio.pc.in | 1 - testpdfio.c | 2 +- 21 files changed, 35 insertions(+), 33 deletions(-) create mode 100644 doc/pdfio-512.png rename pdfio.3 => doc/pdfio.3 (99%) rename pdfio.html => doc/pdfio.html (99%) rename pdfio.md => doc/pdfio.md (78%) diff --git a/Makefile b/Makefile index 2d9a2e5..bff4041 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# Makefile for pdfio. +# Makefile for PDFio. # # Copyright © 2021 by Michael R Sweet. # @@ -92,12 +92,13 @@ install: $(TARGETS) ln -sf libpdfio.1.dylib $(DESTDIR)$(prefix)/lib/libpdfio.dylib; \ fi -mkdir -p $(DESTDIR)$(prefix)/lib/pkgconfig - echo '"prefix="$(prefix)"' >>$(DESTDIR)$(prefix)/lib/pkgconfig/pdfio.pc - cat pdfio.pc.in >$(DESTDIR)$(prefix)/lib/pkgconfig/pdfio.pc + echo 'prefix="$(prefix)"' >$(DESTDIR)$(prefix)/lib/pkgconfig/pdfio.pc + echo 'Version: $(VERSION)' >>$(DESTDIR)$(prefix)/lib/pkgconfig/pdfio.pc + cat pdfio.pc.in >>$(DESTDIR)$(prefix)/lib/pkgconfig/pdfio.pc -mkdir -p $(DESTDIR)$(prefix)/share/doc/pdfio - cp pdfio.html LICENSE NOTICE $(DESTDIR)$(prefix)/share/doc/pdfio + cp doc/pdfio.html doc/pdfio-512.png LICENSE NOTICE $(DESTDIR)$(prefix)/share/doc/pdfio -mkdir -p $(DESTDIR)$(prefix)/share/man/man3 - cp pdfio.3 LICENSE NOTICE $(DESTDIR)$(prefix)/share/man/man3 + cp doc/pdfio.3 $(DESTDIR)$(prefix)/share/man/man3 install-shared: if test `uname` = Darwin; then \ @@ -141,7 +142,8 @@ DOCFLAGS = \ --copyright "Copyright (c) 2021 by Michael R Sweet" \ --docversion $(VERSION) +.PHONY: doc doc: - codedoc $(DOCFLAGS) --title "pdfio Programming Manual v$(VERSION)" pdfio.h $(LIBOBJS:.o=.c) --body pdfio.md pdfio.xml >pdfio.html - codedoc $(DOCFLAGS) --title "pdf read/write library" --man pdfio --section 3 --body pdfio.md pdfio.xml >pdfio.3 + codedoc $(DOCFLAGS) --title "PDFio Programming Manual v$(VERSION)" pdfio.h $(LIBOBJS:.o=.c) --body doc/pdfio.md --coverimage doc/pdfio-512.png pdfio.xml >doc/pdfio.html + codedoc $(DOCFLAGS) --title "pdf read/write library" --man pdfio --section 3 --body doc/pdfio.md pdfio.xml >doc/pdfio.3 rm -f pdfio.xml diff --git a/NOTICE b/NOTICE index d0c5ec6..34f1ad5 100644 --- a/NOTICE +++ b/NOTICE @@ -1,4 +1,4 @@ -pdfio - PDF Read/Write Library +PDFio - PDF Read/Write Library Copyright © 2021 by Michael R Sweet. diff --git a/doc/pdfio-512.png b/doc/pdfio-512.png new file mode 100644 index 0000000000000000000000000000000000000000..81409a1c552a308a33f16a2f1355a6763b57524d GIT binary patch literal 18333 zcmdVB1yogQ*FU;8f^5xw84w3E_K|n;hySZz7&U?;z zzxTW2{^S0~xR)^;d+oK?n$LXZGoLws^Y=`{RFtIAQHW3g06>?Od9DTkaNs2zfCT&S zBa$csKOk;u($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44C7xQ!3R7xli>dgV5>~n literal 0 HcmV?d00001 diff --git a/pdfio.3 b/doc/pdfio.3 similarity index 99% rename from pdfio.3 rename to doc/pdfio.3 index dbd483d..a60835c 100644 --- a/pdfio.3 +++ b/doc/pdfio.3 @@ -1,9 +1,9 @@ -.TH pdfio 3 "pdf read/write library" "2021-05-29" "pdf read/write library" +.TH pdfio 3 "pdf read/write library" "2021-05-30" "pdf read/write library" .SH NAME pdfio \- pdf read/write library .SH Introduction .PP -pdfio is a simple C library for reading and writing PDF files. The primary goals of pdfio are: +PDFio is a simple C library for reading and writing PDF files. The primary goals of pdfio are: .IP \(bu 5 .PP Read any PDF file with or without encryption or linearization @@ -26,7 +26,7 @@ Provide access to objects used for each page .PP -pdfio is +PDFio is .I not concerned with rendering or viewing a PDF file, although a PDF RIP or viewer could be written using it. diff --git a/pdfio.html b/doc/pdfio.html similarity index 99% rename from pdfio.html rename to doc/pdfio.html index c761349..776e7ea 100644 --- a/pdfio.html +++ b/doc/pdfio.html @@ -1,7 +1,7 @@ -pdfio Programming Manual v0.1 +PDFio Programming Manual v0.1 @@ -244,7 +244,8 @@ span.string {
-

pdfio Programming Manual v0.1

+

+

PDFio Programming Manual v0.1

Michael R Sweet

Copyright © 2021 by Michael R Sweet

@@ -414,7 +415,7 @@ span.string {

Introduction

-

pdfio is a simple C library for reading and writing PDF files. The primary goals of pdfio are:

+

PDFio is a simple C library for reading and writing PDF files. The primary goals of pdfio are:

  • Read any PDF file with or without encryption or linearization

  • @@ -427,7 +428,7 @@ span.string {
  • Provide access to objects used for each page

-

pdfio is not concerned with rendering or viewing a PDF file, although a PDF RIP or viewer could be written using it.

+

PDFio is not concerned with rendering or viewing a PDF file, although a PDF RIP or viewer could be written using it.

Functions

pdfioArrayAppendArray

Add an array value to an array.

diff --git a/pdfio.md b/doc/pdfio.md similarity index 78% rename from pdfio.md rename to doc/pdfio.md index 74d4e2a..8c3c503 100644 --- a/pdfio.md +++ b/doc/pdfio.md @@ -1,7 +1,7 @@ Introduction ============ -pdfio is a simple C library for reading and writing PDF files. The primary +PDFio is a simple C library for reading and writing PDF files. The primary goals of pdfio are: - Read any PDF file with or without encryption or linearization @@ -11,5 +11,5 @@ goals of pdfio are: that are missing from a PDF - Provide access to objects used for each page -pdfio is *not* concerned with rendering or viewing a PDF file, although a PDF +PDFio is *not* concerned with rendering or viewing a PDF file, although a PDF RIP or viewer could be written using it. diff --git a/pdfio-array.c b/pdfio-array.c index 35358d3..35fa1d0 100644 --- a/pdfio-array.c +++ b/pdfio-array.c @@ -1,5 +1,5 @@ // -// PDF array functions for pdfio. +// PDF array functions for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio-content.c b/pdfio-content.c index c85e70c..fe53d28 100644 --- a/pdfio-content.c +++ b/pdfio-content.c @@ -1,5 +1,5 @@ // -// Content helper functions for pdfio. +// Content helper functions for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio-content.h b/pdfio-content.h index a0b5247..cbc32d6 100644 --- a/pdfio-content.h +++ b/pdfio-content.h @@ -1,5 +1,5 @@ // -// Public content header file for pdfio. +// Public content header file for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio-dict.c b/pdfio-dict.c index a8c431d..948a7be 100644 --- a/pdfio-dict.c +++ b/pdfio-dict.c @@ -1,5 +1,5 @@ // -// PDF dictionary functions for pdfio. +// PDF dictionary functions for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio-file.c b/pdfio-file.c index 1fb9ea8..98d948b 100644 --- a/pdfio-file.c +++ b/pdfio-file.c @@ -1,5 +1,5 @@ // -// PDF file functions for pdfio. +// PDF file functions for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio-object.c b/pdfio-object.c index a55e082..5ab05e6 100644 --- a/pdfio-object.c +++ b/pdfio-object.c @@ -1,5 +1,5 @@ // -// PDF object functions for pdfio. +// PDF object functions for PDFio. // // Copyright © 2021 by Michael R Sweet. // @@ -155,7 +155,7 @@ pdfioObjCreateStream( if (filter != PDFIO_FILTER_NONE && filter != PDFIO_FILTER_FLATE) { - _pdfioFileError(obj->pdf, "Unsupported filter value for pdfioObjCreateStream."); + _pdfioFileError(obj->pdf, "Unsupported filter value for PDFioObjCreateStream."); return (NULL); } diff --git a/pdfio-page.c b/pdfio-page.c index 6ab30eb..a8be95a 100644 --- a/pdfio-page.c +++ b/pdfio-page.c @@ -1,5 +1,5 @@ // -// PDF page functions for pdfio. +// PDF page functions for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio-private.h b/pdfio-private.h index c1850d2..456a0f4 100644 --- a/pdfio-private.h +++ b/pdfio-private.h @@ -1,5 +1,5 @@ // -// Private header file for pdfio. +// Private header file for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio-stream.c b/pdfio-stream.c index c69cc20..4a4c16c 100644 --- a/pdfio-stream.c +++ b/pdfio-stream.c @@ -1,5 +1,5 @@ // -// PDF stream functions for pdfio. +// PDF stream functions for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio-string.c b/pdfio-string.c index 0de2e95..68c175c 100644 --- a/pdfio-string.c +++ b/pdfio-string.c @@ -1,5 +1,5 @@ // -// PDF dictionary functions for pdfio. +// PDF dictionary functions for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio-token.c b/pdfio-token.c index 6d8e773..f7c1deb 100644 --- a/pdfio-token.c +++ b/pdfio-token.c @@ -1,5 +1,5 @@ // -// PDF token parsing functions for pdfio. +// PDF token parsing functions for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio-value.c b/pdfio-value.c index 11dfa90..06b6d89 100644 --- a/pdfio-value.c +++ b/pdfio-value.c @@ -1,5 +1,5 @@ // -// PDF value functions for pdfio. +// PDF value functions for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio.h b/pdfio.h index 2f10510..e6271b7 100644 --- a/pdfio.h +++ b/pdfio.h @@ -1,5 +1,5 @@ // -// Public header file for pdfio. +// Public header file for PDFio. // // Copyright © 2021 by Michael R Sweet. // diff --git a/pdfio.pc.in b/pdfio.pc.in index 380c1ca..c0bf5b4 100644 --- a/pdfio.pc.in +++ b/pdfio.pc.in @@ -1,6 +1,5 @@ Name: pdfio Description: PDF read/write library -Version: 1.0 URL: https://www.msweet.org/pdfio Requires.private: zlib >= 1.0 Libs: -L${prefix}/lib -lpdfio diff --git a/testpdfio.c b/testpdfio.c index ff22021..7f16cd2 100644 --- a/testpdfio.c +++ b/testpdfio.c @@ -1,5 +1,5 @@ // -// Test program for pdfio. +// Test program for PDFio. // // Copyright © 2021 by Michael R Sweet. //