Changeset 4079
- Timestamp:
- 10/19/07 21:17:52 (1 year ago)
- Files:
-
- xf86-video-ivtv/trunk/Makefile.in (modified) (1 diff)
- xf86-video-ivtv/trunk/README (modified) (1 diff)
- xf86-video-ivtv/trunk/config.h.in (modified) (2 diffs)
- xf86-video-ivtv/trunk/configure (modified) (6 diffs)
- xf86-video-ivtv/trunk/configure.ac (modified) (1 diff)
- xf86-video-ivtv/trunk/src/ivtv.c (modified) (1 diff)
- xf86-video-ivtv/trunk/src/ivtv_hw.h (modified) (1 diff)
- xf86-video-ivtv/trunk/src/ivtv_xv.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
xf86-video-ivtv/trunk/Makefile.in
r4069 r4079 53 53 host_triplet = @host@ 54 54 subdir = . 55 DIST_COMMON = README ChangeLog$(am__configure_deps) $(srcdir)/Makefile.am \55 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 56 56 $(srcdir)/Makefile.in $(srcdir)/config.h.in \ 57 $(top_srcdir)/configure config.guess config.sub depcomp\58 install-sh ltmain.sh missing57 $(top_srcdir)/configure ChangeLog config.guess config.sub \ 58 depcomp install-sh ltmain.sh missing 59 59 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 60 60 am__aclocal_m4_deps = $(top_srcdir)/configure.ac xf86-video-ivtv/trunk/README
r4073 r4079 41 41 ================ 42 42 43 For new 7.x servers run the configure script followed by make and then make install. 44 The installation path may well need to be altered using the --prefix option. 45 46 If you get this error when running the configure script: 47 48 checking for XORG... configure: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto ) were not met. 43 For new 7.x servers run the autogen.sh script followed by make and then 44 make install. The installation path may well need to be altered using the 45 --prefix option. 46 47 If you get this error when running autogen.sh or the configure script: 48 49 checking for XORG... configure: error: Package requirements (xorg-server xproto fontsproto ) were not met. 49 50 50 51 then it is likely that you are missing the xorg-server development xf86-video-ivtv/trunk/config.h.in
r3805 r4079 51 51 #undef PACKAGE_VERSION 52 52 53 /* Major version of this package */ 54 #undef PACKAGE_VERSION_MAJOR 55 56 /* Minor version of this package */ 57 #undef PACKAGE_VERSION_MINOR 58 59 /* Patch version of this package */ 60 #undef PACKAGE_VERSION_PATCHLEVEL 61 53 62 /* Define to 1 if you have the ANSI C header files. */ 54 63 #undef STDC_HEADERS … … 56 65 /* Version number of package */ 57 66 #undef VERSION 67 68 /* Update some functions to new X parameter list */ 69 #undef X_NEW_PARMS xf86-video-ivtv/trunk/configure
r4068 r4079 20016 20016 20017 20017 20018 # Checks for pkg-config packages20019 20018 20020 20019 … … 20137 20136 20138 20137 fi 20138 if test -n "$PKG_CONFIG" && \ 20139 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901\"") >&5 20140 ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901") 2>&5 20141 ac_status=$? 20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20143 (exit $ac_status); }; then 20144 20145 cat >>confdefs.h <<\_ACEOF 20146 #define X_NEW_PARMS 1 20147 _ACEOF 20148 20149 fi 20150 20151 # Checks for pkg-config packages 20139 20152 20140 20153 pkg_failed=no … … 20144 20157 if test -n "$PKG_CONFIG"; then 20145 20158 if test -n "$PKG_CONFIG" && \ 20146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901xproto fontsproto \$REQUIRED_MODULES\"") >&520147 ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901xproto fontsproto $REQUIRED_MODULES") 2>&520159 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\"") >&5 20160 ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5 20148 20161 ac_status=$? 20149 20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20150 20163 (exit $ac_status); }; then 20151 pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`20164 pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null` 20152 20165 else 20153 20166 pkg_failed=yes … … 20158 20171 if test -n "$PKG_CONFIG"; then 20159 20172 if test -n "$PKG_CONFIG" && \ 20160 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901xproto fontsproto \$REQUIRED_MODULES\"") >&520161 ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901xproto fontsproto $REQUIRED_MODULES") 2>&520173 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\"") >&5 20174 ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5 20162 20175 ac_status=$? 20163 20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20164 20177 (exit $ac_status); }; then 20165 pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`20178 pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null` 20166 20179 else 20167 20180 pkg_failed=yes … … 20172 20185 20173 20186 if test $pkg_failed = yes; then 20174 XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server >= 1.0.99.901xproto fontsproto $REQUIRED_MODULES"`20187 XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES"` 20175 20188 # Put the nasty error message in config.log where it belongs 20176 20189 echo "$XORG_PKG_ERRORS" 1>&5 20177 20190 20178 { { echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901xproto fontsproto $REQUIRED_MODULES) were not met.20191 { { echo "$as_me:$LINENO: error: Package requirements (xorg-server xproto fontsproto $REQUIRED_MODULES) were not met. 20179 20192 Consider adjusting the PKG_CONFIG_PATH environment variable if you 20180 20193 installed software in a non-standard prefix. … … 20183 20196 to avoid the need to call pkg-config. See the pkg-config man page for 20184 20197 more details." >&5 20185 echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901xproto fontsproto $REQUIRED_MODULES) were not met.20198 echo "$as_me: error: Package requirements (xorg-server xproto fontsproto $REQUIRED_MODULES) were not met. 20186 20199 Consider adjusting the PKG_CONFIG_PATH environment variable if you 20187 20200 installed software in a non-standard prefix. xf86-video-ivtv/trunk/configure.ac
r4068 r4079 48 48 [moduledir="$libdir/xorg/modules"]) 49 49 50 PKG_CHECK_EXISTS([xorg-server >= 1.0.99.901], 51 [AC_DEFINE(X_NEW_PARMS,1,[Update some functions to new X parameter list])]) 52 50 53 # Checks for pkg-config packages 51 PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901xproto fontsproto $REQUIRED_MODULES])54 PKG_CHECK_MODULES(XORG, [xorg-server xproto fontsproto $REQUIRED_MODULES]) 52 55 sdkdir=$(pkg-config --variable=sdkdir xorg-server) 53 56 xf86-video-ivtv/trunk/src/ivtv.c
r4067 r4079 199 199 IVTVshadowUpdatePacked(ScreenPtr pScreen, shadowBufPtr pBuf) 200 200 { 201 #ifdef X_ MODULAR201 #ifdef X_NEW_PARMS 202 202 RegionPtr damage = DamageRegion(pBuf->pDamage); 203 203 #else xf86-video-ivtv/trunk/src/ivtv_hw.h
r4049 r4079 91 91 #endif 92 92 93 /* FIXME - There must be a better way to do this..... */94 #if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(7,0,0,0,0)95 # define X_MODULAR 196 #elif XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(6,0,0,0,0)97 # define X_MODULAR 198 #endif99 100 93 Bool ivtvHWGetRec(ScrnInfoPtr pScrn); 101 94 void ivtvHWFreeRec(ScrnInfoPtr pScrn); xf86-video-ivtv/trunk/src/ivtv_xv.c
r4049 r4079 67 67 unsigned int *, unsigned int *, pointer); 68 68 69 #ifdef X_ MODULAR69 #ifdef X_NEW_PARMS 70 70 static int IVTVPutImage(ScrnInfoPtr, short, short, short, short, short, 71 71 short, short, short, int, unsigned char *, short, … … 677 677 } 678 678 679 #ifdef X_ MODULAR679 #ifdef X_NEW_PARMS 680 680 static int 681 681 IVTVPutImage(ScrnInfoPtr pScrn,
