Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 77141
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo net-im Herd <net-im@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrea Cervesato <kom4@email.it>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mercury-bin-1708.ebuild mercury-bin-1708.ebuild text/plain Gustavo Felisberto 2005-01-14 08:08 0000 944 bytes Details
mercury.sh mercury.sh text/plain Gustavo Felisberto 2005-01-14 08:09 0000 260 bytes Details
mercury-bin-1708.ebuild Corrected ebuild application/octet-stream Andrea Cervesato 2005-01-14 13:21 0000 909 bytes Details
mercury-bin-1708.ebuild mercury-bin-1708.ebuild text/plain Gustavo Felisberto 2005-01-15 05:02 0000 906 bytes Details
mercury.sh mercury.sh text/plain Gustavo Felisberto 2005-01-15 05:02 0000 268 bytes Details
icon32.gif icon32.gif image/gif Gustavo Felisberto 2005-01-15 05:03 0000 1.23 KB Details
mercury.sh mercury.sh text/plain Gustavo Felisberto 2005-01-15 16:28 0000 229 bytes Details
mercury-bin-1708.ebuild mercury-bin-1708.ebuild text/plain Gustavo Felisberto 2005-01-15 16:31 0000 897 bytes Details
mercury-bin-1708.ebuild mercury-bin-1708.ebuild text/plain Gustavo Felisberto 2005-01-16 12:33 0000 857 bytes Details
mercury.sh mercury.sh text/plain Gustavo Felisberto 2005-01-16 12:35 0000 206 bytes Details
mercury-bin-1708.ebuild mercury-bin-1708.ebuild text/plain Gustavo Felisberto 2005-01-19 07:19 0000 1.15 KB Details
mercury.sh mercury.sh text/plain Gustavo Felisberto 2005-01-19 07:19 0000 265 bytes Details
mercury-bin-1709_beta7.ebuild Mercury 1709.B7 ebuild text/plain Emanuele Tamponi 2005-02-28 12:04 0000 1.26 KB Details
mercury-bin-1709_rc8.ebuild Mercury 1709_RC8 text/plain Alessandro Orru' 2005-05-30 19:37 0000 2.65 KB Details
mercury-bin-1709_rc8.ebuild mercury-bin-1709_rc8.ebuild text/plain Alessandro Orru' 2005-05-30 19:45 0000 2.65 KB Details
mercury.sh mercury.sh Startup Script text/plain Alessandro Orru' 2005-05-30 19:48 0000 384 bytes Details
mercury.sh mercury.sh Startup Script text/plain Alessandro Orru' 2005-05-31 08:28 0000 396 bytes Details
mercury-bin-1709_rc8.ebuild mercury-bin-1709_rc8.ebuild text/plain Alessandro Orru' 2005-05-31 08:33 0000 2.57 KB Details
mercury-bin-1709_rc8.ebuild mercury-bin-1709_rc8.ebuild text/plain Alessandro Orru' 2005-05-31 12:51 0000 2.67 KB Details
mercury.sh mercury.sh Startup Script text/plain Alessandro Orru' 2005-06-01 06:39 0000 443 bytes Details
mercury-bin-1709_rc12.ebuild mercury-bin-1709_rc12.ebuild text/plain Alessandro Orru' 2005-07-04 06:52 0000 2.68 KB Details
mercury-bin-1709.ebuild mercury-bin-1709.ebuild (FINAL) text/plain Alessandro Orru' 2005-08-12 16:05 0000 2.59 KB Details
mercury-bin-1709.ebuild mercury-bin-1709.ebuild (FINAL) text/plain Alessandro Orru' 2005-08-18 02:44 0000 2.60 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 77141 depends on: 78664 Show dependency tree
Bug 77141 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-01-08 09:09 0000
This is an innovative program :D msn video webcam java based

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Jonathan Smith 2005-01-08 10:32:38 0000 -------
they keyword here should be "REQUEST". "EBUILD" is used when a user is
submitting an ebuild already ready for portage... just for future reference

------- Comment #2 From Gustavo Felisberto 2005-01-08 11:25:58 0000 -------
I am looking into this.
Due to the problems with LAX and NPTL this is going to take some time ( http://www.mercury.to/index.php?page=Wiki&wikipage=Linux_Setup ).

------- Comment #3 From Gustavo Felisberto 2005-01-14 07:08:20 0000 -------
Other problems came up with the ebuild. After talking to the mercury devs i
managed to get a .zip file that is much easier to install that using the .bin
LAX file.
I'm working on this. In a few hours i hope to have a working ebuild.

------- Comment #4 From Gustavo Felisberto 2005-01-14 08:08:35 0000 -------
Created an attachment (id=48464) [details]
mercury-bin-1708.ebuild

This is the first attempt. Some things need extra work due to the Gentoo Java
Policy ( http://gentoo-wiki.com/Gentoo_Java_Policy ). For example altough jdom
is polled using the jar from there will not work 100% ok (right now the ebuild
will install the one on mercury package).

------- Comment #5 From Gustavo Felisberto 2005-01-14 08:09:25 0000 -------
Created an attachment (id=48465) [details]
mercury.sh

start up script. Place it in files before emerging this.

------- Comment #6 From Andrea Cervesato 2005-01-14 12:06:23 0000 -------
tryng ... 

ebuild /usr/local/portage/net-im/mercury/mercury-bin-1708.ebuild digest
!!! aux_get(): ebuild path for 'net-im/mercury-bin-1708' not specified:
!!!            None
!!! aux_get(): ebuild path for 'net-im/mercury-bin-1708' not specified:
!!!            None
doebuild(): aux_get() error; aborting.

------- Comment #7 From Andrea Cervesato 2005-01-14 13:08:44 0000 -------
Solved the pat have to be mercury-bin not mercury

------- Comment #8 From Andrea Cervesato 2005-01-14 13:19:17 0000 -------
ryng emerging i've another error: 
emerge -pv  mercury-bin

These are the packages that I would merge, in order:

Calculating dependencies  F

!!! Problem in net-im/mercury-bin dependencies.
!!! "Specific key requires an operator  (dev-java/blackdown-jdk-1.4.2) (try adding an '=')" exceptions

------- Comment #9 From Andrea Cervesato 2005-01-14 13:21:42 0000 -------
Created an attachment (id=48492) [details]
Corrected ebuild

It's my first ebuild correction please be carrefully can be dangerous

------- Comment #10 From Petteri Räty 2005-01-15 04:45:01 0000 -------
betelgeuse@pena ~ $ mercury
/usr/bin/mercury: line 3: cd: /opt/mercury: No such file or directory
Could not find package jmf-bin
Could not find package mercury
Exception in thread "main" java.lang.NoClassDefFoundError: com/dMSN/Main

------- Comment #11 From Gustavo Felisberto 2005-01-15 04:50:07 0000 -------
Andrea: You just removed the java deps, that is not good :)
I corrected that and am testing with java 1.5
In a few minutes i'll upload a corrected startup script and ebuild.

------- Comment #12 From Petteri Räty 2005-01-15 04:54:04 0000 -------
Forget the jmf-bin part. It was come because I used ebuild merge, but the other
errors are valid. 

------- Comment #13 From Gustavo Felisberto 2005-01-15 05:02:17 0000 -------
Created an attachment (id=48538) [details]
mercury-bin-1708.ebuild

New version of the ebuild, corrected java dep. Already tested with 1.5 and
works 0k.

------- Comment #14 From Gustavo Felisberto 2005-01-15 05:02:45 0000 -------
Created an attachment (id=48539) [details]
mercury.sh

------- Comment #15 From Gustavo Felisberto 2005-01-15 05:03:16 0000 -------
Created an attachment (id=48540) [details]
icon32.gif

------- Comment #16 From Andrea Cervesato 2005-01-15 07:48:53 0000 -------
mercury 
/usr/bin/mercury: line 12: java: command not found

------- Comment #17 From Andrea Cervesato 2005-01-15 10:16:30 0000 -------
ok exported the java bin directory and it starts
well but...
if anyone send me an invite:

XYZW invited you to see from his/her webcam. Mercury does not support this.
(Mercury does support video conference if you have the required files)

ok shre but what i've to do to enable this? 
(For mantainer if it's a problem to write all there you can contact me for mail and send me all the information i'll write the how to for gentoo forums.)

------- Comment #18 From Gustavo Felisberto 2005-01-15 14:15:00 0000 -------
This software is under eavy development. The message you receive is true, you
do not have the required files (no one has except the mercury devs).
Please dont post info about this in the forums, the last thing we need is 100
newbies coming here saying "does not work for me".

This package will probably take some time (weeks) to get into portage, due
mainly to the deps. Many of the jar files installed are from other packages,
and some of them still do not exist in portage, so they must first be added.

------- Comment #19 From Gustavo Felisberto 2005-01-15 16:28:46 0000 -------
Created an attachment (id=48590) [details]
mercury.sh

------- Comment #20 From Gustavo Felisberto 2005-01-15 16:31:23 0000 -------
Created an attachment (id=48591) [details]
mercury-bin-1708.ebuild

Ok this version should probably work for most people. This version still
installs the original .jar files. We need to put a version of jdom in portage
that works with this, we need to make an ebuild for http://jdic.dev.java.net/
(at least the tray icon), and a ebuild for xmlpull (the implementation used by
mercury).

------- Comment #21 From Gustavo Felisberto 2005-01-16 12:33:51 0000 -------
Created an attachment (id=48678) [details]
mercury-bin-1708.ebuild

Fixed some errors here. Should work ok now.

------- Comment #22 From Gustavo Felisberto 2005-01-16 12:35:25 0000 -------
Created an attachment (id=48679) [details]
mercury.sh

This version will spit a non fatal error about jdom and will work with the tray
icon (on x86 will other arches no).

------- Comment #23 From Gustavo Felisberto 2005-01-19 07:19:27 0000 -------
Created an attachment (id=48952) [details]
mercury-bin-1708.ebuild

This version already depends and works with jdictrayapi, i'll commit that one
soon and close the bug.
We still need jdom 1.0 Beta 6 as mercury has some problems with beta 9

------- Comment #24 From Gustavo Felisberto 2005-01-19 07:19:57 0000 -------
Created an attachment (id=48953) [details]
mercury.sh

------- Comment #25 From Olivier Crete 2005-01-19 10:57:05 0000 -------
*** Bug 78563 has been marked as a duplicate of this bug. ***

------- Comment #26 From Gustavo Felisberto 2005-02-04 10:27:52 0000 -------
I added this to portage now. It will be un-hardmasked as soon as all deps are
in portage.

------- Comment #27 From Gustavo Michels 2005-02-19 11:57:18 0000 -------
Why all the dev java packages dependencies? I got it working only with the JRE
and JMF packages, including tray icon in KDE. Why would I need 20 extra useless
(for me) packages installed in my system?

From my point of view, this is the same as with Azureus, but the devs finally
agreed to remove the dependencies there.

------- Comment #28 From Petteri Räty 2005-02-22 01:03:00 0000 -------
Gustavo Michels: http://gentoo-wiki.com/Gentoo_Java_Policy#Bundled_JARs

------- Comment #29 From Gustavo Felisberto 2005-02-22 09:15:51 0000 -------
Gustavo Michels: Can you provide the bug on azureus that backs up your
statment?

------- Comment #30 From Gustavo Michels 2005-02-22 10:15:47 0000 -------
http://bugs.gentoo.org/show_bug.cgi?id=58389

That's the bug which complainted about the dependencies.

Although no dev said anything about the change, azureus no longer has that big list of dependencies.

------- Comment #31 From Thomas Matthijs (RETIRED) 2005-02-22 11:23:23 0000 -------
completely unrelated, since the azureus-bin ebuild violates policy in many ways
(there is better one just net-p2p/azurues)

------- Comment #32 From Gustavo Michels 2005-02-22 11:44:13 0000 -------
I don't think it's completely unrelated. This ebuild also installs a binary
version of Mercury, and net-p2p/azureus compiles and installs the source
version (not to mention the fact the azureus ebuild is still on an older
version).

Anyway, I was just trying to get this ebuild to be more user friendly. Anyone
who would like to install mercury and sees that huge list of apparently uneeded
dependencies won't continue.

If it's a policy, then I won't argue anymore. The simple solution is --oneshot
--nodeps.

------- Comment #33 From Petteri Räty 2005-02-22 12:29:53 0000 -------
You don't seem to understand. The mercury zip has jars which come from
different projects than mercury itself. We install these external libraries
first and use the jars from them. That way we only have to have one copy of a
jar installed. Please read the link I already posted. Because of all this
--oneshot --nodeps is not going to work with the final mercury ebuild. The
packed jars are deleted in src_unpack.

------- Comment #34 From Andrea Cervesato 2005-02-28 12:00:26 0000 -------
The version 1709.07 (26/02/05 17:48) it's OUT. Can you update the ebuild plz?
Thx for all the work :)

------- Comment #35 From Emanuele Tamponi 2005-02-28 12:04:58 0000 -------
Created an attachment (id=52317) [details]
Mercury 1709.B7 ebuild

That's my modifies on the mercury-bin-1708.ebuild . It works correctly but I
think it need the apply of some policies.

------- Comment #36 From Alessandro Orru' 2005-05-30 19:37:48 0000 -------
Created an attachment (id=60230) [details]
This is the ebuild for Mercury 1709 RC8

Here is the new ebuild for the latest Release Candidate of Mercury 1709. This
ebuild supports two new use flags: one is "flash", that you have to enable in
order to receive and show Winks, while the other one is the "cam" flag, that
you need in order to send webcam streams.

------- Comment #37 From Alessandro Orru' 2005-05-30 19:40:08 0000 -------
(From update of attachment 60230 [details])
># Copyright 1999-2005 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header:
>
>inherit eutils java-pkg
>
>MY_PVR=${PVR/rc/RC}
>
>DESCRIPTION="MSN and Jabber client in Java"
>HOMEPAGE="http://www.mercury.to/"
>
>##Mercury.to does not provided http or ftp links
>
>LICENSE="mercury"
>SLOT="0"
>KEYWORDS="~x86"
>RESTRICT="fetch nostrip"
>
>IUSE="cam flash"
>
>SRC_URI="${MY_PVR}.zip
>	 cam? ( JavaLibs-linux.jar )
>	 cam? ( VidConf-libs.jar )
>	 cam? ( NativeLibs-linux.zip )"
>
>DEPEND="app-arch/unzip
> >=virtual/jdk-1.4"
>RDEPEND=">=virtual/jre-1.4
>               =dev-java/jgoodies-looks-1.3*
>               dev-java/jmf-bin
>               dev-java/jdictrayapi
>               dev-java/xpp3
>               ~dev-java/jdom-1.0"
>
>S=${WORKDIR}
>
>pkg_nofetch() {
>        einfo "Goto http://www.mercury.to/ and download ${MY_PVR}"
>	einfo "It is a torrent download, so you must use a BitTorrent-like client"
>	einfo "For information about this tecnology, look at Mercury official site"
>        einfo "You must put the downloaded file in ${DISTDIR}"
>	if use cam; then
>		einfo ""
>		einfo "For cam support You also have to download a directory with"
>		einfo "some files inside via this torrent:"
>		einfo "http://www.mercury.to/torrents/VidConf_Files.torrent"
>		einfo "You have to copy the files inside the directory you downloaded in"
>		einfo "${DISTDIR}"
>		einfo "WARNING: you DON'T HAVE TO COPY the directory itself, only the files inside!"
>	fi
>}
>
>
>src_unpack() {
>	unpack ${MY_PVR}.zip
>	cd ${S}
>	rm -f *.dll *.so
>
>	#Clean the dllStuff.jar from things we dont need
>	cd lib
>	mkdir dllStuff
>	cd dllStuff
>	unzip ../dllStuff.jar
>	rm -rf ../dllStuff.jar org/jdesktop x10gimli/platform
>
>	cd ${S}
>	rm lib/XML.jar # jdom
>	rm lib/looks-*.jar #jgoodies-looks
>	if use !flash; then
>	      echo "Removing JFlash.jar"
>	      rm lib/JFlash.jar # seems to be trial from http://www.javaapis.com/jflashplayer/ which says its windows only
>	fi
>	rm lib/xmlpull.jar # xpp3
>}
>
>src_install() {
>	#rebuild the dllStuff.jar
>	cd ${S}/lib/dllStuff
>	jar cf ../dllStuff.jar *
>	cd ${S}
>	rm -rf lib/dllStuff
>
>	#Start installing stuff
>	insinto /opt/${PN}/resources
>	doins -r resources/*
>	java-pkg_dojar lib/*
>
>	insinto /opt/${PN}/lib
>	if use cam; then
>		doins ${DISTDIR}/JavaLibs-linux.jar
>		doins ${DISTDIR}/VidConf-libs.jar
>		
>		insinto $(java-config -o)/lib/i386
>		echo "*** Installing needed java libraries into current JRE home $(java-config -o)"
>		unzip ${DISTDIR}/NativeLibs-linux.zip -d ${D}$(java-config -o)/lib/i386
>	fi
>
>	insinto /usr/share/pixmaps
>	newins  ${FILESDIR}/icon32.gif mercury.gif
>
>	exeinto /opt/bin
>	newexe ${FILESDIR}/mercury.sh mercury
>
>	make_desktop_entry mercury "Mercury MSN client" /usr/share/pixmaps/mercury.gif
>}

------- Comment #38 From Alessandro Orru' 2005-05-30 19:40:55 0000 -------
(From update of attachment 60230 [details])
># Copyright 1999-2005 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header:
>
>inherit eutils java-pkg
>
>MY_PVR=${PVR/rc/RC}
>
>DESCRIPTION="MSN and Jabber client in Java"
>HOMEPAGE="http://www.mercury.to/"
>
>##Mercury.to does not provided http or ftp links
>
>LICENSE="mercury"
>SLOT="0"
>KEYWORDS="~x86"
>RESTRICT="fetch nostrip"
>
>IUSE="cam flash"
>
>SRC_URI="${MY_PVR}.zip
>	 cam? ( JavaLibs-linux.jar )
>	 cam? ( VidConf-libs.jar )
>	 cam? ( NativeLibs-linux.zip )"
>
>DEPEND="app-arch/unzip
> >=virtual/jdk-1.4"
>RDEPEND=">=virtual/jre-1.4
>               =dev-java/jgoodies-looks-1.3*
>               dev-java/jmf-bin
>               dev-java/jdictrayapi
>               dev-java/xpp3
>               ~dev-java/jdom-1.0"
>
>S=${WORKDIR}
>
>pkg_nofetch() {
>        einfo "Goto http://www.mercury.to/ and download ${MY_PVR}"
>	einfo "It is a torrent download, so you must use a BitTorrent-like client"
>	einfo "For information about this tecnology, look at Mercury official site"
>        einfo "You must put the downloaded file in ${DISTDIR}"
>	if use cam; then
>		einfo ""
>		einfo "For cam support You also have to download a directory with"
>		einfo "some files inside via this torrent:"
>		einfo "http://www.mercury.to/torrents/VidConf_Files.torrent"
>		einfo "You have to copy the files inside the directory you downloaded in"
>		einfo "${DISTDIR}"
>		einfo "WARNING: you DON'T HAVE TO COPY the directory itself, only the files inside!"
>	fi
>}
>
>
>src_unpack() {
>	unpack ${MY_PVR}.zip
>	cd ${S}
>	rm -f *.dll *.so
>
>	#Clean the dllStuff.jar from things we dont need
>	cd lib
>	mkdir dllStuff
>	cd dllStuff
>	unzip ../dllStuff.jar
>	rm -rf ../dllStuff.jar org/jdesktop x10gimli/platform
>
>	cd ${S}
>	rm lib/XML.jar # jdom
>	rm lib/looks-*.jar #jgoodies-looks
>	if use !flash; then
>	      echo "Removing JFlash.jar"
>	      rm lib/JFlash.jar # seems to be trial from http://www.javaapis.com/jflashplayer/ which says its windows only
>	fi
>	rm lib/xmlpull.jar # xpp3
>}
>
>src_install() {
>	#rebuild the dllStuff.jar
>	cd ${S}/lib/dllStuff
>	jar cf ../dllStuff.jar *
>	cd ${S}
>	rm -rf lib/dllStuff
>
>	#Start installing stuff
>	insinto /opt/${PN}/resources
>	doins -r resources/*
>	java-pkg_dojar lib/*
>
>	insinto /opt/${PN}/lib
>	if use cam; then
>		doins ${DISTDIR}/JavaLibs-linux.jar
>		doins ${DISTDIR}/VidConf-libs.jar
>		
>		insinto $(java-config -o)/lib/i386
>		echo "*** Installing needed java libraries into current JRE home $(java-config -o)"
>		unzip ${DISTDIR}/NativeLibs-linux.zip -d ${D}$(java-config -o)/lib/i386
>	fi
>
>	insinto /usr/share/pixmaps
>	newins  ${FILESDIR}/icon32.gif mercury.gif
>
>	exeinto /opt/bin
>	newexe ${FILESDIR}/mercury.sh mercury
>
>	make_desktop_entry mercury "Mercury MSN client" /usr/share/pixmaps/mercury.gif
>}

------- Comment #39 From Alessandro Orru' 2005-05-30 19:43:11 0000 -------
I'm sorry this is my first ebuild attachment and I have made a little error
submitting my replies :-)

------- Comment #40 From Alessandro Orru' 2005-05-30 19:45:15 0000 -------
Created an attachment (id=60231) [details]
Mercury 1709_RC8 ebuild

------- Comment #41 From Alessandro Orru' 2005-05-30 19:46:58 0000 -------
(From update of attachment 60231 [details])
Here is the new ebuild for the latest Release Candidate of Mercury 1709. This
ebuild supports two new use flags: one is "flash", that you have to enable in
order to receive and show Winks, while the other one is the "cam" flag, that
you need in order to send webcam streams.

Sorry again for the little mess above :)

------- Comment #42 From Alessandro Orru' 2005-05-30 19:48:27 0000 -------
Created an attachment (id=60232) [details]
mercury.sh Startup Script

------- Comment #43 From Gustavo Felisberto 2005-05-31 05:11:05 0000 -------
well i am no java team guru :) But there are some parts of the java instalation
that i dont really like.
insinto $(java-config -o)/lib/i386
echo "*** Installing needed java libraries into current JRE home $(java-config -o)"
unzip ${DISTDIR}/NativeLibs-linux.zip -d ${D}$(java-config -o)/lib/i386

as far as I can tell this is really flawed. What if the person changes jre?
Mercury stops working?
axxo: Can you give this a look, this should probably be with dojar right?

------- Comment #44 From Alessandro Orru' 2005-05-31 08:28:15 0000 -------
Created an attachment (id=60280) [details]
mercury.sh Startup Script

------- Comment #45 From Alessandro Orru' 2005-05-31 08:33:38 0000 -------
Created an attachment (id=60281) [details]
mercury-bin-1709_rc8.ebuild

Gustavo, I have corrected the thing about touching jre folder... You are
absolutely right, It was 5 AM when I have finished editing the ebuild so maybe
I wasn't too smart :-)

Now the location for the *.so files is /opt/mercury-bin... it's the only
location where I found there are no problem.. if I put that files in
/opt/mercury-bin/lib then Mercury can't find some of that files, I don't know
why, maybe because it search for them in jre home or in the current folder,
that is /opt/mercury-bin... anyway, this way works..

anyway sorry 4 my bad english ;-)

------- Comment #46 From Petteri Räty 2005-05-31 08:47:37 0000 -------
> 
> Now the location for the *.so files is /opt/mercury-bin... it's the only
> location where I found there are no problem.. if I put that files in
> /opt/mercury-bin/lib then Mercury can't find some of that files, I don't know
> why, maybe because it search for them in jre home or in the current folder,
> that is /opt/mercury-bin... anyway, this way works..
> 

You are supposed to use java-pkg_doso to install shared libraries. You should
also always use java-pkg_dojar when installing jar files. You can use
java-pkg_{jar,so}into to change the location where the files are installed.  

------- Comment #47 From Alessandro Orru' 2005-05-31 09:52:36 0000 -------
(In reply to comment #46)
> You are supposed to use java-pkg_doso to install shared libraries. You should
> also always use java-pkg_dojar when installing jar files. You can use
> java-pkg_{jar,so}into to change the location where the files are installed.  

I tried to correct this section of src_install:

	insinto /opt/${PN}/lib
	if use cam; then
		doins ${DISTDIR}/JavaLibs-linux.jar
		doins ${DISTDIR}/VidConf-libs.jar
		
		insinto /opt/${PN}
		unzip ${DISTDIR}/NativeLibs-linux.zip -d ${D}/opt/${PN}
		fperms 755 /opt/${PN}/*.so
	fi

in this way:

        if use cam; then
                java-pkg_dojar ${DISTDIR}/JavaLibs-linux.jar
                java-pkg_dojar ${DISTDIR}/VidConf-libs.jar
                unpack NativeLibs-linux.zip
                java-pkg_doso *.so
        fi

It works fine for Jar files, but with the .so files I still have the problem
that Mercury can't find one of them, throwing this exception:
java.lang.UnsatisfiedLinkError: JMFSecurityManager:
java.lang.UnsatisfiedLinkError: /opt/mercury-bin/lib/libjmv4l.so: libjmutil.so:
cannot open shared object file: No such file or directory

Maybe you can help me.. anyway I'm sorry if I'm making so much mistakes, but I
think that the best way to learn something is to try to do it the best way I can :)

------- Comment #48 From Alessandro Orru' 2005-05-31 10:17:00 0000 -------
I have to correct myself: java-pkg_dojar don't work with JavaLibs-linux.jar and
VidConf-libs.jar.

So:
JavaLibs-linux.jar and VidConf-libs.jar MUST go in /opt/mercury-bin/lib, or they
won't be recognized.

All the *.so files of NativeLibs-linux.zip MUST to in /opt/mercury-bin, or they
will be recognized but using the webcam throws the exception above.

I don't know why, but this is the only way to make everything working...

------- Comment #49 From Thomas Matthijs (RETIRED) 2005-05-31 10:17:55 0000 -------
add -Djava.library.path=$(java-config -i mercury) to the wrapper script

------- Comment #50 From Alessandro Orru' 2005-05-31 10:41:13 0000 -------
(In reply to comment #49)
> add -Djava.library.path=$(java-config -i mercury) to the wrapper script

Already tried that and all the possible combinations of paths :)... just doesn't
work!

In mercury there is a panel where you can see if all the necessary libraries for
webcam sending are installed. Adding -Djava.library.path with the path of *.so
files, makes that panel show that Native Linux Libraries are found, but if you
try to use the webcam you get the exception above.

------- Comment #51 From Gustavo Felisberto 2005-05-31 12:27:49 0000 -------
I talked with upstream developer:

[20:20:16] <Danny (Mercury)> I know of the problem that native libraries need to
be in the mercury root directory
[20:20:58] <Danny (Mercury)> I have not found a way to change this, I have about
30 dll files in my Mercury root and I would be more then happy to kick them to
some remote directory with a pointer or something to it
[20:21:02] <Danny (Mercury)> but I have no idea how 
[20:21:33] <Danny (Mercury)> same goes for the .so files I guess, they need to
be in the mercury root or the jre/lib/i386 directory (I guess)
[20:22:06] <Danny (Mercury)> doing the java.library.path change will only fool
mercury into believing the files are ok, java doesn't allow it I think

axxo: You're de java expert. Any ideas?

------- Comment #52 From Gustavo Felisberto 2005-05-31 12:31:37 0000 -------
The .so files are part of jmf. Probably no need to install them.

------- Comment #53 From Alessandro Orru' 2005-05-31 12:48:47 0000 -------
(In reply to comment #52)
> The .so files are part of jmf. Probably no need to install them.

emerging jmf-bin does not install those files...

------- Comment #54 From Alessandro Orru' 2005-05-31 12:51:56 0000 -------
Created an attachment (id=60297) [details]
mercury-bin-1709_rc8.ebuild

Corrected a little bug..

------- Comment #55 From Thomas Matthijs (RETIRED) 2005-05-31 12:55:27 0000 -------
have they open sourced it yet?
then i can take a look, otherwise ...
(and i have exams for the next 3weeks, so not alot of time)

------- Comment #56 From Alessandro Orru' 2005-06-01 06:39:13 0000 -------
Created an attachment (id=60360) [details]
mercury.sh Startup Script

Corrected a bug that prevent Mercury from starting on a clean system.

------- Comment #57 From Alessandro Orru' 2005-07-04 06:52:11 0000 -------
Created an attachment (id=62599) [details]
mercury-bin-1709_rc12.ebuild

------- Comment #58 From Serkan Kaba 2005-07-09 00:25:12 0000 -------
Mercury Messenger needs linux jmf (includes some binary libs) which is not
included in portage not the cross platform jmf 

------- Comment #59 From Julien Enche 2005-07-18 03:43:35 0000 -------
Install Mercury with -flash don't work. In this case, when somebody sends you a
wink, the conversation stops and you must disconnect/reconnect to talk again.

------- Comment #60 From Moonskin 2005-07-27 01:26:34 0000 -------
although all the *.so files are in the locations as described in comment 48,
mercury still throws the same exception as in comment 47 when trying to use the
webcam. Any ideas?

------- Comment #61 From Serkan Kaba 2005-08-11 05:30:12 0000 -------
(In reply to comment #60)
> although all the *.so files are in the locations as described in comment 48,
> mercury still throws the same exception as in comment 47 when trying to use the
> webcam. Any ideas?
as decribed in the mercury wiki
http://www.mercury.to/index.php?page=Wiki&wikipage=LinuxLibraryLocations
this should be added to the 2nd line of mercury shell script for it to resolve
library locations

 options="-Djava.library.path=/opt/mercury-bin"


------- Comment #62 From Julien Enche 2005-08-11 13:10:41 0000 -------
Even if the file libjmutil.so is the right, it also needs to be in the main
java
libraries folder.
See here for more explanation of this exception :
http://forum.mercury.to/index.php?act=ST&f=40&t=9568&hl=libjmutil&s=5b51c435041dc9187b72c870fec497d6

Anyway, version 1709 is out.

------- Comment #63 From Alessandro Orru' 2005-08-12 16:05:31 0000 -------
Created an attachment (id=65794) [details]
mercury-bin-1709.ebuild (FINAL)

This is the ebuild for the final version. I cutted some parts that aren't so
useful (and that were buggy), added some info for AMD64 users and corrected the
libjmutil.so with an env.d file.

Maybe could this be added to portage?

------- Comment #64 From Alessandro Orru' 2005-08-18 02:44:05 0000 -------
Created an attachment (id=66217) [details]
mercury-bin-1709.ebuild (FINAL)

mercury doesn't work with jdictrayapi-0.9.1, so I forced version 0.8.7...

------- Comment #65 From Petteri Räty 2005-08-18 11:45:24 0000 -------
(In reply to comment #64)
> Created an attachment (id=66217) [edit] [details]
> mercury-bin-1709.ebuild (FINAL)
> 
> mercury doesn't work with jdictrayapi-0.9.1, so I forced version 0.8.7...

A better solution is to slot jdictrayapi. After I have done this, I will post here. 


------- Comment #66 From Moonskin 2005-08-22 03:05:36 0000 -------
Now there is a weblink to the mercury files. Could we put that into the ebuild
for download? (the link is: http://s16.nextit.nl/mercury/1709_Linux_NoVM.bin)

------- Comment #67 From Moonskin 2005-08-23 03:15:52 0000 -------
well, forget the last comment. It seems that web links still does not provide
the zip file or anything equally plausible for an ebuild. Zip file is still
distributed only as a torrent.

------- Comment #68 From Gustavo Felisberto 2005-09-14 15:32:47 0000 -------
Well, altough this is a very nice rich client the upstream project is a mess.

There are ALOT of packages that come with mercury that are not from the author
but no credit is given, so even hosting the .zip files is a problem.

Contact with upstream devs to find what versions where used is almost impossible.
Upstream had talked about open sourcing the project (that would make Gentoo
dev's job much easyer and also complience with Gentoo-Java Policies) but nothing
has happened in almost a year.

So I'm closing this and will be removing mercury-bin from portage very soon.
Thanks to everyone that tryed to make this work but it seems impossible to make
this possible.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug