source: kde/kf5-apps/libkdcraw.xml

trunk
Last change on this file was cb28699, checked in by Pierre Labastie <pierre.labastie@…>, 4 weeks ago

Fix building libkdcraw with libraw-0.21+

  • Property mode set to 100644
File size: 3.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libkdcraw-download-http "&kf5apps-download-http;/libkdcraw-&kf5apps-version;.tar.xz">
8 <!ENTITY libkdcraw-download-ftp " ">
9 <!ENTITY libkdcraw-md5sum "3a7bb5deea2e28c3022354fd754de9b4">
10 <!ENTITY libkdcraw-size "40 KB">
11 <!ENTITY libkdcraw-buildsize "1.5 MB">
12 <!ENTITY libkdcraw-time "less than 0.1 SBU">
13]>
14
15<sect1 id="libkdcraw" xreflabel="libkdcraw-&kf5apps-version;">
16 <?dbhtml filename="libkdcraw.html"?>
17
18
19 <title>libkdcraw-&kf5apps-version;</title>
20
21 <indexterm zone="libkdcraw">
22 <primary sortas="a-libkdcraw">libkdcraw</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libkdcraw</title>
27
28 <para>
29 <application>Libkdcraw</application> is a KDE wrapper around the
30 <xref linkend="libraw"/> library for manipulating image metadata.
31 </para>
32
33 &lfs112_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&libkdcraw-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&libkdcraw-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &libkdcraw-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &libkdcraw-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &libkdcraw-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &libkdcraw-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68<!--
69 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
70 <itemizedlist spacing="compact">
71 <listitem>
72 <para>
73 Required patch:
74 <ulink
75 url="&patch-root;/libkdcraw-&kf5apps-version;-libraw19-1.patch"/>
76 </para>
77 </listitem>
78 </itemizedlist>
79-->
80 <bridgehead renderas="sect3">libkdcraw Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
84 <xref linkend="kf5-frameworks"/> and
85 <xref linkend="libraw"/>
86 </para>
87
88 <para condition="html" role="usernotes">
89 User Notes: <ulink url="&blfs-wiki;/libkdcraw"/>
90 </para>
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of libkdcraw</title>
95
96 <para>
97 Fix building with libraw-0.21.0 or later:
98 </para>
99
100<screen><userinput>sed -e '/shot_select/s/params/raw&amp;/' \
101 -i src/kdcraw.cpp</userinput></screen>
102
103 <para>
104 Install <application>libkdcraw</application> by running the following
105 commands:
106 </para>
107
108<screen><userinput>mkdir build &amp;&amp;
109cd build &amp;&amp;
110
111cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
112 -DCMAKE_BUILD_TYPE=Release \
113 -DBUILD_TESTING=OFF \
114 -Wno-dev .. &amp;&amp;
115make</userinput></screen>
116
117 <para>
118 This package does not come with a test suite.
119 </para>
120
121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>make install</userinput></screen>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
132 <segmentedlist>
133 <segtitle>Installed Programs</segtitle>
134 <segtitle>Installed Library</segtitle>
135 <segtitle>Installed Directories</segtitle>
136
137 <seglistitem>
138 <seg>
139 None
140 </seg>
141 <seg>
142 libKF5KDcraw.so
143 </seg>
144 <seg>
145 $KF5_PREFIX/include/KF5/KDCRAW and
146 $KF5_PREFIX/lib/cmake/KF5KDcraw
147 </seg>
148 </seglistitem>
149 </segmentedlist>
150
151 </sect2>
152
153</sect1>
Note: See TracBrowser for help on using the repository browser.