From e0b5ef882058c05f1242b5834b6db9dc5a7f29d2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 16:27:26 +0200 Subject: [PATCH 01/18] New package: foomatic-db-20120517. --- srcpkgs/foomatic-db/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/foomatic-db/template diff --git a/srcpkgs/foomatic-db/template b/srcpkgs/foomatic-db/template new file mode 100644 index 0000000000..404797a578 --- /dev/null +++ b/srcpkgs/foomatic-db/template @@ -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 " +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." From 7e6370d4ccb2456dfb85f763b28eb022d11f47da Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 16:36:39 +0200 Subject: [PATCH 02/18] New package: enscript-1.6.5.2. --- srcpkgs/enscript/enscript.rshlibs | 2 ++ srcpkgs/enscript/template | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 srcpkgs/enscript/enscript.rshlibs create mode 100644 srcpkgs/enscript/template diff --git a/srcpkgs/enscript/enscript.rshlibs b/srcpkgs/enscript/enscript.rshlibs new file mode 100644 index 0000000000..7c868f9838 --- /dev/null +++ b/srcpkgs/enscript/enscript.rshlibs @@ -0,0 +1,2 @@ +libm.so.6 +libc.so.6 diff --git a/srcpkgs/enscript/template b/srcpkgs/enscript/template new file mode 100644 index 0000000000..4f9304605c --- /dev/null +++ b/srcpkgs/enscript/template @@ -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 " +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 From 7c25888355b1e0207d1f06abe9ec3b986f35451a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 16:43:26 +0200 Subject: [PATCH 03/18] New package: foomatic-filters-4.0.15. --- .../foomatic-filters/foomatic-filters.rshlibs | 4 +++ srcpkgs/foomatic-filters/template | 31 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/foomatic-filters/foomatic-filters.rshlibs create mode 100644 srcpkgs/foomatic-filters/template diff --git a/srcpkgs/foomatic-filters/foomatic-filters.rshlibs b/srcpkgs/foomatic-filters/foomatic-filters.rshlibs new file mode 100644 index 0000000000..930d598696 --- /dev/null +++ b/srcpkgs/foomatic-filters/foomatic-filters.rshlibs @@ -0,0 +1,4 @@ +libdbus-1.so.3 +libpthread.so.0 +libm.so.6 +libc.so.6 diff --git a/srcpkgs/foomatic-filters/template b/srcpkgs/foomatic-filters/template new file mode 100644 index 0000000000..395ab237eb --- /dev/null +++ b/srcpkgs/foomatic-filters/template @@ -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 " +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" From b22e305bc2fe8ef91a236d56b604c505c62fccb8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 16:58:32 +0200 Subject: [PATCH 04/18] New package: foomatic-db-engine-4.0.8. --- .../foomatic-db-engine.rshlibs | 4 +++ srcpkgs/foomatic-db-engine/template | 31 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 srcpkgs/foomatic-db-engine/foomatic-db-engine.rshlibs create mode 100644 srcpkgs/foomatic-db-engine/template diff --git a/srcpkgs/foomatic-db-engine/foomatic-db-engine.rshlibs b/srcpkgs/foomatic-db-engine/foomatic-db-engine.rshlibs new file mode 100644 index 0000000000..feec802856 --- /dev/null +++ b/srcpkgs/foomatic-db-engine/foomatic-db-engine.rshlibs @@ -0,0 +1,4 @@ +libc.so.6 +libxml2.so.2 +libz.so.1 +libm.so.6 diff --git a/srcpkgs/foomatic-db-engine/template b/srcpkgs/foomatic-db-engine/template new file mode 100644 index 0000000000..c591fd655d --- /dev/null +++ b/srcpkgs/foomatic-db-engine/template @@ -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 " +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" From f4eb95a3e5f7c628828cc830b102629e2383cfe4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 17:03:57 +0200 Subject: [PATCH 05/18] New package: foomatic-db-nonfree-20120517. --- srcpkgs/foomatic-db-nonfree/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/foomatic-db-nonfree/template diff --git a/srcpkgs/foomatic-db-nonfree/template b/srcpkgs/foomatic-db-nonfree/template new file mode 100644 index 0000000000..7a10f64da1 --- /dev/null +++ b/srcpkgs/foomatic-db-nonfree/template @@ -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 " +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." From 11bf0ca19c3a1357e073aa9c5eb16b77adce179d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 17:18:26 +0200 Subject: [PATCH 06/18] xorg-server: remove EXA patch, unneeded now. --- ..._and_more_thoroughly_from_exaGlyphsV2.diff | 118 ------------------ srcpkgs/xorg-server/template | 1 + .../xorg-server/xorg-server-devel.template | 4 + 3 files changed, 5 insertions(+), 118 deletions(-) delete mode 100644 srcpkgs/xorg-server/patches/EXA_Fall_back_earlier_and_more_thoroughly_from_exaGlyphsV2.diff diff --git a/srcpkgs/xorg-server/patches/EXA_Fall_back_earlier_and_more_thoroughly_from_exaGlyphsV2.diff b/srcpkgs/xorg-server/patches/EXA_Fall_back_earlier_and_more_thoroughly_from_exaGlyphsV2.diff deleted file mode 100644 index 79a343038a..0000000000 --- a/srcpkgs/xorg-server/patches/EXA_Fall_back_earlier_and_more_thoroughly_from_exaGlyphsV2.diff +++ /dev/null @@ -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 */ diff --git a/srcpkgs/xorg-server/template b/srcpkgs/xorg-server/template index 041e61cb05..d9f4b4efe3 100644 --- a/srcpkgs/xorg-server/template +++ b/srcpkgs/xorg-server/template @@ -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 diff --git a/srcpkgs/xorg-server/xorg-server-devel.template b/srcpkgs/xorg-server/xorg-server-devel.template index 183adc25b5..0e045de43c 100644 --- a/srcpkgs/xorg-server/xorg-server-devel.template +++ b/srcpkgs/xorg-server/xorg-server-devel.template @@ -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 From 8f901575621a02cb6c5a2a68cfa4b3af5f3563a1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 17:22:04 +0200 Subject: [PATCH 07/18] proplib: backport patch from master for fdatasync(2). --- srcpkgs/proplib/patches/switch_to_fdatasync.patch | 11 +++++++++++ srcpkgs/proplib/proplib-devel.template | 4 +++- srcpkgs/proplib/template | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/proplib/patches/switch_to_fdatasync.patch diff --git a/srcpkgs/proplib/patches/switch_to_fdatasync.patch b/srcpkgs/proplib/patches/switch_to_fdatasync.patch new file mode 100644 index 0000000000..35f860cd0c --- /dev/null +++ b/srcpkgs/proplib/patches/switch_to_fdatasync.patch @@ -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); diff --git a/srcpkgs/proplib/proplib-devel.template b/srcpkgs/proplib/proplib-devel.template index 1930f43e47..b9c718f48a 100644 --- a/srcpkgs/proplib/proplib-devel.template +++ b/srcpkgs/proplib/proplib-devel.template @@ -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 diff --git a/srcpkgs/proplib/template b/srcpkgs/proplib/template index 84ff08224e..ba81c185cd 100644 --- a/srcpkgs/proplib/template +++ b/srcpkgs/proplib/template @@ -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 From 08044b9f9da19aa5b315ea2e0570d7e56021f653 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 18:17:16 +0200 Subject: [PATCH 08/18] New package: libssh2-1.4.1. --- common/shlibs | 1 + srcpkgs/libssh2-devel | 1 + srcpkgs/libssh2/depends | 2 ++ srcpkgs/libssh2/libssh2-devel.template | 15 +++++++++++++++ srcpkgs/libssh2/libssh2.rshlibs | 4 ++++ srcpkgs/libssh2/template | 17 +++++++++++++++++ 6 files changed, 40 insertions(+) create mode 120000 srcpkgs/libssh2-devel create mode 100644 srcpkgs/libssh2/depends create mode 100644 srcpkgs/libssh2/libssh2-devel.template create mode 100644 srcpkgs/libssh2/libssh2.rshlibs create mode 100644 srcpkgs/libssh2/template diff --git a/common/shlibs b/common/shlibs index 8747d085f9..ea9ead24c5 100644 --- a/common/shlibs +++ b/common/shlibs @@ -980,3 +980,4 @@ 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 diff --git a/srcpkgs/libssh2-devel b/srcpkgs/libssh2-devel new file mode 120000 index 0000000000..fddca93bea --- /dev/null +++ b/srcpkgs/libssh2-devel @@ -0,0 +1 @@ +libssh2 \ No newline at end of file diff --git a/srcpkgs/libssh2/depends b/srcpkgs/libssh2/depends new file mode 100644 index 0000000000..eaf929f4dc --- /dev/null +++ b/srcpkgs/libssh2/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.4.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/libssh2/libssh2-devel.template b/srcpkgs/libssh2/libssh2-devel.template new file mode 100644 index 0000000000..b0ef5ef80e --- /dev/null +++ b/srcpkgs/libssh2/libssh2-devel.template @@ -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 +} diff --git a/srcpkgs/libssh2/libssh2.rshlibs b/srcpkgs/libssh2/libssh2.rshlibs new file mode 100644 index 0000000000..a976a535c1 --- /dev/null +++ b/srcpkgs/libssh2/libssh2.rshlibs @@ -0,0 +1,4 @@ +libssl.so.1 +libcrypto.so.1 +libz.so.1 +libc.so.6 diff --git a/srcpkgs/libssh2/template b/srcpkgs/libssh2/template new file mode 100644 index 0000000000..1b5c190447 --- /dev/null +++ b/srcpkgs/libssh2/template @@ -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 " +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 From 021aff51c304af7f5ea1c256d006af828da3aec2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 18:28:21 +0200 Subject: [PATCH 09/18] libvirt: update to 0.9.12. --- common/shlibs | 4 +-- srcpkgs/libvirt/libvirt-devel.template | 33 +++++------------------ srcpkgs/libvirt/libvirt-python.rshlibs | 21 +++++++++++++++ srcpkgs/libvirt/libvirt-python.template | 20 +++----------- srcpkgs/libvirt/libvirt.rshlibs | 25 ++++++++++++++++++ srcpkgs/libvirt/template | 35 +++++++++---------------- 6 files changed, 70 insertions(+), 68 deletions(-) create mode 100644 srcpkgs/libvirt/libvirt-python.rshlibs create mode 100644 srcpkgs/libvirt/libvirt.rshlibs diff --git a/common/shlibs b/common/shlibs index ea9ead24c5..cb1872bd97 100644 --- a/common/shlibs +++ b/common/shlibs @@ -698,8 +698,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 diff --git a/srcpkgs/libvirt/libvirt-devel.template b/srcpkgs/libvirt/libvirt-devel.template index f4539e9d2e..9f31494fa7 100644 --- a/srcpkgs/libvirt/libvirt-devel.template +++ b/srcpkgs/libvirt/libvirt-devel.template @@ -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 } diff --git a/srcpkgs/libvirt/libvirt-python.rshlibs b/srcpkgs/libvirt/libvirt-python.rshlibs new file mode 100644 index 0000000000..4d25e11d57 --- /dev/null +++ b/srcpkgs/libvirt/libvirt-python.rshlibs @@ -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 diff --git a/srcpkgs/libvirt/libvirt-python.template b/srcpkgs/libvirt/libvirt-python.template index abafbcaa08..737a7e0ee1 100644 --- a/srcpkgs/libvirt/libvirt-python.template +++ b/srcpkgs/libvirt/libvirt-python.template @@ -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 } diff --git a/srcpkgs/libvirt/libvirt.rshlibs b/srcpkgs/libvirt/libvirt.rshlibs new file mode 100644 index 0000000000..c70434df8e --- /dev/null +++ b/srcpkgs/libvirt/libvirt.rshlibs @@ -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 diff --git a/srcpkgs/libvirt/template b/srcpkgs/libvirt/template index 3783fc5fb3..cc5a73be8b 100644 --- a/srcpkgs/libvirt/template +++ b/srcpkgs/libvirt/template @@ -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 " -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 From 146b8a8099c4cd351bb607ae6272b55c0c2c1363 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 18:45:28 +0200 Subject: [PATCH 10/18] New package: libvirt-glib-0.0.8. --- common/shlibs | 1 + srcpkgs/libvirt-glib-devel | 1 + srcpkgs/libvirt-glib-python | 1 + srcpkgs/libvirt-glib/depends | 2 ++ .../libvirt-glib/libvirt-glib-devel.template | 21 ++++++++++++++ .../libvirt-glib/libvirt-glib-python.rshlibs | 8 ++++++ .../libvirt-glib/libvirt-glib-python.template | 12 ++++++++ srcpkgs/libvirt-glib/libvirt-glib.rshlibs | 10 +++++++ srcpkgs/libvirt-glib/template | 28 +++++++++++++++++++ 9 files changed, 84 insertions(+) create mode 120000 srcpkgs/libvirt-glib-devel create mode 120000 srcpkgs/libvirt-glib-python create mode 100644 srcpkgs/libvirt-glib/depends create mode 100644 srcpkgs/libvirt-glib/libvirt-glib-devel.template create mode 100644 srcpkgs/libvirt-glib/libvirt-glib-python.rshlibs create mode 100644 srcpkgs/libvirt-glib/libvirt-glib-python.template create mode 100644 srcpkgs/libvirt-glib/libvirt-glib.rshlibs create mode 100644 srcpkgs/libvirt-glib/template diff --git a/common/shlibs b/common/shlibs index cb1872bd97..b93bc96478 100644 --- a/common/shlibs +++ b/common/shlibs @@ -981,3 +981,4 @@ 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 diff --git a/srcpkgs/libvirt-glib-devel b/srcpkgs/libvirt-glib-devel new file mode 120000 index 0000000000..ecf88a43a5 --- /dev/null +++ b/srcpkgs/libvirt-glib-devel @@ -0,0 +1 @@ +libvirt-glib \ No newline at end of file diff --git a/srcpkgs/libvirt-glib-python b/srcpkgs/libvirt-glib-python new file mode 120000 index 0000000000..ecf88a43a5 --- /dev/null +++ b/srcpkgs/libvirt-glib-python @@ -0,0 +1 @@ +libvirt-glib \ No newline at end of file diff --git a/srcpkgs/libvirt-glib/depends b/srcpkgs/libvirt-glib/depends new file mode 100644 index 0000000000..14a6cf6595 --- /dev/null +++ b/srcpkgs/libvirt-glib/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.0.8" +api_depends="${abi_depends}" diff --git a/srcpkgs/libvirt-glib/libvirt-glib-devel.template b/srcpkgs/libvirt-glib/libvirt-glib-devel.template new file mode 100644 index 0000000000..f3c8ec6b0f --- /dev/null +++ b/srcpkgs/libvirt-glib/libvirt-glib-devel.template @@ -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 +} diff --git a/srcpkgs/libvirt-glib/libvirt-glib-python.rshlibs b/srcpkgs/libvirt-glib/libvirt-glib-python.rshlibs new file mode 100644 index 0000000000..02ec611ef1 --- /dev/null +++ b/srcpkgs/libvirt-glib/libvirt-glib-python.rshlibs @@ -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 diff --git a/srcpkgs/libvirt-glib/libvirt-glib-python.template b/srcpkgs/libvirt-glib/libvirt-glib-python.template new file mode 100644 index 0000000000..ac4fd45407 --- /dev/null +++ b/srcpkgs/libvirt-glib/libvirt-glib-python.template @@ -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 +} diff --git a/srcpkgs/libvirt-glib/libvirt-glib.rshlibs b/srcpkgs/libvirt-glib/libvirt-glib.rshlibs new file mode 100644 index 0000000000..1bfbb1dca1 --- /dev/null +++ b/srcpkgs/libvirt-glib/libvirt-glib.rshlibs @@ -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 diff --git a/srcpkgs/libvirt-glib/template b/srcpkgs/libvirt-glib/template new file mode 100644 index 0000000000..743d154923 --- /dev/null +++ b/srcpkgs/libvirt-glib/template @@ -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 " +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 From 27a05b3a87b40bbc76d658705fdeab8ecc2f14f5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 21:32:05 +0200 Subject: [PATCH 11/18] polkit: start polkit daemon without debug. --- srcpkgs/polkit/files/polkitd.service | 4 +--- srcpkgs/polkit/template | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/polkit/files/polkitd.service b/srcpkgs/polkit/files/polkitd.service index 10f4afecf9..d703360838 100644 --- a/srcpkgs/polkit/files/polkitd.service +++ b/srcpkgs/polkit/files/polkitd.service @@ -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 diff --git a/srcpkgs/polkit/template b/srcpkgs/polkit/template index c970b1e941..c9c7e130c7 100644 --- a/srcpkgs/polkit/template +++ b/srcpkgs/polkit/template @@ -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" From 7939240ae51c768e67c29e5a0c931fd5783298f8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 21:50:39 +0200 Subject: [PATCH 12/18] e2fsprogs: update to 1.42.3. --- srcpkgs/e2fsprogs/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/e2fsprogs/template b/srcpkgs/e2fsprogs/template index b057f29576..fe1b4ac6b3 100644 --- a/srcpkgs/e2fsprogs/template +++ b/srcpkgs/e2fsprogs/template @@ -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 " 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." From 6febd27b5e83ea5fdd8a8a96c1d74a7dd2e98ccc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 21:52:33 +0200 Subject: [PATCH 13/18] obexd: update to 0.46. --- srcpkgs/obexd/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/obexd/template b/srcpkgs/obexd/template index 721be40b96..48068c7e8f 100644 --- a/srcpkgs/obexd/template +++ b/srcpkgs/obexd/template @@ -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 " 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. From b740add6fd2af07e564f526f8bcccd1ab9624fab Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 May 2012 23:34:33 +0200 Subject: [PATCH 14/18] udisks2: update to 1.97.0. --- srcpkgs/udisks2/template | 6 +++--- srcpkgs/udisks2/udisks2-devel.template | 2 ++ srcpkgs/udisks2/udisks2.rshlibs | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/srcpkgs/udisks2/template b/srcpkgs/udisks2/template index e5df1d299a..bbea9ba230 100644 --- a/srcpkgs/udisks2/template +++ b/srcpkgs/udisks2/template @@ -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 " 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 diff --git a/srcpkgs/udisks2/udisks2-devel.template b/srcpkgs/udisks2/udisks2-devel.template index c1dfeff7ed..597d05e6ea 100644 --- a/srcpkgs/udisks2/udisks2-devel.template +++ b/srcpkgs/udisks2/udisks2-devel.template @@ -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 diff --git a/srcpkgs/udisks2/udisks2.rshlibs b/srcpkgs/udisks2/udisks2.rshlibs index 58c3f16c56..6bdc1820be 100644 --- a/srcpkgs/udisks2/udisks2.rshlibs +++ b/srcpkgs/udisks2/udisks2.rshlibs @@ -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 From 4313a669aa1c813064263d669c8ab0020ba7c9e5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 18 May 2012 00:31:48 +0200 Subject: [PATCH 15/18] kernel: enable CONFIG_DEBUG_KERNEL and CONFIG_LATENCYTOP (x86 conf must be synced). --- srcpkgs/kernel/files/x86_64-dotconfig | 85 +++++++++++++++++++++++---- srcpkgs/kernel/template | 2 +- 2 files changed, 76 insertions(+), 11 deletions(-) diff --git a/srcpkgs/kernel/files/x86_64-dotconfig b/srcpkgs/kernel/files/x86_64-dotconfig index 3b0f895da4..4ee76554bd 100644 --- a/srcpkgs/kernel/files/x86_64-dotconfig +++ b/srcpkgs/kernel/files/x86_64-dotconfig @@ -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 diff --git a/srcpkgs/kernel/template b/srcpkgs/kernel/template index 6ac4f9ccb0..8fb6bf98fe 100644 --- a/srcpkgs/kernel/template +++ b/srcpkgs/kernel/template @@ -15,7 +15,7 @@ long_desc=" subpackages="kernel-headers" triggers="kernel-hooks" -#revision=1 +revision=1 build_requires=16 nostrip=yes noverifyrdeps=yes From 00389f2066f636f9f70ca7aeb2ec4ffef3ad001b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 18 May 2012 00:39:35 +0200 Subject: [PATCH 16/18] powertop: update to 2.0. --- .../patches/powertop-1.13-with-3.0.6.patch | 138 ------------------ srcpkgs/powertop/powertop.rshlibs | 7 + srcpkgs/powertop/template | 14 +- 3 files changed, 15 insertions(+), 144 deletions(-) delete mode 100644 srcpkgs/powertop/patches/powertop-1.13-with-3.0.6.patch diff --git a/srcpkgs/powertop/patches/powertop-1.13-with-3.0.6.patch b/srcpkgs/powertop/patches/powertop-1.13-with-3.0.6.patch deleted file mode 100644 index 470480ff92..0000000000 --- a/srcpkgs/powertop/patches/powertop-1.13-with-3.0.6.patch +++ /dev/null @@ -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; diff --git a/srcpkgs/powertop/powertop.rshlibs b/srcpkgs/powertop/powertop.rshlibs index 3d6081484d..343fec3f4c 100644 --- a/srcpkgs/powertop/powertop.rshlibs +++ b/srcpkgs/powertop/powertop.rshlibs @@ -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 diff --git a/srcpkgs/powertop/template b/srcpkgs/powertop/template index 88cd9e5fed..da6a665b5f 100644 --- a/srcpkgs/powertop/template +++ b/srcpkgs/powertop/template @@ -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 " 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 From e6fb718495baaf8704eb20c31478c4ff10f1b803 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 18 May 2012 00:49:50 +0200 Subject: [PATCH 17/18] New package: latencytop-0.5. --- srcpkgs/latencytop/latencytop.rshlibs | 6 ++++++ srcpkgs/latencytop/template | 27 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 srcpkgs/latencytop/latencytop.rshlibs create mode 100644 srcpkgs/latencytop/template diff --git a/srcpkgs/latencytop/latencytop.rshlibs b/srcpkgs/latencytop/latencytop.rshlibs new file mode 100644 index 0000000000..d23ca28124 --- /dev/null +++ b/srcpkgs/latencytop/latencytop.rshlibs @@ -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 diff --git a/srcpkgs/latencytop/template b/srcpkgs/latencytop/template new file mode 100644 index 0000000000..441c4fe5fb --- /dev/null +++ b/srcpkgs/latencytop/template @@ -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 " +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 +} From 86c0caf4cc5ee826197828bcf80f033d82979714 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 18 May 2012 00:58:45 +0200 Subject: [PATCH 18/18] accountsservice: update to 0.6.21. --- srcpkgs/accountsservice/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/accountsservice/template b/srcpkgs/accountsservice/template index 7a7c3bcade..ad16a9331a 100644 --- a/srcpkgs/accountsservice/template +++ b/srcpkgs/accountsservice/template @@ -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 " 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