diff options
Diffstat (limited to 'app-mobilephone/obexftp')
10 files changed, 215 insertions, 0 deletions
diff --git a/app-mobilephone/obexftp/Manifest b/app-mobilephone/obexftp/Manifest new file mode 100644 index 000000000000..e97f25eceefa --- /dev/null +++ b/app-mobilephone/obexftp/Manifest @@ -0,0 +1,12 @@ +AUX obexftp-0.23-gentoo.patch 388 SHA256 0e2b62cdfad95d6994e87f6152006212564f408363f984efad5b8000de2adaca SHA512 73dba3d616e92f198d1ef7a1e3da720c83f5ce02869f9a677630e78451e360728db01fc98ab0a67b9e49ac04fbf801a27d5402dc2c210a82ac13fa57e94972cc WHIRLPOOL 9ea8e059d3bda9901b4224827d73aab4b00e447a4bc541b8980fa937fb0fe81453720e044d9a0c4d88772279ff326bd5ffef40773f85731b0856681667dacbcb +AUX obexftp-0.24-config.patch 165 SHA256 09f6ef542b3fef5c6859c386e6e9c891700c2f53b2adb93eea49ba79f7ae135c SHA512 8ac60a20d98c020d90d232d0c823052a6d183cca39405d72295136271a388e562586622ea5432edd94cdc0c52745381e03c7e162aba10fa9c07d6763570e66f4 WHIRLPOOL 768413fd44412c8a8b15d199dfdd0d36ff8117b3445127994e6eeaa149bc829d24cda9ad41cd194e6071eb44da000e09d98dd794447d3038e31e605d276dc485 +AUX obexftp-0.24-enable_bluetooth.patch 421 SHA256 586119e89ef7f0d644411ae11609f61dfb424c363a570021dbee684406ab02e3 SHA512 1ebd5ab061dc733f7d8b7650bd4c27bcd2eff8b816cb283afcc2c984332903ac6f9d4cd08e49e3b64e0bcf976d8781d561b6666e43d5567fa8ee2ec91a232902 WHIRLPOOL b07aa2ef06f0e62f66953b936c40fea699718dcf76dec22e5b8bf92146c4a02e1a5778e44d1f7c7d5f80973528d9bebefc7a576bcd4f98d28fb783f5f5ef6716 +AUX obexftp-0.24-fuse.patch 786 SHA256 3a5d64f8942e3714c206200ca70845e2842caff2fa65b6e03d8f39d127c897a0 SHA512 0c5fed0db46021056e21decb70d4c93a2e691e4f919447fb9ec3818376564ea742936104a07c77448456b5320030e0ce66678ba1f210d4a4c9c0942964db9838 WHIRLPOOL 6ffd7e6d4972c76bccf587c75a1bf369609ea16902805443b3c774b8100bb2589354dde100df19b5e547aa21c62899c327deba2d278fedc708a30dceff68a3f6 +AUX obexftp-0.24-norpath.patch 641 SHA256 dcb429c52f448c7c47eac1ffb9448abe15f938bd6979abd247dd9237326ceefb SHA512 876502ac2325e0969e9e8bcdb59325e6dce07468fc106b7fb44befcf6e45d766e7e333d58a5392e376d70baa1532fe5f93cfc7d6a8125735df54a09849e68203 WHIRLPOOL 78063744ada26351e02eaf71d956a130f8443a23ae0f1b461436abf5422fb27fd2058258d65bf2cb8f50b8919ade370bc53330fe9c222893bc5534c339ffb795 +AUX obexftp-0.24-pkgconfig_requires.patch 399 SHA256 46d5061156c6eb81f677e062b75ed0ebe6085a049419e5bf153df13941cdf4ba SHA512 ade75cf148d50223d30bd0a075303c8ca686dbf7f1e099c317e7a5d9d2b929743f5fd613b29a4c6af46b48e8a3dd74cd0db8d08df9823699dce6da9e84222749 WHIRLPOOL 51df49a712691e66c80ea9c8b5da6b3fe79249f0df66e48b8d700fbbfb68fc357d457dd229200eed60b938cb4f44a1e0c6a39943dbb8dbf3593883ddcc7e91a2 +AUX obexftp-0.24-python_sitedir.patch 544 SHA256 e5a0d4d6e68c699a80ca1f43ced72a4428234a989d3dba43cd8b217b3b94d8e8 SHA512 519e77d8a3ff4b7a9779e350191b8389c27f7bf42abd44704508341d9fdabb0bf9b456fc4cccd93779fc4b54ddcf3cabb38e55f2ea3389b90a85e27de18e0b6a WHIRLPOOL fd9f44eeb483652018a68c9550edd1196d0a72efa9649e38bbfcba1bd9e9989a41d6f4168e24679d9623df65718191ccb6220e660f95e94ce775ea7a2ce5bd0e +DIST obexftp-0.24-Source.tar.gz 88154 SHA256 b907965608bf0e60c69bc45f074ce1a2ffeb809b4502a7082c6d95e3c73dfe6b SHA512 785449665f5e9269d7bfd15f379bd8fbad321780292e56341e2089d6894255b7301fc23bb27a80e4e6f6317a130b658dedd307b7ece0fd31ef8f1a109c6f21b9 WHIRLPOOL 9f6fd5df3fbc8fa161ecff091b02932ac73e60d6a6eb1e15a32d9b871e6668fd86d0c4d6027f13c724cc1e7a8b40e1e02f8c0c32f0ac43076193e2048ba751df +EBUILD obexftp-0.24-r1.ebuild 1807 SHA256 eda4c11e5e902ca24ca09b3b4e1efce09f751d6479ffe06ea3fd2f248a7a344f SHA512 6705c41199da103ade14f53e9266ef5a1b02fdfa433a99a967ef505db99471fec40cd1aa5a530c44abeace53bb5a5ac9ee5dc4c158b22deab2c0b59ba1a185f7 WHIRLPOOL 219102a888d4d90b2890501830c7b0f7c0fe5003be7ec8d262c9e2f6ee219410ec7cfab4da658b629d3a47f1e88d2417999d7b1595466fee39db154080b7e1e5 +MISC ChangeLog 3959 SHA256 af143454e7312f42e943cb5fe8c25fe0c70950cc2c7039b384c7cac1b5309090 SHA512 fa6e020a785554ea71b3a13ae1d11480d18a0abd961d5dcccf3569a1f884e9c48d84b7fac9fee7e4b4b0188636be4ec389dd24fcd053732d3fe0244863e153c1 WHIRLPOOL 67cbb8135a09c227906126ef8a3b3fd7e7f319dfc92832f4210d266480f4c5fca8ff23e25edeb5e42ef8692a2b98c23afdd8257437714b267982c20e01c4f946 +MISC ChangeLog-2015 16328 SHA256 ce167861471401317ff04ab7e8ea8e7d1d9428bc6ac5900bf2f668865d046d4f SHA512 985fbf4f50712fde55db017a71f46318256c8883efdc90681ed1953f388b993416faa5776e9326fe8aa214a289899ac10f3823d8cf8889716fd6ae388cbdef5b WHIRLPOOL 26b286483efe371b1392b43628370cd7bdb45020130b85a6b167d04da4976d17b66923ea36390b6354d8d260d6382a2ab12aaf523288bb8ee83391b0aab72a44 +MISC metadata.xml 245 SHA256 43e733f76537cc36ae7e851f608283a4273eaca40ff1afc83cd5645431f09f20 SHA512 f2f864248cda1ce42c75a7d993ea9d80592f4b5bf957ba7d10e3a26d55429720530c96974403e9d732e2ca67724645f7dfb8b880617a3cc6a3b9d36dd201f433 WHIRLPOOL a6a920218ea57d05f193af842047e1a3691fef3242519519b797d3ae965acec3f85fd5372dab22a3df49d080ff0a9e9e9d266ae93ec1bb99981b7af96165421c diff --git a/app-mobilephone/obexftp/files/obexftp-0.23-gentoo.patch b/app-mobilephone/obexftp/files/obexftp-0.23-gentoo.patch new file mode 100644 index 000000000000..caf0611ff071 --- /dev/null +++ b/app-mobilephone/obexftp/files/obexftp-0.23-gentoo.patch @@ -0,0 +1,22 @@ +--- a/obexftp/client.c ++++ b/obexftp/client.c +@@ -51,8 +51,6 @@ + + #ifdef HAVE_BLUETOOTH + #include "bt_kit.h" +-#else +-#define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT + #endif /* HAVE_BLUETOOTH */ + + #include <openobex/obex.h> +--- a/apps/obexftp.c ++++ b/apps/obexftp.c +@@ -29,6 +29,8 @@ + + #include <sys/types.h> + ++#include <config.h> ++ + #ifdef HAVE_SYS_TIMES_H + #include <sys/times.h> + #endif diff --git a/app-mobilephone/obexftp/files/obexftp-0.24-config.patch b/app-mobilephone/obexftp/files/obexftp-0.24-config.patch new file mode 100644 index 000000000000..f923a4b0ed2c --- /dev/null +++ b/app-mobilephone/obexftp/files/obexftp-0.24-config.patch @@ -0,0 +1,11 @@ +--- a/apps/obexftp.c ++++ b/apps/obexftp.c +@@ -43,8 +43,6 @@ + + #include <common.h> + +-#include <config.h> +- + #ifdef HAVE_SYS_TIMES_H + #include <sys/times.h> + #endif diff --git a/app-mobilephone/obexftp/files/obexftp-0.24-enable_bluetooth.patch b/app-mobilephone/obexftp/files/obexftp-0.24-enable_bluetooth.patch new file mode 100644 index 000000000000..ff72fff17e7c --- /dev/null +++ b/app-mobilephone/obexftp/files/obexftp-0.24-enable_bluetooth.patch @@ -0,0 +1,16 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -52,11 +52,13 @@ + # + # some code is only included if bluetooth is available + # ++if ( ENABLE_BLUETOOTH ) + find_package ( Bluetooth ) + if ( Bluetooth_FOUND ) + include_directories ( ${Bluetooth_INCLUDE_DIRS} ) + add_definitions ( -DHAVE_BLUETOOTH -DHAVE_SDP ) + endif ( Bluetooth_FOUND ) ++endif ( ENABLE_BLUETOOTH ) + + add_subdirectory ( bfb ) + add_subdirectory ( multicobex ) diff --git a/app-mobilephone/obexftp/files/obexftp-0.24-fuse.patch b/app-mobilephone/obexftp/files/obexftp-0.24-fuse.patch new file mode 100644 index 000000000000..260cfc2d9a56 --- /dev/null +++ b/app-mobilephone/obexftp/files/obexftp-0.24-fuse.patch @@ -0,0 +1,35 @@ +From 2cc82e0ab5a30eaab5461dcc4eed41b095edba3f Mon Sep 17 00:00:00 2001 +From: Hendrik Sattler <post@hendrik-sattler.de> +Date: Sun, 11 Aug 2013 20:27:29 +0200 +Subject: [PATCH] Install fuse apps + +--- + fuse/CMakeLists.txt | 7 ++++++- + 1 files changed, 6 insertions(+), 1 deletions(-) + +diff --git a/fuse/CMakeLists.txt b/fuse/CMakeLists.txt +index c31a5fc..7d5f7ea 100644 +--- a/fuse/CMakeLists.txt ++++ b/fuse/CMakeLists.txt +@@ -14,7 +14,6 @@ if ( Fuse_FOUND ) + ${Fuse_LIBRARIES} + ) + +- + add_executable ( obexautofs + obexautofs.c + ) +@@ -23,4 +22,10 @@ if ( Fuse_FOUND ) + obexftp + ${Fuse_LIBRARIES} + ) ++ ++ install ( TARGETS obexfs obexautofs ++ RUNTIME ++ DESTINATION ${CMAKE_INSTALL_BINDIR} ++ COMPONENT applications ++ ) + endif ( Fuse_FOUND ) +-- +1.7.1 + diff --git a/app-mobilephone/obexftp/files/obexftp-0.24-norpath.patch b/app-mobilephone/obexftp/files/obexftp-0.24-norpath.patch new file mode 100644 index 000000000000..75a240177182 --- /dev/null +++ b/app-mobilephone/obexftp/files/obexftp-0.24-norpath.patch @@ -0,0 +1,11 @@ +--- obexftp-0.22/swig/perl/Makefile.PL.in.norpath 2007-07-11 21:22:30.000000000 +0200 ++++ obexftp-0.22/swig/perl/Makefile.PL.in 2007-08-06 20:17:39.000000000 +0200 +@@ -11,7 +11,7 @@ WriteMakefile( + 'INC' => q[-I@top_srcdir@ @CPPFLAGS@], + # Default value for LDDLFLAGS is $Config{lddlflags}="-shared -L/usr/local/lib" + # but we want rpath to be @libdir@ or @exec_prefix@/lib +- 'LDDLFLAGS' => q[-shared -Wl,-rpath=@prefix@/lib], ++ 'LDDLFLAGS' => q[-shared], + 'LIBS' => q[-L@top_builddir@/obexftp/.libs -lobexftp + -L@top_builddir@/multicobex/.libs -lmulticobex + -L@top_builddir@/bfb/.libs -lbfb diff --git a/app-mobilephone/obexftp/files/obexftp-0.24-pkgconfig_requires.patch b/app-mobilephone/obexftp/files/obexftp-0.24-pkgconfig_requires.patch new file mode 100644 index 000000000000..ded4a583330f --- /dev/null +++ b/app-mobilephone/obexftp/files/obexftp-0.24-pkgconfig_requires.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -71,7 +71,7 @@ + set ( exec_prefix "\${prefix}" ) + set ( libdir "\${prefix}/${CMAKE_INSTALL_LIBDIR}" ) + set ( includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}" ) +-set ( REQUIRES "bluetooth openobex" ) ++set ( REQUIRES "bluez openobex" ) + configure_file ( + ${CMAKE_CURRENT_SOURCE_DIR}/obexftp.pc.in + ${CMAKE_CURRENT_BINARY_DIR}/obexftp.pc diff --git a/app-mobilephone/obexftp/files/obexftp-0.24-python_sitedir.patch b/app-mobilephone/obexftp/files/obexftp-0.24-python_sitedir.patch new file mode 100644 index 000000000000..24cc46050ab4 --- /dev/null +++ b/app-mobilephone/obexftp/files/obexftp-0.24-python_sitedir.patch @@ -0,0 +1,16 @@ +--- a/swig/python/CMakeLists.txt ++++ b/swig/python/CMakeLists.txt +@@ -40,11 +40,13 @@ + OUTPUT_VARIABLE PYTHON_PREFIX + ) + file ( TO_CMAKE_PATH "${PYTHON_PREFIX}" PYTHON_PREFIX ) ++if ( NOT PYTHON_SITE_DIR ) + execute_process ( + COMMAND ${PYTHON_EXECUTABLE} -c + "import site, sys; sys.stdout.write(site.getsitepackages()[-1])" + OUTPUT_VARIABLE PYTHON_SITE_DIR + ) ++endif ( PYTHON_SITE_DIR ) + file ( TO_CMAKE_PATH "${PYTHON_SITE_DIR}" PYTHON_SITE_DIR ) + string ( REGEX REPLACE "^${PYTHON_PREFIX}/" "" + PYTHON_SITE_DIR "${PYTHON_SITE_DIR}" diff --git a/app-mobilephone/obexftp/metadata.xml b/app-mobilephone/obexftp/metadata.xml new file mode 100644 index 000000000000..1b474448ed2d --- /dev/null +++ b/app-mobilephone/obexftp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">openobex</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-mobilephone/obexftp/obexftp-0.24-r1.ebuild b/app-mobilephone/obexftp/obexftp-0.24-r1.ebuild new file mode 100644 index 000000000000..75435dde82e0 --- /dev/null +++ b/app-mobilephone/obexftp/obexftp-0.24-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +USE_RUBY="ruby21 ruby22" + +inherit cmake-utils python-single-r1 python-utils-r1 ruby-single eutils multilib + +DESCRIPTION="File transfer over OBEX for mobile phones" +HOMEPAGE="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp" +SRC_URI="mirror://sourceforge/openobex/${P}-Source.tar.gz" +SLOT="0" + +LICENSE="GPL-2" +KEYWORDS="amd64 hppa ppc x86" + +# bluetooth support is not really optional, bug #529068 +IUSE="perl python ruby tcl" #bluetooth +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/openobex-1.7 + net-wireless/bluez + perl? ( dev-lang/perl:= ) + python? ( ${PYTHON_DEPS} ) + ruby? ( ${RUBY_DEPS} ) + tcl? ( dev-lang/tcl:0= ) +" +DEPEND=" + ${RDEPEND} + perl? ( dev-lang/swig ) + python? ( dev-lang/swig ) + ruby? ( dev-lang/swig ) + tcl? ( dev-lang/swig ) + virtual/pkgconfig +" + +S=${WORKDIR}/${P}-Source + +DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.23-gentoo.patch + "${FILESDIR}"/${PN}-0.24-config.patch + "${FILESDIR}"/${PN}-0.24-enable_bluetooth.patch + "${FILESDIR}"/${PN}-0.24-python_sitedir.patch + "${FILESDIR}"/${PN}-0.24-norpath.patch + "${FILESDIR}"/${PN}-0.24-fuse.patch + "${FILESDIR}"/${PN}-0.24-pkgconfig_requires.patch +) + +src_configure() { +# -DENABLE_BLUETOOTH=$(usex bluetooth) + local mycmakeargs=( + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_SKIP_RPATH=ON + -DENABLE_PERL=$(usex perl) + -DENABLE_BLUETOOTH=yes + -DENABLE_PYTHON=$(usex python) + $(usex python -DPYTHON_SITE_DIR=$(python_get_sitedir) '') + -DENABLE_RUBY=$(usex ruby) + -DENABLE_TCL=$(usex tcl) + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + rm -rf "${ED}"/usr/share/doc/${PN}/html || die #524866 +} |