Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126822 - need new starting script for net-p2p/azureus-bin-2.4.0.2
Summary: need new starting script for net-p2p/azureus-bin-2.4.0.2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
: 126573 135596 137201 141976 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-19 09:07 UTC by Barry Gear
Modified: 2006-09-11 16:08 UTC (History)
16 users (show)

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


Attachments
azureus-bin-gentoo.sh (azureus-bin-gentoo.sh,1.03 KB, text/plain)
2006-07-29 00:03 UTC, RoLo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Barry Gear 2006-03-19 09:07:22 UTC
org.gudy.azureus2.ui.common.Main no longer exists so the start script installed with the 2.4.0.2 ebuild wont work. If you edit the script (/usr/bin/azureus) and change it to 'org.gudy.azureus2.ui.swt.Main' it starts but complains about the unneccessary command line parameters ('--ui=swt'). It seems ui decision making needs to be in the script now. Also I noticed that there is a java web start launcher now.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-03-19 12:17:13 UTC
I noticed the same issue. I already made a working script for my own use of azureus but it needs a better update path from the current setup to be put to more wide use.

http://www.gentooexperimental.org/svn/java/gentoo-java-experimental/net-p2p/azureus/files/azureus-gentoo-2.4.0.2.sh
Comment 2 Christopher Thorjussen 2006-04-19 10:42:10 UTC
I installed azureus 2.4.0.2 on my 64bit gentoo system and it works fine. The only bug is when I start it, it wants to open "", because it thinks there will be an inpit, as in "$1", see bug#126573.
Comment 3 Sumit Khanna 2006-05-07 08:55:32 UTC
Azureus seems to take the quote around $1 as an argument if no file is specified which is annoying. Here is a dirty hack which fixes the problem

if [ "$1" != "" ]; then
  java -cp $(java-config -p systray4j,azureus-bin 2>/dev/null) -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1"
else
  java -cp $(java-config -p systray4j,azureus-bin 2>/dev/null) -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main
fi

Comment 4 Alan Jones 2006-05-13 05:56:03 UTC
No need to do so much to fix it - just remove the quotes around the $1 - though I'd also suggest changing it to $@ so that it passes all arguments instead of just the first. I've tested it an using $@ without quotes works with no arguments, a single file, and two files passed - didn't bother testing with any additional arguments.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-06-05 02:21:01 UTC
*** Bug 135596 has been marked as a duplicate of this bug. ***
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2006-06-12 22:07:11 UTC
Betelgeuse,

Get this in Portage please.. It's driving everyone nuts..
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-06-18 13:11:56 UTC
*** Bug 137201 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-06-18 13:13:03 UTC
*** Bug 126573 has been marked as a duplicate of this bug. ***
Comment 9 Felix Wiemann 2006-06-18 14:27:36 UTC
The start script also says:

MSG0="ERROR:\nYou must edit this script and change PROGRAM_DIR to point to
where you installed Azureus"
...
                echo $MSG0 >&2

This should be echo -e "$MSG0" >&2 instead, I think.
Comment 10 Felix Wiemann 2006-06-18 14:28:32 UTC
For the parameter, you should use "$@", I think.  Not $1, $@, or "$1".
Comment 11 David Grant 2006-07-11 21:46:07 UTC
Is there a maintainer for azureus? This is ridiculous. This bug has been open since March and there is a fix available.

If the maintainer can't fix it than assign it maintainer-wanted.
Comment 12 Alessandro Calorì 2006-07-11 23:41:32 UTC
(In reply to comment #11)
> Is there a maintainer for azureus? This is ridiculous. This bug has been open
> since March and there is a fix available.

March? I've opened another bug report since January (then replaced by this one)!

> If the maintainer can't fix it than assign it maintainer-wanted.

I agree... please solve this bug and put the new ebuild in the portage tree.
Comment 13 Josh Nichols (RETIRED) gentoo-dev 2006-07-23 14:12:16 UTC
2.4.0.2 is now in portage. Resolving.
Comment 14 David Grant 2006-07-23 15:34:30 UTC
What does "2.4.0.2 is now in portage" mean? How is that a reason for resolving this, since 2.4.0.2 has already been in portage for a long time.
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-07-28 02:03:06 UTC
*** Bug 141976 has been marked as a duplicate of this bug. ***
Comment 16 David Grant 2006-07-28 02:07:46 UTC
I don't thing this is resolved yet. The last change is this:

azureus-bin-2.4.0.2 (18 Mar 2006)

  18 Mar 2006; Jeremy Huddleston <eradicator@gentoo.org>
  +azureus-bin-2.4.0.2.ebuild:
  Version bump.

March 18th...  This bug was opened on March 19th.
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-07-28 02:08:37 UTC
Closed in error, re-opening.
Comment 18 RoLo 2006-07-29 00:03:43 UTC
Created attachment 92973 [details]
azureus-bin-gentoo.sh

this fixes my problem, it uses the $@ commented by someone here
Comment 19 RoLo 2006-07-29 00:04:50 UTC
btw,
/usr/portage/net-p2p/azureus-bin/files/azureus-bin-gentoo.sh
Comment 20 Sam 2006-08-04 11:06:52 UTC
Right, this bug still exists in 
net-p2p/azureus-bin-2.4.0.2, and everytime i recompile azureus, it occurs again.
Comment 21 David Grant 2006-08-04 12:02:18 UTC
I have now committed a 2.4.0.2-r1 to sunrise that works. If all goes well it will be moved from the unreviewed part of sunrise to the reviewed part of sunrise at which point all of you can get the working 2.4.0.2 version (without having to patch the /usr/bin/azureus file) just by using sunrise.

emerge layman
layman -a sunrise
echo "=net-p2p/azureus-bin-2.4.0.2*" >> /etc/portage/package.keywords
emerge -uva azureus-bin
Comment 22 David Grant 2006-08-04 13:52:14 UTC
From Comment #1: "I noticed the same issue. I already made a working script for my own use of azureus but it needs a better update path from the current setup to be put to more wide use."

What does this mean? Better update path? The fix in Comment #3 works fine.
Comment 23 David Grant 2006-08-04 14:21:24 UTC
Oh and ignore comment #21, that's against the sunrise FAQ.
Comment 24 Petteri Räty (RETIRED) gentoo-dev 2006-08-05 09:58:16 UTC
(In reply to comment #16)
> I don't thing this is resolved yet. The last change is this:
> 
> azureus-bin-2.4.0.2 (18 Mar 2006)
> 
>   18 Mar 2006; Jeremy Huddleston <eradicator@gentoo.org>
>   +azureus-bin-2.4.0.2.ebuild:
>   Version bump.
> 
> March 18th...  This bug was opened on March 19th.
> 

This is resolved in net-p2p/azureus. eradicator was the one who bumped the -bin version so he should take care of the bugs he created too. I am serving in army atm and as such don't have much time for Gentoo atm. azureus-bin was supposed to be removed in favor of the from sources version ages ago but keywording swt go in the way. Hopefully we can get the deprecation done rather sooner than later.
Comment 25 Jakub Moc (RETIRED) gentoo-dev 2006-08-13 02:25:50 UTC
(In reply to comment #24)
> eradicator was the one who bumped the -bin
> version so he should take care of the bugs he created too.

If we are waiting for eradicator, this can as well go to maintainer-needed. He doesn't bother to fix his own broken stuff, so I highly doubt he'll take care of someone else's ebuild he's been messing about with.
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2006-09-11 16:08:48 UTC
package.masked and deprecated (see Bug 113389). Use net-p2p/azureus instead.