forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Taken from: FreeBSD
- Loading branch information
Showing
785 changed files
with
6,359 additions
and
5,670 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
The zip-archive library provides functions for creating, modifying, and | ||
extracting files from zip archives. | ||
|
||
WWW: http://github.com/jgm/zip-archive | ||
WWW: https://github.com/jgm/zip-archive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Provides necessary functions for producing a streaming interface. This | ||
is used for example by zlib-conduit and zlib-enum. | ||
|
||
WWW: http://github.com/snoyberg/zlib-bindings | ||
WWW: https://github.com/snoyberg/zlib-bindings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
zlib-enum is a stop-gap package to provide enumeratees for zlib | ||
compression/decompression. | ||
|
||
WWW: http://github.com/maltem/zlib-enum | ||
WWW: https://github.com/maltem/zlib-enum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Audiotag is a command-line tool for mass tagging/renaming of audio files | ||
it supports the vorbis comment, id3 tags, and MP4 tags. | ||
|
||
WWW: http://github.com/Daenyth/audiotag | ||
WWW: https://github.com/Daenyth/audiotag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
A client library for MPD, the Music Player Daemon. | ||
|
||
WWW: http://github.com/vimus/libmpd-haskell#readme | ||
WWW: https://github.com/vimus/libmpd-haskell#readme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
PORTNAME= id3mtag | ||
PORTVERSION= 0.80 | ||
CATEGORIES= audio | ||
MASTER_SITES= http://github.com/squell/id3/releases/download/${PORTVERSION}/ | ||
MASTER_SITES= https://github.com/squell/id3/releases/download/${PORTVERSION}/ | ||
DISTNAME= id3-${PORTVERSION} | ||
|
||
MAINTAINER= [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
libechonest is a collection of C++/Qt classes designed to make a developer's | ||
life easy when trying to use the APIs provided by The Echo Nest. | ||
|
||
WWW: http://github.com/lfranchi/libechonest | ||
WWW: https://github.com/lfranchi/libechonest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
PORTNAME= mp3unicode | ||
PORTVERSION= 1.2.1 | ||
CATEGORIES= audio | ||
MASTER_SITES= http://github.com/downloads/alonbl/mp3unicode/ | ||
MASTER_SITES= https://github.com/downloads/alonbl/mp3unicode/ | ||
|
||
MAINTAINER= [email protected] | ||
COMMENT= ID3 tags charset converter | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- init.h.orig 2016-12-02 11:18:42.572961000 +0800 | ||
+++ init.h 2016-12-02 11:18:42.600298000 +0800 | ||
@@ -290,6 +290,11 @@ struct option_t MuttVars[] = { | ||
** .pp | ||
** Also see $$fast_reply. | ||
*/ | ||
+ { "bbsislame", DT_BOOL, R_NONE, OPTBBSISLAME, 0 }, | ||
+ /* | ||
+ ** .pp | ||
+ ** When this variable is set, mutt will beep when an error occurs. | ||
+ */ | ||
{ "beep", DT_BOOL, R_NONE, OPTBEEP, 1 }, | ||
/* | ||
** .pp | ||
@@ -2667,7 +2672,7 @@ struct option_t MuttVars[] = { | ||
** For the pager, this variable specifies the number of lines shown | ||
** before search results. By default, search results will be top-aligned. | ||
*/ | ||
- { "send_charset", DT_STR, R_NONE, UL &SendCharset, UL "us-ascii:iso-8859-1:utf-8" }, | ||
+ { "send_charset", DT_STR, R_NONE, UL &SendCharset, UL "big5:gb2312:us-ascii:iso-8859-1:utf-8" }, | ||
/* | ||
** .pp | ||
** A colon-delimited list of character sets for outgoing messages. Mutt will use the | ||
@@ -3649,7 +3654,7 @@ struct option_t MuttVars[] = { | ||
** When \fIset\fP, Mutt will jump to the next unread message, if any, | ||
** when the current thread is \fIun\fPcollapsed. | ||
*/ | ||
- { "use_8bitmime", DT_BOOL, R_NONE, OPTUSE8BITMIME, 0 }, | ||
+ { "use_8bitmime", DT_BOOL, R_NONE, OPTUSE8BITMIME, 1 }, | ||
/* | ||
** .pp | ||
** \fBWarning:\fP do not set this variable unless you are using a version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
--- mbyte.c.orig 2016-10-09 03:35:50.000000000 +0800 | ||
+++ mbyte.c 2016-12-02 11:18:42.600658000 +0800 | ||
@@ -24,6 +24,9 @@ | ||
# include "config.h" | ||
#endif | ||
|
||
+/* | ||
+ * Trad. Chinese (Big5) support by [email protected] | ||
+ */ | ||
#include "mutt.h" | ||
#include "mbyte.h" | ||
#include "charset.h" | ||
@@ -39,6 +42,7 @@ | ||
int Charset_is_utf8 = 0; | ||
#ifndef HAVE_WC_FUNCS | ||
static int charset_is_ja = 0; | ||
+static int charset_is_big5 = 0; | ||
static iconv_t charset_to_utf8 = (iconv_t)(-1); | ||
static iconv_t charset_from_utf8 = (iconv_t)(-1); | ||
#endif | ||
@@ -52,6 +56,7 @@ void mutt_set_charset (char *charset) | ||
Charset_is_utf8 = 0; | ||
#ifndef HAVE_WC_FUNCS | ||
charset_is_ja = 0; | ||
+ charset_is_big5 = 0; | ||
if (charset_to_utf8 != (iconv_t)(-1)) | ||
{ | ||
iconv_close (charset_to_utf8); | ||
@@ -82,6 +87,14 @@ void mutt_set_charset (char *charset) | ||
charset_from_utf8 = mutt_iconv_open (charset, "utf-8", 0); | ||
} | ||
#endif | ||
+#ifndef HAVE_WC_FUNCS | ||
+ else if (!strcmp(buffer, "big5")) | ||
+ { | ||
+ charset_is_big5 = 1; | ||
+ charset_to_utf8 = iconv_open ("UTF-8", charset); | ||
+ charset_from_utf8 = iconv_open (charset, "UTF-8"); | ||
+ } | ||
+#endif | ||
|
||
#if defined(HAVE_BIND_TEXTDOMAIN_CODESET) && defined(ENABLE_NLS) | ||
bind_textdomain_codeset(PACKAGE, buffer); | ||
@@ -256,7 +269,7 @@ size_t mbrtowc (wchar_t *pwc, const char | ||
|
||
int iswprint (wint_t wc) | ||
{ | ||
- if (Charset_is_utf8 || charset_is_ja) | ||
+ if (Charset_is_utf8 || charset_is_ja || charset_is_big5) | ||
return ((0x20 <= wc && wc < 0x7f) || 0xa0 <= wc); | ||
else | ||
return (0 <= wc && wc < 256) ? IsPrint (wc) : 0; | ||
@@ -264,7 +277,7 @@ int iswprint (wint_t wc) | ||
|
||
int iswspace (wint_t wc) | ||
{ | ||
- if (Charset_is_utf8 || charset_is_ja) | ||
+ if (Charset_is_utf8 || charset_is_ja || charset_is_big5) | ||
return (9 <= wc && wc <= 13) || wc == 32; | ||
else | ||
return (0 <= wc && wc < 256) ? isspace (wc) : 0; | ||
@@ -347,7 +360,7 @@ static int iswalpha_ucs (wint_t wc) | ||
|
||
wint_t towupper (wint_t wc) | ||
{ | ||
- if (Charset_is_utf8 || charset_is_ja) | ||
+ if (Charset_is_utf8 || charset_is_ja || charset_is_big5) | ||
return towupper_ucs (wc); | ||
else | ||
return (0 <= wc && wc < 256) ? toupper (wc) : wc; | ||
@@ -355,7 +368,7 @@ wint_t towupper (wint_t wc) | ||
|
||
wint_t towlower (wint_t wc) | ||
{ | ||
- if (Charset_is_utf8 || charset_is_ja) | ||
+ if (Charset_is_utf8 || charset_is_ja || charset_is_big5) | ||
return towlower_ucs (wc); | ||
else | ||
return (0 <= wc && wc < 256) ? tolower (wc) : wc; | ||
@@ -363,7 +376,7 @@ wint_t towlower (wint_t wc) | ||
|
||
int iswalnum (wint_t wc) | ||
{ | ||
- if (Charset_is_utf8 || charset_is_ja) | ||
+ if (Charset_is_utf8 || charset_is_ja || charset_is_big5) | ||
return iswalnum_ucs (wc); | ||
else | ||
return (0 <= wc && wc < 256) ? isalnum (wc) : 0; | ||
@@ -404,13 +417,31 @@ int wcwidth_ja (wchar_t ucs) | ||
return -1; | ||
} | ||
|
||
+int wcwidth_big5(wchar_t ucs) | ||
+{ | ||
+ return wcwidth_ja (ucs); | ||
+} | ||
+ | ||
int wcwidth_ucs(wchar_t ucs); | ||
|
||
int wcwidth (wchar_t wc) | ||
{ | ||
if (!Charset_is_utf8) | ||
{ | ||
- if (!charset_is_ja) | ||
+ if (charset_is_ja) | ||
+ { | ||
+ /* Japanese */ | ||
+ int k = wcwidth_ja (wc); | ||
+ if (k != -1) | ||
+ return k; | ||
+ } | ||
+ else if (charset_is_big5) | ||
+ { | ||
+ int k = wcwidth_big5 (wc); | ||
+ if (k != -1) | ||
+ return k; | ||
+ } | ||
+ else | ||
{ | ||
/* 8-bit case */ | ||
if (!wc) | ||
@@ -420,13 +451,6 @@ int wcwidth (wchar_t wc) | ||
else | ||
return -1; | ||
} | ||
- else | ||
- { | ||
- /* Japanese */ | ||
- int k = wcwidth_ja (wc); | ||
- if (k != -1) | ||
- return k; | ||
- } | ||
} | ||
return wcwidth_ucs (wc); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- mutt.h.orig 2016-12-02 11:18:42.574880000 +0800 | ||
+++ mutt.h 2016-12-02 11:18:42.601038000 +0800 | ||
@@ -342,6 +342,7 @@ enum | ||
OPTATTACHSPLIT, | ||
OPTAUTOEDIT, | ||
OPTAUTOTAG, | ||
+ OPTBBSISLAME, | ||
OPTBEEP, | ||
OPTBEEPNEW, | ||
OPTBOUNCEDELIVERED, |
Oops, something went wrong.