aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-16 16:09:53 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:14 +0700
commit1c356750f7c648ea9fe4d10bc6453141555c5c36 (patch)
treeeea98e2fb4d3cf45ab1d7a0937a51fb38ab4202d
parentf7810e8c1379356780fe4fd47091b6b9976c5d0b (diff)
games/vera: Various fixes and enhancements.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/vera/02_direntry.diff29
-rw-r--r--games/vera/README12
-rw-r--r--games/vera/doinst.sh11
-rw-r--r--games/vera/douninst.sh17
-rw-r--r--games/vera/mkwtfdb.pl509
-rw-r--r--games/vera/slack-desc2
-rw-r--r--games/vera/utf8_and_double_brackets.diff44
-rw-r--r--games/vera/vera.678
-rw-r--r--games/vera/vera.SlackBuild60
-rw-r--r--games/vera/vera.info4
-rw-r--r--games/vera/vera.rst59
11 files changed, 764 insertions, 61 deletions
diff --git a/games/vera/02_direntry.diff b/games/vera/02_direntry.diff
new file mode 100644
index 0000000000000..b84e91533f636
--- /dev/null
+++ b/games/vera/02_direntry.diff
@@ -0,0 +1,29 @@
+Description: Add a direntry, dircategory
+Author: Ryan Kavanagh <rak@debian.org>
+Origin: vendor
+Forwarded: no
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: vera/vera.texi
+===================================================================
+--- vera.orig/vera.texi 2021-01-05 13:32:01.209209794 -0500
++++ vera/vera.texi 2021-01-05 13:32:01.209209794 -0500
+@@ -22,15 +22,12 @@
+ @set AUTHOREMAIL < ohei [at] snafu . de >
+ @c End of variables
+
+-@ignore
+ @ifinfo
+-@format
+-START-INFO-DIR-ENTRY
++@dircategory Dictionaries
++@direntry
+ * V.E.R.A.: (vera). Virtual Entity of Relevant Acronyms
+-END-INFO-DIR-ENTRY
+-@end format
++@end direntry
+ @end ifinfo
+-@end ignore
+
+ @ifinfo
+ This is a special GNU edition of V.E.R.A.,
diff --git a/games/vera/README b/games/vera/README
index 5e4a30769683c..4f3eeabcffce9 100644
--- a/games/vera/README
+++ b/games/vera/README
@@ -1,11 +1,15 @@
-vera (acronym database)
+vera (acronym dictionary)
V.E.R.A. is a free list of acronyms all of which are used in the field
of computing. It is released under the GNU Free Documentation License.
-The database is installed in GNU Info format (use "info vera" to
-access) and as the wtf(6) database, replacing the tiny/outdated one
-from bsd-games.
+The dictionary is installed in 3 formats:
+
+- GNU Info format. Use "info vera" to access.
+- The wtf(6) database. Use "wtf <acronym>" to access. This replaces
+ the tiny/outdated acronym list from bsd-games.
+- HTML. Point your browser at file:///usr/doc/vera-1.24/vera.html
+ to access.
If you remove this package, reinstall bsd-games to revert to the
original wtf database.
diff --git a/games/vera/doinst.sh b/games/vera/doinst.sh
index 902384ea1c66a..8f7127bf0f9cd 100644
--- a/games/vera/doinst.sh
+++ b/games/vera/doinst.sh
@@ -1,10 +1,3 @@
-# the README says to use '* V.E.R.A.' at the start, but that causes
-# the command 'info vera' to fail. Using '* VERA' works as expected.
-
-if ! grep "(vera)" usr/info/dir 1>/dev/null 2>/dev/null; then
- cat << EOF >> usr/info/dir
-
-Miscellaneous
-* VERA: (vera). Virtual Entity of Relevant Acronyms
-EOF
+if [ -x /usr/bin/install-info ]; then
+ /usr/bin/install-info usr/info/vera.info.gz usr/info/dir
fi
diff --git a/games/vera/douninst.sh b/games/vera/douninst.sh
new file mode 100644
index 0000000000000..f452accdaa15c
--- /dev/null
+++ b/games/vera/douninst.sh
@@ -0,0 +1,17 @@
+# 20211015 bkw: I was going to have a douninst.sh that runs
+# /usr/bin/install-info --delete /usr/info/xroar.info.gz /usr/info/dir
+# but this won't work because removepkg has already deleted
+# /usr/info/xroar.info.gz before it runs douninst.sh. And you can't
+# use install-info to remove stuff *by name* from /usr/info/dir;
+# the info file must actually exist.
+# So the script has to manually remove the entry from the info dir,
+# and the Emulators section if it's become empty.
+
+if [ -e usr/info/dir ]; then
+ # Remove the entry first:
+ sed -i '/^\* V\.E\.R.\A\.:/d' usr/info/dir
+ # If the Dictionaries section is empty now, remove it too:
+ if grep -A1 '^Dictionaries$' usr/info/dir | tail -1 | grep -q '^$'; then
+ sed -i '/^Dictionaries$/,+1d' usr/info/dir
+ fi
+fi
diff --git a/games/vera/mkwtfdb.pl b/games/vera/mkwtfdb.pl
index c5430a4f5f11f..74d7115c8cb2f 100644
--- a/games/vera/mkwtfdb.pl
+++ b/games/vera/mkwtfdb.pl
@@ -11,6 +11,7 @@ chdir $dir || die "$0: $dir: $!\n";
for $ext (0, 'a'..'z') {
open(my $f, "<vera.$ext") or next;
+ warn "reading file vera.$ext\n";
my ($acronym, $definition);
while(<$f>) {
@@ -39,153 +40,597 @@ while(<DATA>) {
print sort { $a cmp $b } @output;
-# Rest of this file is the original contents of /usr/share/misc/acronyms
-# from Slack 14.1's bsd-games (minus the comment and blank line at the top).
+# Rest of this file is the original contents of
+# /usr/share/misc/acronyms from Slackware -current (pre-15.0)
+# bsd-games-2.17-x86_64-3, minus the comment at the top.
__DATA__
-AFAICR as far as I can recall
+10Q thank you
+10X thanks
+1337 elite ("leet")
+224 today, tomorrow, forever
+31337 elite ("eleet")
+4TW for the win
+A/S/L age/sex/location
+AAMOF as a matter of fact
+ABD all but dissertation
+AC audible chuckle
+ADD attention deficit disorder
+ADHD attention deficit (and) hyperactivity disorder
+ADN any day now
+ADOS attention deficit ... oh, shiny!
+AEAP as early as possible
+AFAIAC as far as I am concerned
+AFAIC as far as I'm concerned
+AFAICR as far as I can {recall,remember}
+AFAICS as far as I can see
AFAICT as far as I can tell
AFAIK as far as I know
-AFAIR as far as I recall
+AFAIR as far as I {recall,remember}
+AFAIU as far as I understand
+AFD away from desktop
AFK away from keyboard
+AFW away from window
+AGM annual general meeting
+AINEC and it's not even close
+AISE as I see it
+AIU as I understand
AIUI as I understand it
AKA also known as
+AM ante meridiem
+AMA ask me anything
+AMOL a mountain of love
+ASAIC as soon as I can
ASAP as soon as possible
+ASL age/sex/location
+ATEOTD at the end of the day
+ATM at the moment
+ATM {automated,automatic} teller machine
+ATW around the world
+AWK Aho, Weinberger, [and] Kernighan
AWOL absent without official leave
AYBABTU all your base are belong to us
+AYF all your fault
+AYOR at your own risk
+AYT are you there
+B& banned
+B/C because
+B/W bandwidth
+B/W between
+BAI goodbye
+BAK back at keyboard
+BBIAB be back in a bit
BBL [I'll] be back later
+BBR burnt beyond repair
BBS be back soon
BBT be back tomorrow
-BFD big fucking deal
+BCNU be seeing you
+BCNUL8R be seeing you later
+BCP best current practice
+BF best friend
+BF boyfriend
+BFF best {friend,friends} forever
BIAB back in a bit
BIAF back in a few
BIALW back in a little while
BIAS back in a second
BIAW back in a while
+BIDI boy, I did it
+BNYA burned now you are
+BOC but of course
BOFH bastard operator from hell
-BOHICA bend over here it comes again
+BOT back on topic
+BPM beam propagation method
+BPM beats per minute
BRB [I'll] be right back
+BSD booze, sex, drugs
BTDT been there, done that
-BTTH butt to the head
+BTFT been there, fixed that
+BTTH boot to the head
BTW by the way
+BYOB bring your own {beer,booze}
+CC credit card
+CEO chief executive officer
+CFV call for votes
+CFY calling for you
+CG center of gravity
+CHANOPS channel operator status
CMIIW correct me if I'm wrong
CNP continued [in my] next post
+COB close of business [day]
+COTS commercial off-the-shelf
+CPC cost per click
+CPE customer premises equipment
+CRM customer relationship management
+CTN can't talk now
+CU see you
+CUL see you later
+CYA see ya
CYA see you around
-DNDK don't know, don't care
+CYE check your email
+D/B/A doing business as
+D/L download
+DBA doing business as
+DBEYR don't believe everything you read
+DIAFYO did I ask for your opinion?
+DIY do it yourself
+DKDC don't know, don't care
+DM direct message
+DM dungeon master
+DME durable medical equipment
+DMEPOS durable medical equipment, prosthetics, orthotics and supplies
+DMZ demilitarized zone
+DND do not disturb
+DNF did not finish
+DNFT do not feed troll
+DOA dead on arrival
+DRY don't repeat yourself
+DSTM don't shoot the messenger
DTRT do the right thing
DTWT do the wrong thing
DWIM do what I mean
+DYK do you know?
+EA early adopter
+ECR electronic cash register
+EDS eternal downward spiral
+EFT electronic funds transfer
EG evil grin
+EIE enough is enough
EMSG email message
+EOB end of business [day]
+EOD end of {day,discussion}
+EOL end of life
+EOM end of message
+EOS end of story
+ETA edited to add
+ETA estimated time of arrival
ETLA extended three letter acronym
+ETR early to rise
EWAG experienced wild-ass guess
+EZ easy
+EZPZ easy-peasy
+F9 fine
FAQ frequently asked question
-FIIK fuck[ed] if I know
-FIIR fuck[ed] if I remember
-FOAD fall over and die
+FBOW for better or worse
+FCFS first come, first served
+FCOL for crying out loud
+FFS free for shipping
+FITB fill in the blank
+FNO for nerds only
+FNO from now on
+FOC free of charge
+FPS first person shooter
+FPS frames per second
FSDO for some definition of
FSVO for some value of
-FUBAR fucked up beyond all recognition
-FUD fear, uncertainty and doubt
+FTBFS fails to build from source
+FTFY fixed that for you
+FTHOI for the {heck,hell} of it
+FTL faster than light
+FTL for the loss
+FTR for the record
+FTTT from time to time
+FTW for the win
+FUD fear, uncertainty, [and] doubt
FWIW for what it's worth
+FYEO for your eyes only
FYI for your information
G grin
+G/C garbage collect
+G2G got to go
+G2K good to know
+GA go ahead
+GAC get a clue
+GAL get a life
+GBTW get back to work
+GF girlfriend
+GFU good for you
+GFY good for you
+GG good game
+GGA good game all
+GGP good game partner
+GGWP good game, well played
+GIGO garbage in, garbage out
+GIYF Google is your friend
+GJ good job
+GL good luck
+GLHF good luck, have fun
+GLINE global kill line
+GLWT good luck with that
+GM game master
+GMT Greenwich mean time
GMTA great minds think alike
+GOK God only knows
+GOP Grand Old Party
+GOWI get on with it
+GPS global positioning system
+GR8 great
+GTG got to go
+GTH go to hell
+GTSY {glad,good} to see you
+GWS get well soon
+H8 hate
HAND have a nice day
+HE how embarrasing
+HF have fun
HHIS hanging head in shame
+HHOS ha ha, only serious
+HICA here it comes again
+HME home medical equipment
+HNY happy new year
+HOAS hold on a second
+HOPS half-operator status
HTH hope this helps
+IAC in any case
+IAE in any event
IANAL I am not a lawyer
-IHAFC I haven't a fucking clue
-IHNFC I have no fucking clue
+IAW in another window
+IAWTC I agree with this comment
+IAWTP I agree with this post
+IAY I adore you
+IB I'm back
+IC I see
+ICBW I could be {worse,wrong}
+ICCL I couldn't care less
+ICUR I see you are
+ICYMI in case you missed it
+IDC I don't care
+IDGI I don't get it
+IDGW in a good way
+IDI I doubt it
+IDIFTL I did it for the lulz
+IDK I don't know
+IDRC I don't really care
+IDTS I don't think so
+IDTT I drink to that
+IFF if and only if
+IFTTT if this then that
+IHBW I have been wrong
IIANM if I am not mistaken
-IIRC if I recall correctly
+IIRC if I {recall,remember} correctly
+IIUC if I understand correctly
+IKR I know, right?
+IKWYM I know what you mean
+ILU I love you
+ILY I love you
+IMAO in my arrogant opinion
+IMBO in my biased opinion
IMCO in my considered opinion
+IME in my experience
IMHO in my humble opinion
IMNSHO in my not so humble opinion
IMO in my opinion
+INB4 in before
+INPO in no particular order
IOW in other words
+IPML I pissed myself laughing
+IQ intelligence quotient
+IRCOP Internet relay chat {operator,operators}
+IRCOPS Internet relay chat operator status
IRL in real life
+IRT in real time
+IRT in regards to
+ISAGN I see a great need
+ISBN International Standard Book Number
ISTM it seems to me
-ISTR I seem to recall
+ISTR I seem to {recall,remember}
+ITC in this {channel,chat}
+ITT in this thread
ITYM I think you mean
+IUD insert usual disclaimers
+IUSS if you say so
+IW it's worse
+IWBNI it would be nice if
+IYD in your dreams
+IYKWIM if you know what I mean
+IYSS if you say so
+IYSWIM if you see what I mean
+J/K just kidding
+JAM just a minute
+JAS just a second
+JFK John Fitzgerald Kennedy
+JFTR just for the record
+JFYI just for your information
+JGI just Google it
+JGI just got it
+JHD just hit delete
JIC just in case
+JJA just joking around
JK just kidding
JMO just my opinion
+JSYK just so you know
JTLYK just to let you know
+JW just wondering
KISS keep it simple, stupid
KITA kick in the ass
+KK okay, okay
+KLINE kill line
+KMA keep me advised
+KMA keep moving ahead
+KMA kill me already
KNF kernel normal form
+KOS kill on sight
+KTHX okay, thanks
+KTHXBAI okay, thanks. Goodbye.
+KWIM know what I mean?
+L8 late
L8R later
-LART luser attitude readjustment tool (ie, hammer)
+LART luser attitude readjustment tool
+LBNL last but not least
+LGTM looks good to me
LJBF let's just be friends
+LMAO laughing my ass off
+LMC let me check
+LMGTFY let me google that for you
+LMHO laughing my head off
+LMK let me know
+LMNO laughing my nuts off
LMSO laughing my socks off
+LOIC low orbit ion cannon
LOL laughing out loud
+LP long playing [record]
LTNS long time no see
+LWYL laugh with you later
+M8 mate
+MAD mutually assured destruction
+MBA master of business administration
+MFW my face when
+MIA missing in action
+MMB message me back
+MO modus operandi
MOTAS member of the appropriate sex
MOTOS member of the opposite sex
MOTSS member of the same sex
MTF more to follow
+MVP minimum viable product
+MVP most valuable player
MYOB mind your own business
+N/A not {applicable,available}
+N/M never mind
+NAFAIK not as far as I know
+NB nota bene
NBD no big deal
-NFC no fucking clue
-NFI no fucking idea
-NFW no fucking way
+NE1 anyone
+NEDM not even Doom music
+NFA no flaming allowed
+NFC no functional change
+NIFOC naked in front of computer
NIH not invented here
+NIMBY not in my backyard
+NM never mind
+NMF not my fault
+NMP not my problem
+NMU not much, you?
+NOM no offence meant
+NOOB newbie
+NORP normal ordinary {respectable,responsible} person
+NOYB none of your business
NP no problem
+NPC non-player character
NRFPT not ready for prime time
NRN no reply necessary
+NRN not right now
+NSFW not suitable for work
+NTN no thanks needed
+NUNP no users, no problems
+NVM never mind
+NW no way
+NXT next
+NYPA not your personal army
+O2W off to work
+OAO over and out
+OBV obviously
+OBVS obviously
+ODTW others do the work (cf. "otdw source")
+OFC of course
+OH other half
OIC oh, I see
+OMG oh my God
+OMW on my way
+ONNA oh no, not again
+ONNTA oh no, not this again
+OOB out of bounds
+OOC out of curiosity
+OOI out of interest
+OOSOOM out of sight, out of mind
+OPS operator status
+OPS operators
+ORITE oh, right
+OT off topic
OTL out to lunch
OTOH on the other hand
+OTP one true pairing
+OTS off the shelf
+OTT over the top
OTTOMH off the top of my head
+OWTTE or words to that effect
+PC player character
+PC politically correct
+PCB polychlorinated biphenyl(s)
+PD police department
+PDA public display of affection
+PDQ pretty darn quick
+PDS please don't shout
+PEBCAK problem exists between chair and keyboard
+PEBKAC problem exists between keyboard and chair
+PFI pay for inclusion
PFY pimply faced youth
+PHB pointy haired boss
+PIN personal identification number
PITA pain in the ass
+PITR {parent,parents} in the room
+PKSP pound keys and spew profanity
+PM post meridiem
+PMFI problem magically fixed itself
+PMFJI pardon me for jumping in
+PMSL pissing myself laughing
PNG persona non grata
+PNP plug and pray
POC point of contact
+POC proof of concept
POLA principle of least astonishment
+POLS principle of least surprise
+POS point of sale
+POV point of view
+PPL people
PPL pretty please
+PPP petty pet peeve
+PPS pulse per second (signal)
+PR public relations
+PSA prostate-specific antigen
+PSA public service announcement
+PTA parent-teacher association
+PTO {paid,personal} time off
+PTO parent-teacher organization
+PTO please turn over
+PTO power takeoff
+PTV parental tunnel vision
QED quod erat demonstrandum
+QFT quoted for truth
+RA residential advisor
RFC request for comments
+RFD request for discussion
+RFE request for enhancements
+RIP rest in peace
RL real life
RLC rod length check
+RMS Richard Matthew Stallman
+ROFL rolling on floor laughing
+ROFLMAO rolling on floor laughing my ass off
+ROI return on investment
ROTFL rolling on the floor laughing
RP responsible person
+RR railroad
+RSI repetitive strain injury
RSN real soon now
-RTFB read the fine/fucking book
-RTFM read the fine/fucking manual
-RTFMP read the fine/fucking man page
-RTFS read the fine/fucking source
+RSVP respondez s'il vous plait ("reply please")
+S/T self titled
+SAR search and rescue
+SAR some assembly required
SCNR sorry, could not resist
SEP someone else's problem
-SFA sweet fuck all
+SERP search engine results page
+SFAICT so far as I can tell
SHID slaps head in disgust
+SIMCA sitting in my chair amused
+SITD still in the dark
+SMAP Soil Moisture Active Passive
+SMH shaking my head
SMLSFB so many losers, so few bullets
SMOP simple matter of programming
-SNAFU situation normal, all fucked up
SNERT snot-nosed egotistical rude teenager
+SNMP sorry, not my problem
SO significant other
SOB son of [a] bitch
-SOL shit out [of] luck
+SOP standard operating procedure
+SRS serious
+SRSLY seriously
+SSIA subject says it all
+SSTO single stage to orbit
+STW search the web
SUS stupid user syndrome
+SUX sucks
+SUX2BU sucks to be you
SWAG silly, wild-assed guess
SWAHBI silly, wild-assed hare-brained idea
+SWMBO she who must be obeyed
+SYS see you soon
+TA teaching assistant
TANSTAAFL there ain't no such thing as a free lunch
+TBA to be announced
+TBC to be continued
TBD to be {decided,determined,done}
+TBH to be honest
+TBOMK the best of my knowledge
+TCB taking care of business
+TCO taken care of
+TCO total cost of ownership
+TFOA things falling off aircraft
+TFW that feeling when
+TGIF thank goodness it's Friday
+THNX thanks
+THX thanks
TIA thanks in advance
+TIAVP this is a volunteer project
+TIC tonque in cheek
+TIL today I learned
+TINC there is no cabal
+TINLA this is not legal advice
+TINWIS this is not what I said
+TJM that's just me
TLA three letter acronym
+TLA true love always
+TLC tender loving care
+TLDR too long, didn't read
+TM trademark
+TM trust me
TMA too many abbreviations
+TMG too much government
TMI too much information
+TMJ temporomandibular joint
+TMK to my knowledge
+TMTOWTDI there's more than one way to do it
+TNF The NetBSD Foundation
+TOC table of contents
+TOCTOU time of check to time of use
+TOEFL test of english as a foreign language
+TOH to other half
+TP toilet paper
+TPTB the powers that be
+TRT the right thing
+TTBOMK to the best of my knowledge
TTFN ta ta for now
+TTM to the moderator
+TTT thought that too
TTYL talk to you later
+TTYS talk to you soon
+TWAIN thing without an interesting name
+TWDT the whole damn thing
+TWIAVBP the world is a very big place
+TY thank you
TYVM thank you very much
+U/L upload
+UGT universal greeting time
+UR your
+UR {you're, you are}
UTSL use the source, Luke
+VCR video cassette recorder
VEG very evil grin
+VIP very important person
+W/ with
+W/E whatever
+W/O without
+W8 wait
+WAFWOT what a foolish waste of time
WAG wild-ass guess
+WB welcome back
+WCPGW what could possibly go wrong
+WDYMBT what do you mean by that
+WELC working effectively with legacy code
+WFH working from home
+WFM works for me
WIBNI wouldn't it be nice if
-WOFTAM waste of fucking time and money
+WIP work in progress
+WMNC watch me not care
WOMBAT waste of money, brain, and time
-WTF {what,where,who,why} the fuck
-WTH {what,where,who,why} the hell
-WYSIWYG what you see is what you get
+WRT with respect to
+WTB {waiting,want,willing} to buy
+WTF where's the food
+WTG way to go
+WTH {what,when,where,who,why} the hell
+WTS {waiting,want,willing} to sell
+WTT {waiting,want,willing} to trade
+WWJD what would Jesus do?
+YAGNI you ain't gonna need it
+YALIMO you are lame, in my opinion
+YAOTM yet another off-topic message
+YCTAT you can't troll a troll
+YGM you got mail
+YHBT you have been trolled
+YHL you have lost
YKWIM you know what I mean
YMMV your mileage may vary
+YOLO you only live once
+YW you're welcome
+YWSYLS you win some, you lose some
+ZIP zoning improvement plan
diff --git a/games/vera/slack-desc b/games/vera/slack-desc
index 1b05ef610fb8e..5cc8a5b2c7bb3 100644
--- a/games/vera/slack-desc
+++ b/games/vera/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-vera: vera (acronym database)
+vera: vera (acronym dictionary)
vera:
vera: V.E.R.A. is a free list of acronyms all of which are used in the field
vera: of computing. It is released under the GNU Free Documentation License.
diff --git a/games/vera/utf8_and_double_brackets.diff b/games/vera/utf8_and_double_brackets.diff
new file mode 100644
index 0000000000000..9f32dd0e777c5
--- /dev/null
+++ b/games/vera/utf8_and_double_brackets.diff
@@ -0,0 +1,44 @@
+diff -Naur vera-1.24/vera.c vera-1.24.patched/vera.c
+--- vera-1.24/vera.c 2020-08-03 13:43:56.000000000 -0400
++++ vera-1.24.patched/vera.c 2021-10-15 17:31:16.957383994 -0400
+@@ -9,7 +9,8 @@
+ @c Additional explanations are included in [square brackets]
+
+ @table @asis
+-C&C Command & Control [server]
++@item C&C
++Command & Control [server]
+
+ @item C128
+ Commodore 128 [computer] (Commodore)
+diff -Naur vera-1.24/vera.h vera-1.24.patched/vera.h
+--- vera-1.24/vera.h 2020-08-03 13:43:56.000000000 -0400
++++ vera-1.24.patched/vera.h 2021-10-15 17:26:41.661409019 -0400
+@@ -886,13 +886,13 @@
+ Hosted Virtual Desktop
+
+ @item HVGA
+-Half Video Graphics Array [320×480] (VGA)
++Half Video Graphics Array [320x480] (VGA)
+
+ @item HVM
+ Hardware Virtual Machine
+
+ @item HWE
+-HardWare Enablement [stack]] (Linux, Ubuntu)
++HardWare Enablement [stack] (Linux, Ubuntu)
+
+ @item HWMC
+ HardWare Motion Compensation
+diff -Naur vera-1.24/vera.m vera-1.24.patched/vera.m
+--- vera-1.24/vera.m 2020-08-03 13:43:56.000000000 -0400
++++ vera-1.24.patched/vera.m 2021-10-15 17:26:47.996408444 -0400
+@@ -1009,7 +1009,7 @@
+ Mobile Internet Toolkit (MS, .NET)
+
+ @item MITM
+-Man In The Middle [[attack]]
++Man In The Middle [attack]
+
+ @item MJ
+ Modular Jack
diff --git a/games/vera/vera.6 b/games/vera/vera.6
new file mode 100644
index 0000000000000..9232e6ad1ae6b
--- /dev/null
+++ b/games/vera/vera.6
@@ -0,0 +1,78 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "VERA" 6 "2021-10-16" "1.24" "SlackBuilds.org"
+.SH NAME
+vera \- look up acronyms in the VERA database
+.\" RST source for vera(6) man page. Convert with:
+.
+.\" rst2man.py vera.rst > vera.6
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+vera \fIacronym\fP ...
+.SH DESCRIPTION
+.sp
+\fBvera\fP looks up one or more acronyms in the VERA acronym
+database. Example:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+$ vera ianal
+IANAL
+ I Am Not A Lawyer (slang, Usenet, IRC)
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+There are no options.
+.SH FILES
+.sp
+\fI/usr/share/info/vera.info.gz\fP \- the acronym database. Can
+be browsed with the command \fIinfo vera\fP\&.
+.SH AUTHORS
+.sp
+The \fIvera\fP command was written by Andres Soolo.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fIwtf\fP(6)
+.sp
+/usr/doc/vera\-1.24/README
+.sp
+/usr/doc/vera\-1.24/vera.html
+.\" Generated by docutils manpage writer.
+.
diff --git a/games/vera/vera.SlackBuild b/games/vera/vera.SlackBuild
index 182ef1ec41a82..7aaa438640dbc 100644
--- a/games/vera/vera.SlackBuild
+++ b/games/vera/vera.SlackBuild
@@ -6,21 +6,28 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211015 bkw: BUILD=2
+# - fix character encoding and formatting.
+# - fix info node structure and dir entry.
+# - add HTML version of the acronym list.
+# - stop splitting vera.info into multiple info files.
+# - doinst.sh properly installs vera.info in Info dir.
+# - douninst.sh properly removes vera.info from Info dir.
+# - add vera standalone lookup tool from contrib/.
+# - add man page for same.
+
# 20201024 bkw: updated for v1.24
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vera
VERSION=${VERSION:-1.24}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -45,26 +52,53 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
# Fix TL;DR and BP;DR entries.
patch -p1 < $CWD/semicolons.diff
-makeinfo --force $PRGNAM.texi
+# vera.h includes a non-ASCII character encoded as iso-8859-1. It's
+# a multiplication sign. Replace with ASCII letter x. Also replace
+# all [[ and ]] with [ and ]. Also, vera.c's first entry is missing
+# the @item.
+patch -p1 < $CWD/utf8_and_double_brackets.diff
+
+# Next 2 are from Debian:
+
+# This one is actually harmful IMO. It gets rid of the 'Up: Top'
+# links at the start of each letters' worth of acronyms.
+#patch -p1 < $CWD/01_texinfo_node_menu.diff
+
+# This one makes vera show up in the info directory (so if you just
+# type "info", it shows up under Dictionaries in the index).
+patch -p1 < $CWD/02_direntry.diff
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+makeinfo --force --no-split $PRGNAM.texi
+makeinfo --force --no-split --html -o $PKGDOC/$PRGNAM.html $PRGNAM.texi
mkdir -p $PKG/usr/info
-for i in $PRGNAM.info*; do
- gzip -9c < $i > $PKG/usr/info/$i.gz
-done
+gzip -9c < $PRGNAM.info > $PKG/usr/info/$PRGNAM.info.gz
# Generate wtf(6) database from VERA contents.
-# Yes, this conflicts with bsd-games, but it's not like it's going to break
-# anyone's system. As shipped, /usr/share/misc/acronyms is about useless.
+# Yes, this conflicts with bsd-games, but it's not like it's
+# going to break anyone's system. The /usr/share/misc/acronyms from
+# bsd-games-2.17-x86_64-3 has 590 entries. The acronyms installed by
+# this package includes all of those, plus 12,666 more.
mkdir -p $PKG/usr/share/misc
perl $CWD/mkwtfdb.pl > $PKG/usr/share/misc/acronyms
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a changelog README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20211016 bkw: include standalone 'vera' lookup tool. Note
+# that this tool requires vera.info.gz to have been built with
+# --no-split (as we actually do, above).
+mkdir -p $PKG/usr/games $PKG/usr/man/man6
+sed -i 's,/usr/share,/usr,' contrib/$PRGNAM.pl
+install -m0755 contrib/$PRGNAM.pl $PKG/usr/games/$PRGNAM
+gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
+
+cp -a changelog README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/douninst.sh > $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/vera/vera.info b/games/vera/vera.info
index 021dd80f6d2a1..c18a8e83e35e3 100644
--- a/games/vera/vera.info
+++ b/games/vera/vera.info
@@ -1,7 +1,7 @@
PRGNAM="vera"
VERSION="1.24"
-HOMEPAGE="ftp://ftp.gnu.org/gnu/vera/"
-DOWNLOAD="ftp://ftp.gnu.org/gnu/vera/vera-1.24.tar.gz"
+HOMEPAGE="https://ftp.gnu.org/gnu/vera/"
+DOWNLOAD="https://ftp.gnu.org/gnu/vera/vera-1.24.tar.gz"
MD5SUM="03dce85d633e58acdd836ac1e260e7fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/games/vera/vera.rst b/games/vera/vera.rst
new file mode 100644
index 0000000000000..0430a02ad2a2c
--- /dev/null
+++ b/games/vera/vera.rst
@@ -0,0 +1,59 @@
+.. RST source for vera(6) man page. Convert with:
+.. rst2man.py vera.rst > vera.6
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 1.24
+.. |date| date::
+
+====
+vera
+====
+
+-------------------------------------
+look up acronyms in the VERA database
+-------------------------------------
+
+:Manual section: 6
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+vera *acronym* ...
+
+DESCRIPTION
+===========
+
+**vera** looks up one or more acronyms in the VERA acronym
+database. Example::
+
+ $ vera ianal
+ IANAL
+ I Am Not A Lawyer (slang, Usenet, IRC)
+
+There are no options.
+
+FILES
+=====
+
+*/usr/share/info/vera.info.gz* - the acronym database. Can
+be browsed with the command *info vera*.
+
+AUTHORS
+=======
+
+The *vera* command was written by Andres Soolo.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+*wtf*\(6)
+
+/usr/doc/vera-|version|/README
+
+/usr/doc/vera-|version|/vera.html