diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-01-21 11:14:20 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-01-21 11:14:20 +0000 |
commit | 24f2967b176c7d1f2ec9bed3ec9d82816438ed3e (patch) | |
tree | abeeedab987c326d07f9a921b2a0da8f90da53a1 /x11-misc/dxpc | |
parent | Added ppc keyword. bug 119466 (diff) | |
download | historical-24f2967b176c7d1f2ec9bed3ec9d82816438ed3e.tar.gz historical-24f2967b176c7d1f2ec9bed3ec9d82816438ed3e.tar.bz2 historical-24f2967b176c7d1f2ec9bed3ec9d82816438ed3e.zip |
Fixed bug #112377 (lzo-2 depend), modular X depends.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'x11-misc/dxpc')
-rw-r--r-- | x11-misc/dxpc/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/dxpc/Manifest | 15 | ||||
-rw-r--r-- | x11-misc/dxpc/dxpc-3.8.2-r1.ebuild | 36 | ||||
-rw-r--r-- | x11-misc/dxpc/files/digest-dxpc-3.8.2-r1 | 1 | ||||
-rw-r--r-- | x11-misc/dxpc/files/dxpc-3.8.2-lzo2.patch | 287 |
5 files changed, 335 insertions, 12 deletions
diff --git a/x11-misc/dxpc/ChangeLog b/x11-misc/dxpc/ChangeLog index 70b895b9af26..ff6b893b7a33 100644 --- a/x11-misc/dxpc/ChangeLog +++ b/x11-misc/dxpc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/dxpc # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dxpc/ChangeLog,v 1.6 2006/01/03 11:03:58 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dxpc/ChangeLog,v 1.7 2006/01/21 11:14:20 nelchael Exp $ + +*dxpc-3.8.2-r1 (21 Jan 2006) + + 21 Jan 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/dxpc-3.8.2-lzo2.patch, +dxpc-3.8.2-r1.ebuild: + Fixed bug #112377 (lzo-2 depend), modular X depends. 03 Jan 2006; Daniel Black <dragonheart@gentoo.org> dxpc-3.8.2.ebuild: dependency changed to =dev-libs/lzo-1* so that unmasking lzo-2 will not diff --git a/x11-misc/dxpc/Manifest b/x11-misc/dxpc/Manifest index c07032ff3cf3..f3602bc390aa 100644 --- a/x11-misc/dxpc/Manifest +++ b/x11-misc/dxpc/Manifest @@ -1,14 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 e19d263b3fbeb9a5ed5262725433e1cc ChangeLog 858 +MD5 62b033c13362e20662af484f2a62c0cc ChangeLog 1049 +MD5 fc7551193672c28ba49d9b6539b1b3a4 dxpc-3.8.2-r1.ebuild 877 MD5 3f77f2c6a091d8eb4a12a6473f45ae62 dxpc-3.8.2.ebuild 741 MD5 39fce89640ab6117e66d09ab4f15ffd1 files/digest-dxpc-3.8.2 62 +MD5 39fce89640ab6117e66d09ab4f15ffd1 files/digest-dxpc-3.8.2-r1 62 +MD5 d2d1cd83d57883d2a16c099b52df64fd files/dxpc-3.8.2-lzo2.patch 12701 MD5 fe402b096905cae8dcb4a503d3a838ac metadata.xml 173 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) - -iD8DBQFDulzgmdTrptrqvGERAsU4AJwPpiqOx6/jK7nvRHHlUurqKrqAZwCcD4gS -NE/eN69Jg28LzIpoH+MVbYQ= -=CFfE ------END PGP SIGNATURE----- diff --git a/x11-misc/dxpc/dxpc-3.8.2-r1.ebuild b/x11-misc/dxpc/dxpc-3.8.2-r1.ebuild new file mode 100644 index 000000000000..077deec0dd39 --- /dev/null +++ b/x11-misc/dxpc/dxpc-3.8.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dxpc/dxpc-3.8.2-r1.ebuild,v 1.1 2006/01/21 11:14:20 nelchael Exp $ + +inherit eutils + +IUSE="" + +DESCRIPTION="dxpc is an X protocol compressor designed to improve the speed of X11 applications run over low-bandwidth links" +SRC_URI="http://www.vigor.nu/dxpc/3.8.2/${P}.tar.gz" +HOMEPAGE="http://www.vigor.nu/dxpc/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~ppc ~x86" + +DEPEND="|| ( ( + x11-proto/xproto + x11-libs/libXt ) + virtual/x11 ) + >=dev-libs/lzo-2" + +src_unpack() { + unpack "${A}" + epatch "${FILESDIR}/${P}-lzo2.patch" +} + +src_compile() { + econf || die "Configure failed" + emake || die "Make failed" +} + +src_install () { + make prefix=${D}/usr man1dir=${D}/usr/share/man/man1 install || die "Install failed" + dodoc CHANGES README TODO +} diff --git a/x11-misc/dxpc/files/digest-dxpc-3.8.2-r1 b/x11-misc/dxpc/files/digest-dxpc-3.8.2-r1 new file mode 100644 index 000000000000..bac822e0dfa2 --- /dev/null +++ b/x11-misc/dxpc/files/digest-dxpc-3.8.2-r1 @@ -0,0 +1 @@ +MD5 3fbfb0e4bf769e64d27da331ecddbc9f dxpc-3.8.2.tar.gz 144909 diff --git a/x11-misc/dxpc/files/dxpc-3.8.2-lzo2.patch b/x11-misc/dxpc/files/dxpc-3.8.2-lzo2.patch new file mode 100644 index 000000000000..a8a227634799 --- /dev/null +++ b/x11-misc/dxpc/files/dxpc-3.8.2-lzo2.patch @@ -0,0 +1,287 @@ +diff -ru dxpc-3.8.2.orig/configure dxpc-3.8.2/configure +--- dxpc-3.8.2.orig/configure 2002-11-14 15:52:02.000000000 +1100 ++++ dxpc-3.8.2/configure 2005-11-13 19:16:57.000000000 +1100 +@@ -3102,16 +3597,19 @@ + fi + + +-echo "$as_me:$LINENO: checking for lzo_version in -llzo" >&5 +-echo $ECHO_N "checking for lzo_version in -llzo... $ECHO_C" >&6 +-if test "${ac_cv_lib_lzo_lzo_version+set}" = set; then ++echo "$as_me:$LINENO: checking for lzo_version in -llzo2" >&5 ++echo $ECHO_N "checking for lzo_version in -llzo2... $ECHO_C" >&6 ++if test "${ac_cv_lib_lzo2_lzo_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-llzo $LIBS" ++LIBS="-llzo2 $LIBS" + cat >conftest.$ac_ext <<_ACEOF +-#line $LINENO "configure" +-#include "confdefs.h" ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ + + /* Override any gcc2 internal prototype to avoid an error. */ + #ifdef __cplusplus +@@ -3130,29 +3628,41 @@ + _ACEOF + rm -f conftest.$ac_objext conftest$ac_exeext + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>&5 ++ (eval $ac_link) 2>conftest.er1 + ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -s conftest$ac_exeext' ++ { ac_try='test -z "$ac_cxx_werror_flag" ++ || test ! -s conftest.err' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; } && ++ { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then +- ac_cv_lib_lzo_lzo_version=yes ++ ac_cv_lib_lzo2_lzo_version=yes + else + echo "$as_me: failed program was:" >&5 +-cat conftest.$ac_ext >&5 +-ac_cv_lib_lzo_lzo_version=no ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ac_cv_lib_lzo2_lzo_version=no + fi +-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext ++rm -f conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_lzo_lzo_version" >&5 +-echo "${ECHO_T}$ac_cv_lib_lzo_lzo_version" >&6 +-if test $ac_cv_lib_lzo_lzo_version = yes; then +- LIBS="$LIBS -llzo" ++echo "$as_me:$LINENO: result: $ac_cv_lib_lzo2_lzo_version" >&5 ++echo "${ECHO_T}$ac_cv_lib_lzo2_lzo_version" >&6 ++if test $ac_cv_lib_lzo2_lzo_version = yes; then ++ LIBS="$LIBS -llzo2" + else + { { echo "$as_me:$LINENO: error: lzo library required: you may need to use the --with-lzo-lib + option to specify path to LZO if it is installed in a non-standard +@@ -3482,31 +4069,44 @@ + if test $ac_cv_header_lzoconf_h = yes; then + : + else +- if test "${ac_cv_header__usr_local_include_lzoconf_h+set}" = set; then +- echo "$as_me:$LINENO: checking for /usr/local/include/lzoconf.h" >&5 +-echo $ECHO_N "checking for /usr/local/include/lzoconf.h... $ECHO_C" >&6 +-if test "${ac_cv_header__usr_local_include_lzoconf_h+set}" = set; then ++ if test "${ac_cv_header__usr_include_lzo_lzoconf_h+set}" = set; then ++ echo "$as_me:$LINENO: checking for /usr/include/lzo/lzoconf.h" >&5 ++echo $ECHO_N "checking for /usr/include/lzo/lzoconf.h... $ECHO_C" >&6 ++if test "${ac_cv_header__usr_include_lzo_lzoconf_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + fi +-echo "$as_me:$LINENO: result: $ac_cv_header__usr_local_include_lzoconf_h" >&5 +-echo "${ECHO_T}$ac_cv_header__usr_local_include_lzoconf_h" >&6 ++echo "$as_me:$LINENO: result: $ac_cv_header__usr_include_lzo_lzoconf_h" >&5 ++echo "${ECHO_T}$ac_cv_header__usr_include_lzo_lzoconf_h" >&6 + else + # Is the header compilable? +-echo "$as_me:$LINENO: checking /usr/local/include/lzoconf.h usability" >&5 +-echo $ECHO_N "checking /usr/local/include/lzoconf.h usability... $ECHO_C" >&6 ++echo "$as_me:$LINENO: checking /usr/include/lzo/lzoconf.h usability" >&5 ++echo $ECHO_N "checking /usr/include/lzo/lzoconf.h usability... $ECHO_C" >&6 + cat >conftest.$ac_ext <<_ACEOF +-#line $LINENO "configure" +-#include "confdefs.h" ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ + $ac_includes_default +-#include </usr/local/include/lzoconf.h> ++#include </usr/include/lzo/lzoconf.h> + _ACEOF + rm -f conftest.$ac_objext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +- (eval $ac_compile) 2>&5 ++ (eval $ac_compile) 2>conftest.er1 + ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && +- { ac_try='test -s conftest.$ac_objext' ++ { ac_try='test -z "$ac_cxx_werror_flag" ++ || test ! -s conftest.err' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; } && ++ { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +@@ -3515,20 +4115,24 @@ + ac_header_compiler=yes + else + echo "$as_me: failed program was:" >&5 +-cat conftest.$ac_ext >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + ac_header_compiler=no + fi +-rm -f conftest.$ac_objext conftest.$ac_ext ++rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 + echo "${ECHO_T}$ac_header_compiler" >&6 + + # Is the header present? +-echo "$as_me:$LINENO: checking /usr/local/include/lzoconf.h presence" >&5 +-echo $ECHO_N "checking /usr/local/include/lzoconf.h presence... $ECHO_C" >&6 ++echo "$as_me:$LINENO: checking /usr/include/lzo/lzoconf.h presence" >&5 ++echo $ECHO_N "checking /usr/include/lzo/lzoconf.h presence... $ECHO_C" >&6 + cat >conftest.$ac_ext <<_ACEOF +-#line $LINENO "configure" +-#include "confdefs.h" +-#include </usr/local/include/lzoconf.h> ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include </usr/include/lzo/lzoconf.h> + _ACEOF + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +@@ -3558,33 +4164,50 @@ + echo "${ECHO_T}$ac_header_preproc" >&6 + + # So? What about this header? +-case $ac_header_compiler:$ac_header_preproc in +- yes:no ) +- { echo "$as_me:$LINENO: WARNING: /usr/local/include/lzoconf.h: accepted by the compiler, rejected by the preprocessor!" >&5 +-echo "$as_me: WARNING: /usr/local/include/lzoconf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { echo "$as_me:$LINENO: WARNING: /usr/local/include/lzoconf.h: proceeding with the preprocessor's result" >&5 +-echo "$as_me: WARNING: /usr/local/include/lzoconf.h: proceeding with the preprocessor's result" >&2;};; +- no:yes ) +- { echo "$as_me:$LINENO: WARNING: /usr/local/include/lzoconf.h: present but cannot be compiled" >&5 +-echo "$as_me: WARNING: /usr/local/include/lzoconf.h: present but cannot be compiled" >&2;} +- { echo "$as_me:$LINENO: WARNING: /usr/local/include/lzoconf.h: check for missing prerequisite headers?" >&5 +-echo "$as_me: WARNING: /usr/local/include/lzoconf.h: check for missing prerequisite headers?" >&2;} +- { echo "$as_me:$LINENO: WARNING: /usr/local/include/lzoconf.h: proceeding with the preprocessor's result" >&5 +-echo "$as_me: WARNING: /usr/local/include/lzoconf.h: proceeding with the preprocessor's result" >&2;};; ++case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in ++ yes:no: ) ++ { echo "$as_me:$LINENO: WARNING: /usr/include/lzo/lzoconf.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++echo "$as_me: WARNING: /usr/include/lzo/lzoconf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { echo "$as_me:$LINENO: WARNING: /usr/include/lzo/lzoconf.h: proceeding with the compiler's result" >&5 ++echo "$as_me: WARNING: /usr/include/lzo/lzoconf.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { echo "$as_me:$LINENO: WARNING: /usr/include/lzo/lzoconf.h: present but cannot be compiled" >&5 ++echo "$as_me: WARNING: /usr/include/lzo/lzoconf.h: present but cannot be compiled" >&2;} ++ { echo "$as_me:$LINENO: WARNING: /usr/include/lzo/lzoconf.h: check for missing prerequisite headers?" >&5 ++echo "$as_me: WARNING: /usr/include/lzo/lzoconf.h: check for missing prerequisite headers?" >&2;} ++ { echo "$as_me:$LINENO: WARNING: /usr/include/lzo/lzoconf.h: see the Autoconf documentation" >&5 ++echo "$as_me: WARNING: /usr/include/lzo/lzoconf.h: see the Autoconf documentation" >&2;} ++ { echo "$as_me:$LINENO: WARNING: /usr/include/lzo/lzoconf.h: section \"Present But Cannot Be Compiled\"" >&5 ++echo "$as_me: WARNING: /usr/include/lzo/lzoconf.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { echo "$as_me:$LINENO: WARNING: /usr/include/lzo/lzoconf.h: proceeding with the preprocessor's result" >&5 ++echo "$as_me: WARNING: /usr/include/lzo/lzoconf.h: proceeding with the preprocessor's result" >&2;} ++ { echo "$as_me:$LINENO: WARNING: /usr/include/lzo/lzoconf.h: in the future, the compiler will take precedence" >&5 ++echo "$as_me: WARNING: /usr/include/lzo/lzoconf.h: in the future, the compiler will take precedence" >&2;} ++ ( ++ cat <<\_ASBOX ++## ------------------------------------------ ## ++## Report this to the AC_PACKAGE_NAME lists. ## ++## ------------------------------------------ ## ++_ASBOX ++ ) | ++ sed "s/^/$as_me: WARNING: /" >&2 ++ ;; + esac +-echo "$as_me:$LINENO: checking for /usr/local/include/lzoconf.h" >&5 +-echo $ECHO_N "checking for /usr/local/include/lzoconf.h... $ECHO_C" >&6 +-if test "${ac_cv_header__usr_local_include_lzoconf_h+set}" = set; then ++echo "$as_me:$LINENO: checking for /usr/include/lzo/lzoconf.h" >&5 ++echo $ECHO_N "checking for /usr/include/lzo/lzoconf.h... $ECHO_C" >&6 ++if test "${ac_cv_header__usr_include_lzo_lzoconf_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else +- ac_cv_header__usr_local_include_lzoconf_h=$ac_header_preproc ++ ac_cv_header__usr_include_lzo_lzoconf_h=$ac_header_preproc + fi +-echo "$as_me:$LINENO: result: $ac_cv_header__usr_local_include_lzoconf_h" >&5 +-echo "${ECHO_T}$ac_cv_header__usr_local_include_lzoconf_h" >&6 ++echo "$as_me:$LINENO: result: $ac_cv_header__usr_include_lzo_lzoconf_h" >&5 ++echo "${ECHO_T}$ac_cv_header__usr_include_lzo_lzoconf_h" >&6 + + fi +-if test $ac_cv_header__usr_local_include_lzoconf_h = yes; then +- CXXFLAGS="$CXXFLAGS -I/usr/local/include" ++if test $ac_cv_header__usr_include_lzo_lzoconf_h = yes; then ++ CXXFLAGS="$CXXFLAGS -I/usr/include/lzo" + else + { { echo "$as_me:$LINENO: error: lzoconf.h required (part of LZO library)" >&5 + echo "$as_me: error: lzoconf.h required (part of LZO library)" >&2;} +diff -ru dxpc-3.8.2.orig/configure.in dxpc-3.8.2/configure.in +--- dxpc-3.8.2.orig/configure.in 2002-11-14 15:26:28.000000000 +1100 ++++ dxpc-3.8.2/configure.in 2005-11-13 19:14:06.000000000 +1100 +@@ -21,8 +21,8 @@ + dnl Checks for header files. + AC_PATH_XTRA + +-AC_CHECK_LIB(lzo, lzo_version, +- [LIBS="$LIBS -llzo"], ++AC_CHECK_LIB(lzo2, lzo_version, ++ [LIBS="$LIBS -llzo2"], + AC_MSG_ERROR( + [lzo library required: you may need to use the --with-lzo-lib + option to specify path to LZO if it is installed in a non-standard +@@ -31,8 +31,8 @@ + # The LZO installer likes to put headers in /usr/local/include, even on + # systems where that is not searched. Try to be nice and detect this case... + AC_CHECK_HEADER(lzoconf.h, , +- [AC_CHECK_HEADER(/usr/local/include/lzoconf.h, +- [CXXFLAGS="$CXXFLAGS -I/usr/local/include"], ++ [AC_CHECK_HEADER(/usr/include/lzo/lzoconf.h, ++ [CXXFLAGS="$CXXFLAGS -I/usr/include/lzo"], + AC_MSG_ERROR([lzoconf.h required (part of LZO library)]))]) + + AC_DEFUN(dxpc_ACCEPT_LENGTH_T, +--- dxpc-3.8.2/Makefile.in.orig 2005-11-13 19:28:00.000000000 +1100 ++++ dxpc-3.8.2/Makefile.in 2005-11-13 19:28:44.000000000 +1100 +@@ -53,12 +53,12 @@ + install: install.bin install.man + + install.bin: $(TARGET) +- $(srcdir)/mkinstalldirs $(bindir) +- $(INSTALL) $(TARGET) $(bindir)/$(TARGET) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) ++ $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)/$(TARGET) + + install.man: +- $(srcdir)/mkinstalldirs $(man1dir) +- $(INSTALL_DATA) $(TARGET).man $(man1dir)/$(TARGET).1 ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(man1dir) ++ $(INSTALL_DATA) $(TARGET).man $(DESTDIR)$(man1dir)/$(TARGET).1 + + clean: + -rm -f *~ *.o $(TARGET) pure_* quant_* *.bak core gmon.out |