~ubuntu-branches/ubuntu/oneiric/xorg-server/oneiric-201109091216

« back to all changes in this revision

Viewing changes to debian/README.source

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers, Christopher James Halse Rogers, Timo Aaltonen, Chase Douglas
  • Date: 2011-02-23 09:40:07 UTC
  • mfrom: (1.1.39 upstream) (0.1.22 experimental)
  • Revision ID: james.westby@ubuntu.com-20110223094007-xqwcet0zcbelhj56
Tags: 2:1.9.99.902-2ubuntu1
[ Christopher James Halse Rogers ]
* Merge from Debian experimental.  Remaining Ubuntu changes:
  - rules:
    + Disable SELinux, libaudit-dev is not in main yet. (LP #406226)
    + Enable xcsecurity. (LP #247537)
    + Add --with-extra-module-dir to support GL alternatives.
    + Mention Ubuntu support in builderstring rather than package uploader's
      email address.
  - control:
    + Xvfb depends on xauth, x11-xkb-utils. (LP #500102)
    + Add breaks for incompatible drivers. (LP #614993)
    + Drop libaudit-dev from build-deps.
    + Build-depend on newer mesa to pick up DRI search paths variable.
  - local/xvfb-run*: Add correct docs about error codes. (LP #328205)
  - debian/patches:
    + 100_rethrow_signals.patch:
      When aborting, re-raise signals for apport
    + 105_nvidia_fglrx_autodetect.patch:
      Load proprietary drivers automatically when installed.
    + 109_fix-swcursor-crash.patch:
      Avoid dereferencing null pointer while reloading cursors during
      resume. (LP: #371405)
    + 111_armel-drv-fallbacks.patch:
      Add support for armel driver fallbacks.
    + 121_only_switch_vt_when_active.diff:
      Add a check to prevent the X server from changing the VT when killing
      GDM from the console.
    + 122_xext_fix_card32_overflow_in_xauth.patch:
      Fix server crash when “xauth generate” is called with large timeout.
    + 157_check_null_modes.patch, 162_null_crtc_in_rotation.patch,
      166_nullptr_xinerama_keyrepeat.patch, 167_nullptr_xisbread.patch
      169_mipointer_nullptr_checks.patch,
      172_cwgetbackingpicture_nullptr_check.patch:
      Fix various segfaults in xserver by checking pointers for NULL
      values before dereferencing them.
    + 165_man_xorg_conf_no_device_ident.patch
      Correct man page
    + 168_glibc_trace_to_stderr.patch:
      Report abort traces to stderr instead of terminal
    + 184_virtual_devices_autodetect.patch:
      Use vesa for qemu device, which is not supported by cirrus
    + 188_default_primary_to_first_busid.patch:
      Pick the first device and carry on (LP: #459512)
    + 190_cache-xkbcomp_output_for_fast_start_up.patch:
    + 191-Xorg-add-an-extra-module-path.patch:
      Add support for the alternatives module path.
    + 198_nohwaccess.patch:
      Adds a -nohwaccess argument to make X not access the hardware
      ports directly.
    + 200_randr-null.patch:
      Clarify a pointer initialization.
    + 206_intel_8xx_default_to_fbdev.patch:
      Makes 8xx class intel GPUs default to fbdev for stability. (LP: #633593)
    + 208_switch_on_release.diff:
      Switch keyboard layouts on key-release rather than key-press
        (LP #36812)
    + 209_add_legacy_bgnone_option.patch:
      Add -nr as a synonym for -background none until all ?DM are updated for
        the new option.
    + 210_pixman_null_ptr_check.patch: 
      Catch NULL pointer access after pixman_image_create_bits() failure
        (LP #705078)
    + Add 213_xichangehierarchy-check-oom.patch:
      Add NULL pointer check for out-of-memory conditions. (LP #720445)
    + debian/patches/214_glx_dri_searchdirs.patch:
      Search in same paths as mesa for DRI drivers for AIGLX so we can handle
      UMS fallback for radeon gracefully.
* 211_glx_fix_bindtextimageext_length_check.patch:
* 212_fix_request_length_check_for_createglxpbuffersgix.patch:
  - Drop; these cherry-picks are included in 1.10RC2
* debian/patches/214_glx_dri_searchdirs.patch:
  - Fix nouveau check to downgrade missing DRI error messages to info.
    We don't support nouveau's 3D, so let's not complain too strenuously
    when it's not installed.
* debian/patches/215_glx_drawable_refcounting.diff:
  - Refcount GLXDrawables to avoid use-after-free crashes.  Patch from
    xorg-devel mailing list.  Prevents segfault on logout and server
    regenerate, and possibly other times. (LP: #711422)
* 214_glx_dri_searchdirs.patch:
  - Fix dlclose/free snafu. (LP: #722563)
* debian/inputabiver:
* debian/videoabiver:
* debian/xserver-xorg-dev.install
  - Temporarily re-add these to xserver-xorg-dev so we don't need to merge
    all the driver changes from Debian en masse.  These should be dropped
    once all drivers have been merged from Debian, and certainly in Natty+1.
* debian/serverminver:
  - Include 2ubuntu1 string; Xi 2.1 bumps the minor input ABI, so drivers
    built against it need the Xi 2.1 patched server.

[ Timo Aaltonen ]
* debian/patches/216_dix-valuator-count-of-0-is-valid.diff:
  - For all but motion and proximity events, having no valuators is ok.
    Regression from 1.9, keyboard events are not converted to protocol
    events. (LP: #714696)

[ Chase Douglas ]
* Add in preliminary xi2.1 support
  - Added 500_xi2.1.patch
  - Moved 202_xf86CoordinationsToWindows.patch to
    501_xf86CoordinatesToWindow.patch
  - Moved 203_gestures-extension.patch to 502_gestures-extension.patch
  - Bump dependency on x11proto-input for xi 2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
2. Unpack the package as usual with "dpkg-source -x"
7
7
3. Run the "patch" target in debian/rules
8
8
4. Create a new patch with "quilt new" (see quilt(1))
9
 
5. Edit all the files you want to include in the patch with "quilt edit" 
 
9
5. Edit all the files you want to include in the patch with "quilt edit"
10
10
   (see quilt(1)).
11
11
6. Write the patch with "quilt refresh" (see quilt(1))
12
12
7. Run the "clean" target in debian/rules
13
13
 
14
 
Alternatively, instead of using quilt directly, you can drop the patch in to 
 
14
Alternatively, instead of using quilt directly, you can drop the patch in to
15
15
debian/patches and add the name of the patch to debian/patches/series.
16
16
 
17
17
------------------------------------
48
48
* Otherwise, the patch is added to debian/patches/ which is managed
49
49
  with quilt as documented in /usr/share/doc/quilt/README.source.
50
50
 
51
 
quilt is actually invoked by the Debian X packaging through a larger
52
 
set of scripts called XSFBS. XSFBS brings some other X specific
53
 
features such as managing dependencies and conflicts due to the video
54
 
and input driver ABIs.
55
 
XSFBS itself is maintained in a separate repository at
56
 
  git://git.debian.org/pkg-xorg/xsfbs.git
57
 
and it is pulled inside the other Debian X repositories when needed.
58
 
 
59
 
The XSFBS patching system requires a build dependency on quilt. Also
60
 
a dependency on $(STAMP_DIR)/patch has to be added to debian/rules
61
 
so that the XSFBS patching occurs before the actual build. So the
62
 
very first target of the build (likely the one running autoreconf)
63
 
should depend on $(STAMP_DIR)/patch. It should also not depend on
64
 
anything so that parallel builds are correctly supported (nothing
65
 
should probably run while patching is being done). And finally, the
66
 
clean target should depend on the xsfclean target so that patches
67
 
are unapplied on clean.
68
 
 
69
 
When the upstream sources contain some DFSG-nonfree files, they are
70
 
listed in text files in debian/prune/ in the "debian-*" branch of
71
 
the Debian repository. XSFBS' scripts then take care of removing
72
 
these listed files during the build so as to generate a modified
73
 
DFSG-free .orig.tar.gz tarball.
 
51
----------------------------------------------
 
52
Updating xorg-server to a new upstream release
 
53
----------------------------------------------
 
54
 
 
55
* The abibumpcheck target helps us notice any ABI bump:
 
56
  - A major ABI bump means drivers have to be rebuilt.
 
57
  - A minor ABI bump means the version in serverminver has to be
 
58
    bumped.
 
59
  Reference documentation about dependencies is available at:
 
60
    http://pkg-xorg.alioth.debian.org/reference/dependencies.html
 
61
* We have to keep track of the SDK_REQUIRED_MODULES variable in
 
62
  configure.ac. It is used to determine xorg-server.pc's dependencies
 
63
  so xserver-xorg-dev's dependencies have to be adjusted when this
 
64
  variable changes. This variable is set to a list of modules, but is
 
65
  updated a few times. It's probably a good idea to use:
 
66
    git grep SDK_REQUIRED_MODULES= -- configure.ac