Merge remote-tracking branch 'x/master'
* x/master: accountsservice: update to 0.6.21. New package: latencytop-0.5. powertop: update to 2.0. kernel: enable CONFIG_DEBUG_KERNEL and CONFIG_LATENCYTOP (x86 conf must be synced). udisks2: update to 1.97.0. obexd: update to 0.46. e2fsprogs: update to 1.42.3. polkit: start polkit daemon without debug. New package: libvirt-glib-0.0.8. libvirt: update to 0.9.12. New package: libssh2-1.4.1. proplib: backport patch from master for fdatasync(2). xorg-server: remove EXA patch, unneeded now. New package: foomatic-db-nonfree-20120517. New package: foomatic-db-engine-4.0.8. New package: foomatic-filters-4.0.15. New package: enscript-1.6.5.2. New package: foomatic-db-20120517.
This commit is contained in:
commit
d2fd1b919c
48 changed files with 485 additions and 354 deletions
|
@ -699,8 +699,8 @@ libsvn_swig_perl-1.so.0 subversion-perl subversion-devel
|
|||
libsvn_swig_ruby-1.so.0 subversion-ruby subversion-devel
|
||||
libjson-glib-1.0.so.0 json-glib json-glib-devel
|
||||
liblxc.so.0 liblxc lxc-devel
|
||||
libvirt.so libvirt libvirt-devel
|
||||
libvirt-qemu.so libvirt libvirt-devel
|
||||
libvirt.so.0 libvirt libvirt-devel
|
||||
libvirt-qemu.so.0 libvirt libvirt-devel
|
||||
libgdk-3.so.0 gtk+3 gtk+3-devel
|
||||
libgtk-3.so.0 gtk+3 gtk+3-devel
|
||||
libgailutil-3.so.0 gtk+3 gtk+3-devel
|
||||
|
@ -981,3 +981,5 @@ libcups.so.2 libcups cups-devel
|
|||
libcupsimage.so.2 libcups cups-devel
|
||||
libijs-0.35.so libijs ghostscript-devel
|
||||
libgs.so.9 libgs ghostscript-devel
|
||||
libssh2.so.1 libssh2 libssh2-devel
|
||||
libvirt-glib-1.0.so.0 libvirt-glib libvirt-glib-devel
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'accountsservice'
|
||||
pkgname=accountsservice
|
||||
version=0.6.20
|
||||
version=0.6.21
|
||||
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --with-systemdsystemunitdir=/lib/systemd/system"
|
||||
|
@ -8,7 +8,7 @@ short_desc="D-Bus interfaces for querying and manipulating user account informat
|
|||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://cgit.freedesktop.org/accountsservice/"
|
||||
license="GPL-3"
|
||||
checksum=e8af6860fd1909ed6493957cb51303e8133bdfe73e952e5580ad97c1874af3b4
|
||||
checksum=adf681cef68852b65d57de7102483ef0cf31175ea0bbc3bad59957259dc64192
|
||||
long_desc="
|
||||
The accountsservice project provides a set of D-Bus interfaces for
|
||||
querying and manipulating user account information and an implementation
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'e2fsprogs'
|
||||
pkgname=e2fsprogs
|
||||
version=1.42.2
|
||||
version=1.42.3
|
||||
homepage="http://e2fsprogs.sourceforge.net/"
|
||||
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
|
@ -13,7 +13,7 @@ make_install_args="install-libs"
|
|||
short_desc="Ext2/3/4 Filesystem Utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2, LGPL-2.1"
|
||||
checksum=1d36fec5e34ac285f59dff3851d6f4ca9f0b964ddd7e8fe00f1f920b091cb8be
|
||||
checksum=ad6a41be876fab94c2bd5d10f7a0871a5601bbaf9cd25c551c2af11c1c8d5436
|
||||
long_desc="
|
||||
It provides the filesystem utilities for use with the ext2 filesystem.
|
||||
It also supports the ext3/4 filesystem with journaling support."
|
||||
|
|
2
srcpkgs/enscript/enscript.rshlibs
Normal file
2
srcpkgs/enscript/enscript.rshlibs
Normal file
|
@ -0,0 +1,2 @@
|
|||
libm.so.6
|
||||
libc.so.6
|
22
srcpkgs/enscript/template
Normal file
22
srcpkgs/enscript/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'enscript'
|
||||
pkgname=enscript
|
||||
version=1.6.5.2
|
||||
homepage="http://git.savannah.gnu.org/cgit/enscript.git"
|
||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
short_desc="Converts text to Postscript, HTML or RTF with syntax highlighting"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
checksum=db3e33bdb36f9e7252a386ea1faa9b5444cc9ba0ac2dd46fffc1f14887a4cb75
|
||||
long_desc="
|
||||
GNU Enscript takes ASCII files (often source code) and converts them to
|
||||
PostScript, HTML or RTF. It can store generated output to a file or send
|
||||
it directly to the printer.
|
||||
|
||||
It is often used for its syntax highlighting, as it comes with rules for a
|
||||
wide range of programming languages. New rules can be added using an awk-like
|
||||
stateful scripting language."
|
||||
|
||||
conf_files="/etc/enscript.cfg"
|
||||
|
||||
Add_dependency build perl
|
4
srcpkgs/foomatic-db-engine/foomatic-db-engine.rshlibs
Normal file
4
srcpkgs/foomatic-db-engine/foomatic-db-engine.rshlibs
Normal file
|
@ -0,0 +1,4 @@
|
|||
libc.so.6
|
||||
libxml2.so.2
|
||||
libz.so.1
|
||||
libm.so.6
|
31
srcpkgs/foomatic-db-engine/template
Normal file
31
srcpkgs/foomatic-db-engine/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'foomatic-db-engine'
|
||||
pkgname=foomatic-db-engine
|
||||
version=4.0.8
|
||||
homepage="https://www.openprinting.org/"
|
||||
distfiles="https://www.openprinting.org/download/foomatic/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
short_desc="OpenPrinting printer support - programs"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2, MIT"
|
||||
checksum=f0c4892ae5566ea2efaae8bd58352fd32001d112f2f9dfff63f7de03b46733e1
|
||||
long_desc="
|
||||
Foomatic is a printing system designed to make it easier to set up common
|
||||
printers for use with Linux (and other operating systems). It provides the
|
||||
"glue" between a print spooler (like CUPS or lpr) and your actual printer,
|
||||
by telling your computer how to process files sent to the printer.
|
||||
|
||||
This package contains the architecture-dependent programs needed to set up
|
||||
and maintain the foomatic system. You will also need one or more database
|
||||
packages. The foomatic-db package includes drivers for most common printers
|
||||
using Ghostscript as the print processor, as well as some common glue code
|
||||
used in other filter systems."
|
||||
|
||||
Add_dependency build libxml2-devel
|
||||
Add_dependency build cups-devel
|
||||
|
||||
Add_dependency full wget
|
||||
Add_dependency full perl
|
||||
Add_dependency full foomatic-db
|
||||
Add_dependency full foomatic-filters
|
||||
Add_dependency full ghostscript ">=0"
|
||||
Add_dependency full cups ">=0"
|
20
srcpkgs/foomatic-db-nonfree/template
Normal file
20
srcpkgs/foomatic-db-nonfree/template
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Template file for 'foomatic-db-nonfree'
|
||||
pkgname=foomatic-db-nonfree
|
||||
version=20120517
|
||||
noarch=yes
|
||||
distfiles="https://www.openprinting.org/download/foomatic/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
short_desc="OpenPrinting printer support - nonfree database"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="nonfree"
|
||||
checksum=7c227f61b863d43130298b77f064756b5d121753b73b333b52fe3967638bcd98
|
||||
long_desc="
|
||||
Foomatic is a printing system designed to make it easier to set up common
|
||||
printers for use with Linux (and other operating systems). It provides the
|
||||
"glue" between a print spooler (like CUPS or lpr) and your actual printer,
|
||||
by telling your computer how to process files sent to the printer.
|
||||
|
||||
This package contains the printer database distributed by OpenPrinting for
|
||||
manufactured-supplied PPD drivers released under non-free licenses.
|
||||
You will probably need the foomatic-db-engine package for this package to be
|
||||
useful."
|
19
srcpkgs/foomatic-db/template
Normal file
19
srcpkgs/foomatic-db/template
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'foomatic-db'
|
||||
pkgname=foomatic-db
|
||||
version=20120517
|
||||
noarch=yes
|
||||
distfiles="https://www.openprinting.org/download/foomatic/$pkgname-4.0-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
short_desc="OpenPrinting printer support - database"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2, MIT"
|
||||
checksum=98307822da37d372193727e749052e1600943a0042f3eb904e67414d4ecde4b3
|
||||
long_desc="
|
||||
Foomatic is a printing system designed to make it easier to set up common
|
||||
printers for use with Linux (and other operating systems). It provides the
|
||||
"glue" between a print spooler (like CUPS or lpr) and your actual printer,
|
||||
by telling your computer how to process files sent to the printer.
|
||||
|
||||
This package contains the printer database distributed by OpenPrinting for
|
||||
most common drivers. You will probably need the foomatic-db-engine package
|
||||
for this package to be useful."
|
4
srcpkgs/foomatic-filters/foomatic-filters.rshlibs
Normal file
4
srcpkgs/foomatic-filters/foomatic-filters.rshlibs
Normal file
|
@ -0,0 +1,4 @@
|
|||
libdbus-1.so.3
|
||||
libpthread.so.0
|
||||
libm.so.6
|
||||
libc.so.6
|
31
srcpkgs/foomatic-filters/template
Normal file
31
srcpkgs/foomatic-filters/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'foomatic-filters'
|
||||
pkgname=foomatic-filters
|
||||
version=4.0.15
|
||||
homepage="https://www.openprinting.org/"
|
||||
distfiles="https://www.openprinting.org/download/foomatic/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-dbus"
|
||||
short_desc="OpenPrinting printer support - filters"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2, MIT"
|
||||
checksum=f5b7b67aacedec4c0294d242cbffbe0d7d3cd0fdd2b410c055e818f25ed3bc79
|
||||
long_desc="
|
||||
Foomatic is a printing system designed to make it easier to set up common
|
||||
printers for use with Linux (and other operating systems). It provides the
|
||||
"glue" between a print spooler (like CUPS or lpr) and your actual printer,
|
||||
by telling your computer how to process files sent to the printer.
|
||||
|
||||
This package consists of filters used by the printer spoolers to convert the
|
||||
incoming PostScript data into the printer's native format using a
|
||||
printer-specific, but spooler-independent PPD file.
|
||||
|
||||
For use with CUPS, you will need the cups package installed on your system."
|
||||
|
||||
conf_files="/etc/foomatic/filter.conf"
|
||||
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build enscript
|
||||
Add_dependency build dbus-devel
|
||||
Add_dependency build cups-devel
|
||||
|
||||
Add_dependency full perl ">=0"
|
|
@ -1,6 +1,6 @@
|
|||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/x86_64 3.3.0 Kernel Configuration
|
||||
# Linux/x86_64 3.3.6 Kernel Configuration
|
||||
#
|
||||
CONFIG_64BIT=y
|
||||
# CONFIG_X86_32 is not set
|
||||
|
@ -159,6 +159,7 @@ CONFIG_ANON_INODES=y
|
|||
CONFIG_UID16=y
|
||||
# CONFIG_SYSCTL_SYSCALL is not set
|
||||
CONFIG_KALLSYMS=y
|
||||
# CONFIG_KALLSYMS_ALL is not set
|
||||
CONFIG_HOTPLUG=y
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_BUG=y
|
||||
|
@ -181,6 +182,7 @@ CONFIG_HAVE_PERF_EVENTS=y
|
|||
#
|
||||
CONFIG_PERF_EVENTS=y
|
||||
# CONFIG_PERF_COUNTERS is not set
|
||||
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
|
||||
CONFIG_VM_EVENT_COUNTERS=y
|
||||
CONFIG_PCI_QUIRKS=y
|
||||
CONFIG_SLUB_DEBUG=y
|
||||
|
@ -333,6 +335,7 @@ CONFIG_KVM_GUEST=y
|
|||
CONFIG_PARAVIRT=y
|
||||
# CONFIG_PARAVIRT_SPINLOCKS is not set
|
||||
CONFIG_PARAVIRT_CLOCK=y
|
||||
# CONFIG_PARAVIRT_DEBUG is not set
|
||||
CONFIG_NO_BOOTMEM=y
|
||||
# CONFIG_MEMTEST is not set
|
||||
# CONFIG_MK8 is not set
|
||||
|
@ -360,6 +363,7 @@ CONFIG_GART_IOMMU=y
|
|||
# CONFIG_CALGARY_IOMMU is not set
|
||||
CONFIG_SWIOTLB=y
|
||||
CONFIG_IOMMU_HELPER=y
|
||||
# CONFIG_MAXSMP is not set
|
||||
CONFIG_NR_CPUS=64
|
||||
CONFIG_SCHED_SMT=y
|
||||
CONFIG_SCHED_MC=y
|
||||
|
@ -427,6 +431,7 @@ CONFIG_KSM=y
|
|||
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
|
||||
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
|
||||
CONFIG_MEMORY_FAILURE=y
|
||||
CONFIG_HWPOISON_INJECT=m
|
||||
CONFIG_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
|
||||
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
|
||||
|
@ -574,6 +579,7 @@ CONFIG_PCIEASPM=y
|
|||
CONFIG_PCIE_PME=y
|
||||
CONFIG_ARCH_SUPPORTS_MSI=y
|
||||
CONFIG_PCI_MSI=y
|
||||
# CONFIG_PCI_DEBUG is not set
|
||||
CONFIG_PCI_STUB=m
|
||||
CONFIG_XEN_PCIDEV_FRONTEND=m
|
||||
CONFIG_HT_IRQ=y
|
||||
|
@ -980,6 +986,11 @@ CONFIG_INET_DCCP_DIAG=m
|
|||
CONFIG_IP_DCCP_CCID3=y
|
||||
# CONFIG_IP_DCCP_CCID3_DEBUG is not set
|
||||
CONFIG_IP_DCCP_TFRC_LIB=y
|
||||
|
||||
#
|
||||
# DCCP Kernel Hacking
|
||||
#
|
||||
# CONFIG_IP_DCCP_DEBUG is not set
|
||||
CONFIG_IP_SCTP=m
|
||||
# CONFIG_SCTP_DBG_MSG is not set
|
||||
# CONFIG_SCTP_DBG_OBJCNT is not set
|
||||
|
@ -1261,6 +1272,8 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
|
|||
CONFIG_FW_LOADER=y
|
||||
CONFIG_FIRMWARE_IN_KERNEL=y
|
||||
CONFIG_EXTRA_FIRMWARE=""
|
||||
# CONFIG_DEBUG_DRIVER is not set
|
||||
# CONFIG_DEBUG_DEVRES is not set
|
||||
CONFIG_SYS_HYPERVISOR=y
|
||||
# CONFIG_GENERIC_CPU_DEVICES is not set
|
||||
CONFIG_REGMAP=y
|
||||
|
@ -2639,6 +2652,7 @@ CONFIG_I2C_TINY_USB=m
|
|||
# CONFIG_I2C_DEBUG_ALGO is not set
|
||||
# CONFIG_I2C_DEBUG_BUS is not set
|
||||
CONFIG_SPI=y
|
||||
# CONFIG_SPI_DEBUG is not set
|
||||
CONFIG_SPI_MASTER=y
|
||||
|
||||
#
|
||||
|
@ -2691,6 +2705,7 @@ CONFIG_PTP_1588_CLOCK=m
|
|||
#
|
||||
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
|
||||
CONFIG_GPIOLIB=y
|
||||
# CONFIG_DEBUG_GPIO is not set
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_GPIO_GENERIC=m
|
||||
CONFIG_GPIO_MAX730X=m
|
||||
|
@ -4273,6 +4288,7 @@ CONFIG_USB_CXACRU=m
|
|||
CONFIG_USB_UEAGLEATM=m
|
||||
CONFIG_USB_XUSBATM=m
|
||||
CONFIG_USB_GADGET=m
|
||||
# CONFIG_USB_GADGET_DEBUG is not set
|
||||
# CONFIG_USB_GADGET_DEBUG_FILES is not set
|
||||
# CONFIG_USB_GADGET_DEBUG_FS is not set
|
||||
CONFIG_USB_GADGET_VBUS_DRAW=2
|
||||
|
@ -4711,7 +4727,6 @@ CONFIG_RTLLIB_CRYPTO_TKIP=m
|
|||
CONFIG_RTLLIB_CRYPTO_WEP=m
|
||||
CONFIG_RTL8192E=m
|
||||
CONFIG_R8712U=m
|
||||
CONFIG_R8712_AP=y
|
||||
CONFIG_RTS_PSTOR=m
|
||||
# CONFIG_RTS_PSTOR_DEBUG is not set
|
||||
CONFIG_RTS5139=m
|
||||
|
@ -5086,6 +5101,7 @@ CONFIG_NFSD_V2_ACL=y
|
|||
CONFIG_NFSD_V3=y
|
||||
CONFIG_NFSD_V3_ACL=y
|
||||
CONFIG_NFSD_V4=y
|
||||
# CONFIG_NFSD_FAULT_INJECTION is not set
|
||||
CONFIG_LOCKD=m
|
||||
CONFIG_LOCKD_V4=y
|
||||
CONFIG_NFS_ACL_SUPPORT=m
|
||||
|
@ -5181,21 +5197,58 @@ CONFIG_STRIP_ASM_SYMS=y
|
|||
CONFIG_DEBUG_FS=y
|
||||
# CONFIG_HEADERS_CHECK is not set
|
||||
# CONFIG_DEBUG_SECTION_MISMATCH is not set
|
||||
# CONFIG_DEBUG_KERNEL is not set
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
# CONFIG_DEBUG_SHIRQ is not set
|
||||
# CONFIG_LOCKUP_DETECTOR is not set
|
||||
# CONFIG_HARDLOCKUP_DETECTOR is not set
|
||||
# CONFIG_SLUB_DEBUG_ON is not set
|
||||
# CONFIG_SLUB_STATS is not set
|
||||
# CONFIG_SPARSE_RCU_POINTER is not set
|
||||
CONFIG_DEBUG_BUGVERBOSE=y
|
||||
CONFIG_DEBUG_MEMORY_INIT=y
|
||||
CONFIG_ARCH_WANT_FRAME_POINTERS=y
|
||||
# CONFIG_FRAME_POINTER is not set
|
||||
# CONFIG_DETECT_HUNG_TASK is not set
|
||||
CONFIG_SCHED_DEBUG=y
|
||||
CONFIG_SCHEDSTATS=y
|
||||
CONFIG_TIMER_STATS=y
|
||||
# CONFIG_DEBUG_OBJECTS is not set
|
||||
# CONFIG_SLUB_DEBUG_ON is not set
|
||||
# CONFIG_SLUB_STATS is not set
|
||||
# CONFIG_DEBUG_KMEMLEAK is not set
|
||||
CONFIG_DEBUG_PREEMPT=y
|
||||
# CONFIG_DEBUG_RT_MUTEXES is not set
|
||||
# CONFIG_RT_MUTEX_TESTER is not set
|
||||
# CONFIG_DEBUG_SPINLOCK is not set
|
||||
# CONFIG_DEBUG_MUTEXES is not set
|
||||
# CONFIG_DEBUG_LOCK_ALLOC is not set
|
||||
# CONFIG_PROVE_LOCKING is not set
|
||||
# CONFIG_SPARSE_RCU_POINTER is not set
|
||||
# CONFIG_LOCK_STAT is not set
|
||||
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
|
||||
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
|
||||
# CONFIG_DEBUG_STACK_USAGE is not set
|
||||
# CONFIG_DEBUG_KOBJECT is not set
|
||||
CONFIG_DEBUG_BUGVERBOSE=y
|
||||
# CONFIG_DEBUG_INFO is not set
|
||||
# CONFIG_DEBUG_VM is not set
|
||||
# CONFIG_DEBUG_VIRTUAL is not set
|
||||
# CONFIG_DEBUG_WRITECOUNT is not set
|
||||
# CONFIG_DEBUG_MEMORY_INIT is not set
|
||||
# CONFIG_DEBUG_LIST is not set
|
||||
# CONFIG_TEST_LIST_SORT is not set
|
||||
# CONFIG_DEBUG_SG is not set
|
||||
# CONFIG_DEBUG_NOTIFIERS is not set
|
||||
# CONFIG_DEBUG_CREDENTIALS is not set
|
||||
CONFIG_ARCH_WANT_FRAME_POINTERS=y
|
||||
# CONFIG_FRAME_POINTER is not set
|
||||
# CONFIG_BOOT_PRINTK_DELAY is not set
|
||||
# CONFIG_RCU_TORTURE_TEST is not set
|
||||
CONFIG_RCU_CPU_STALL_TIMEOUT=60
|
||||
# CONFIG_RCU_CPU_STALL_VERBOSE is not set
|
||||
# CONFIG_BACKTRACE_SELF_TEST is not set
|
||||
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
|
||||
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
|
||||
# CONFIG_DEBUG_PER_CPU_MAPS is not set
|
||||
CONFIG_LKDTM=m
|
||||
# CONFIG_CPU_NOTIFIER_ERROR_INJECT is not set
|
||||
# CONFIG_FAULT_INJECTION is not set
|
||||
CONFIG_LATENCYTOP=y
|
||||
# CONFIG_SYSCTL_SYSCALL_CHECK is not set
|
||||
# CONFIG_DEBUG_PAGEALLOC is not set
|
||||
CONFIG_USER_STACKTRACE_SUPPORT=y
|
||||
CONFIG_HAVE_FUNCTION_TRACER=y
|
||||
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
|
||||
|
@ -5217,13 +5270,21 @@ CONFIG_TRACING_SUPPORT=y
|
|||
CONFIG_ASYNC_RAID6_TEST=m
|
||||
# CONFIG_SAMPLES is not set
|
||||
CONFIG_HAVE_ARCH_KGDB=y
|
||||
# CONFIG_KGDB is not set
|
||||
CONFIG_HAVE_ARCH_KMEMCHECK=y
|
||||
# CONFIG_KMEMCHECK is not set
|
||||
CONFIG_TEST_KSTRTOX=m
|
||||
CONFIG_STRICT_DEVMEM=y
|
||||
CONFIG_X86_VERBOSE_BOOTUP=y
|
||||
CONFIG_EARLY_PRINTK=y
|
||||
# CONFIG_EARLY_PRINTK_DBGP is not set
|
||||
# CONFIG_DEBUG_STACKOVERFLOW is not set
|
||||
# CONFIG_X86_PTDUMP is not set
|
||||
# CONFIG_DEBUG_RODATA is not set
|
||||
# CONFIG_DEBUG_RODATA_TEST is not set
|
||||
# CONFIG_DEBUG_SET_MODULE_RONX is not set
|
||||
# CONFIG_DEBUG_NX_TEST is not set
|
||||
# CONFIG_IOMMU_DEBUG is not set
|
||||
# CONFIG_IOMMU_STRESS is not set
|
||||
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
|
||||
CONFIG_IO_DELAY_TYPE_0X80=0
|
||||
|
@ -5235,7 +5296,11 @@ CONFIG_IO_DELAY_0X80=y
|
|||
# CONFIG_IO_DELAY_UDELAY is not set
|
||||
# CONFIG_IO_DELAY_NONE is not set
|
||||
CONFIG_DEFAULT_IO_DELAY_TYPE=0
|
||||
# CONFIG_DEBUG_BOOT_PARAMS is not set
|
||||
# CONFIG_CPA_DEBUG is not set
|
||||
# CONFIG_OPTIMIZE_INLINING is not set
|
||||
# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set
|
||||
# CONFIG_DEBUG_NMI_SELFTEST is not set
|
||||
|
||||
#
|
||||
# Security options
|
||||
|
|
|
@ -15,7 +15,7 @@ long_desc="
|
|||
subpackages="kernel-headers"
|
||||
triggers="kernel-hooks"
|
||||
|
||||
#revision=1
|
||||
revision=1
|
||||
build_requires=16
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
|
|
6
srcpkgs/latencytop/latencytop.rshlibs
Normal file
6
srcpkgs/latencytop/latencytop.rshlibs
Normal file
|
@ -0,0 +1,6 @@
|
|||
libglib-2.0.so.0
|
||||
libncursesw.so.6
|
||||
libgtk-x11-2.0.so.0
|
||||
libgdk_pixbuf-2.0.so.0
|
||||
libgobject-2.0.so.0
|
||||
libc.so.6
|
27
srcpkgs/latencytop/template
Normal file
27
srcpkgs/latencytop/template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'latencytop'
|
||||
pkgname=latencytop
|
||||
version=0.5
|
||||
homepage="http://www.latencytop.org"
|
||||
distfiles="http://www.latencytop.org/download/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-makefile
|
||||
short_desc="Measuring and fixing Linux latency"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
checksum=9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef
|
||||
long_desc="
|
||||
Skipping audio, slower servers, everyone knows the symptoms of latency. But to know
|
||||
what's going on in the system, what's causing the latency, how to fix it... that's
|
||||
a hard question without good answers right now.
|
||||
|
||||
LatencyTOP is a Linux tool for software developers (both kernel and userspace),
|
||||
aimed at identifying where in the system latency is happening, and what kind of
|
||||
operation/action is causing the latency to happen so that the code can be changed
|
||||
to avoid the worst latency hiccups."
|
||||
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build gtk+-devel
|
||||
Add_dependency build ncurses-devel
|
||||
|
||||
pre_install() {
|
||||
vmkdir usr/sbin
|
||||
}
|
1
srcpkgs/libssh2-devel
Symbolic link
1
srcpkgs/libssh2-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libssh2
|
2
srcpkgs/libssh2/depends
Normal file
2
srcpkgs/libssh2/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=1.4.1"
|
||||
api_depends="${abi_depends}"
|
15
srcpkgs/libssh2/libssh2-devel.template
Normal file
15
srcpkgs/libssh2/libssh2-devel.template
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Template file for 'libssh2-devel'.
|
||||
#
|
||||
short_desc="${short_desc} -- development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libssh2 ">=$version"
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
vmove usr/share usr
|
||||
}
|
4
srcpkgs/libssh2/libssh2.rshlibs
Normal file
4
srcpkgs/libssh2/libssh2.rshlibs
Normal file
|
@ -0,0 +1,4 @@
|
|||
libssl.so.1
|
||||
libcrypto.so.1
|
||||
libz.so.1
|
||||
libc.so.6
|
17
srcpkgs/libssh2/template
Normal file
17
srcpkgs/libssh2/template
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'libssh2'
|
||||
pkgname=libssh2
|
||||
version=1.4.1
|
||||
homepage="http://www.libssh2.org/"
|
||||
distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
short_desc="library implementing the SSH2 protocol"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="BSD"
|
||||
checksum=196579273b47813fe833d35dd234767567ed8938d9b98f1badf7af9002c9322d
|
||||
long_desc="
|
||||
libssh2 is a client-side C library implementing the SSH2 protocol. It supports
|
||||
regular terminal, SCP and SFTP sessions; port forwarding; password, key-based
|
||||
and keyboard-interactive authentication."
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
Add_dependency build openssl-devel
|
1
srcpkgs/libvirt-glib-devel
Symbolic link
1
srcpkgs/libvirt-glib-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libvirt-glib
|
1
srcpkgs/libvirt-glib-python
Symbolic link
1
srcpkgs/libvirt-glib-python
Symbolic link
|
@ -0,0 +1 @@
|
|||
libvirt-glib
|
2
srcpkgs/libvirt-glib/depends
Normal file
2
srcpkgs/libvirt-glib/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=0.0.8"
|
||||
api_depends="${abi_depends}"
|
21
srcpkgs/libvirt-glib/libvirt-glib-devel.template
Normal file
21
srcpkgs/libvirt-glib/libvirt-glib-devel.template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'libvirt-devel'.
|
||||
#
|
||||
short_desc="${short_desc} - development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run glib-devel
|
||||
Add_dependency run libxml2-devel
|
||||
Add_dependency run libvirt-devel
|
||||
Add_dependency run libvirt-glib ">=$version"
|
||||
|
||||
noarch=yes
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
vmove usr/share/gtk-doc usr/share
|
||||
vmove usr/share/gir-1.0 usr/share
|
||||
vmove usr/share/vala usr/share
|
||||
}
|
8
srcpkgs/libvirt-glib/libvirt-glib-python.rshlibs
Normal file
8
srcpkgs/libvirt-glib/libvirt-glib-python.rshlibs
Normal file
|
@ -0,0 +1,8 @@
|
|||
libvirt-glib-1.0.so.0
|
||||
libvirt.so.0
|
||||
libdl.so.2
|
||||
libgthread-2.0.so.0
|
||||
librt.so.1
|
||||
libglib-2.0.so.0
|
||||
libpthread.so.0
|
||||
libc.so.6
|
12
srcpkgs/libvirt-glib/libvirt-glib-python.template
Normal file
12
srcpkgs/libvirt-glib/libvirt-glib-python.template
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Template file for 'libvirt-glib-python'.
|
||||
#
|
||||
short_desc="${short_desc} - python bindings"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the Python language bindings."
|
||||
|
||||
Add_dependency run python
|
||||
|
||||
do_install() {
|
||||
vmove "usr/lib/python*" usr/lib
|
||||
}
|
10
srcpkgs/libvirt-glib/libvirt-glib.rshlibs
Normal file
10
srcpkgs/libvirt-glib/libvirt-glib.rshlibs
Normal file
|
@ -0,0 +1,10 @@
|
|||
libvirt.so.0
|
||||
libdl.so.2
|
||||
libgthread-2.0.so.0
|
||||
librt.so.1
|
||||
libglib-2.0.so.0
|
||||
libpthread.so.0
|
||||
libc.so.6
|
||||
libgobject-2.0.so.0
|
||||
libxml2.so.2
|
||||
libgio-2.0.so.0
|
28
srcpkgs/libvirt-glib/template
Normal file
28
srcpkgs/libvirt-glib/template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'libvirt-glib'
|
||||
pkgname=libvirt-glib
|
||||
version=0.0.8
|
||||
distfiles="http://libvirt.org/sources/glib/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
short_desc="libvirt glib integration"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://libvirt.org"
|
||||
license="LGPL-2.1"
|
||||
checksum=d9bcf99f395ac78416601002bd1fd9122ae1dec2b5439348c6eac9d5c5fb8096
|
||||
long_desc="
|
||||
libvirt-glib wraps libvirt to provide a high-level object-oriented API better
|
||||
suited for glib-based applications, via three libraries:
|
||||
|
||||
- libvirt-glib - GLib main loop integration and misc helper APIs
|
||||
- libvirt-gconfig - GObjects for manipulating libvirt XML documents
|
||||
- libvirt-gobject - GObjects for managing libvirt objects"
|
||||
|
||||
subpackages="$pkgname-devel $pkgname-python"
|
||||
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build glib-devel
|
||||
Add_dependency build libvirt-devel
|
||||
Add_dependency build libxml2-devel
|
||||
Add_dependency build python-devel
|
||||
Add_dependency build gobject-introspection
|
||||
Add_dependency build vala-devel
|
|
@ -5,31 +5,12 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libcap-ng-devel
|
||||
Add_dependency run libnl-devel
|
||||
Add_dependency run gnutls-devel
|
||||
Add_dependency run libgcrypt-devel
|
||||
Add_dependency run libsasl-devel
|
||||
Add_dependency run xen-devel
|
||||
Add_dependency run libcurl-devel
|
||||
Add_dependency run libpcap-devel
|
||||
Add_dependency run libxml2-devel
|
||||
Add_dependency run libparted-devel
|
||||
Add_dependency run device-mapper-devel
|
||||
Add_dependency run dbus-devel
|
||||
Add_dependency run libudev-devel
|
||||
Add_dependency run libpciaccess-devel
|
||||
Add_dependency run avahi-libs-devel
|
||||
Add_dependency run readline-devel
|
||||
Add_dependency run libvirt
|
||||
Add_dependency run libvirt ">=$version"
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/doc
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc/libvirt-${version} \
|
||||
${DESTDIR}/usr/share/doc
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
vmove usr/share/gtk-doc usr/share
|
||||
vmove usr/share/doc/libvirt-${version} usr/share/doc
|
||||
}
|
||||
|
|
21
srcpkgs/libvirt/libvirt-python.rshlibs
Normal file
21
srcpkgs/libvirt/libvirt-python.rshlibs
Normal file
|
@ -0,0 +1,21 @@
|
|||
libvirt.so.0
|
||||
libcap-ng.so.0
|
||||
libyajl.so.2
|
||||
libdevmapper.so.1.02
|
||||
libdbus-1.so.3
|
||||
librt.so.1
|
||||
libavahi-common.so.3
|
||||
libavahi-client.so.3
|
||||
libgnutls.so.26
|
||||
libgcrypt.so.11
|
||||
libsasl2.so.2
|
||||
libssh2.so.1
|
||||
libcurl.so.4
|
||||
libpcap.so.1
|
||||
libnl.so.1
|
||||
libxml2.so.2
|
||||
libpthread.so.0
|
||||
libutil.so.1
|
||||
libdl.so.2
|
||||
libc.so.6
|
||||
libvirt-qemu.so.0
|
|
@ -5,23 +5,9 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains the Python language bindings."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libcap-ng
|
||||
Add_dependency run libnl
|
||||
Add_dependency run gnutls
|
||||
Add_dependency run libgcrypt
|
||||
Add_dependency run libsasl
|
||||
Add_dependency run xen
|
||||
Add_dependency run libcurl
|
||||
Add_dependency run libpcap
|
||||
Add_dependency run libxml2
|
||||
Add_dependency run python
|
||||
Add_dependency run libvirt
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/doc
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc/libvirt-python* \
|
||||
${DESTDIR}/usr/share/doc
|
||||
do_install() {
|
||||
vmove "usr/lib/python*" usr/lib
|
||||
vmove "usr/share/doc/libvirt-python*" usr/share/doc
|
||||
}
|
||||
|
|
25
srcpkgs/libvirt/libvirt.rshlibs
Normal file
25
srcpkgs/libvirt/libvirt.rshlibs
Normal file
|
@ -0,0 +1,25 @@
|
|||
libcap-ng.so.0
|
||||
libyajl.so.2
|
||||
libdevmapper.so.1.02
|
||||
libdbus-1.so.3
|
||||
librt.so.1
|
||||
libavahi-common.so.3
|
||||
libavahi-client.so.3
|
||||
libgnutls.so.26
|
||||
libgcrypt.so.11
|
||||
libsasl2.so.2
|
||||
libssh2.so.1
|
||||
libcurl.so.4
|
||||
libpcap.so.1
|
||||
libnl.so.1
|
||||
libpthread.so.0
|
||||
libutil.so.1
|
||||
libxml2.so.2
|
||||
libdl.so.2
|
||||
libgcc_s.so.1
|
||||
libc.so.6
|
||||
libparted.so.2
|
||||
libblkid.so.1
|
||||
libudev.so.0
|
||||
libpciaccess.so.0
|
||||
libreadline.so.6
|
|
@ -1,12 +1,14 @@
|
|||
# Template file for 'libvirt'
|
||||
pkgname=libvirt
|
||||
version=0.8.8
|
||||
version=0.9.12
|
||||
distfiles="http://libvirt.org/sources/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--without-hal"
|
||||
configure_args="--without-hal
|
||||
ac_cv_path_MOUNT=/bin/mount ac_cv_path_UMOUNT=/bin/umount
|
||||
ac_cv_path_MKFS=/sbin/mkfs ac_cv_path_SHOWMOUNT=/usr/sbin/showmount"
|
||||
short_desc="The virtualization API"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=030aea3728917053555bec98d93d2855e8a603b758c0b2a5d57ac48b4f39e113
|
||||
checksum=298ffc7f2a6d6e78aae46f11a0980f4bc17fa2928f5de6cd9e8abaf5990336e7
|
||||
long_desc="
|
||||
libvirt is:
|
||||
* A toolkit to interact with the virtualization capabilities of recent
|
||||
|
@ -23,34 +25,15 @@ conf_files="
|
|||
/etc/libvirt/qemu.conf
|
||||
/etc/libvirt/lxc.conf
|
||||
/etc/libvirt/libvirtd.conf
|
||||
/etc/libvirt/libvirt.conf
|
||||
/etc/sasl2/libvirt.conf"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libcap-ng
|
||||
Add_dependency run libnl
|
||||
Add_dependency run gnutls
|
||||
Add_dependency run libgcrypt
|
||||
Add_dependency run libsasl
|
||||
Add_dependency run xen
|
||||
Add_dependency run libcurl
|
||||
Add_dependency run libpcap
|
||||
Add_dependency run libxml2
|
||||
Add_dependency run libparted
|
||||
Add_dependency run device-mapper
|
||||
Add_dependency run dbus-libs
|
||||
Add_dependency run libudev
|
||||
Add_dependency run libpciaccess
|
||||
Add_dependency run avahi-libs
|
||||
Add_dependency run readline
|
||||
Add_dependency run polkit
|
||||
|
||||
Add_dependency build readline-devel
|
||||
Add_dependency build libcap-ng-devel
|
||||
Add_dependency build libnl-devel
|
||||
Add_dependency build libgcrypt-devel
|
||||
Add_dependency build gnutls-devel
|
||||
Add_dependency build libsasl-devel
|
||||
Add_dependency build xen-devel
|
||||
Add_dependency build libcurl-devel
|
||||
Add_dependency build libpcap-devel
|
||||
Add_dependency build libxml2-devel
|
||||
|
@ -61,3 +44,9 @@ Add_dependency build libudev-devel
|
|||
Add_dependency build libpciaccess-devel
|
||||
Add_dependency build avahi-libs-devel
|
||||
Add_dependency build polkit-devel
|
||||
Add_dependency build yajl-devel
|
||||
Add_dependency build python-devel
|
||||
Add_dependency build libssh2-devel
|
||||
|
||||
Add_dependency full lvm2
|
||||
Add_dependency full parted
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'obexd'
|
||||
pkgname=obexd
|
||||
version=0.45
|
||||
version=0.46
|
||||
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-usb"
|
||||
|
@ -8,7 +8,7 @@ short_desc="D-Bus OBEX service"
|
|||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.bluez.org/"
|
||||
license="GPL-2"
|
||||
checksum=fbf99241a7bc8a32d57ef2db7d9743edecff05c346ad04e34bc022f80e74b5aa
|
||||
checksum=f245374813a1f4da39a1f24ae2458a1c886bd0f56a39920e176199898355e943
|
||||
long_desc="
|
||||
Implementation of OBEX client and server as a D-Bus service providing
|
||||
high-level functionality.
|
||||
|
|
|
@ -5,9 +5,7 @@ After=syslog.target
|
|||
[Service]
|
||||
Type=dbus
|
||||
BusName=org.freedesktop.PolicyKit1
|
||||
ExecStart=/usr/libexec/polkitd
|
||||
StandardOutput=null
|
||||
StandardError=null
|
||||
ExecStart=/usr/libexec/polkitd -n
|
||||
|
||||
[Install]
|
||||
# We pull this in by graphical.target instead of waiting for the bus
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'polkit'
|
||||
pkgname=polkit
|
||||
version=0.105
|
||||
revision=1
|
||||
distfiles="http://www.freedesktop.org/software/polkit/releases/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --enable-systemd=yes"
|
||||
|
|
|
@ -1,138 +0,0 @@
|
|||
--- powertop.c.orig 2010-07-20 01:08:21.000000000 +0200
|
||||
+++ powertop.c 2011-10-20 14:34:41.163951192 +0200
|
||||
@@ -547,95 +547,6 @@
|
||||
qsort (lines, linehead, sizeof (struct line), line_compare);
|
||||
}
|
||||
|
||||
-
|
||||
-
|
||||
-int print_battery_proc_acpi(void)
|
||||
-{
|
||||
- DIR *dir;
|
||||
- struct dirent *dirent;
|
||||
- FILE *file;
|
||||
- double rate = 0;
|
||||
- double cap = 0;
|
||||
-
|
||||
- char filename[256];
|
||||
-
|
||||
- dir = opendir("/proc/acpi/battery");
|
||||
- if (!dir)
|
||||
- return 0;
|
||||
-
|
||||
- while ((dirent = readdir(dir))) {
|
||||
- int dontcount = 0;
|
||||
- double voltage = 0.0;
|
||||
- double amperes_drawn = 0.0;
|
||||
- double watts_drawn = 0.0;
|
||||
- double amperes_left = 0.0;
|
||||
- double watts_left = 0.0;
|
||||
- char line[1024];
|
||||
-
|
||||
- if (strlen(dirent->d_name) < 3)
|
||||
- continue;
|
||||
-
|
||||
- sprintf(filename, "/proc/acpi/battery/%s/state", dirent->d_name);
|
||||
- file = fopen(filename, "r");
|
||||
- if (!file)
|
||||
- continue;
|
||||
- memset(line, 0, 1024);
|
||||
- while (fgets(line, 1024, file) != NULL) {
|
||||
- char *c;
|
||||
- if (strstr(line, "present:") && strstr(line, "no"))
|
||||
- break;
|
||||
-
|
||||
- if (strstr(line, "charging state:")
|
||||
- && !strstr(line, "discharging"))
|
||||
- dontcount = 1;
|
||||
- c = strchr(line, ':');
|
||||
- if (!c)
|
||||
- continue;
|
||||
- c++;
|
||||
-
|
||||
- if (strstr(line, "present voltage"))
|
||||
- voltage = strtoull(c, NULL, 10) / 1000.0;
|
||||
-
|
||||
- if (strstr(line, "remaining capacity") && strstr(c, "mW"))
|
||||
- watts_left = strtoull(c, NULL, 10) / 1000.0;
|
||||
-
|
||||
- if (strstr(line, "remaining capacity") && strstr(c, "mAh"))
|
||||
- amperes_left = strtoull(c, NULL, 10) / 1000.0;
|
||||
-
|
||||
- if (strstr(line, "present rate") && strstr(c, "mW"))
|
||||
- watts_drawn = strtoull(c, NULL, 10) / 1000.0 ;
|
||||
-
|
||||
- if (strstr(line, "present rate") && strstr(c, "mA"))
|
||||
- amperes_drawn = strtoull(c, NULL, 10) / 1000.0;
|
||||
-
|
||||
- }
|
||||
- fclose(file);
|
||||
-
|
||||
- if (!dontcount) {
|
||||
- rate += watts_drawn + voltage * amperes_drawn;
|
||||
- }
|
||||
- cap += watts_left + voltage * amperes_left;
|
||||
-
|
||||
-
|
||||
- }
|
||||
- closedir(dir);
|
||||
- if (prev_bat_cap - cap < 0.001 && rate < 0.001)
|
||||
- last_bat_time = 0;
|
||||
- if (!last_bat_time) {
|
||||
- last_bat_time = prev_bat_time = time(NULL);
|
||||
- last_bat_cap = prev_bat_cap = cap;
|
||||
- }
|
||||
- if (time(NULL) - last_bat_time >= 400) {
|
||||
- prev_bat_cap = last_bat_cap;
|
||||
- prev_bat_time = last_bat_time;
|
||||
- last_bat_time = time(NULL);
|
||||
- last_bat_cap = cap;
|
||||
- }
|
||||
-
|
||||
- show_acpi_power_line(rate, cap, prev_bat_cap - cap, time(NULL) - prev_bat_time);
|
||||
- return 1;
|
||||
-}
|
||||
-
|
||||
int print_battery_proc_pmu(void)
|
||||
{
|
||||
char line[80];
|
||||
@@ -719,9 +630,6 @@
|
||||
|
||||
char filename[256];
|
||||
|
||||
- if (print_battery_proc_acpi())
|
||||
- return;
|
||||
-
|
||||
if (print_battery_proc_pmu())
|
||||
return;
|
||||
|
||||
@@ -733,7 +641,6 @@
|
||||
while ((dirent = readdir(dir))) {
|
||||
int dontcount = 0;
|
||||
double voltage = 0.0;
|
||||
- double amperes_drawn = 0.0;
|
||||
double watts_drawn = 0.0;
|
||||
double watts_left = 0.0;
|
||||
char line[1024];
|
||||
@@ -790,8 +697,12 @@
|
||||
watts_left *= strtoull(line, NULL, 10) / 1000000.0;
|
||||
fclose(file);
|
||||
|
||||
- sprintf(filename, "/sys/class/power_supply/%s/current_now", dirent->d_name);
|
||||
+ sprintf(filename, "/sys/class/power_supply/%s/power_now", dirent->d_name);
|
||||
file = fopen(filename, "r");
|
||||
+ if (!file) {
|
||||
+ sprintf(filename, "/sys/class/power_supply/%s/current_now", dirent->d_name);
|
||||
+ file = fopen(filename, "r");
|
||||
+ }
|
||||
if (!file)
|
||||
continue;
|
||||
memset(line, 0, 1024);
|
||||
@@ -801,7 +712,7 @@
|
||||
fclose(file);
|
||||
|
||||
if (!dontcount) {
|
||||
- rate += watts_drawn + voltage * amperes_drawn;
|
||||
+ rate += watts_drawn;
|
||||
}
|
||||
cap += watts_left;
|
|
@ -1,2 +1,9 @@
|
|||
libncursesw.so.6
|
||||
libc.so.6
|
||||
libpci.so.3
|
||||
libnl-genl-3.so.200
|
||||
libnl-3.so.200
|
||||
libpthread.so.0
|
||||
libstdc++.so.6
|
||||
libm.so.6
|
||||
libgcc_s.so.1
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'powertop'
|
||||
pkgname=powertop
|
||||
version=1.13
|
||||
homepage="http://www.lesswatts.org/projects/powertop/"
|
||||
distfiles="http://www.lesswatts.org/projects/powertop/download/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-makefile
|
||||
version=2.0
|
||||
homepage="https://01.org/powertop/"
|
||||
distfiles="https://01.org/powertop/sites/default/files/downloads/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu-configure
|
||||
short_desc="Linux tool to find out what is using power on a laptop"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
checksum=2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98
|
||||
checksum=7af51d320856b3446bcc314c9414385f3b05b9360f650883b0210cd3b12c5c1c
|
||||
long_desc="
|
||||
PowerTOP is a Linux tool that finds the software component(s) that make your
|
||||
laptop use more power than necessary while it is idle. As of Linux kernel
|
||||
|
@ -20,5 +20,7 @@ long_desc="
|
|||
the kernel into one convenient screen so that you can see how well your system
|
||||
is doing, and which components are the biggest problem."
|
||||
|
||||
Add_dependency build zlib-devel
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build ncurses-devel
|
||||
Add_dependency build pciutils-devel
|
||||
Add_dependency build libnl3-devel
|
||||
|
|
11
srcpkgs/proplib/patches/switch_to_fdatasync.patch
Normal file
11
srcpkgs/proplib/patches/switch_to_fdatasync.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/prop_object.c.orig 2012-05-15 16:34:56.968699452 +0200
|
||||
+++ src/prop_object.c 2012-05-15 16:35:58.796906967 +0200
|
||||
@@ -858,7 +858,7 @@ _prop_object_externalize_write_file(cons
|
||||
goto bad;
|
||||
}
|
||||
|
||||
- if (fsync(fd) == -1)
|
||||
+ if (fdatasync(fd) == -1)
|
||||
goto bad;
|
||||
|
||||
myumask = umask(0);
|
|
@ -5,8 +5,10 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
revision=1
|
||||
|
||||
Add_dependency run zlib-devel
|
||||
Add_dependency run proplib
|
||||
Add_dependency run proplib ">=${version}"
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'proplib'
|
||||
pkgname=proplib
|
||||
version=0.6.1
|
||||
revision=1
|
||||
homepage="http://code.google.com/p/portableproplib"
|
||||
distfiles="http://portableproplib.googlecode.com/files/$pkgname-$version.tar.xz"
|
||||
build_style=gnu-configure
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'udisks2'
|
||||
pkgname=udisks2
|
||||
version=1.94.0
|
||||
version=1.97.0
|
||||
wrksrc="udisks-${version}"
|
||||
distfiles="http://udisks.freedesktop.org/releases/udisks-$version.tar.bz2"
|
||||
build_style=gnu-configure
|
||||
|
@ -9,7 +9,7 @@ short_desc="Disk Management Service"
|
|||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.freedesktop.org/wiki/Software/udisks"
|
||||
license="GPL-2"
|
||||
checksum=e58193c2f2f4fba030b6dd684708352b1eccf6826843e42899a26fef4249b0bc
|
||||
checksum=132e569d1b565a74c481d37ba27977c9aa9f5254baf79b2763898c9fa35a4ceb
|
||||
long_desc="
|
||||
The udisks project provides:
|
||||
|
||||
|
@ -24,12 +24,12 @@ subpackages="udisks2-devel"
|
|||
make_dirs="/var/lib/udisks2 0750 root root"
|
||||
|
||||
Add_dependency run udev
|
||||
Add_dependency run acl-progs # setfacl required
|
||||
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build intltool
|
||||
Add_dependency build libxslt
|
||||
Add_dependency build docbook-xsl
|
||||
Add_dependency build acl-devel
|
||||
Add_dependency build device-mapper-devel
|
||||
Add_dependency build liblvm2app-devel
|
||||
Add_dependency build libparted-devel
|
||||
|
|
|
@ -8,6 +8,8 @@ long_desc="${long_desc}
|
|||
Add_dependency run glib-devel
|
||||
Add_dependency run udisks2 ">=${version}"
|
||||
|
||||
noarch=yes
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
|
|
|
@ -7,3 +7,4 @@ libpolkit-gobject-1.so.0
|
|||
libgio-2.0.so.0
|
||||
libgudev-1.0.so.0
|
||||
libpolkit-agent-1.so.0
|
||||
libacl.so.1
|
||||
|
|
|
@ -1,118 +0,0 @@
|
|||
See https://bugs.freedesktop.org/show_bug.cgi?id=47266
|
||||
|
||||
--- exa/exa_glyphs.c 2012-03-30 04:57:25.000000000 +0200
|
||||
+++ exa/exa_glyphs.c.new 2012-04-15 11:48:51.683214230 +0200
|
||||
@@ -686,6 +686,7 @@
|
||||
PixmapPtr pMaskPixmap = 0;
|
||||
PicturePtr pMask = NULL;
|
||||
ScreenPtr pScreen = pDst->pDrawable->pScreen;
|
||||
+ ExaScreenPriv(pScreen);
|
||||
int width = 0, height = 0;
|
||||
int x, y;
|
||||
int first_xOff = list->xOff, first_yOff = list->yOff;
|
||||
@@ -697,7 +698,6 @@
|
||||
ExaGlyphBuffer buffer;
|
||||
|
||||
if (maskFormat) {
|
||||
- ExaScreenPriv(pScreen);
|
||||
GCPtr pGC;
|
||||
xRectangle rect;
|
||||
|
||||
@@ -719,22 +719,20 @@
|
||||
maskFormat->depth,
|
||||
CREATE_PIXMAP_USAGE_SCRATCH);
|
||||
if (!pMaskPixmap)
|
||||
- return;
|
||||
+ goto fallback;
|
||||
component_alpha = NeedsComponent(maskFormat->format);
|
||||
pMask = CreatePicture(0, &pMaskPixmap->drawable,
|
||||
maskFormat, CPComponentAlpha, &component_alpha,
|
||||
serverClient, &error);
|
||||
- if (!pMask ||
|
||||
- (!component_alpha && pExaScr->info->CheckComposite &&
|
||||
- !(*pExaScr->info->CheckComposite) (PictOpAdd, pSrc, NULL, pMask)))
|
||||
+ (*pScreen->DestroyPixmap) (pMaskPixmap);
|
||||
+ if (!pMask)
|
||||
+ goto fallback;
|
||||
+
|
||||
+ if (!component_alpha && pExaScr->info->CheckComposite &&
|
||||
+ !(*pExaScr->info->CheckComposite) (PictOpAdd, pSrc, NULL, pMask))
|
||||
{
|
||||
PictFormatPtr argbFormat;
|
||||
|
||||
- (*pScreen->DestroyPixmap) (pMaskPixmap);
|
||||
-
|
||||
- if (!pMask)
|
||||
- return;
|
||||
-
|
||||
/* The driver can't seem to composite to a8, let's try argb (but
|
||||
* without component-alpha) */
|
||||
FreePicture((pointer) pMask, (XID) 0);
|
||||
@@ -748,15 +746,25 @@
|
||||
maskFormat->depth,
|
||||
CREATE_PIXMAP_USAGE_SCRATCH);
|
||||
if (!pMaskPixmap)
|
||||
- return;
|
||||
+ goto fallback;
|
||||
|
||||
pMask = CreatePicture(0, &pMaskPixmap->drawable, maskFormat, 0, 0,
|
||||
serverClient, &error);
|
||||
- if (!pMask) {
|
||||
- (*pScreen->DestroyPixmap) (pMaskPixmap);
|
||||
- return;
|
||||
- }
|
||||
+ (*pScreen->DestroyPixmap) (pMaskPixmap);
|
||||
+ if (!pMask)
|
||||
+ goto fallback;
|
||||
}
|
||||
+
|
||||
+ if (pExaScr->info->CheckComposite &&
|
||||
+ (!(*pExaScr->info->CheckComposite) (PictOpAdd, pSrc, NULL, pMask) ||
|
||||
+ (!(*pExaScr->info->CheckComposite) (op, pSrc, pMask, pDst) &&
|
||||
+ (op != PictOpOver ||
|
||||
+ !(*pExaScr->info->CheckComposite) (PictOpOutReverse, pSrc, pMask, pDst) ||
|
||||
+ !(*pExaScr->info->CheckComposite) (PictOpOver, pSrc, pMask, pDst))))) {
|
||||
+ FreePicture ((pointer) pMask, (XID) 0);
|
||||
+ goto fallback;
|
||||
+ }
|
||||
+
|
||||
pGC = GetScratchGC(pMaskPixmap->drawable.depth, pScreen);
|
||||
ValidateGC(&pMaskPixmap->drawable, pGC);
|
||||
rect.x = 0;
|
||||
@@ -769,6 +777,13 @@
|
||||
y = -extents.y1;
|
||||
}
|
||||
else {
|
||||
+ if (pExaScr->info->CheckComposite &&
|
||||
+ !(*pExaScr->info->CheckComposite) (op, pSrc, NULL, pDst) &&
|
||||
+ (op != PictOpOver ||
|
||||
+ !(*pExaScr->info->CheckComposite) (PictOpOutReverse, pSrc, NULL, pDst) ||
|
||||
+ !(*pExaScr->info->CheckComposite) (PictOpOver, pSrc, NULL, pDst)))
|
||||
+ goto fallback;
|
||||
+
|
||||
x = 0;
|
||||
y = 0;
|
||||
}
|
||||
@@ -834,6 +849,10 @@
|
||||
xSrc + x - first_xOff,
|
||||
ySrc + y - first_yOff, 0, 0, x, y, width, height);
|
||||
FreePicture((pointer) pMask, (XID) 0);
|
||||
- (*pScreen->DestroyPixmap) (pMaskPixmap);
|
||||
}
|
||||
+
|
||||
+ return;
|
||||
+
|
||||
+fallback:
|
||||
+ ExaCheckGlyphs(op, pSrc, pDst, maskFormat, xSrc, ySrc, nlist, list, glyphs);
|
||||
}
|
||||
--- exa/exa_render.c 2012-03-30 04:57:25.000000000 +0200
|
||||
+++ exa/exa_render.c.new 2012-04-15 11:50:35.272482047 +0200
|
||||
@@ -878,7 +878,7 @@
|
||||
Bool saveMaskRepeat = pMask ? pMask->repeat : 0;
|
||||
RegionRec region;
|
||||
|
||||
- if (pExaScr->swappedOut)
|
||||
+ if (pExaScr->fallback_counter || pExaScr->swappedOut)
|
||||
goto fallback;
|
||||
|
||||
/* Remove repeat in source if useless */
|
|
@ -1,6 +1,7 @@
|
|||
# Template build file for 'xorg-server'.
|
||||
pkgname=xorg-server
|
||||
version=1.12.1.901
|
||||
revision=1
|
||||
distfiles="${XORG_SITE}/xserver/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-ipv6 --enable-xcsecurity --enable-record
|
||||
|
|
|
@ -5,6 +5,8 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
revision=1
|
||||
|
||||
Add_dependency run libudev-devel
|
||||
Add_dependency run dri2proto ">=2.1"
|
||||
Add_dependency run glproto
|
||||
|
@ -32,6 +34,8 @@ Add_dependency run libXt-devel
|
|||
Add_dependency run libXpm-devel
|
||||
Add_dependency run libdrm-devel
|
||||
|
||||
noarch=yes
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
|
|
Loading…
Reference in a new issue