Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 46153
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mamoru KOMACHI (RETIRED) <usata@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: tklauser@nuerscht.ch
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cadubi-1.3.ebuild cadubi-1.3.ebuild (new package) text/plain tklauser@nuerscht.ch 2004-03-29 12:05 0000 497 bytes Details
cadubi-1.3-helpfile.patch Patch to change the path to the help.txt file patch tklauser@nuerscht.ch 2004-03-29 12:46 0000 347 bytes Details | Diff
cadubi-1.3.ebuild cadubi-1.3.ebuild (new package) changed as proposed text/plain tklauser@nuerscht.ch 2004-03-29 12:47 0000 484 bytes Details
cadubi-1.3.ebuild cadubi-1.3.ebuild (new package) changed as proposed #2 text/plain tklauser@nuerscht.ch 2004-03-29 13:10 0000 589 bytes Details
cadubi-1.3.ebuild cadubi-1.3.ebuild (new package) I'm just too stupid... text/plain tklauser@nuerscht.ch 2004-03-29 13:22 0000 588 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 46153 depends on: Show dependency tree
Bug 46153 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: 2004-03-29 12:04 0000
Hi there

I really like cadubi and installed it on my other (non-Gentoo) systems to create some fancy ASCII-Art stuff. Now I want this piece of software in my favourite distribution ;)
The development of cadubi has been stopped, so this is the last version of it.

For more information about cadubi go to: http://langworth.com/CadubiProject

You'll find my ebuild attached to this bug report. I've tested it on my local Gentoo box and it seems to work. I'd suggest to put it into app-misc (like figlet, a more or less similar program)

I'm looking forward to see my ebuild in the official Gentoo distribution.

Greetings from Switzerland

Tobias

------- Comment #1 From tklauser@nuerscht.ch 2004-03-29 12:05:17 0000 -------
Created an attachment (id=28305) [details]
cadubi-1.3.ebuild (new package)

------- Comment #2 From Mamoru KOMACHI (RETIRED) 2004-03-29 12:14:51 0000 -------
Hum, looks nice ;) I'll take it.

------- Comment #3 From Mamoru KOMACHI (RETIRED) 2004-03-29 12:29:15 0000 -------
Thanks for introducing such a cute package. You ebuild looks fine but
the cadubi perl script needs "help.txt" to be in the same place as it
is installed (/usr/bin) in order to read the help.  However,
we don't want simple text file to be installed into /usr/bin, I
suggest to install it to /usr/lib/cadubi/help.txt and change cadubi
script accordingly (you may want to read the script and make a patch
to do that).

P.S.
"cd ${WORKDIR}/${P}" in src_install() isn't necessary as the initial
working directory of src_install() is automatically set to S 
(= ${WORKDIR}/${P}). See man 5 ebuild for more detail.

------- Comment #4 From tklauser@nuerscht.ch 2004-03-29 12:46:13 0000 -------
Created an attachment (id=28308) [details]
Patch to change the path to the help.txt file

I hope it's OK like that.

------- Comment #5 From tklauser@nuerscht.ch 2004-03-29 12:47:32 0000 -------
Created an attachment (id=28309) [details]
cadubi-1.3.ebuild (new package) changed as proposed

I changed the ebuild as proposed. I hope it's OK like that.

------- Comment #6 From Mamoru KOMACHI (RETIRED) 2004-03-29 13:02:19 0000 -------
You forgot to actually apply the patch ;) We usually do that
in src_unpack(). It may look like this:

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${P}-helpfile.patch
}

(where ${P} is expanded to "cadubi-1.3") Also, dolib installs help.txt
under /usr/lib (so it ends with /usr/lib/help.txt). You need to use
insinto/doins functions.

src_install() {
	...
	insinto /usr/lib/${PN}
	doins help.txt
	...
}

(again, ${PN} is expanded to "cadubi")

Hope this will help you writing the ebuild.

------- Comment #7 From tklauser@nuerscht.ch 2004-03-29 13:10:30 0000 -------
Created an attachment (id=28310) [details]
cadubi-1.3.ebuild (new package) changed as proposed #2

It's late here in Switzerland ;) I hope the ebuild works now.

Thanks for your help usata

------- Comment #8 From tklauser@nuerscht.ch 2004-03-29 13:22:17 0000 -------
Created an attachment (id=28313) [details]
cadubi-1.3.ebuild (new package) I'm just too stupid...

Two times src_install() ;)

------- Comment #9 From Mamoru KOMACHI (RETIRED) 2004-03-29 13:32:15 0000 -------
Cool. I've just committed it to CVS. If you find any other package
useful/interesting/funny, feel free to create an ebuild and submit
it to bugzilla ;) Thanks for the contribution.

------- Comment #10 From tklauser@nuerscht.ch 2004-05-07 01:17:11 0000 -------
Do I need to mark this ebuild stable by myself and add it to bugzilla or does
someone of the nice Gentoo guys do this?

------- Comment #11 From Mamoru KOMACHI (RETIRED) 2004-05-07 03:10:44 0000 -------
Marked as stable. Thanks for the report. 

We usually wait for a month after introducing the ebuild to CVS.
If you find an ebuild which isn't marked stable for more than
several months (and you think the ebuild stable), please open 
a new bug for each ebuild that says "app-xxx/yyy-z.z.z.ebuild 
stable on x86" or something like that. diff to the modified ebuild
is preferred (If you just change KEYWORD, no attachment is needed).

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