Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 545186

Summary: www-client/qupzilla-1.8.6: fix LINGUAS support, add tests
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: qupzilla-1.8.6.ebuild.patch

Description Nikoli 2015-03-31 21:15:07 UTC
Created attachment 400302 [details, diff]
qupzilla-1.8.6.ebuild.patch

Attached patch fixes LINGUAS support:
1) l10n.eclass suggested differently sorted PLOCALES=
2) there were a lot lrelease messages about missing .ts files
3) plugins had internal .qm files, without them packages size is smaller: 8289525 -> 7580917 bytes


https://github.com/QupZilla/qupzilla/blob/v1.8/scripts/run_tests.sh

Tests need network. Benchmarks fail to build, so i did not enable them:
adblockmatchrule.cpp: In member function 'void AdBlockMatchRule::networkMatch()':
adblockmatchrule.cpp:65:55: error: 'class AdBlockSubscription' has no member named 'match'
             const AdBlockRule* rule = m_subscription->match(req, url.host(), url.toEncoded());
                                                       ^
Comment 1 Michael Palimaka (kensington) gentoo-dev 2016-10-08 16:42:12 UTC
We dropped custom linguas handling so I guess this is obsolete now.

Also regarding tests, we cannot enable tests that require network access.