rev 4315 - in kde-extras/kscope/trunk/debian: . patches

Tom Albers tomalbers-guest at costa.debian.org
Sat Aug 12 17:27:19 UTC 2006


Author: tomalbers-guest
Date: 2006-08-12 17:27:18 +0000 (Sat, 12 Aug 2006)
New Revision: 4315

Added:
   kde-extras/kscope/trunk/debian/kscope.1.docbook
   kde-extras/kscope/trunk/debian/patches/
   kde-extras/kscope/trunk/debian/patches/kubuntu_02_crashfix.diff
Modified:
   kde-extras/kscope/trunk/debian/changelog
   kde-extras/kscope/trunk/debian/rules
Log:
-manpage
-fix for crash


Modified: kde-extras/kscope/trunk/debian/changelog
===================================================================
--- kde-extras/kscope/trunk/debian/changelog	2006-08-10 12:48:09 UTC (rev 4314)
+++ kde-extras/kscope/trunk/debian/changelog	2006-08-12 17:27:18 UTC (rev 4315)
@@ -1,9 +1,14 @@
 kscope (1.4.0-1) unstable; urgency=low
 
+  [ Fathi Boudra ]
   * New upstream release
 
- -- Fathi Boudra <fboudra at free.fr>  Thu, 10 Aug 2006 14:42:31 +0200
+  [ Tom Albers ]
+  * added patch to prevent crash in go/next and go/previous
+  * added the manpage found in kubuntu's package 
 
+ -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Sat, 12 Aug 2006 19:22:43 +0200
+
 kscope (1.3.4-1) unstable; urgency=low
 
   * Initial release (Closes: #309669)

Added: kde-extras/kscope/trunk/debian/kscope.1.docbook
===================================================================
--- kde-extras/kscope/trunk/debian/kscope.1.docbook	2006-08-10 12:48:09 UTC (rev 4314)
+++ kde-extras/kscope/trunk/debian/kscope.1.docbook	2006-08-12 17:27:18 UTC (rev 4315)
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+]>
+<refentry>
+  <refentryinfo>
+    <author>
+      <firstname>Jonathan Patrick</firstname>
+      <surname>Davies</surname>
+      <email>jpatrick at ubuntu.com</email>
+    </author>
+    <copyright>
+      <year>2006</year>
+      <holder>Jonathan Patrick Davies</holder>
+    </copyright>
+    <!-- XXX IMPORTANT XXX -->
+    <!-- Keep this date up to date: -->
+    <date>2006-02-18</date>
+    <!--  ^^^^^^^^^^ -->
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>kscope</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>kscope</refname>
+    <refpurpose>a source browsing and editing environment</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>kscope</command>
+      <arg choice="opt">
+        <option><replaceable>Qt-options</replaceable></option>
+      </arg>
+      <arg choice="opt">
+        <option><replaceable>KDE-options</replaceable></option>
+      </arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      KScope is a source browsing and editing environment for large projects written
+      in C (such as the Linux kernel).
+    </para>
+    <para>
+      KScope uses the Cscope code analysis engine to provide valuable information to
+      coders.
+    </para>
+    <para>
+      KScope also provides call-tree and call-graph views that can help developers
+      by visualising the relationships between different functions in the code base.
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+    <para>
+      All <productname>KDE</productname> and <productname>Qt</productname>
+      programs accept a some common command-line options.  KScope has no
+      application-specific options.
+    </para>
+    <para>
+      <variablelist>
+        <title>Generic options:</title>
+        <varlistentry>
+          <term> <option>--help</option> </term>
+          <listitem> <para>Show help about options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--help-qt</option> </term>
+          <listitem> <para>Show Qt specific options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--help-kde</option> </term>
+          <listitem> <para>Show KDE specific options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--help-all</option> </term>
+          <listitem> <para>Show all options</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--author</option> </term>
+          <listitem> <para>Show author information</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>-v</option>, <option>--version</option> </term>
+          <listitem> <para>Show version information</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--license</option> </term>
+          <listitem> <para>Show license information</para> </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term> <option>--</option> </term>
+          <listitem> <para>Indicates end of options</para> </listitem>
+        </varlistentry>
+      </variablelist>
+      <!-- TODO * add all the rest of the options, but maybe find an automated
+      way to keep it up to date -->
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+    <para>
+      KScope was written by Elad Lahav <email>elad_lahav at users.sf.net</email>.
+    </para>
+   </refsect1>
+  <refsect1>
+    <title>COPYRIGHT</title>
+    <para>
+      This manual page was written by Jonathan Patrick Davies
+      <email>jpatrick at ubuntu.com</email> for the
+      <productname>Ubuntu</productname> system (but may be used by others).
+      Permission is granted to copy, distribute and/or modify this document
+      under the terms of the <acronym>GNU</acronym> General Public License,
+      Version 2 or any later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in
+      <filename>/usr/share/common-licenses/GPL</filename>.
+    </para>
+  </refsect1>
+</refentry>

Added: kde-extras/kscope/trunk/debian/patches/kubuntu_02_crashfix.diff
===================================================================
--- kde-extras/kscope/trunk/debian/patches/kubuntu_02_crashfix.diff	2006-08-10 12:48:09 UTC (rev 4314)
+++ kde-extras/kscope/trunk/debian/patches/kubuntu_02_crashfix.diff	2006-08-12 17:27:18 UTC (rev 4315)
@@ -0,0 +1,12 @@
+--- ./src/queryview.cpp	2005-12-23 23:22:59.000000000 +0100
++++ ./src/queryview.cpp	2006-08-12 14:10:27.000000000 +0200
+@@ -106,6 +106,9 @@
+  */
+ void QueryView::select(QListViewItem* pItem)
+ {
++    if (!pItem)
++       return;
++
+ 	ensureItemVisible(pItem);
+ 	setSelected(pItem, true);
+ 	slotRecordSelected(pItem);

Modified: kde-extras/kscope/trunk/debian/rules
===================================================================
--- kde-extras/kscope/trunk/debian/rules	2006-08-10 12:48:09 UTC (rev 4314)
+++ kde-extras/kscope/trunk/debian/rules	2006-08-12 17:27:18 UTC (rev 4315)
@@ -1,5 +1,16 @@
 #!/usr/bin/make -f
 
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/class/kde.mk
 
+DEB_INSTALL_MANPAGES_kscope = kscope.1
+
+build/kscope::
+	docbook2x-man debian/kscope.1.docbook
+
+install/kscope::
+	dh_install src/kscope.desktop /usr/share/applications/kde
+
+clean::
+	rm -f kscope.1




More information about the pkg-kde-commits mailing list