File: disable_package_search.patch

package info (click to toggle)
yelp 42.2-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 10,836 kB
  • sloc: javascript: 18,558; sh: 16,058; ansic: 15,943; makefile: 749; xml: 21; python: 19; sed: 16
file content (31 lines) | stat: -rw-r--r-- 1,101 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Jeremy Bicha <jbicha@ubuntu.com>
Date: Mon, 26 Sep 2011 21:08:21 -0400
Subject: Remove "Search for packages" 404 feature

since it doesn't work with Debian's PackageKit. We apparently
need to implement org.freedesktop.PackageKit.Modify.InstallProvideFiles

https://wiki.debian.org/SessionInstaller

Forwarded: not-needed
Bug: https://bugs.launchpad.net/bugs/838540
===================================================================
---
 libyelp/yelp-view.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libyelp/yelp-view.c b/libyelp/yelp-view.c
index 32ae131..f5de164 100644
--- a/libyelp/yelp-view.c
+++ b/libyelp/yelp-view.c
@@ -2012,10 +2012,6 @@ view_show_error_page (YelpView *view,
             scheme = "ghelp";
             pkg = struri + 6;
         }
-        if (pkg != NULL)
-            content_end = g_markup_printf_escaped ("<p><a href='install-%s:%s'>%s</a></p>",
-                                                   scheme, pkg,
-                                                   _("Search for packages containing this document."));
         g_free (struri);
     }