First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 142155
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Desktop Misc. Team <desktop-misc@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Devon Warren <CptnObvious999@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
basket-0.6.0_beta2.ebuild Basket 0.6.0 beta2 ebuild text/plain Devon Warren 2006-07-30 00:17 0000 646 bytes Details
basket-0.6.0_beta2.diff Basket 0.6.0 beta2 diff text/plain Devon Warren 2006-07-30 08:19 0000 756 bytes Details
basket-0.6.0_beta2.ebuild.diff Diff between basket-0.5.0.ebuild and basket-0.6.0_beta2.ebuild text/plain Kenneth Perry 2006-08-10 12:19 0000 1.27 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 142155 depends on: Show dependency tree
Bug 142155 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: 2006-07-30 00:12 0000
Version 0.6.0 Beta 2 was recently released so I took the liberty of making an
updated ebuild from the current one in portage (0.5.0). Will someone put
0.6.0beta2 in the main tree?

------- Comment #1 From Devon Warren 2006-07-30 00:17:55 0000 -------
Created an attachment (id=93047) [edit]
Basket 0.6.0 beta2 ebuild

------- Comment #2 From Krzysiek Pawlik 2006-07-30 03:55:17 0000 -------
Please attach a diff against latest version and reopen.

------- Comment #3 From Devon Warren 2006-07-30 08:19:37 0000 -------
Created an attachment (id=93064) [edit]
Basket 0.6.0 beta2 diff

I hope that's how you are supposed to do a diff, first time I've done it :).
Also I'm not sure if there is a better way to do it then using the mv command.

------- Comment #4 From Devon Warren 2006-07-30 08:22:50 0000 -------
Added 0.5.0 -> 0.6.0 beta2 diff

------- Comment #5 From Sebastian Roeder 2006-08-01 15:35:33 0000 -------
The ebuild you have attached is not an improvement to the one in portage at
all. To make an ebuild for the 0.6_beta2 it is enough to copy the old ebuild to
your overlay in /usr/local/portage and name it to basket-0.6_beta2.

In your ebuild the download URI is hardcoded and thats BAD (TM).I am not sure
how one can fix this cause upstream didn't follow the naming conventions though
. 

The "arts" IUSE is managed by the kde eclass as far as I know and must not be
used directly in the ebuild.

Furthermore you dropped 3 patches from the original ebuild - did you test if
they are realy not needed anymore (e.g. do you have GCC 4.1)?

Last but not least your cd and mv actions are not needed at all - one should
avoid such actions and keep things simple ...

If you want to improve in writing ebuilds checkout the docs at
http://devmanual.gentoo.org  

------- Comment #6 From Devon Warren 2006-08-01 17:29:23 0000 -------
> The ebuild you have attached is not an improvement to the one in portage at
> all. To make an ebuild for the 0.6_beta2 it is enough to copy the old ebuild to
> your overlay in /usr/local/portage and name it to basket-0.6_beta2.

Copying the ebuild and renaming it did not work so I changed it till it did, I
realize the changes might not be up to the expected quality of service of
actual developers but I figured by some off chance maybe this could help
someone.

> In your ebuild the download URI is hardcoded and thats BAD (TM).I am not sure
> how one can fix this cause upstream didn't follow the naming conventions though

Using the 0.5.0 URI did not work because the file was labeled 0.6.0Beta2
instead of 0.6.0_beta2 so I hard coded it not knowing what else I could do.

> The "arts" IUSE is managed by the kde eclass as far as I know and must not be
> used directly in the ebuild.

I honestly can't say why I put that in there, whether it was because the
package listed it when I used the configure --help flag or because of some
other reason, I forgot....

> Furthermore you dropped 3 patches from the original ebuild - did you test if
> they are realy not needed anymore (e.g. do you have GCC 4.1)?

I only see 2 patches though and not 3.... I have GCC 4.1 and the ebuild
wouldn't accept the patch for AMD64 and after taking it out it compiled
perfectly on AMD64 for me. As for the noarts patch it would not work with the
new basket either. (did I have to change something to make them work or are
they already applied in the upstream?)

> Last but not least your cd and mv actions are not needed at all - one should
> avoid such actions and keep things simple ...
> 
> If you want to improve in writing ebuilds checkout the docs at
> http://devmanual.gentoo.org  

I know but that was the only way it would work. As you can tell I just wanted
things to work until an official package was released. When changing an ebuild
it becomes hard to know what fixed the problem and what the official way of
doing it is. As it is now it consists of a hack upon a hack which requires
another hack to get those to work and then the ebuild will install, I am sure
there are better ways to do it. I will try to sit down and read the whole
manual so I can make better ebuilds.

------- Comment #7 From Kenneth Perry 2006-08-10 12:19:55 0000 -------
Created an attachment (id=93931) [edit]
Diff between basket-0.5.0.ebuild and basket-0.6.0_beta2.ebuild

Created my own ebuild based on portages and the one that was here.
Diff attached.

Both patches have been pushed upstream (have GCC 4.1 and built / checked source
about -arts), so removed the entire src_unpack() section. Using versionator and
some bash replacing to convert the version string / working folder.

------- Comment #8 From Krzysiek Pawlik 2006-09-03 03:57:09 0000 -------
(From update of attachment 93931 [edit])
text/plain please :)

------- Comment #9 From Krzysiek Pawlik 2006-09-03 04:11:18 0000 -------
Bumped in portage.

First Last Prev Next    No search results available      Search page      Enter new bug