Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37928 - Enable palm_sync plugin for multisync
Summary: Enable palm_sync plugin for multisync
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
: 43723 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-11 17:58 UTC by Troy Dack
Modified: 2005-09-15 00:33 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-pda/multisync-0.83_pre20050115 ebuild with palm support (multisync-0.83_pre20050115.ebuild,4.20 KB, application/octet-stream)
2005-01-27 01:03 UTC, Tom Hendrikx
Details
app-pda/multisync/multisync-0.83_pre20050115-r1.ebuild (multisync-0.83_pre20050115-r1.ebuild,4.28 KB, application/octet-stream)
2005-04-22 11:20 UTC, Joel Brauer
Details
app-pda/multisync/multisync-0.83_pre20050115-r1.ebuild (multisync-0.83_pre20050115-r1.ebuild,4.34 KB, application/octet-stream)
2005-04-22 16:09 UTC, Joel Brauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Troy Dack 2004-01-11 17:58:52 UTC
When I tried to emerge multisync-0.81 and found out the palm_sync plugin wasn't
built, I tried to edit the ebuild to include it. Building the plugin dies in:

checking for pi_socket in -lpisock... yes
checking pi-socket.h usability... no
checking pi-socket.h presence... no
checking for pi-socket.h... no
configure: error: You must have the libpisock-dev package installed.

...during configure. Building the palm_sync plugin and/or multisync from the
source at their website does the same. However, the missing file is available
on my system at /usr/include/libpisock/pi-socket.h, as part of the
app-pda/pilot-link package. Compiling pilot-link from original source seems to
give the exact same file.

The only problem the ebuild seems to have, is not finding the pi-socket.h file.
I can code a little although I have no experience with C, so I'm don't know how
to solve the problem (although it seems to me this could be as easy as
adjusting a path somewhere).

For now, I'm willing to test any adjustments and offer any other help on this
ebuild :)

To reproduce:
USE="+pda" emerge multisync (using attached ebuild)
Comment 1 Troy Dack 2004-01-11 18:01:39 UTC
See Bug #35399, Comment #7 by Tom Hendrikx.

Ebuild: http://bugs.gentoo.org/attachment.cgi?id=23609&action=view
Comment 2 Alexander Isacson 2004-01-12 11:09:40 UTC
I to have the exact same error after doing the exact same procedure.
Comment 3 Matt Dainty 2004-01-27 03:57:19 UTC
Hi,

I can fix the problem by amending the ebuild to set CPPFLAGS=-I/usr/include/libpisock, however I'm unsure where to correctly add the necessary CPPFLAGS declaration as just defining CPPFLAGS in the ebuild doesn't appear to be passed through. The current hack is:

  src_compile() {
+     if [ `use pda` ] ; then
+         EXTRA_ECONF="CPPFLAGS=-I/usr/include/libpisock"
+     fi
      einfo "Building Multisync with these plugins:"

...which appears to allow the palm_sync plugin to build. There is bound to be a nicer way to get this working.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-03-06 07:39:54 UTC
*** Bug 43723 has been marked as a duplicate of this bug. ***
Comment 5 Matt Martin 2004-03-19 00:24:51 UTC
Seems to need a path to libpysock. If I add -I/usr/include/libpysock/ to CFLAGS, it works. 
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2005-01-26 03:43:53 UTC
has the new ebuild solved this problem? if so, just close this bug :)
Comment 7 Shawn Kovalchick 2005-01-26 23:27:55 UTC
Is there any update on this bug?  This "new" bug  just celebrated its first birthday. :)  Anyway, it appears multisync-0.83_pre20050115 still has the same problem:  no palm sync.
Comment 8 Tom Hendrikx 2005-01-27 01:03:19 UTC
Created attachment 49635 [details]
app-pda/multisync-0.83_pre20050115 ebuild with palm support

This ebuild builds the palm_sync plugin if USE="pda". However the original bug
problem (missing CFLAGS) still is valid. To emerge this ebuild succesfully,
you'll have to specify the extra CFLAGS on the commandline:

CPPFLAGS="-I/usr/include/libpisock" emerge multisync

Note: multisync shows the plugin to me so I conclude that it builds without
problems. But since I no longer use a palm (switched to ipod), bugreaders who
do use a palm are encouraged to test the ebuild and confirm that the plugin
actually works :)
Comment 9 John Mylchreest (RETIRED) gentoo-dev 2005-03-21 08:15:34 UTC
currently the .83-pre ebuild in the tree is a mixture of stable and cvs code.
There is no support for the pda/palm_sync in there in this capacity.
I will have a proper look in the coming week
Comment 10 Joel Brauer 2005-04-22 11:20:25 UTC
Created attachment 56936 [details]
app-pda/multisync/multisync-0.83_pre20050115-r1.ebuild

not sure if there is a better way to do this, but this ebuild automatically
does the CFLAGS='-I/usr/include/libpisock' for the palm_sync plugin.
Comment 11 Joel Brauer 2005-04-22 13:28:24 UTC
Comment on attachment 56936 [details]
app-pda/multisync/multisync-0.83_pre20050115-r1.ebuild

does not work, working on a new one
Comment 12 Joel Brauer 2005-04-22 16:09:12 UTC
Created attachment 56954 [details]
app-pda/multisync/multisync-0.83_pre20050115-r1.ebuild

Ok, this one works.  Hope it helps... Credit is given to the above comment #3
Matt Dainty.