[Clipart] OpenClipart and Debian.

Jonadab the Unsightly One jonadab at bright.net
Sat Jan 15 17:47:53 PST 2005


Tobias Jakobs <tobias.jakobs at web.de> writes:

> here you can find the list of UN member states:
> http://www.un.org/Overview/unmember.html

Working from this list, I've made the script below.  (It could stand
to be looked over by someone else, especially the comments.)

Also, there appear to be a few (almost thirty) UN member nations we
don't have flags for yet; I've added them to the Requests list, mainly
so we don't lose track of them, so that we can add the keywords to
them if the come in later.

--- 
#!/bin/bash

# International flags:
keyword --keywords=international_flag miscellany/unesco.svg miscellany/unicef.svg miscellany/unitednations.svg miscellany/who.svg
# What about NATO?  What about the EU flag?

# National flags, by continent:
keyword --keywords=africa africa/*.svg
keyword --keywords=america america/*.svg
keyword --keywords=asia asia/*.svg
keyword --keywords=europe europe/*.svg
keyword --keywords=oceania oceania/*.svg
keyword --keywords=antarctic miscellany/south_georgia_and_south_sandwich_islands.svg miscellany/antarctica.svg
# Also, the flag for South Georgia and the South Sandwich Islands for some reason
# has a Carribean keyword, which is incorrect; the keyword script so far does
# not have keyword-removing facilities, so we'll have to do that by hand.

# Esperanto is a language:
keyword --keywords=language,esperanto miscellany/esperanto.svg

# Political movements that know no national boundaries:
keyword --keywords=political_movement miscellany/anarchist.svg miscellany/anarcommunist.svg miscellany/socialist.svg

# Historic flags:
keyword --keywords=historic_flag africa/south_africa_historic.svg america/usa_betsy_ross_historic.svg asia/georgia_historic.svg
keyword --keywords=historic_flag asia/ussr_historic.svg asia/vietnam_historic.svg europe/*_historic.svg miscellany/pirate*.svg

# Odds and Ends:
keyword --keywords=nazi europe/nazi*.svg
keyword --keywords=christianity miscellany/christian.svg

# Specific countries that have numerous flags each (for states/provinces/whatever):
keyword --keywords=canada america/canada*.svg america/canada.svg
keyword --keywords=usa america/unitedstates.svg america/usa_*.svg america/us_*.svg
keyword --keywords=france europe/france*.svg europe/ile_de_france.svg europe/france.svg
keyword --keywords=germany europe/germany*.svg europe/nazi_historic.svg
keyword --keywords=spain europe/spain*.svg europe/spain.svg
keyword --keywords=australia oceania/australia.svg oceania/australia_*.svg

# Additional granularity in America (North/Latin/Carribean):
# Mexico is in both North America and Latin America, because people might look for it either place.
keyword --keywords=northamerica america/canada.svg america/canada*.svg america/unitedstates.svg america/usa_*.svg america/us_*.svg america/mexico.svg
keyword --keywords=latinamerica america/argentina.svg america/belize.svg america/bolivia.svg america/brazil.svg america/chile.svg america/colombia.svg america/costa_rica.svg america/ecuador.svg america/el_salvador.svg
keyword --keywords=latinamerica america/mexico.svg america/guatemala.svg america/honduras.svg america/nicaragua.svg america/panama.svg america/paraguay.svg america/peru.svg america/suriname.svg america/uruguay.svg america/venezuela.svg
keyword --keywords=carribean america/anguilla.svg america/antigua*.svg america/aruba.svg america/bahamas.svg america/barbados.svg america/bermuda.svg america/*virgin_islands.svg america/cuba.svg america/dominica*.svg
keyword --keywords=carribean america/grenada.svg america/haiti.svg america/jamaica.svg america/puerto_rico.svg america/saint*.svg america/trinidad_and_tobago.svg america/turks_and_caicos.svg

# Flags of UN member nations as of 15 January 2005, as listed here:
# http://www.un.org/Overview/unmember.html
# (Most of these are listed alphabetically according to their order on
# that site (which in some cases is nonintuitive due to the
# inconsistent use of accessory words versus traditional short names),
# except those listed under Congo, Korea, )
keyword --keywords=united_nations_member europe/albania.svg africa/algeria.svg europe/andorra.svg africa/angola.svg america/antigua*.svg america/argentina.svg asia/armenia.svg oceania/australia.svg europe/austria.svg
keyword --keywords=united_nations_member america/bahamas.svg asia/bahrain.svg asia/bangladesh.svg america/barbados.svg europe/belarus.svg europe/belgium.svg america/belize.svg africa/benin.svg asia/bhutan.svg
keyword --keywords=united_nations_member america/bolivia.svg europe/bosnia*.svg africa/botswana.svg america/brazil.svg asia/brunei*.svg europe/bulgaria.svg africa/burkina_faso.svg africa/burundi.svg
keyword --keywords=united_nations_member asia/cambodia.svg africa/cameroon.svg america/canada.svg africa/central_african_republic.svg africa/chad.svg america/chile.svg asia/china.svg america/colombia.svg
keyword --keywords=united_nations_member africa/congo*.svg america/costa_rica.svg africa/cote_divoire.svg europe/croatia.svg america/cuba.svg europe/cyprus.svg europe/czech_republic.svg
keyword --keywords=united_nations_member europe/denmark.svg america/dominica.svg america/dominican_republic.svg
keyword --keywords=united_nations_member america/ecuador.svg africa/egypt.svg america/el_salvador.svg africa/eritrea.svg europe/estonia.svg africa/ethiopia.svg oceania/fiji.svg europe/finland.svg europe/france.svg
keyword --keywords=united_nations_member africa/gabon.svg africa/gambia.svg asia/georgia.svg europe/germany.svg africa/ghana.svg europe/greece.svg america/grenada.svg america/guatemala.svg africa/guinea.svg
keyword --keywords=united_nations_member america/haiti.svg america/honduras.svg europe/hungary.svg europe/iceland.svg asia/india.svg oceania/indonesia.svg asia/iran.svg ls asia/iraq.svg europe/ireland.svg europe/italy.svg
keyword --keywords=united_nations_member america/jamaica.svg asia/japan.svg asia/jordan.svg africa/kenya.svg *_korea.svg asia/kuwait.svg
keyword --keywords=united_nations_member asia/laos.svg europe/latvia.svg asia/lebanon.svg africa/lesotho.svg africa/liberia.svg africa/libyan_arab_jamahiriya.svg europe/liechtenstein.svg europe/lithuania.svg europe/luxembourg.svg
keyword --keywords=united_nations_member africa/madagascar.svg asia/malaysia.svg europe/malta.svg africa/mauritania.svg africa/mauritius.svg america/mexico.svg europe/monaco.svg asia/mongolia.svg africa/morocco.svg africa/mozambique.svg asia/myanmar.svg
keyword --keywords=united_nations_member africa/namibia.svg asia/nepal.svg europe/netherlands.svg america/nicaragua.svg africa/niger.svg africa/nigeria.svg europe/norway.svg asia/oman.svg
keyword --keywords=united_nations_member asia/pakistan.svg america/panama.svg america/paraguay.svg america/peru.svg oceania/philippines.svg europe/poland.svg europe/portugal.svg asia/qatar.svg
keyword --keywords=united_nations_member europe/moldova.svg europe/romania.svg */russian_federation.svg africa/rwanda.svg america/saint_kitts_and_nevis.svg america/saint_lucia.svg america/saint_vincent_and_the_grenadines.svg
keyword --keywords=united_nations_member europe/san_marino.svg africa/sao_tome_and_principe.svg asia/saudi_arabia.svg africa/senegal.svg europe/serbia_and_montenegro.svg africa/seychelles.svg africa/sierra_leone.svg
keyword --keywords=united_nations_member asia/singapore.svg europe/slovakia.svg europe/slovenia.svg africa/somalia.svg africa/south_africa.svg europe/spain.svg asia/sri_lanka.svg africa/sudan.svg america/suriname.svg
keyword --keywords=united_nations_member africa/swaziland.svg europe/sweden.svg europe/suisse.svg asia/syrian_arab_republic.svg
keyword --keywords=united_nations_member europe/macedonia.svg oceania/timor_leste.svg america/trinidad_and_tobago.svg africa/tunisia.svg */turkey.svg africa/uganda.svg europe/ukraine.svg asia/united_arab_emirates.svg
keyword --keywords=united_nations_member europe/united_kingdom.svg africa/tanzania.svg america/united_states.svg america/uruguay.svg 
keyword --keywords=united_nations_member america/venezuela.svg asia/viet_nam.svg asia/yemen.svg africa/zambia.svg africa/zimbabwe.svg

# UN member nations we don't seem to have flags for, or I didn't see them:
# Afghanistan, Azerbaijan, Cape Verde, Comoros,
# Equatorial Guinea (or is it called something else?)
# Djibouti, Guinea-Bissau, Guyana, Israel (incoming), Kazakhstan,
# Kiribati, Kyrgyzstan, Malawi, Maldives, Mali, Marshall Islands,
# Micronesia, Nauru, New Zealand, Palau, Papau New Guinea, Samoa,
# Solomon Islands, Tajikistan, Togo, Tonga, Turkmenistan, Tuvalu,
# Uzbekistan, Vanuatu.

# Historic and other non-primary flags of UN member nations:
# europe/belarus_historic.svg europe/french_royal_navy_historic.svg asia/georgia_historic.svg
# asia/georgia_stgeorge.svg europe/netherlands_dutch_royal_navy_historic.svg
# africa/south_africa_historic.svg europe/spain_spanish_royal_navy_historic.svg
# europe/spain_historic.svg europe/spain_plain.svg europe/uk_english_royal_navy_historic.svg
# europe/ussr_historic.svg america/usa_betsy_ross_historic.svg europe/yugoslavia_historic.svg

# States/provinces/territories/etc of UN member nations:
# oceania/australia_*.svg europe/belgium_*.svg america/canada_*.svg
# europe/france_french_polynesia.svg europe/france_french_southern_territories.svg
# europe/france_martinique.svg europe/france_normandy.svg europe/france_st_pierre_and_miquelon.svg
# europe/france_wallis_and_futuna.svg europe/germany_*.svg europe/netherlands_antilles.svg
# europe/spain_asturias.svg europe/spain_canary.svg europe/spain_catalunya.svg
# europe/spain_galici*.svg europe/spain_madrid.svg europe/spain_murcia.svg
# europe/uk_british_indian_ocean_territory.svg europe/uk_england.svg europe/uk_gibraltar.svg
# europe/uk_scotland.svg europe/uk_wales.svg america/usa_a*.svg america/usa_c*.svg
# america/usa_district_of_columbia.svg america/usa_hawaii.svg america/usa_indiana.svg
# america/usa_m*.svg america/usa_n*.svg america/usa_ohio.svg america/usa_southcarolina.svg
# america/usa_t*.svg america/usa_virgin_islands.svg america/us_rhode_island.svg






More information about the clipart mailing list