From 3e8ccae1ca9b99cfef20638dcc35888c3737a775 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 19 Jan 2017 20:03:02 +0000 Subject: Add missing package homepages --- gentoobrowse/src/mash.ice | 1 + gentoobrowse/src/packages.cpp | 2 ++ gentoobrowse/xslt/package.xslt | 26 ++++++++++++++------------ 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/gentoobrowse/src/mash.ice b/gentoobrowse/src/mash.ice index 98d4cc1..6440d80 100644 --- a/gentoobrowse/src/mash.ice +++ b/gentoobrowse/src/mash.ice @@ -90,6 +90,7 @@ module GentooBrowse { Gentoo::Uses uses; Gentoo::Bugs bugs; Gentoo::Repositories repos; + Gentoo::StringList urls; bool tracked = false; }; diff --git a/gentoobrowse/src/packages.cpp b/gentoobrowse/src/packages.cpp index f652900..04c4a69 100644 --- a/gentoobrowse/src/packages.cpp +++ b/gentoobrowse/src/packages.cpp @@ -158,6 +158,7 @@ namespace GentooBrowse { auto _ar_dp = prx0->begin_getPackagesDepending(model->package->packageid, request->getContext()); auto _ar_m = prx0->begin_getPackageMasks(model->package->packageid, request->getContext()); auto _ar_u = prx0->begin_getPackageUses(model->package->packageid, request->getContext()); + auto _ar_urls = prx0->begin_getPackageUrls(model->package->packageid, request->getContext()); addUser(request, model); if (model->user) { _ar_t = prx1->begin_tracked(model->user->userid); @@ -172,6 +173,7 @@ namespace GentooBrowse { model->masks = prx0->end_getPackageMasks(_ar_m); model->uses = prx0->end_getPackageUses(_ar_u); model->repos = prx0->end_getRepositories(_ar_r); + model->urls = prx0->end_getPackageUrls(_ar_urls); std::set ids({ model->package->categoryid }); collateCategoryIds(ids, model->dependencies); collateCategoryIds(ids, model->depending); diff --git a/gentoobrowse/xslt/package.xslt b/gentoobrowse/xslt/package.xslt index a89fef7..287ede2 100644 --- a/gentoobrowse/xslt/package.xslt +++ b/gentoobrowse/xslt/package.xslt @@ -27,7 +27,7 @@

- + @@ -88,17 +88,19 @@ - -
- Official package sites : - - - - - - · - -
+ + +
+ Official package sites : + + + + + + · + +
+
-- cgit v1.2.3