* Add Turkish manpage.

* Fix a few typos here and there.
* Hope it doesn't break a thing.
This commit is contained in:
Erkin Batu Altunbaş 2013-05-28 15:12:43 +03:00
parent ce1d99f3cb
commit 243c0b6520
7 changed files with 562 additions and 385 deletions

489
CHANGELOG
View file

@ -1,363 +1,364 @@
Version 3.0.2 Version 3.0.2
New ponies: brucemane, deepblue, hairytipper, peachbottom, rainbowdrop, strawberrycream, wildflower New ponies: brucemane, deepblue, hairytipper, peachbottom, rainbowdrop, strawberrycream, wildflower
New extraponies: milky New extraponies: milky
Default value for -W has been changed from 40 to 60. Default value for -W has been changed from 40 to 60.
Turkish manual page added.
Version 3.0.1 Version 3.0.1
New ponies: harshwhinny New ponies: harshwhinny
All ponies has been reviewed and improved when needed. All ponies has been reviewed and improved when needed.
The ponysay-tool command is now installed.
The ponysay-tool command is now installed.
Version 3.0 Version 3.0
New ponies: applesplit, amira, babseed, bear, beautybrass, bigmacsleep, billneigh, cadancecrystal, cadancescruffy, New ponies: applesplit, amira, babseed, bear, beautybrass, bigmacsleep, billneigh, cadancecrystal, cadancescruffy,
cloudchaser, descent, featherweight, fiddlesticks, flitter, gingersnap, haakim, hayseed, lighningdust, cloudchaser, descent, featherweight, fiddlesticks, flitter, gingersnap, haakim, hayseed, lighningdust,
jubileena, midnightstrike, mrbreezy, orangebird, orangefrog, pansyshy, pinkiecrazyface, poundcake, jubileena, midnightstrike, mrbreezy, orangebird, orangefrog, pansyshy, pinkiecrazyface, poundcake,
princesserroria, raccoon, rainbowblitz, rarityelite, ravenearth, ravenunicorn, royalunicornguard, rumble, princesserroria, raccoon, rainbowblitz, rarityelite, ravenearth, ravenunicorn, royalunicornguard, rumble,
shiningarmorcrystal, sombra, spikecrystal, squirrel, sweetcream (comic), trixieamulet, twilacorn, shiningarmorcrystal, sombra, spikecrystal, squirrel, sweetcream (comic), trixieamulet, twilacorn,
twilightcrystal, twilightfly, twilightprincess, twilightwings, twinkleshine twilightcrystal, twilightfly, twilightprincess, twilightwings, twinkleshine
New extraponies: donutpony, gleamingshield, hestelle, johndelancie, jristz, maandree, orion, pipsqueak (without pirate suit), New extraponies: donutpony, gleamingshield, hestelle, johndelancie, jristz, maandree, orion, pipsqueak (without pirate suit),
paradise, pizzapony, snowdrop, tempo, ticket paradise, pizzapony, snowdrop, tempo, ticket
Ponies renamed: lotusbloosom → lotusblossom (typo) Ponies renamed: lotusbloosom → lotusblossom (typo)
maredowellgallop → maredowellgallop (need a version named as master) maredowellgallop → maredowellgallop (need a version named as master)
ironwillwalk → ironwillwalk (need a version named as master) ironwillwalk → ironwillwalk (need a version named as master)
shadowbolts → nightingale (shadowbolts split) shadowbolts → nightingale (shadowbolts split)
lily → lilyvalley (official name) lily → lilyvalley (official name)
sweatiesing → sweetiesing (name consistency) sweatiesing → sweetiesing (name consistency)
carecake become carrotcake (official name) carecake become carrotcake (official name)
peppermoon → papermoon (miswriting) peppermoon → papermoon (miswriting)
maria into danger (given by the author) maria into danger (given by the author)
meliot → melilot (miswriting) meliot → melilot (miswriting)
Pony symlink added: lily → lilyvalley Pony symlink added: lily → lilyvalley
sweetiedrops → bonbon sweetiedrops → bonbon
carecake → carrotcake carecake → carrotcake
berrydreams → blueberry berrydreams → blueberry
raven → ravenunicorn (need a version named as master) raven → ravenunicorn (need a version named as master)
fillycelestia and filliestia has been moved to extraponies. fillycelestia and filliestia has been moved to extraponies.
Renamed option -F to +f and option --F to ++f, -F and --F has new definitions. Renamed option -F to +f and option --F to ++f, -F and --F has new definitions.
Environment variable 'PONYSAY_TYPO_LIMIT' has been added. Environment variable 'PONYSAY_TYPO_LIMIT' has been added.
Environment variable 'PONYSAY_WRAP_HYPHEN' has been added. Environment variable 'PONYSAY_WRAP_HYPHEN' has been added.
Environment variable 'PONYSAY_WRAP_LIMIT' has been added. Environment variable 'PONYSAY_WRAP_LIMIT' has been added.
Environment variable 'PONYSAY_WRAP_EXCEED' has been added. Environment variable 'PONYSAY_WRAP_EXCEED' has been added.
Added support for ~/.ponysayrc with the alternatives: ${XDG_CONFIG_HOME}/ponysay/ponysayrc Added support for ~/.ponysayrc with the alternatives: ${XDG_CONFIG_HOME}/ponysay/ponysayrc
and ~/.config/ponysay/ponysayrc as well as the global fallback /etc/ponysayrc. and ~/.config/ponysay/ponysayrc as well as the global fallback /etc/ponysayrc.
-f, +f and -q may be unargumented if that are at the end of the command line. -f, +f and -q may be unargumented if that are at the end of the command line.
ponysay-tool is introduced, it can be used to edit, remove and copy pony meta data, and more. ponysay-tool is introduced, it can be used to edit, remove and copy pony meta data, and more.
ponysay-tool --kms generates all kmsponies for the current TTY palette. ponysay-tool --kms generates all kmsponies for the current TTY palette.
Pony metadata tags BALLOON TOP and BALLOON BOTTOM can be used to specify how Pony metadata tags BALLOON TOP and BALLOON BOTTOM can be used to specify how
much extra height the balloon causes at the top and at the bottom of the pony. much extra height the balloon causes at the top and at the bottom of the pony.
${XDG_DATA_HOME}/ponysay/* is allowed in favour of ${HOME}/.local/share/ponysay/* ${XDG_DATA_HOME}/ponysay/* is allowed in favour of ${HOME}/.local/share/ponysay/*
Balloons can be have and explicit minimum column span with placement justification. Balloons can be have and explicit minimum column span with placement justification.
Only ponies that fit the terminal will be randomly selected (for directory with pony Only ponies that fit the terminal will be randomly selected (for directory with pony
dimension files generated), however if no pony fits, any of the can be randomly selected. dimension files generated), however if no pony fits, any of the can be randomly selected.
Setup option --sysconf-dir with default value /etc added. Setup option --sysconf-dir with default value /etc added.
New manditory setup option --freedom. New manditory setup option --freedom.
Pony metadata options added: --info, ++info and --restrict. Pony metadata options added: --info, ++info and --restrict.
The license has been changed to the GNU General Public License version 3+, WTFPL 2. The license has been changed to the GNU General Public License version 3+, WTFPL 2.
Version 2.9.1 Version 2.9.1
Bug fix: correction in the -W option broke the -o option. Bug fix: correction in the -W option broke the -o option.
Version 2.9 Version 2.9
New ponies: pinkieumbrelahatfear, twilighttime New ponies: pinkieumbrelahatfear, twilighttime
New extraponies: molestia (Tumblr) New extraponies: molestia (Tumblr)
The option -q works like -f and -F, it takes one argument, and may be used multiple The option -q works like -f and -F, it takes one argument, and may be used multiple
times for more arguments. times for more arguments.
The old option -q is renamed to --q. The old option -q is renamed to --q.
The options --f and --F has been added. The options --f and --F has been added.
Weighted distance for autocorrection on pony names and boolean style name is set to 5, rather Weighted distance for autocorrection on pony names and boolean style name is set to 5, rather
than unlimited. Currently this cannot be modified (without editing the source code.) than unlimited. Currently this cannot be modified (without editing the source code.)
If file descriptor 3 is definied when ponysay is executed, extra information is printed to it. If file descriptor 3 is definied when ponysay is executed, extra information is printed to it.
Arguments starting with n or i is allowed for -W. Arguments starting with n or i is allowed for -W.
Version 2.8 Version 2.8
New ponies: airheart, bastionyorsets, gustavelegrand, milkyway, peppermoon, pinkacopter, pinkiefly, New ponies: airheart, bastionyorsets, gustavelegrand, milkyway, peppermoon, pinkacopter, pinkiefly,
pinkieparade, pinkieumbrellahat, raritycomplaining, shiningarmorwedding, soarinofficer, pinkieparade, pinkieumbrellahat, raritycomplaining, shiningarmorwedding, soarinofficer,
starlight, sunnyrays, sweatiesing, tenderheart, tom, twilightspike, zecorabalance starlight, sunnyrays, sweatiesing, tenderheart, tom, twilightspike, zecorabalance
New extraponies: applejack (Tumblr), applejack-63, artemis, blueberry, butterscotch, New extraponies: applejack (Tumblr), applejack-63, artemis, blueberry, butterscotch,
drhoovesdiscorded (Tumblr), duskshine, elusive, rainbowblitz drhoovesdiscorded (Tumblr), duskshine, elusive, rainbowblitz
Pony symlink added: georgewachingtony → bastionyorsets Pony symlink added: georgewachingtony → bastionyorsets
Support for explicit hypthenation using soft hyphens had been added to the word wrapper. Support for explicit hypthenation using soft hyphens had been added to the word wrapper.
Support for explicit non-word wrapping using non-breaking space had been added to the word wrapper. Support for explicit non-word wrapping using non-breaking space had been added to the word wrapper.
The word wrapper colours the inserted hyphens in red. The word wrapper colours the inserted hyphens in red.
Support for terminal capabilities emulation with the flags -X, -V and -K. Support for terminal capabilities emulation with the flags -X, -V and -K.
Support for printing just the pony, using the flag -o. Support for printing just the pony, using the flag -o.
Colouring option flags are added. Colouring option flags are added.
Automatic correction of incorrectly spelled pony names and balloon style names added. Automatic correction of incorrectly spelled pony names and balloon style names added.
Version 2.7 Version 2.7
New ponies: basil, cloudkicker, cerberus, cow, derpysad, flowertrio, frederickhorseshoepin, New ponies: basil, cloudkicker, cerberus, cow, derpysad, flowertrio, frederickhorseshoepin,
horsemd, jeffletroski, jesuspezuna, joe, joetuxedo, manticore, meadowsong, horsemd, jeffletroski, jesuspezuna, joe, joetuxedo, manticore, meadowsong,
meliot, pinkiegummydisguise, seaswirl, theodoredonaldkerabatsos, turf, meliot, pinkiegummydisguise, seaswirl, theodoredonaldkerabatsos, turf,
waltercoltchak waltercoltchak
New extraponies: blueballblitz (Various fanfics, Shadowbolt), drhooves1, drhooves2, drhooves3, New extraponies: blueballblitz (Various fanfics, Shadowbolt), drhooves1, drhooves2, drhooves3,
drhooves4, drhooves5, drhooves6, drhooves7, drhooves8, drhooves9, drhooves10, drhooves4, drhooves5, drhooves6, drhooves7, drhooves8, drhooves9, drhooves10,
drhooves11, nyx (Fanfic: Past Sins), nyxdisguised (Fanfic: Past Sins), drhooves11, nyx (Fanfic: Past Sins), nyxdisguised (Fanfic: Past Sins),
pinkaminacupcake (Fanfic) pinkaminacupcake (Fanfic)
Pony renamed: cracky → crackle Pony renamed: cracky → crackle
Version 2.6 Version 2.6
New ponies: applebloomdance, blueberry, blueberrycake, blueharvest, candylicious, New ponies: applebloomdance, blueberry, blueberrycake, blueharvest, candylicious,
cherrycola, cracky, cutiemarkcrusaders, derpybags, derpycloud, firestreak, cherrycola, cracky, cutiemarkcrusaders, derpybags, derpycloud, firestreak,
hughjelly, lemonhearts, lyrabonbon, noi, pictureperfect, pigpen, hughjelly, lemonhearts, lyrabonbon, noi, pictureperfect, pigpen,
poppycock, quickfix, rainbowhurricane, rainboshadowbolt, silverspeed, poppycock, quickfix, rainbowhurricane, rainboshadowbolt, silverspeed,
surprise (wonderbolt), thunderlane, timeturner, twilightthebearded surprise (wonderbolt), thunderlane, timeturner, twilightthebearded
New extraponies: faust (alicorn), maria (Moonstuck, seapony), posey (Tumblr), New extraponies: faust (alicorn), maria (Moonstuck, seapony), posey (Tumblr),
slanderpony (Various tumblr), sparkler (Tumblr), twilight (Tumblr) slanderpony (Various tumblr), sparkler (Tumblr), twilight (Tumblr)
Pony symlink added: bonbonlyra → lyrabonbon Pony symlink added: bonbonlyra → lyrabonbon
clockwork → quickfix clockwork → quickfix
drhooves → timeturner drhooves → timeturner
epona → quickfix epona → quickfix
lotusbloosom → lotus lotusbloosom → lotus
doctor and doctornohat has become extraponies, because their mane style is doctor and doctornohat has become extraponies, because their mane style is
different from in the TV show. And timeturner no longer links to any of them. different from in the TV show. And timeturner no longer links to any of them.
./configure and make is no longer support. ./configure and make is no longer support.
Version 2.5.1 Version 2.5.1
New extra ponies: sealyra New extra ponies: sealyra
Build system as compatibility with standard GNU Make build system. Build system as compatibility with standard GNU Make build system.
Version 2.5 Version 2.5
Brand new highly configurable build system. Brand new highly configurable build system.
UTF-8 as I/O encoding is enforced. (Critical bug fix for ASCII locale users.) UTF-8 as I/O encoding is enforced. (Critical bug fix for ASCII locale users.)
Version 2.4 Version 2.4
Nothing worth mentioning. Nothing worth mentioning.
Note: Identifies itself as version 2.3 Note: Identifies itself as version 2.3
Version 2.3 Version 2.3
Support for 'best.pony' file. Support for 'best.pony' file.
`-q` accepts file names. `-q` accepts file names.
Improved Unicode support: treats combining characters as invisible. Improved Unicode support: treats combining characters as invisible.
Optional support for UCS pony names. Optional support for UCS pony names.
Pony files and balloon style files can be pipes (as Pony files and balloon style files can be pipes (as
well as sockets, doors and as always regular files.) well as sockets, doors and as always regular files.)
Support cowsay style message compression. Support cowsay style message compression.
New ponies: blaze New ponies: blaze
New extraponies: fyrefly (Tumblr), surprise (Tumblr), woona (Moonstuck), New extraponies: fyrefly (Tumblr), surprise (Tumblr), woona (Moonstuck),
woonanohat (Moonstuck) woonanohat (Moonstuck)
Pony symlink added: pinkieoink → oinkoinkoink Pony symlink added: pinkieoink → oinkoinkoink
Support for non-MLP:FiM ponies (known as extraponies). Support for non-MLP:FiM ponies (known as extraponies).
Version 2.2 Version 2.2
Full support for arbitrary positioning of balloon in pony files. Full support for arbitrary positioning of balloon in pony files.
ANSI colour sequences in pony files are applied only to the pony image, ANSI colour sequences in pony files are applied only to the pony image,
not the balloon link or the balloon itself. not the balloon link or the balloon itself.
Support for colours in the message. Support for colours in the message.
Support custom balloon styles using the option '-b', '-B' will list all Support custom balloon styles using the option '-b', '-B' will list all
available. This list depends on whether you are invoking `ponysay` or `ponythink`. available. This list depends on whether you are invoking `ponysay` or `ponythink`.
Version 2.1.1 Version 2.1.1
Nothing worth mentioning. Nothing worth mentioning.
Version 2.1 Version 2.1
Pony renamed: applebumkin → applebumpkin Pony renamed: applebumkin → applebumpkin
New ponies: purplehaze, owlowiscious New ponies: purplehaze, owlowiscious
Cowsay has be reimplemented, and have full Unicode support Cowsay has be reimplemented, and have full Unicode support
and support for @code{figlet} style messages. and support for @code{figlet} style messages.
Deleted environment variables: PONYSAY_COWSAY, PONYSAY_COWTHINK Deleted environment variables: PONYSAY_COWSAY, PONYSAY_COWTHINK
You will need Python 3, but not GNU Bash, Perl or Cowsay. You will need Python 3, but not GNU Bash, Perl or Cowsay.
New .pony file format is used. New .pony file format is used.
Version 2.0 Version 2.0
Makefile is generated by running `./configure`. Makefile is generated by running `./configure`.
All Perl scripts and almost all Bash are reimplemented in one Python 3 script. All Perl scripts and almost all Bash are reimplemented in one Python 3 script.
kmsponies4ponysay is included. kmsponies4ponysay is included.
Version 1.4.1 Version 1.4.1
Code is repaired and more portable. Code is repaired and more portable.
Version 1.4 Version 1.4
Make file is improved. Make file is improved.
Note: Identifies itself as version 1.3 Note: Identifies itself as version 1.3
Version 1.3 Version 1.3
New ponies: forestspirit, hollydash, raggedy, rhyme New ponies: forestspirit, hollydash, raggedy, rhyme
Pony renamed: sindy → powderrouge Pony renamed: sindy → powderrouge
Pony symlink added: sindy → powderrouge Pony symlink added: sindy → powderrouge
PREFIX=/some-dir can be used when invoking make, the default value is /usr PREFIX=/some-dir can be used when invoking make, the default value is /usr
Version 1.2 Version 1.2
ponyquotes4ponysay is included. ponyquotes4ponysay is included.
Support for extension: kmsponies4ponysay. Support for extension: kmsponies4ponysay.
New ponies: ace, filthyrich, blueblood, gingergold, hayfever, New ponies: ace, filthyrich, blueblood, gingergold, hayfever,
highscore, junebug, mrsparkle, persnickety, ponet, highscore, junebug, mrsparkle, persnickety, ponet,
screwloose, tornadobolt. screwloose, tornadobolt.
Pony renamed: elsie → prettyvision Pony renamed: elsie → prettyvision
Pony symlinks added: mrsparkle → nightlight Pony symlinks added: mrsparkle → nightlight
elsie → prettyvision elsie → prettyvision
Arbitrary spaces in '-f' argument is not longer accepted (it causes Arbitrary spaces in '-f' argument is not longer accepted (it causes
problems with file names including spaces). problems with file names including spaces).
Note: Identifies itself as version 1.1 Note: Identifies itself as version 1.1
Version 1.1 Version 1.1
Manpages are compressed before installation. Manpages are compressed before installation.
'info manual' added. 'info manual' added.
Shell completion for 'ponythink' added, in addition to 'ponysay'. Shell completion for 'ponythink' added, in addition to 'ponysay'.
'fish' completion added. 'fish' completion added.
'/usr/lib/ponysay' is used instead of '/usr/bin' '/usr/lib/ponysay' is used instead of '/usr/bin'
for code used by the main script. for code used by the main script.
'~/.local/share/ponysay is used for private pony directories. '~/.local/share/ponysay is used for private pony directories.
'ncurses' is no longer needed for determining the screen's size, 'ncurses' is no longer needed for determining the screen's size,
'coreutils' is used instead. 'coreutils' is used instead.
Pony symlinks added: amethyststar → sparkler Pony symlinks added: amethyststar → sparkler
berrypinch → ruby berrypinch → ruby
craftycrate → boxxy craftycrate → boxxy
magnum → raritysdad magnum → raritysdad
pearl → raritysmom pearl → raritysmom
powderrouge → sindy powderrouge → sindy
royalribbo → violet royalribbo → violet
New ponies: blossomforth, bonvoyage, cadance, celestiasmall, New ponies: blossomforth, bonvoyage, cadance, celestiasmall,
changelingqueen, cherryberry, discordamused, changelingqueen, cherryberry, discordamused,
discordpuppetmaster, fleurdelishair, fleurdelislay, discordpuppetmaster, fleurdelishair, fleurdelislay,
owl, perrypierce, petunia, pinacolada, skyra, owl, perrypierce, petunia, pinacolada, skyra,
truffleshuffle. truffleshuffle.
Pony spelling removed: fillycadence. Pony spelling removed: fillycadence.
Pony symlink change: perry → (pokey → perrypierce). Pony symlink change: perry → (pokey → perrypierce).
Option '-L' added, lists ponies with symlink mapping. Option '-L' added, lists ponies with symlink mapping.
Support for extension: ponyquotes4ponysay. Support for extension: ponyquotes4ponysay.
Accepts arbitrary spaces in '-f' argument. Accepts arbitrary spaces in '-f' argument.
Version 1.0 Version 1.0
Spanish translation of the manpage is added. Spanish translation of the manpage is added.
New ponies: applecore, applejackscarecrow, bonbonstand, changeling, New ponies: applecore, applejackscarecrow, bonbonstand, changeling,
chrysalis, cottoncloudy, diamondmint, discord, chrysalis, cottoncloudy, diamondmint, discord,
fillycadence, flam, fleurdelis, flim, fluttershyshy, fillycadence, flam, fleurdelis, flim, fluttershyshy,
fluttershystare, lyrasit, oinkoinkoink (is pinkie), fluttershystare, lyrasit, oinkoinkoink (is pinkie),
philomenaphoenix, pinkiecannon, pinkiecannonfront, philomenaphoenix, pinkiecannon, pinkiecannonfront,
pinkiecannonhappy, pinkiegummy, pinkiehugfluttershy, pinkiecannonhappy, pinkiegummy, pinkiehugfluttershy,
pinkiehugsfluttershy, pinkiepartycannon, pinkieprincess, pinkiehugsfluttershy, pinkiepartycannon, pinkieprincess,
@ -366,138 +367,138 @@ Version 1.0
raritydrama, shiningarmor, shiningarmorguard, snowflak, raritydrama, shiningarmor, shiningarmorguard, snowflak,
spikemustache, stevenmagnet, stevenmagnettrue, spikemustache, stevenmagnet, stevenmagnettrue,
twilightcrazyfromball, twilightrage, twilightzero, twilightcrazyfromball, twilightrage, twilightzero,
wildfire. wildfire.
Pony symlinks added: djpon-3 → vinyl Pony symlinks added: djpon-3 → vinyl
fillycadance → fillycadence fillycadance → fillycadence
horsepower → snowflake horsepower → snowflake
Improved TTY support: ponies have low colours resolution, instead Improved TTY support: ponies have low colours resolution, instead
of monochrome, when the high colour resolution is not available. of monochrome, when the high colour resolution is not available.
Version 0.10 Version 0.10
Manpage manual added. Manpage manual added.
The directories for pony directories are changed The directories for pony directories are changed
from '/usr/share' to '/usr/share/ponysay' and '~' to '~/.ponysay'. from '/usr/share' to '/usr/share/ponysay' and '~' to '~/.ponysay'.
Pony symlinks added: carrottop → carrot Pony symlinks added: carrottop → carrot
goldenharvest → carrot goldenharvest → carrot
harpass → lyra harpass → lyra
heartstrings → lyra heartstrings → lyra
lulamoon → trixie lulamoon → trixie
minuette → colgate minuette → colgate
noteworthy → blues noteworthy → blues
perry → pokey perry → pokey
pokeypierce → pokey pokeypierce → pokey
timeturner → doctornohat timeturner → doctornohat
trixielulamoon → trixie trixielulamoon → trixie
twilightvelvet → mrssparkle twilightvelvet → mrssparkle
Support for truncating output on height, enabled by default under TTY. Support for truncating output on height, enabled by default under TTY.
Environment variables added: 'PONYSAY_FULL_WIDTH', Environment variables added: 'PONYSAY_FULL_WIDTH',
'PONYSAY_SHELL_LINES', 'PONYSAY_TRUNCATE_HEIGHT', 'PONYSAY_BOTTOM'. 'PONYSAY_SHELL_LINES', 'PONYSAY_TRUNCATE_HEIGHT', 'PONYSAY_BOTTOM'.
Version 0.9 Version 0.9
Output truncated on width to fit screen. Output truncated on width to fit screen.
Support for TTY (Linux VT). Support for TTY (Linux VT).
'bash' completion added. 'bash' completion added.
'zsh' completion added. 'zsh' completion added.
New ponies: allie, archer, boxxy, carecake, cupcake, daringdo, New ponies: allie, archer, boxxy, carecake, cupcake, daringdo,
davenport, fancypants, ironwillwalk, lily, lunafly, davenport, fancypants, ironwillwalk, lily, lunafly,
maredowellfly, maredowellgallop, master, mjolna, maredowellfly, maredowellgallop, master, mjolna,
orange, raritysdad, raritysmom, royalnightguard, orange, raritysdad, raritysmom, royalnightguard,
ruby, sparkler, violet. ruby, sparkler, violet.
Version 0.8 Version 0.8
New ponies: aloe, angle, applebloom, applebumkin, applefritter, New ponies: aloe, angle, applebloom, applebumkin, applefritter,
berrypunch, bigmac, blinkie, blues, braeburn, caesar, berrypunch, bigmac, blinkie, blues, braeburn, caesar,
candymane, caramel, cheerilee, cheerilee80, clyde, candymane, caramel, cheerilee, cheerilee80, clyde,
colgate, colton, daisy, derpystand, derpystandwing, colgate, colton, daisy, derpystand, derpystandwing,
diamondtiara, dinky, doctornohat, elsie, fido, diamondtiara, dinky, doctornohat, elsie, fido,
fillycelestia, fillydash, fillydashfly, fillyjack, fillycelestia, fillydash, fillydashfly, fillyjack,
fillyjacktravel, fillypinkie, fillypinkiecurly, fillyjacktravel, fillypinkie, fillypinkiecurly,
fillyrarity, fillyshy, fluttershygala, gilda, gildastand, fillyrarity, fillyshy, fluttershygala, gilda, gildastand,
granny, grannychair, grannysleep, gummy, hoity, horte, granny, grannychair, grannysleep, gummy, hoity, horte,
inky, laflour, lightning, lintsalot, lotus, mayor, inky, laflour, lightning, lintsalot, lotus, mayor,
mrssparkle, nightmare, opal, parasprite, philomena, mrssparkle, nightmare, opal, parasprite, philomena,
photofinish, pinkamina, pinkiebounce, pinkiechicken, photofinish, pinkamina, pinkiebounce, pinkiechicken,
pinkiegala, pipsqueak, pokey, rainbowfly, rainbowgala, pinkiegala, pipsqueak, pokey, rainbowfly, rainbowgala,
rainbowsleep, raindrops, rarityfly, raritygala, rainbowsleep, raindrops, rarityfly, raritygala,
rarityponder, redheart, rocky, rose, rover, royalguard, rarityponder, redheart, rocky, rose, rover, royalguard,
sapphire, scootaloo, screwball, shadowbolts, silverspoon, sapphire, scootaloo, screwball, shadowbolts, silverspoon,
silverstar, sindy, snails, snips, soarin, soigne, spike, silverstar, sindy, snails, snips, soarin, soigne, spike,
spikefloat, spikelove, spot, stella, strongheart, sue, spikefloat, spikelove, spot, stella, strongheart, sue,
suedance, tank, trixiestage, trixiestand, turnip, twist, suedance, tank, trixiestage, trixiestand, turnip, twist,
winona. winona.
Note: Identifies itself as version 0.7 Note: Identifies itself as version 0.7
Version 0.7 Version 0.7
New ponies: carrot, octavia, trixie, vinyl, zecora. New ponies: carrot, octavia, trixie, vinyl, zecora.
Support for listing ponies with '-l' option. Support for listing ponies with '-l' option.
Version 0.6 Version 0.6
New ponies: bonbon, celestia, doctor, fillistia, New ponies: bonbon, celestia, doctor, fillistia,
spitfire, woona (not moonstuck). spitfire, woona (not moonstuck).
Dropping usage of utility 'which', using 'hash' instead. Dropping usage of utility 'which', using 'hash' instead.
Note: Identifies itself as version 0.5 Note: Identifies itself as version 0.5
Version 0.5 Version 0.5
Using utility 'which' to determine existance of 'cowsay'. Using utility 'which' to determine existance of 'cowsay'.
Version 0.4 Version 0.4
'.cow' files are removed. '.cow' files are removed.
Support for '-W' option. Support for '-W' option.
Select random pony if not specified. Select random pony if not specified.
Added command '-f' for supports file names, and not only pony names. Added command '-f' for supports file names, and not only pony names.
Version 0.3 Version 0.3
Fixed use of '.pony' files. Fixed use of '.pony' files.
Version 0.2 Version 0.2
Pony files end with '.pony' instead of '.cow'. Pony files end with '.pony' instead of '.cow'.
lyrasleep is renamed to lyra. lyrasleep is renamed to lyra.
'.cow' files are kept but not used. '.cow' files are kept but not used.
Added option '-h' prints proper help. Added option '-h' prints proper help.
Version 0.1 Version 0.1
First release. First release.
Includes the ponies: applejack, derpy, derpysit, fluttershy, Includes the ponies: applejack, derpy, derpysit, fluttershy,
luna, lyrasleep, pinkie, rainbow, rarity, luna, lyrasleep, pinkie, rainbow, rarity,
sweetie, twilight. sweetie, twilight.

View file

@ -24,7 +24,7 @@ Or if you have a specific pony in your mind:
ponysay -f pinkie "Partay!~" ponysay -f pinkie "Partay!~"
Consult `info ponysay`, `man 6 ponysay` or `ponysay -h` for additional information. Consult `info ponysay`, `man 6 ponysay` or `ponysay -h` for additional information.
A Spanish manual is also available: `man -L es 6 ponysay`. Spanish and Turkish manuals are also available: `man -L es 6 ponysay` and 'man -L tr 6 ponysay` respectively.
#### Arch Linux #### Arch Linux
The package is in the official repositories as `community/ponysay`. A Git version is also present, named `ponysay-git` in AUR. The package is in the official repositories as `community/ponysay`. A Git version is also present, named `ponysay-git` in AUR.

View file

@ -1,20 +1,4 @@
.\" .TH PONYSAY 6 "April 05, 2013"
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH PONYSAY 0 "April 05, 2013"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME .SH NAME
ponysay \- Cowsay reimplementation for ponies ponysay \- Cowsay reimplementation for ponies
.SH SYNOPSIS .SH SYNOPSIS
@ -30,9 +14,6 @@ ponysay \- Cowsay reimplementation for ponies
.br .br
.SH DESCRIPTION .SH DESCRIPTION
.PP .PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBponysay\fP displays an image of a pony saying some text provided by the user in a terminal. \fBponysay\fP displays an image of a pony saying some text provided by the user in a terminal.
If \fImessage\fP is not provided, it accepts standard input, word-wraps the message given at If \fImessage\fP is not provided, it accepts standard input, word-wraps the message given at
about 60 columns, and prints the pony saying the given message on standard output. about 60 columns, and prints the pony saying the given message on standard output.
@ -54,22 +35,16 @@ Show summary of options.
Show version of program. Show version of program.
.TP .TP
.B \-f, \-\-file, \-\-pony \fIname\fP .B \-f, \-\-file, \-\-pony \fIname\fP
Select a pony (either a file name or a pony name), you can use this options multiple times, Select a pony (either a file name or a pony name), you can use this option multiple times,
and one of the will be selected randomly. and one of the will be selected randomly.
.TP .TP
.B \+f, \+\+file, \+\+pony \fIname\fP .B \+f, \+\+file, \+\+pony \fIname\fP
Select a non-MLP:FiM pony (either a file name or a pony name), you can use this options Select a pony outside of My Little Pony: Friendship is Magic (either a file name or a pony
multiple times, and one of the will be selected randomly. name), you can use this options multiple times, and one of the will be selected randomly.
.TP .TP
.B \-F, \-\-any\-file, \-\-anyfile, \-\-anypony \-\-any\-pony \fIname\fP .B \-F, \-\-any\-file, \-\-anyfile, \-\-anypony \-\-any\-pony \fIname\fP
This option combines \fI-f\fP and \fI+f\fP. This option combines \fI-f\fP and \fI+f\fP.
.TP .TP
.B \-q, \-\-quote [\fIname\fP...]
By using this option, a pony will be printed with quotes from her in My Little Pony:
Friendship is Magic. The pony will be selected randomly, unless at least one pony
is added as an argument to \fI-q\fP. If one or more ponies are added as an argument
to \fI-q\fP the pony will be selected randomly from that set of ponies.
.TP
.B \-\-f, \-\-files, \-\-ponies \fI[name...]\fP .B \-\-f, \-\-files, \-\-ponies \fI[name...]\fP
Variadic variant of \fI-f\fP, meaning that all arguments added after this one will parsed Variadic variant of \fI-f\fP, meaning that all arguments added after this one will parsed
as an argument to this option. as an argument to this option.
@ -81,11 +56,17 @@ as an argument to this option.
.B \-\-F, \-\-any\-files, \-\-anyfiles, \-\-anyponies \-\-any\-ponies \fIname\fP .B \-\-F, \-\-any\-files, \-\-anyfiles, \-\-anyponies \-\-any\-ponies \fIname\fP
This option combines \fI--f\fP and \fI++f\fP. This option combines \fI--f\fP and \fI++f\fP.
.TP .TP
.B \-q, \-\-quote [\fIname\fP...]
By using this option, a pony will be printed with quotes from her in My Little Pony:
Friendship is Magic. The pony will be selected randomly, unless at least one pony
is added as an argument to \fI-q\fP. If more than one pony is added as an argument
to \fI-q\fP, the pony will be selected randomly from that set of ponies.
.TP
.B \-\-q, \-\-quotes [\fIname\fP...] .B \-\-q, \-\-quotes [\fIname\fP...]
Variadic variant of \fI-q\fP, meaning that all arguments added after this one will Variadic variant of \fI-q\fP, meaning that all arguments added after this one will
parsed as an argument to this option. Additionally, those options are added to \fI-q\fP. parsed as an argument to this option. Additionally, those options are added to \fI-q\fP.
.TP .TP
.B \-b, \-\-bubble, \-\-ballon \fIstyle\fP .B \-b, \-\-bubble, \-\-balloon \fIstyle\fP
Specify the balloon style that should used, this can either be a file name or a Specify the balloon style that should used, this can either be a file name or a
balloon name printed by \fIponysay -B\fP. balloon name printed by \fIponysay -B\fP.
.TP .TP
@ -110,7 +91,7 @@ List non-MLP:FiM pony files.
.B \+L, \+\+symlist, \+\+altlist .B \+L, \+\+symlist, \+\+altlist
List non-MLP:FiM pony files with alternative names inside brackets. List non-MLP:FiM pony files with alternative names inside brackets.
.TP .TP
.B \-B, \-\-bubblelist, \-\-ballonlist \fIstyle\fP .B \-B, \-\-bubblelist, \-\-balloonlist \fIstyle\fP
Prints a list of all balloon styles. Prints a list of all balloon styles.
.TP .TP
.B \-A, \-\-all .B \-A, \-\-all
@ -137,23 +118,22 @@ A value in the argument is a combination of the tag name and tag value on the fo
.TP .TP
.B \-X, \-\-256\-colours, \-\-256colours, \-\-x\-colours .B \-X, \-\-256\-colours, \-\-256colours, \-\-x\-colours
Use \fIxterm\fPs 256\-colour support (supported by most X11 terminals), despite your terminals Use \fIxterm\fPs 256\-colour support (supported by most X11 terminals), despite your terminals
actual compatibilies. actual compatibilities.
.TP .TP
.B \-V, \-\-tty\-colours, \-\-ttycolours, \-\-vt\-colours .B \-V, \-\-tty\-colours, \-\-ttycolours, \-\-vt\-colours
Use Linux VTs compatbilies \fPwithout\fP KMS utilisation, despite your terminals actual compatibilies. Use Linux VTs compatibilities \fPwithout\fP KMS utilisation, despite your terminals actual compatibilities.
.TP
.TP .TP
.B \-K, \-\-kms\-colours, \-\-kmscolours .B \-K, \-\-kms\-colours, \-\-kmscolours
Use Linux VTs compatbilies \fPwith\fP KMS utilisation, despite your terminals actual compatibilies Use Linux VTs compatibilities \fPwith\fP KMS utilisation, despite your terminals actual compatibilities.
(not work with all KMS video card). (May not work with all KMS video cards)
.TP .TP
.B \+c, \-\-colour [\fIansi-colour\fP] .B \+c, \-\-colour [\fIansi-colour\fP]
Colour the balloon, including link and message. For more colouring features, se the \fIinfo\fP Colour the balloon, including link and message. For more colouring features, see the \fIinfo\fP
manual. The argument, \fIansi-colour\fP, should be a ANSI colour sequence without leading CSI manual. The argument, \fIansi-colour\fP, should be a ANSI colour sequence without leading CSI
and without a tailing \fIm\fP, for example \fI1;31\fP will make it in red and bold (or bright and without a tailing \fIm\fP, for example \fI1;31\fP will make it in red and bold (or bright
depending on the terminal.) depending on the terminal.)
.TP .TP
.B \-\-colour\-bubble, \-\-colour\-ballon [\fIansi-colour\fP] .B \-\-colour\-bubble, \-\-colour\-balloon [\fIansi-colour\fP]
Just like \fP\--colour\fI, but it only colours the balloon, without the message or link. Just like \fP\--colour\fI, but it only colours the balloon, without the message or link.
.TP .TP
.B \-\-colour\-link [\fIansi-colour\fP] .B \-\-colour\-link [\fIansi-colour\fP]
@ -169,7 +149,7 @@ This colouring has no effect on regular pony files, as it has its own colouring.
.B \-\-colour\-wrap, \-\-colour\-hyphen [\fIansi-colour\fP] .B \-\-colour\-wrap, \-\-colour\-hyphen [\fIansi-colour\fP]
Just like \fI--colour\fP, but it colours hyphen added by the word wrapping. Just like \fI--colour\fP, but it colours hyphen added by the word wrapping.
if you want uncoloured use \fI0\fP, the default is \fi31\fP. if you want uncoloured use \fI0\fP, the default is \fi31\fP.
presistent. persistent.
.SH ENVIRONMENT .SH ENVIRONMENT
.TP .TP
.B PONYSAY_BOTTOM .B PONYSAY_BOTTOM
@ -212,14 +192,14 @@ the limit to PONYSAY_TYPO_LIMIT; setting the limit to zero will disable au
You can export what ponysay should use instead of a hyphen when wrapping messages. You can export what ponysay should use instead of a hyphen when wrapping messages.
.TP .TP
.B PONYSAY_WRAP_LIMIT .B PONYSAY_WRAP_LIMIT
Defines how long a word mush be to be hyphenated. Defines how long a word must be to be hyphenated.
This is used for to wrap words that are long so the output gets as pretty as possible. This is used for to wrap words that are long so the output gets as pretty as possible.
This s not the only condition under which a word can be hyphenated, it can also be hyphenated This is not the only condition under which a word can be hyphenated, it can also be hyphenated
if the word cannot fit otherwise. if the word cannot fit otherwise.
.TP .TP
.B PONYSAY_WRAP_EXCEED .B PONYSAY_WRAP_EXCEED
Defines how much a word must exceed the wrapping point to be hyphenated. Defines how much a word must exceed the wrapping point to be hyphenated.
This setting is used togather with \fIPONYSAY_WRAP_LIMIT\fP. This setting is used together with \fIPONYSAY_WRAP_LIMIT\fP.
.SH BUG .SH BUG
Bugs can be reported in <\fBhttps://github.com/erkin/ponysay/issues\fP>. Bugs can be reported in <\fBhttps://github.com/erkin/ponysay/issues\fP>.
.SH SEE ALSO .SH SEE ALSO
@ -239,4 +219,3 @@ Mattias Andrée <maandree@kth.se> for the official ponysay release.
.PP .PP
This program is licensed under GNU GPLv3+. This program is licensed under GNU GPLv3+.
.\" See file COPYING to see the license. .\" See file COPYING to see the license.

View file

@ -1,20 +1,4 @@
.\" .TH PONYSAY 6 "Abril 05 de 2013"
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH PONYSAY 0 "Abril 05 de 2013"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NOMBRE .SH NOMBRE
ponysay \- Una reimplementación de cowsay usando ponis ponysay \- Una reimplementación de cowsay usando ponis
.SH SINOPSIS .SH SINOPSIS
@ -30,9 +14,6 @@ ponysay \- Una reimplementación de cowsay usando ponis
.br .br
.SH DESCRIPCIÓN .SH DESCRIPCIÓN
.PP .PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBponysay\fP muestra la imagen de un poni con un texto dado por el usuario, esto dentro de la \fBponysay\fP muestra la imagen de un poni con un texto dado por el usuario, esto dentro de la
terminal. terminal.
.br .br
@ -87,7 +68,7 @@ Esta opción combina \fI--f\fP y \fI++f\fP.
Viable variante de \fI-q\fP, todos los argumentos dados después de este argumento serán Viable variante de \fI-q\fP, todos los argumentos dados después de este argumento serán
pasados a dicha opción. pasados a dicha opción.
.TP .TP
.B \-b, \-\-bubble, \-\-ballon \fIstyle\fP .B \-b, \-\-bubble, \-\-balloon \fIstyle\fP
Especifica el tipo de globo de texto a utilizar, puede ser la ruta a un archivo o bien uno de las Especifica el tipo de globo de texto a utilizar, puede ser la ruta a un archivo o bien uno de las
opciones dadas por \fIponysay -B\fP. opciones dadas por \fIponysay -B\fP.
.TP .TP
@ -112,10 +93,10 @@ Lista los ponis no pertenecientes a MLP:FiM disponibles.
.B \+L, \+\+symlist, \+\+altlist .B \+L, \+\+symlist, \+\+altlist
Lista los ponis no pertenecientes a MLP:FiM con nombres alternativos dentro de paréntesis. Lista los ponis no pertenecientes a MLP:FiM con nombres alternativos dentro de paréntesis.
.TP .TP
.B \-B, \-\-bubblelist, \-\-ballonlist \fIstyle\fP .B \-B, \-\-bubblelist, \-\-balloonlist \fIstyle\fP
Muestra la lista de globos de texto disponibles. Muestra la lista de globos de texto disponibles.
.TP .TP
.B \-A. \-\-all .B \-A. \-\-all
Lista todos los ponis, tanto pertenecientes a MLP:FiM cono no pertenecientes a esta Lista todos los ponis, tanto pertenecientes a MLP:FiM cono no pertenecientes a esta
la primera lista son los pertenecientes a esta y la subsiguente los no pertenecientes. la primera lista son los pertenecientes a esta y la subsiguente los no pertenecientes.
.TP .TP
@ -157,7 +138,7 @@ Colorea el globo, Incluyendo mensajes y enlaces. Para más información acerca d
y sin la cola \fIm\fP, por ejemplo \fI1;31\fP puede referirse al color rojo y en negrita (o claro y sin la cola \fIm\fP, por ejemplo \fI1;31\fP puede referirse al color rojo y en negrita (o claro
dependiendo de la terminal.) dependiendo de la terminal.)
.TB .TB
.B \-\-colour\-bubble, \-\-colour\-ballon [\fIansi-colour\fP] .B \-\-colour\-bubble, \-\-colour\-balloon [\fIansi-colour\fP]
Trabaja como \fP\--colour\fI pero solo colorea el globo de texto. Trabaja como \fP\--colour\fI pero solo colorea el globo de texto.
.TP .TP
.B \-\-colour\-link [\fIansi-colour\fP] .B \-\-colour\-link [\fIansi-colour\fP]

222
manuals/manpage.tr.6 Normal file
View file

@ -0,0 +1,222 @@
.TH PONYSAY 6 "Mayıs 28, 2013"
.SH AD
ponysay \- Poniler için cowsay uygulaması
.SH KULLANIM
.B ponysay
.RI [ seçenekler ]
[--]
.RI [ ileti ]
.br
.B ponythink
.RI [ seçenekler ]
[--]
.RI [ ileti ]
.br
.SH TANIM
.PP
\fBponysay\fP kullanıcı tarafından sağlanan bir metni söyleyen bir poni resmini uçbirimde
sergiler. Eğer bir \fIileti\fP sağlanmamışsa, standart girdi alır, yaklaşık altmışıncı sütundan
sonra sözcük kaydırma yaparak verilen iletiyi söyleyen poniyi standart çıktıyla yazdırır.
.PP
Eğer hiçbir seçenek sağlanmamışsa; program yalnızca bir diğer programdan, bir dosyadan veya ya
here belgesinden ya da "here sözcesinden" borulanan standart girdiyi alır. (Here belgesi/sözcesi
üzerine ayrıntılı bilgi için bakınız: man bash(1))
alır.
.PP
\fIponysay\fP için \fBponythink\fP, \fIcowsay\fP için \fIcowthink\fP gibidir.
.PP
Ayrıntılı belgelendirme için `info ponysay`e başvurun.
.SH SEÇENEKLER
Seçeneklerin bir özeti aşağıda verilmiştir.
.TP
.B \-h, \-\-help
Seçeneklerin bir özetini yazdır.
.TP
.B \-v, \-\-version
Programın sürümünü yazdır.
.TP
.B \-f, \-\-file, \-\-pony \fIad\fP
Poni seç (ya bir dosya ya da bir poni adı); bu seçeneği birden çok kez kullanabilirsiniz, içlerinden biri rastgele
seçilecektir.
.TP
.B \+f, \+\+file, \+\+pony \fIad\fP
My Little Pony: Arkadaşlık Sihirlidir'de bulunmayan bir poni seçimi (ya bir dosya ya da bir
poni adı); bu seçeneği birden çok kez kullanabilirsiniz, içlerinden biri rastgele seçilecektir.
.TP
.B \-F, \-\-any\-file, \-\-anyfile, \-\-anypony \-\-any\-pony \fIad\fP
Bu seçenek \fI-f\fP ile \fI+f\fP'yi birleştirir.
.TP
.B \-\-F, \-\-any\-files, \-\-anyfiles, \-\-anyponies \-\-any\-ponies \fIad\fP
Bu seçenek \fI--f\fP ile \fI++f\fP'yi birleştirir.
.TP
.B \-\-f, \-\-files, \-\-ponies [\fIad...\fP]
\fI-f\fP'nin değişkin türevi; yani bu seçeneğin ardından eklenen tüm değişkenler bu seçeneğin
değişkeni olarak yorumlanacaktır.
.TP
.B \+\+f, \+\+files, \+\+ponies [\fIad...\fP]
\fI+f\fP'nin değişkin türevi.
.TP
.B \-q, \-\-quote [\fIekle\fP...]
Bu seçeneğin kullanılmasıyla bir poni, My Little Pony: Arkadaşlık Sihirlidir'deki
replikleriyle yazdırılacaktır. En az bir poni \fI-q\fP'ye bir değişken verilmediği sürece
poni rastgele seçilecektir. Eğer birden çok poni değişkeni sağlanırsa; poni, değişkenler
arasından rastgele seçilecektir.
.TP
.B \-\-q, \-\-quotes [\fIad\fP...]
\fI-q\fP'nun değişkin türevi. Ayrıca bu değişkenler \fI-q\fP'ye de eklenir.
.TP
.B \-b, \-\-bubble, \-\-balloon \fIbiçim\fP
Kullanılacak balon biçimini belirt; bu ya bir dosya adı ya da \fIponysay -B\fP
ile yazdırılmış bir balon adı olabilir.
.TP
.B \-W, \-\-wrap \fIsütun\fP
İletinin kaydırılacağı ekran sütunu, balonun ek genişliği göz önünde tutulur. Eğer değişken
bir sayı değil ise; eğer \fIn\fP ile başlıyorsa sözcük kaydırma yapılmaz, \fIi\fP ile
başlıyorsa uçbirimin genişliği kullanılır.
.TP
.B \-c, \-\-compress, \-\-compact [\fIANSI-rengi\fP]
İletiyi \fIcowsay\fP'in yaptığı gibi sıkıştır, yani çoklu boşluklar olmadan ve yalnız satırbaşı
aralıklarıyla.
.TP
.B \-l, \-\-list
Poni dosyalarını sırala.
.TP
.B \-L, \-\-symlist, \-\-altlist
Poni dosyalarını köşeli ayraç içinde almaşık adlarıyla sırala.
.TP
.B \+l, \+\+list
My Little Pony: Arkadaşlık Sihirlidir dışındaki poni dosyalarını sırala.
.TP
.B \+L, \+\+symlist, \+\+altlist
My Little Pony: Arkadaşlık Sihirlidir dışındaki poni dosyalarını köşeli ayraç içinde almaşık
adlarıyla sırala.
.TP
.B \-B, \-\-bubblelist, \-\-balloonlist \fIstyle\fP
Tüm balon biçimlerin sırala.
.TP
.B \-A, \-\-all
Tüm poni dosyalarını sırala, My Little Pony: Arkadaşlık Sihirlidir içinde ve dışındakilerin
tümünü. Bu durumda içindekiler önce, dışındakiler sonra yazdırılır.
.TP
.B \+A, \+\+all, \-\-symall, \-\-altall
Tüm poni dosyalarını ayraç içinde almaşık adlarıyla sırala.
.TP
.B \-o, \-\-pony\-only, \-\-ponyonly
Yalnız poniyi yazdır, konuşma balonunu yoksay.
.TP
.B \-i, \-\-info
Poninin metaverisini yazdır, kendisini değil.
.TP
.B \+i, \+\+info
Poniye metaverisini söylet.
.TP
.B \-r, \-\-restriction
Bu seçenek, rastgele seçilecek olan ponileri metaverilerine göre sınırlandırır. Geçerli bir
değişken \fIAD=DEĞER\fP biçiminde bir etiket adı ve etiket değeri birleşimindedir.
.TP
.B \-X, \-\-256\-colours, \-\-256colours, \-\-x\-colours
Uçbirimin gerçek özelliklerini yoksayarak \fIxterm\fP'in (çoğu X11 uçbirimlerince desteklenen)
256\-renk desteğini kullan.
.TP
.B \-V, \-\-tty\-colours, \-\-ttycolours, \-\-vt\-colours
Uçbirimin gerçek özelliklerini yoksayarak (KMSsiz) Linux VT'nin özelliklerini
kullan.
.TP
.B \-K, \-\-kms\-colours, \-\-kmscolours
Uçbirimin gerçek özelliklerini yoksayarak (KMS ile) Linux VT'nin özelliklerini kullan.
(Tüm KMS ekran kartlarıyla çalışmayabilir.)
.TP
.B \+c, \-\-colour [\fIANSI-rengi\fP]
Balonu, bağlantıyı ve iletiyi boya. Daha çok boyama özelliği için bakınız: `info ponysay`
Değişken \fIANSI-rengi\fP, önünde bir CSI ve ardında \fIm\fP bulunmayan bir ANSI rengi olmalıdır.
Örneğin; \fI1;31\fP, metnin kırmızı ve kalın (veya parlak, uçbirime göre değişir) olmasını sağlar.
.TP
.B \-\-colour\-bubble, \-\-colour\-balloon [\fIANSI-rengi\fP]
\fP\-\-colour\fI gibi, ancak yalnız balonu boya.
.TP
.B \-\-colour\-link [\fIANSI-rengi\fP]
\fP\-\-colour\fI gibi, ancak yalnız balon bağlantısını boya.
.TP
.B \-\-colour\-msg, \-\-colour\-message [\fIANSI-rengi\fP]
\fP\-\-colour\fI gibi, ancak yalnız iletiyi boya.
.TP
.B \-\-colour\-pony [\fIANSI-rengi\fP]
\fI\-\-colour\fP gibi, ancak poniyi boya.
Bu boyamanın gerçek poni dosyaları üzerinde bir etkisi yoktur.
.TP
.B \-\-colour\-wrap, \-\-colour\-hyphen [\fIANSI-rengi\fP]
\fI\-\-colour\fP gibi, ancak sözcük kaydırmayla eklenen tireyi boyar.
Renksiz için \fI0\fP'ı kullanın, öntanımlı değer \fi31\fP'dir.
.SH ÇEVRE
.TP
.B PONYSAY_BOTTOM
TTY (Linux VT) içerisinde eğer çıktı ekran yüksekliğinden büyükse, yalnızca başı
yazdırılarak iki dize boş bırakılır. Eğer başı yerine sonunun yazdırılmasını istiyorsanız,
\fIPONYSAY_BOTTOM\fP'yi \fIyes\fP, \fIy\fP veya \fI1\fP değerlerinden biriyle ihraç edin.
.TP
.B PONYSAY_SHELL_LINES
TTY (Linux VT) içerisinde eğer çıktı ekran yüksekliğinden büyükse, yalnızca başı
yazdırılarak iki dize boş bırakılır. Eğer daha çok veya az boş dizenin kullanılmasını
istiyorsanız, \fIPONYSAY_SHELL_LINES\fP'ı dilediğiniz dize sayısının değeriyle ihraç edin.
Doğal olarak, bu ancak çıktı ekrandan daha büyük değilse etkisini gösterecektir.
.TP
.B PONYSAY_FULL_WIDTH
Çıktının uçbirime sığdırılması için sıkıştırılmasını istemiyorsanız \fIPONYSAY_FULL_WIDTH\fP'i
\fIyes\fP, \fIy\fP veya \fI1\fP değerlerinden biriyle ihraç edin.
.TP
.B PONYSAY_TRUNCATE_HEIGHT
Eğer TTY içerisinde olmasanız bile çıktının sıkıştırılmasını istiyorsanız,
\fIPONYSAY_TRUNCATE_HEIGHT\fP'i \fIyes\fP, \fIy\fP veya \fI1\fP değerlerinden biriyle ihraç
edin.
.TP
.B PONYSAY_UCS_ME
Eğer Evrensel Karakter Seti kullanan poni dosyalarına [öykünülmüş] simgesel bağlantı
istiyorsanız, \fIPONYSAY_UCS_ME\fP'yi \fIyes\fP, \fIy\fP veya \fI1\fP değerlerinden biriyle
ihraç edin.
.TP
.B PONYSAY_KMS_PALETTE, PONYSAY_KMS_PALETTE_CMD
\fIPONYSAY_KMS_PALETTE\fP veya \fIPONYSAY_KMS_PALETTE_CMD\fP değerleri ponysay'e TTY
renklerinizin nasıl göründüğünü bildirmekte kullanılır. Bu özellik, KMS desteği varsa
TTY'nizde en iyi nitelikte görüntü elde etmenizi sağlar.
.TP
.B PONYSAY_TYPO_LIMIT
\fIponysay\fP yanlış yazılan poni ve balon biçim adlarını düzeltebilir. Aktarmayı göz
önünde bulundurmadan, öntanımlı olarak eğer ağırlıklı uzaklık en yakın sözcükler için
beşten çoksa düzeltme yoksayılır. Bu sınırı \fIPONYSAY_TYPO_LIMIT\fP'i dilediğiniz sayısal
değerle ihraç ederek değiştirebilirsiniz. Sınırı sıfır kılmak düzeltmeyi devredışı bırakır.
.TP
.B PONYSAY_WRAP_HYPHEN
Sözcük kaydırma sırasında \fIponysay\fP'in tire (\-) yerine hangi imi kullanması
gerektiğini \fIPONYSAY_WRAP_HYPHEN\fP'ı bir sözce değeriyle ihraç ederek belirtebilirsiniz.
.TP
.B PONYSAY_WRAP_LIMIT
Bir sözcüğün tireyle ayrılması için ne denli uzun olması gerektiğini tanımlar.
Bu değer, çıktıyı süslemek amacıyla uzun sözcükleri kaydırmak için kullanılır. Bu, bir
sözcüğün tireyle ayrıldığı tek koşul değildir; eğer sözcük başka türlü sığmıyorsa
da tireyle ayrılabilir.
.TP
.B PONYSAY_WRAP_EXCEED
Bir sözcüğün tireyle ayrılması için kaydırılma noktasını ne denli aşması gerektiğini
tanımlar. Bu değer \fIPONYSAY_WRAP_LIMIT\fP ile birlikte kullanılır.
This setting is used togather with \fIPONYSAY_WRAP_LIMIT\fP.
.SH HATA
Hatalar <\fBhttps://github.com/erkin/ponysay/issues\fP> adresinde bildirilebilir.
.SH AYRICA BAKINIZ
.BR cowsay(0),
.BR fortune(0).
.BR `info\ ponysay`
.br
.SH AUTHOR
ponysay, Erkin Batu Altunbaş <erkinbatu@gmail.com> tarafından
Mattias Andrée, Elis Axelsson, Sven-Hendrik Haase, Pablo Lezaeta, Jan Alexander Steffens
ve diğerlerinin katkılarıyla yazılmıştır. Tam sıralama için CREDITS dosyasına bakınız.
.PP
Bu kılavuz sayfası aslen Louis Taylor <kragniz@gmail.com> tarafından
Debian GNU/Linux projesi için (başkalarınca da kullanılabilir) yazılmış olup,
resmî ponysay dağıtımı için Mattias Andrée <maandree@kth.se> tarafından tashih edilmiştir.
Türkçe çeviri Erkin Batu Altunbaş tarafından yapılmıştır.
.br
.PP
Bu program GNU Genel Kamu Lisansı altında olup lisansta belirtilen koşullar uyarınca
dağıtımı, değiştirilmesi ve satışına izin verilmektedir. Tüm lisans metnini görmek için
LICENCE adlı dosyaya bakınız.

View file

@ -431,7 +431,7 @@ have either blue, green or cyan eyes.
@opindex @option{--256colours} @opindex @option{--256colours}
@opindex @option{--x-colours} @opindex @option{--x-colours}
Use @command{xterm}'s 256-colour support (supported by most X11 terminals), despite Use @command{xterm}'s 256-colour support (supported by most X11 terminals), despite
your terminal's actual compatibilies. your terminal's actual compatibilies.
@item -V @item -V
@itemx --tty-colours @itemx --tty-colours
@ -711,7 +711,7 @@ lines are left blank. If you want more, or less, blank lines you can export
@env{PONYSAY_SHELL_LINES} with the value of how many blank lines you want. @env{PONYSAY_SHELL_LINES} with the value of how many blank lines you want.
Naturally this takes effect eve n if the output is not actually larger than Naturally this takes effect eve n if the output is not actually larger than
the screen. the screen.
@item PONYSAY_FULL_WIDTH @item PONYSAY_FULL_WIDTH
@vindex @env{PONYSAY_FULL_WIDTH} @vindex @env{PONYSAY_FULL_WIDTH}
You can export @env{PONYSAY_FULL_WIDTH} with the value @code{yes}, @code{y} You can export @env{PONYSAY_FULL_WIDTH} with the value @code{yes}, @code{y}
@ -951,7 +951,7 @@ This tag decribes which groups a pony classifies under, it is a comma seperated
list, and it cannot be empty, by it can be (but shouldn't) skipped for every pony in the list, and it cannot be empty, by it can be (but shouldn't) skipped for every pony in the
image. image.
The standard values are (you may use other ones if fitting): The standard values are (you may use other ones if fitting):
@itemize @bullet @itemize @bullet
@item @code{mare} @item @code{mare}
Adult female pony Adult female pony
@ -1018,13 +1018,13 @@ should be 2.
In the rare case that the file contains multiple links (and multi ponies), the In the rare case that the file contains multiple links (and multi ponies), the
metadata should contains multiple entries of this tag, one entry for each link metadata should contains multiple entries of this tag, one entry for each link
sorted in the order of the linkes placement in the image, in the same way sorted in the order of the linkes placement in the image, in the same way
ponies are ordered. ponies are ordered.
@item LINK @item LINK
@vindex @var{LINK} @vindex @var{LINK}
In the rare case that the file contains multiple links the metadata should contains In the rare case that the file contains multiple links the metadata should contains
multiple entries of this tag, one entry for each link sorted in the order of the multiple entries of this tag, one entry for each link sorted in the order of the
linkes placement in the image, in the same way ponies are ordered. linkes placement in the image, in the same way ponies are ordered.
The value for this tag must be either @code{regular} or @code{mirrored}. @code{regular} The value for this tag must be either @code{regular} or @code{mirrored}. @code{regular}
applies to linkes with NNESSW (@code{\}) direction. @code{mirrored} applies to linkes applies to linkes with NNESSW (@code{\}) direction. @code{mirrored} applies to linkes
@ -1494,7 +1494,7 @@ run on it.
@command{ponysay} should work just fine on GNU/Hurd, except for in the native virtual @command{ponysay} should work just fine on GNU/Hurd, except for in the native virtual
terminal (TTY). Hurd's terminal is limited to 16 colours and does not provide the capaility terminal (TTY). Hurd's terminal is limited to 16 colours and does not provide the capaility
of modifing of modifing
If we are lucky it may be possible draw pictures, in full resultions, as you can in linux; If we are lucky it may be possible draw pictures, in full resultions, as you can in linux;
which is currently not inplementedin @command{ponysay}. Another, not yet implemented which is currently not inplementedin @command{ponysay}. Another, not yet implemented
@ -1764,8 +1764,9 @@ or if have a specific pony in your mind: @command{ponysay -f pinkie "Partay!~"}.
@cindex man page translations @cindex man page translations
@command{ponysay} comes with this @command{info} manual and a manpage in section 6, @command{ponysay} comes with this @command{info} manual and a manpage in section 6,
@command{man 6 ponysay} (or just @command{man ponysay}). The manpage is also available @command{man 6 ponysay} (or just @command{man ponysay}). The manpage is also available
in Spanish: @command{man -L es 6 ponysay}. To install the Spanish manual add the in Spanish and Turkish: @command{man -L es 6 ponysay}, @command{man -L tr 6 ponysay}.
option @option{--with-man-es} when running @command{./setup.py}. To install the localised manual, add the option @option{--with-man-es} or
@option{--with-man-tr} when running @command{./setup.py}.
@ -1975,6 +1976,26 @@ Install English @command{man} manual. Set directory for @command{man} manuals.
@opindex @option{--without-es-man-manual} @opindex @option{--without-es-man-manual}
Install Spanish @command{man} manual. Set directory for @command{man} manuals. Install Spanish @command{man} manual. Set directory for @command{man} manuals.
@item --with-man-tr
@itemx --with-manpage-tr
@itemx --with-man-manual-tr
@itemx --with-tr-man
@itemx --with-tr-manpage
@itemx --with-tr-man-manual=/usr/share/man
@opindex @option{--with-man-tr}
@opindex @option{--without-man-tr}
@opindex @option{--with-manpage-tr}
@opindex @option{--without-manpage-tr}
@opindex @option{--with-man-manual-tr}
@opindex @option{--without-man-manual-tr}
@opindex @option{--with-tr-man}
@opindex @option{--without-tr-man}
@opindex @option{--with-tr-manpage}
@opindex @option{--without-tr-manpage}
@opindex @option{--with-tr-man-manual}
@opindex @option{--without-tr-man-manual}
Install Turkish @command{man} manual. Set directory for @command{man} manuals.
@item --with-man @item --with-man
@itemx --with-manpage @itemx --with-manpage
@itemx --with-man-manual @itemx --with-man-manual
@ -2028,6 +2049,27 @@ This option does not imply @option{--with-man-en}. (Default)
Compress Spanish @command{man} manual, select compression by file name extension. Compress Spanish @command{man} manual, select compression by file name extension.
This option does not imply @option{--with-man-es}. (Default) This option does not imply @option{--with-man-es}. (Default)
@item --with-man-tr-compression
@itemx --with-manpage-tr-compression
@itemx --with-man-manual-tr-compression
@itemx --with-tr-man-compression
@itemx --with-tr-manpage-compression
@itemx --with-tr-man-manual-compression=gz
@opindex @option{--with-man-tr-compression}
@opindex @option{--without-man-tr-compression}
@opindex @option{--with-manpage-tr-compression}
@opindex @option{--without-manpage-tr-compression}
@opindex @option{--with-man-manual-tr-compression}
@opindex @option{--without-man-manual-tr-compression}
@opindex @option{--with-tr-man-compression}
@opindex @option{--without-tr-man-compression}
@opindex @option{--with-tr-manpage-compression}
@opindex @option{--without-tr-manpage-compression}
@opindex @option{--with-tr-man-manual-compression}
@opindex @option{--without-tr-man-manual-compression}
Compress Turkish @command{man} manual, select compression by file name extension.
This option does not imply @option{--with-man-tr}. (Default)
@item --with-man-compression @item --with-man-compression
@itemx --with-manpage-compression @itemx --with-manpage-compression
@itemx --with-man-manual-compression @itemx --with-man-manual-compression
@ -2808,11 +2850,11 @@ makedepends=('git' 'texinfo' 'info' 'gzip' 'python>=3', 'zip')
build() build()
@{ cd "$srcdir"; git clone git://github.com/erkin/ponysay.git ponysay @{ cd "$srcdir"; git clone git://github.com/erkin/ponysay.git ponysay
cd ponysay ; git checkout "$pkgver" cd ponysay ; git checkout "$pkgver"
./setup.py --everything --without-pdf-compression \ ./setup.py --everything --without-pdf-compression \
--bin-dir=/usr/bin --dest-dir="$pkgdir" \ --bin-dir=/usr/bin --dest-dir="$pkgdir" \
--freedom=parital build --freedom=parital build
# CHANGE --freedom=parital to --freedom=strict # CHANGE --freedom=parital to --freedom=strict
# FOR ONLY COMPLETELY FREE PONIES, # FOR ONLY COMPLETELY FREE PONIES,
# useful for GNU/Linux-libre distributions # useful for GNU/Linux-libre distributions
@ -3010,6 +3052,8 @@ New ponies: @file{brucemane}, @file{deepblue}, @file{hairytipper}, @file{peachbo
New extraponies: @file{milky} New extraponies: @file{milky}
@item @item
Default value for @option{-W}, the message wrapping column, has been changed from 40 to 60, to wrap messages better. Default value for @option{-W}, the message wrapping column, has been changed from 40 to 60, to wrap messages better.
@item
Turkish manual page added.
@end itemize @end itemize
@heading Version 3.0.1 @heading Version 3.0.1
@ -3143,7 +3187,7 @@ Arguments starting with @code{n} or @code{i} is allowed for @option{-W}.
@item @item
New ponies: @file{airheart}, @file{bastionyorsets}, @file{gustavelegrand}, @file{milkyway}, New ponies: @file{airheart}, @file{bastionyorsets}, @file{gustavelegrand}, @file{milkyway},
@file{peppermoon}, @file{pinkacopter}, @file{pinkiefly}, @file{pinkieparade}, @file{peppermoon}, @file{pinkacopter}, @file{pinkiefly}, @file{pinkieparade},
@file{pinkieumbrellahat}, @file{shiningarmorwedding}, @file{soaringofficer}, @file{pinkieumbrellahat}, @file{shiningarmorwedding}, @file{soaringofficer},
@file{starlight}, @file{sunnyrays}, @file{sweatiesing}, @file{tenderheart}, @file{tom}, @file{starlight}, @file{sunnyrays}, @file{sweatiesing}, @file{tenderheart}, @file{tom},
@file{twilightspike}, @file{zecorabalance} @file{twilightspike}, @file{zecorabalance}
@item @item
@ -3177,7 +3221,7 @@ Automatic correction of incorrectly spelled pony names and balloon style names a
@item @item
New ponies: @file{basil}, @file{cloudkicker}, @file{cerberus}, @file{cow}, @file{derpysad}, New ponies: @file{basil}, @file{cloudkicker}, @file{cerberus}, @file{cow}, @file{derpysad},
@file{flowertrio}, @file{frederickhorseshoepin}, @file{horsemd}, @file{jeffletroski}, @file{flowertrio}, @file{frederickhorseshoepin}, @file{horsemd}, @file{jeffletroski},
@file{jesuspezuna}, @file{joe}, @file{joetuxedo}, @file{manticore}, @file{jesuspezuna}, @file{joe}, @file{joetuxedo}, @file{manticore},
@file{meadownsong}, @file{meliot}, @file{pinkiegummydisguise}, @file{seaswirl}, @file{meadownsong}, @file{meliot}, @file{pinkiegummydisguise}, @file{seaswirl},
@file{theodoredonaldkerabatsos}, @file{turf}, @file{waltercoltchak} @file{theodoredonaldkerabatsos}, @file{turf}, @file{waltercoltchak}
@item @item
@ -3703,7 +3747,7 @@ The freedom to study how the program works, and change it so it does your
computing as you wish (freedom 1). Access to the source code is a precondition computing as you wish (freedom 1). Access to the source code is a precondition
for this. for this.
@item @item
The freedom to redistribute copies so you can help your neighbour (freedom 2). The freedom to redistribute copies so you can help your neighbour (freedom 2).
@item @item
The freedom to distribute copies of your modified versions to others (freedom 3). The freedom to distribute copies of your modified versions to others (freedom 3).
By doing this you can give the whole community a chance to benefit from your By doing this you can give the whole community a chance to benefit from your
@ -3754,4 +3798,3 @@ If not, see <http://www.gnu.org/licenses/>.
@bye @bye

View file

@ -7,14 +7,11 @@ import sys
from zipfile import ZipFile from zipfile import ZipFile
from subprocess import Popen, PIPE from subprocess import Popen, PIPE
PONYSAY_VERSION = '3.0.2'
PONYSAY_VERSION = '3.0.1'
manpages = [('en', 'English'), # must be first manpages = [('en', 'English'), # must be first
('es', 'Spanish')] ('es', 'Spanish'),
('tr', 'Turkish')]
sharedirs = [('ponies', 'xterm ponies', 'PONYDIR', True), # must be first sharedirs = [('ponies', 'xterm ponies', 'PONYDIR', True), # must be first
('ttyponies', 'tty ponies', 'TTYPONYDIR', True), ('ttyponies', 'tty ponies', 'TTYPONYDIR', True),
@ -44,9 +41,6 @@ ponysaysrc = [src + '.py' for src in
'backend', 'colourstack', 'ucs', 'spellocorrecter', 'kms', 'backend', 'colourstack', 'ucs', 'spellocorrecter', 'kms',
'list', 'metadata', 'ponysaytool')] 'list', 'metadata', 'ponysaytool')]
COPY = 'copy' COPY = 'copy'
HARD = 'hard' HARD = 'hard'
SYMBOLIC = 'symbolic' SYMBOLIC = 'symbolic'
@ -68,38 +62,33 @@ class Setup():
description = 'installer for ponysay', description = 'installer for ponysay',
usage = usage) usage = usage)
opts.add_argumentless(alternatives = ['--help']) opts.add_argumentless(alternatives = ['--help'])
opts.add_argumentless(alternatives = ['--version']) opts.add_argumentless(alternatives = ['--version'])
opts.add_argumented (alternatives = ['---DESTDIR'], arg="DESTDIR") opts.add_argumented (alternatives = ['---DESTDIR'], arg="DESTDIR")
opts.add_argumented (alternatives = ['---PREFIX'], arg="PREFIX") opts.add_argumented (alternatives = ['---PREFIX'], arg="PREFIX")
opts.add_argumentless(help = 'Install everything that is not explicitly excluded',
opts.add_argumentless(help = 'Install everything that is not explicity excluded',
alternatives = ['--everything', '--with-everything']) alternatives = ['--everything', '--with-everything'])
opts.add_argumentless(help = 'Install only the essentials\nNote that this can vary depending on version', opts.add_argumentless(help = 'Install only the essentials\nNote that this can vary depending on the version',
alternatives = ['--minimal']) alternatives = ['--minimal'])
opts.add_argumentless(help = 'Install nothing (except legal documents) that is not explicity included', opts.add_argumentless(help = 'Install nothing (except legal documents) that is not explicitly included',
alternatives = ['--nothing', '--with-nothing']) alternatives = ['--nothing', '--with-nothing'])
for command in commands: for command in commands:
opts.add_argumentless(help = 'Do not install the %s command' % (command), opts.add_argumentless(help = 'Do not install the %s command' % (command),
alternatives = ['--without-' + command, '--without-' + command + '-command']) alternatives = ['--without-' + command, '--without-' + command + '-command'])
opts.add_argumented (help = 'Install the %s command, and set file name\nDefualt = /usr/bin/%s' % (command, command), opts.add_argumented (help = 'Install the %s command, and set file name\nDefault = /usr/bin/%s' % (command, command),
alternatives = ['--with-' + command, '--with-' + command + '-command'], arg='EXEC') alternatives = ['--with-' + command, '--with-' + command + '-command'], arg='EXEC')
opts.add_argumentless(help = 'Do not install a user shared cache', opts.add_argumentless(help = 'Do not install a user shared cache',
alternatives = ['--without-shared-cache']) alternatives = ['--without-shared-cache'])
opts.add_argumented (help = 'Install a user shared cache at CACHEDIR\nDefault = /var/cache/ponysay', opts.add_argumented (help = 'Install a user shared cache at CACHEDIR\nDefault = /var/cache/ponysay',
alternatives = [ '--with-shared-cache'], arg='CACHEDIR') alternatives = [ '--with-shared-cache'], arg='CACHEDIR')
for shell in shells: for shell in shells:
opts.add_argumentless(help = 'Do not install completion for ' + shell[2], opts.add_argumentless(help = 'Do not install completion for ' + shell[2],
alternatives = ['--without-' + shell[0], '--without-' + shell[0] + '-completion']) alternatives = ['--without-' + shell[0], '--without-' + shell[0] + '-completion'])
@ -107,14 +96,12 @@ class Setup():
opts.add_argumented (help = 'Set file name for the completion for ponysay in' + shell[2], opts.add_argumented (help = 'Set file name for the completion for ponysay in' + shell[2],
alternatives = ['--with-' + shell[0], '--with-' + shell[0] + '-completion'], arg='PONYSAY_%s_FILE' % (shell[0].upper())) alternatives = ['--with-' + shell[0], '--with-' + shell[0] + '-completion'], arg='PONYSAY_%s_FILE' % (shell[0].upper()))
opts.add_argumentless(help = 'Only install explicitly included shell completions', opts.add_argumentless(help = 'Only install explicitly included shell completions',
alternatives = ['--without-shell', '--without-shell-completion']) alternatives = ['--without-shell', '--without-shell-completion'])
opts.add_argumented (help = 'Set share/ directory used for shell completions\nDefault = $SHAREDIR', opts.add_argumented (help = 'Set share/ directory used for shell completions\nDefault = $SHAREDIR',
alternatives = ['--with-shell', '--with-shell-completion'], arg='SHAREDIR') alternatives = ['--with-shell', '--with-shell-completion'], arg='SHAREDIR')
opts.add_argumentless(help = 'Do not install PDF manual\nDefault', opts.add_argumentless(help = 'Do not install PDF manual\nDefault',
alternatives = ['--without-pdf', '--without-pdf-manual']) alternatives = ['--without-pdf', '--without-pdf-manual'])
@ -145,7 +132,6 @@ class Setup():
opts.add_argumented (help = 'Select compression for info manual\nDefault = gz, xz is also recognised', opts.add_argumented (help = 'Select compression for info manual\nDefault = gz, xz is also recognised',
alternatives = ['--with-info-compression', '--with-info-manual-compression'], arg='COMPRESSION') alternatives = ['--with-info-compression', '--with-info-manual-compression'], arg='COMPRESSION')
for man in manpages: for man in manpages:
opts.add_argumentless(help = 'Do not install %s manpage manual' % (man[1]), opts.add_argumentless(help = 'Do not install %s manpage manual' % (man[1]),
alternatives = ['--without-man-%s' % (man[0]), '--without-manpage-%s' % (man[0]), '--without-man-manual-%s' % (man[0]), alternatives = ['--without-man-%s' % (man[0]), '--without-manpage-%s' % (man[0]), '--without-man-manual-%s' % (man[0]),
@ -155,7 +141,6 @@ class Setup():
alternatives = ['--with-man-%s' % (man[0]), '--with-manpage-%s' % (man[0]), '--with-man-manual-%s' % (man[0]), alternatives = ['--with-man-%s' % (man[0]), '--with-manpage-%s' % (man[0]), '--with-man-manual-%s' % (man[0]),
'--with-%s-man' % (man[0]), '--with-%s-manpage' % (man[0]), '--with-%s-man-manual' % (man[0])], arg='MANDIR') '--with-%s-man' % (man[0]), '--with-%s-manpage' % (man[0]), '--with-%s-man-manual' % (man[0])], arg='MANDIR')
opts.add_argumentless(help = 'Do not install any manpages', opts.add_argumentless(help = 'Do not install any manpages',
alternatives = ['--without-man', '--without-manpage', '--without-man-manual']) alternatives = ['--without-man', '--without-manpage', '--without-man-manual'])
@ -183,7 +168,6 @@ class Setup():
alternatives = ['--man-section-%s' % (man[0]), '--%s-manpage-section' % (man[0]), alternatives = ['--man-section-%s' % (man[0]), '--%s-manpage-section' % (man[0]),
'--man-section-%s' % (man[0]), '--%s-manpage-section' % (man[0])], arg='SECTION') '--man-section-%s' % (man[0]), '--%s-manpage-section' % (man[0])], arg='SECTION')
for dir in sharedirs: for dir in sharedirs:
opts.add_argumentless(help = 'Do not install ' + dir[1], opts.add_argumentless(help = 'Do not install ' + dir[1],
alternatives = ['--without-' + dir[0]]) alternatives = ['--without-' + dir[0]])
@ -197,14 +181,12 @@ class Setup():
opts.add_argumentless(help = 'Install UCS pony name map\nDefault', opts.add_argumentless(help = 'Install UCS pony name map\nDefault',
alternatives = ['--with-ucs', '--with-ucs-names']) alternatives = ['--with-ucs', '--with-ucs-names'])
opts.add_argumentless(help = 'Let the installer set the env name for python in ponysay\nDefault', opts.add_argumentless(help = 'Let the installer set the env name for python in ponysay\nDefault',
alternatives = ['--without-custom-env-python']) alternatives = ['--without-custom-env-python'])
opts.add_argumented (help = 'Set the env name for python in ponysay', opts.add_argumented (help = 'Set the env name for python in ponysay',
alternatives = ['--with-custom-env-python'], arg='PYTHON') alternatives = ['--with-custom-env-python'], arg='PYTHON')
opts.add_argumented (help = 'Set a prefix to all implicit directories\nDefault = /usr', opts.add_argumented (help = 'Set a prefix to all implicit directories\nDefault = /usr',
alternatives = ['--prefix'], arg='PREFIX') alternatives = ['--prefix'], arg='PREFIX')
@ -232,29 +214,22 @@ class Setup():
opts.add_argumented (help = 'Set the system\'s directory for cache directories\nDefault = /var/cache', opts.add_argumented (help = 'Set the system\'s directory for cache directories\nDefault = /var/cache',
alternatives = ['--cache-dir'], arg='CACHEDIR') alternatives = ['--cache-dir'], arg='CACHEDIR')
opts.add_argumented (help = 'Set off environment for installation\nEmpty by default', opts.add_argumented (help = 'Set off environment for installation\nEmpty by default',
alternatives = ['--dest-dir'], arg='DESTDIR') alternatives = ['--dest-dir'], arg='DESTDIR')
opts.add_argumented (help = 'Set how to link identical files\nDefault = symbolic, copy and hard are also recognised', opts.add_argumented (help = 'Set how to link identical files\nDefault = symbolic, copy and hard are also recognised',
alternatives = ['--linking'], arg='TYPE') alternatives = ['--linking'], arg='TYPE')
opts.add_argumented (help = 'Install all ponies or only the completely free ponies\nThis option is manditory, use strict, full, true or yes ' + opts.add_argumented (help = 'Install all ponies or only the completely free ponies\nThis option is manditory, use strict, full, true or yes ' +
'for only free ponies,\nand partial, sloppy, false or no for all ponies', 'for only free ponies,\nand partial, sloppy, false or no for all ponies',
alternatives = ['--freedom'], arg='FREEDOM') alternatives = ['--freedom'], arg='FREEDOM')
opts.parse() opts.parse()
self.linking = SYMBOLIC self.linking = SYMBOLIC
if opts.opts['--linking'] is not None: if opts.opts['--linking'] is not None:
self.linking = opts.opts['--linking'][0] self.linking = opts.opts['--linking'][0]
self.free = None self.free = None
if opts.opts['--freedom'] is not None: if opts.opts['--freedom'] is not None:
if opts.opts['--freedom'][0].lower() in ('strict', 'full', 'true', 'yes'): if opts.opts['--freedom'][0].lower() in ('strict', 'full', 'true', 'yes'):
@ -272,7 +247,6 @@ class Setup():
print('') print('')
exit(255) exit(255)
if (opts.opts['---DESTDIR'] is not None) and (opts.opts['--dest-dir'] is None): if (opts.opts['---DESTDIR'] is not None) and (opts.opts['--dest-dir'] is None):
destdir = opts.opts['---DESTDIR'][0] destdir = opts.opts['---DESTDIR'][0]
if len(destdir) > 0: if len(destdir) > 0:
@ -283,7 +257,6 @@ class Setup():
if len(prefix) > 0: if len(prefix) > 0:
opts.opts['--prefix'] = [prefix] opts.opts['--prefix'] = [prefix]
if (len(opts.files) > 1) or (opts.opts['--help'] is not None) or ((len(opts.files) == 1) and (opts.files[0] == 'help')): if (len(opts.files) > 1) or (opts.opts['--help'] is not None) or ((len(opts.files) == 1) and (opts.files[0] == 'help')):
opts.help() opts.help()
elif (opts.opts['--version'] is not None) or ((len(opts.files) == 1) and (opts.files[0] == 'version')): elif (opts.opts['--version'] is not None) or ((len(opts.files) == 1) and (opts.files[0] == 'version')):
@ -320,7 +293,6 @@ class Setup():
elif not method == 'view': elif not method == 'view':
opts.help() opts.help()
''' '''
Display configurations Display configurations
''' '''
@ -371,7 +343,6 @@ class Setup():
print() print()
''' '''
Compile ponysay Compile ponysay
''' '''
@ -454,7 +425,7 @@ class Setup():
if man is manpages[0]: lang = '' if man is manpages[0]: lang = ''
else: lang = '.' + man[0] else: lang = '.' + man[0]
if conf[key] is not None: if conf[key] is not None:
src = 'manuals/manpage' + lang + '.0' src = 'manuals/manpage' + lang + '.6'
dest = src + '.install' dest = src + '.install'
(fileout, filein) = (None, None) (fileout, filein) = (None, None)
try: try:
@ -473,7 +444,7 @@ class Setup():
src = dest src = dest
ext = conf[key + '-compression'] ext = conf[key + '-compression']
if ext is not None: if ext is not None:
dest = 'manuals/manpage' + lang + '.0.' + ext dest = 'manuals/manpage' + lang + '.6.' + ext
compress(src, dest, ext) compress(src, dest, ext)
if conf['info'] is not None: if conf['info'] is not None:
@ -577,7 +548,6 @@ class Setup():
print() print()
''' '''
Install compiled ponysay Install compiled ponysay
''' '''
@ -644,7 +614,7 @@ class Setup():
if man is manpages[0]: lang = '' if man is manpages[0]: lang = ''
else: lang = '.' + man[0] else: lang = '.' + man[0]
if conf[key] is not None: if conf[key] is not None:
src = 'manuals/manpage' + lang + '.0.' + ('install' if conf[key + '-compression'] is None else conf[key + '-compression']) src = 'manuals/manpage' + lang + '.6.' + ('install' if conf[key + '-compression'] is None else conf[key + '-compression'])
dests = [] dests = []
for command in commands: for command in commands:
if conf[command] is not None: if conf[command] is not None:
@ -664,7 +634,6 @@ class Setup():
self.cp(False, file[0], [conf[file[0]]], Setup.validateFreedom if self.free else None) self.cp(False, file[0], [conf[file[0]]], Setup.validateFreedom if self.free else None)
print() print()
''' '''
Uninstall ponysay Uninstall ponysay
''' '''
@ -722,7 +691,6 @@ class Setup():
self.removeLists(files, dirs) self.removeLists(files, dirs)
print() print()
''' '''
Uninstall file ponysay no longer uses Uninstall file ponysay no longer uses
''' '''
@ -743,7 +711,6 @@ class Setup():
self.removeLists(files, dirs) self.removeLists(files, dirs)
print() print()
''' '''
Remove compiled files Remove compiled files
''' '''
@ -770,7 +737,6 @@ class Setup():
self.removeLists(files, dirs) self.removeLists(files, dirs)
print() print()
''' '''
Remove compiled files ponysay is no longer compiling Remove compiled files ponysay is no longer compiling
''' '''
@ -789,7 +755,6 @@ class Setup():
self.removeLists(files, dirs) self.removeLists(files, dirs)
print() print()
''' '''
Removes listed files and directories Removes listed files and directories
''' '''
@ -819,7 +784,6 @@ class Setup():
else: else:
break; break;
''' '''
Check whether a file is fully free Check whether a file is fully free
''' '''
@ -840,7 +804,6 @@ class Setup():
return False return False
return True return True
''' '''
Copys a files or directory to multiple destinations Copys a files or directory to multiple destinations
''' '''
@ -919,7 +882,6 @@ class Setup():
os.unlink(dest) os.unlink(dest)
self.symlink(target, dest) self.symlink(target, dest)
''' '''
Create a symlink with a relative path Create a symlink with a relative path
''' '''
@ -943,7 +905,6 @@ class Setup():
os.symlink('/'.join(targets), dest) os.symlink('/'.join(targets), dest)
''' '''
Parses configurations Parses configurations
''' '''
@ -976,7 +937,6 @@ class Setup():
conf['libexec-dir'] = '/usr/libexec/ponysay' conf['libexec-dir'] = '/usr/libexec/ponysay'
conf['share-dir'] = '/usr/share' conf['share-dir'] = '/usr/share'
if opts['--private'] is not None: if opts['--private'] is not None:
if opts['--prefix'] is None: if opts['--prefix'] is None:
opts['--prefix'] = [os.environ['HOME'] + '/.local'] opts['--prefix'] = [os.environ['HOME'] + '/.local']
@ -1018,14 +978,12 @@ class Setup():
for key in conf: for key in conf:
defaults[key] = conf[key] defaults[key] = conf[key]
if opts['--nothing'] is not None: if opts['--nothing'] is not None:
opts['--minimal'] = opts['--nothing'] opts['--minimal'] = opts['--nothing']
for key in ['custom-env-python']: for key in ['custom-env-python']:
conf[key] = None conf[key] = None
if opts['--everything'] is None: if opts['--everything'] is None:
for key in ['pdf', 'pdf-compression']: for key in ['pdf', 'pdf-compression']:
conf[key] = None conf[key] = None
@ -1054,7 +1012,6 @@ class Setup():
conf[command] = None conf[command] = None
conf[sharedirs[0][0]] = None conf[sharedirs[0][0]] = None
for coll in [['shell', '/usr/share', [item[0] for item in shells]], for coll in [['shell', '/usr/share', [item[0] for item in shells]],
['man', '/usr/share/man', ['man-' + item[0] for item in manpages]], ['man', '/usr/share/man', ['man-' + item[0] for item in manpages]],
['man-compression', 'gz', ['man-' + item[0] + '-compression' for item in manpages]] ['man-compression', 'gz', ['man-' + item[0] + '-compression' for item in manpages]]
@ -1066,7 +1023,6 @@ class Setup():
for item in coll[2]: for item in coll[2]:
defaults[item] = conf[item] = defaults[item].replace(coll[1], coll[1] if opts['--with-' + coll[0]][0] is None else opts['--with-' + coll[0]][0]); defaults[item] = conf[item] = defaults[item].replace(coll[1], coll[1] if opts['--with-' + coll[0]][0] is None else opts['--with-' + coll[0]][0]);
for key in conf: for key in conf:
if '--with-' + key not in opts: if '--with-' + key not in opts:
continue continue
@ -1084,12 +1040,10 @@ class Setup():
else: else:
conf['man-section-' + mansection[0]] = mansection[1] conf['man-section-' + mansection[0]] = mansection[1]
self.destDir = None if opts['--dest-dir'] is None else opts['--dest-dir'][0] self.destDir = None if opts['--dest-dir'] is None else opts['--dest-dir'][0]
return conf return conf
def applyDestDir(self, conf): def applyDestDir(self, conf):
if self.destDir is not None: if self.destDir is not None:
for key in conf: for key in conf:
@ -1097,7 +1051,6 @@ class Setup():
if conf[key].startswith('/'): if conf[key].startswith('/'):
conf[key] = self.destDir + conf[key] conf[key] = self.destDir + conf[key]
def unapplyDestDir(self, conf): def unapplyDestDir(self, conf):
if self.destDir is not None: if self.destDir is not None:
for key in conf: for key in conf:
@ -1106,7 +1059,6 @@ class Setup():
conf[key] = conf[key][len(self.destDir):] conf[key] = conf[key][len(self.destDir):]
ARGUMENTLESS = 0 ARGUMENTLESS = 0
ARGUMENTED = 1 ARGUMENTED = 1
''' '''
@ -1222,6 +1174,5 @@ class ArgParser():
print() print()
if __name__ == '__main__': if __name__ == '__main__':
Setup() Setup()