summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-08-25 19:17:05 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-08-25 19:17:05 +0000
commita0e28928862a9cf32e7394fe8c0b627047270add (patch)
tree701e86e5070474ceb0ac1a2398754504db93eccd /app-pda
parentTemporarily p.mask'ed >=app-pda/pilot-link-0.12.2 to allow for further testing. (diff)
downloadhistorical-a0e28928862a9cf32e7394fe8c0b627047270add.tar.gz
historical-a0e28928862a9cf32e7394fe8c0b627047270add.tar.bz2
historical-a0e28928862a9cf32e7394fe8c0b627047270add.zip
Version bump to 0.12.2. Temporarily package.mask'ed to allow for further testing.
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/pilot-link/ChangeLog14
-rw-r--r--app-pda/pilot-link/Manifest54
-rw-r--r--app-pda/pilot-link/files/digest-pilot-link-0.12.23
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.2-bluez.patch52
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.2-java-compile.patch35
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.2-java-install.patch26
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.2-m4.patch10
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.2-png.patch85
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.2-readline.patch43
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.2-threads.patch17
-rw-r--r--app-pda/pilot-link/pilot-link-0.12.2.ebuild97
11 files changed, 421 insertions, 15 deletions
diff --git a/app-pda/pilot-link/ChangeLog b/app-pda/pilot-link/ChangeLog
index c97d047c6ca1..e1654d2cd672 100644
--- a/app-pda/pilot-link/ChangeLog
+++ b/app-pda/pilot-link/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for app-pda/pilot-link
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v 1.27 2007/01/11 18:19:24 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v 1.28 2007/08/25 19:17:04 philantrop Exp $
+
+*pilot-link-0.12.2 (25 Aug 2007)
+
+ 25 Aug 2007; Wulf C. Krueger <philantrop@gentoo.org>
+ +files/pilot-link-0.12.2-bluez.patch,
+ +files/pilot-link-0.12.2-java-compile.patch,
+ +files/pilot-link-0.12.2-java-install.patch,
+ +files/pilot-link-0.12.2-m4.patch, +files/pilot-link-0.12.2-png.patch,
+ +files/pilot-link-0.12.2-readline.patch,
+ +files/pilot-link-0.12.2-threads.patch, +pilot-link-0.12.2.ebuild:
+ Version bump to 0.12.2. Temporarily package.mask'ed to allow for further
+ testing.
11 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org>
pilot-link-0.11.8-r1.ebuild:
diff --git a/app-pda/pilot-link/Manifest b/app-pda/pilot-link/Manifest
index aea3f7d67e63..db453faebc6a 100644
--- a/app-pda/pilot-link/Manifest
+++ b/app-pda/pilot-link/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX pilot-link-0.11.8-java_compile_amd64.patch 579 RMD160 7dba17a59a303154acbd640e78f9028b54de0507 SHA1 6903a1624d566733c7336735b3ddbc92c8610e6f SHA256 e2e6ce08665b39c4f945eae58c2554ad9f2bdbf13c8f19cc3cbf01f8f319bf07
MD5 bf74434daf1ebd09156aad1d90c93675 files/pilot-link-0.11.8-java_compile_amd64.patch 579
RMD160 7dba17a59a303154acbd640e78f9028b54de0507 files/pilot-link-0.11.8-java_compile_amd64.patch 579
@@ -29,7 +26,36 @@ AUX pilot-link-0.11.8-netsync.patch 4371 RMD160 b5dc7a9fbce293551d0dd264b80ff98b
MD5 cc5d291e67e5ebc1caa5cc3c401f3ced files/pilot-link-0.11.8-netsync.patch 4371
RMD160 b5dc7a9fbce293551d0dd264b80ff98bade3dc5f files/pilot-link-0.11.8-netsync.patch 4371
SHA256 5d64928b175e73c964b142c7a574d0e173633bb785f85b1468a83bf35d83ff5e files/pilot-link-0.11.8-netsync.patch 4371
+AUX pilot-link-0.12.2-bluez.patch 2081 RMD160 a1f04c12769099bc4c3a4523a01dd5b492e0f21e SHA1 a02d1fba5ce8da36f0770429ddfe716311589850 SHA256 78a06fe2dbac5b81bcb60e6d3145accde269513011a94c7568293b415fd0df2c
+MD5 0f75f042b017c77d03bae4ac2e3be0ac files/pilot-link-0.12.2-bluez.patch 2081
+RMD160 a1f04c12769099bc4c3a4523a01dd5b492e0f21e files/pilot-link-0.12.2-bluez.patch 2081
+SHA256 78a06fe2dbac5b81bcb60e6d3145accde269513011a94c7568293b415fd0df2c files/pilot-link-0.12.2-bluez.patch 2081
+AUX pilot-link-0.12.2-java-compile.patch 1040 RMD160 4a3139dfeb622dfc03c726506e7adc1c6db08da0 SHA1 d197569f3732e07ab42e7c7b5d43591ea7bd0630 SHA256 172f85b81309c752c08e4c61977a65720d63b71bff9c4b10a2f44f608e71c7dc
+MD5 7dd778f6a1c7540c0d895fcab5b30932 files/pilot-link-0.12.2-java-compile.patch 1040
+RMD160 4a3139dfeb622dfc03c726506e7adc1c6db08da0 files/pilot-link-0.12.2-java-compile.patch 1040
+SHA256 172f85b81309c752c08e4c61977a65720d63b71bff9c4b10a2f44f608e71c7dc files/pilot-link-0.12.2-java-compile.patch 1040
+AUX pilot-link-0.12.2-java-install.patch 829 RMD160 e79900b530838674679304d124417c906170e0ba SHA1 2bb68afa4c4cbdd9d810367fe2e6bba3a361bdc9 SHA256 4f8300bb195fed5b9ec7f567050ab6f2808bdfdd5898349e4bb494440dad3470
+MD5 62ef135fa2798b87870a98e735b05412 files/pilot-link-0.12.2-java-install.patch 829
+RMD160 e79900b530838674679304d124417c906170e0ba files/pilot-link-0.12.2-java-install.patch 829
+SHA256 4f8300bb195fed5b9ec7f567050ab6f2808bdfdd5898349e4bb494440dad3470 files/pilot-link-0.12.2-java-install.patch 829
+AUX pilot-link-0.12.2-m4.patch 249 RMD160 4ccd77fc9ab445e459a45bc542f9b06a88e4ae3a SHA1 48cf3e0e47a1680fc0593126c55f47b7840975b3 SHA256 34d9ce38e4bb9eaa748ecd24b34f58bafa1cb4c5f4f2603b350b25545e2f0f75
+MD5 96754dbac2a51e5c8a6273c6b565935b files/pilot-link-0.12.2-m4.patch 249
+RMD160 4ccd77fc9ab445e459a45bc542f9b06a88e4ae3a files/pilot-link-0.12.2-m4.patch 249
+SHA256 34d9ce38e4bb9eaa748ecd24b34f58bafa1cb4c5f4f2603b350b25545e2f0f75 files/pilot-link-0.12.2-m4.patch 249
+AUX pilot-link-0.12.2-png.patch 2315 RMD160 4b8eccad718d85941b0ec85cac52f8fca70d351b SHA1 6fe7a4b498b7dcdd24e2f0e87e9f0febf24d098c SHA256 603170b9c4fee59bc380c8ea5923bae3621562976ce74345b1eb80ec7d7aeea7
+MD5 514221a746e1e42e0c8dcfece1afaeb9 files/pilot-link-0.12.2-png.patch 2315
+RMD160 4b8eccad718d85941b0ec85cac52f8fca70d351b files/pilot-link-0.12.2-png.patch 2315
+SHA256 603170b9c4fee59bc380c8ea5923bae3621562976ce74345b1eb80ec7d7aeea7 files/pilot-link-0.12.2-png.patch 2315
+AUX pilot-link-0.12.2-readline.patch 1833 RMD160 f611873187e425064e1a26ce213e53a4ee194e5b SHA1 cf4094d418d3e4114156b0b73d13fafc56c2d551 SHA256 54e01146ed97e5c020454fae5bb8284f3127eaf10d7deb79b638880fddf28478
+MD5 10f765aefb688c80144b501578380e01 files/pilot-link-0.12.2-readline.patch 1833
+RMD160 f611873187e425064e1a26ce213e53a4ee194e5b files/pilot-link-0.12.2-readline.patch 1833
+SHA256 54e01146ed97e5c020454fae5bb8284f3127eaf10d7deb79b638880fddf28478 files/pilot-link-0.12.2-readline.patch 1833
+AUX pilot-link-0.12.2-threads.patch 711 RMD160 ec02e4300777b100ab51af6605028dee4b709db7 SHA1 3649f4955f18b2cf7e29651e3cb9140048601794 SHA256 985b15bdd25ee3a167048be62ddd43fe1d74482d6cb7802ffe04454d967ae293
+MD5 8c2f9288c633cfdda4820d7ccec428c4 files/pilot-link-0.12.2-threads.patch 711
+RMD160 ec02e4300777b100ab51af6605028dee4b709db7 files/pilot-link-0.12.2-threads.patch 711
+SHA256 985b15bdd25ee3a167048be62ddd43fe1d74482d6cb7802ffe04454d967ae293 files/pilot-link-0.12.2-threads.patch 711
DIST pilot-link-0.11.8.tar.bz2 649034 RMD160 c51c069810edff6c2e38e4c81f2daa959c902ad4 SHA1 645d4bc49dd4dc4793d13b6e04dd61f24c2bf717 SHA256 952a97df5d13d926f0d5ce487e15268b1400fa0e7c43ea9303fba92818cce1cb
+DIST pilot-link-0.12.2.tar.bz2 964014 RMD160 3ae19f16b28c33cccb19fa218cdad4353d479875 SHA1 29a2b355ad8b0680e655c7e1ffa1ebef1b2ad5d9 SHA256 809df99a97aae215f93c1a0863644c0d3411462a5bac2d16d4d8941ce9c6d150
EBUILD pilot-link-0.11.8-r1.ebuild 2224 RMD160 35d6614b3052de7d2340bc6dd825f482cddc4b40 SHA1 c10396cd30024a7ee4da0a5f8fbcfa159f4eeba9 SHA256 1987c517d4ce52233d5fdf19c4bde52c273fb0fb0c29c13e4f39287731af46d6
MD5 c8de0c0dc04ff2aa7c8f8d3ce955474a pilot-link-0.11.8-r1.ebuild 2224
RMD160 35d6614b3052de7d2340bc6dd825f482cddc4b40 pilot-link-0.11.8-r1.ebuild 2224
@@ -38,10 +64,14 @@ EBUILD pilot-link-0.11.8.ebuild 1868 RMD160 5a875f902c68f34126170e10f0cfff2ec1c9
MD5 d02b81f6ee7d4180aa130f90df0011b5 pilot-link-0.11.8.ebuild 1868
RMD160 5a875f902c68f34126170e10f0cfff2ec1c93723 pilot-link-0.11.8.ebuild 1868
SHA256 292c7334c253d5d7b59591a1faf81f1cc6e210b16670c583126281bb3e13812b pilot-link-0.11.8.ebuild 1868
-MISC ChangeLog 7341 RMD160 4a760caa92a1787c294a140ea3b12c10641f64f7 SHA1 e1c025021a45fa763f36fc63a11a212fceeec68b SHA256 82ebffc7af36795bbaf2734bdf6977ff4234b0bb7be85b9c16173d17ec2a298b
-MD5 358293f956d050a5182a72f223b39ee2 ChangeLog 7341
-RMD160 4a760caa92a1787c294a140ea3b12c10641f64f7 ChangeLog 7341
-SHA256 82ebffc7af36795bbaf2734bdf6977ff4234b0bb7be85b9c16173d17ec2a298b ChangeLog 7341
+EBUILD pilot-link-0.12.2.ebuild 2495 RMD160 580789024b678091ea5f86a671b95224112a05ec SHA1 9a11fc71f5d2350f32c872ec218edd18256a2e03 SHA256 9fff695f88a6957ad1ce90591b9e8c10ab82510b49bf71bdfb16b3a55c2016db
+MD5 2328ab0158c532332eb08142feb363cf pilot-link-0.12.2.ebuild 2495
+RMD160 580789024b678091ea5f86a671b95224112a05ec pilot-link-0.12.2.ebuild 2495
+SHA256 9fff695f88a6957ad1ce90591b9e8c10ab82510b49bf71bdfb16b3a55c2016db pilot-link-0.12.2.ebuild 2495
+MISC ChangeLog 7838 RMD160 ace3af8308d47a39a18e9712901f7df5a119fe2e SHA1 ef00fe4f61fadea0352de78634f5b42cd4bf0e4f SHA256 f7781085c305c3c27dac13e3b1d9e3895052edeffeab750ea359373c4ee69d76
+MD5 d352947d53740e1b51b14d442e2efee1 ChangeLog 7838
+RMD160 ace3af8308d47a39a18e9712901f7df5a119fe2e ChangeLog 7838
+SHA256 f7781085c305c3c27dac13e3b1d9e3895052edeffeab750ea359373c4ee69d76 ChangeLog 7838
MISC metadata.xml 156 RMD160 6a6d0f6bfe83e3a54c2d72444564ed6ab19857fe SHA1 5b9cb277159d763c133920e483df8d3d587cf7e2 SHA256 7f72b73f6e0d6e26603d85e52cca524711faddf6b516640104c3b82aab4754fb
MD5 075fea99b82d61028585dc3e42f00466 metadata.xml 156
RMD160 6a6d0f6bfe83e3a54c2d72444564ed6ab19857fe metadata.xml 156
@@ -52,10 +82,6 @@ SHA256 b39f04cd4a26d67ed6c734711294ddea154d39f4c7a2c61827c7fa54f12d7e49 files/di
MD5 f0b71efcfee6b2f485c997bb221df48c files/digest-pilot-link-0.11.8-r1 256
RMD160 38347f53c10bc8ae368fa3753865131a970b248b files/digest-pilot-link-0.11.8-r1 256
SHA256 b39f04cd4a26d67ed6c734711294ddea154d39f4c7a2c61827c7fa54f12d7e49 files/digest-pilot-link-0.11.8-r1 256
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux)
-
-iD8DBQFFpn+2KRy60XGEcJIRAtvCAJ43LDGxS+linFZY7nw4g1Y8QZQBmACfUCbT
-975vFxAP9IZSYDZifjLrFEg=
-=3HJO
------END PGP SIGNATURE-----
+MD5 2d3563e047f94fe8adc2d327ff046b32 files/digest-pilot-link-0.12.2 256
+RMD160 1c7ca253534c3a18eba1c760b3bd71a143fafc23 files/digest-pilot-link-0.12.2 256
+SHA256 8e247afc68e1f741adcff994523248987e858ee23c07b3887ae03cb62d095ace files/digest-pilot-link-0.12.2 256
diff --git a/app-pda/pilot-link/files/digest-pilot-link-0.12.2 b/app-pda/pilot-link/files/digest-pilot-link-0.12.2
new file mode 100644
index 000000000000..a009738149ee
--- /dev/null
+++ b/app-pda/pilot-link/files/digest-pilot-link-0.12.2
@@ -0,0 +1,3 @@
+MD5 c1f4db8f32a2ee916fedb9a2dac8aa26 pilot-link-0.12.2.tar.bz2 964014
+RMD160 3ae19f16b28c33cccb19fa218cdad4353d479875 pilot-link-0.12.2.tar.bz2 964014
+SHA256 809df99a97aae215f93c1a0863644c0d3411462a5bac2d16d4d8941ce9c6d150 pilot-link-0.12.2.tar.bz2 964014
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-bluez.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-bluez.patch
new file mode 100644
index 000000000000..d6bb4da22db6
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.2-bluez.patch
@@ -0,0 +1,52 @@
+diff -Naur pilot-link-0.12.2.orig/configure.ac pilot-link-0.12.2/configure.ac
+--- pilot-link-0.12.2.orig/configure.ac 2007-02-09 22:50:17.000000000 +0100
++++ pilot-link-0.12.2/configure.ac 2007-08-25 18:49:58.000000000 +0200
+@@ -346,27 +346,32 @@
+ use_bluez=no
+ msg_bluez=no
+
+-PKG_CHECK_MODULES(BLUEZ, bluez, have_bluez=yes, AC_MSG_RESULT(no))
++AC_ARG_WITH([bluez], AS_HELP_STRING([--without-bluez], [Build without BlueZ bluetooth support (default: test)]))
+
+-AC_MSG_CHECKING([for BlueZ bluetooth support])
+-AC_ARG_WITH(bluez,
++if test "x$with_bluez" != "xno"; then
++ PKG_CHECK_MODULES(BLUEZ, bluez, have_bluez=yes, AC_MSG_RESULT(no))
++
++ AC_MSG_CHECKING([for BlueZ bluetooth support])
++ AC_ARG_WITH(bluez,
+ AC_HELP_STRING([--with-bluez],
+- [Enable usage of BlueZ]),,
++ [Enable usage of BlueZ]),[use_bluez="$withval"],
+ use_bluez=auto)
+-if test "x$use_bluez" != "xno"; then
+- if test "x$have_bluez" = xno && test "x$use_bluez" = xyes; then
+- AC_MSG_ERROR([BlueZ explicitly requested but no support found])
+- fi
+- if test "x$have_bluez" = xyes; then
+- AC_DEFINE(HAVE_BLUEZ, 1, [Define if we have BlueZ bluetooth support])
+- AC_MSG_RESULT([enabled])
+- msg_bluez="yes"
+- else
+- AC_MSG_RESULT([not found])
+- fi
++ if test "x$use_bluez" != "xno"; then
++ if test "x$have_bluez" = xno && test "x$use_bluez" = xyes; then
++ AC_MSG_ERROR([BlueZ explicitly requested but no support found])
++ fi
++ use_bluez="$have_bluez"
++ if test "x$have_bluez" = xyes; then
++ AC_DEFINE(HAVE_BLUEZ, 1, [Define if we have BlueZ bluetooth support])
++ AC_MSG_RESULT([enabled])
++ msg_bluez="yes"
++ else
++ AC_MSG_RESULT([not found])
++ fi
++ fi
+ fi
+
+-AM_CONDITIONAL(WITH_BLUEZ, test x$have_bluez = "xyes")
++AM_CONDITIONAL(WITH_BLUEZ, test x$use_bluez != "xno")
+
+
+ dnl *********************************
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-java-compile.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-java-compile.patch
new file mode 100644
index 000000000000..8974a21c86f7
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.2-java-compile.patch
@@ -0,0 +1,35 @@
+diff --git a/bindings/Java/Makefile.am b/bindings/Java/Makefile.am
+index a2ead24..1500dcd 100644
+--- a/bindings/Java/Makefile.am
++++ b/bindings/Java/Makefile.am
+@@ -67,6 +67,8 @@ java_classes= \
+ datebooktst.class \
+ adrtest.class
+
++$(java_classes): java_compile
++
+ java_compile: $(java_files)
+ $(JAVAC) -d . $(java_files)
+
+@@ -81,16 +83,16 @@ java_pisock: java_compile java_lib java_jar
+ install: all
+ ARCH=""; \
+ for a in i386 amd64 ppc; do \
+- if [ -e ${JAVABASE}/jre/lib/${a} ]; then \
+- ARCH="${a}"; \
++ if [ -e ${JAVABASE}/jre/lib/$${a} ]; then \
++ ARCH="$${a}"; \
+ break; \
+ fi; \
+ done; \
+- if [ -n "${ARCH}" ]; then \
++ if [ -n "$${ARCH}" ]; then \
+ echo "Unknown architecture. Copy lipijsock.so to ${JAVABASE}/jre/lib/ARCH/"; \
+ else \
+- mkdir -p "$(DESTDIR)${JAVABASE}/jre/lib/${ARCH}" && \
+- cp libjpisock.so "$(DESTDIR)${JAVABASE}/jre/lib/${ARCH}"; \
++ mkdir -p "$(DESTDIR)${JAVABASE}/jre/lib/$${ARCH}" && \
++ cp libjpisock.so "$(DESTDIR)${JAVABASE}/jre/lib/$${ARCH}"; \
+ echo "done."; \
+ fi
+
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-java-install.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-java-install.patch
new file mode 100644
index 000000000000..5e50180cd309
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.2-java-install.patch
@@ -0,0 +1,26 @@
+diff -Naur pilot-link-0.12.2.orig/bindings/Java/Makefile.am pilot-link-0.12.2/bindings/Java/Makefile.am
+--- pilot-link-0.12.2.orig/bindings/Java/Makefile.am 2007-07-22 10:40:48.000000000 +0200
++++ pilot-link-0.12.2/bindings/Java/Makefile.am 2007-07-22 10:41:46.000000000 +0200
+@@ -81,21 +81,7 @@
+ java_pisock: java_compile java_lib java_jar
+
+ install: all
+- ARCH=""; \
+- for a in i386 amd64 ppc; do \
+- if [ -e ${JAVABASE}/jre/lib/$${a} ]; then \
+- ARCH="$${a}"; \
+- break; \
+- fi; \
+- done; \
+- if [ -n "$${ARCH}" ]; then \
+- echo "Unknown architecture. Copy lipijsock.so to ${JAVABASE}/jre/lib/ARCH/"; \
+- else \
+- mkdir -p "$(DESTDIR)${JAVABASE}/jre/lib/$${ARCH}" && \
+- cp libjpisock.so "$(DESTDIR)${JAVABASE}/jre/lib/$${ARCH}"; \
+- echo "done."; \
+- fi
+-
++
+ test: install
+ ${JAVABASE}/bin/java test ${PORT}
+
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-m4.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-m4.patch
new file mode 100644
index 000000000000..e1941110df47
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.2-m4.patch
@@ -0,0 +1,10 @@
+diff --git a/pilot-link.m4.in b/pilot-link.m4.in
+index 129dfc3..a271c74 100644
+--- a/pilot-link.m4.in
++++ b/pilot-link.m4.in
+@@ -1,5 +1,3 @@
+-AC_DEFUN([IT_PROG_INTLTOOL], [AC_PREREQ([2.50])dnl
+-
+ AC_DEFUN([AC_PILOT_LINK_HOOK],
+ [
+ PILOT_LINK_VERS=0
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-png.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-png.patch
new file mode 100644
index 000000000000..766a3b84ea8c
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.2-png.patch
@@ -0,0 +1,85 @@
+diff -Naur pilot-link-0.12.2.orig/configure.ac pilot-link-0.12.2/configure.ac
+--- pilot-link-0.12.2.orig/configure.ac 2007-02-09 22:50:17.000000000 +0100
++++ pilot-link-0.12.2/configure.ac 2007-08-25 17:38:42.000000000 +0200
+@@ -220,47 +220,52 @@
+ dnl ******************************
+ dnl PNG Support
+ dnl ******************************
++msg_png=no
+ if test "x$enable_conduits" != "xno"; then
+ have_png=no
+
+ AC_ARG_WITH(libpng,
+ [ --with-libpng Prefix where libpng is installed])
+
+- case $with_libpng in
+- /*)
+- PNG_CFLAGS="-I$withval/include"
+- PNG_LIBS="-L$withval/lib"
+- ;;
+- esac
++ if test "x$with_libpng" != "xno"; then
++
++ case $with_libpng in
++ /*)
++ PNG_CFLAGS="-I$withval/include"
++ PNG_LIBS="-L$withval/lib"
++ ;;
++ esac
++
++ save_CFLAGS="$CFLAGS"
++ save_CPPFLAGS="$CPPFLAGS"
++ save_LDFLAGS="$LDFLAGS"
++ CFLAGS="$CFLAGS $PNG_CFLAGS"
++ CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
++ LDFLAGS="$LDFLAGS $PNG_LIBS"
+
+- save_CFLAGS="$CFLAGS"
+- save_CPPFLAGS="$CPPFLAGS"
+- save_LDFLAGS="$LDFLAGS"
+- CFLAGS="$CFLAGS $PNG_CFLAGS"
+- CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
+- LDFLAGS="$LDFLAGS $PNG_LIBS"
+-
+- AC_CHECK_LIB(png, main, [have_png=yes; PNG_LIBS="$PNG_LIBS -lpng"],[have_png=no],[-lm])
+- if test "$have_png" = yes; then
+- AC_CHECK_HEADER(png.h, , have_png=no)
++ AC_CHECK_LIB(png, main, [have_png=yes; PNG_LIBS="$PNG_LIBS -lpng"],[have_png=no],[-lm])
+ if test "$have_png" = yes; then
+- AC_MSG_CHECKING(for png setjmp support)
+- AC_EGREP_CPP(yes,
+- [#include <png.h>
+- #ifdef PNG_SETJMP_SUPPORTED
+- yes
+- #endif], , have_png=no)
+- AC_MSG_RESULT($have_png)
++ AC_CHECK_HEADER(png.h, , have_png=no)
+ if test "$have_png" = yes; then
+- AC_DEFINE(HAVE_PNG, 1, [Define if we have PNG support])
+- have_png=yes
++ AC_MSG_CHECKING(for png setjmp support)
++ AC_EGREP_CPP(yes,
++ [#include <png.h>
++ #ifdef PNG_SETJMP_SUPPORTED
++ yes
++ #endif], , have_png=no)
++ AC_MSG_RESULT($have_png)
++ if test "$have_png" = yes; then
++ AC_DEFINE(HAVE_PNG, 1, [Define if we have PNG support])
++ have_png=yes
++ msg_png=yes
++ fi
+ fi
+ fi
+- fi
+
+- CFLAGS="$save_CFLAGS"
+- CPPFLAGS="$save_CPPFLAGS"
+- LDFLAGS="$save_LDFLAGS"
++ CFLAGS="$save_CFLAGS"
++ CPPFLAGS="$save_CPPFLAGS"
++ LDFLAGS="$save_LDFLAGS"
++ fi
+ else
+ have_png="none"
+ PNG_CFLAGS=
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-readline.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-readline.patch
new file mode 100644
index 000000000000..5bfe01c5d1fa
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.2-readline.patch
@@ -0,0 +1,43 @@
+diff -Naur pilot-link-0.12.2.orig/m4/vl_lib_readline.m4 pilot-link-0.12.2/m4/vl_lib_readline.m4
+--- pilot-link-0.12.2.orig/m4/vl_lib_readline.m4 2005-06-03 20:39:24.000000000 +0200
++++ pilot-link-0.12.2/m4/vl_lib_readline.m4 2007-08-25 15:23:58.000000000 +0200
+@@ -89,23 +89,23 @@
+ fi
+ LIBS="$ORIG_LIBS"
+ ])
+- fi
+
+- if test "$vl_cv_lib_readline" != "no"; then
+- msg_readline="yes"
+- RL_LIBS="$vl_cv_lib_readline"
+- AC_DEFINE(HAVE_LIBREADLINE, 1,
+- [Define if you have a readline compatible library])
+- AC_CHECK_HEADERS(readline.h readline/readline.h)
+- AC_CACHE_CHECK([whether readline supports history],
+- vl_cv_lib_readline_history, [
+- vl_cv_lib_readline_history="no"
+- AC_TRY_LINK_FUNC(add_history, vl_cv_lib_readline_history="yes")
+- ])
+- if test "$vl_cv_lib_readline_history" = "yes"; then
+- AC_DEFINE(HAVE_READLINE_HISTORY, 1,
+- [Define if your readline library has \`add_history'])
+- AC_CHECK_HEADERS(history.h readline/history.h)
++ if test "$vl_cv_lib_readline" != "no"; then
++ msg_readline="yes"
++ RL_LIBS="$vl_cv_lib_readline"
++ AC_DEFINE(HAVE_LIBREADLINE, 1,
++ [Define if you have a readline compatible library])
++ AC_CHECK_HEADERS(readline.h readline/readline.h)
++ AC_CACHE_CHECK([whether readline supports history],
++ vl_cv_lib_readline_history, [
++ vl_cv_lib_readline_history="no"
++ AC_TRY_LINK_FUNC(add_history, vl_cv_lib_readline_history="yes")
++ ])
++ if test "$vl_cv_lib_readline_history" = "yes"; then
++ AC_DEFINE(HAVE_READLINE_HISTORY, 1,
++ [Define if your readline library has \`add_history'])
++ AC_CHECK_HEADERS(history.h readline/history.h)
++ fi
+ fi
+ fi
+ AC_SUBST(RL_LIBS)
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-threads.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-threads.patch
new file mode 100644
index 000000000000..edfedb2ae6a2
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.2-threads.patch
@@ -0,0 +1,17 @@
+diff -Naur pilot-link-0.12.2.orig/m4/threads.m4 pilot-link-0.12.2/m4/threads.m4
+--- pilot-link-0.12.2.orig/m4/threads.m4 2005-03-02 23:36:49.000000000 +0100
++++ pilot-link-0.12.2/m4/threads.m4 2007-08-25 20:36:36.000000000 +0200
+@@ -5,9 +5,10 @@
+ #
+
+ AC_DEFUN([PILOT_LINK_THREADS_SUPPORT], [
+- use_threads=false
+- AC_ARG_ENABLE(threads,[ --enable-threads Add this to have built-in thread safety],use_threads=true)
+- if $use_threads; then
++ use_threads=true
++ AC_ARG_ENABLE([threads], AS_HELP_STRING([--disable-threads], [Build without built-in thread safety (default: test)]))
++
++ if test "x$enable_threads" != "xno"; then
+ ACX_PTHREAD
+ if test x"$acx_pthread_ok" = xno; then
+ use_threads=false
diff --git a/app-pda/pilot-link/pilot-link-0.12.2.ebuild b/app-pda/pilot-link/pilot-link-0.12.2.ebuild
new file mode 100644
index 000000000000..a2287c9bd1da
--- /dev/null
+++ b/app-pda/pilot-link/pilot-link-0.12.2.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/pilot-link-0.12.2.ebuild,v 1.1 2007/08/25 19:17:04 philantrop Exp $
+
+inherit perl-module java-pkg-opt-2 eutils autotools
+
+DESCRIPTION="suite of tools for moving data between a Palm device and a desktop"
+HOMEPAGE="http://www.pilot-link.org/"
+SRC_URI="http://pilot-link.org/source/${P}.tar.bz2"
+
+LICENSE="|| ( GPL-2 LGPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+
+IUSE="perl java python png readline threads bluetooth usb debug"
+
+BOTH_DEPEND="virtual/libiconv
+ >=sys-libs/ncurses-5.6-r1
+ >=dev-libs/popt-1.10.7
+ perl? ( >=dev-lang/perl-5.8.8-r2 )
+ python? ( >=dev-lang/python-2.4.4-r4 )
+ png? ( >=media-libs/libpng-1.2.18-r1 )
+ readline? ( >=sys-libs/readline-5.2_p4 )
+ usb? ( >=dev-libs/libusb-0.1.12 )
+ bluetooth? ( >=net-wireless/bluez-libs-3.10 )"
+
+DEPEND="${BOTH_DEPEND}
+ java? ( >=virtual/jdk-1.4 )"
+
+RDEPEND="${BOTH_DEPEND}
+ java? ( >=virtual/jre-1.4 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Fix a syntax error.
+ epatch "${FILESDIR}/${P}-m4.patch"
+
+ # Patch away a *lot* of broken configure switches and automagic deps.
+ epatch "${FILESDIR}/${P}-bluez.patch"
+ epatch "${FILESDIR}/${P}-png.patch"
+ epatch "${FILESDIR}/${P}-readline.patch"
+ epatch "${FILESDIR}/${P}-threads.patch"
+
+ # Some Java fixes.
+ if use java ; then
+ epatch "${FILESDIR}/${P}-java-compile.patch"
+ epatch "${FILESDIR}/${P}-java-install.patch"
+ fi
+
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_compile() {
+ # tcl/tk support is disabled as per upstream request.
+ econf \
+ --includedir=/usr/include/libpisock \
+ --enable-conduits \
+ --with-tcl=no \
+ --without-included-popt \
+ $(use_enable threads) \
+ $(use_enable usb libusb) \
+ $(use_enable debug) \
+ $(use_with png libpng $(libpng-config --prefix)) \
+ $(use_with bluetooth bluez) \
+ $(use_with readline) \
+ $(use_with perl) \
+ $(use_with java) \
+ $(use_with python) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+
+ if use perl ; then
+ cd "${S}/bindings/Perl"
+ perl-module_src_prep
+ perl-module_src_compile
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc ChangeLog README doc/README* doc/TODO NEWS AUTHORS || die "installing docs failed"
+
+ if use java ; then
+ cd "${S}/bindings/Java"
+ java-pkg_newjar ${PN}.jar
+ java-pkg_doso libjpisock.so
+ fi
+
+ if use perl ; then
+ cd "${S}/bindings/Perl"
+ perl-module_src_install
+ fi
+}