~rohangarg/kdepim/ubuntu

« back to all changes in this revision

Viewing changes to debian/patches/kubuntu_30_debianize_akregator_default.diff

  • Committer: Rohan Garg
  • Date: 2011-06-12 11:34:23 UTC
  • Revision ID: rohangarg@kubuntu.org-20110612113423-dx2ihr6iwrqhe5q2
* Merge from debian, remaining changes
  - Update debian/patches/debianize_akregator_default.diff for Ubuntu
    defaults and rename to kubuntu_debianize_akregator_default.diff
  - Remove kleopatra and akdonadiconsole from kdepim metapackage due to
    their being in Universe
  - Simplify kmail and kleopatra pinentry recommends:
  - Remove pinentry-x11 since it does not exist
  - Remove pinentry-qt since this package has been removed from Ubuntu
  - Adjust other kmail recommends/suggests:
    - Drop Suggests on f-prot-installer and annoyance-filter since they are
    not in the archive
  - Consolidate all documentation in kdepim-doc for all packages in kdepim
  - Add kdepim-doc.install
  - debian/akregator,kaddressbook,kalarm,kjots,kmail,knode,knotes,kontact,
    ktimetracker,korganizer{.install}, do not add documentation
  - Add kdepim-dev package (it is not stable, but we rebuild the reverse
    build-depends to account for this)
    - Add kdepim-dev to debian/control
    - Add kdepim-dev.install
  - Provide debian/kalarm-icons and adjust debian/rules to install
  - Do not build-depend on libgnokii-dev because it is in Universe
  - Build against version of Boost in Main, libboost1.46-dev and
    libboost-graph1.46-dev
  - Add libindicate-qt-dev, libxml2-dev, sharutils to build-deps
  - Add kdepim-runtime to depends in kdepim, knode, knotes, konsolekalendar,
    kontact, and korganizer
  - Add kjots depends on akonadi-server
  - Adjust version requirements for Ubuntu packages for conflict/replaces

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- a/akregator/src/akregator_part.cpp
2
 
+++ b/akregator/src/akregator_part.cpp
3
 
@@ -133,6 +133,25 @@ namespace {
4
 
         look.setAttribute("xmlUrl","http://www.kde.org/kde-look-content.rdf");
5
 
         mainFolder.appendChild(look);
6
 
 
7
 
+        QDomElement debianFolder = doc.createElement( "outline" );
8
 
+        debianFolder.setAttribute("text","Kubuntu");
9
 
+        body.appendChild(debianFolder);
10
 
+
11
 
+        QDomElement planet = doc.createElement( "outline" );
12
 
+        planet.setAttribute("text",i18n("Planet Ubuntu"));
13
 
+        planet.setAttribute("xmlUrl","http://planet.ubuntu.com/rss20.xml");
14
 
+        debianFolder.appendChild(planet);
15
 
+
16
 
+        QDomElement fridge = doc.createElement( "outline" );
17
 
+        fridge.setAttribute("text",i18n("Ubuntu Fridge"));
18
 
+        fridge.setAttribute("xmlUrl","http://feeds.feedburner.com/ubuntu-fridge");
19
 
+        debianFolder.appendChild(fridge);
20
 
+
21
 
+        QDomElement dtimes = doc.createElement( "outline" );
22
 
+        dtimes.setAttribute("text",i18n("Kubuntu.org News"));
23
 
+        dtimes.setAttribute("xmlUrl","http://www.kubuntu.org/news/feed");
24
 
+        debianFolder.appendChild(dtimes);
25
 
+
26
 
         return doc;
27
 
     }
28
 
 }