head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.22 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.20 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.18 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.16 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.14 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.12 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.10 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.8 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.6 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.4 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.2 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.4.0.14 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.12 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.12 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.10 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.8 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.6 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.4 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.2 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2007.10.20.10.47.23; author markd; state dead; branches; next 1.4; 1.4 date 2006.01.05.20.25.16; author joerg; state Exp; branches; next 1.3; 1.3 date 2004.08.21.14.15.55; author markd; state Exp; branches; next 1.2; 1.2 date 2003.12.27.14.35.16; author mrg; state Exp; branches; next 1.1; 1.1 date 2003.03.11.13.22.32; author markd; state Exp; branches; next ; desc @@ 1.5 log @Update to KDE 3.5.8 kfloppy * Check all available densities instead of a hardcoded list. klaptopdaemon * Fix lock & hibernate allowing unauthorised access . @ text @$NetBSD: patch-ap,v 1.4 2006/01/05 20:25:16 joerg Exp $ --- ksim/monitors/cpu/ksimcpu.cpp.orig 2005-10-05 13:26:45.000000000 +0000 +++ ksim/monitors/cpu/ksimcpu.cpp @@@@ -44,7 +44,13 @@@@ #ifdef Q_OS_BSD4 #include -#ifdef Q_OS_FREEBSD +#if defined(__DragonFly__) +#include +#include +#include +#include + +#elif defined Q_OS_FREEBSD #if __FreeBSD_version < 500101 #include #else @@@@ -235,7 +241,15 @@@@ void CpuView::updateCpu(CpuData &cpu, in fseek(m_procFile, 0L, SEEK_SET); #endif -#ifdef Q_OS_FREEBSD +#ifdef __DragonFly__ + struct kinfo_cputime cp_time; + if (kinfo_get_sched_cputime(&cp_time)) + err(1, "kinfo_get_sched_cputime"); + cpu.user = cp_time.cp_user; + cpu.nice = cp_time.cp_nice; + cpu.sys = cp_time.cp_sys; + cpu.idle = cp_time.cp_idle; +#elif defined(Q_OS_FREEBSD) #warning "add support for SMP on FreeBSD" Q_UNUSED(cpuNumber); static int name2oid[2] = { 0, 3 }; @@@@ -265,6 +279,9 @@@@ void CpuView::updateCpu(CpuData &cpu, in cpu.idle = cpuTime[CP_IDLE]; #endif +#if defined(Q_OS_NETBSD) +#define KERN_CPTIME KERN_CP_TIME +#endif #if defined(Q_OS_OPENBSD) || defined(Q_OS_NETBSD) //#warning "add support for SMP on OpenBSD and NetBSD" int name2oid[2] = { CTL_KERN, KERN_CPTIME }; @ 1.4 log @Add DragonFly support. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update to KDE 3.3 Changes: * Kgpg o Do not show expired keys in the signing dialog Jean-Baptiste Mardelle o Make it possible to change colors assigned to trust values Jean-Baptiste Mardelle o Add option to hide invalid keys (revoked/expired) Jean-Baptiste Mardelle o Improve multi-file operations (better feedback, non-blocking) Jean-Baptiste Mardelle o Added search filter in key dialogs Jean-Baptiste Mardelle o Added status bar for improved feedback Jean-Baptiste Mardelle o Improve autodetection of dropped files (signatures, keys) Jean-Baptiste Mardelle o Change icon to reflect KGpg's state (busy/ready) Jean-Baptiste Mardelle * KCalc o More different modes: logic, statistics, trig-functions Klaus Niederkrueger o Pressing Ctrl displays the accels for all buttons. Klaus Niederkrueger o Display content can be copied with standard actions cut/copy/paste Klaus Niederkrueger * Ark o Search Bar Henrique Pinto o New Konqueror Integration Plugin Georg Robbers o KParts-based integrated viewer Henrique Pinto o Improved Extraction Dialog Henrique Pinto @ text @d1 1 a1 1 $NetBSD: patch-ap,v 1.2 2003/12/27 14:35:16 mrg Exp $ d3 1 a3 1 --- ksim/monitors/cpu/ksimcpu.cpp.orig 2004-07-18 07:13:06.000000000 +1200 d5 33 a37 1 @@@@ -264,6 +264,9 @@@@ void CpuView::updateCpu(CpuData &cpu, in @ 1.2 log @avoid a compile time error on 64 bit platforms: can't pass int * to a fucntion (sysctl(3)) expecting size_t *. @ text @d1 1 a1 1 $NetBSD: patch-ap,v 1.1 2003/03/11 13:22:32 markd Exp $ d3 3 a5 3 --- ksim/monitors/cpu/ksimcpu.cpp.orig 2003-09-02 11:49:19.000000000 +0000 +++ ksim/monitors/cpu/ksimcpu.cpp 2003-12-27 14:28:38.000000000 +0000 @@@@ -277,11 +277,14 @@@@ d13 1 a13 1 #warning "add support for SMP on OpenBSD and NetBSD" a14 6 long cpuTime[CPUSTATES]; - unsigned int cpuTimeLen = sizeof(cpuTime); + size_t cpuTimeLen = sizeof(cpuTime); if (sysctl(name2oid, 2, &cpuTime, &cpuTimeLen, 0, 0) < 0) @ 1.1 log @Update KDE to 3.1. Many bugfixes and functionality enhancements including: kdeaddons NEW IN KDE: Noatun plugin to search for lyrics of the current song. kdeadmin kcmlinuz: is now a standalone application kcmlinuz: Added capability to search for configuration options kdeedu NEW IN KDE: Kiten, a Japanese Reference Tool. NEW IN KDE: FlashKard, a vocabulary tool. Is able to read KVTML files which were written by KVocTrain. NEW IN KDE: started a libkdeedu, which allows interopability and code sharing between KDE Educational applications. kdepim libkabc Plugin interface for resources and formats. Control module for configuring multiple resources. Optional directory resource which stores each entry as own file. LDAP resource. Optional binary storage format for better performance with large addressbooks. Completed support for vCard entities: sound, geo, key and some more. vCard 2.1 import. LDAP aware mail address input field. KAddressbook New card and icon views. Multiple configurable views. "kab-style" details view for selected entry. Customizable view filters. Customizable categories for addressbook entries. Support for transparently accessing multiple addressbooks. Redesigned entry editor widget. Printing option supporting two different styles. Optional embedded entry and ditribution list editor. "Jump bar" for quick alphabetical access of entries. Fetch addresses from LDAP servers, including support for multiple servers. Importing of vCard 2.1 files. Improved CSV import (including template for import from Outlook 2000). vCard export. KAlarm Added option to execute commands in alarms. Implemented daily, weekly, monthly and annual recurrences. Optionally play audio notification when an alarm triggers. KPilot Added time conduit VCal conduits (TODO and Calendar) have been improved to function properly. Addressbook conduit has been ported to use libkabc. KOrganizer General User definable templates for events and TODOs. Alarms for TODOs. Added support for automatic HTML export on save of a calendar file. Time table print view. New "location" attribute for events. Experimental "Get Hot New Stuff" button for downloading and uploading calendar files of common interest. Views Added new "Next 3 days" view. Added selection of time span for a new event in day and week views. Direct manipulation of priority, completion status and categories of TODOs by context menus added. Deletion of individual instances of recurring events. Rewritten month view. Coloring of events in month view based on categories. Coloring of due and overdue todos. Improved "What's Next" view. Configurable cell height in week and day views Group scheduling iMIP group scheduling functions for TODOs. Publishing of Free/Busy information by iMIP conformant email. Improved automatisation of group scheduling. Interopability and integration Support for "webcal" URLs in Konqueror (known from Apple iCal). Support for iCalendar based drag&drop. KOrganizer now shares the dialogs for categories with KAddressBook. Improved iCalendar conformance. Improved right-to-left languages support. Bug fixes for non-latin1 encodings. Plugins New plugin for importing Birthdays of contacts in the KDE address book. New plugin for accessing calendar data stored on an Exchange 2000 server. kdeutils Partially ACPI support in KLaptop. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- ksim/monitors/cpu/ksimcpu.cpp.orig Tue May 14 02:47:51 2002 +++ ksim/monitors/cpu/ksimcpu.cpp @@@@ -269,6 +269,9 @@@@ void CpuView::updateCpu(CpuData &cpu, in d15 6 @