diff options
author | Alin Năstac <mrness@gentoo.org> | 2009-08-16 08:05:49 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2009-08-16 08:05:49 +0000 |
commit | 1166bbe1b085dceaaba5a1bbeb9b9e6c7d31274f (patch) | |
tree | 3f9b17562b128c3c7197dc27b3e8cbdc62f8b1a7 /app-mobilephone | |
parent | Remove old patch (diff) | |
download | historical-1166bbe1b085dceaaba5a1bbeb9b9e6c7d31274f.tar.gz historical-1166bbe1b085dceaaba5a1bbeb9b9e6c7d31274f.tar.bz2 historical-1166bbe1b085dceaaba5a1bbeb9b9e6c7d31274f.zip |
Version bump. Skip locking test (#279960).
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'app-mobilephone')
-rw-r--r-- | app-mobilephone/gammu/ChangeLog | 8 | ||||
-rw-r--r-- | app-mobilephone/gammu/Manifest | 11 | ||||
-rw-r--r-- | app-mobilephone/gammu/files/gammu-1.25.0-skip-locktest.patch | 12 | ||||
-rw-r--r-- | app-mobilephone/gammu/gammu-1.25.0.ebuild | 84 |
4 files changed, 110 insertions, 5 deletions
diff --git a/app-mobilephone/gammu/ChangeLog b/app-mobilephone/gammu/ChangeLog index 7e0f86707dd9..4f7d1500259a 100644 --- a/app-mobilephone/gammu/ChangeLog +++ b/app-mobilephone/gammu/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-mobilephone/gammu # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.70 2009/06/15 21:24:16 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.71 2009/08/16 08:05:49 mrness Exp $ + +*gammu-1.25.0 (16 Aug 2009) + + 16 Aug 2009; Alin Năstac <mrness@gentoo.org> + +files/gammu-1.25.0-skip-locktest.patch, +gammu-1.25.0.ebuild: + Version bump. Skip locking test (#279960). 15 Jun 2009; Alin Năstac <mrness@gentoo.org> gammu-1.24.0-r1.ebuild: Add USB support (#270039). diff --git a/app-mobilephone/gammu/Manifest b/app-mobilephone/gammu/Manifest index a4b4acf10271..f3ffe0f1811d 100644 --- a/app-mobilephone/gammu/Manifest +++ b/app-mobilephone/gammu/Manifest @@ -3,16 +3,19 @@ Hash: SHA1 AUX gammu-1.22.1-assert.patch 8780 RMD160 39de83bf457ff06c3628c36f0053e7432792e8fb SHA1 090a5bbe8f1c19eac9867dccf7894436093be340 SHA256 ffd531c3fc6236716ab35f74f4e23c7f472eb8aa936e71e614efdea20f0e67b4 AUX gammu-1.22.1-skip-locktest.patch 584 RMD160 65e7f6ac7851d57c3096842841cf493f5c404f81 SHA1 5332aca814ba23b6da27be18f8a65192712085e0 SHA256 ff69362a3da7a7010bd0383f88c511db6786755a62ec430eb8ef676655a59f51 +AUX gammu-1.25.0-skip-locktest.patch 584 RMD160 b18e3187cba72b475c7d53ad96d5852d44641c79 SHA1 feb3a9ac71a4a10ee77f527c9f07c2b58a285139 SHA256 f8c754ba2111cbe8c97a8a53b815d4f4952e6e699df60422889bd3e06a3e3f66 DIST gammu-1.22.1.tar.bz2 1151897 RMD160 f5e8fdbd5281004af1ff49e9f11da13f2fc81531 SHA1 be48205d1c7c9957b6b3a4db11f08fcc14e2c651 SHA256 1dfbbd9b71dc333b1b674d4a881d5610e88b46755a8b5d677795f436031add6b DIST gammu-1.24.0.tar.bz2 1817681 RMD160 d525fa09dbcdba87cde6730edc5b55f0f412bd31 SHA1 9c4fc7474c33d3a40e6bf5a2efb7acbbf9b62dc5 SHA256 dbbacb5685b84d3ee181f9172e2818ebbb3b59b088149ebf320ce0c73e71ba1d +DIST gammu-1.25.0.tar.bz2 1838498 RMD160 034c2a202b3a425025f13a882dfbae428d91b631 SHA1 379f62217f8f26df2119c9b3204bfc126e3d2161 SHA256 be2c9600d781eb07e1e34975d59d09d8f8701cdb54f3d50a74707f4cdd2d63f5 EBUILD gammu-1.22.1-r2.ebuild 2181 RMD160 f4a14319407c4350bcd265488a53190cba04e3f2 SHA1 e7b929fb9260c25dddcdfc18c2528d3ce88445d9 SHA256 160337e948c1c189add16bd9bd7c86c753678af91d34f1a637e8d2b0e508c9d8 EBUILD gammu-1.24.0-r1.ebuild 2446 RMD160 1af01604b4eab488eea9c5be1c04a4186b09cc83 SHA1 95d3cc7b9c02c68905ed3098908e4154464a9dda SHA256 a1dc930d1bca45c5c29aa7ad08dcc9107ca5a97add89290e812c6ddf3666df26 -MISC ChangeLog 14066 RMD160 bc956948c5ebac94032c7659ff245dd6b4027e56 SHA1 32ee2c03b1292236d10ddf677c4da69ba211fd97 SHA256 32adcab3acb6d9897aaf4a181bb3a371922e20c46b7579560abc8ff783def4b5 +EBUILD gammu-1.25.0.ebuild 2491 RMD160 93638170316fc246ac4721ab0cc62e201bd65559 SHA1 540a9d45c72bb780df97c8e3bf7e4d86dae42e4a SHA256 feaf6666fa380faf908cfc09a13366ea907222808538677d3abb07062413d197 +MISC ChangeLog 14254 RMD160 081f05ecd2cba3ad9c01808345e615f9e0466720 SHA1 95d6d09ad237f94a13fd01a0c05aa83be3ca264d SHA256 e9c096d68290675dbe84d28103208f02057326274eaa4b0bdabf59c7cafbf513 MISC metadata.xml 286 RMD160 743a9047a6575f7be745a139257a9b73844c9d3a SHA1 a979e63d0fd5cd567c3068860face7f39729c804 SHA256 76fc99ccd4a9df8d5cc0c00d308cb99a56e36f48e2a1d6d4ed48f7d6e1e2a993 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAko2vDsACgkQts85UDFmaOWFAQCfVaIAa19Beg7S31cB1fDkjd1j -wpMAniZStkciukQhseJa7phsHJgnW2Q3 -=WFD6 +iEYEARECAAYFAkqHvegACgkQ9A5kJBGSrssznQCgkG9ROdk0Jzk3KgZxmIg5M7UP +I3AAnAuNwDQoYwZt6/+pJzxpbUBtmzdS +=1dpZ -----END PGP SIGNATURE----- diff --git a/app-mobilephone/gammu/files/gammu-1.25.0-skip-locktest.patch b/app-mobilephone/gammu/files/gammu-1.25.0-skip-locktest.patch new file mode 100644 index 000000000000..65a7be0f743c --- /dev/null +++ b/app-mobilephone/gammu/files/gammu-1.25.0-skip-locktest.patch @@ -0,0 +1,12 @@ +diff -Nru gammu-1.25.0.orig/tests/CMakeLists.txt gammu-1.25.0/tests/CMakeLists.txt +--- gammu-1.25.0.orig/tests/CMakeLists.txt 2009-08-16 01:08:09.000000000 +0200 ++++ gammu-1.25.0/tests/CMakeLists.txt 2009-08-16 01:40:36.000000000 +0200 +@@ -645,7 +645,7 @@ + + # Test for locking, only on !WIN32 and if we can write to lock dir + if (NOT WIN32) +- execute_process(COMMAND test -w /var/lock/ RESULT_VARIABLE VAR_LOCK_WRITABLE) ++ set (VAR_LOCK_WRITABLE 1) + if (VAR_LOCK_WRITABLE EQUAL 0) + add_executable(locking locking.c) + target_link_libraries(locking libGammu) diff --git a/app-mobilephone/gammu/gammu-1.25.0.ebuild b/app-mobilephone/gammu/gammu-1.25.0.ebuild new file mode 100644 index 000000000000..3eaf32452c11 --- /dev/null +++ b/app-mobilephone/gammu/gammu-1.25.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.25.0.ebuild,v 1.1 2009/08/16 08:05:49 mrness Exp $ + +EAPI="2" + +inherit cmake-utils distutils + +DESCRIPTION="a fork of the gnokii project, a tool to handle your cellular phone" +HOMEPAGE="http://www.gammu.org" +SRC_URI="http://dl.cihar.com/gammu/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="curl debug bluetooth irda mysql postgres dbi nls usb" + +RDEPEND="bluetooth? ( || ( net-wireless/bluez net-wireless/bluez-libs ) ) + curl? ( net-misc/curl ) + usb? ( dev-libs/libusb:1 ) + mysql? ( virtual/mysql ) + postgres? ( virtual/postgresql-server ) + dbi? ( >=dev-db/libdbi-0.8.3 ) + dev-util/dialog + dev-lang/python + !dev-python/python-gammu" # needs to be removed from the tree +DEPEND="${RDEPEND} + irda? ( virtual/os-headers ) + nls? ( sys-devel/gettext ) + dev-util/cmake" + +# sys-devel/gettext is needed for creating .mo files +# Supported languages and translated documentation +# Be sure all languages are prefixed with a single space! +MY_AVAILABLE_LINGUAS=" af bg ca cs da de el es et fi fr gl he hu id it ko nl pl pt_BR ru sk sv zh_CN zh_TW" +IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-skip-locktest.patch + + local lang support_linguas=no + for lang in ${MY_AVAILABLE_LINGUAS} ; do + if use linguas_${lang} ; then + support_linguas=yes + break + fi + done + # install all languages when all selected LINGUAS aren't supported + if [ "${support_linguas}" = "yes" ]; then + for lang in ${MY_AVAILABLE_LINGUAS} ; do + if ! use linguas_${lang} ; then + rm -rf locale/${lang} || die + fi + done + fi +} + +src_configure() { + # debug flag is used inside cmake-utils.eclass + local mycmakeargs="$(cmake-utils_use_with bluetooth Bluez) \ + $(cmake-utils_use_with irda IRDA) \ + $(cmake-utils_use_with curl CURL) \ + $(cmake-utils_use_with usb USB) \ + $(cmake-utils_use_with mysql MySQL) \ + $(cmake-utils_use_with postgres Postgres) \ + $(cmake-utils_use_with dbi LibDBI) \ + $(cmake-utils_use_with nls GettextLibs) \ + $(cmake-utils_use_with nls Iconv) \ + -DBUILD_SHARED_LIBS=ON -DINSTALL_DOC_DIR=share/doc/${PF} \ + -DBUILD_PYTHON=/usr/bin/python" + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_test() { + LD_LIBRARY_PATH="${WORKDIR}"/${PN}_build/common cmake-utils_src_test +} + +src_install() { + cmake-utils_src_install +} |