diff --git a/CMakeLists.txt b/CMakeLists.txt index 753001ef..621d39c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,7 @@ option( BUILD_KGET "Build kget" ${BUILD_ALL} ) option( BUILD_KNEWSTICKER "Build knewsticker" ${BUILD_ALL} ) option( BUILD_KOPETE "Build kopete" ${BUILD_ALL} ) option( BUILD_KPF "Build kpf" ${BUILD_ALL} ) +option( BUILD_KPPP "Build kppp" ${BUILD_ALL} ) option( BUILD_LIBRSS "Build librss" ${BUILD_ALL} ) @@ -131,6 +132,7 @@ tde_conditional_add_subdirectory( BUILD_KGET kget ) tde_conditional_add_subdirectory( BUILD_KNEWSTICKER knewsticker ) tde_conditional_add_subdirectory( BUILD_KOPETE kopete ) tde_conditional_add_subdirectory( BUILD_KPF kpf ) +tde_conditional_add_subdirectory( BUILD_KPPP kppp ) tde_conditional_add_subdirectory( BUILD_LIBRSS librss ) diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index df5b169f..896491f0 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -9,7 +9,9 @@ # ################################################# - +if( BUILD_KOPETE OR BUILD_KPPP ) + check_include_file( string.h HAVE_STRING_H ) +endif( ) # required stuff find_package( TQt ) diff --git a/config.h.cmake b/config.h.cmake index 7bf17882..e5d3c773 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -4,10 +4,21 @@ #define STDC_HEADERS 1 // kopete/protocols/yahoo -#cmakedefine HAVE_STRING_H 1 #cmakedefine HAVE_STRINGS_H 1 +// kopete/protocols/yahoo, kppp +#cmakedefine HAVE_STRING_H 1 + // kopete/protocols/jabber #cmakedefine SUPPORT_JINGLE 1 #cmakedefine HAVE_GLIB 1 #cmakedefine HAVE_SPEEX 1 + +// kppp +#cmakedefine HAVE_SYS_PARAM_H 1 +#cmakedefine HAVE_NET_IF_PPP_H 1 + +extern "C" { +unsigned long strlcpy(char*, const char*, unsigned long); +unsigned long strlcat(char*, const char*, unsigned long); +} diff --git a/kopete/protocols/yahoo/libkyahoo/ConfigureChecks.cmake b/kopete/protocols/yahoo/libkyahoo/ConfigureChecks.cmake index e7af0c6c..a2a2fe60 100644 --- a/kopete/protocols/yahoo/libkyahoo/ConfigureChecks.cmake +++ b/kopete/protocols/yahoo/libkyahoo/ConfigureChecks.cmake @@ -12,5 +12,4 @@ check_include_file( inttypes.h HAVE_INTTYPES_H ) check_include_file( stdint.h HAVE_STDINT_H ) -check_include_file( string.h HAVE_STRING_H ) check_include_file( strings.h HAVE_STRINGS_H ) diff --git a/kppp/CMakeLists.txt b/kppp/CMakeLists.txt new file mode 100644 index 00000000..556280e7 --- /dev/null +++ b/kppp/CMakeLists.txt @@ -0,0 +1,51 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include( ConfigureChecks.cmake ) + +add_subdirectory( pixmaps ) +add_subdirectory( icons ) +add_subdirectory( logview ) +add_subdirectory( Rules ) +add_subdirectory( DB ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES Kppp.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) + + +##### kppp (executable) ######################### + +tde_add_executable( kppp SETUID AUTOMOC + SOURCES + kpppwidget.cpp general.cpp accounts.cpp connect.cpp conwindow.cpp + debug.cpp edit.cpp iplined.cpp main.cpp modem.cpp modemcmds.cpp + pppdargs.cpp pppdata.cpp scriptedit.cpp pwentry.cpp modeminfo.cpp + pppstatdlg.cpp pppstats.cpp miniterm.cpp accounting.cpp + acctselect.cpp ruleset.cpp docking.cpp runtests.cpp loginterm.cpp + ppplog.cpp newwidget.cpp requester.cpp opener.cpp modemdb.cpp + utils.cpp providerdb.cpp modems.cpp KPPPIface.skel + LINK kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/kppp/ConfigureChecks.cmake b/kppp/ConfigureChecks.cmake new file mode 100644 index 00000000..52759fc7 --- /dev/null +++ b/kppp/ConfigureChecks.cmake @@ -0,0 +1,13 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +check_include_file( sys/param.h HAVE_SYS_PARAM_H ) +check_include_file( net/if_ppp.h HAVE_NET_IF_PPP_H ) diff --git a/kppp/DB/CMakeLists.txt b/kppp/DB/CMakeLists.txt new file mode 100644 index 00000000..ea1b56d7 --- /dev/null +++ b/kppp/DB/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( Provider ) diff --git a/kppp/DB/Provider/Austria/CMakeLists.txt b/kppp/DB/Provider/Austria/CMakeLists.txt new file mode 100644 index 00000000..968e9e5e --- /dev/null +++ b/kppp/DB/Provider/Austria/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory Simon%032Media + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Austria ) diff --git a/kppp/DB/Provider/Belarus/CMakeLists.txt b/kppp/DB/Provider/Belarus/CMakeLists.txt new file mode 100644 index 00000000..a13a8d7b --- /dev/null +++ b/kppp/DB/Provider/Belarus/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory AtlantTelecom + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Belarus ) diff --git a/kppp/DB/Provider/CMakeLists.txt b/kppp/DB/Provider/CMakeLists.txt new file mode 100644 index 00000000..d0a2c2fc --- /dev/null +++ b/kppp/DB/Provider/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( Austria ) +add_subdirectory( Denmark ) +add_subdirectory( Germany ) +add_subdirectory( Netherlands ) +add_subdirectory( New_Zealand ) +add_subdirectory( Norway ) +add_subdirectory( Portugal ) +add_subdirectory( United_Kingdom ) +add_subdirectory( Taiwan ) +add_subdirectory( Slovenia ) +add_subdirectory( Sweden ) +add_subdirectory( Czech_Republic ) +add_subdirectory( Yugoslavia ) +add_subdirectory( Ukraine ) +add_subdirectory( Switzerland ) +add_subdirectory( Belarus ) +add_subdirectory( France ) +add_subdirectory( Ireland ) diff --git a/kppp/DB/Provider/Czech_Republic/CMakeLists.txt b/kppp/DB/Provider/Czech_Republic/CMakeLists.txt new file mode 100644 index 00000000..80a23668 --- /dev/null +++ b/kppp/DB/Provider/Czech_Republic/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory AICOM ARsystem ASYS ApexNet BohemiaNet Brailcom + CITYNET Contactel ES-servis Econnect Falco_computer Fortech HP-NET + INTERNET_OnLine INTERNEXT IQNET KPNQuest M-soft Nextra ProfiNet + SeverNET Video_OnLine Volny + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Czech_Republic ) diff --git a/kppp/DB/Provider/Denmark/CMakeLists.txt b/kppp/DB/Provider/Denmark/CMakeLists.txt new file mode 100644 index 00000000..ea067265 --- /dev/null +++ b/kppp/DB/Provider/Denmark/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory Get2Net + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Denmark ) diff --git a/kppp/DB/Provider/France/CMakeLists.txt b/kppp/DB/Provider/France/CMakeLists.txt new file mode 100644 index 00000000..de93682f --- /dev/null +++ b/kppp/DB/Provider/France/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory ClubInternetFull + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/France ) diff --git a/kppp/DB/Provider/Germany/CMakeLists.txt b/kppp/DB/Provider/Germany/CMakeLists.txt new file mode 100644 index 00000000..3db5ad82 --- /dev/null +++ b/kppp/DB/Provider/Germany/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory CityWeb Netsurf FH%032Rhein%032Sieg%032%040Informatik%041 + MUC%046DE + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Germany ) diff --git a/kppp/DB/Provider/Ireland/CMakeLists.txt b/kppp/DB/Provider/Ireland/CMakeLists.txt new file mode 100644 index 00000000..690b6b12 --- /dev/null +++ b/kppp/DB/Provider/Ireland/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory Eircom IOL + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Irland ) diff --git a/kppp/DB/Provider/Netherlands/CMakeLists.txt b/kppp/DB/Provider/Netherlands/CMakeLists.txt new file mode 100644 index 00000000..93e61333 --- /dev/null +++ b/kppp/DB/Provider/Netherlands/CMakeLists.txt @@ -0,0 +1,31 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory Kabelfoon HCC%032NET 12Move FlakkeeNet + IntroWeb%032Hengelo%032e.o. Support%032Net FreeAcces + IntroWeb%032met%0323-cijferig%032kengetal Telebyte Bart + Freeler%032basis IntroWeb%032met%0324-cijferig%032kengetal + Tiscali%032Compleet Betuwenet%032BFree Freeler%032compleet + KeyAcces%032met%0323%032cijferig%032kengetal + Tiscali%032Gratis Betuwenet%032BQuality Freeler%032voordelig + KeyAcces%032met%0324%032cijferig%032kengetal UwNet Hacom + Luna Via%032Networks Cistron HetNet%032Basis%032Surfen Macom + Wannadoo%032budget Concepts%032ICT HetNet%032Frequent%032Surfen + Wannadoo%032budget%320plus Cubic%032Circle + HetNet%032Regelmatig%032Surfen Nederland.net Wannadoo%032smartpack + IAE Planet%032Internet%032Premium Wirehub Dataweb ILimburg + Planet%032Internet%032Standaard XS4All Daxis%032Internet + InterNLnet Plant%032Acces Zeelandnet Demon%032Internet Interbox + Popin Zon%0322 Energis-Ision Internet%032Acces%032Facilities + PublishNet Zon%032Gratis Euronet%032anytime Internet%032Online + Raketnet Zon%032Inclusief Euronet%032professional Interstroom Solcon + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Netherlands ) diff --git a/kppp/DB/Provider/New_Zealand/CMakeLists.txt b/kppp/DB/Provider/New_Zealand/CMakeLists.txt new file mode 100644 index 00000000..6faf9fd0 --- /dev/null +++ b/kppp/DB/Provider/New_Zealand/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory Paradise Voyager XTRA OrconInternet ihug + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/NewZealand ) diff --git a/kppp/DB/Provider/Norway/CMakeLists.txt b/kppp/DB/Provider/Norway/CMakeLists.txt new file mode 100644 index 00000000..5495fb79 --- /dev/null +++ b/kppp/DB/Provider/Norway/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory Institutt%032for%032informatikk BGNett + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Norway ) diff --git a/kppp/DB/Provider/Portugal/CMakeLists.txt b/kppp/DB/Provider/Portugal/CMakeLists.txt new file mode 100644 index 00000000..8c44256a --- /dev/null +++ b/kppp/DB/Provider/Portugal/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory OniNet Clix Netc + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Portugal ) diff --git a/kppp/DB/Provider/Slovenia/CMakeLists.txt b/kppp/DB/Provider/Slovenia/CMakeLists.txt new file mode 100644 index 00000000..e9f08388 --- /dev/null +++ b/kppp/DB/Provider/Slovenia/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + AmisNet Arnes Kiss MojNet SiOL Volja + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Slovenia ) diff --git a/kppp/DB/Provider/Sweden/CMakeLists.txt b/kppp/DB/Provider/Sweden/CMakeLists.txt new file mode 100644 index 00000000..33803a60 --- /dev/null +++ b/kppp/DB/Provider/Sweden/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory Utfors Tiscali + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Sweden ) diff --git a/kppp/DB/Provider/Switzerland/CMakeLists.txt b/kppp/DB/Provider/Switzerland/CMakeLists.txt new file mode 100644 index 00000000..4c154f09 --- /dev/null +++ b/kppp/DB/Provider/Switzerland/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory Bluewin + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Switzerland ) diff --git a/kppp/DB/Provider/Taiwan/CMakeLists.txt b/kppp/DB/Provider/Taiwan/CMakeLists.txt new file mode 100644 index 00000000..db820847 --- /dev/null +++ b/kppp/DB/Provider/Taiwan/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory HiNet SeedNet EraNet + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Taiwan ) diff --git a/kppp/DB/Provider/Ukraine/CMakeLists.txt b/kppp/DB/Provider/Ukraine/CMakeLists.txt new file mode 100644 index 00000000..0cabe731 --- /dev/null +++ b/kppp/DB/Provider/Ukraine/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory Adamant IPTelecom NuVse + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Ukraine ) diff --git a/kppp/DB/Provider/United_Kingdom/CMakeLists.txt b/kppp/DB/Provider/United_Kingdom/CMakeLists.txt new file mode 100644 index 00000000..c8d2990f --- /dev/null +++ b/kppp/DB/Provider/United_Kingdom/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory FreeServe Demon%032Green%0322120666 + Demon%032Purple%0322121666 Demon%032Red%0320798666 + UK%032Free%032Software%032Network%032ISDN UKPOST%032ISDN + UK%032Free%032Software%032Network%032Modem UKPOST%032Modem UTV + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/United_Kingdom ) diff --git a/kppp/DB/Provider/Yugoslavia/CMakeLists.txt b/kppp/DB/Provider/Yugoslavia/CMakeLists.txt new file mode 100644 index 00000000..ecc221d9 --- /dev/null +++ b/kppp/DB/Provider/Yugoslavia/CMakeLists.txt @@ -0,0 +1,19 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + 041Net CG.Berane.yu CG.HercegNovi.yu CG.Podgorica.yu DrenikNet + EUnetCacak EUnetPristina InfoSKY Sezampro CG.BijeloPolje.CG.yu + CG.Kotor.yu CG.Tivat.yu EUnet@Full EUnetKragujevac VeratNet BeoTelNet + CG.Budva.yu CG.Niksic.yu CG.Ulcinj.yu EUnet@Lite EUnetNis EUnetSombor + PTT YUBCnet CG.Bar.yu CG.Cetinje.yu CG.Pljevlja.yu CG.yu TippNet + SuOnline EUnetBeograd EUnetNoviSad EUnetSubotica SCnet + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Yugoslavia ) diff --git a/kppp/Rules/Argentina/CMakeLists.txt b/kppp/Rules/Argentina/CMakeLists.txt new file mode 100644 index 00000000..6d9c301e --- /dev/null +++ b/kppp/Rules/Argentina/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Argentina_Local.rst Argentina_0610.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Argentina ) diff --git a/kppp/Rules/Australia/CMakeLists.txt b/kppp/Rules/Australia/CMakeLists.txt new file mode 100644 index 00000000..60e11e4a --- /dev/null +++ b/kppp/Rules/Australia/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Optus_Residential.rst Local.rst STD_Zone_1_-_25-50_kms.rst + STD_Zone_2_-_50-85_kms.rst STD_Zone_3_-_85-165_kms.rst + STD_Zone_4_-_165+_kms.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Australia ) diff --git a/kppp/Rules/Austria/Business_1/CMakeLists.txt b/kppp/Rules/Austria/Business_1/CMakeLists.txt new file mode 100644 index 00000000..db337820 --- /dev/null +++ b/kppp/Rules/Austria/Business_1/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Local.rst Long_Distance.rst Online.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Austria/Business_1 ) diff --git a/kppp/Rules/Austria/Business_2/CMakeLists.txt b/kppp/Rules/Austria/Business_2/CMakeLists.txt new file mode 100644 index 00000000..c1584885 --- /dev/null +++ b/kppp/Rules/Austria/Business_2/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Local.rst Long_Distance.rst Online.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Austria/Business_2 ) diff --git a/kppp/Rules/Austria/CMakeLists.txt b/kppp/Rules/Austria/CMakeLists.txt new file mode 100644 index 00000000..8f907c12 --- /dev/null +++ b/kppp/Rules/Austria/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( Business_1 ) +add_subdirectory( Business_2 ) +add_subdirectory( Minimum ) +add_subdirectory( Standard ) diff --git a/kppp/Rules/Austria/Minimum/CMakeLists.txt b/kppp/Rules/Austria/Minimum/CMakeLists.txt new file mode 100644 index 00000000..54968974 --- /dev/null +++ b/kppp/Rules/Austria/Minimum/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Local.rst Long_Distance.rst Online.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Austria/Minimum ) diff --git a/kppp/Rules/Austria/Standard/CMakeLists.txt b/kppp/Rules/Austria/Standard/CMakeLists.txt new file mode 100644 index 00000000..b82fced9 --- /dev/null +++ b/kppp/Rules/Austria/Standard/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Local.rst Long_Distance.rst Online.rst UTA_easyinternet.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Austria/Standard ) diff --git a/kppp/Rules/Bangladesh/CMakeLists.txt b/kppp/Rules/Bangladesh/CMakeLists.txt new file mode 100644 index 00000000..66c5c74b --- /dev/null +++ b/kppp/Rules/Bangladesh/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + ATT00007.rst ATT00010.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Bangladesh ) diff --git a/kppp/Rules/Belgium/CMakeLists.txt b/kppp/Rules/Belgium/CMakeLists.txt new file mode 100644 index 00000000..71bd1e94 --- /dev/null +++ b/kppp/Rules/Belgium/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Belgium_interzonal.rst Belgium_zonal.rst Belgium_internet_frank.rst + Belgium_internet_euro.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Belgium ) diff --git a/kppp/Rules/Bosnia_and_Herzegovina/CMakeLists.txt b/kppp/Rules/Bosnia_and_Herzegovina/CMakeLists.txt new file mode 100644 index 00000000..2bbddff2 --- /dev/null +++ b/kppp/Rules/Bosnia_and_Herzegovina/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + BiHnet_-_home_-_bez_impulsa.rst BiHnet_-_student_-_bez_impulsa.rst + SmartNet_PERSONAL_bez_impulsa.rst samo_impulsi.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Bosnia_and_Herzegovina ) diff --git a/kppp/Rules/Brasil/CMakeLists.txt b/kppp/Rules/Brasil/CMakeLists.txt new file mode 100644 index 00000000..4c25f1f8 --- /dev/null +++ b/kppp/Rules/Brasil/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Brasil.rst SaoPaulo.rst Brasil_Ligbr.rst Rio_de_Janeiro.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Brasil ) diff --git a/kppp/Rules/CMakeLists.txt b/kppp/Rules/CMakeLists.txt new file mode 100644 index 00000000..bb4f384f --- /dev/null +++ b/kppp/Rules/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_auto_add_subdirectories( ) + +install( FILES TEMPLATE DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules ) +install( PROGRAMS checkrules DESTINATION ${DATA_INSTALL_DIR} ) diff --git a/kppp/Rules/Croatia/CMakeLists.txt b/kppp/Rules/Croatia/CMakeLists.txt new file mode 100644 index 00000000..0706b233 --- /dev/null +++ b/kppp/Rules/Croatia/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + CARNet.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Croatia ) diff --git a/kppp/Rules/Czechia/CMakeLists.txt b/kppp/Rules/Czechia/CMakeLists.txt new file mode 100644 index 00000000..05fb0029 --- /dev/null +++ b/kppp/Rules/Czechia/CMakeLists.txt @@ -0,0 +1,18 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Czech_Telecom_Internet_2004_telefon_a_Internet_180_+_660.rst + Czech_Telecom_Internet_2004_Business_Internet.rst + Czech_Telecom_Internet_2004_telefon_a_Internet_90_+_300.rst + Czech_Telecom_Internet_2004_Home_Internet.rst + Czech_Telecom_Internet_2004_telefon_universal.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Czechia ) diff --git a/kppp/Rules/Denmark/CMakeLists.txt b/kppp/Rules/Denmark/CMakeLists.txt new file mode 100644 index 00000000..1537dde8 --- /dev/null +++ b/kppp/Rules/Denmark/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + 12Move_Analog.rst 12Move_ISDN.rst Cybercity_Friabonnement.rst + Get2net_Betaling.rst Get2net_Gratis.rst Mobilix_Wanadoo.rst + Teledanmark_Basis.rst Teledanmark_Favoritinternet.rst + Worldonline-Analog.rst Worldonline-ISDN.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Denmark ) diff --git a/kppp/Rules/Estonia/CMakeLists.txt b/kppp/Rules/Estonia/CMakeLists.txt new file mode 100644 index 00000000..ff89949f --- /dev/null +++ b/kppp/Rules/Estonia/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Eesti_Telefon.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Estonia ) diff --git a/kppp/Rules/Finland/CMakeLists.txt b/kppp/Rules/Finland/CMakeLists.txt new file mode 100644 index 00000000..1c38b4d4 --- /dev/null +++ b/kppp/Rules/Finland/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + VLP.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Finland ) diff --git a/kppp/Rules/France/CMakeLists.txt b/kppp/Rules/France/CMakeLists.txt new file mode 100644 index 00000000..351aace4 --- /dev/null +++ b/kppp/Rules/France/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + France_Telecom_Local.rst France_Telecom_Internet.rst + France_Telecom_National.rst Cegetel_Local.rst Cegetel_National.rst + Le_9_Local.rst Le_9_National.rst Tele2_Local.rst Tele2_National.rst + OneTel.rst Wanadoo_Free.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/France ) diff --git a/kppp/Rules/Germany/CMakeLists.txt b/kppp/Rules/Germany/CMakeLists.txt new file mode 100644 index 00000000..c1e45ccd --- /dev/null +++ b/kppp/Rules/Germany/CMakeLists.txt @@ -0,0 +1,25 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + 2.5min.rst 2.5s.rst Arcor_Internet_by_Call_easy.rst + AddCom_by_Call.rst Addcom.rst Callino_Surf_Basic.rst + Callino_Surf_Plus.rst Callisa_City.rst CallOkaynet.rst Cityweb.rst + City_Activ_Plus_Option.rst CompuservePro.rst Easynet_easy-call.rst + expressnet.rst Netcom_Kassel.rst Freenet_Sorglos.rst + Freenet_StandardTarif.rst Freenet_Super_CbC.rst Mobilcom_Freenet.rst + Nikoma.rst Nikoma_Internet_by_Call.rst Nikoma_Study_and_Surf.rst + Telekom_City_Select_5_30.rst knUUt-by-Call.rst talkline_by_call.rst + vossnet_fun.rst vossnet_fun_light.rst vossnet_kompl.rst + Planet-Interkom_Internet_by_call.rst Puretec.rst NGI_Call_By_Call.rst + MSN.rst Freenet_special_call_by_call.rst Freenet_Enterprise.rst + E-Plus-Online_Jedermann.rst 1und1_InternetZugang.rst VR-Web.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Germany ) diff --git a/kppp/Rules/Greece/CMakeLists.txt b/kppp/Rules/Greece/CMakeLists.txt new file mode 100644 index 00000000..1b011e8d --- /dev/null +++ b/kppp/Rules/Greece/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Hellas_digital_local_in_euro.rst Hellas_EPAK_Zone1_in_euro.rst + Hellas_EPAK_Zone2_in_euro.rst Hellas_EPAK_local_in_euro.rst + Hellas_analog_local_in_euro.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Greece ) diff --git a/kppp/Rules/HongKong/CMakeLists.txt b/kppp/Rules/HongKong/CMakeLists.txt new file mode 100644 index 00000000..8a265fa8 --- /dev/null +++ b/kppp/Rules/HongKong/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Hong_Kong_Telecom.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Hong_Kong ) diff --git a/kppp/Rules/Hungary/CMakeLists.txt b/kppp/Rules/Hungary/CMakeLists.txt new file mode 100644 index 00000000..a45e75c5 --- /dev/null +++ b/kppp/Rules/Hungary/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Local.rst Local_MATAV.rst LocalTop_MATAV.rst PapaTel.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Hungary ) diff --git a/kppp/Rules/Iceland/CMakeLists.txt b/kppp/Rules/Iceland/CMakeLists.txt new file mode 100644 index 00000000..cd6b4f31 --- /dev/null +++ b/kppp/Rules/Iceland/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Iceland_general.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Iceland ) diff --git a/kppp/Rules/India/CMakeLists.txt b/kppp/Rules/India/CMakeLists.txt new file mode 100644 index 00000000..171e5613 --- /dev/null +++ b/kppp/Rules/India/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Vsnl_local.rst BSNL_Local.rst BSNL_Long_101_To_200.rst + BSNL_Medium_51_To_100.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/India ) diff --git a/kppp/Rules/Indonesia/CMakeLists.txt b/kppp/Rules/Indonesia/CMakeLists.txt new file mode 100644 index 00000000..2c69bab5 --- /dev/null +++ b/kppp/Rules/Indonesia/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Lokal_1_Metropolitan.rst Lokal_non_metropolitan.rst + Lokal_2_Metropolitan.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Indonesia ) diff --git a/kppp/Rules/Ireland/CMakeLists.txt b/kppp/Rules/Ireland/CMakeLists.txt new file mode 100644 index 00000000..30213589 --- /dev/null +++ b/kppp/Rules/Ireland/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Eircom_Internet.rst Eircom_Local.rst Eircom_National.rst + Eircom_Special.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Ireland ) diff --git a/kppp/Rules/Israel/CMakeLists.txt b/kppp/Rules/Israel/CMakeLists.txt new file mode 100644 index 00000000..c723a982 --- /dev/null +++ b/kppp/Rules/Israel/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Bezeq_Local.rst Bezeq_Interurban.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Israel ) diff --git a/kppp/Rules/Italy/CMakeLists.txt b/kppp/Rules/Italy/CMakeLists.txt new file mode 100644 index 00000000..f771a8de --- /dev/null +++ b/kppp/Rules/Italy/CMakeLists.txt @@ -0,0 +1,28 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Atlanet.rst Cheapnet.rst Infostrada_Internet_SpZero.rst + Infostrada_Libero1055_Base.rst Infostrada_Libero1055_SpZero.rst + Infostrada_Loc_Reg_Naz_SpZero.rst Infostrada_Locali_Base.rst + Infostrada_Reg_Naz_Base.rst Tele2_Altri_ISP.rst + Tele2_Internet_Tele2.rst Telecom_Interurbane_Fino15Km.rst + Telecom_Interurbane_Oltre15Km.rst Telecom_Locali.rst + Teleconomy24_Internet.rst Teleconomy24_Nazionali.rst + Teleconomy_NoStop_Internet.rst Wind_24ore_Internet_AltriISP.rst + Wind_24ore_Internet_InWind.rst Wind_24ore_Interurbane.rst + Wind_24ore_Urbane.rst Wind_Family+SuperLight_Internet_InWind.rst + Wind_Family+SuperLight_Urbane_Interurbane.rst + Wind_Family_Internet_AltriISP.rst Wind_Family_Internet_InWind.rst + Wind_Family_Interurbane.rst Wind_Family_Urbane.rst + Wind_Flat_Internet_AltriISP.rst Wind_Flat_Internet_InWind.rst + Wind_Urbana_1088_Light.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Italy ) diff --git a/kppp/Rules/Jamaica/CMakeLists.txt b/kppp/Rules/Jamaica/CMakeLists.txt new file mode 100644 index 00000000..af04dcc9 --- /dev/null +++ b/kppp/Rules/Jamaica/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + CWJ_InterParish.rst CWJ_Local.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Jamaica ) diff --git a/kppp/Rules/Japan/CMakeLists.txt b/kppp/Rules/Japan/CMakeLists.txt new file mode 100644 index 00000000..4275e90c --- /dev/null +++ b/kppp/Rules/Japan/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + NTT_Local.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Japan ) diff --git a/kppp/Rules/Kazakhstan/CMakeLists.txt b/kppp/Rules/Kazakhstan/CMakeLists.txt new file mode 100644 index 00000000..6e425aa8 --- /dev/null +++ b/kppp/Rules/Kazakhstan/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Akparat_Sprint.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Kazakhstan ) diff --git a/kppp/Rules/Luxembourg/CMakeLists.txt b/kppp/Rules/Luxembourg/CMakeLists.txt new file mode 100644 index 00000000..cf1649bc --- /dev/null +++ b/kppp/Rules/Luxembourg/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + CMD_InternetGratuit.rst LuxembourgOnline_FreeInternet.rst + PetT_ClassicSurf.rst PetT_KioskSurf.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Luxembourg ) diff --git a/kppp/Rules/Macedonia/CMakeLists.txt b/kppp/Rules/Macedonia/CMakeLists.txt new file mode 100644 index 00000000..5ef39b0d --- /dev/null +++ b/kppp/Rules/Macedonia/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Macedonia_GenericISP_interurban.rst Macedonia_GenericISP_local.rst + Macedonia_MTnet.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Macedonia ) diff --git a/kppp/Rules/Malaysia/CMakeLists.txt b/kppp/Rules/Malaysia/CMakeLists.txt new file mode 100644 index 00000000..33e94a8d --- /dev/null +++ b/kppp/Rules/Malaysia/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + malaysia.rst TMNet_Jaring.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Malaysia ) diff --git a/kppp/Rules/Netherlands/CMakeLists.txt b/kppp/Rules/Netherlands/CMakeLists.txt new file mode 100644 index 00000000..86891c2b --- /dev/null +++ b/kppp/Rules/Netherlands/CMakeLists.txt @@ -0,0 +1,28 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + 12Move.rst Cistron Priority_Telecom_Nationaal.rst + BelBasis_Buiten_Regio.rst Freeler_Basis.rst + Priority_Telecom_Regionaal.rst + BelBasis_Buiten_Regio_Nummervoordeel.rst + Freeler_Voordelig.rst Tele2_Extra_Buiten_Regio.rst + BelBasis_Regio.rst HetNet_Regelmatig_Surfen.rst + Tele2_Extra_Regio.rst BelBasis_Regio_Nummervoordeel.rst + InterNLnet.rst Tele2_Preselect_Buiten_Regio.rst + BelBudget_Buiten_Regio.rst Tele2_Preselect_Regio.rst + BelBudget_Regio.rst OneTel_Spaarstand_Buiten_Regio.rst + Tele2_Toets_1609_Buiten_Regio.rst BelPlus_Buiten_Regio.rst + OneTel_Spaarstand_Regio.rst Tele2_Toets_1609_Regio.rst + BelPlus_Regio.rst OneTel_Toets_1658_Buiten_Regio.rst + Wannadoo_Budget_Plus BelPlus_Regio_Nummervoordeel.rst + OneTel_Toets_1658_Regio.rst Planet_Internet.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Netherlands ) diff --git a/kppp/Rules/Norway/CMakeLists.txt b/kppp/Rules/Norway/CMakeLists.txt new file mode 100644 index 00000000..334339c9 --- /dev/null +++ b/kppp/Rules/Norway/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Local_Area.rst Long_Distance.rst Netcom.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Norway ) diff --git a/kppp/Rules/Poland/CMakeLists.txt b/kppp/Rules/Poland/CMakeLists.txt new file mode 100644 index 00000000..bf3e5520 --- /dev/null +++ b/kppp/Rules/Poland/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Netia_Lokalne_Niebieska.rst Netia_Lokalne_Zielona.rst + Netia_100km_Niebieska.rst Netia_100km_Zielona.rst TPSA.rst + Internetia.rst TP_Lokalne.rst TP_100km.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Poland ) diff --git a/kppp/Rules/Portugal/CMakeLists.txt b/kppp/Rules/Portugal/CMakeLists.txt new file mode 100644 index 00000000..bb4a18f5 --- /dev/null +++ b/kppp/Rules/Portugal/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + PT_Local.rst PT_Local_Ilhas.rst PT_Regional.rst PT_Regional_Ilhas.rst + PT_YesNET.rst PT_YesNET_Ilhas.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Portugal ) diff --git a/kppp/Rules/Romania/CMakeLists.txt b/kppp/Rules/Romania/CMakeLists.txt new file mode 100644 index 00000000..3ccd3f06 --- /dev/null +++ b/kppp/Rules/Romania/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Romtelecom_Acces_Special_Internet.rst Romtelecom_Interjudetean.rst + Romtelecom_Local.rst RomTelecom_GSM.rst Zapp-Mobile.rst Easynet.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Romania ) diff --git a/kppp/Rules/Russia/CMakeLists.txt b/kppp/Rules/Russia/CMakeLists.txt new file mode 100644 index 00000000..d72642e6 --- /dev/null +++ b/kppp/Rules/Russia/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + TEMPLATE.ru mtu-intel_standart.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Russia ) diff --git a/kppp/Rules/Singapore/CMakeLists.txt b/kppp/Rules/Singapore/CMakeLists.txt new file mode 100644 index 00000000..624aa217 --- /dev/null +++ b/kppp/Rules/Singapore/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + SingTel_Local.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Singapore ) diff --git a/kppp/Rules/Slovakia/CMakeLists.txt b/kppp/Rules/Slovakia/CMakeLists.txt new file mode 100644 index 00000000..08cf7d50 --- /dev/null +++ b/kppp/Rules/Slovakia/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Internetovy_tarif_019XY.rst ST_medzimesto.rst ST_mesto.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Slovakia ) diff --git a/kppp/Rules/Slovenia/CMakeLists.txt b/kppp/Rules/Slovenia/CMakeLists.txt new file mode 100644 index 00000000..1df66bcb --- /dev/null +++ b/kppp/Rules/Slovenia/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + omrezje_0880.rst omrezje_0889.rst stacionarno_omrezje.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Slovenia ) diff --git a/kppp/Rules/SouthAfrica/CMakeLists.txt b/kppp/Rules/SouthAfrica/CMakeLists.txt new file mode 100644 index 00000000..cb721edf --- /dev/null +++ b/kppp/Rules/SouthAfrica/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + South_Africa_local.rst South_Africa_long_distance.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/South_Africa ) diff --git a/kppp/Rules/SouthAfrika/CMakeLists.txt b/kppp/Rules/SouthAfrika/CMakeLists.txt new file mode 100644 index 00000000..78b552bd --- /dev/null +++ b/kppp/Rules/SouthAfrika/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + South_Afrika.rst South_Afrika_Justin.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/South_Afrika ) diff --git a/kppp/Rules/Spain/CMakeLists.txt b/kppp/Rules/Spain/CMakeLists.txt new file mode 100644 index 00000000..413d9654 --- /dev/null +++ b/kppp/Rules/Spain/CMakeLists.txt @@ -0,0 +1,18 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Infovia.rst Telefonica_Interprovincial.rst Infovia_IVA.rst + Telefonica_Interprovincial_IVA.rst Telefonica_Metropolitana.rst + Telefonica_Metropolitana_IVA.rst Telefonica_Nacional.rst + Telefonica_Provincial.rst Telefonica_Provincial_IVA.rst + Telefonica_Local.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Spain ) diff --git a/kppp/Rules/Sweden/CMakeLists.txt b/kppp/Rules/Sweden/CMakeLists.txt new file mode 100644 index 00000000..41c4184f --- /dev/null +++ b/kppp/Rules/Sweden/CMakeLists.txt @@ -0,0 +1,20 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + ACN.rst Abonnera_com.rst CNEAB-Route66.rst Crossnet-Affinity.rst + Glocalnet.rst Gts.rst Home_se.rst Nemtel.rst Plusenergi.rst + RSLCom.rst Rix_Telecom.rst Supertel.rst Svensk_Telekom.rst + Tele1_Europe.rst Tele2.rst Tele8.rst Teleman.rst Telenordia.rst + Telerian.rst Telia.rst Telia_Telebonus1.rst Telia_Telebonus2.rst + Telitel.rst Transnet.rst Universal_Telecom.rst Utfors.rst + Vattenfall.rst Tiscali.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Sweden ) diff --git a/kppp/Rules/Switzerland/CMakeLists.txt b/kppp/Rules/Switzerland/CMakeLists.txt new file mode 100644 index 00000000..75e42131 --- /dev/null +++ b/kppp/Rules/Switzerland/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Swisscom_Local.rst Swisscom_Remote.rst Swisscom_Surf.rst + Sunrise_Freetime.rst Sunrise_Select_Internet.rst Sunrise_Local.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Switzerland ) diff --git a/kppp/Rules/Turkey/CMakeLists.txt b/kppp/Rules/Turkey/CMakeLists.txt new file mode 100644 index 00000000..c47cb912 --- /dev/null +++ b/kppp/Rules/Turkey/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Turk_Telekom_Internet.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Turkey ) diff --git a/kppp/Rules/Ukraine/CMakeLists.txt b/kppp/Rules/Ukraine/CMakeLists.txt new file mode 100644 index 00000000..1651e099 --- /dev/null +++ b/kppp/Rules/Ukraine/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + TEMPLATE.uk Utel_Unet.rst IPTelecom_hourly.rst NuVse_hourly.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Ukraine ) diff --git a/kppp/Rules/United_Kingdom/CMakeLists.txt b/kppp/Rules/United_Kingdom/CMakeLists.txt new file mode 100644 index 00000000..70b56aea --- /dev/null +++ b/kppp/Rules/United_Kingdom/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + BirminghamCable_Local.rst BirminghamCable_National.rst + BirminghamCable_SameTelco.rst BritishTelecom_Local.rst + BritishTelecom_National.rst BritishTelecom_Regional.rst + British_OneTel.rst Connaught_Telecom.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/United_Kingdom ) diff --git a/kppp/Rules/Uruguay/CMakeLists.txt b/kppp/Rules/Uruguay/CMakeLists.txt new file mode 100644 index 00000000..d195ffe5 --- /dev/null +++ b/kppp/Rules/Uruguay/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + Adinet_cIVA.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Uruguay ) diff --git a/kppp/Rules/Yugoslavia/CMakeLists.txt b/kppp/Rules/Yugoslavia/CMakeLists.txt new file mode 100644 index 00000000..3fb8e05e --- /dev/null +++ b/kppp/Rules/Yugoslavia/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + 041_1xx_xxx.rst 041_5xx_xxx.rst II_zona-do_200km.rst 041_2xx_xxx.rst + 041_9xx_xxx.rst I_zona-ista_mreza.rst 041_3xx_xxx.rst + Lokalni_poziv.rst 041_4xx_xxx.rst III_zona-preko_200km.rst + DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules/Yugoslavia ) diff --git a/kppp/icons/CMakeLists.txt b/kppp/icons/CMakeLists.txt new file mode 100644 index 00000000..70cd3719 --- /dev/null +++ b/kppp/icons/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_install_icons( kppp ) diff --git a/kppp/logview/CMakeLists.txt b/kppp/logview/CMakeLists.txt new file mode 100644 index 00000000..a81b833f --- /dev/null +++ b/kppp/logview/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kppplogview.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} ) + + +##### kppplogview (executable) ################## + +tde_add_executable( kppplogview AUTOMOC + SOURCES + main.cpp loginfo.cpp log.cpp monthly.cpp export.cpp + LINK kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/kppp/pixmaps/CMakeLists.txt b/kppp/pixmaps/CMakeLists.txt new file mode 100644 index 00000000..508b7c75 --- /dev/null +++ b/kppp/pixmaps/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + folder.png phone.png dock_both.png dock_left.png dock_none.png + dock_right.png modemboth.png modemleft.png modemnone.png + modemright.png + DESTINATION ${DATA_INSTALL_DIR}/kppp/pics ) diff --git a/kppp/ruleset.h b/kppp/ruleset.h index 8d3fbbe8..bc7f3de2 100644 --- a/kppp/ruleset.h +++ b/kppp/ruleset.h @@ -33,7 +33,7 @@ // this structure is used to save // accounting rules -typedef struct RULE { +struct RULE { int type; double costs; double len;