source: x/lib/kcolorpicker.xml

trunk
Last change on this file was a80c832, checked in by Xi Ruoyao <xry111@…>, 2 weeks ago

treewide: Simplify GitHub archive URL by removing redundant "refs/tags/"

The "refs/tags/" component is only useful when a tag shares its name
with a branch. Any rational upstream maintainer shall not create such
a namesis.

I've verified all the changes does not affect the md5sum of download
files.

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 kcolorpicker-download-http "https://github.com/ksnip/kColorPicker/archive/v&kcolorpicker-version;/kColorPicker-&kcolorpicker-version;.tar.gz">
8 <!ENTITY kcolorpicker-download-ftp " ">
9 <!ENTITY kcolorpicker-md5sum "1efc91252446af0d7e5c467ea7d517e7">
10 <!ENTITY kcolorpicker-size "16 KB">
11 <!ENTITY kcolorpicker-buildsize "2.4 MB">
12 <!ENTITY kcolorpicker-time "less than 0.1 SBU">
13]>
14
15<sect1 id="kcolorpicker" xreflabel="kcolorpicker-&kcolorpicker-version;">
16 <?dbhtml filename="kcolorpicker.html"?>
17
18 <title>kColorPicker-&kcolorpicker-version;</title>
19
20 <indexterm zone="kcolorpicker">
21 <primary sortas="a-kcolorpicker">kcolorpicker</primary>
22 </indexterm>
23
24 <sect2 role="package">
25 <title>Introduction to kColorPicker</title>
26
27 <para>
28 kColorPicker is a QToolButton library with a color popup menu, which
29 lets you select colors. The popup menu features a color dialog button
30 which can be used to add custom colors to the popup menu.
31 </para>
32
33 &lfs121_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&kcolorpicker-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&kcolorpicker-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &kcolorpicker-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &kcolorpicker-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &kcolorpicker-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &kcolorpicker-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">kColorPicker Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="cmake"/> and
74 <xref linkend="qt6"/>
75 </para>
76
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of kColorPicker</title>
82
83 <para>
84 Install <application>kColorPicker</application> by
85 running the following commands:
86 </para>
87
88<screen><userinput>mkdir build &amp;&amp;
89cd build &amp;&amp;
90
91cmake -DCMAKE_INSTALL_PREFIX=/usr \
92 -DCMAKE_BUILD_TYPE=Release \
93 -DBUILD_SHARED_LIBS=ON \
94 -DBUILD_WITH_QT6=ON \
95 .. &amp;&amp;
96make</userinput></screen>
97
98 <para>
99 This package does not come with a test suite.
100 </para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>make install</userinput></screen>
107
108 </sect2>
109
110 <sect2 role="content">
111 <title>Contents</title>
112
113 <segmentedlist>
114 <segtitle>Installed Programs</segtitle>
115 <segtitle>Installed Libraries</segtitle>
116 <segtitle>Installed Directories</segtitle>
117
118 <seglistitem>
119 <seg>None</seg>
120 <seg>
121 libkColorPicker.so
122 </seg>
123 <seg>
124 /usr/lib/cmake/kColorPicker
125 </seg>
126 </seglistitem>
127 </segmentedlist>
128
129 </sect2>
130
131</sect1>
Note: See TracBrowser for help on using the repository browser.