--- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/libxvmc/xf86dri.c +++ xserver-xorg-video-openchrome-0.2.904+svn1050/libxvmc/xf86dri.c @@ -42,6 +42,7 @@ #include #include #include "xf86dristr.h" +#include static XExtensionInfo _xf86dri_info_data; static XExtensionInfo *xf86dri_info = &_xf86dri_info_data; @@ -203,7 +204,11 @@ } #endif if (rep.length) { - if (!(*busIdString = (char *)Xcalloc(rep.busIdStringLength + 1, 1))) { + if (rep.busIdStringLength < INT_MAX) + *busIdString = Xcalloc(rep.busIdStringLength + 1, 1); + else + *busIdString = NULL; + if (*busIdString == NULL) { _XEatData(dpy, ((rep.busIdStringLength + 3) & ~3)); UnlockDisplay(dpy); SyncHandle(); @@ -309,8 +314,11 @@ *ddxDriverPatchVersion = rep.ddxDriverPatchVersion; if (rep.length) { - if (!(*clientDriverName = - (char *)Xcalloc(rep.clientDriverNameLength + 1, 1))) { + if (rep.clientDriverNameLength < INT_MAX) + *clientDriverName = Xcalloc(rep.clientDriverNameLength + 1, 1); + else + *clientDriverName = NULL; + if (*clientDriverName == NULL) { _XEatData(dpy, ((rep.clientDriverNameLength + 3) & ~3)); UnlockDisplay(dpy); SyncHandle(); --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/changelog +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/changelog @@ -0,0 +1,397 @@ +xserver-xorg-video-openchrome (1:0.2.904+svn1050-1ubuntu0.1) precise-security; urgency=low + + * SECURITY UPDATE: denial of service and possible code execution via + incorrect memory size calculations + - 68bf50ce4903ec93da59cea78e063ed7c3882d3e + - db309e3cd87a1279e8b592a692390755c528de4f + - CVE-2013-1994 + + -- Marc Deslauriers Tue, 28 May 2013 14:40:13 -0400 + +xserver-xorg-video-openchrome (1:0.2.904+svn1050-1) unstable; urgency=low + + * New upstream snapshot + + 921: Fix XAA displaying issues + + 922: Fix cursor garbare after suspend/hibernate/resume + on VX855/VX900 chipsets #405 + + 923: Revert r922 changes (it added I420 support) + + 924: Fix cursor garbage after suspen/resume for VX855 and VX900 (#405) + + 925: Workaround EXA crash with new libcairo2 (#298) + + 933: MSI PM9M-V (reported by Florin Rentea) + + 1014: Hewlett Packard DX2020 + + 1037: ASRock PV530 + + 1050: Handle X server 1.12 (videoabi 12) (patch from Adam Jackson) + + -- Julien Viard de Galbert Sun, 12 Feb 2012 20:19:22 +0100 + +xserver-xorg-video-openchrome (1:0.2.904+svn920-1) unstable; urgency=low + + * New upstream snapshot + + 919: Sharp Mebius PC-CS30H + + 920: Fix Xvideo crash on X.Org server 1.10 + * Update standards version, no changes required + + -- Julien Viard de Galbert Wed, 04 May 2011 22:44:26 +0200 + +xserver-xorg-video-openchrome (1:0.2.904+svn918-1) unstable; urgency=low + + * New upstream snapshot + + 917: Add HP t5550 Thin Client support (thanks to dna67) + + 918: Fix resolution detection for OLPC 1.5 + * Fix build on hurd-i386, thanks Samuel Thibault. (Closes: #619863) + + -- Julien Viard de Galbert Wed, 30 Mar 2011 17:17:32 +0200 + +xserver-xorg-video-openchrome (1:0.2.904+svn916-3) unstable; urgency=low + + * Wrap Depends for debug package also + + -- Julien Viard de Galbert Tue, 08 Mar 2011 17:19:15 +0100 + +xserver-xorg-video-openchrome (1:0.2.904+svn916-2) experimental; urgency=low + + [ Julien Viard de Galbert ] + * Adding debug package + * Removed the dummy transitional package -via + + [ Cyril Brulebois ] + * Add DM-Upload-Allowed: yes, Julien is doing a good job, let's allow + him to perform uploads. + + -- Cyril Brulebois Fri, 25 Feb 2011 16:28:22 +0100 + +xserver-xorg-video-openchrome (1:0.2.904+svn916-1) unstable; urgency=low + + * New upstream snapshot + + 904: FIC CE2A1 + + 905: MSI PM8M-V + + 906: Use DRICreatePCIBusID when available to create Bus ID string + + 907: Restore video interrupt flag + + 908: Fix hardware cursor for VX900 + + 909: Fix OpenGL application crash on VX900 chipset + + 912: Lenovo ThinkCenter E51 8714 (reported by José Jorge) + + 913: Fix VIA VB8001 Mini-ITX Board (P4M900) support + + 914: Add suport for Semp Informática Notebook IS 1462 (reported by Colin) + + 915: Fix #395 - revert ViaPanelGetSizeFromDDC renaming + thanks to Selim T. Erdogan (Closes: #614022) + + 916: Add workaround for #177 ticket + + -- Julien Viard de Galbert Mon, 21 Feb 2011 12:33:59 +0100 + +xserver-xorg-video-openchrome (1:0.2.904+svn891-1) unstable; urgency=low + + [ Julien Viard de Galbert ] + * New upstream snapshot + + 859: Fix several typo in code comments + + 860: Siragon ML-6200 laptop support + + 861: update VX855 FIFO + + 862: Fix bug #342 with TV out flickering (Closes: #564688) + + 873: Replace the deprecated functions with new ones + Refer to "/xserver/include/os.h" + + 874: Replace remaining xalloc to malloc + + 878: Change maximum line pitch and virtual height according to chipset + + 883: Update 1024x600 modeline + + 884: Add workaround for memory autodetection + + 887: Enable new mode switch and panel support on K8M800 and VM800 + + 888: Merge VX900 branch to add basic VX900 support + + 889: fix a typo and add a FIXME following the VX900 merge + + 890: add VX900 to man page + + 891: Fix type in VIASave + + [ Cyril Brulebois ] + * Switch to dh: + - Use debhelper 8. + - Use dh-autoreconf. + - Bump xserver-xorg-dev build-dep for dh_xsf_substvars and xsf + debhelper sequence. + - Use a .install to install everything in the first package. + - Use debian/xserver-xorg-video-openchrome.lintian-overrides instead + of manually installing debian/overrides. dh_lintian is our friend. + - Use a .docs to get NEWS installed. + * Remove xsfbs accordingly. + * Remove long obsolete Replaces/Conflicts. + * Wrap Depends/Provides. + + -- Cyril Brulebois Sat, 05 Feb 2011 14:53:15 +0100 + +xserver-xorg-video-openchrome (1:0.2.904+svn858-1) experimental; urgency=low + + [ Julien Viard de Galbert ] + * New upstream snapshot + + 843: Fix DFP parameter description for the ActiveDevice option + + 845: set colorkey for 2nd_monitor + + 846: XVideo support for VX855 + + 853: Revert 2 changes that should not have gone into rev 846 + + 848: Improve 2d performance on chipsets without AGP/PCIe + + 849: Add option I2CDevices + + 850: Disable Hardware Clipping for the VX855 + + 851: Re-Enable the VQ for VX800/VX855 + + 852: Disable AGP and DMA by default for VX800 and VX855 + + 854: Fixed freeze on 64bit system for K8M090 chipset + + 855: Increase bandwidth to handle 1920x1200 resolution with DDR266 + + 856: Fix XV crash on PM800 post VX855 rework + + 857: ECS P4M800PRO-M2 (V2.0) - reported by Jandré le Roux + + 858: fix typo in r857 + + [ Cyril Brulebois ] + * Build against Xserver 1.9.1 rc1. + * Add myself to Uploaders. + + -- Cyril Brulebois Tue, 09 Nov 2010 17:08:35 +0100 + +xserver-xorg-video-openchrome (1:0.2.904+svn842-2) unstable; urgency=high + + * Cherry-pick r854 to fix initialization issues on amd64 introduced in + r830, leading to system freeze (Closes: #597379). Many thanks to + Nethanel Elzas for the actual testing. + * Set urgency to “high” accordingly. + * Add myself to Uploaders. + + -- Cyril Brulebois Thu, 30 Sep 2010 18:11:53 +0200 + +xserver-xorg-video-openchrome (1:0.2.904+svn842-1) unstable; urgency=low + + * New upstream snapshot + + 829: FIC PTM800Pro LF + + 837: MSI K8M890M2-V + + 838: Fix bug with suspend and VT switch on VX800 chipset on 64bit sys + + 840: Fix segfaults with EXA and XV + + [ Timo Aaltonen ] + * Build against Xserver 1.7. + * Remove 01_gen_pci_ids.diff. The X server now uses an internal table to + choose a driver during autoconfiguration. + + [ Julien Cristau ] + * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no + good reason. Thanks, Colin Watson! + + [ Raphael Geissert ] + * Manpage typos patch merged upstream + * Fix watch file not to accept 'latest' as upstream version + + [ Christopher James Halse Rogers ] + * Update xsfbs to fix build against xserver-xorg >= 1.7.6.901-1 and use new + substvars in debian/control. + + [ Julien Viard de Galbert ] + * New maintainer (Closes: #583501) + * Update standards version, no changes required + + -- Julien Cristau Sat, 04 Sep 2010 22:36:13 +0200 + +xserver-xorg-video-openchrome (1:0.2.904+svn827-1) unstable; urgency=low + + * New upstream snapshot + + 816: OLPC XO 1.5 + + 817: Add panel scale support for CLE266 and KM400 + + 818: Enabled new mode switch for PM800 chipset, + + 819: Add option to enable unaccelerated RandR rotation ("SWRandR") + + 820: Enable new mode switch for VM800 chipsets + + 827: Twinhead K15V + * Fix some typos in the man page + * Update xsfbs to latest version + + -- Raphael Geissert Tue, 12 Jan 2010 02:13:51 -0600 + +xserver-xorg-video-openchrome (1:0.2.904+svn812-1) unstable; urgency=low + + * New upstream release + snapshot + + 742: VX800 integrated TMDS support + + 748: MSI P4M900M3-L + + 753: fix a segfault on shutdown when there's no Xv + + 755: Sharp PC-AE30J + + 768: Add rotate upside-down + + 775: Add support of the VIA Openbook + + 778: Haier A60-440256080BD (actually an ECS mobo) + + 779: Lenovo S12 + + 784: ECS P4M890T-M v2.0 + + 794: Packard Bell Lima (ASUS MBP5VDZ-NVM) + + 801: Twinhead H12V (P4M900) + + 807: ModeSwitchMethod option + + 812: Guillemot-Hercules ECafe EC900B + + VX855 support + + Multiple panel autodetection issues + * Change my email address and drop DM-U-A field + * Bump standards-version, no change needed + + -- Raphael Geissert Mon, 23 Nov 2009 23:04:04 -0600 + +xserver-xorg-video-openchrome (1:0.2.903+svn741-1) unstable; urgency=low + + * New upstream snapshot + + 709: hwcursor improvements and bug fixes (Closes: #496922) + + 716: fix 2d initialization for P4M900 + + 726: Fall back to software rendering for unsupported EXA repeat modes + + 734: Initialize CRTC before a mode switch + + 737: Samsung NC20 + + 739: Fix 2D engine init + + 740: CX700 integrated TMDS + + 741: Foxconn P4M800P7MB-RS2H + * debian/copyright updated to add details about a new copyright holder + * debian/control: bump standards version, no change needed + + -- Raphael Geissert Sun, 29 Mar 2009 13:39:13 -0600 + +xserver-xorg-video-openchrome (1:0.2.903+svn713-1) experimental; urgency=low + + * New upstream snapshot + + 682-685: Initial VX800 chipsets support + + 708: Initial XVideo support + + 682: via_cursor.c: register corrections + + 686: Mitac 8624, but with a P4M890 + + 687: VIA Epia M700 + + 688: Hide overlay when video is invisible + + 690: Axper XP-M8VM800 + + 693: Added more needed panel modes + + 694: XvMC Unichrome Pro allocation fixes (LP: #304119) + + 696: Fixed Crash worked around by XaaNoImageWriteRect (LP: #274340) + + 713: Twinhead M6 + * vt_fix.patch: removed, different solution by upstream in r695 + * disable_ARGB_cursor_VM800.patch: removed, no longer needed + + -- Raphael Geissert Fri, 09 Jan 2009 19:11:40 -0600 + +xserver-xorg-video-openchrome (1:0.2.902+svn579-4) unstable; urgency=low + + [ Raphael Geissert ] + * New upstream release + snapshot. + + 584: Simplified memory bandwidth setting. + + 591: IBM AnyPlace Kiosk 3xx. + + 592: Added missing 640x480 PAL mode for VT1625. + + 593-4: Merged randr branch. + + 595: Disabled ARGB cursor for K8M890. + + 597: VIA VT8454B has a panel. + + 598: MSI K8M Neo-V (broken pci id). + * disable_ARGB_cursor_VM800.patch: like r595 but for VM800. + * vt_fix.patch (Closes: #500253): + + prevent LCD's backlight from being switched off when changing VTs. + * debian/control: + + Build a dummy xserver-xorg-video-via package to ease the transition. + + Added lpia to the architectures list. + + [ Julien Cristau ] + * Add DM-Upload-Allowed control field to let Raphael upload this package + himself. + + -- Raphael Geissert Sun, 19 Oct 2008 16:12:32 +0200 + +xserver-xorg-video-openchrome (1:0.2.902+svn579-3) experimental; urgency=low + + * Build against xserver 1.5. + + -- Raphael Geissert Wed, 17 Dec 2008 14:55:38 +0100 + +xserver-xorg-video-openchrome (1:0.2.902+svn579-2) unstable; urgency=low + + [ Raphael Geissert ] + * Cherry-picked the following changesets adding support for new cards: + + 580: MSI VR321 + + 583: Foxconn P4M9007MB-8RS2H + + 586: MSI K9MM-V + + 589: Gigabyte M704 / RoverPC A700GQ + + 581: ECS CLE266 + + -- Julien Cristau Sun, 14 Sep 2008 17:52:58 +0200 + +xserver-xorg-video-openchrome (1:0.2.902+svn579-1) unstable; urgency=low + + [ Timo Aaltonen ] + * debian/patches/01_gen_pci_ids.diff: + - This patch adds a list of pci id's that the driver supports so that + the server can automatically load it. Stolen from via. (Closes: #487327) + * debian/control: + - Add quilt to build-deps. + * debian/rules: + - Support for patches. + + [ Raphael Geissert ] + * New upstream snapshot. + + Fixes some Xv issues. + + Disables XvDMA for P4M890 and K8M890, as it is broken. + + Enables CLE video engine on VM800/CN700. + * Bump Standards-Version to 3.8.0 + + Use filter instead of findstring for DEB_BUILD_OPTIONS parsing in d/rules + * Stripped enclosing chevrons from the unichrome link (Closes: #485957) + - p.d.o displays the link with or without them, and looks ugly + * Removed a useless lintian override + * Install a symlink to xserver-xorg-core's bugreport script + + -- Julien Cristau Sat, 12 Jul 2008 21:29:00 +0200 + +xserver-xorg-video-openchrome (1:0.2.902+svn570-1) unstable; urgency=low + + * First upload to Debian (Closes: #464848) + * New upstream release + snapshot + * Updated copyright information + * Conflicts: libchromexvmc1, libchromexvmcpro1 so Replaces takes + effect + + -- Raphael Geissert Sat, 19 Apr 2008 19:51:43 -0500 + +xserver-xorg-video-openchrome (1:0.2.901+svn502-1) experimental; urgency=low + + * New upstream release + + -- Raphael Geissert Mon, 14 Jan 2008 17:55:56 -0600 + +xserver-xorg-video-openchrome (1:0.2.901+svn491-1) experimental; urgency=low + + * New upstream release + * Merged binary packages (merged overrides/*, *.install, and added Provides) + * Added epoch because of ubuntu's epoch addition + * debian/rules: set the correct Provides of -video and Depends on -core + Code taken from xserver-xorg-video-via-0.2.2's debian/xsfbs/xsfbs.mk + * debian/{rules,control}: rewritten so cdbs is NOT used + * Bumped DH_COMPAT to 6 + * debian/control: Added Vcs-* entries + * debian/control: Do not conflict with xserver-xorg-video-{via,unichrome} + The driver is for some time now called 'openchrome' + + -- Raphael Geissert Mon, 14 Jan 2008 17:12:00 -0600 + +xserver-xorg-video-openchrome (0.2.900+svn470-1) experimental; urgency=low + + * New upstream release + + -- Raphael Geissert Sat, 22 Dec 2007 12:33:17 -0600 + +xserver-xorg-video-openchrome (0.2.900+svn452-1) experimental; urgency=low + + * New upstream release + * clean target now removes some autogen.sh generated files + * Updated to Standards-Version: 3.7.3, no change needed + * Removed non-standard architecture lpia from control + + -- Raphael Geissert Sun, 09 Dec 2007 20:28:46 -0600 + +xserver-xorg-video-openchrome (0.2.900+svn447-1) experimental; urgency=low + + * New upstream release + + -- Raphael Geissert Sun, 25 Nov 2007 20:31:08 -0600 + +xserver-xorg-video-openchrome (0.2.900+svn423-1) experimental; urgency=low + + * New upstream release + + -- Raphael Geissert Sun, 28 Oct 2007 19:51:44 -0600 + +xserver-xorg-video-openchrome (0.2.6+svn357-0ubuntu3) gutsy; urgency=low + + * Add lpia to all binary packages. + + -- Mario Limonciello Thu, 06 Sep 2007 09:59:20 -0500 + +xserver-xorg-video-openchrome (0.2.6+svn357-0ubuntu2) gutsy; urgency=low + + * Only build for i386, amd64, lpia. Hardware isn't available + on sparc, ppc, ia64, and FTBFS on these arch anyhow. + + -- Mario Limonciello Thu, 06 Sep 2007 09:51:48 -0500 + +xserver-xorg-video-openchrome (0.2.6+svn357-0ubuntu1) gutsy; urgency=low + + * Initial Release. + + -- Mario Limonciello Fri, 27 Jul 2007 17:57:42 -0500 --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/xserver-xorg-video-openchrome.install +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/xserver-xorg-video-openchrome.install @@ -0,0 +1,3 @@ +usr/lib/xorg/modules/drivers/*.so +usr/lib/libchromeXvMC* +usr/share/man --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/compat +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/compat @@ -0,0 +1 @@ +8 --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/xserver-xorg-video-openchrome.docs +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/xserver-xorg-video-openchrome.docs @@ -0,0 +1 @@ +NEWS --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/rules +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +DEB_CONFIGURE_EXTRA_FLAGS := \ + --disable-maintainer-mode \ + --disable-dependency-tracking + +ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS))) +DEB_CONFIGURE_EXTRA_FLAGS += \ + --enable-debug=yes \ + --enable-xv-debug=yes +endif + +# Configuration: +override_dh_auto_configure: + dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS) + +# Install in debian/tmp to retain control through dh_install: +override_dh_auto_install: + dh_auto_install --destdir=debian/tmp + +# Kill *.la files, and forget no-one: +override_dh_install: + find debian/tmp -name '*.la' -delete + dh_install --fail-missing + +# That's a plugin, use appropriate warning level: +override_dh_shlibdeps: + dh_shlibdeps -- --warnings=6 + +override_dh_strip: + dh_strip --dbg-package=xserver-xorg-video-openchrome-dbg + +%: + dh $@ --with quilt,autoreconf,xsf --builddirectory=build/ --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/watch +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://www.openchrome.org/releases/xf86-video-openchrome-(\d.*)\.tar\.gz --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/xserver-xorg-video-openchrome.lintian-overrides +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/xserver-xorg-video-openchrome.lintian-overrides @@ -0,0 +1,5 @@ +xserver-xorg-video-openchrome: non-dev-pkg-with-shlib-symlink usr/lib/libchromeXvMCPro.so.1.0.0 usr/lib/libchromeXvMCPro.so +xserver-xorg-video-openchrome: non-dev-pkg-with-shlib-symlink usr/lib/libchromeXvMC.so.1.0.0 usr/lib/libchromeXvMC.so +xserver-xorg-video-openchrome: package-name-doesnt-match-sonames libchromeXvMC1 libchromeXvMCPro1 +xserver-xorg-video-openchrome: no-symbols-control-file usr/lib/libchromeXvMCPro.so.1.0.0 +xserver-xorg-video-openchrome: no-symbols-control-file usr/lib/libchromeXvMC.so.1.0.0 --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/README.VCS-source +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/README.VCS-source @@ -0,0 +1,82 @@ +----------------------------------------- +Guide to preparing your working directory +----------------------------------------- + +Debian X Strike Force team maintains packages in git repositories, +openchrome upstream maintains the code in subversion. This will show how to +setup git-svn to work on xserver-xorg-video-openchrome and fetch new +revisions from upstream. + +1. Clone the debian package repository: + (if you have access to it you can clone with ssh too.) + +git clone git://git.debian.org/pkg-xorg/driver/xserver-xorg-video-openchrome.git + +2. Enter the newly created directory before continuing. + +cd xserver-xorg-video-openchrome + +3. Setup the subversion tracking for openchrome trunk + (if you need the branches and tags, then replace "-T trunk" by "--stdlayout") + +git svn init http://svn.openchrome.org/svn/ -T trunk + +4. *Optional step* speed-up the svn fetch by updating manually the trunk's + remote reference. + - Find latest svn commit in history (I did it graphically) + +gitk --all & + + - Change the trunk's remote reference: + +git update-ref refs/remotes/trunk + +5. Fetch subversion history + +git svn fetch + + Note: for some reason git-svn will create a master branch if none existed, + it can be ignored, only the refs/remotes/trunk is important. + +-------------------- +Building the package +-------------------- + +With the workdir prepared as explained above, all you need to build the package +is to run git-buildpackage. The configuration file in debian/gbp.conf already +takes cake of setting the needed options. + +Warning: the debian/gbp.conf file is different in debian-unstable and +debian-experimental, as it contains the name of those branches and the +corresponding upstream-* branch. So one must take care of this when merging +changes between those two branches. + +---------------------- +Updating from upstream +---------------------- + +New upstream revisions are fetched with git-svn [1] then the changes are +merged to one of the upstream-* branches with git [2]. Then the regular +git usage to merge to the debian-* branches can be used. However the package +is configured to use pristine-tar by default, so in order to compile your +newly fetched version with git-buildpackage you will have to disable it [3]. + +1: git svn fetch +2: git merge trunk +3: git-buildpackage --git-no-pristine-tar + +Once the package is ready, before uploading to the archive, the pristine-tar +branch should be updated, simply use the 'pristine-tar commit' command to add +the tarball git-buildpackage generated to the git repository. +For example if you're updating a version targeting unstable, the command would +be as follows [4]: + +4: pristine-tar commit ../xserver-xorg-video-openchrome_*.orig.tar.gz upstream-unstable + +This step is required so that next debian version of the same upstream version +can be generated by other developers without the need to retrieve the original +tarball from the archive or from snapshot.debian.org but simply by using the +git repository. +Note: When the revision matches an upstream release, it would be appreciated to +use the official release tarball instead, if possible. + --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/copyright +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/copyright @@ -0,0 +1,65 @@ +This package was debianized by Mario Limonciello on +Tue, 27 July 2007 16:41:23 -0500 + +This original source for this package was obtained via the upstream +svn branch at http://svn.openchrome.org/svn/trunk + +Copyright (c) 1998-1999 Precision Insight, Inc., Cedar Park, Texas. +Copyright (c) 2000 VA Linux Systems, Inc. +Copyright (c) 1998-2003 VIA Technologies, Inc. All Rights Reserved. +Copyright (c) 2000 Intel Corporation. All rights reserved. +Copyright (c) 2001-2003 S3 Graphics, Inc. All Rights Reserved. +Copyright (c) 2003 Red Hat, Inc. All Rights Reserved. +Copyright (c) 2004-2005 The Unichrome Project. All rights reserved. +Copyright (c) 2004-2006 Andreas Robinson. All Rights Reserved. +Copyright (c) 2004-2006 Bernhard Rosenkraenzer. All Rights Reserved. +Copyright (c) 2004-2006 Ivor Hewitt. All Rights Reserved. +Copyright (c) 2004-2006 Luc Verhaegen. All Rights Reserved. +Copyright (c) 2004-2006 Terry Barnaby. All Rights Reserved. +Copyright (c) 2004-2006 Thomas Hellstrom. All Rights Reserved. +Copyright (c) 2005-2008 The Openchrome Project [openchrome.org] +Copyright (c) 2007-2008 Gabriel Mansi. + +Driver (upstream) License: +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sub license, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice (including the +next paragraph) shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + +Packaging License: + This packaging is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This packaging is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, a complete copy of the GPL can be found under +/usr/share/common-licenses/GPL-3 + +The Debian packaging is Copyright 2010- by Julien Viard de Galbert +based on Copyright 2007-2008 by Raphael Geissert +based on the work © 2007 by Mario Limonciello which was +based upon the work by Eric Work and is licensed +under the GPL. --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/README.source +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/README.source @@ -0,0 +1,55 @@ +xserver-xorg-video-openchrome packages are not based on openchrome release +tarballs but on openchrome subversion repository. + +Refer to the README.VCS-source file for details on how to setup git and +git svn to fetch from both git.debian.org and svn.openchrome.org + +------------------------------------------------------ +Quick Guide To Patching This Package For The Impatient +------------------------------------------------------ + +1. Make sure you have quilt installed +2. Unpack the package as usual with "dpkg-source -x" +3. Run the "patch" target in debian/rules +4. Create a new patch with "quilt new" (see quilt(1)) +5. Edit all the files you want to include in the patch with "quilt edit" + (see quilt(1)). +6. Write the patch with "quilt refresh" (see quilt(1)) +7. Run the "clean" target in debian/rules + +Alternatively, instead of using quilt directly, you can drop the patch in to +debian/patches and add the name of the patch to debian/patches/series. + +------------------------------------ +Guide To The X Strike Force Packages +------------------------------------ + +The X Strike Force team maintains X packages in git repositories on +git.debian.org in the pkg-xorg subdirectory. Most upstream packages +are actually maintained in git repositories as well, so they often +just need to be pulled into git.debian.org in a "upstream-*" branch. +Otherwise, the upstream sources are manually installed in the Debian +git repository. + +The .orig.tar.gz upstream source file could be generated using this +"upstream-*" branch in the Debian git repository but it is actually +copied from upstream tarballs directly. + +Due to X.org being highly modular, packaging all X.org applications +as their own independent packages would have created too many Debian +packages. For this reason, some X.org applications have been grouped +into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils, +x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils. +Most packages, including the X.org server itself and all libraries +and drivers are, however maintained independently. + +The Debian packaging is added by creating the "debian-*" git branch +which contains the aforementioned "upstream-*" branch plus the debian/ +repository files. +When a patch has to be applied to the Debian package, two solutions +are involved: +* If the patch is available in one of the upstream branches, it + may be git'cherry-picked into the Debian repository. In this + case, it appears directly in the .diff.gz. +* Otherwise, the patch is added to debian/patches/ which is managed + with quilt as documented in /usr/share/doc/quilt/README.source. --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/links +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/links @@ -0,0 +1 @@ +usr/share/bug/xserver-xorg-core/script usr/share/bug/xserver-xorg-video-openchrome/script \ No newline at end of file --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/xserver-xorg-video-openchrome.install.hurd-i386 +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/xserver-xorg-video-openchrome.install.hurd-i386 @@ -0,0 +1,2 @@ +usr/lib/xorg/modules/drivers/*.so +usr/share/man --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/gbp.conf +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/gbp.conf @@ -0,0 +1,9 @@ +[DEFAULT] +# the default branch for upstream sources +upstream-branch=upstream-unstable +# the default branch for the debian patch +debian-branch=debian-unstable +# enable pristine-tar support +pristine-tar=true +# where to find upstream sources when updating from upstream +upstream-tree=branch --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/control +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/control @@ -0,0 +1,75 @@ +Source: xserver-xorg-video-openchrome +Section: x11 +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian X Strike Force +Uploaders: Julien Viard de Galbert , Cyril Brulebois +DM-Upload-Allowed: yes +Build-Depends: + debhelper (>= 8), + dh-autoreconf, + pkg-config, + xserver-xorg-dev (>= 2:1.9.4), + x11proto-core-dev, + x11proto-fonts-dev, + x11proto-randr-dev, + x11proto-render-dev, + x11proto-xext-dev, + x11proto-xf86dri-dev, + x11proto-video-dev, + x11proto-gl-dev, + libdrm-dev (>> 2.0), + libx11-dev, + libgl1-mesa-dev | libgl1-dev, + libxvmc-dev, + quilt +Build-Conflicts: autoconf2.13 +Standards-Version: 3.9.2 +Homepage: http://www.openchrome.org +Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-video-openchrome +Vcs-Browser: http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-video-openchrome.git + +Package: xserver-xorg-video-openchrome +Architecture: i386 amd64 hurd-i386 kfreebsd-i386 kfreebsd-amd64 lpia +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + ${xviddriver:Depends}, +Provides: + ${xviddriver:Provides} +Description: X.Org X server -- VIA display driver + OpenChrome is a project for the development of free and open-source drivers + for the VIA UniChrome video chipsets. + . + Originally called the 'snapshot' release, since it was a snapshot of an + experimental branch of the unichrome cvs code, this is a continued development + of the open source unichrome driver (from http://unichrome.sf.net) which + also incorporates support for the unichrome-pro chipsets. + . + Support for hardware acceleration (XvMC) for all chipsets has subsequently + been ripped out of the unichrome.sf.net driver. Therefore your only option if + you wish to make use of the acceleration features of your VIA chip with free + and open-source drivers is to use this version of the driver. + +Package: xserver-xorg-video-openchrome-dbg +Architecture: i386 amd64 hurd-i386 kfreebsd-i386 kfreebsd-amd64 lpia +Section: debug +Priority: extra +Depends: + xserver-xorg-video-openchrome (= ${binary:Version}), + ${misc:Depends} +Description: X.Org X server -- VIA display driver -- debugging symbols + OpenChrome is a project for the development of free and open-source drivers + for the VIA UniChrome video chipsets. + . + Originally called the 'snapshot' release, since it was a snapshot of an + experimental branch of the unichrome cvs code, this is a continued development + of the open source unichrome driver (from http://unichrome.sf.net) which + also incorporates support for the unichrome-pro chipsets. + . + Support for hardware acceleration (XvMC) for all chipsets has subsequently + been ripped out of the unichrome.sf.net driver. Therefore your only option if + you wish to make use of the acceleration features of your VIA chip with free + and open-source drivers is to use this version of the driver. + . + This package contains debugging symbols for OpenChrome driver. --- xserver-xorg-video-openchrome-0.2.904+svn1050.orig/debian/patches/series +++ xserver-xorg-video-openchrome-0.2.904+svn1050/debian/patches/series @@ -0,0 +1 @@ +# placeholder