Ticket #46359: patch-plasma.patch

File patch-plasma.patch, 29.4 KB (added by RJVB (René Bertin), 10 years ago)

build the few plasma components that make sense on OS X

  • plasma/CMakeLists.txt

    diff --git plasma/CMakeLists.txt plasma/CMakeLists.txt
    index 199dbb0..2175e39 100644
    ENDMACRO(installPackage) 
    1212if(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop")
    1313   add_subdirectory(desktop)
    1414   add_subdirectory(netbook)
    15    add_subdirectory(screensaver)
     15    if(NOT APPLE)
     16       add_subdirectory(screensaver)
     17    endif(NOT APPLE)
    1618endif(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop")
    1719
    1820add_subdirectory(generic)
  • plasma/desktop/CMakeLists.txt

    diff --git plasma/desktop/CMakeLists.txt plasma/desktop/CMakeLists.txt
    index 2de78dd..fb612e8 100644
     
    11add_subdirectory(applets)
    22add_subdirectory(containments)
    33add_subdirectory(runners)
    4 add_subdirectory(shell)
     4#if(NOT APPLE)
     5    add_subdirectory(shell)
     6#endif(NOT APPLE)
    57add_subdirectory(toolboxes)
  • plasma/desktop/applets/CMakeLists.txt

    diff --git plasma/desktop/applets/CMakeLists.txt plasma/desktop/applets/CMakeLists.txt
    index 6f80cec..5202f83 100644
    add_subdirectory(kickoff) 
    22add_subdirectory(showActivityManager)
    33add_subdirectory(trash)
    44
    5 if(NOT WIN32)
     5if(NOT WIN32 AND NOT APPLE)
    66    #task and windowlist depend on libs/taskmanager
    77   add_subdirectory(tasks)
    88   add_subdirectory(windowlist)
    99
    1010   add_subdirectory(pager)
    11 endif(NOT WIN32)
     11endif(NOT WIN32 AND NOT APPLE)
  • plasma/desktop/applets/pager/plasma-pager-default.desktop

    diff --git plasma/desktop/applets/pager/plasma-pager-default.desktop plasma/desktop/applets/pager/plasma-pager-default.desktop
    index 96cf864..123361b 100644
    Name[nn]=Skrivebordsbytar 
    5656Name[oc]=Recebedor d'apèl
    5757Name[or]=ପେଜର
    5858Name[pa]=ਪੇਜ਼ਰ
    59 Name[pl]=Pager
     59Name[pl]=Podgląd pulpitów
    6060Name[pt]=Paginador
    6161Name[pt_BR]=Paginador
    6262Name[ro]=Paginator
  • plasma/desktop/applets/showActivityManager/package/metadata.desktop

    diff --git plasma/desktop/applets/showActivityManager/package/metadata.desktop plasma/desktop/applets/showActivityManager/package/metadata.desktop
    index bfd1bad..3f5dd76 100644
    Comment[nb]=Viser aktivitetshåndtereren 
    8888Comment[nds]=Wiest den Aktivitetenpleger
    8989Comment[nl]=Toont de activiteitenbeheerder
    9090Comment[pa]=ਸਰਗਰਮੀ ਮੈਨੇਜਰ ਵੇਖਾਉਂਦਾ ਹੈ
    91 Comment[pl]=Pokazuje menadżera działań
     91Comment[pl]=Pokazuje zarządzanie działaniami
    9292Comment[pt]=Mostra o gestor de actividades
    9393Comment[pt_BR]=Mostra o gerenciador de atividades
    9494Comment[ro]=Arată Gestionarul de activități
  • plasma/desktop/shell/desktopview.cpp

    diff --git plasma/desktop/shell/desktopview.cpp plasma/desktop/shell/desktopview.cpp
    index f0f0371..cfce13c 100644
    void DesktopView::toolBoxOpened(bool open) 
    314314        return;
    315315    }
    316316
    317 #ifndef Q_WS_WIN
     317#ifdef Q_WS_X11
    318318    NETRootInfo info(QX11Info::display(), NET::Supported);
    319319    if (!info.isSupported(NET::WM2ShowingDesktop)) {
    320320        return;
  • plasma/desktop/shell/plasmaapp.cpp

    diff --git plasma/desktop/shell/plasmaapp.cpp plasma/desktop/shell/plasmaapp.cpp
    index c1294a1..49846fb 100644
     
    3131#include <unistd.h>
    3232
    3333#ifndef _SC_PHYS_PAGES
    34     #ifdef Q_OS_FREEBSD
     34    #if defined(Q_OS_FREEBSD) || defined(Q_OS_MAC)
    3535    #include <sys/types.h>
    3636    #include <sys/sysctl.h>
    3737    #endif
    PlasmaApp::PlasmaApp() 
    216216    int memorySize = sysconf(_SC_PHYS_PAGES);
    217217    memorySize *= sysconf(_SC_PAGESIZE) / 1024;
    218218#else
    219 #ifdef Q_OS_FREEBSD
     219#if defined(Q_OS_FREEBSD) || defined(Q_OS_MAC)
    220220    int sysctlbuf[2];
    221221    size_t size = sizeof(sysctlbuf);
    222222    int memorySize;
  • plasma/generic/CMakeLists.txt

    diff --git plasma/generic/CMakeLists.txt plasma/generic/CMakeLists.txt
    index cfaf14f..294faaf 100644
    add_subdirectory(dataengines) 
    1111add_subdirectory(runners)
    1212add_subdirectory(scriptengines)
    1313add_subdirectory(shells)
    14 add_subdirectory(wallpapers)
     14if(NOT APPLE)
     15    add_subdirectory(wallpapers)
     16endif(NOT APPLE)
    1517
  • plasma/generic/applets/CMakeLists.txt

    diff --git plasma/generic/applets/CMakeLists.txt plasma/generic/applets/CMakeLists.txt
    index 2b888ee..0e1131d 100644
    if(QT_QTWEBKIT_FOUND) 
    1616   add_subdirectory(webbrowser)
    1717endif(QT_QTWEBKIT_FOUND)
    1818
    19 if(NOT WIN32)
     19if(NOT WIN32 AND NOT APPLE)
    2020   add_subdirectory(system-monitor)
    2121   #notifications
    2222   #should compile also on windows? (even if doesn't really make sense)
    if(NOT WIN32) 
    2424   if(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop")
    2525      add_subdirectory(systemtray)
    2626   endif(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop")
    27 endif(NOT WIN32)
     27endif(NOT WIN32 AND NOT APPLE)
  • plasma/generic/applets/batterymonitor/metadata.desktop

    diff --git plasma/generic/applets/batterymonitor/metadata.desktop plasma/generic/applets/batterymonitor/metadata.desktop
    index e0d2486..5ee08b4 100644
    Comment[zh_CN]=查看电池电源的状态 
    159159Comment[zh_TW]=查看您的電池的電力狀態
    160160Encoding=UTF-8
    161161Keywords=Power Management;Battery;System;Energy;
    162 Keywords[bs]=Upravljanje napajenjem, Baterija, Sistem, Energija
     162Keywords[bs]=Upravljanje napajenjem;Baterija;Sistem;Energija;
    163163Keywords[ca]=Sistema de gestió d'energia;Bateria;Sistema;Energia;
    164164Keywords[ca@valencia]=Sistema de gestió d'energia;Bateria;Sistema;Energia;
    165165Keywords[cs]=Správa napájení;Baterie;Systém;Energie;
    Keywords[pl]=Zarządzanie Energią;Bateria;System;Energia 
    188188Keywords[pt]=Gestão de Energia;Bateria;Sistema;Energia;
    189189Keywords[pt_BR]=Gerenciamento de energia;Bateria;Sistema;Energia;
    190190Keywords[ro]=gestiunea alimentării;acumulator;sistem;energie;
    191 Keywords[ru]=Power Management;Battery;System;Energy;управление питанием;батарея;система;энергия;энергопотребление
     191Keywords[ru]=Power Management;Battery;System;Energy;управление питанием;батарея;система;энергия;энергопотребление;
    192192Keywords[sk]=Správa napájania;Batéria;Systém;Energia;
    193193Keywords[sl]=upravljanje z energijo;baterija;sistem;energija;
    194 Keywords[sr]=Power Management;Battery;System;Energy;управљање напајањем;батерија; систем;енергија
    195 Keywords[sr@ijekavian]=Power Management;Battery;System;Energy;управљање напајањем;батерија; систем;енергија
    196 Keywords[sr@ijekavianlatin]=Power Management;Battery;System;Energy;upravljanje napajanjem;baterija; sistem;energija
    197 Keywords[sr@latin]=Power Management;Battery;System;Energy;upravljanje napajanjem;baterija; sistem;energija
     194Keywords[sr]=Power Management;Battery;System;Energy;управљање напајањем;батерија; систем;енергија;
     195Keywords[sr@ijekavian]=Power Management;Battery;System;Energy;управљање напајањем;батерија; систем;енергија;
     196Keywords[sr@ijekavianlatin]=Power Management;Battery;System;Energy;upravljanje napajanjem;baterija; sistem;energija;
     197Keywords[sr@latin]=Power Management;Battery;System;Energy;upravljanje napajanjem;baterija; sistem;energija;
    198198Keywords[sv]=Strömhantering;Batteri;System;Energi;
    199199Keywords[tr]=Güç Yönetimi;Pil;Sistem;Enerji;
    200200Keywords[uk]=Power Management;Battery;System;Energy;керування живленням;акумулятор;система;енергія;батарея;батарейка;живлення;
    201 Keywords[x-test]=xxPower Management;Battery;System;Energy;xx
     201Keywords[x-test]=xxPower Managementxx;xxBatteryxx;xxSystemxx;xxEnergyxx;
    202202Keywords[zh_CN]=Power Management;Battery;System;Energy;电源管理;电池;系统;能源;
    203203Keywords[zh_TW]=Power Management;Battery;System;Energy;
    204204
  • plasma/generic/applets/lock_logout/metadata.desktop

    diff --git plasma/generic/applets/lock_logout/metadata.desktop plasma/generic/applets/lock_logout/metadata.desktop
    index b07df34..df225d6 100644
    Comment[zh_CN]=锁定屏幕或注销 
    159159Comment[zh_TW]=鎖定螢幕或登出
    160160Encoding=UTF-8
    161161Keywords=Lock;Logout;Sleep;Hibernate;Switch User;
    162 Keywords[bs]=Zaključavanje, Odjava, Spavanje, Hibernacija, Promijena korisnika
     162Keywords[bs]=Zaključavanje;Odjava;Spavanje;Hibernacija;Promjena korisnika;
    163163Keywords[ca]=Bloqueig;Sortida;Suspensió;Hibernació;Canvi d'usuari;
    164164Keywords[ca@valencia]=Bloqueig;Eixida;Suspensió;Hibernació;Canvi d'usuari;
    165 Keywords[da]=Lås;Log ud;Slumre;Dvale;Suspend;Skift bruger;suspender
     165Keywords[da]=Lås;Log ud;Slumre;Dvale;Suspend;Skift bruger;suspender;
    166166Keywords[de]=Sperren;Abmelden;Ruhezustand;Tiefschlaf;Benutzer wechseln;
    167167Keywords[el]=Κλείδωμα·έξοδος·ύπνωση·νάρκη·εναλλαγήχρήστη·
    168168Keywords[en_GB]=Lock;Logout;Sleep;Hibernate;Switch User;
    Keywords[ko]=Lock;Logout;Sleep;Hibernate;Switch User;잠금;로그아웃;대기; 
    180180Keywords[mr]=कुलूप; बाहेर पडा; झोप; हायबरनेट; वापरकर्ता बदला;
    181181Keywords[nb]=Lås; Logg ut; Hvile; Dvale; Bytt bruker;
    182182Keywords[nds]=Slott,afsluten,afmellen,slapen,infreren,Bruker wesseln;Brukerwessel
    183 Keywords[nl]=Vergrendelen;Afmelden;Slapen;Slaapstand naar schijf;Gebruiker wisselen
     183Keywords[nl]=Vergrendelen;Afmelden;Slapen;Slaapstand naar schijf;Gebruiker wisselen;
    184184Keywords[pa]=ਲਾਕ;ਲਾਗਆਉਟ;ਸਲੀਪ;ਹਾਈਬਰਨੇਟ;ਯੂਜ਼ਰ ਬਦਲੋ;
    185185Keywords[pl]=Zablokuj;Wyloguj;Uśpij;Hibernuj;Przełącz użytkownika;
    186186Keywords[pt]=Bloquear;Encerrar;Suspender;Hibernar;Mudar de Utilizador;
    Keywords[ro]=blochează;ieși;adormire;dormi;hibernare;schimbă utilizatorul;com 
    189189Keywords[ru]=Lock;Logout;Sleep;Hibernate;Switch User;блокировать;блокировка;выход;выход из системы;спящий режим;сон;режим гибернации;гибернация;сменить пользователя;смена пользователя;
    190190Keywords[sk]=Zamknúť;Odhlásiť;Uspať;Hibernovať;Prepnúť používateľa;
    191191Keywords[sl]=zaklep;odjava;pripravljenost;mirovanje;zamenjava uporabnika;
    192 Keywords[sr]=Lock;Logout;Sleep;Hibernate;Switch User;закључавање;одјављивање;спавање;хибернација;пребацивање
    193 Keywords[sr@ijekavian]=Lock;Logout;Sleep;Hibernate;Switch User;закључавање;одјављивање;спавање;хибернација;пребацивање
    194 Keywords[sr@ijekavianlatin]=Lock;Logout;Sleep;Hibernate;Switch User;zaključavanje;odjavljivanje;spavanje;hibernacija;prebacivanje
    195 Keywords[sr@latin]=Lock;Logout;Sleep;Hibernate;Switch User;zaključavanje;odjavljivanje;spavanje;hibernacija;prebacivanje
     192Keywords[sr]=Lock;Logout;Sleep;Hibernate;Switch User;закључавање;одјављивање;спавање;хибернација;пребацивање;
     193Keywords[sr@ijekavian]=Lock;Logout;Sleep;Hibernate;Switch User;закључавање;одјављивање;спавање;хибернација;пребацивање;
     194Keywords[sr@ijekavianlatin]=Lock;Logout;Sleep;Hibernate;Switch User;zaključavanje;odjavljivanje;spavanje;hibernacija;prebacivanje;
     195Keywords[sr@latin]=Lock;Logout;Sleep;Hibernate;Switch User;zaključavanje;odjavljivanje;spavanje;hibernacija;prebacivanje;
    196196Keywords[sv]=Lås;Utloggning;Viloläge;Dvala;Byt användare;
    197197Keywords[tr]=Kilitle;Oturumu Kapat;Uyku;Askıya Al;Kullanıcı Değiştir;
    198 Keywords[uk]=Lock;Logout;Sleep;Hibernate;Switch User;блокування;вихід;присипляння;сон;перемикання;користувач
    199 Keywords[x-test]=xxLock;Logout;Sleep;Hibernate;Switch User;xx
     198Keywords[uk]=Lock;Logout;Sleep;Hibernate;Switch User;блокування;вихід;присипляння;сон;перемикання;користувач;
     199Keywords[x-test]=xxLockxx;xxLogoutxx;xxSleepxx;xxHibernatexx;xxSwitch Userxx;
    200200Keywords[zh_CN]=Lock;Logout;Sleep;Hibernate;Switch User;锁定;注销;待机;休眠;切换用户;
    201201Keywords[zh_TW]=Lock;Logout;Sleep;Hibernate;Switch User;
    202202
  • plasma/generic/applets/webbrowser/plasma-applet-webbrowser.desktop

    diff --git plasma/generic/applets/webbrowser/plasma-applet-webbrowser.desktop plasma/generic/applets/webbrowser/plasma-applet-webbrowser.desktop
    index 5d83d24..fd40a83 100644
    Name[br]=Furcher an Internet 
    1313Name[bs]=veb pregledač
    1414Name[ca]=Navegació Web
    1515Name[ca@valencia]=Navegació Web
    16 Name[cs]=Prohlížeč Webu
    1716Name[csb]=Przezérnik WWW
    1817Name[cy]=Porydd Gwê
    1918Name[da]=Browser
    Name[et]=Veebibrauser 
    2625Name[eu]=Web-arakatzailea
    2726Name[fa]=مرورگر وب‌‌
    2827Name[fi]=Verkkoselain
    29 Name[fr]=Navigateur Web
    3028Name[fy]=Webblêder
    3129Name[ga]=Brabhsálaí Gréasáin
    3230Name[gl]=Navegador web
    Name[ia]=Navigator Web 
    4139Name[id]=Peramban Web
    4240Name[is]=Vafri
    4341Name[it]=Browser Web
    44 Name[ja]=ウェブブラウザ
    4542Name[ka]=ვებ ბრაუზერი
    4643Name[kk]=Веб шолғышы
    4744Name[km]=កម្មវិធី​រុករក​បណ្ដាញ
    4845Name[kn]=ಚಾಲ ವೀಕ್ಷಕ
    49 Name[ko]=웹 브라우저
    5046Name[ku]=Geroka Torê
    5147Name[lt]=Žiniatinklio naršyklė
    5248Name[lv]=Tīmekļa pārlūks
    Comment[bn_IN]=একটি সাধারণ ওয়েব ব্রাউজ 
    10298Comment[bs]=Jednostavan veb pregledač
    10399Comment[ca]=Un navegador web senzill
    104100Comment[ca@valencia]=Un navegador web senzill
    105 Comment[cs]=Jednoduchý webový prohlížeč
    106101Comment[csb]=Prosti przezérnik WWW
    107102Comment[da]=En simpel webbrowser
    108103Comment[de]=Einfacher Webbrowser
    Comment[es]=Navegador sencillo 
    113108Comment[et]=Lihtne veebibrauser
    114109Comment[eu]=Web-arakatzaile soila
    115110Comment[fi]=Yksinkertainen selain
    116 Comment[fr]=Un navigateur Web simple
    117111Comment[fy]=In ienfâldige webblêder
    118112Comment[ga]=Brabhsálaí simplí
    119113Comment[gl]=Un navegador web simples
    Comment[ia]=Un simple navigator web 
    128122Comment[id]=Peramban web sederhana
    129123Comment[is]=Einfaldur vafri
    130124Comment[it]=Un semplice browser Web
    131 Comment[ja]=シンプルなウェブブラウザ
    132125Comment[kk]=Қарапайым веб шолғышы
    133126Comment[km]=កម្មវិធី​រុករក​បណ្ដាញ​ធម្មតា
    134127Comment[kn]=ಒಂದು ಸರಳ ಜಾಲ ವೀಕ್ಷಕ
    135 Comment[ko]=간단한 웹 브라우저
    136128Comment[ku]=Geroka torê yê hêsan
    137129Comment[lt]=Paprasta žiniatinklio naršyklė
    138130Comment[lv]=Vienkāršs tīmekļa pārlūks
    139131Comment[mk]=Едноставен веб-прелистувач
    140132Comment[ml]=ലളിതമായ വെബ് ബ്രൌസര്‍
    141133Comment[mr]=सोपा वेब ब्राऊजर
    142 Comment[nb]=Enkel nettleser
    143134Comment[nds]=En eenfach Nettkieker
    144135Comment[nl]=Eenvoudige webbrowser
    145136Comment[nn]=Enkel nettlesar
  • plasma/generic/dataengines/CMakeLists.txt

    diff --git plasma/generic/dataengines/CMakeLists.txt plasma/generic/dataengines/CMakeLists.txt
    index d240683..35a7a10 100644
    if(Boost_FOUND AND KdepimLibs_FOUND) 
    3434   add_subdirectory(rss)
    3535endif(Boost_FOUND AND KdepimLibs_FOUND)
    3636
    37 if(NOT WIN32)
     37if(NOT WIN32 AND NOT APPLE)
    3838   add_subdirectory(mouse)
    3939   add_subdirectory(systemmonitor)
    4040   if(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop")
    4141      add_subdirectory(tasks)
    4242   endif(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop")
    43 endif(NOT WIN32)
     43endif(NOT WIN32 AND NOT APPLE)
    4444
  • plasma/generic/dataengines/filebrowser/plasma-dataengine-filebrowser.desktop

    diff --git plasma/generic/dataengines/filebrowser/plasma-dataengine-filebrowser.desktop plasma/generic/dataengines/filebrowser/plasma-dataengine-filebrowser.desktop
    index 04ea347..b8f252a 100644
    Comment[eo]=Informoj pri dosieroj kaj dosierujoj 
    9393Comment[es]=Información sobre los archivos y directorios.
    9494Comment[et]=Teave failide ja kataloogide kohta.
    9595Comment[eu]=Fitxategi eta direktorioei buruzko informazioa
    96 Comment[fi]=Tietoja tiedostosta ja hakemistoista.
     96Comment[fi]=Tietoa tiedostosta ja hakemistoista.
    9797Comment[fr]=Informations sur les fichiers et les dossiers.
    9898Comment[fy]=Ynformaasje oer triemmen en triemtafels.
    9999Comment[ga]=Eolas faoi chomhaid agus faoi chomhadlanna.
  • plasma/generic/dataengines/powermanagement/plasma-dataengine-powermanagement.desktop

    diff --git plasma/generic/dataengines/powermanagement/plasma-dataengine-powermanagement.desktop plasma/generic/dataengines/powermanagement/plasma-dataengine-powermanagement.desktop
    index 0e979a9..162dc2a 100644
    Comment[ja]=バッテリ、商用電源、スリープ、PowerDevil の情報。 
    100100Comment[kk]=Батарея, тоқ, ұйықтау күйі және PowerDevil мәліметі.
    101101Comment[km]=ព័ត៌មាន ថ្ម AC ដេក និង​ PowerDevil ។
    102102Comment[kn]=ವಿದ್ಯುತ್ಕೋಶ, AC, ಜಡ ಹಾಗು PowerDevil ಮಾಹಿತಿ.
    103 Comment[ko]=배터리, AC, 절전 모드 및 PowerDevil 정보입니다.
     103Comment[ko]=배터리; AC; 절전 모드 및 PowerDevil 정보입니다.
    104104Comment[lt]=Akumuliatoriaus, AC, miego ir PowerDevil informacija.
    105105Comment[lv]=Baterija, barošana, gulēšanas un PowerDevil informācija.
    106106Comment[ml]=ബാറ്ററി, എസി, നിദ്ര പിന്നെ പവര്‍ഡെവിള്‍ എന്നീ വിവരങ്ങള്‍.
  • plasma/generic/runners/CMakeLists.txt

    diff --git plasma/generic/runners/CMakeLists.txt plasma/generic/runners/CMakeLists.txt
    index 6831ac0..963fe59 100644
    if(NepomukCore_FOUND) 
    1414  add_subdirectory(nepomuksearch)
    1515endif(NepomukCore_FOUND)
    1616
    17 if(NOT WIN32)
     17if(NOT WIN32 AND NOT APPLE)
    1818add_subdirectory(powerdevil)
    1919add_subdirectory(sessions)
    2020add_subdirectory(windows)
    2121add_subdirectory(kill)
    22 endif(NOT WIN32)
     22endif(NOT WIN32 AND NOT APPLE)
    2323
  • plasma/generic/runners/kill/plasma-runner-kill_config.desktop

    diff --git plasma/generic/runners/kill/plasma-runner-kill_config.desktop plasma/generic/runners/kill/plasma-runner-kill_config.desktop
    index b78523a..9d65503 100644
    Name[ru]=Завершение приложений 
    6161Name[si]=KDE යෙදුම්
    6262Name[sk]=Zabiť aplikácie
    6363Name[sl]=Uniči programe
    64 Name[sr]=Обустављање програма
    65 Name[sr@ijekavian]=Обустављање програма
    66 Name[sr@ijekavianlatin]=Obustavljanje programa
    67 Name[sr@latin]=Obustavljanje programa
     64Name[sr]=обустављање програма
     65Name[sr@ijekavian]=обустављање програма
     66Name[sr@ijekavianlatin]=obustavljanje programa
     67Name[sr@latin]=obustavljanje programa
    6868Name[sv]=Döda program
    6969Name[tg]=Барномаҳои KDE
    7070Name[th]=ฆ่าโพรเซสของโปรแกรม
  • plasma/generic/runners/locations/plasma-runner-locations.desktop

    diff --git plasma/generic/runners/locations/plasma-runner-locations.desktop plasma/generic/runners/locations/plasma-runner-locations.desktop
    index 88afd22..ae68a6a 100644
    Name[es]=Ubicaciones 
    2020Name[et]=Asukohad
    2121Name[eu]=Kokalekuak
    2222Name[fi]=Sijainnit
    23 Name[fr]=Emplacements
    2423Name[fy]=Lokaasjes
    2524Name[ga]=Áiteanna
    2625Name[gl]=Lugares
    Name[ia]=Locationes 
    3433Name[id]=Lokasi
    3534Name[is]=Staðsetningar
    3635Name[it]=Posizioni
    37 Name[ja]=場所
    3836Name[kk]=Адрестер
    3937Name[km]=ទីតាំង
    4038Name[kn]=ಸ್ಥಳಗಳು
    Name[lv]=Vietas 
    4543Name[mk]=Локации
    4644Name[ml]=സ്ഥാനങ്ങള്‍
    4745Name[mr]=स्थान
    48 Name[nb]=Steder
    4946Name[nds]=Steden
    5047Name[nl]=Locaties
    5148Name[nn]=Adresser
    Name[ru]=Расположения 
    5956Name[si]=පිහිටුම
    6057Name[sk]=Miesta
    6158Name[sl]=Mesta
    62 Name[sr]=локације
    63 Name[sr@ijekavian]=локације
    64 Name[sr@ijekavianlatin]=lokacije
    65 Name[sr@latin]=lokacije
     59Name[sr]=Локације
     60Name[sr@ijekavian]=Локације
     61Name[sr@ijekavianlatin]=Lokacije
     62Name[sr@latin]=Lokacije
    6663Name[sv]=Platser
    6764Name[ta]=Locations
    6865Name[te]=స్థానములు
  • plasma/generic/runners/services/plasma-runner-services.desktop

    diff --git plasma/generic/runners/services/plasma-runner-services.desktop plasma/generic/runners/services/plasma-runner-services.desktop
    index 4bdd62d..e7dce9d 100644
    Comment[ja]=アプリケーション、コントロールパネル、サービ 
    127127Comment[kk]=Қолданбаларды табу, панельдер мен қызметтерді басқару
    128128Comment[km]=រក​កម្មវិធី បន្ទះ​ត្រួតពិនិត្យ និង​សេវា
    129129Comment[kn]=ಅನ್ವಯಗಳು, ನಿಯಂತ್ರಣಾ ಪುಟೀಪುಗಳು (ಕಂಟ್ರೋಲ್ ಪಾನಲ್ಸ್) ಹಾಗೂ ಸೇವೆಗಳನ್ನು ಹುಡುಕು
    130 Comment[ko]=프로그램, 제어판, 서비스 찾기
     130Comment[ko]=프로그램; 제어판; 서비스 찾기
    131131Comment[ku]=Sepanan, panelên kontrolê û servîsan bibîne
    132132Comment[lt]=Rasti programas, valdymo pultus ir tarnybas
    133133Comment[lv]=Meklēt lietotnes, kontroles paneļus un servisus
  • plasma/generic/runners/webshortcuts/plasma-runner-webshortcuts.desktop

    diff --git plasma/generic/runners/webshortcuts/plasma-runner-webshortcuts.desktop plasma/generic/runners/webshortcuts/plasma-runner-webshortcuts.desktop
    index 5e92780..89db96c 100644
    Comment[ca]=Permet que l'usuari utilitzi les dreceres web del Konqueror 
    7676Comment[ca@valencia]=Permet que l'usuari utilitze les dreceres web del Konqueror
    7777Comment[cs]=Umožňuje používat webové zkratky Konqueroru
    7878Comment[da]=Lader brugeren anvende Konquerors webgenveje
    79 Comment[de]=rmöglicht die Verwendung von Web-Kürzeln in Konqueror
     79Comment[de]=Ermöglicht die Verwendung von Web-Kürzeln in Konqueror
    8080Comment[el]=Επιτρέπει τη χρήση συντομεύσεων ιστού του Konqueror
    8181Comment[en_GB]=Allows user to use Konqueror's web shortcuts
    8282Comment[es]=Permite al usuario usar accesos rápidos web de Konqueror
  • plasma/generic/shells/plasma-windowed/CMakeLists.txt

    diff --git plasma/generic/shells/plasma-windowed/CMakeLists.txt plasma/generic/shells/plasma-windowed/CMakeLists.txt
    index 86b7770..74b9641 100644
    set(plasma-windowed_SRCS 
    1010
    1111
    1212kde4_add_kdeinit_executable(plasma-windowed ${plasma-windowed_SRCS})
     13if (Q_WS_MAC)
     14    set_target_properties(plasma-windowed PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.template)
     15    set_target_properties(plasma-windowed PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.plasma.windowed")
     16    set_target_properties(plasma-windowed PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Runs KDE Plasma widget (Plasmoid) in a window")
     17endif (Q_WS_MAC)
    1318
    1419target_link_libraries(kdeinit_plasma-windowed ${KDE4_PLASMA_LIBS} kworkspace ${KDE4_KIO_LIBS} ${X11_LIBRARIES} ${KDE4_KFILE_LIBS} )
    1520
  • plasma/generic/shells/plasma-windowed/plasmaapp.cpp

    diff --git plasma/generic/shells/plasma-windowed/plasmaapp.cpp plasma/generic/shells/plasma-windowed/plasmaapp.cpp
    index dbdff47..5702001 100644
    int PlasmaApp::newInstance() 
    144144    SingleView *view = new SingleView(m_corona, containment, pluginName, appletId, appletArgs);
    145145
    146146    if (!view->applet()) {
     147#ifdef Q_OS_MAC
     148        view->deleteLater();
     149#else
    147150        delete view;
     151#endif
    148152        return 0;
    149153    }
    150154
    int PlasmaApp::newInstance() 
    180184    return 0;
    181185}
    182186
     187#ifdef Q_OS_MAC
     188template <typename ForwardIterator>
     189Q_OUTOFLINE_TEMPLATE void qDeleteLaterAll(ForwardIterator begin, ForwardIterator end)
     190{
     191    while (begin != end) {
     192        (*begin)->deleteLater();
     193        ++begin;
     194    }
     195}
     196
     197template <typename Container>
     198inline void qDeleteLaterAll(const Container &c)
     199{
     200    qDeleteLaterAll(c.begin(), c.end());
     201}
     202#endif
    183203
    184204void PlasmaApp::cleanup()
    185205{
    void PlasmaApp::cleanup() 
    187207        m_corona->saveLayout();
    188208    }
    189209
     210#ifdef Q_OS_MAC
     211    qDeleteLaterAll(m_viewForPlugin);
     212    m_corona->deleteLater();
     213#else
    190214    qDeleteAll(m_viewForPlugin);
    191215
    192216    delete m_corona;
     217#endif
    193218    m_corona = 0;
    194219
    195220    //TODO: This manual sync() should not be necessary?
    void PlasmaApp::storeApplet(Plasma::Applet *applet) 
    236261    KConfigGroup cg(applet->containment()->config());
    237262    cg = KConfigGroup(&cg, "Applets");
    238263    cg = KConfigGroup(&cg, QString::number(applet->id()));
     264#ifdef Q_OS_MAC
     265    applet->deleteLater();
     266#else
    239267    delete applet;
     268#endif
    240269//    kDebug() << "storing" << applet->name() << applet->id() << "to" << storage.name() << ", applet config is" << cg.name();
    241270    cg.reparent(&storage);
    242271}
  • plasma/netbook/containments/CMakeLists.txt

    diff --git plasma/netbook/containments/CMakeLists.txt plasma/netbook/containments/CMakeLists.txt
    index c96a688..de6fe3b 100644
     
    11add_subdirectory(netpanel)
    2 if(NOT WIN32)
     2if(NOT WIN32 AND NOT APPLE)
    33add_subdirectory(sal)
    4 endif(NOT WIN32)
     4endif(NOT WIN32 AND NOT APPLE)
  • plasma/netbook/containments/sal/services/plasma-sal-utility.desktop

    diff --git plasma/netbook/containments/sal/services/plasma-sal-utility.desktop plasma/netbook/containments/sal/services/plasma-sal-utility.desktop
    index 9bcfa5e..b8c455f 100644
    Comment[bg]=Разни инструменти 
    9898Comment[bs]=Manje priručne alatke
    9999Comment[ca]=Petites utilitats i accessoris
    100100Comment[ca@valencia]=Petites utilitats i accessoris
    101 Comment[cs]=Malé utility a příslušenství
     101Comment[cs]=Malé nástroje a příslušenství
    102102Comment[csb]=Môłé nôrzãdza ë pòmòcné aplikacëje
    103103Comment[da]=Små værktøjer og tilbehør
    104104Comment[de]=Kleine Werkzeuge und Zubehörprogramme
  • plasma/netbook/shell/CMakeLists.txt

    diff --git plasma/netbook/shell/CMakeLists.txt plasma/netbook/shell/CMakeLists.txt
    index e2a83fd..34a7aa6 100644
    qt4_add_dbus_interface(plasma-netbook_SRCS ${ksmserver_xml} ksmserver_interface) 
    1919
    2020kde4_add_kdeinit_executable(plasma-netbook ${plasma-netbook_SRCS})
    2121
    22 target_link_libraries(kdeinit_plasma-netbook ${KDE4_PLASMA_LIBS} kworkspace ${KDE4_KIO_LIBS} ${X11_LIBRARIES} ${KDE4_KFILE_LIBS} kephal plasmagenericshell ${QT_QTOPENGL_LIBRARY} ${QT_QTSCRIPT_LIBRARY})
    23 if(X11_Xrender_FOUND)
    24    target_link_libraries(kdeinit_plasma-netbook ${X11_Xrender_LIB})
    25 endif(X11_Xrender_FOUND)
     22if(APPLE)
     23    target_link_libraries(kdeinit_plasma-netbook ${KDE4_PLASMA_LIBS} kworkspace ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} kephal plasmagenericshell ${QT_QTOPENGL_LIBRARY} ${QT_QTSCRIPT_LIBRARY})
     24else()
     25    target_link_libraries(kdeinit_plasma-netbook ${KDE4_PLASMA_LIBS} kworkspace ${KDE4_KIO_LIBS} ${X11_LIBRARIES} ${KDE4_KFILE_LIBS} kephal plasmagenericshell ${QT_QTOPENGL_LIBRARY} ${QT_QTSCRIPT_LIBRARY})
     26    if(X11_Xrender_FOUND)
     27       target_link_libraries(kdeinit_plasma-netbook ${X11_Xrender_LIB})
     28    endif(X11_Xrender_FOUND)
     29endif(APPLE)
    2630
    2731install(TARGETS kdeinit_plasma-netbook DESTINATION ${LIB_INSTALL_DIR})
    2832install(TARGETS plasma-netbook ${INSTALL_TARGETS_DEFAULT_ARGS})
  • plasma/netbook/shell/plasmaapp.cpp

    diff --git plasma/netbook/shell/plasmaapp.cpp plasma/netbook/shell/plasmaapp.cpp
    index c364238..f19329e 100644
    bool PlasmaApp::eventFilter(QObject * watched, QEvent *event) 
    10271027    return false;
    10281028}
    10291029
     1030#ifdef Q_WS_X11
    10301031bool PlasmaApp::x11EventFilter(XEvent *event)
    10311032{
    10321033
    bool PlasmaApp::x11EventFilter(XEvent *event) 
    10611062
    10621063    return KUniqueApplication::x11EventFilter(event);
    10631064}
     1065#else
     1066bool PlasmaApp::x11EventFilter(void *event)
     1067{
     1068    Q_UNUSED(event);
     1069    return false;
     1070}
     1071#endif
    10641072
    10651073bool PlasmaApp::hasForegroundWindows() const
    10661074{
    void PlasmaApp::controlBarVisibilityUpdate() 
    11131121    //would be nice to avoid this
    11141122    QPoint cursorPos = QCursor::pos();
    11151123
    1116     if (m_triggerZone.adjusted(-1, -1, 1, 1).contains(cursorPos) || hasForegroundWindows()) {
     1124    if (
     1125#ifdef Q_WS_X11
     1126        m_triggerZone.adjusted(-1, -1, 1, 1).contains(cursorPos) ||
     1127#endif
     1128        hasForegroundWindows())
     1129    {
    11171130        if (!m_controlBar->isVisible()) {
    11181131            destroyUnHideTrigger();
    11191132            Plasma::WindowEffects::slideWindow(m_controlBar, m_controlBar->location());
  • plasma/netbook/shell/plasmaapp.h

    diff --git plasma/netbook/shell/plasmaapp.h plasma/netbook/shell/plasmaapp.h
    index 8374e53..002a7da 100644
    public Q_SLOTS: 
    9494
    9595protected:
    9696    bool eventFilter(QObject *watched, QEvent *event);
     97#ifdef Q_WS_X11
    9798    bool x11EventFilter(XEvent *event);
     99#else
     100    bool x11EventFilter(void *event);
     101#endif
    98102    //true if the application has an active window
    99103    bool hasForegroundWindows() const;
    100104    //more strict than hasForegroundWindows, the mainview has to be not only active, but also on top of other windows