Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
ktorrent
no-geoip-db.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-geoip-db.diff of Package ktorrent
--- plugins/infowidget/peerviewmodel.cpp 2008/03/25 12:17:35 1.1 +++ plugins/infowidget/peerviewmodel.cpp 2008/03/25 12:18:16 @@ -40,7 +40,7 @@ static bool icons_loaded = false; static GeoIP* geo_ip = 0; static FlagDB flagDB(22, 18); - static bool geoip_db_exists = true; + static bool geoip_db_exists = false; static QString geoip_data_file; @@ -54,10 +54,9 @@ icons_loaded = true; flagDB.addFlagSource("data", QString("ktorrent/%1.png")); flagDB.addFlagSource("locale", QString("l10n/%1/flag.png")); -#ifdef USE_SYSTEM_GEOIP +#if 0 geo_ip = GeoIP_open_type(GEOIP_COUNTRY_EDITION, GEOIP_STANDARD); geoip_db_exists = (geo_ip != NULL); -#else geoip_db_exists = !KStandardDirs::locate("data", "ktorrent/geoip.dat").isNull(); if(geoip_db_exists) { --- plugins/infowidget/CMakeLists.txt 2008/02/19 10:52:14 1.1 +++ plugins/infowidget/CMakeLists.txt 2008/02/19 10:55:36 @@ -25,8 +25,6 @@ set(geoip_src GeoIP.c) endif(WITH_SYSTEM_GEOIP) -add_subdirectory(geoip) - set(ktinfowidgetplugin_SRC infowidgetplugin.cpp iwprefpage.cpp
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor