From d4ef5d70e6e72f90132d171c79f2be9d95e4b9cc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 4 Jul 2013 21:46:49 +0200 Subject: [PATCH 01/15] systemd: merge 2 patches from git master. --- srcpkgs/libudev/template | 4 +- ...9bcc27e2c6c1aa731053e45882686e9babab.patch | 68 +++++++++++++++++++ ...a3008cac9e625b8bb774e9b44ceec8465980.patch | 48 +++++++++++++ srcpkgs/systemd/template | 2 +- 4 files changed, 119 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/systemd/patches/ad929bcc27e2c6c1aa731053e45882686e9babab.patch create mode 100644 srcpkgs/systemd/patches/c1eba3008cac9e625b8bb774e9b44ceec8465980.patch diff --git a/srcpkgs/libudev/template b/srcpkgs/libudev/template index b1854369d79..4ade9dd4eea 100644 --- a/srcpkgs/libudev/template +++ b/srcpkgs/libudev/template @@ -1,14 +1,14 @@ # Template file for 'libudev' pkgname=libudev version=205 -revision=1 +revision=2 wrksrc="systemd-${version}" build_style=gnu-configure configure_args="--libexecdir=/usr/lib --disable-selinux --disable-static --disable-ima --enable-introspection=no --disable-kmod --disable-blkid --disable-chkconfig --disable-selinux --disable-tcpwrap --disable-pam - --disable-acl --disable-xattr --disable-audit + --disable-acl --disable-xattr --disable-audit --disable-machined --disable-libcryptsetup --disable-qrencode --disable-microhttpd --disable-binfmt --disable-vconsole --disable-readahead --disable-bootchart --disable-quotacheck --disable-randomseed --disable-hostnamed diff --git a/srcpkgs/systemd/patches/ad929bcc27e2c6c1aa731053e45882686e9babab.patch b/srcpkgs/systemd/patches/ad929bcc27e2c6c1aa731053e45882686e9babab.patch new file mode 100644 index 00000000000..80df6c800ab --- /dev/null +++ b/srcpkgs/systemd/patches/ad929bcc27e2c6c1aa731053e45882686e9babab.patch @@ -0,0 +1,68 @@ +From ad929bcc27e2c6c1aa731053e45882686e9babab Mon Sep 17 00:00:00 2001 +From: Kay Sievers +Date: Thu, 04 Jul 2013 18:31:18 +0000 +Subject: disable the cgroups release agent when shutting down + +During shutdown, when we try to clean up all remaining processes, the +kernel will fork new agents every time a cgroup runs empty. These +new processes cause delays in the final SIGTERM, SIGKILL logic. + +Apart from that, this should also avoid that the kernel-forked binaries +cause unpredictably timed access to the filesystem which we might need to +unmount. +--- +diff --git a/src/core/main.c b/src/core/main.c +index 8b8e110..ada0f9d 100644 +--- src/core/main.c ++++ src/core/main.c +@@ -1942,6 +1942,10 @@ finish: + watchdog_close(true); + } + ++ /* avoid the creation of new processes forked by the kernel; at this ++ * point, we will not listen to the signals anyway */ ++ cg_uninstall_release_agent(SYSTEMD_CGROUP_CONTROLLER); ++ + execve(SYSTEMD_SHUTDOWN_BINARY_PATH, (char **) command_line, env_block); + free(env_block); + log_error("Failed to execute shutdown binary, freezing: %m"); +diff --git a/src/shared/cgroup-util.c b/src/shared/cgroup-util.c +index 390259e..73013d1 100644 +--- src/shared/cgroup-util.c ++++ src/shared/cgroup-util.c +@@ -790,6 +790,21 @@ int cg_install_release_agent(const char *controller, const char *agent) { + return 0; + } + ++int cg_uninstall_release_agent(const char *controller) { ++ _cleanup_free_ char *fs = NULL; ++ int r; ++ ++ r = cg_get_path(controller, NULL, "release_agent", &fs); ++ if (r < 0) ++ return r; ++ ++ r = write_string_file(fs, ""); ++ if (r < 0) ++ return r; ++ ++ return 0; ++} ++ + int cg_is_empty(const char *controller, const char *path, bool ignore_self) { + _cleanup_fclose_ FILE *f = NULL; + pid_t pid = 0, self_pid; +diff --git a/src/shared/cgroup-util.h b/src/shared/cgroup-util.h +index c781aab..0fc93c1 100644 +--- src/shared/cgroup-util.h ++++ src/shared/cgroup-util.h +@@ -89,6 +89,7 @@ int cg_set_group_access(const char *controller, const char *path, mode_t mode, u + int cg_set_task_access(const char *controller, const char *path, mode_t mode, uid_t uid, gid_t gid); + + int cg_install_release_agent(const char *controller, const char *agent); ++int cg_uninstall_release_agent(const char *controller); + + int cg_is_empty(const char *controller, const char *path, bool ignore_self); + int cg_is_empty_by_spec(const char *spec, bool ignore_self); +-- +cgit v0.9.0.2-2-gbebe diff --git a/srcpkgs/systemd/patches/c1eba3008cac9e625b8bb774e9b44ceec8465980.patch b/srcpkgs/systemd/patches/c1eba3008cac9e625b8bb774e9b44ceec8465980.patch new file mode 100644 index 00000000000..90547e94312 --- /dev/null +++ b/srcpkgs/systemd/patches/c1eba3008cac9e625b8bb774e9b44ceec8465980.patch @@ -0,0 +1,48 @@ +From c1eba3008cac9e625b8bb774e9b44ceec8465980 Mon Sep 17 00:00:00 2001 +From: Kay Sievers +Date: Thu, 04 Jul 2013 18:54:40 +0000 +Subject: cgroups-agent: remove ancient fallback code; turn connection error into warning + +During re-execution and shutdown cgroups agents might not be able +to connect to systemd's private D-Bus socket, the printed error to +the console is misleding in that case, so turn it into a warning. +--- +diff --git a/src/cgroups-agent/cgroups-agent.c b/src/cgroups-agent/cgroups-agent.c +index 0e3d2b7..a47949a 100644 +--- src/cgroups-agent/cgroups-agent.c ++++ src/cgroups-agent/cgroups-agent.c +@@ -48,26 +48,19 @@ int main(int argc, char *argv[]) { + * this to avoid an activation loop when we start dbus when we + * are called when the dbus service is shut down. */ + +- if (!(bus = dbus_connection_open_private("unix:path=/run/systemd/private", &error))) { +-#ifndef NOLEGACY +- dbus_error_free(&error); +- +- /* Retry with the pre v21 socket name, to ease upgrades */ +- if (!(bus = dbus_connection_open_private("unix:abstract=/org/freedesktop/systemd1/private", &error))) { +-#endif +- log_error("Failed to get D-Bus connection: %s", bus_error_message(&error)); +- goto finish; +- } +-#ifndef NOLEGACY ++ bus = dbus_connection_open_private("unix:path=/run/systemd/private", &error); ++ if (!bus) { ++ log_warning("Failed to get D-Bus connection: %s", bus_error_message(&error)); ++ goto finish; + } +-#endif + + if (bus_check_peercred(bus) < 0) { + log_error("Bus owner not root."); + goto finish; + } + +- if (!(m = dbus_message_new_signal("/org/freedesktop/systemd1/agent", "org.freedesktop.systemd1.Agent", "Released"))) { ++ m = dbus_message_new_signal("/org/freedesktop/systemd1/agent", "org.freedesktop.systemd1.Agent", "Released"); ++ if (!m) { + log_error("Could not allocate signal message."); + goto finish; + } +-- +cgit v0.9.0.2-2-gbebe diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template index 9f64c60a8f3..efeec5d0169 100644 --- a/srcpkgs/systemd/template +++ b/srcpkgs/systemd/template @@ -1,7 +1,7 @@ # Template file for 'systemd' pkgname=systemd version=205 -revision=1 +revision=2 short_desc="A system and service manager for Linux" maintainer="Juan RP " homepage="http://www.freedesktop.org/wiki/Software/systemd" From d02b92fe1fc0af28fd0768af99b698c82578fd64 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 06:56:44 +0200 Subject: [PATCH 02/15] gtk+: update to 2.24.20. --- srcpkgs/gtk+/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/gtk+/template b/srcpkgs/gtk+/template index c4cf68f6970..71096cbd6ec 100644 --- a/srcpkgs/gtk+/template +++ b/srcpkgs/gtk+/template @@ -1,6 +1,6 @@ # Template build file for 'gtk+'. pkgname=gtk+ -version=2.24.19 +version=2.24.20 revision=1 build_style=gnu-configure configure_args="--enable-cups --with-xinput" @@ -9,7 +9,7 @@ maintainer="Juan RP " homepage="http://www.gtk.org" license="LGPL-2.1" distfiles="${GNOME_SITE}/gtk+/2.24/gtk+-$version.tar.xz" -checksum=15b8bf463eba99abfa58270662914e8e9b83568ab4945b5f0ef1aa29e90becb8 +checksum=cc66bcbf9239a7d9861175c681ba95894b55c70dc0b37aad8345c46ecfda0da3 hostmakedepends="pkg-config perl" makedepends="shared-mime-info glib-devel libXcursor-devel @@ -49,6 +49,7 @@ gtk+-devel_package() { pkg_install() { vmove usr/include vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" vmove usr/lib/gtk-2.0/include if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 From 6528606276e14209d80ab566fd84f1c3a9ffe2d4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 07:06:02 +0200 Subject: [PATCH 03/15] virtualbox-ose: update to 4.2.16. --- srcpkgs/virtualbox-ose/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/virtualbox-ose/template b/srcpkgs/virtualbox-ose/template index a35e37e49af..cf6f01ff57e 100644 --- a/srcpkgs/virtualbox-ose/template +++ b/srcpkgs/virtualbox-ose/template @@ -1,6 +1,6 @@ # Template file for 'virtualbox-ose' pkgname=virtualbox-ose -_vbox_distver=4.2.14 +_vbox_distver=4.2.16 version=${_vbox_distver} revision=1 wrksrc="VirtualBox-${version}" @@ -10,7 +10,7 @@ maintainer="Juan RP " homepage="http://virtualbox.org" license="GPL-2, MPL-1.1, CDDL" distfiles="http://download.virtualbox.org/virtualbox/$version/VirtualBox-$version.tar.bz2" -checksum=f8f6dc19612f3c84a5c857b8e5c452b8db2cf3c8c52a678b6a00e5dd5831130d +checksum=ff0f8916d039120554d9d73c7cae1863d6161933374374ec2f5313892046d45a only_for_archs="i686 x86_64" From 355225c7f83e2118d5fd940bbbfd571e16438ebe Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 08:12:43 +0200 Subject: [PATCH 04/15] xbps-git: bump version (0.26). --- srcpkgs/xbps-git/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xbps-git/template b/srcpkgs/xbps-git/template index cd81271cf1e..90a241d8fbc 100644 --- a/srcpkgs/xbps-git/template +++ b/srcpkgs/xbps-git/template @@ -1,7 +1,7 @@ # Template file for 'xbps-git' pkgname=xbps-git -version=20130704 -revision=3 +version=20130705 +revision=1 build_style=configure configure_args="--prefix=/usr --sysconfdir=/etc --enable-static --enable-debug --enable-tests" short_desc="The XBPS package system (development branch)" From 81cfd9eb4533474020a61f93d8fce2639db936f9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 08:14:30 +0200 Subject: [PATCH 05/15] xbps: update to 0.25. --- ...ck.c-remove-extra-arg-in-xbps_set_cb.patch | 26 ----------- ...lculate-correctly-target-file-for-re.patch | 27 ------------ ...ove-d6605e1b97-sanitize-destdir-to-r.patch | 44 ------------------- srcpkgs/xbps/template | 16 +++---- 4 files changed, 7 insertions(+), 106 deletions(-) delete mode 100644 srcpkgs/xbps/patches/0001-lib-package_unpack.c-remove-extra-arg-in-xbps_set_cb.patch delete mode 100644 srcpkgs/xbps/patches/0002-xbps-create-8-calculate-correctly-target-file-for-re.patch delete mode 100644 srcpkgs/xbps/patches/0003-xbps-create-improve-d6605e1b97-sanitize-destdir-to-r.patch diff --git a/srcpkgs/xbps/patches/0001-lib-package_unpack.c-remove-extra-arg-in-xbps_set_cb.patch b/srcpkgs/xbps/patches/0001-lib-package_unpack.c-remove-extra-arg-in-xbps_set_cb.patch deleted file mode 100644 index 3b0d9050080..00000000000 --- a/srcpkgs/xbps/patches/0001-lib-package_unpack.c-remove-extra-arg-in-xbps_set_cb.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 7da5f6e8f76a47e899df1fc0d0e58256bc0dbcd0 Mon Sep 17 00:00:00 2001 -From: Juan RP -Date: Wed, 15 May 2013 12:45:35 +0200 -Subject: [PATCH] lib/package_unpack.c: remove extra arg in - xbps_set_cb_state(). - ---- - lib/package_unpack.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/package_unpack.c b/lib/package_unpack.c -index e1d0fc1..259b13c 100644 ---- lib/package_unpack.c -+++ lib/package_unpack.c -@@ -452,7 +452,7 @@ unpack_archive(struct xbps_handle *xhp, - if (archive_read_extract(ar, entry, flags) != 0) { - rv = archive_errno(ar); - xbps_set_cb_state(xhp, XBPS_STATE_UNPACK_FAIL, -- rv, pkgver, NULL, -+ rv, pkgver, - "%s: [unpack] failed to extract file `%s': %s", - pkgver, entry_pname, strerror(rv)); - } else { --- -1.8.2.2 - diff --git a/srcpkgs/xbps/patches/0002-xbps-create-8-calculate-correctly-target-file-for-re.patch b/srcpkgs/xbps/patches/0002-xbps-create-8-calculate-correctly-target-file-for-re.patch deleted file mode 100644 index 71826045f6b..00000000000 --- a/srcpkgs/xbps/patches/0002-xbps-create-8-calculate-correctly-target-file-for-re.patch +++ /dev/null @@ -1,27 +0,0 @@ -From d6605e1b97fcec16169c788b9bd35d269134d1ca Mon Sep 17 00:00:00 2001 -From: Juan RP -Date: Mon, 27 May 2013 10:27:55 +0200 -Subject: [PATCH] xbps-create(8): calculate correctly target file for relative - symlinks. - ---- - NEWS | 2 ++ - bin/xbps-create/main.c | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/bin/xbps-create/main.c b/bin/xbps-create/main.c -index 9a6c2be..2a2373d 100644 ---- bin/xbps-create/main.c -+++ bin/xbps-create/main.c -@@ -237,7 +237,7 @@ ftw_cb(const char *fpath, const struct stat *sb, int type, struct FTW *ftwbuf) - */ - xe->target = strdup(buf); - } else { -- xe->target = strdup(p + strlen(destdir)); -+ xe->target = strdup(p + strlen(destdir) - 1); - free(p); - } - } else if (strchr(buf, '/') == NULL) { --- -1.8.3 - diff --git a/srcpkgs/xbps/patches/0003-xbps-create-improve-d6605e1b97-sanitize-destdir-to-r.patch b/srcpkgs/xbps/patches/0003-xbps-create-improve-d6605e1b97-sanitize-destdir-to-r.patch deleted file mode 100644 index a24b81bbf3a..00000000000 --- a/srcpkgs/xbps/patches/0003-xbps-create-improve-d6605e1b97-sanitize-destdir-to-r.patch +++ /dev/null @@ -1,44 +0,0 @@ -From fa9d3471d921e1d49cdddeeab546d61f04bc1cf1 Mon Sep 17 00:00:00 2001 -From: Juan RP -Date: Mon, 27 May 2013 13:03:40 +0200 -Subject: [PATCH] xbps-create: improve d6605e1b97 (sanitize destdir to resolve - target files in symlinks). - -Previously in d6605e1b97 if destdir had trailing '/' the behavior -of detecting target files in symlinks was changed slightly. ---- - bin/xbps-create/main.c | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -diff --git a/bin/xbps-create/main.c b/bin/xbps-create/main.c -index 2a2373d..5d0a265 100644 ---- bin/xbps-create/main.c -+++ bin/xbps-create/main.c -@@ -178,7 +178,7 @@ ftw_cb(const char *fpath, const struct stat *sb, int type, struct FTW *ftwbuf) - { - struct xentry *xe = NULL; - const char *filep = NULL; -- char *buf, *p, *dname; -+ char *buf, *p, *p2, *dname; - ssize_t r; - - (void)ftwbuf; -@@ -237,7 +237,14 @@ ftw_cb(const char *fpath, const struct stat *sb, int type, struct FTW *ftwbuf) - */ - xe->target = strdup(buf); - } else { -- xe->target = strdup(p + strlen(destdir) - 1); -+ /* -+ * Sanitize destdir just in case. -+ */ -+ if ((p2 = realpath(destdir, NULL)) == NULL) -+ die("failed to sanitize destdir %s: %s", destdir, strerror(errno)); -+ -+ xe->target = strdup(p+strlen(p2)); -+ free(p2); - free(p); - } - } else if (strchr(buf, '/') == NULL) { --- -1.8.3 - diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index 2a01fbadeb1..c2d146f7e2c 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,13 +1,11 @@ # Template file for 'xbps' pkgname=xbps -version=0.24 -revision=4 +version=0.25 +revision=1 build_style=configure -configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin - --enable-static --enable-debug --enable-tests" +configure_args="--prefix=/usr --sysconfdir=/etc --enable-static --enable-debug --enable-tests" hostmakedepends="which pkg-config" -makedepends="zlib-devel proplib-devel>=0.6.3 openssl-devel - libfetch-devel libarchive-devel>=3.1.2 confuse-devel atf-devel" +makedepends="zlib-devel openssl-devel libarchive-devel>=3.1.2 confuse-devel atf-devel" short_desc="The XBPS package system utilities" maintainer="Juan RP " homepage="http://code.google.com/p/xbps" @@ -19,18 +17,18 @@ libxbps_package() { short_desc+=" - runtime library" replaces="xbps<0.16.3_2 libxbps>=0" pkg_install() { - vmove "usr/lib/*.so*" + vmove "usr/lib/*.so.*" } } libxbps-devel_package() { short_desc+=" - runtime library (development files)" - depends="zlib-devel proplib-devel confuse-devel libfetch-devel - libarchive-devel libxbps>=${version}" + depends="zlib-devel libarchive-devel libxbps>=${version}" replaces="xbps-static<0.16.3_2 libxbps-devel>=0" pkg_install() { vmove usr/include vmove "usr/lib/*.a" + vmove "usr/lib/*.so" vmove usr/lib/pkgconfig } } From df06fa1f9668138c7f927151a184d75f79cf0692 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 08:16:00 +0200 Subject: [PATCH 06/15] xbps: update checksum. --- srcpkgs/xbps/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index c2d146f7e2c..e79474d5195 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -11,7 +11,7 @@ maintainer="Juan RP " homepage="http://code.google.com/p/xbps" license="Simplified BSD" distfiles="http://xbps.googlecode.com/files/xbps-$version.tar.gz" -checksum=95618f7bb728a6a1506a1f1af9d470db237c59b118d0aff4bc6985150b52e4c1 +checksum=020c340cbbd5dd1913203671fb8a5c4565fb928ad9d8eb4f43674a6c2f513606 libxbps_package() { short_desc+=" - runtime library" From dd2a7e034ddeeb865edc1b090b4562f5ae19dbe7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 08:29:46 +0200 Subject: [PATCH 07/15] xbps-src-utils: update and rebuild against xbps>=0.25. --- srcpkgs/xbps-src-utils/template | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/srcpkgs/xbps-src-utils/template b/srcpkgs/xbps-src-utils/template index 833af618897..e237de69efb 100644 --- a/srcpkgs/xbps-src-utils/template +++ b/srcpkgs/xbps-src-utils/template @@ -1,10 +1,10 @@ # Template build file for 'xbps-src-utils'. pkgname=xbps-src-utils -version=20130321 +version=20130705 revision=1 homepage="https://github.com/davehome/xbps-src-utils" hostmakedepends="pkg-config flex" -makedepends="libxbps-devel>=0.21" +makedepends="libxbps-devel>=0.25" short_desc="Various tools for xbps-src in C (like repo-checkvers)" maintainer="davehome " license="Simplified BSD" @@ -30,10 +30,7 @@ do_fetch() { } do_configure() { - if [ "$CROSS_BUILD" ]; then - _pcenv="env PKG_CONFIG_LIBDIR=/usr/$XBPS_CROSS_TRIPLET/lib/pkgconfig" - fi - ${_pcenv} ./configure --prefix=/usr --etcdir=/etc + ./configure --prefix=/usr --etcdir=/etc } do_build() { @@ -45,7 +42,6 @@ do_install() { } xbps-src-utils_package() { - depends="libxbps>=0.21" pkg_install() { vmove usr } From 52b1b4ffed03ec6cbe0d7b4c4a88a34e90796b16 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 09:16:28 +0200 Subject: [PATCH 08/15] xorg-server: update to 1.14.2; bump xserver-abi-{input,video} vpkgs. --- srcpkgs/xorg-server/template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srcpkgs/xorg-server/template b/srcpkgs/xorg-server/template index beedc35d241..249cdf30236 100644 --- a/srcpkgs/xorg-server/template +++ b/srcpkgs/xorg-server/template @@ -1,7 +1,7 @@ # Template build file for 'xorg-server'. pkgname=xorg-server -version=1.13.4 -revision=3 +version=1.14.2 +revision=1 build_style=gnu-configure configure_args="--enable-ipv6 --enable-xcsecurity --enable-record --enable-xnest --enable-xephyr --enable-composite --enable-xvfb @@ -17,10 +17,9 @@ maintainer="Juan RP " homepage="http://xorg.freedesktop.org" license="MIT/X11, BSD" distfiles="${XORG_SITE}/xserver/${pkgname}-${version}.tar.bz2" -checksum=a2c969887f3c7b0f3f7d31e2ee8e91fa73ce81ba3c16d82da9150ffa302c98cf +checksum=f6ddfb3f1cfff2d69d45657aec626ebe8b5847810154ff7df7ed2072b076c86b hostmakedepends="pkg-config perl flex" - makedepends="damageproto inputproto>=2.2 glproto>=1.4.15 xproto>=7.0.22 dri2proto>=2.1 xf86driproto randrproto videoproto compositeproto scrnsaverproto resourceproto>=1.2.0 xineramaproto xcmiscproto bigreqsproto libudev-devel>=183 @@ -108,7 +107,7 @@ xorg-server-devel_package() { xorg-server_package() { # See hw/xfree86/common/xf86Module.h. Only care for the major version. - provides="xserver-abi-extension-7 xserver-abi-input-18 xserver-abi-video-13" + provides="xserver-abi-extension-7_1 xserver-abi-input-19_1 xserver-abi-video-14_1" depends="xkeyboard-config" pkg_install() { vmove all From d91f69bb56c6e508efef20b8f7cd1a68236e70fe Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 09:28:15 +0200 Subject: [PATCH 09/15] xf86-video-cirrus: update to 1.5.2. --- srcpkgs/xf86-video-cirrus/template | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/srcpkgs/xf86-video-cirrus/template b/srcpkgs/xf86-video-cirrus/template index 997ecc52402..9d9f0e18598 100644 --- a/srcpkgs/xf86-video-cirrus/template +++ b/srcpkgs/xf86-video-cirrus/template @@ -1,21 +1,20 @@ # Template build file for 'xf86-video-cirrus'. pkgname=xf86-video-cirrus -version=1.5.1 -revision=2 +version=1.5.2 +revision=1 build_style=gnu-configure -makedepends="pkg-config xorg-server-devel>=1.13<1.14" +hostmakedepends="pkg-config" +makedepends="xorg-server-devel>=1.14" short_desc="Xorg Cirrus Logic video driver" homepage="http://xorg.freedesktop.org" license="MIT" maintainer="Juan RP " distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2" -checksum=a955429cbd673230c4b171afd6d0a6b28372d2f9d0a400f5124869274a27c557 -long_desc=" - This is the X11 video driver for Cirrus Logic video cards." +checksum=3361e1a65d9b84c464752fd612bdf6087622c6dd204121715366a170e5c3ccd7 xf86-video-cirrus_package() { - depends="xserver-abi-video>=13<14" + depends="xserver-abi-video-14_1" pkg_install() { - vmove usr + vmove all } } From d985db5a512f963d9808792fde98491a09e32a07 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 09:36:22 +0200 Subject: [PATCH 10/15] xf86-video-qxl: removed; has not been updated since 2010. --- srcpkgs/xf86-video-qxl/template | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 srcpkgs/xf86-video-qxl/template diff --git a/srcpkgs/xf86-video-qxl/template b/srcpkgs/xf86-video-qxl/template deleted file mode 100644 index 422fbe8b900..00000000000 --- a/srcpkgs/xf86-video-qxl/template +++ /dev/null @@ -1,23 +0,0 @@ -# Template build file for 'xf86-video-qxl'. -pkgname=xf86-video-qxl -version=0.1.0 -revision=3 -build_style=gnu-configure -configure_args="--enable-xspice=yes" -makedepends="pkg-config xf86dgaproto spice-protocol>=0.12.2 spice-devel>=0.12 - xorg-server-devel>=1.13<1.14" -short_desc="Modular Xorg QXL virtual video driver" -homepage="http://xorg.freedesktop.org" -license="MIT" -maintainer="Juan RP " -distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2" -checksum=5ca3c1039fc195e73fa68558d0d7ee2b97cf10f4e7474ca533732a5d39ebbce5 -long_desc=" - This is the QXL virtual video driver for the modular Xorg server." - -xf86-video-qxl_package() { - depends="xserver-abi-video>=13<14 spice>=0.12" - pkg_install() { - vmove usr - } -} From f017c18db65dea1f7dba44ef6ab9e4915850311a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 09:42:01 +0200 Subject: [PATCH 11/15] Update xf86-{input,video} packages for xorg-server-1.14. --- srcpkgs/xf86-input-evdev/template | 8 +-- srcpkgs/xf86-input-joystick/template | 11 ++-- srcpkgs/xf86-input-synaptics/template | 8 +-- srcpkgs/xf86-input-vmmouse/template | 8 +-- srcpkgs/xf86-input-wacom/template | 10 ++-- srcpkgs/xf86-video-ati/template | 11 ++-- srcpkgs/xf86-video-fbdev/template | 8 +-- ...153f320a95a11bd561726d2405823573500e.patch | 46 ++++++++++++++++ srcpkgs/xf86-video-geode/template | 10 ++-- srcpkgs/xf86-video-intel/template | 8 +-- srcpkgs/xf86-video-modesetting/template | 8 +-- srcpkgs/xf86-video-nouveau/template | 8 +-- srcpkgs/xf86-video-openchrome/template | 10 ++-- .../xf86-video-sisusb/patches/git-fixes.patch | 29 ++++++++++ srcpkgs/xf86-video-sisusb/template | 8 +-- .../xf86-video-vesa/patches/git-fixes.patch | 55 +++++++++++++++++++ srcpkgs/xf86-video-vesa/template | 8 +-- srcpkgs/xf86-video-vmware/template | 6 +- 18 files changed, 193 insertions(+), 67 deletions(-) create mode 100644 srcpkgs/xf86-video-geode/patches/ed0b153f320a95a11bd561726d2405823573500e.patch create mode 100644 srcpkgs/xf86-video-sisusb/patches/git-fixes.patch create mode 100644 srcpkgs/xf86-video-vesa/patches/git-fixes.patch diff --git a/srcpkgs/xf86-input-evdev/template b/srcpkgs/xf86-input-evdev/template index b83476f64ab..3af4df9ab84 100644 --- a/srcpkgs/xf86-input-evdev/template +++ b/srcpkgs/xf86-input-evdev/template @@ -1,10 +1,10 @@ # Template build file for 'xf86-input-evdev'. pkgname=xf86-input-evdev version=2.8.0 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config" -makedepends="xorg-server-devel>=1.13.3_3 mtdev-devel" +makedepends="xorg-server-devel>=1.14 mtdev-devel" short_desc="Xorg event device input driver" maintainer="Juan RP " homepage="http://xorg.freedesktop.org/" @@ -14,7 +14,7 @@ checksum=2f5b4403955f8e82603acff7f8f21a67e89a7c0230e1506c6924c4b9dd8f0e57 xf86-input-evdev-devel_package() { depends="xorg-server-devel ${sourcepkg}>=${version}" - short_desc="${short_desc} - development files" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig @@ -22,7 +22,7 @@ xf86-input-evdev-devel_package() { } xf86-input-evdev_package() { - depends="xserver-abi-input>=18<19" + depends="xserver-abi-input-19_1" pkg_install() { vmove usr } diff --git a/srcpkgs/xf86-input-joystick/template b/srcpkgs/xf86-input-joystick/template index 5e158536978..2bb3a5991da 100644 --- a/srcpkgs/xf86-input-joystick/template +++ b/srcpkgs/xf86-input-joystick/template @@ -1,10 +1,10 @@ # Template build file for 'xf86-input-joystick'. pkgname=xf86-input-joystick version=1.6.2 -revision=2 +revision=3 build_style=gnu-configure hostmakedepends="pkg-config" -makedepends="xorg-server-devel>=1.13.1" +makedepends="xorg-server-devel>=1.14" short_desc="Joystick Input driver for Xorg" maintainer="Juan RP " homepage="http://xorg.freedesktop.org/" @@ -17,7 +17,7 @@ post_install() { } xf86-input-joystick-devel_package() { - short_desc="${short_desc} -- development files" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig @@ -25,9 +25,8 @@ xf86-input-joystick-devel_package() { } xf86-input-joystick_package() { - depends="xserver-abi-input>=18<19" + depends="xserver-abi-input-19_1" pkg_install() { - vmove etc - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-input-synaptics/template b/srcpkgs/xf86-input-synaptics/template index 57e6111415f..e22e16bc971 100644 --- a/srcpkgs/xf86-input-synaptics/template +++ b/srcpkgs/xf86-input-synaptics/template @@ -1,11 +1,11 @@ # Template build file for 'xf86-input-synaptics'. pkgname=xf86-input-synaptics version=1.7.1 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libX11-devel libXtst-devel mtdev-devel - pixman-devel libpciaccess-devel xorg-server-devel>=1.13.1" + pixman-devel libpciaccess-devel xorg-server-devel>=1.14" short_desc="Xorg synaptics touchpad input driver" maintainer="Juan RP " homepage="http://www.x.org/" @@ -22,8 +22,8 @@ xf86-input-synaptics-devel_package() { } xf86-input-synaptics_package() { - depends="xserver-abi-input>=18<19" + depends="xserver-abi-input-19_1" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-input-vmmouse/template b/srcpkgs/xf86-input-vmmouse/template index 758814b031f..b4f90973d02 100644 --- a/srcpkgs/xf86-input-vmmouse/template +++ b/srcpkgs/xf86-input-vmmouse/template @@ -1,9 +1,9 @@ # Template build file for 'xf86-input-vmmouse'. pkgname=xf86-input-vmmouse version=13.0.0 -revision=1 +revision=2 build_style=gnu-configure -makedepends="xorg-server-devel>=1.13.1" +makedepends="xorg-server-devel>=1.14" short_desc="Xorg VMware virtual mouse input driver" maintainer="Juan RP " homepage="http://xorg.freedesktop.org" @@ -17,8 +17,8 @@ post_install() { } xf86-input-vmmouse_package() { - depends="xserver-abi-input>=18<19" + depends="xserver-abi-input-19_1" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-input-wacom/template b/srcpkgs/xf86-input-wacom/template index 0f19acd2122..5c15d69452e 100644 --- a/srcpkgs/xf86-input-wacom/template +++ b/srcpkgs/xf86-input-wacom/template @@ -1,10 +1,10 @@ # Template build file for 'xf86-input-wacom'. pkgname=xf86-input-wacom version=0.19.0 -revision=2 +revision=3 build_style=gnu-configure hostmakedepends="pkg-config" -makedepends="xorg-server-devel>=1.13.1 libXrandr-devel libXinerama-devel libXi-devel" +makedepends="xorg-server-devel>=1.14 libXrandr-devel libXinerama-devel libXi-devel" short_desc="Xorg Wacom tablet input driver" maintainer="Juan RP " homepage="http://xorg.freedesktop.org" @@ -17,7 +17,7 @@ post_install() { } xf86-input-wacom-devel_package() { - short_desc="${short_desc} -- development files" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig @@ -25,8 +25,8 @@ xf86-input-wacom-devel_package() { } xf86-input-wacom_package() { - depends="xserver-abi-input>=18<19" + depends="xserver-abi-input-19_1" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template index f94453a3e18..9082c0baadd 100644 --- a/srcpkgs/xf86-video-ati/template +++ b/srcpkgs/xf86-video-ati/template @@ -1,10 +1,11 @@ # Template build file for 'xf86-video-ati'. pkgname=xf86-video-ati version=7.1.0 -revision=1 +revision=2 build_style=gnu-configure -makedepends="pkg-config xf86driproto libudev-devel>=183 libpciaccess-devel - libdrm-devel pixman-devel MesaLib-devel>=9.0.2 xorg-server-devel>=1.13<1.14" +hostmakedepends="pkg-config" +makedepends="xf86driproto libudev-devel>=183 libpciaccess-devel + libdrm-devel pixman-devel MesaLib-devel>=9.0.2 xorg-server-devel>=1.14" short_desc="Xorg ATI Radeon video driver" maintainer="Juan RP " homepage="http://xorg.freedesktop.org" @@ -14,8 +15,8 @@ checksum=c8ae44051fcb331625217f98c09a3aa69f493052b69d62c03f41fed0bfe610cd xf86-video-ati_package() { replaces="xf86-video-ati>=0" - depends="xserver-abi-video>=13<14 mesa-ati-dri" + depends="xserver-abi-video-14_1 mesa-ati-dri" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-video-fbdev/template b/srcpkgs/xf86-video-fbdev/template index 1db4aded19a..58e4486a68f 100644 --- a/srcpkgs/xf86-video-fbdev/template +++ b/srcpkgs/xf86-video-fbdev/template @@ -1,10 +1,10 @@ # Template build file for 'xf86-video-fbdev'. pkgname=xf86-video-fbdev version=0.4.3 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config" -makedepends="xorg-server-devel>=1.13<1.14" +makedepends="xorg-server-devel>=1.14" short_desc="Xorg framebuffer video driver" homepage="http://xorg.freedesktop.org" license="MIT" @@ -17,8 +17,8 @@ if [ "$CROSS_BUILD" ]; then fi xf86-video-fbdev_package() { - depends="xserver-abi-video>=13<14" + depends="xserver-abi-video-14_1" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-video-geode/patches/ed0b153f320a95a11bd561726d2405823573500e.patch b/srcpkgs/xf86-video-geode/patches/ed0b153f320a95a11bd561726d2405823573500e.patch new file mode 100644 index 00000000000..add2fbfd9a0 --- /dev/null +++ b/srcpkgs/xf86-video-geode/patches/ed0b153f320a95a11bd561726d2405823573500e.patch @@ -0,0 +1,46 @@ +From ed0b153f320a95a11bd561726d2405823573500e Mon Sep 17 00:00:00 2001 +From: Adam Jackson +Date: Thu, 10 Jan 2013 03:16:26 +0000 +Subject: Remove mibstore.h + +Signed-off-by: Adam Jackson +--- +diff --git a/src/geode_driver.c b/src/geode_driver.c +index b27bfd5..9cd0af9 100644 +--- src/geode_driver.c ++++ src/geode_driver.c +@@ -59,8 +59,6 @@ + /* Machine independent stuff */ + #include "mipointer.h" + #include "micmap.h" +-/* All drivers implementing backing store need this */ +-#include "mibstore.h" + #include "vgaHW.h" + #include "vbe.h" + +diff --git a/src/gx_driver.c b/src/gx_driver.c +index 5268f29..7f44e19 100644 +--- src/gx_driver.c ++++ src/gx_driver.c +@@ -1350,7 +1350,6 @@ GXScreenInit(SCREEN_INIT_ARGS_DECL) + if (!pGeode->NoAccel) + GXAccelInit(pScrn); + +- miInitializeBackingStore(pScrn); + xf86SetBackingStore(pScrn); + + /* Set up the soft cursor */ +diff --git a/src/lx_driver.c b/src/lx_driver.c +index 6d7f37f..146578e 100644 +--- src/lx_driver.c ++++ src/lx_driver.c +@@ -932,7 +932,6 @@ LXScreenInit(SCREEN_INIT_ARGS_DECL) + if (!pGeode->NoAccel) + pGeode->NoAccel = LXExaInit(pScrn) ? FALSE : TRUE; + +- miInitializeBackingStore(pScrn); + xf86SetBackingStore(pScrn); + + /* Set up the soft cursor */ +-- +cgit v0.9.0.2-2-gbebe diff --git a/srcpkgs/xf86-video-geode/template b/srcpkgs/xf86-video-geode/template index 77b7c27ed8e..d826892ae43 100644 --- a/srcpkgs/xf86-video-geode/template +++ b/srcpkgs/xf86-video-geode/template @@ -1,7 +1,7 @@ # Template build file for 'xf86-video-geode'. pkgname=xf86-video-geode version=2.11.14 -revision=2 +revision=3 build_style=gnu-configure short_desc="Xorg AMD Geode GX/LX video driver" maintainer="Juan RP " @@ -9,16 +9,14 @@ distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2" homepage="http://xorg.freedesktop.org/" license="MIT" checksum=4c750b46c932934faa008919922f5ac8a572afcfe265ac8d7c203b8167a0cfcc -long_desc=" - This is the Xorg video driver for AMD Geode GX/LX video cards." # This is x86 specific. only_for_archs=i686 -makedepends="pkg-config libXv-devel libXrandr-devel xorg-server-devel>=1.13<1.14" +makedepends="pkg-config libXv-devel libXrandr-devel xorg-server-devel>=1.14" xf86-video-geode_package() { - depends="xserver-abi-video>=13<14" + depends="xserver-abi-video-14_1" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template index 71e5f146ff7..b4a8594a123 100644 --- a/srcpkgs/xf86-video-intel/template +++ b/srcpkgs/xf86-video-intel/template @@ -1,12 +1,12 @@ # Template build file for 'xf86-video-intel'. pkgname=xf86-video-intel version=2.21.11 -revision=2 +revision=3 build_style=gnu-configure configure_args="--with-default-accel=sna --enable-kms-only --enable-sna" makedepends="pkg-config dri2proto>=2.6 libudev-devel>=183 libdrm-devel libpciaccess-devel libXext-devel libXfixes-devel libXv-devel libXvMC-devel - xcb-util-devel>=0.3.9 MesaLib-devel xorg-server-devel>=1.13<1.14" + xcb-util-devel>=0.3.9 MesaLib-devel xorg-server-devel>=1.14" short_desc="Xorg DDX Intel video driver" maintainer="Juan RP " homepage="http://xorg.freedesktop.org/" @@ -21,8 +21,8 @@ post_install() { } xf86-video-intel_package() { - depends="xserver-abi-video>=13<14 mesa-intel-dri" + depends="xserver-abi-video>=14_1 mesa-intel-dri" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-video-modesetting/template b/srcpkgs/xf86-video-modesetting/template index 936245c02e0..8805eca2496 100644 --- a/srcpkgs/xf86-video-modesetting/template +++ b/srcpkgs/xf86-video-modesetting/template @@ -1,10 +1,10 @@ # Template build file for 'xf86-video-modesetting'. pkgname=xf86-video-modesetting version=0.8.0 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config" -makedepends="libdrm-devel>=2.4.37 xorg-server-devel>=1.13<1.14" +makedepends="libdrm-devel>=2.4.37 xorg-server-devel>=1.14" short_desc="X.org generic modesetting video driver" maintainer="Juan RP " homepage="http://xorg.freedesktop.org/" @@ -13,8 +13,8 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2" checksum=13dc349e9aa50987ab2479d27d6879cda2c1f9ad8c8d3a1422a2f53c36f047f8 xf86-video-modesetting_package() { - depends="xserver-abi-video>=13<14" + depends="xserver-abi-video-14_1" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-video-nouveau/template b/srcpkgs/xf86-video-nouveau/template index b477f46bb31..7b8d8d3c51a 100644 --- a/srcpkgs/xf86-video-nouveau/template +++ b/srcpkgs/xf86-video-nouveau/template @@ -1,10 +1,10 @@ # Template build file for 'xf86-video-nouveau'. pkgname=xf86-video-nouveau version=1.0.8 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config" -makedepends="libudev-devel>=183 libdrm-devel xorg-server-devel>=1.13<1.14" +makedepends="libudev-devel>=183 libdrm-devel xorg-server-devel>=1.14" short_desc="Xorg opensource NVIDIA video driver" maintainer="Juan RP " homepage="http://nouveau.freedesktop.org/wiki/" @@ -13,8 +13,8 @@ distfiles="http://xorg.freedesktop.org/archive/individual/driver/${pkgname}-${ve checksum=9b904314b8e9c7a5800724a6a31038ed88fa3fcfd35da6f4015fc104c8283617 xf86-video-nouveau_package() { - depends="xserver-abi-video>=13<14 mesa-nouveau-dri" + depends="xserver-abi-video-14_1 mesa-nouveau-dri" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-video-openchrome/template b/srcpkgs/xf86-video-openchrome/template index 77b6f5ac7a8..38ba061efb0 100644 --- a/srcpkgs/xf86-video-openchrome/template +++ b/srcpkgs/xf86-video-openchrome/template @@ -1,24 +1,22 @@ # Template build file for 'xf86-video-openchrome'. pkgname=xf86-video-openchrome version=0.3.1 -revision=2 +revision=3 only_for_archs=i686 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libdrm-devel libX11-devel libXext-devel libXv-devel libXvMC-devel - MesaLib-devel xorg-server-devel>=1.13<1.14" + MesaLib-devel xorg-server-devel>=1.14" short_desc="Xorg VIA Unichromes video driver" homepage="http://xorg.freedesktop.org" license="MIT" maintainer="Juan RP " distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2" checksum=eb459a86e20fa090577315a0d9964bf3f94abc5241c5408453f326eaf8915ce7 -long_desc=" - This is the X11 video driver for VIA Unichromes video cards." xf86-video-openchrome_package() { - depends="xserver-abi-video>=13<14" + depends="xserver-abi-video-14_1" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-video-sisusb/patches/git-fixes.patch b/srcpkgs/xf86-video-sisusb/patches/git-fixes.patch new file mode 100644 index 00000000000..48c4288c679 --- /dev/null +++ b/srcpkgs/xf86-video-sisusb/patches/git-fixes.patch @@ -0,0 +1,29 @@ +From 293d0902705c272b83432a955fb6a3c96dd6cea7 Mon Sep 17 00:00:00 2001 +From: Adam Jackson +Date: Tue, 25 Sep 2012 12:54:52 +0000 +Subject: Remove mibstore.h + +Signed-off-by: Adam Jackson +--- +diff --git a/src/sisusb_driver.c b/src/sisusb_driver.c +index 539b9f1..0fdc8e9 100644 +--- src/sisusb_driver.c ++++ src/sisusb_driver.c +@@ -39,7 +39,6 @@ + #include "shadowfb.h" + #include "micmap.h" + #include "mipointer.h" +-#include "mibstore.h" + + #include "sisusb_regs.h" + #include "sisusb_dac.h" +@@ -1907,7 +1906,6 @@ SISUSBScreenInit(SCREEN_INIT_ARGS_DECL) + /* Initialize the accelerators */ + SiSUSBAccelInit(pScreen); + +- miInitializeBackingStore(pScreen); + xf86SetBackingStore(pScreen); + + /* NO SilkenMouse. Never. Ever. */ +-- +cgit v0.9.0.2-2-gbebe diff --git a/srcpkgs/xf86-video-sisusb/template b/srcpkgs/xf86-video-sisusb/template index a94d8bb820c..1b6ac6b3eef 100644 --- a/srcpkgs/xf86-video-sisusb/template +++ b/srcpkgs/xf86-video-sisusb/template @@ -1,9 +1,9 @@ # Template build file for 'xf86-video-sisusb'. pkgname=xf86-video-sisusb version=0.9.6 -revision=2 +revision=3 build_style=gnu-configure -makedepends="pkg-config xorg-server-devel>=1.13<1.14" +makedepends="pkg-config xorg-server-devel>=1.14" short_desc="Xorg SiS USB video driver" homepage="http://xorg.freedesktop.org/" license="Custom" @@ -16,8 +16,8 @@ long_desc=" that are connected via a Net2280-based USB dongle for the Xorg X11 server." xf86-video-sisusb_package() { - depends="xserver-abi-video>=13<14" + depends="xserver-abi-video-14_1" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-video-vesa/patches/git-fixes.patch b/srcpkgs/xf86-video-vesa/patches/git-fixes.patch new file mode 100644 index 00000000000..5ddc079c9d6 --- /dev/null +++ b/srcpkgs/xf86-video-vesa/patches/git-fixes.patch @@ -0,0 +1,55 @@ +From 7aafaf56fbca97f36c775462c1ceea3e03700c42 Mon Sep 17 00:00:00 2001 +From: Alexandr Shadchin +Date: Sat, 18 Aug 2012 14:53:34 +0000 +Subject: Fix check function in VESASaveRestore + +Signed-off-by: Alexandr Shadchin +Reviewed-by: Peter Hutterer +Signed-off-by: Peter Hutterer +--- +diff --git a/src/vesa.c b/src/vesa.c +index 8ac77da..11cd26c 100644 +--- src/vesa.c ++++ src/vesa.c +@@ -1626,7 +1626,7 @@ VESASaveRestore(ScrnInfoPtr pScrn, vbeSaveRestoreFunction function) + { + VESAPtr pVesa; + +- if (MODE_QUERY < 0 || function > MODE_RESTORE) ++ if (function < MODE_QUERY || function > MODE_RESTORE) + return (FALSE); + + pVesa = VESAGetRec(pScrn); +-- +cgit v0.9.0.2-2-gbebe +From 60d2dc115c4b6210d3b1e05f5b0c39d1f7917cbc Mon Sep 17 00:00:00 2001 +From: Adam Jackson +Date: Tue, 25 Sep 2012 12:55:03 +0000 +Subject: Remove mibstore.h + +Signed-off-by: Adam Jackson +--- +diff --git a/src/vesa.c b/src/vesa.c +index 11cd26c..b73d104 100644 +--- src/vesa.c ++++ src/vesa.c +@@ -49,9 +49,6 @@ + /* All drivers initialising the SW cursor need this */ + #include "mipointer.h" + +-/* All drivers implementing backing store need this */ +-#include "mibstore.h" +- + /* Colormap handling */ + #include "micmap.h" + #include "xf86cmap.h" +@@ -1081,7 +1078,6 @@ VESAScreenInit(SCREEN_INIT_ARGS_DECL) + VESADGAInit(pScrn, pScreen); + + xf86SetBlackWhitePixels(pScreen); +- miInitializeBackingStore(pScreen); + xf86SetBackingStore(pScreen); + + /* software cursor */ +-- +cgit v0.9.0.2-2-gbebe diff --git a/srcpkgs/xf86-video-vesa/template b/srcpkgs/xf86-video-vesa/template index ceccc7f77f0..e88ee734c5a 100644 --- a/srcpkgs/xf86-video-vesa/template +++ b/srcpkgs/xf86-video-vesa/template @@ -3,10 +3,10 @@ pkgname=xf86-video-vesa _distver="2.3.2" version="2:${_distver}" wrksrc="${pkgname}-${_distver}" -revision=4 +revision=5 build_style=gnu-configure hostmakedepends="pkg-config" -makedepends="xorg-server-devel>=1.13<1.14" +makedepends="xorg-server-devel>=1.14" short_desc="Xorg VESA video driver" homepage="http://xorg.freedesktop.org" license="MIT" @@ -21,8 +21,8 @@ if [ "$CROSS_BUILD" ]; then fi xf86-video-vesa_package() { - depends="xserver-abi-video>=13<14" + depends="xserver-abi-video-14_1" pkg_install() { - vmove usr + vmove all } } diff --git a/srcpkgs/xf86-video-vmware/template b/srcpkgs/xf86-video-vmware/template index b0e76f41b2b..a5f0f60e3c7 100644 --- a/srcpkgs/xf86-video-vmware/template +++ b/srcpkgs/xf86-video-vmware/template @@ -1,11 +1,11 @@ # Template build file for 'xf86-video-vmware'. pkgname=xf86-video-vmware version=13.0.1 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-vmwarectrl-client" makedepends="pkg-config libdrm-devel MesaLib-devel>=9.0.1 - xorg-server-devel>=1.13<1.14" + xorg-server-devel>=1.14" short_desc="Modular Xorg VMware virtual video driver" maintainer="Juan RP " homepage="http://xorg.freedesktop.org" @@ -14,7 +14,7 @@ distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2" checksum=802dda415c22412edad6c3df44fe18a06e91d0f8456d9a58bac0d340fdf8fe3d xf86-video-vmware_package() { - depends="xserver-abi-video>=13<14 mesa-vmwgfx-dri" + depends="xserver-abi-video-14_1 mesa-vmwgfx-dri" pkg_install() { vmove all } From b03fe59370b0ef22259f1bac4ceb51c214589024 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 09:45:26 +0200 Subject: [PATCH 12/15] xf86-input-vmmouse: needs pkg-config to build. --- srcpkgs/xf86-input-vmmouse/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/xf86-input-vmmouse/template b/srcpkgs/xf86-input-vmmouse/template index b4f90973d02..5035b319c9f 100644 --- a/srcpkgs/xf86-input-vmmouse/template +++ b/srcpkgs/xf86-input-vmmouse/template @@ -3,6 +3,7 @@ pkgname=xf86-input-vmmouse version=13.0.0 revision=2 build_style=gnu-configure +hostmakedepends="pkg-config" makedepends="xorg-server-devel>=1.14" short_desc="Xorg VMware virtual mouse input driver" maintainer="Juan RP " From b39d1ce0412a3b496c1694771d3e2f4ff1f2b23e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 10:12:05 +0200 Subject: [PATCH 13/15] xbps: add patch from git master to fix a regression. --- ...te-for-conflicting-pkg-is-in-the-tra.patch | 77 +++++++++++++++++++ srcpkgs/xbps/template | 2 +- 2 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/xbps/patches/0001-Check-if-an-update-for-conflicting-pkg-is-in-the-tra.patch diff --git a/srcpkgs/xbps/patches/0001-Check-if-an-update-for-conflicting-pkg-is-in-the-tra.patch b/srcpkgs/xbps/patches/0001-Check-if-an-update-for-conflicting-pkg-is-in-the-tra.patch new file mode 100644 index 00000000000..6f2c15211b5 --- /dev/null +++ b/srcpkgs/xbps/patches/0001-Check-if-an-update-for-conflicting-pkg-is-in-the-tra.patch @@ -0,0 +1,77 @@ +From ecd15b7d57e1d271aa95581e97f1a6b11cd57235 Mon Sep 17 00:00:00 2001 +From: Juan RP +Date: Fri, 5 Jul 2013 10:09:32 +0200 +Subject: [PATCH] Check if an update for conflicting pkg is in the transaction + for revdeps in vpkgs. + +--- + NEWS | 3 +++ + lib/transaction_revdeps.c | 21 +++++++++++++++++++-- + 2 files changed, 22 insertions(+), 2 deletions(-) + +diff --git a/NEWS b/NEWS +index ec6f96c..024ef75 100644 +--- a/NEWS ++++ b/NEWS +@@ -1,5 +1,8 @@ + xbps-0.26 (???): + ++ * Do not abort transaction if updates for conflicting packages are in ++ the transaction due to checks of reverse dependencies in virtual packages. ++ + xbps-0.25 (2013-07-05): + + * Added support to validate reverse dependencies when updating packages. +diff --git a/lib/transaction_revdeps.c b/lib/transaction_revdeps.c +index 316d937..b21c5b5 100644 +--- lib/transaction_revdeps.c ++++ lib/transaction_revdeps.c +@@ -45,12 +45,13 @@ check_virtual_pkgs(struct xbps_handle *xhp, + xbps_dictionary_t trans_pkgd, + xbps_dictionary_t rev_pkgd) + { +- xbps_array_t provides, rundeps, mdeps; ++ xbps_array_t unsorted, provides, rundeps, mdeps; + const char *pkgver, *revpkgver, *pkgpattern; +- char *pkgname, *vpkgname, *vpkgver, *str; ++ char *pkgname, *pkgdepname, *vpkgname, *vpkgver, *str; + unsigned int i, x; + bool matched = false; + ++ unsorted = xbps_dictionary_get(xhp->transd, "unsorted_deps"); + provides = xbps_dictionary_get(trans_pkgd, "provides"); + for (i = 0; i < xbps_array_count(provides); i++) { + char *tmp = NULL; +@@ -77,6 +78,21 @@ check_virtual_pkgs(struct xbps_handle *xhp, + if (xbps_pkgpattern_match(vpkgver, pkgpattern)) + continue; + ++ /* ++ * Installed package conflicts with package ++ * in transaction being updated, check ++ * if a new version of this conflicting package ++ * is in the transaction. ++ */ ++ xbps_dictionary_get_cstring_nocopy(trans_pkgd, "pkgver", &pkgver); ++ pkgdepname = xbps_pkg_name(pkgver); ++ assert(pkgdepname); ++ if (xbps_find_pkg_in_array(unsorted, pkgdepname)) { ++ free(pkgdepname); ++ continue; ++ } ++ free(pkgdepname); ++ + mdeps = xbps_dictionary_get(xhp->transd, "missing_deps"); + xbps_dictionary_get_cstring_nocopy(trans_pkgd, "pkgver", &pkgver); + xbps_dictionary_get_cstring_nocopy(rev_pkgd, "pkgver", &revpkgver); +@@ -87,6 +103,7 @@ check_virtual_pkgs(struct xbps_handle *xhp, + free(str); + matched = true; + } ++ free(vpkgname); + free(vpkgver); + } + return matched; +-- +1.8.3 + diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index e79474d5195..9b37e3fb916 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -1,7 +1,7 @@ # Template file for 'xbps' pkgname=xbps version=0.25 -revision=1 +revision=2 build_style=configure configure_args="--prefix=/usr --sysconfdir=/etc --enable-static --enable-debug --enable-tests" hostmakedepends="which pkg-config" From dab4f5a08a3e3006fcaf021eb18fe7c99bf30d72 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 10:12:25 +0200 Subject: [PATCH 14/15] xbps-git: revbump++ due to a regression fix. --- srcpkgs/xbps-git/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/xbps-git/template b/srcpkgs/xbps-git/template index 90a241d8fbc..caee63204dc 100644 --- a/srcpkgs/xbps-git/template +++ b/srcpkgs/xbps-git/template @@ -1,7 +1,7 @@ # Template file for 'xbps-git' pkgname=xbps-git version=20130705 -revision=1 +revision=2 build_style=configure configure_args="--prefix=/usr --sysconfdir=/etc --enable-static --enable-debug --enable-tests" short_desc="The XBPS package system (development branch)" From c53e4c10dc52a8007fe0dc1152d134aaa7b1832b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 5 Jul 2013 10:13:53 +0200 Subject: [PATCH 15/15] xbps: fix patch. --- ...n-update-for-conflicting-pkg-is-in-the-tra.patch | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/srcpkgs/xbps/patches/0001-Check-if-an-update-for-conflicting-pkg-is-in-the-tra.patch b/srcpkgs/xbps/patches/0001-Check-if-an-update-for-conflicting-pkg-is-in-the-tra.patch index 6f2c15211b5..684c6e40ad0 100644 --- a/srcpkgs/xbps/patches/0001-Check-if-an-update-for-conflicting-pkg-is-in-the-tra.patch +++ b/srcpkgs/xbps/patches/0001-Check-if-an-update-for-conflicting-pkg-is-in-the-tra.patch @@ -9,19 +9,6 @@ Subject: [PATCH] Check if an update for conflicting pkg is in the transaction lib/transaction_revdeps.c | 21 +++++++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) -diff --git a/NEWS b/NEWS -index ec6f96c..024ef75 100644 ---- a/NEWS -+++ b/NEWS -@@ -1,5 +1,8 @@ - xbps-0.26 (???): - -+ * Do not abort transaction if updates for conflicting packages are in -+ the transaction due to checks of reverse dependencies in virtual packages. -+ - xbps-0.25 (2013-07-05): - - * Added support to validate reverse dependencies when updating packages. diff --git a/lib/transaction_revdeps.c b/lib/transaction_revdeps.c index 316d937..b21c5b5 100644 --- lib/transaction_revdeps.c