Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/mupdf/files: mupdf-1.3-openjpeg2.patch mupdf-1.3-pkg-config.patch mupdf-1.3-sys_curl.patch mupdf-1.3-forward_back.patch mupdf-1.3-zoom-2.patch mupdf-1.3-CFLAGS.patch mupdf-9999-openjpeg2.patch mupdf-9999-zoom-2.patch mupdf-9999-pkg-config.patch mupdf-9999-sys_curl.patch mupdf-9999-CFLAGS.patch mupdf-9999-forward_back.patch
Date: Wed, 28 Aug 2013 10:28:21
Message-Id: 20130828102818.6D6202004C@flycatcher.gentoo.org
1 xmw 13/08/28 10:28:18
2
3 Added: mupdf-1.3-openjpeg2.patch
4 mupdf-1.3-pkg-config.patch mupdf-1.3-sys_curl.patch
5 mupdf-1.3-forward_back.patch mupdf-1.3-zoom-2.patch
6 mupdf-1.3-CFLAGS.patch
7 Removed: mupdf-9999-openjpeg2.patch mupdf-9999-zoom-2.patch
8 mupdf-9999-pkg-config.patch
9 mupdf-9999-sys_curl.patch mupdf-9999-CFLAGS.patch
10 mupdf-9999-forward_back.patch
11 Log:
12 Version bump, rename patch files, fix desktop file.
13
14 (Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
15
16 Revision Changes Path
17 1.1 app-text/mupdf/files/mupdf-1.3-openjpeg2.patch
18
19 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-openjpeg2.patch?rev=1.1&view=markup
20 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-openjpeg2.patch?rev=1.1&content-type=text/plain
21
22 Index: mupdf-1.3-openjpeg2.patch
23 ===================================================================
24 http://bugs.ghostscript.com/show_bug.cgi?id=693518
25
26 --- mupdf-1.3/Makerules
27 +++ mupdf-1.3/Makerules
28 @@ -52,8 +52,8 @@
29
30 SYS_FREETYPE_CFLAGS = $(shell pkg-config --cflags freetype2)
31 SYS_FREETYPE_LIBS = $(shell pkg-config --libs freetype2)
32 -SYS_OPENJPEG_CFLAGS = $(shell pkg-config --cflags libopenjpeg1)
33 -SYS_OPENJPEG_LIBS = $(shell pkg-config --libs libopenjpeg1)
34 +SYS_OPENJPEG_CFLAGS = $(shell pkg-config --cflags libopenjp2)
35 +SYS_OPENJPEG_LIBS = $(shell pkg-config --libs libopenjp2)
36 SYS_JBIG2DEC_LIBS = -ljbig2dec
37 SYS_JPEG_LIBS = -ljpeg
38 SYS_ZLIB_LIBS = -lz
39
40
41
42 1.1 app-text/mupdf/files/mupdf-1.3-pkg-config.patch
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-pkg-config.patch?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-pkg-config.patch?rev=1.1&content-type=text/plain
46
47 Index: mupdf-1.3-pkg-config.patch
48 ===================================================================
49 no pkgconfig data for jbig2dec and jpeg
50 http://bugs.ghostscript.com/show_bug.cgi?id=694301
51
52 openjpeg-2
53 http://bugs.ghostscript.com/show_bug.cgi?id=693518
54
55 --- mupdf-1.3/platform/debian/mupdf.pc
56 +++ mupdf-1.3/platform/debian/mupdf.pc
57 @@ -4,9 +4,9 @@
58 includedir=${prefix}/include
59
60 Name: mupdf
61 Description: Library for rendering PDF documents
62 -Requires.private: freetype2
63 +Requires: freetype2 libopenjp2 libcrypto
64 Version: 0.5.0
65 Libs: -L${libdir} -lmupdf
66 -Libs.private: -lopenjpeg -ljbig2dec -ljpeg -lz -lm
67 +Libs.private: -lmupdf-js-none
68 Cflags: -I${includedir}
69
70
71
72 1.1 app-text/mupdf/files/mupdf-1.3-sys_curl.patch
73
74 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-sys_curl.patch?rev=1.1&view=markup
75 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-sys_curl.patch?rev=1.1&content-type=text/plain
76
77 Index: mupdf-1.3-sys_curl.patch
78 ===================================================================
79 --- mupdf-1.3/Makerules
80 +++ mupdf-1.3/Makerules
81 @@ -63,6 +63,8 @@
82 SYS_JBIG2DEC_LIBS = -ljbig2dec
83 SYS_JPEG_LIBS = -ljpeg
84 SYS_ZLIB_LIBS = -lz
85 +SYS_CURL_CFLAGS = $(shell pkg-config --cflags libcurl)
86 +SYS_CURL_LIBS = $(shell pkg-config --libs libcurl) -lpthread
87
88 endif
89
90
91
92
93 1.1 app-text/mupdf/files/mupdf-1.3-forward_back.patch
94
95 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-forward_back.patch?rev=1.1&view=markup
96 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-forward_back.patch?rev=1.1&content-type=text/plain
97
98 Index: mupdf-1.3-forward_back.patch
99 ===================================================================
100 Add F86XK_Forward and XF86XK_Back for page switch by muhpdf@××××××××.com
101 on http://bugs.ghostscript.com/show_bug.cgi?id=693494
102
103 --- mupdf-1.3/platform/x11/x11_main.c
104 +++ mupdf-1.3/platform/x11/x11_main.c
105 @@ -5,6 +5,7 @@
106 #include <X11/Xatom.h>
107 #include <X11/cursorfont.h>
108 #include <X11/keysym.h>
109 +#include <X11/XF86keysym.h>
110
111 #include <sys/select.h>
112 #include <sys/time.h>
113 @@ -836,9 +837,11 @@
114 break;
115
116 case XK_Page_Up:
117 + case XF86XK_Back:
118 len = 1; buf[0] = ',';
119 break;
120 case XK_Page_Down:
121 + case XF86XK_Forward:
122 len = 1; buf[0] = '.';
123 break;
124 }
125
126
127
128 1.1 app-text/mupdf/files/mupdf-1.3-zoom-2.patch
129
130 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-zoom-2.patch?rev=1.1&view=markup
131 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-zoom-2.patch?rev=1.1&content-type=text/plain
132
133 Index: mupdf-1.3-zoom-2.patch
134 ===================================================================
135 --- mupdf-1.3/platform/x11/pdfapp.c
136 +++ mupdf-1.3/platform/x11/pdfapp.c
137 @@ -866,6 +867,7 @@
138 break;
139
140 case ' ':
141 + case 'F':
142 panto = DONT_PAN;
143 if (app->numberlen > 0)
144 app->pageno += atoi(app->number);
145
146
147
148 1.1 app-text/mupdf/files/mupdf-1.3-CFLAGS.patch
149
150 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-CFLAGS.patch?rev=1.1&view=markup
151 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-1.3-CFLAGS.patch?rev=1.1&content-type=text/plain
152
153 Index: mupdf-1.3-CFLAGS.patch
154 ===================================================================
155 --- mupdf-1.3/Makerules
156 +++ mupdf-1.3/Makerules
157 @@ -6,7 +6,7 @@
158 CFLAGS += -Wall
159
160 ifeq "$(build)" "debug"
161 -CFLAGS += -pipe -g -DDEBUG
162 +CFLAGS += -DDEBUG
163 else ifeq "$(build)" "profile"
164 CFLAGS += -pipe -O2 -DNDEBUG -pg
165 LDFLAGS += -pg