Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 294000

Summary: ebuild for discount (app-text/discount)
Product: Gentoo Linux Reporter: Egil Hanger <egilkh>
Component: New packagesAssignee: Nathan Phillip Brink (binki) (RETIRED) <binki>
Status: RESOLVED FIXED    
Severity: normal CC: hasufell, jauhien, tove
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://www.pell.portland.or.us/~orc/Code/discount/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 399007    
Attachments: ebuild for discount-1.5.5
Updated for the new Discount, 1.5.6.
Updated for the new Discount, 1.5.7.
Version bump of discount.
Version bump to 1.6.1
Ebuild for discount-1.6.8
ebuild for version 2.1.3

Description Egil Hanger 2009-11-22 01:51:02 UTC
I've started using this Markdown parser to create some websites, and since I use the tool on multiple computers I wanted to create a easy way to install/update them. So I wrote this ebuild. Tested on two x86 computers and one amd64. 

Discount doesn't depend on anything. 
Is licensed under a BSD Style license (which I do not know correctly how to add in the ebuild.
The ebuild makes every feature available and installes sample programs (handy for real world usage). 
If this should be modified into usage of USE flags, I'd be willing to give it a go.

Think that should be all there is (my first ebuild, be gentle :) 

Reproducible: Always

Steps to Reproduce:
1. Add to local overlay.
2. Install 
3. Profit?

Actual Results:  
Works every time for me.

Expected Results:  
That is works :)
Comment 1 Egil Hanger 2009-11-22 01:52:44 UTC
Created attachment 210831 [details]
ebuild for discount-1.5.5
Comment 2 Egil Hanger 2009-12-03 12:52:01 UTC
Created attachment 211852 [details]
Updated for the new Discount, 1.5.6.

This is a copy & paste of ebuild for 1.5.5.



[quote]
version 1.5.6 makes four small changes;
   1. A feature fix to make malformed tags behave more like the way the reference implementation does. This was discovered when I found that an unmatched <word would cause the entire rest of the paragraph to be treated as a html tag, and when I fixed that I made malformed tags produce the same output that they do in the reference dingus.
   2. Add a configure.sh test for bzero() or memset()
   3. and remove a place where I used bzero()
   4. Documentation changes contributed by Josh Wood
[/quote]
Comment 3 Egil Hanger 2009-12-03 12:54:12 UTC
Forgot to add, new ebuild is tested on one amd64 and one x86. Worked fine from a local overlay.

:)
Comment 4 Egil Hanger 2009-12-18 18:45:38 UTC
Created attachment 213409 [details]
Updated for the new Discount, 1.5.7.

This is a copy & paste of ebuild for 1.5.6.

Tested on amd64 and x86. Worked on both those.
Comment 5 Egil Hanger 2009-12-31 08:42:33 UTC
Created attachment 214705 [details]
Version bump of discount.

Tested on amd64 and x86.
Comment 6 Egil Hanger 2010-02-22 11:14:56 UTC
Created attachment 220687 [details]
Version bump to 1.6.1
Comment 7 Egil Hanger 2010-09-23 20:23:47 UTC
Created attachment 248467 [details]
Ebuild for discount-1.6.8

Bumping this with a ebuild for 1.6.8.

Since i'm still making the ebuild I thought I'd share, maybe someone else wants them aswell :)
Comment 8 Egil Hanger 2012-03-22 10:58:10 UTC
Created attachment 306303 [details]
ebuild for version 2.1.3

Hey,

Sorry for the long reply. I'm not really sure if I can do anything about the block.

I'm attaching the lastest ebuild I have. It might fix some problems, I don't run the wiki stuff myself. But I can do tests if needed be.

I keep updating this on a regular basis because I use it myself. So every version bump gets a ebuild.
Comment 9 Jauhien Piatlicki (RETIRED) gentoo-dev 2012-04-05 07:17:32 UTC
Thanks for ebuild. Can you add it to the sunrise overlay? Or perhaps I might add it after some reviewing if you don't want. It would be better to have it in overlay, no just on the bugzilla.
Comment 11 Egil Hanger 2012-04-10 09:58:58 UTC
Thanks for taking your time to add it to the sunrise overlay.

Should I post new ebuilds here in the future? 

Mostly it's simple cp of the previous one, checking it works with the USE flags. Once I've made bigger changes to the ebuild.
Comment 12 Julian Ospald 2012-04-10 10:06:21 UTC
You can add them yourself to the sunrise-overlay.

http://overlays.gentoo.org/proj/sunrise/

and join #gentoo-sunrise
Comment 13 Jauhien Piatlicki (RETIRED) gentoo-dev 2012-09-03 20:23:09 UTC
Version bump (2.1.5a): http://git.overlays.gentoo.org/gitweb/?p=proj/sunrise-reviewed.git;a=tree;f=app-text/discount
Comment 14 Jauhien Piatlicki (RETIRED) gentoo-dev 2013-05-22 21:42:37 UTC
version bump: 2.1.6
Comment 15 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2013-07-29 05:06:56 UTC
Added to portage, probably will be an RDEPEND of geany-plugins-2.23[markdown] (bug #467624).

Thanks for the ebuild to start with!

*discount-2.1.6 (29 Jul 2013)

  29 Jul 2013; Nathan Phillip Brink <binki@gentoo.org> +discount-2.1.6.ebuild,
  +files/discount-2.1.6-portage-multilib-CFLAGS.patch, +metadata.xml:
  Add app-text/discount for bug #294000 by Egil Hanger and jauhien. Imported
  from sunrise with fixes including CFLAGS, LDFLAGS, CPPFLAGS, sandbox, and
  shared/dynamic library support. Prefixed some generically-named binaries with
  'mkd'.