This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Country not showing

Tags: None
(comma "," separated)
imported4-Ivan
Registered Member
Posts
819
Karma
0

Tue Jan 09, 2007 10:21 am
jdong wrote:George, you know if there's any open-source GeoIP databases that we could use? How does, say, Azureus display their country flags?

Azureus uses the same db and API as we do. From Maxmind.
I'm wondering why distro admins have problems with the license. We've discussed this with somebody (I can't remember were those SuSE people or somebody else) and we've agreed the license is OK.

To all:
There's no need for GeoIP installation. Simple copy/paste from KT sources to $KDEDIR/share/apps/ktorrent/geoip is enough.
jdong
Registered Member
Posts
358
Karma
0

Tue Jan 09, 2007 2:14 pm
All advertising materials and documentation mentioning features or use of
this database must display the following acknowledgment:
"This product includes GeoIP data created by MaxMind, available from
http://maxmind.com/"

Redistribution and use with or without modification, are permitted provided
that the following conditions are met:
1. Redistributions must retain the above copyright notice, this list of
conditions and the following disclaimer in the documentation and/or other
materials provided with the distribution.
2. All advertising materials and documentation mentioning features or use of
this database must display the following acknowledgement:
"This product includes GeoIP data created by MaxMind, available from
http://maxmind.com/"
3. "MaxMind" may not be used to endorse or promote products derived from this
database without specific prior written permission.


I think it's those restrictions that happen to throw it over the edge in our case of the DFSG (Debian Free Software Guidelines).

With that said, Azureus is shipping with such a GeoIP DB too, so if I'll try to drag that in as a counter-argument next time it comes up.
jdong
Registered Member
Posts
358
Karma
0

Tue Jan 09, 2007 2:20 pm
Here's what Debian has to say about their actions, straight from README.Debian:

Due to licensing restrictions, the source and binary packages of ktorrent do
not include a GeoIP database. The binary package *is* built to support it
however (the API is GPL, but data used from ARIN to generate the data files
is *not* DFSG compliant). If you wish to use the GeoIP support, there are free
databases made available at the following URL:

http://www.maxmind.com/app/geoip_country

Place the uncompressed database file in /usr/share/apps/ktorrent/geoip/ and
the country information will be displayed in the peers tab. The commercial
version offered *should* also work, but I have no means to confirm or deny
this.

The flag images are also not distributed with this package. Although the
original author seems to wish the grant free use, the verbage used in
granting it restricts their use to websites. I've tried, and will continue
to try to contact him and find a resolution.

----

The upstream source was modified in the following ways:
removed ./plugins/infowidget/geoip/geoip.dat
removed ./plugins/infowidget/geoip/*.png
removed ./plugins/infowidget/geoip/FLAGS_LICENSE
modified ./plugins/infowidget/Makefile.{am,in} to not depend on above
appended "+dfsg" to base directory name
imported4-Ivan
Registered Member
Posts
819
Karma
0

Tue Jan 09, 2007 2:46 pm
Damn licenses :)

Maybe we can find an easier way to include this? I have an idea or two about flags but I don't know how to include GeoIP db...
jdong
Registered Member
Posts
358
Karma
0

Tue Jan 09, 2007 6:17 pm
In the case of Ubuntu/Debian, it would be possible to do a "ktorrent-geoip-data" package in restricted that would contain the country-flag information, but I have no idea whether or not something like that would be approved.... I share your sentiments about the frustration of licenses.
J
Registered Member
Posts
86
Karma
0

Tue Jan 09, 2007 6:43 pm
Why not have KTorrent to search for the GeoIP data under the ~users home directory as well? Maybe write a plugin that will allow the user to check for updates to the GeoIP file from ktorrent.org and download the updated geoip data to his/her own profile?


Thank you KTorrent developers! :)
_________________
"Thou shalt not steal." - STOP PIRACY NOW!
imported4-Ivan
Registered Member
Posts
819
Karma
0

Tue Jan 09, 2007 8:00 pm
Interesting idea. I don't think it should be a plugin since GeoIP is used by InfoWidget plugin (so we'd be having plugin for a plugin) but we can add some buttons to InfoWidget preferences page to update/download GeoIP file to users profile.

John, do you know anything about flags license?
"All sets provided by us are free to use to anyone, for commercial or non-commercial websites."

Seems pretty open to me...
My idea was to exclude flags from package and place them on server. KT will download flag for each peer and show it. I think uTorrent does this.
It'll increase load on our server and it won't be as good solution as current, though.
But again, I think this license should be OK.
jdong
Registered Member
Posts
358
Karma
0

Wed Jan 10, 2007 5:02 am
Ivan wrote:Interesting idea. I don't think it should be a plugin since GeoIP is used by InfoWidget plugin (so we'd be having plugin for a plugin) but we can add some buttons to InfoWidget preferences page to update/download GeoIP file to users profile.

Yeah, if KTorrent can automagically download such information (presenting the license and asking the user to accept beforehands though) and gain GeoIP/flags, that'd be great.


John, do you know anything about flags license?
"All sets provided by us are free to use to anyone, for commercial or non-commercial websites."

Seems pretty open to me...

But again, I think this license should be OK.

The last word, "websites", is the bugger... KTorrent is not a "website". It does sound like nitpicking, but a license is a license :-/, I heard Debian/Kubuntu folks are trying to contact the author regarding a clarification ,perhaps we here at KTorrent should do the same and hope to get a response.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Wed Jan 10, 2007 11:57 am
Updating GeoIP database from KTorrent should be usefull anyway, so I'm gonna add that.

As for the flags, I guess we can contact the author for clarification. I'm not very into all this licenses stuff as I said, but is it possible to ask him to provide us a set of icons with (L)GPL license and save us from this pain in the ****? According to the current license, seems to me he doesn't give a damn how these icons are used...
George
Moderator
Posts
5421
Karma
1

Wed Jan 10, 2007 6:22 pm
Ivan wrote:Updating GeoIP database from KTorrent should be usefull anyway, so I'm gonna add that.

As for the flags, I guess we can contact the author for clarification. I'm not very into all this licenses stuff as I said, but is it possible to ask him to provide us a set of icons with (L)GPL license and save us from this pain in the ****? According to the current license, seems to me he doesn't give a damn how these icons are used...


GPL for images ? Does that even go ?
jdong
Registered Member
Posts
358
Karma
0

Wed Jan 10, 2007 6:39 pm
All we need is for him to clarify on the meaning of the word "website". Does he allow similar freedom in using the flags with applications?


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft