[SCM] syntax-highlighting packaging branch, master, updated. debian/5.36.0-1-12-g3149ed3

Maximiliano Curia maxy at moszumanska.debian.org
Mon Aug 28 06:23:30 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/syntax-highlighting.git;a=commitdiff;h=d175819

The following commit has been merged in the master branch:
commit d1758198270ee1a5a85aacd0139590657d005bcd
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Tue Aug 15 19:43:22 2017 +0200

    Add a libkf5syntaxhighlighting-doc package for the qch files
---
 debian/control                              | 58 +++++++++++++++++++----------
 debian/libkf5syntaxhighlighting-doc.install |  2 +
 debian/rules                                |  3 ++
 3 files changed, 43 insertions(+), 20 deletions(-)

diff --git a/debian/control b/debian/control
index 1e1c075..3592a2b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,25 +5,25 @@ Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
 Uploaders: Maximiliano Curia <maxy at debian.org>
 Build-Depends: cmake (>= 3.0~),
                debhelper (>= 9),
+               doxygen,
                extra-cmake-modules (>= 5.37.0~),
+               graphviz,
+               libqt5sql5-sqlite,
                libqt5xmlpatterns5-dev (>= 5.7.0~),
                perl,
                pkg-kde-tools (>= 0.15.15ubuntu1~),
                qtbase5-dev (>= 5.7.0~),
-               qttools5-dev-tools
+               qttools5-dev-tools (>= 5.4),
 Standards-Version: 4.0.0
 Homepage: https://projects.kde.org/projects/frameworks/syntax-highlighting
 Vcs-Browser: https://anonscm.debian.org/git/pkg-kde/frameworks/ksyntax-highlighting.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-kde/frameworks/ksyntax-highlighting.git
 
-Package: libkf5syntaxhighlighting-dev
-Section: libdevel
-Architecture: any
-Depends: libkf5syntaxhighlighting5 (= ${binary:Version}),
-         libqt5xmlpatterns5-dev (>= 5.7.0~),
-         qtbase5-dev (>= 5.7.0~),
-         ${misc:Depends}
-Description: Syntax highlighting Engine
+Package: libkf5syntaxhighlighting-data
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Syntax highlighting Engine - translations
  This is a stand-alone implementation of the Kate syntax
  highlighting engine. It's meant as a building block for
  text editors as well as for simple highlighted text
@@ -31,14 +31,16 @@ Description: Syntax highlighting Engine
  with a custom editor as well as a ready-to-use
  QSyntaxHighlighter sub-class.
  .
- Contains development files for libkf5syntaxhighlighting5.
+ This package provides the translations.
 
-Package: libkf5syntaxhighlighting5
+Package: libkf5syntaxhighlighting-dev
+Section: libdevel
 Architecture: any
-Multi-Arch: same
-Depends: libkf5syntaxhighlighting-data (= ${source:Version}),
+Depends: libkf5syntaxhighlighting5 (= ${binary:Version}),
+         libqt5xmlpatterns5-dev (>= 5.7.0~),
+         qtbase5-dev (>= 5.7.0~),
          ${misc:Depends},
-         ${shlibs:Depends}
+Recommends: libkf5syntaxhighlighting-doc (= ${source:Version})
 Description: Syntax highlighting Engine
  This is a stand-alone implementation of the Kate syntax
  highlighting engine. It's meant as a building block for
@@ -46,13 +48,14 @@ Description: Syntax highlighting Engine
  rendering (e.g. as HTML), supporting both integration
  with a custom editor as well as a ready-to-use
  QSyntaxHighlighter sub-class.
-Breaks: libkf5texteditor5 (<< 5.37)
+ .
+ Contains development files for libkf5syntaxhighlighting5.
 
-Package: libkf5syntaxhighlighting-data
+Package: libkf5syntaxhighlighting-doc
 Architecture: all
 Multi-Arch: foreign
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: Syntax highlighting Engine - translations
+Depends: ${misc:Depends}
+Description: Syntax highlighting Engine (documentation)
  This is a stand-alone implementation of the Kate syntax
  highlighting engine. It's meant as a building block for
  text editors as well as for simple highlighted text
@@ -60,13 +63,13 @@ Description: Syntax highlighting Engine - translations
  with a custom editor as well as a ready-to-use
  QSyntaxHighlighter sub-class.
  .
- This package provides the translations.
+ This package contains the qch documentation files.
 
 Package: libkf5syntaxhighlighting-tools
 Architecture: any
 Depends: libkf5syntaxhighlighting5 (= ${binary:Version}),
          ${misc:Depends},
-         ${shlibs:Depends}
+         ${shlibs:Depends},
 Description: Syntax highlighting Engine
  This is a stand-alone implementation of the Kate syntax
  highlighting engine. It's meant as a building block for
@@ -76,3 +79,18 @@ Description: Syntax highlighting Engine
  QSyntaxHighlighter sub-class.
  .
  Provides additional tools for libkf5syntaxhighlighting5
+
+Package: libkf5syntaxhighlighting5
+Architecture: any
+Multi-Arch: same
+Depends: libkf5syntaxhighlighting-data (= ${source:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends},
+Description: Syntax highlighting Engine
+ This is a stand-alone implementation of the Kate syntax
+ highlighting engine. It's meant as a building block for
+ text editors as well as for simple highlighted text
+ rendering (e.g. as HTML), supporting both integration
+ with a custom editor as well as a ready-to-use
+ QSyntaxHighlighter sub-class.
+Breaks: libkf5texteditor5 (<< 5.37)
diff --git a/debian/libkf5syntaxhighlighting-doc.install b/debian/libkf5syntaxhighlighting-doc.install
new file mode 100644
index 0000000..fdd6209
--- /dev/null
+++ b/debian/libkf5syntaxhighlighting-doc.install
@@ -0,0 +1,2 @@
+usr/share/qt5/doc/KF5SyntaxHighlighting.qch
+usr/share/qt5/doc/KF5SyntaxHighlighting.tags
diff --git a/debian/rules b/debian/rules
index 0ac3ee6..51821d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 
 include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk
 
+override_dh_auto_configure:
+	$(overridden_command) -- -DBUILD_QCH=ON
+
 override_dh_strip:
 	$(overridden_command) --dbgsym-migration='syntax-highlighting-dbg (<= 5.19.0-1~~)'
 

-- 
syntax-highlighting packaging



More information about the pkg-kde-commits mailing list