unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
blob 5f13e285bce3fc65c118a04c256792e2d28eb7c5 1234 bytes (raw)
name: gnu/packages/patches/ghostscript-no-header-uuid.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
--- a/devices/vector/gdevpdfe.c	2017-07-06 10:22:28.131889858 +0200
+++ b/devices/vector/gdevpdfe.c	2017-07-06 10:24:25.137842222 +0200
@@ -612,7 +612,7 @@
         return code;
 
     /* PDF/A XMP reference recommends setting UUID to empty. If not empty must be a URI */
-    if (pdev->PDFA != 0)
+    if (pdev->PDFA != 0 || 1)
         instance_uuid[0] = 0x00;
 
     cre_date_time_len = pdf_get_docinfo_item(pdev, "/CreationDate", cre_date_time, sizeof(cre_date_time));
@@ -715,16 +715,6 @@
             pdf_xml_newline(s);
 
             pdf_xml_tag_open_beg(s, "rdf:Description");
-            pdf_xml_attribute_name(s, "rdf:about");
-            pdf_xml_attribute_value(s, instance_uuid);
-            pdf_xml_attribute_name(s, "xmlns:xapMM");
-            pdf_xml_attribute_value(s, "http://ns.adobe.com/xap/1.0/mm/");
-            pdf_xml_attribute_name(s, "xapMM:DocumentID");
-            pdf_xml_attribute_value(s, document_uuid);
-            pdf_xml_tag_end_empty(s);
-            pdf_xml_newline(s);
-
-            pdf_xml_tag_open_beg(s, "rdf:Description");
             pdf_xml_attribute_name(s, "rdf:about");
             pdf_xml_attribute_value(s, instance_uuid);
             pdf_xml_attribute_name(s, "xmlns:dc");

debug log:

solving 5f13e285b ...
found 5f13e285b in https://yhetil.org/guix-bugs/20170706090754.4399-1-dannym@scratchpost.org/ ||
	https://yhetil.org/guix-bugs/20170706103216.25939-2-dannym@scratchpost.org/

applying [1/1] https://yhetil.org/guix-bugs/20170706090754.4399-1-dannym@scratchpost.org/
diff --git a/gnu/packages/patches/ghostscript-no-header-uuid.patch b/gnu/packages/patches/ghostscript-no-header-uuid.patch
new file mode 100644
index 000000000..5f13e285b

1:11: trailing whitespace.
 
1:16: trailing whitespace.
 
1:20: trailing whitespace.
 
Checking patch gnu/packages/patches/ghostscript-no-header-uuid.patch...
Applied patch gnu/packages/patches/ghostscript-no-header-uuid.patch cleanly.
warning: 3 lines add whitespace errors.

skipping https://yhetil.org/guix-bugs/20170706103216.25939-2-dannym@scratchpost.org/ for 5f13e285b
index at:
100644 5f13e285bce3fc65c118a04c256792e2d28eb7c5	gnu/packages/patches/ghostscript-no-header-uuid.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).