.gitignore | 75 ++++++++++++++++++++++++++++++++++++++++++++++++-------- ChangeLog | 66 ------------------------------------------------- Makefile.am | 12 ++++++++ configure.ac | 14 +++++----- man/Makefile.am | 41 ++++++++++++++---------------- src/fbdev.c | 47 ++--------------------------------- 6 files changed, 106 insertions(+), 149 deletions(-)
New commits: commit 7ec9d466e55e6366bf35639610b14a149f6e7b45 Author: Julien Cristau <jcris...@debian.org> Date: Sat Apr 3 18:05:21 2010 +0200 Bump to 0.4.2 diff --git a/configure.ac b/configure.ac index 5a827b1..e1b9c68 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.57) AC_INIT([xf86-video-fbdev], - 0.4.1, + 0.4.2, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-video-fbdev) commit b3220bf63ee39ce3aecdb3e4151b3f4521bd2107 Author: Julien Cristau <jcris...@debian.org> Date: Wed Feb 10 02:09:17 2010 +0100 configure: require xorg-macros 1.4 for XORG_INSTALL Signed-off-by: Julien Cristau <jcris...@debian.org> diff --git a/configure.ac b/configure.ac index f24320d..5a827b1 100644 --- a/configure.ac +++ b/configure.ac @@ -36,8 +36,8 @@ AM_MAINTAINER_MODE # Require xorg-macros: XORG_DEFAULT_OPTIONS m4_ifndef([XORG_MACROS_VERSION], - [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.3) + [m4_fatal([must install xorg-macros 1.4 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.4) XORG_DEFAULT_OPTIONS # Checks for programs. commit a9df47d6d018fdde8d28ec7c5237967e26413f1b Author: Julien Cristau <jcris...@debian.org> Date: Thu Feb 4 22:23:34 2010 +0100 fbdev: add missing shadowRemove in CloseScreen() Fixes crash in CloseScreen(). Signed-off-by: Julien Cristau <jcris...@debian.org> Tested-by: Cyril Brulebois <k...@debian.org> diff --git a/src/fbdev.c b/src/fbdev.c index dba3118..c97ce1c 100644 --- a/src/fbdev.c +++ b/src/fbdev.c @@ -917,6 +917,7 @@ FBDevCloseScreen(int scrnIndex, ScreenPtr pScreen) fbdevHWRestore(pScrn); fbdevHWUnmapVidmem(pScrn); if (fPtr->shadow) { + shadowRemove(pScreen, pScreen->GetScreenPixmap(pScreen)); xfree(fPtr->shadow); fPtr->shadow = NULL; } commit a5b035414d3234ae278c09b34641bb1c68da86d4 Author: Alan Coopersmith <alan.coopersm...@sun.com> Date: Fri Jan 15 15:44:54 2010 -0800 Update Sun license notices to current X.Org standard form Signed-off-by: Alan Coopersmith <alan.coopersm...@sun.com> diff --git a/man/Makefile.am b/man/Makefile.am index bf7ec17..29fcf92 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,28 +1,25 @@ # $Id$ # # Copyright 2005 Sun Microsystems, Inc. All rights reserved. -# -# Permission to use, copy, modify, distribute, and sell this software and its -# documentation for any purpose is hereby granted without fee, provided that -# the above copyright notice appear in all copies and that both that -# copyright notice and this permission notice appear in supporting -# documentation. -# -# The above copyright notice and this permission notice 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 NONINFRINGEMENT. -# IN NO EVENT SHALL THE OPEN GROUP 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. -# -# Except as contained in this notice, the name of the copyright holders shall -# not be used in advertising or otherwise to promote the sale, use or -# other dealings in this Software without prior written authorization -# from the copyright holders. +# +# 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, sublicense, +# 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 NONINFRINGEMENT. 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. # drivermandir = $(DRIVER_MAN_DIR) commit 5ec41a8b2ebee7f922c633a83ee8bea77aefaf3e Author: Gaetan Nadon <mems...@videotron.ca> Date: Tue Dec 15 22:01:02 2009 -0500 configure.ac: remove unused sdkdir=$(pkg-config...) statement The sdkdir variable isn't use, so remove the statement. Acked-by: Dan Nicholson <dbn.li...@gmail.com> Signed-off-by: Gaetan Nadon <mems...@videotron.ca> diff --git a/configure.ac b/configure.ac index 4b536d5..f24320d 100644 --- a/configure.ac +++ b/configure.ac @@ -63,7 +63,6 @@ XORG_DRIVER_CHECK_EXT(XV, videoproto) # Checks for pkg-config packages PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES]) -sdkdir=$(pkg-config --variable=sdkdir xorg-server) save_CFLAGS="$CFLAGS" CFLAGS="$XORG_CFLAGS" commit 69f82077fda16106e534c1ea4c48f0dbdd5576e7 Author: Adam Jackson <a...@redhat.com> Date: Mon Dec 14 13:38:44 2009 -0500 Remove afb support Signed-off-by: Adam Jackson <a...@redhat.com> diff --git a/src/fbdev.c b/src/fbdev.c index 0ba0743..dba3118 100644 --- a/src/fbdev.c +++ b/src/fbdev.c @@ -23,9 +23,6 @@ /* for visuals */ #include "fb.h" -#ifdef USE_AFB -#include "afb.h" -#endif #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 #include "xf86Resources.h" @@ -119,9 +116,6 @@ _X_EXPORT DriverRec FBDEV = { /* Supported "chipsets" */ static SymTabRec FBDevChipsets[] = { { 0, "fbdev" }, -#ifdef USE_AFB - { 0, "afb" }, -#endif {-1, NULL } }; @@ -397,7 +391,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags) { FBDevPtr fPtr; int default_depth, fbbpp; - const char *mod = NULL, *s; + const char *s; int type; if (flags & PROBE_DETECT) return FALSE; @@ -553,9 +547,6 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags) /* Load bpp-specific modules */ switch ((type = fbdevHWGetType(pScrn))) { - case FBDEVHW_PLANES: - mod = "afb"; - break; case FBDEVHW_PACKED_PIXELS: switch (pScrn->bitsPerPixel) { @@ -563,7 +554,6 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags) case 16: case 24: case 32: - mod = "fb"; break; default: xf86DrvMsg(pScrn->scrnIndex, X_ERROR, @@ -595,7 +585,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags) "unrecognised fbdev hardware type (%d)\n", type); return FALSE; } - if (mod && xf86LoadSubModule(pScrn, mod) == NULL) { + if (xf86LoadSubModule(pScrn, "fb") == NULL) { FBDevFreeRec(pScrn); return FALSE; } @@ -758,28 +748,6 @@ FBDevScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) switch ((type = fbdevHWGetType(pScrn))) { -#ifdef USE_AFB - case FBDEVHW_PLANES: - if (fPtr->rotate) - { - xf86DrvMsg(scrnIndex, X_ERROR, - "internal error: rotate not supported for afb\n"); - ret = FALSE; - break; - } - if (fPtr->shadowFB) - { - xf86DrvMsg(scrnIndex, X_ERROR, - "internal error: shadow framebuffer not supported" - " for afb\n"); - ret = FALSE; - break; - } - ret = afbScreenInit - (pScreen, fPtr->fbstart, pScrn->virtualX, pScrn->virtualY, - pScrn->xDpi, pScrn->yDpi, pScrn->displayWidth); - break; -#endif case FBDEVHW_PACKED_PIXELS: switch (pScrn->bitsPerPixel) { case 8: @@ -884,16 +852,6 @@ FBDevScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) switch ((type = fbdevHWGetType(pScrn))) { /* XXX It would be simpler to use miCreateDefColormap() in all cases. */ -#ifdef USE_AFB - case FBDEVHW_PLANES: - if (!afbCreateDefColormap(pScreen)) { - xf86DrvMsg(scrnIndex, X_ERROR, - "internal error: afbCreateDefColormap " - "failed in FBDevScreenInit()\n"); - return FALSE; - } - break; -#endif case FBDEVHW_PACKED_PIXELS: if (!miCreateDefColormap(pScreen)) { xf86DrvMsg(scrnIndex, X_ERROR, commit 4e8a6ac78d0a89bfc831d4c82ee47d02312beb84 Author: Gaetan Nadon <mems...@videotron.ca> Date: Mon Nov 23 09:25:05 2009 -0500 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES Now that the INSTALL file is generated. Allows running make maintainer-clean. diff --git a/Makefile.am b/Makefile.am index d451f3e..4c278ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,6 +19,7 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SUBDIRS = src man +MAINTAINERCLEANFILES = ChangeLog INSTALL .PHONY: ChangeLog INSTALL commit d868015c9cb08276164054419a4083d6c5cf4dbb Author: Gaetan Nadon <mems...@videotron.ca> Date: Wed Oct 28 14:41:41 2009 -0400 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 Automake 'foreign' option is specified in configure.ac. Remove from Makefile.am diff --git a/Makefile.am b/Makefile.am index 882733f..d451f3e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,6 @@ # 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. -AUTOMAKE_OPTIONS = foreign SUBDIRS = src man .PHONY: ChangeLog INSTALL commit a9e65feebd8631d23d175a2c5b62c940190632d6 Author: Gaetan Nadon <mems...@videotron.ca> Date: Wed Oct 28 14:09:09 2009 -0400 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet. diff --git a/Makefile.am b/Makefile.am index 8b7c3c7..882733f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,9 +21,12 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src man -.PHONY: ChangeLog +.PHONY: ChangeLog INSTALL + +INSTALL: + $(INSTALL_CMD) ChangeLog: $(CHANGELOG_CMD) -dist-hook: ChangeLog +dist-hook: ChangeLog INSTALL diff --git a/configure.ac b/configure.ac index 1622751..4b536d5 100644 --- a/configure.ac +++ b/configure.ac @@ -30,7 +30,7 @@ AC_CONFIG_SRCDIR([Makefile.am]) AM_CONFIG_HEADER([config.h]) AC_CONFIG_AUX_DIR(.) -AM_INIT_AUTOMAKE([dist-bzip2]) +AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE commit 7b583191fa46919730727a0cffe44e7ac6631591 Author: Gaetan Nadon <mems...@videotron.ca> Date: Mon Oct 26 12:54:21 2009 -0400 Several driver modules do not have a ChangeLog target in Makefile.am #23814 The git generated ChangeLog replaces the hand written one. Update configure.ac to xorg-macros level 1.3. Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros Update Makefile.am to add ChangeLog target if missing Remove ChangeLog from EXTRA_DIST or *CLEAN variables This is a pre-req for the INSTALL_CMD diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index ead4bce..0000000 --- a/ChangeLog +++ /dev/null @@ -1,66 +0,0 @@ -2006-05-19 Adam Jackson <a...@freedesktop.org> - - * configure.ac: - * src/fbdev.c: - Bump to 0.3.0 - -2006-05-18 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * src/fbdev.c: (FBDevShadowInit), (FBDevScreenInit), - (FBDevCloseScreen): - Fix ShadowFB support to work with recent miext/shadow changes from - bug #5460 (Kevin Martin), and apply fix for miext/shadow crasher - https://bugs.freedesktop.org/show_bug.cgi?id=6940 (Kristian - Hoegsberg). - -2006-04-06 Adam Jackson <a...@freedesktop.org> - - * configure.ac: - * src/fbdev.c: - Unlibcwrap. Bump server version requirement. Bump to 0.2.0. - -2006-01-09 David Nusinow <gravity-at-freedesktop-dot-org> - - * man/fbdev.man: - Convert manpage to utf-8 - Bugzilla #1925 <https://bugs.freedesktop.org/show_bug.cgi?id=1925> - -2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update package version for X11R7 release. - -2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update package version number for final X11R7 release candidate. - -2005-12-06 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * man/Makefile.am: - Change *man_SOURCES ==> *man_PRE to fix autotools warnings. - -2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update package version number for X11R7 RC3 release. - -2005-12-01 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Remove extraneous AC_MSG_RESULT. - -2005-11-29 Adam Jackson <a...@freedesktop.org> - - * configure.ac: - Only build dlloader modules by default. - -2005-11-09 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update package version number for X11R7 RC2 release. - -2005-11-01 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update pkgcheck dependencies to work with separate build roots. diff --git a/Makefile.am b/Makefile.am index 7052905..8b7c3c7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,3 +20,10 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src man + +.PHONY: ChangeLog + +ChangeLog: + $(CHANGELOG_CMD) + +dist-hook: ChangeLog diff --git a/configure.ac b/configure.ac index f76cca0..1622751 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,12 @@ AM_INIT_AUTOMAKE([dist-bzip2]) AM_MAINTAINER_MODE +# Require xorg-macros: XORG_DEFAULT_OPTIONS +m4_ifndef([XORG_MACROS_VERSION], + [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.3) +XORG_DEFAULT_OPTIONS + # Checks for programs. AC_DISABLE_STATIC AC_PROG_LIBTOOL @@ -85,9 +91,6 @@ AC_SUBST([moduledir]) DRIVER_NAME=fbdev AC_SUBST([DRIVER_NAME]) -XORG_MANPAGE_SECTIONS -XORG_RELEASE_VERSION - AC_OUTPUT([ Makefile src/Makefile commit 6b5e30a2df432cffa90a71c63dbd6ab0aef6203f Author: Gaetan Nadon <mems...@videotron.ca> Date: Thu Oct 22 12:34:16 2009 -0400 .gitignore: use common defaults with custom section # 24239 Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults. diff --git a/.gitignore b/.gitignore index fa52c64..1c9de22 100644 --- a/.gitignore +++ b/.gitignore @@ -1,23 +1,78 @@ -.deps -.libs -Makefile -Makefile.in -*~ -*.la -*.lo +# +# X.Org module default exclusion patterns +# The next section if for module specific patterns +# +# Do not edit the following section +# GNU Build System (Autotools) aclocal.m4 -autom4te.cache +autom4te.cache/ +autoscan.log +ChangeLog +compile config.guess config.h config.h.in config.log +config-ml.in +config.py config.status +config.status.lineno config.sub configure +configure.scan depcomp -fbdev.4 +.deps/ +INSTALL install-sh +.libs/ libtool +libtool.m4 ltmain.sh +lt~obsolete.m4 +ltoptions.m4 +ltsugar.m4 +ltversion.m4 +Makefile +Makefile.in +mdate-sh missing -stamp-h1 +mkinstalldirs +*.pc +py-compile +stamp-h? +symlink-tree +texinfo.tex +ylwrap + +# Do not edit the following section +# Edit Compile Debug Document Distribute +*~ +*.[0-9] +*.[0-9]x +*.bak +*.bin +core +*.dll +*.exe +*-ISO*.bdf +*-JIS*.bdf +*-KOI8*.bdf +*.kld +*.ko +*.ko.cmd +*.lai +*.l[oa] +*.[oa] +*.obj +*.patch +*.so +*.pcf.gz +*.pdb +*.tar.bz2 +*.tar.gz +# +# Add & Override patterns for xf86-video-fbdev +# +# Edit the following section as needed +# For example, !report.pc overrides *.pc. See 'man gitignore' +# -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1nz86r-00057d...@alioth.debian.org