diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2013-04-25 19:59:46 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2013-04-25 19:59:46 +0000 |
commit | 68df3b22769bc5e9b7e3ac46ac4a2ee626d74c7d (patch) | |
tree | 831c6b2fa504d1dd98a9669587eed7d257ebb9e3 /www-apps | |
parent | Fix bug #467258 (diff) | |
download | historical-68df3b22769bc5e9b7e3ac46ac4a2ee626d74c7d.tar.gz historical-68df3b22769bc5e9b7e3ac46ac4a2ee626d74c7d.tar.bz2 historical-68df3b22769bc5e9b7e3ac46ac4a2ee626d74c7d.zip |
Enabling utf-8 support
Package-Manager: portage-2.1.11.55/cvs/Linux x86_64
Manifest-Sign-Key: 0x0145142D
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/rocketwiki-lqfb/ChangeLog | 6 | ||||
-rw-r--r-- | www-apps/rocketwiki-lqfb/Manifest | 11 | ||||
-rw-r--r-- | www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch | 44 | ||||
-rw-r--r-- | www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild | 7 |
4 files changed, 61 insertions, 7 deletions
diff --git a/www-apps/rocketwiki-lqfb/ChangeLog b/www-apps/rocketwiki-lqfb/ChangeLog index a80b0f92bcc3..3a7b79767a3f 100644 --- a/www-apps/rocketwiki-lqfb/ChangeLog +++ b/www-apps/rocketwiki-lqfb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apps/rocketwiki-lqfb # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/rocketwiki-lqfb/ChangeLog,v 1.1 2013/04/09 20:34:25 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/rocketwiki-lqfb/ChangeLog,v 1.2 2013/04/25 19:56:46 tupone Exp $ + + 25 Apr 2013; Alfredo Tupone <tupone@gentoo.org> rocketwiki-lqfb-0.4.ebuild, + +files/rocketwiki-lqfb-0.4-utf8.patch: + Enabling utf-8 support *rocketwiki-lqfb-0.4 (09 Apr 2013) diff --git a/www-apps/rocketwiki-lqfb/Manifest b/www-apps/rocketwiki-lqfb/Manifest index cf5677783038..b81c594f85ea 100644 --- a/www-apps/rocketwiki-lqfb/Manifest +++ b/www-apps/rocketwiki-lqfb/Manifest @@ -1,14 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +AUX rocketwiki-lqfb-0.4-utf8.patch 1164 SHA256 2fa2f060093f7d9ddc155f90190865d9aafbc5a701dc9f7b904cfad62e613994 SHA512 146a39a78e944f41d569f47ec39a53b192d4a5c127189cd3cb4e784e33a94761c0cc309f7edc08f73fab6eb6ceaf6545757e232c5a912f874c5bf4af80c9903b WHIRLPOOL 04269332d7cdc81ed182c97b134508167dfcdd8c595ecaf81b9623f64cf0865f45613f3e39c6a9ad328ec646850578b00561e09e428fbc927be8e353919abc6d DIST rocketwiki-lqfb-v0.4.tar.gz 5274 SHA256 d4035e01026585eab69d135e70cf3e5b8cfd93c078d09303902f3862f885c830 SHA512 fa90b317007c42e2e6d36c79773948ab7ab68ee914bd20825e0d5acbb8bf0add2c0a48119440d8a5b4c991f2d1f59bc83a1835b02d9070ae67fca1d4ffb73caf WHIRLPOOL 41dc9f02ed196f7c1881c33f0092cb267d45299dc6eb479afda9fa9adde30be06405af60faebd1cfa85e7c5ee16a8f161f59f5881824326ddc05d97489f3bf29 -EBUILD rocketwiki-lqfb-0.4.ebuild 697 SHA256 26c65961efbc96aed86c626c466626d49a8481435d95fb221b26d89bccf7f114 SHA512 412b50bf19199917aaca659a91321520f2e3a0ce7c4d6e74b96f98a439932364fff5fdd01404ef22b0084d305ae81817b6dbceb6357bca88cbf054b36c0bb925 WHIRLPOOL e00fefda721cf24bdedc2ba55892ea6a4a2c71a6aa47d8d1d0de3387fbbfeba95929d22a8c50c9b8c406ca9c4247ea60a114cb7265545d8a3a4c3f7e57c333e5 -MISC ChangeLog 368 SHA256 59d85ab048f3c4e11654d5377f4b790676713686aca44c9200a416b19510b3be SHA512 217bf87c5499d7d2aa2af603bba07ef6fb67e48f4c84f1018ed07ba14a84184d68923c7ac0c75e0a300dc7218be68d4d564ae0a7229119c6ff41673eabd2be0b WHIRLPOOL db1756c6664dc67c4ac25c488d7921ced4626a59d57c9337b7d61be97fe98f8f15821c3e87b4268551cb7342ba6b16f57349fa29d61237aa842ff0a9052aa44f +EBUILD rocketwiki-lqfb-0.4.ebuild 769 SHA256 b8e27fdaea579e8f19ae33c44a6b6431a4eaebc5d0f7783c6dd60bc71d27d66d SHA512 abf0e908fa657c747b2c655ad0af49f986853add7400e8090c324da4d4feae66435aa0b97a7cc7f127f84e48209c5193fe5c1d4230799fcd1c9046170d9cd59a WHIRLPOOL 7d818e4b8335728c3d0054ecbcbe52a0c7aee72da12f689c3fab27cc30795a9694222cdf697a6f4940c6226e2b48f6e12c250dbfa0ae970099fb7742d9292e13 +MISC ChangeLog 513 SHA256 fb86368f820f0ab4f992ce3438c7f9510eb9d3878255dea024160b99f347fa33 SHA512 25bde05d1c55e7e9643b0bef544bda573623e609d880f6559c118b41b42543b681acfe283a3e49c553060a2ec87e5b78a62a91f388927d42c1454f2dbcd95332 WHIRLPOOL 0a8d5947e89926a87457885d561d9901033aefc01262617ff780e09f3d5c68286e07f11de7ca1caf0703ba57829fad4dc7ba0e062a76bf400f1fe9fff1e705ff MISC metadata.xml 489 SHA256 c792bb7a19eeced4083172cd212da3f6fc8bb275b6f7dcc60355ae6cc4fb4861 SHA512 5c19eb95c0666d104f11c2262af8a350449b95424e96768a34c903a0db0f2274d3a6b473986d246cbb15435e252ae14c68fadd50800f1db20f62755d68e8f53b WHIRLPOOL 8c84e9a42ca1ac42037a916e2002bcfaa7d961a332868aac2abd716386129530cf3f86afcd893f64291b93ea9aa3ec68c9eb16920cd8f0c881b97eb2cd06b37f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlFke1cACgkQIY77eQFFFC1ofQCgvxmuV6QcI6+DusGR1s1GNXCe -gH8AnjXzUyoUTnosttL8yEtDHjOtYyX/ -=cGq7 +iEYEAREIAAYFAlF5iykACgkQIY77eQFFFC2AJgCguoT2y2JAPSCMhhQzYuDbmyv1 +Oi4AoIptmSo0umudYTIzjrUuFZIETZfg +=1M1y -----END PGP SIGNATURE----- diff --git a/www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch b/www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch new file mode 100644 index 000000000000..0156686ee29c --- /dev/null +++ b/www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch @@ -0,0 +1,44 @@ +--- rocketwiki-lqfb.hs.old 2013-04-25 21:41:34.044588280 +0200 ++++ rocketwiki-lqfb.hs 2013-04-25 21:42:33.108020316 +0200 +@@ -2,6 +2,7 @@ + import Text.ParserCombinators.Parsec + import Control.Applicative ((<$>), (<*>)) + import Data.List (intercalate) ++import System.IO (hSetEncoding, stdin, stdout, utf8) + + + ----------------------------------------------------- +@@ -405,7 +406,10 @@ + return htmlEntity + + +-main = interact wikiParse ++main = do ++ hSetEncoding stdin utf8 ++ hSetEncoding stdout utf8 ++ interact wikiParse + + wikiParse str + | success parseResult = html +--- rocketwiki-lqfb-compat.hs.old 2013-04-25 21:41:41.340518231 +0200 ++++ rocketwiki-lqfb-compat.hs 2013-04-25 21:43:21.299557312 +0200 +@@ -2,6 +2,7 @@ + import Text.ParserCombinators.Parsec + import Control.Applicative ((<$>), (<*>)) + import Data.List (intercalate) ++import System.IO (hSetEncoding, stdin, stdout, utf8) + + + ----------------------------------------------------- +@@ -412,7 +413,10 @@ + return htmlEntity + + +-main = interact wikiParse ++main = do ++ hSetEncoding stdin utf8 ++ hSetEncoding stdout utf8 ++ interact wikiParse + + wikiParse str + | success parseResult = html diff --git a/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild b/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild index c43aa61f9fbc..2e072aeca9b4 100644 --- a/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild +++ b/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild @@ -1,9 +1,10 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild,v 1.1 2013/04/09 20:34:25 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild,v 1.2 2013/04/25 19:56:46 tupone Exp $ EAPI=4 +inherit eutils MY_P=${PN}-v${PV} DESCRIPTION="Small parser which translates a wiki dialect to HTML" @@ -22,6 +23,10 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${MY_P} +src_prepare() { + epatch "${FILESDIR}"/${P}-utf8.patch +} + src_install() { dobin ${PN}{,-compat} } |