--- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/prepare-ChangeLogSVN.pl +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/prepare-ChangeLogSVN.pl @@ -0,0 +1,603 @@ +#!/usr/bin/perl -w +# -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 2 -*- + +# Perl script to create a ChangeLog entry with names of files +# and functions from a svn diff. +# +# Darin Adler , started 20 April 2000 +# Java support added by Maciej Stachowiak +# Adapted for subversion by Thomas Hellstrom +# last updated 11 May 2005 +# +# (Someone put a license in here, like maybe GPL.) +# +# TODO: +# For new files, just say "New file" instead of listing +# function names. +# List functions that have been removed too. +# Decide what a good logical order is for the changed files +# other than a normal text "sort" (top level first?) +# (group directories?) (.h before .c?) +# Leave a diff file behind if asked, but in unified format. +# Handle C++ and yacc source files too (other languages?). +# Help merge when there are ChangeLog conflicts or if there's +# already a partly written ChangeLog entry. +# Add command line option to put the ChangeLog into a separate +# file or just spew it out stdout. +# Figure out how to allow -z options from .cvsrc to work without +# letting other bad options work. Currently the -f disables +# everything from the .cvsrc. +# Add CVS version numbers for each file too (can't do that until +# the changes are checked in, though). +# Work around diff stupidity where deleting a function that starts +# with a comment makes diff think that the following function +# has been changed (if the following function starts with a comment +# with the same first line, such as /**) +# Work around diff stupidity where deleting an entire function and +# the blank lines before it makes diff think you've changed the +# previous function. + +use diagnostics; +use strict; + +use English; +use Text::Wrap; + +# For each file, build a list of modified lines. +# Use line numbers from the "after" side of each diff. +print STDERR " Running svn diff to find changes.\n"; +my %changed_line_ranges; +my $file; +open DIFF, "svn diff --diff-cmd diff -x -N |" or die "The svn diff failed: $OS_ERROR.\n"; +while () + { + $file = $1 if /^Index: (\S+)$/; + if (defined $file + and $file ne "ChangeLog" + and (/^\d+(,\d+)?[acd](\d+)(,(\d+))?/ or /^Binary files/) ) + { + push @{$changed_line_ranges{$file}}, [ $2, $4 || $2 ]; + } + } +close DIFF; +if (!%changed_line_ranges) + { + print STDERR " No changes found.\n"; + exit; + } + +# For each ".c" file, convert line range to function list. +print STDERR " Extracting affected function names from C source files.\n"; +my %function_lists; +foreach my $file (keys %changed_line_ranges) + { + # An empty function list still indicates that something changed. + $function_lists{$file} = ""; + + # Only look for function names in .c files. + next unless $file =~ /\.(c|java)/; + + # Find all the functions in the file. + open SOURCE, $file or next; + my @function_ranges = get_function_line_ranges(\*SOURCE, $file); + close SOURCE; + + # Find all the modified functions. + my @functions; + my %saw_function; + my @change_ranges = (@{$changed_line_ranges{$file}}, []); + my @change_range = (0, 0); + FUNCTION: foreach my $function_range_ref (@function_ranges) + { + my @function_range = @$function_range_ref; + + # Advance to successive change ranges. + for (;; @change_range = @{shift @change_ranges}) + { + last FUNCTION unless @change_range; + + # If past this function, move on to the next one. + next FUNCTION if $change_range[0] > $function_range[1]; + + # If an overlap with this function range, record the function name. + if ($change_range[1] >= $function_range[0] + and $change_range[0] <= $function_range[1]) + { + if (!$saw_function{$function_range[2]}) + { + $saw_function{$function_range[2]} = 1; + push @functions, $function_range[2]; + } + next FUNCTION; + } + } + } + + # Format the list of functions now. + $function_lists{$file} = " (" . join("), (", @functions) . "):" if @functions; + } + +# Get some pieces of the ChangeLog we are about to write. +my $date = sprintf "%d-%02d-%02d", + 1900 + (localtime $BASETIME)[5], # year + 1 + (localtime $BASETIME)[4], # month + (localtime $BASETIME)[3]; # day within month +my $name = $ENV{CHANGE_LOG_NAME} + || $ENV{REAL_NAME} + || (getpwuid $REAL_USER_ID)[6] + || "set REAL_NAME environment variable"; +my $email_address = $ENV{CHANGE_LOG_EMAIL_ADDRESS} + || $ENV{EMAIL_ADDRESS} + || "set EMAIL_ADDRESS environment variable"; + +# Find the change logs. +my %has_log; +my %files; +foreach my $file (sort keys %function_lists) + { + my $prefix = $file; + my $has_log = 0; + while ($prefix) + { + $prefix =~ s-/[^/]+/?$-/- or $prefix = ""; + $has_log = $has_log{$prefix}; + if (!defined $has_log) + { + $has_log = -f "${prefix}ChangeLog"; + $has_log{$prefix} = $has_log; + } + last if $has_log; + } + if (!$has_log) + { + print STDERR "No ChangeLog found for $file.\n"; + } + else + { + push @{$files{$prefix}}, $file; + } + } + +# Get the latest ChangeLog files from svn. +my $logs = ""; +foreach my $prefix (sort keys %files) + { + $logs .= " ${prefix}ChangeLog"; + } +if ($logs) + { + print STDERR " Updating ChangeLog files from svn repository.\n"; + open ERRORS, "svn update$logs |" or die "The svn update of ChangeLog files failed: $OS_ERROR.\n"; + print STDERR " $ARG" while ; + close ERRORS; + } + + +# Write out a new ChangeLog file. +foreach my $prefix (sort keys %files) + { + print STDERR " Editing the ${prefix}ChangeLog file.\n"; + open OLD_CHANGE_LOG, "${prefix}ChangeLog" or die "Could not open ${prefix}ChangeLog file: $OS_ERROR.\n"; + # It's less efficient to read the whole thing into memory than it would be + # to read it while we prepend to it later, but I like doing this part first. + my @old_change_log = ; + close OLD_CHANGE_LOG; + open CHANGE_LOG, "> ${prefix}ChangeLog" or die "Could not write ${prefix}ChangeLog\n."; + print CHANGE_LOG "$date $name <$email_address>\n\n"; + print CHANGE_LOG "\treviewed by: \n\n"; + foreach my $file (sort @{$files{$prefix}}) + { + my $file_stem = substr $file, length $prefix; + my $lines = wrap("\t", "\t", "XX$file_stem:$function_lists{$file}"); + $lines =~ s/^\tXX/\t* /; + print CHANGE_LOG "$lines\n"; + } + print CHANGE_LOG "\n", @old_change_log; + close CHANGE_LOG; + print STDERR " Done editing ${prefix}ChangeLog.\n"; + } + +# Done. +exit; + +sub get_function_line_ranges + { + my ($file_handle, $file_name) = @_; + + if ($file_name =~ /\.c$/) { + return get_function_line_ranges_for_c ($file_handle, $file_name); + } elsif ($file_name =~ /\.java$/) { + return get_function_line_ranges_for_java ($file_handle, $file_name); + } + return (); + } + +# Read a file and get all the line ranges of the things that look like C functions. +# A function name is the last word before an open parenthesis before the outer +# level open brace. A function starts at the first character after the last close +# brace or semicolon before the function name and ends at the close brace. +# Comment handling is simple-minded but will work for all but pathological cases. +# +# Result is a list of triples: [ start_line, end_line, function_name ]. + +sub get_function_line_ranges_for_c + { + my ($file_handle, $file_name) = @_; + + my @ranges; + + my $in_comment = 0; + my $in_macro = 0; + my $in_parentheses = 0; + my $in_braces = 0; + + my $word = ""; + + my $potential_start = 0; + my $potential_name = ""; + + my $start = 0; + my $name = ""; + + while (<$file_handle>) + { + # Handle continued multi-line comment. + if ($in_comment) + { + next unless s-.*\*/--; + $in_comment = 0; + } + + # Handle continued macro. + if ($in_macro) + { + $in_macro = 0 unless /\\$/; + next; + } + + # Handle start of macro (or any preprocessor directive). + if (/^\s*\#/) + { + $in_macro = 1 if /^([^\\]|\\.)*\\$/; + next; + } + + # Handle comments and quoted text. + while (m-(/\*|//|\'|\")-) # \' and \" keep emacs perl mode happy + { + my $match = $1; + if ($match eq "/*") + { + if (!s-/\*.*?\*/--) + { + s-/\*.*--; + $in_comment = 1; + } + } + elsif ($match eq "//") + { + s-//.*--; + } + else # ' or " + { + if (!s-$match([^\\]|\\.)*?$match--) + { + warn "mismatched quotes at line $INPUT_LINE_NUMBER in $file_name\n"; + s-$match.*--; + } + } + } + + # Find function names. + while (m-(\w+|[(){};])-g) + { + # Open parenthesis. + if ($1 eq "(") + { + $potential_name = $word unless $in_parentheses; + $in_parentheses++; + next; + } + + # Close parenthesis. + if ($1 eq ")") + { + $in_parentheses--; + next; + } + + # Open brace. + if ($1 eq "{") + { + # Promote potiential name to real function name at the + # start of the outer level set of braces (function body?). + if (!$in_braces and $potential_start) + { + $start = $potential_start; + $name = $potential_name; + } + + $in_braces++; + next; + } + + # Close brace. + if ($1 eq "}") + { + $in_braces--; + + # End of an outer level set of braces. + # This could be a function body. + if (!$in_braces and $name) + { + push @ranges, [ $start, $INPUT_LINE_NUMBER, $name ]; + $name = ""; + } + + $potential_start = 0; + $potential_name = ""; + next; + } + + # Semicolon. + if ($1 eq ";") + { + $potential_start = 0; + $potential_name = ""; + next; + } + + # Word. + $word = $1; + if (!$in_parentheses) + { + $potential_start = 0; + $potential_name = ""; + } + if (!$potential_start) + { + $potential_start = $INPUT_LINE_NUMBER; + $potential_name = ""; + } + } + } + + warn "mismatched braces in $file_name\n" if $in_braces; + warn "mismatched parentheses in $file_name\n" if $in_parentheses; + + return @ranges; + } + + + +# Read a file and get all the line ranges of the things that look like Java +# classes, interfaces and methods. +# +# A class or interface name is the word that immediately follows +# `class' or `interface' when followed by an open curly brace and not +# a semicolon. It can appear at the top level, or inside another class +# or interface block, but not inside a function block +# +# A class or interface starts at the first character after the first close +# brace or after the function name and ends at the close brace. +# +# A function name is the last word before an open parenthesis before +# an open brace rather than a semicolon. It can appear at top level or +# inside a class or interface block, but not inside a function block. +# +# A function starts at the first character after the first close +# brace or after the function name and ends at the close brace. +# +# Comment handling is simple-minded but will work for all but pathological cases. +# +# Result is a list of triples: [ start_line, end_line, function_name ]. + +sub get_function_line_ranges_for_java + { + my ($file_handle, $file_name) = @_; + + my @current_scopes; + + my @ranges; + + my $in_comment = 0; + my $in_macro = 0; + my $in_parentheses = 0; + my $in_braces = 0; + my $in_non_block_braces = 0; + my $class_or_interface_just_seen = 0; + + my $word = ""; + + my $potential_start = 0; + my $potential_name = ""; + my $potential_name_is_class_or_interface = 0; + + my $start = 0; + my $name = ""; + my $current_name_is_class_or_interface = 0; + + while (<$file_handle>) + { + # Handle continued multi-line comment. + if ($in_comment) + { + next unless s-.*\*/--; + $in_comment = 0; + } + + # Handle continued macro. + if ($in_macro) + { + $in_macro = 0 unless /\\$/; + next; + } + + # Handle start of macro (or any preprocessor directive). + if (/^\s*\#/) + { + $in_macro = 1 if /^([^\\]|\\.)*\\$/; + next; + } + + # Handle comments and quoted text. + while (m-(/\*|//|\'|\")-) # \' and \" keep emacs perl mode happy + { + my $match = $1; + if ($match eq "/*") + { + if (!s-/\*.*?\*/--) + { + s-/\*.*--; + $in_comment = 1; + } + } + elsif ($match eq "//") + { + s-//.*--; + } + else # ' or " + { + if (!s-$match([^\\]|\\.)*?$match--) + { + warn "mismatched quotes at line $INPUT_LINE_NUMBER in $file_name\n"; + s-$match.*--; + } + } + } + + # Find function names. + while (m-(\w+|[(){};])-g) + { + # Open parenthesis. + if ($1 eq "(") + { + if (!$in_parentheses) { + $potential_name = $word; + $potential_name_is_class_or_interface = 0; + } + $in_parentheses++; + next; + } + + # Close parenthesis. + if ($1 eq ")") + { + $in_parentheses--; + next; + } + + # Open brace. + if ($1 eq "{") + { + # Promote potiential name to real function name at the + # start of the outer level set of braces (function/class/interface body?). + if (!$in_non_block_braces + and (!$in_braces or $current_name_is_class_or_interface) + and $potential_start) + { + if ($name) + { + push @ranges, [ $start, ($INPUT_LINE_NUMBER - 1), + join ('.', @current_scopes) ]; + } + + + $current_name_is_class_or_interface = $potential_name_is_class_or_interface; + + $start = $potential_start; + $name = $potential_name; + + push (@current_scopes, $name); + } else { + $in_non_block_braces++; + } + + $potential_name = ""; + $potential_start = 0; + + $in_braces++; + next; + } + + # Close brace. + if ($1 eq "}") + { + $in_braces--; + + # End of an outer level set of braces. + # This could be a function body. + if (!$in_non_block_braces) + { + if ($name) + { + push @ranges, [ $start, $INPUT_LINE_NUMBER, + join ('.', @current_scopes) ]; + + pop (@current_scopes); + + if (@current_scopes) + { + $current_name_is_class_or_interface = 1; + + $start = $INPUT_LINE_NUMBER + 1; + $name = $current_scopes[$#current_scopes-1]; + } + else + { + $current_name_is_class_or_interface = 0; + $start = 0; + $name = ""; + } + } + } + else + { + $in_non_block_braces-- if $in_non_block_braces; + } + + $potential_start = 0; + $potential_name = ""; + next; + } + + # Semicolon. + if ($1 eq ";") + { + $potential_start = 0; + $potential_name = ""; + next; + } + + if ($1 eq "class" or $1 eq "interface") + { + $class_or_interface_just_seen = 1; + next; + } + + # Word. + $word = $1; + if (!$in_parentheses) + { + if ($class_or_interface_just_seen) { + $potential_name = $word; + $potential_start = $INPUT_LINE_NUMBER; + $class_or_interface_just_seen = 0; + $potential_name_is_class_or_interface = 1; + next; + } + } + if (!$potential_start) + { + $potential_start = $INPUT_LINE_NUMBER; + $potential_name = ""; + } + $class_or_interface_just_seen = 0; + } + } + + warn "mismatched braces in $file_name\n" if $in_braces; + warn "mismatched parentheses in $file_name\n" if $in_parentheses; + + return @ranges; + } --- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/autogen.sh +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/autogen.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@" --- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/src/openchrome.man +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/src/openchrome.man @@ -0,0 +1,248 @@ +.\" Shorthand for double quote that works everywhere, +.\" also within other double quotes: +.ds q \N'34' +.TH OPENCHROME __drivermansuffix__ __vendorversion__ +.SH NAME +openchrome \- video driver for VIA Unichromes +.SH SYNOPSIS +.nf +.B "Section \*qDevice\*q" +.BI " Identifier \*q" devname \*q +.B " Driver \*qopenchrome\*q" +\ \ ... +.B EndSection +.fi + +.SH DESCRIPTION +.B openchrome +is an __xservername__ driver for VIA chipsets that have an integrated +Unichrome graphics engine. +.PP +The +.B openchrome +driver supports the following chipsets: CLE266, KM400/KN400/KM400A/P4M800, +CN400/PM800/PN800/PM880, K8M800, CN700/VM800/P4M800Pro, CX700, P4M890, K8M890, +P4M900/VN896/CN896, VX800, VX855 and VX900. +The driver includes 2D acceleration and Xv video overlay extensions. +Flat panel, TV, and VGA outputs are supported, depending on the hardware +configuration. +.PP +3D direct rendering is available using experimental drivers from Mesa +(www.mesa3d.org). There is also an XvMC client library for hardware +acceleration of MPEG1/MPEG2 decoding (not available on the KM/N400) +that uses the Direct Rendering Infrastructure (DRI). +The XvMC client library implements a non-standard +"VLD" extension to the XvMC standard. The current Direct Rendering +Manager (DRM) kernel module is available at dri.sourceforge.net. +.PP +The driver supports free modes for Unichrome Pros (K8M800/K8N800, PM800/PN800, +and CN400). For plain Unichromes (CLE266, KM400/KN400), it currently supports +only a limited number of dotclocks, so if you are using X modelines you +must make sure that the dotclock is one of those supported. Supported +dotclocks on plain Unichromes are currently (in MHz): 25.2, 25.312, +26.591, 31.5, 31.704, 32.663, 33.750, 35.5, 36.0, 39.822, 40.0, 41.164, +46.981, 49.5, 50.0, 56.3, 57.284, 64.995, 65.0, 65.028, 74.480, +75.0, 78.8, 81.613, 94.5, 108.0, 108.28, 122.0, 122.726, 135.0, +148.5, 155.8, 157.5, 161.793, 162.0, 175.5, 189.0, 202.5, 204.8, +218.3, 229.5. On top of this, bandwidth restrictions apply for both +Unichromes and Unichrome Pros. +.PP +.SH CONFIGURATION DETAILS +Please refer to __xconfigfile__(__filemansuffix__) for general configuration +details. This section only covers configuration details specific to this +driver. +.PP +The following driver +.B options +are supported: +.TP +.BI "Option \*qAccelMethod\*q \*q" string \*q +The driver supports "XAA" and "EXA" acceleration methods. The default +method is XAA, since EXA is still experimental. Contrary to XAA, EXA +implements acceleration for screen uploads and downloads (if DRI is +enabled) and for the Render/Composite extension. +.TP +.BI "Option \*qActiveDevice\*q \*q" string \*q +Specifies the active device combination. Any string containing "CRT", +"LCD", "DFP", "TV" should be possible. "CRT" represents anything that +is connected to the VGA port, "LCD" is for laptop panels (not TFT screens +attached to the VGA port), "DFP" is for screens connected to the DVI port, +"TV" is self-explanatory. +The default is to use what is detected. The driver is currently unable +to use LCD and TV simultaneously, and will favour the LCD. The DVI port is +not properly probed and needs to be enabled with this option. +.TP +.BI "Option \*qAGPMem\*q \*q" integer \*q +Sets the amount of AGP memory that is allocated at X server startup. +The allocated memory will be "integer" kB. This AGP memory is used for +the AGP command buffer (if the option "EnableAGPDMA" is set to "true"), for +DRI textures, and for the EXA scratch area. The driver will allocate at +least one system page of AGP memory, or \-\- if the AGP command buffer is +used \-\- at least 2 MB plus one system page. If there is no room for the +EXA scratch area in AGP space, it will be allocated from VRAM. If there is +no room for DRI textures, they will be allocated from the DRI part of +VRAM (see the option "MaxDRIMem"). The default amount of AGP is +32768 kB. Note that the AGP aperture set in the BIOS must be able +to accommodate the amount of AGP memory specified here. Otherwise no +AGP memory will be available. It is safe to set a very large AGP +aperture in the BIOS. +.TP +.BI "Option \*qCenter\*q \*q" boolean \*q +Enables image centering on DVI displays. The default is disabled. +.TP +.BI "Option \*qDisableIRQ\*q \*q" boolean \*q +Disables the vertical blank IRQ. This is a workaround for some mainboards +that have problems with IRQs coming from the Unichrome engine. With IRQs +disabled, DRI clients have no way to synchronize their drawing to Vblank. +(IRQ is disabled by default on the KM400 and K8M800 chipsets.) +.TP +.BI "Option \*qDisableVQ\*q \*q" boolean \*q +Disables the use of the virtual command queue. The queue is enabled +by default. +.TP +.BI "Option \*qEnableAGPDMA\*q \*q" boolean \*q +Enables the AGP DMA functionality in DRM. This requires that DRI is enabled +and will force 2D and 3D acceleration to use AGP DMA. The XvMC DRI +client will also make use of this on the CLE266 to consume much less CPU. +(This option is enabled by default, except on the K8M890 and P4M900.) +.TP +.BI "Option \*qExaNoComposite\*q \*q" boolean \*q +If EXA is enabled (using the option "AccelMethod"), this option enables +acceleration of compositing. Since EXA, and in particular its composite +acceleration, is still experimental, this is a way to disable a misbehaving +composite acceleration. +.TP +.BI "Option \*qExaScratchSize\*q \*q" integer \*q +Sets the size of the EXA scratch area to "integer" kB. This area is +used by EXA as a last place to look for available space for pixmaps. +Too little space will slow compositing down. This option should be set +to the size of the largest pixmap used. If you have a screen width of +over 1024 pixels and use 24 bpp, set this to 8192. Otherwise you can +leave this at the default 4096. The space will be allocated from AGP +memory if available, otherwise from VRAM. +.TP +.BI "Option \*qLCDDualEdge\*q \*q" boolean \*q +Enables the use of dual-edge mode to set the LCD. The default is disabled. +.TP +.BI "Option \*qMaxDRIMem\*q \*q" integer \*q +Sets the maximum amount of VRAM memory allocated for DRI clients to +"integer" kB. Normally DRI clients get half the available VRAM size, +but in some cases it may make sense to limit this amount. For example, +if you are using a composite manager and you want to give as much memory +as possible to the EXA pixmap storage area. +.TP +.BI "Option \*qMigrationHeuristic\*q \*q" string \*q +Sets the heuristic for EXA pixmap migration. This is an EXA core +option, and starting from __xservername__ server version 1.3.0 this defaults to +"always". The openchrome driver performs best with "greedy", so you +should really add this option to your configuration file. The third +possibility is "smart". +.TP +.BI "Option \*qNoAccel\*q \*q" boolean \*q +Disables the use of hardware acceleration. Acceleration is enabled +by default. +.TP +.BI "Option \*qNoAGPFor2D\*q \*q" boolean \*q +Disables the use of AGP DMA for 2D acceleration, even when AGP DMA is +enabled. The default is enabled. +.TP +.BI "Option \*qNoXVDMA\*q \*q" boolean \*q +If DRI is enabled, Xv normally uses PCI DMA to transfer video images +from system to frame-buffer memory. This is somewhat slower than +direct copies due to the limitations of the PCI bus, but on the other +hand it decreases CPU usage significantly, particularly on computers +with fast processors. Some video players are buggy and will display +rendering artifacts when PCI DMA is used. If you experience this, +or don't want your PCI bus to be stressed with Xv images, set this +option to "true". This option has no effect when DRI is not enabled. +.TP +.BI "Option \*qPanelSize\*q \*q" string \*q +Specifies the size (width x height) of the LCD panel attached to the +system. The sizes 640x480, 800x600, 1024x768, 1280x1024, and 1400x1050 +are supported. +.TP +.BI "Option \*qRotationType\*q \*q" string \*q +Enabled rotation by using RandR. The driver only support unaccelerated +RandR rotations "SWRandR". Hardware rotations "HWRandR" is currently +unimplemented. +.TP +.BI "Option \*qRotate\*q \*q" string \*q +Rotates the display either clockwise ("CW"), counterclockwise ("CCW") and +upside-down ("UD"). Rotation is only supported unaccelerated. Adding +option "Rotate", enables RandR rotation feature. The RandR allows +clients to dynamically change X screens. +.TP +.BI "Option \*qShadowFB\*q \*q" boolean \*q +Enables the use of a shadow frame buffer. This is required when +rotating the display, but otherwise defaults to disabled. +.TP +.BI "Option \*qSWCursor\*q \*q" boolean \*q +Enables the use of a software cursor. The default is disabled: +the hardware cursor is used. +.TP +.BI "Option \*qTVDeflicker\*q \*q" integer \*q +Specifies the deflicker setting for TV output. Valid values are "0", "1", +and "2". Here 0 means no deflicker, 1 means 1:1:1 deflicker, and 2 means +1:2:1 deflicker. +.TP +.BI "Option \*qTVDotCrawl\*q \*q" boolean \*q +Enables dot-crawl suppression. The default is disabled. +.TP +.BI "Option \*qTVOutput\*q \*q" string \*q +Specifies which TV output to use. The driver supports "S-Video", +"Composite", "SC", "RGB", and "YCbCr" outputs. Note that on some +EPIA boards the composite-video port is shared with audio-out and +is selected via a jumper. +.TP +.BI "Option \*qTVPort\*q \*q" string \*q +Specifies TV port. The driver currently supports "DVP0", "DVP1", +"DFPHigh" and "DFPLow" ports. +.TP +.BI "Option \*qTVType\*q \*q" string \*q +Specifies TV output format. The driver currently supports "NTSC" and +"PAL" timings only. +.TP +.BI "Option \*qVBEModes\*q \*q" boolean \*q +Enables the use of VBE BIOS calls for setting the display mode. This mimics +the behaviour of the vesa driver but still provides acceleration and +other features. This option may be used if your hardware works with +the vesa driver but not with the openchrome driver. It may not work +on 64-bit systems. Using "VBEModes" may speed up driver acceleration +significantly due to a more aggressive hardware setting, particularly +on systems with low memory bandwidth. Your refresh rate may be limited +to 60 Hz on some systems. +.TP +.BI "Option \*qVBESaveRestore\*q \*q" boolean \*q +Enables the use of VBE BIOS calls for saving and restoring the display state +when the X server is launched. This can be extremely slow on some hardware, +and the system may appear to have locked for 10 seconds or so. The default +is to use the driver builtin function. This option only works if option +"VBEModes" is enabled. +.TP +.BI "Option \*qVideoRAM\*q \*q" integer \*q +Overrides the VideoRAM autodetection. This should never be needed. +.PP +.SH "TV ENCODERS" +Unichromes tend to be paired with several different TV encoders. +.TP +.BI "VIA Technologies VT1621" +Still untested, as no combination with a Unichrome is known or available. +Supports the following normal modes: "640x480" and "800x600". Use +"640x480Over" and "800x600Over" for vertical overscan. These modes +are made available by the driver; modelines provided in __xconfigfile__ +will be ignored. +.TP +.BI "VIA Technologies VT1622, VT1622A, VT1623" +Supports the following modes: "640x480", "800x600", "1024x768", +"848x480", "720x480" (NTSC only) and "720x576" (PAL only). Use +"640x480Over", "800x600Over", "1024x768Over", "848x480Over", +"720x480Over" (NTSC) and "720x576Over" (PAL) for vertical overscan. +The modes "720x480Noscale" (NTSC) and "720x576Noscale" (PAL) (available +on VT1622 only) provide cleaner TV output (unscaled with only minimal +overscan). These modes are made available by the driver; modelines +provided in __xconfigfile__ will be ignored. + +.SH "SEE ALSO" +__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__), EXA(__filemansuffix__), Xv(__filemansuffix__) +.SH AUTHORS +Authors include: ... --- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/src/xvmc/Imakefile +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/src/xvmc/Imakefile @@ -0,0 +1,59 @@ +#define DoNormalLib NormalLibXvMC +#define DoSharedLib SharedLibXvMC +#define DoDebugLib DebugLibXvMC +#define DoProfileLib ProfileLibXvMC +/*#define LibName viaXvMC*/ +#define SoRev SOXVMCREV +#define LibHeaders NO + +#include + +/* Anyone know how to determine this properly? + * Comment out the following to build in the x tree + */ +#define OUTOFTREE + +#ifdef OUTOFTREE +VIADRIVERSRC=../unichrome +#else +VIADRIVERSRC=$(XF86DRIVERSRC)/via +#endif + +#ifdef SharedXvMCReqs +REQUIREDLIBS = SharedXvMCReqs -lXv +#endif + +#if Malloc0ReturnsNull +ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL +#endif + + DEFINES = $(ALLOC_DEFINES) $(PICFLAGS) -DTRUE=1 -DFALSE=0 + INCLUDES = -I$(XINCLUDESRC) -I$(INCLUDESRC) -I$(XLIBSRC) -I$(EXTINCSRC) \ + -I$(XF86COMSRC) -I$(XF86OSSRC) -I$(DRMSRCDIR)/shared-core \ + -I$(DRMSRCDIR)/shared \ + -I$(XF86OSSRC)/linux/drm/kernel -I$(VIADRIVERSRC) + SRCS = viaXvMC.c viaLowLevel.c viaLowLevelPro.c xf86dri.c driDrawable.c + OBJS = viaXvMC.o viaLowLevel.o xf86drm.o xf86drmHash.o \ + xf86drmRandom.o xf86drmSL.o xf86dri.o driDrawable.o + OBJSPRO = viaXvMC.o viaLowLevelPro.o xf86drm.o xf86drmHash.o \ + xf86drmRandom.o xf86drmSL.o xf86dri.o driDrawable.o + LINTLIBS = $(LINTXLIB) + +#include + +SharedLibraryTarget(viaXvMC,$(SoRev),$(OBJS) $(EXTRASHAREDOBJS),.,.) +SharedLibraryTarget(viaXvMCPro,$(SoRev),$(OBJSPRO) $(EXTRASHAREDOBJS),.,.) +InstallSharedLibrary(viaXvMC,$(SoRev),$(SHLIBDIR)) +InstallSharedLibrary(viaXvMCPro,$(SoRev),$(SHLIBDIR)) + +#if defined(LinuxArchitecture) +OS_SUBDIR = linux + +LinkSourceFile(xf86drm.c,$(XF86OSSRC)/$(OS_SUBDIR)/drm) +LinkSourceFile(xf86drmHash.c,$(XF86OSSRC)/$(OS_SUBDIR)/drm) +LinkSourceFile(xf86drmRandom.c,$(XF86OSSRC)/$(OS_SUBDIR)/drm) +LinkSourceFile(xf86drmSL.c,$(XF86OSSRC)/$(OS_SUBDIR)/drm) +#endif + +DependTarget() + --- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/src/xvmc/xf86dri.c +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/src/xvmc/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-lts-quantal-0.3.1.orig/debian/changelog +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/debian/changelog @@ -0,0 +1,440 @@ +xserver-xorg-video-openchrome-lts-quantal (1:0.3.1-0ubuntu1~precise3) 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 Wed, 05 Jun 2013 09:57:48 -0400 + +xserver-xorg-video-openchrome-lts-quantal (1:0.3.1-0ubuntu1~precise2) precise-proposed; urgency=low + + * Rebuild for libdrm-dev update (LP: #1086345) + + -- Maarten Lankhorst Fri, 18 Jan 2013 17:09:37 +0100 + +xserver-xorg-video-openchrome-lts-quantal (1:0.3.1-0ubuntu1~precise1) precise-proposed; urgency=low + + * Rename package for the LTS point update, and add + replaces/breaks/provides + + -- Maarten Lankhorst Fri, 30 Nov 2012 21:00:11 +0100 + +xserver-xorg-video-openchrome (1:0.3.1-0ubuntu1) quantal; urgency=low + + * Merge from unreleased debian git. + + -- Timo Aaltonen Thu, 06 Sep 2012 11:45:00 +0300 + +xserver-xorg-video-openchrome (1:0.3.1-1) UNRELEASED; urgency=low + + [ Maarten Lankhorst ] + * Move to git. + * Remove svn note in README.source + * Remove README.VCS-source + + [ Timo Aaltonen ] + * New upstream release. (LP: #1041625) + * Remove 10-Deal-with-xserver-1.12.diff, not needed anymore. + * control: Bump policy to 3.9.3, no changes. + + -- Maarten Lankhorst Thu, 19 Jul 2012 10:41:21 +0200 + +xserver-xorg-video-openchrome (1:0.2.906-1) unstable; urgency=low + + * New upstream release (Closes: #676507). + * New patch: 10-Deal-with-xserver-1.12.diff (Closes: #675407), with + thanks to Leon Winter for testing the initial patch and proposing + a working one. + * Add xutils-dev build-dep. + + -- Cyril Brulebois Fri, 08 Jun 2012 12:49:04 +0000 + +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-lts-quantal-0.3.1.orig/debian/xserver-xorg-video-openchrome-lts-quantal.lintian-overrides +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/debian/xserver-xorg-video-openchrome-lts-quantal.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-lts-quantal-0.3.1.orig/debian/compat +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/debian/compat @@ -0,0 +1 @@ +8 --- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/debian/rules +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/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-lts-quantal-dbg + +%: + dh $@ --with quilt,autoreconf,xsf --builddirectory=build/ --- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/debian/watch +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://www.openchrome.org/releases/xf86-video-openchrome-(\d.*)\.tar\.gz --- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/debian/xserver-xorg-video-openchrome-lts-quantal.install.hurd-i386 +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/debian/xserver-xorg-video-openchrome-lts-quantal.install.hurd-i386 @@ -0,0 +1,2 @@ +usr/lib/xorg/modules/drivers/*.so +usr/share/man --- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/debian/copyright +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/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-lts-quantal-0.3.1.orig/debian/README.source +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/debian/README.source @@ -0,0 +1,49 @@ +------------------------------------------------------ +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-lts-quantal-0.3.1.orig/debian/links +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/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-lts-quantal-0.3.1.orig/debian/xserver-xorg-video-openchrome-lts-quantal.install +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/debian/xserver-xorg-video-openchrome-lts-quantal.install @@ -0,0 +1,3 @@ +usr/lib/xorg/modules/drivers/*.so +usr/lib/libchromeXvMC* +usr/share/man --- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/debian/gbp.conf +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/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-lts-quantal-0.3.1.orig/debian/xserver-xorg-video-openchrome-lts-quantal.docs +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/debian/xserver-xorg-video-openchrome-lts-quantal.docs @@ -0,0 +1 @@ +NEWS --- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/debian/control +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/debian/control @@ -0,0 +1,82 @@ +Source: xserver-xorg-video-openchrome-lts-quantal +Section: x11 +Priority: optional +Maintainer: Ubuntu X-SWAT +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-lts-quantal (>= 2:1.9.4), + xutils-dev, + 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-lts-quantal | libgl1-dev, + libxvmc-dev, + quilt +Build-Conflicts: autoconf2.13 +Standards-Version: 3.9.3 +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-lts-quantal +Architecture: i386 amd64 hurd-i386 kfreebsd-i386 kfreebsd-amd64 lpia +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + ${xviddriver:Depends}, +Provides: + xserver-xorg-video-openchrome, xorg-renamed-package, xorg-renamed-package-lts-quantal, + ${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. +Replaces: xserver-xorg-video-openchrome +Conflicts: xserver-xorg-video-openchrome + +Package: xserver-xorg-video-openchrome-lts-quantal-dbg +Architecture: i386 amd64 hurd-i386 kfreebsd-i386 kfreebsd-amd64 lpia +Section: debug +Priority: extra +Depends: + xserver-xorg-video-openchrome-lts-quantal (= ${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. +Replaces: xserver-xorg-video-openchrome-dbg +Provides: xserver-xorg-video-openchrome-dbg, xorg-renamed-package, xorg-renamed-package-lts-quantal +Conflicts: xserver-xorg-video-openchrome-dbg --- xserver-xorg-video-openchrome-lts-quantal-0.3.1.orig/debian/patches/series +++ xserver-xorg-video-openchrome-lts-quantal-0.3.1/debian/patches/series @@ -0,0 +1 @@ +#placeholder