Compare commits
3 Commits
wip/appx-g
...
wip/ci-tes
Author | SHA1 | Date | |
---|---|---|---|
915901975b | |||
867d831e9a | |||
a96b5cc8f6 |
2
.github/workflows/ubuntu-build.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y meson libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk2.0-dev libluajit-5.1-dev libpci-dev libperl-dev libssl-dev python3-dev python3-cffi mono-devel desktop-file-utils
|
sudo apt-get install -y meson libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk2.0-dev libluajit-5.1-dev libpci-dev libperl-dev libproxy-dev libssl-dev python3-dev python3-cffi mono-devel desktop-file-utils
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: meson build -Dtext=true -Dtheme-manager=true -Dauto_features=enabled
|
run: meson build -Dtext=true -Dtheme-manager=true -Dauto_features=enabled
|
||||||
|
59
.github/workflows/windows-build.yml
vendored
@ -2,8 +2,41 @@ name: Windows Build
|
|||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
build-gtk:
|
||||||
|
runs-on: windows-2019
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
platform: [x64, win32]
|
||||||
|
arch: [x64, x86]
|
||||||
|
exclude:
|
||||||
|
- platform: x64
|
||||||
|
arch: x86
|
||||||
|
- platform: win32
|
||||||
|
arch: x64
|
||||||
|
fail-fast: false
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: wingtk/gvsbuild
|
||||||
|
ref: 9b10978a8c5aa539f4280feeaa69bc5cc8bf9fbf
|
||||||
|
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: C:\gtk-build
|
||||||
|
key: 9b10978a8c5aa539f4280feeaa69bc5cc8bf9fbf
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
C:/hostedtoolcache/windows/Python/3.6.8/${{ matrix.arch }}/python.exe .\build.py build --python-dir="C:/hostedtoolcache/windows/Python/3.6.8/${{ matrix.arch }}" -p ${{ matrix.arch }} --vs-ver=16 gtk lgi openssl
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Build Files ${{ matrix.arch }}
|
||||||
|
path: C:\gtk-build\gtk\${{ matrix.platform }}\release
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
|
needs: build-gtk
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform: [x64, win32]
|
platform: [x64, win32]
|
||||||
@ -28,7 +61,7 @@ jobs:
|
|||||||
Invoke-WebRequest https://dl.hexchat.net/misc/idpsetup-1.5.1.exe -OutFile deps\idpsetup.exe
|
Invoke-WebRequest https://dl.hexchat.net/misc/idpsetup-1.5.1.exe -OutFile deps\idpsetup.exe
|
||||||
& deps\idpsetup.exe /VERYSILENT
|
& deps\idpsetup.exe /VERYSILENT
|
||||||
|
|
||||||
Invoke-WebRequest https://dl.hexchat.net/gtk/gtk-${{ matrix.platform }}-2018-08-29-openssl1.1.7z -OutFile deps\gtk-${{ matrix.arch }}.7z
|
Invoke-WebRequest https://dl.hexchat.net/gtk/gtk-${{ matrix.platform }}-2018-08-29.7z -OutFile deps\gtk-${{ matrix.arch }}.7z
|
||||||
& 7z.exe x deps\gtk-${{ matrix.arch }}.7z -oC:\gtk-build\gtk
|
& 7z.exe x deps\gtk-${{ matrix.arch }}.7z -oC:\gtk-build\gtk
|
||||||
|
|
||||||
Invoke-WebRequest https://dl.hexchat.net/gtk-win32/gendef-20111031.7z -OutFile deps\gendef.7z
|
Invoke-WebRequest https://dl.hexchat.net/gtk-win32/gendef-20111031.7z -OutFile deps\gendef.7z
|
||||||
@ -55,28 +88,9 @@ jobs:
|
|||||||
msbuild win32\hexchat.sln /m /verbosity:minimal /p:Configuration=Release /p:Platform=${{ matrix.platform }}
|
msbuild win32\hexchat.sln /m /verbosity:minimal /p:Configuration=Release /p:Platform=${{ matrix.platform }}
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
||||||
- name: Creating Appx
|
|
||||||
run: |
|
|
||||||
cp -r ..\hexchat-build\${{ matrix.platform }}\rel ..\hexchat-appx
|
|
||||||
.\win32\version-template.ps1 win32\AppxManifest.xml.in $(Join-Path $(Resolve-Path ..\hexchat-appx) AppxManifest.xml)
|
|
||||||
cd ..\hexchat-appx
|
|
||||||
rm plugins\hcperl.dll
|
|
||||||
rm plugins\hcpython2.dll
|
|
||||||
rm plugins\hcpython3.dll
|
|
||||||
rm plugins\hcupd.dll
|
|
||||||
rm -r python
|
|
||||||
rm *.pyd
|
|
||||||
rm WinSparkle.dll
|
|
||||||
rm portable-mode
|
|
||||||
rm hexchat-text.exe
|
|
||||||
rm thememan.exe
|
|
||||||
makeappx pack /d . /p hexchat-${{ matrix.arch }}.appx
|
|
||||||
shell: powershell
|
|
||||||
|
|
||||||
- name: Preparing Artifacts
|
- name: Preparing Artifacts
|
||||||
run: |
|
run: |
|
||||||
move ..\hexchat-build\${{ matrix.platform }}\HexChat*.exe .\
|
move ..\hexchat-build\${{ matrix.platform }}\HexChat*.exe .\
|
||||||
move ..\hexchat-appx\hexchat-${{ matrix.arch }}.appx .\
|
|
||||||
move ..\hexchat-build .\
|
move ..\hexchat-build .\
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
||||||
@ -89,8 +103,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: Build Files ${{ matrix.arch }}
|
name: Build Files ${{ matrix.arch }}
|
||||||
path: hexchat-build
|
path: hexchat-build
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: Appx Files ${{ matrix.arch }}
|
|
||||||
path: hexchat-${{ matrix.arch }}.appx
|
|
||||||
|
@ -26,22 +26,6 @@
|
|||||||
<id>hexchat.desktop</id>
|
<id>hexchat.desktop</id>
|
||||||
</provides>
|
</provides>
|
||||||
<releases>
|
<releases>
|
||||||
<release date="2021-10-01" version="2.16.0">
|
|
||||||
<description>
|
|
||||||
<p>This is a feature release:</p>
|
|
||||||
<ul>
|
|
||||||
<li>Add support for IRCv3 SETNAME, invite-notify, account-tag, standard replies, and UTF8ONLY</li>
|
|
||||||
<li>Add support for strikethrough formatting</li>
|
|
||||||
<li>Fix text clipping issues by respecting font line height</li>
|
|
||||||
<li>Fix URLs not being escaped when opened</li>
|
|
||||||
<li>Fix possible hang when showing notifications</li>
|
|
||||||
<li>Print ChanServ notices in the front tab by default</li>
|
|
||||||
<li>Update network list</li>
|
|
||||||
<li>python: Rewrite plugin improving memory usage and compatibility</li>
|
|
||||||
<li>fishlim: Add support for CBC and other improvements</li>
|
|
||||||
</ul>
|
|
||||||
</description>
|
|
||||||
</release>
|
|
||||||
<release date="2019-12-20" version="2.14.3">
|
<release date="2019-12-20" version="2.14.3">
|
||||||
<description>
|
<description>
|
||||||
<p>This is a bug-fix release:</p>
|
<p>This is a bug-fix release:</p>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
project('hexchat', 'c',
|
project('hexchat', 'c',
|
||||||
version: '2.16.0',
|
version: '2.14.3',
|
||||||
meson_version: '>= 0.47.0',
|
meson_version: '>= 0.47.0',
|
||||||
default_options: [
|
default_options: [
|
||||||
'c_std=gnu89',
|
'c_std=gnu89',
|
||||||
@ -22,7 +22,7 @@ dbus_glib_dep = dependency('dbus-glib-1', required: get_option('dbus'))
|
|||||||
|
|
||||||
global_deps = []
|
global_deps = []
|
||||||
if cc.get_id() == 'msvc'
|
if cc.get_id() == 'msvc'
|
||||||
libssl_dep = cc.find_library('libssl')
|
libssl_dep = cc.find_library('libeay32')
|
||||||
else
|
else
|
||||||
libssl_dep = dependency('openssl', version: '>= 0.9.8',
|
libssl_dep = dependency('openssl', version: '>= 0.9.8',
|
||||||
required: get_option('tls'))
|
required: get_option('tls'))
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;FISHLIM_EXPORTS;HAVE_DH_SET0_PQG;HAVE_DH_GET0_KEY;HAVE_DH_SET0_KEY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;FISHLIM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);..\..\src\common;$(HexChatLib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);..\..\src\common;$(HexChatLib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;FISHLIM_EXPORTS;HAVE_DH_SET0_PQG;HAVE_DH_GET0_KEY;HAVE_DH_SET0_KEY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;FISHLIM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);..\..\src\common;$(HexChatLib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);..\..\src\common;$(HexChatLib);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
|
@ -146,7 +146,7 @@ class Plugin:
|
|||||||
def loadfile(self, filename):
|
def loadfile(self, filename):
|
||||||
try:
|
try:
|
||||||
self.filename = filename
|
self.filename = filename
|
||||||
with open(filename, encoding='utf-8') as f:
|
with open(filename) as f:
|
||||||
data = f.read()
|
data = f.read()
|
||||||
compiled = compile_file(data, filename)
|
compiled = compile_file(data, filename)
|
||||||
exec(compiled, self.globals)
|
exec(compiled, self.globals)
|
||||||
|
@ -503,7 +503,7 @@ typedef struct server
|
|||||||
char servername[128]; /* what the server says is its name */
|
char servername[128]; /* what the server says is its name */
|
||||||
char password[86];
|
char password[86];
|
||||||
char nick[NICKLEN];
|
char nick[NICKLEN];
|
||||||
char linebuf[8704]; /* RFC says 512 chars including \r\n, IRCv3 message tags add 8191, plus the NUL byte */
|
char linebuf[2048]; /* RFC says 512 chars including \r\n */
|
||||||
char *last_away_reason;
|
char *last_away_reason;
|
||||||
int pos; /* current position in linebuf */
|
int pos; /* current position in linebuf */
|
||||||
int nickcount;
|
int nickcount;
|
||||||
|
@ -67,8 +67,8 @@ send_channel_modes (session *sess, char *tbuf, char *word[], int wpos,
|
|||||||
int usable_modes, orig_len, len, wlen, i, max;
|
int usable_modes, orig_len, len, wlen, i, max;
|
||||||
server *serv = sess->server;
|
server *serv = sess->server;
|
||||||
|
|
||||||
/* sanity check. IRC RFC says three per line but some servers may support less. */
|
/* sanity check. IRC RFC says three per line. */
|
||||||
if (serv->modes_per_line < 1)
|
if (serv->modes_per_line < 3)
|
||||||
serv->modes_per_line = 3;
|
serv->modes_per_line = 3;
|
||||||
if (modes_per_line < 1)
|
if (modes_per_line < 1)
|
||||||
modes_per_line = serv->modes_per_line;
|
modes_per_line = serv->modes_per_line;
|
||||||
@ -880,7 +880,7 @@ inbound_005 (server * serv, char *word[], const message_tags_data *tags_data)
|
|||||||
g_free (serv->nick_prefixes);
|
g_free (serv->nick_prefixes);
|
||||||
g_free (serv->nick_modes);
|
g_free (serv->nick_modes);
|
||||||
serv->nick_prefixes = g_strdup (pre + 1);
|
serv->nick_prefixes = g_strdup (pre + 1);
|
||||||
serv->nick_modes = g_strdup (tokvalue + 1);
|
serv->nick_modes = g_strdup (tokvalue);
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
/* bad! some ircds don't give us the modes. */
|
/* bad! some ircds don't give us the modes. */
|
||||||
|
@ -503,6 +503,22 @@ process_numeric (session * sess, int n,
|
|||||||
|
|
||||||
goto def;
|
goto def;
|
||||||
|
|
||||||
|
case 4: /* check the ircd type */
|
||||||
|
serv->use_listargs = FALSE;
|
||||||
|
serv->modes_per_line = 3; /* default to IRC RFC */
|
||||||
|
if (strncmp (word[5], "bahamut", 7) == 0) /* DALNet */
|
||||||
|
{
|
||||||
|
serv->use_listargs = TRUE; /* use the /list args */
|
||||||
|
} else if (strncmp (word[5], "u2.10.", 6) == 0) /* Undernet */
|
||||||
|
{
|
||||||
|
serv->use_listargs = TRUE; /* use the /list args */
|
||||||
|
serv->modes_per_line = 6; /* allow 6 modes per line */
|
||||||
|
} else if (strncmp (word[5], "glx2", 4) == 0)
|
||||||
|
{
|
||||||
|
serv->use_listargs = TRUE; /* use the /list args */
|
||||||
|
}
|
||||||
|
goto def;
|
||||||
|
|
||||||
case 5:
|
case 5:
|
||||||
inbound_005 (serv, word, tags_data);
|
inbound_005 (serv, word, tags_data);
|
||||||
goto def;
|
goto def;
|
||||||
|
@ -362,7 +362,7 @@ server_read (GIOChannel *source, GIOCondition condition, server *serv)
|
|||||||
serv->linebuf[serv->pos] = lbuf[i];
|
serv->linebuf[serv->pos] = lbuf[i];
|
||||||
if (serv->pos >= (sizeof (serv->linebuf) - 1))
|
if (serv->pos >= (sizeof (serv->linebuf) - 1))
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"*** HEXCHAT WARNING: Buffer overflow - non-compliant server!\n");
|
"*** HEXCHAT WARNING: Buffer overflow - shit server!\n");
|
||||||
else
|
else
|
||||||
serv->pos++;
|
serv->pos++;
|
||||||
}
|
}
|
||||||
@ -772,7 +772,7 @@ server_connect_success (server *serv)
|
|||||||
|
|
||||||
/* it'll be a memory leak, if connection isn't terminated by
|
/* it'll be a memory leak, if connection isn't terminated by
|
||||||
server_cleanup() */
|
server_cleanup() */
|
||||||
if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify)))
|
if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify, NULL)))
|
||||||
{
|
{
|
||||||
EMIT_SIGNAL (XP_TE_CONNFAIL, serv->server_session, err, NULL,
|
EMIT_SIGNAL (XP_TE_CONNFAIL, serv->server_session, err, NULL,
|
||||||
NULL, NULL, 0);
|
NULL, NULL, 0);
|
||||||
@ -1770,7 +1770,6 @@ server_set_defaults (server *serv)
|
|||||||
serv->chanmodes = g_strdup ("beI,k,l");
|
serv->chanmodes = g_strdup ("beI,k,l");
|
||||||
serv->nick_prefixes = g_strdup ("@%+");
|
serv->nick_prefixes = g_strdup ("@%+");
|
||||||
serv->nick_modes = g_strdup ("ohv");
|
serv->nick_modes = g_strdup ("ohv");
|
||||||
serv->modes_per_line = 3; /* https://datatracker.ietf.org/doc/html/rfc1459#section-4.2.3.1 */
|
|
||||||
serv->sasl_mech = MECH_PLAIN;
|
serv->sasl_mech = MECH_PLAIN;
|
||||||
|
|
||||||
if (!serv->encoding)
|
if (!serv->encoding)
|
||||||
@ -1779,7 +1778,6 @@ server_set_defaults (server *serv)
|
|||||||
serv->nickcount = 1;
|
serv->nickcount = 1;
|
||||||
serv->end_of_motd = FALSE;
|
serv->end_of_motd = FALSE;
|
||||||
serv->sent_capend = FALSE;
|
serv->sent_capend = FALSE;
|
||||||
serv->use_listargs = FALSE;
|
|
||||||
serv->is_away = FALSE;
|
serv->is_away = FALSE;
|
||||||
serv->supports_watch = FALSE;
|
serv->supports_watch = FALSE;
|
||||||
serv->supports_monitor = FALSE;
|
serv->supports_monitor = FALSE;
|
||||||
|
@ -321,22 +321,23 @@ _SSL_socket (SSL_CTX *ctx, int sd)
|
|||||||
|
|
||||||
|
|
||||||
char *
|
char *
|
||||||
_SSL_set_verify (SSL_CTX *ctx, void *verify_callback)
|
_SSL_set_verify (SSL_CTX *ctx, void *verify_callback, char *cacert)
|
||||||
{
|
{
|
||||||
#ifdef DEFAULT_CERT_FILE
|
|
||||||
if (!SSL_CTX_load_verify_locations (ctx, DEFAULT_CERT_FILE, NULL))
|
|
||||||
{
|
|
||||||
__SSL_fill_err_buf ("SSL_CTX_load_verify_locations");
|
|
||||||
return (err_buf);
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
if (!SSL_CTX_set_default_verify_paths (ctx))
|
if (!SSL_CTX_set_default_verify_paths (ctx))
|
||||||
{
|
{
|
||||||
__SSL_fill_err_buf ("SSL_CTX_set_default_verify_paths");
|
__SSL_fill_err_buf ("SSL_CTX_set_default_verify_paths");
|
||||||
return (err_buf);
|
return (err_buf);
|
||||||
}
|
}
|
||||||
#endif
|
/*
|
||||||
|
if (cacert)
|
||||||
|
{
|
||||||
|
if (!SSL_CTX_load_verify_locations (ctx, cacert, NULL))
|
||||||
|
{
|
||||||
|
__SSL_fill_err_buf ("SSL_CTX_load_verify_locations");
|
||||||
|
return (err_buf);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
SSL_CTX_set_verify (ctx, SSL_VERIFY_PEER, verify_callback);
|
SSL_CTX_set_verify (ctx, SSL_VERIFY_PEER, verify_callback);
|
||||||
|
|
||||||
return (NULL);
|
return (NULL);
|
||||||
|
@ -45,7 +45,7 @@ SSL_CTX *_SSL_context_init (void (*info_cb_func));
|
|||||||
#define _SSL_context_free(a) SSL_CTX_free(a);
|
#define _SSL_context_free(a) SSL_CTX_free(a);
|
||||||
|
|
||||||
SSL *_SSL_socket (SSL_CTX *ctx, int sd);
|
SSL *_SSL_socket (SSL_CTX *ctx, int sd);
|
||||||
char *_SSL_set_verify (SSL_CTX *ctx, void *(verify_callback));
|
char *_SSL_set_verify (SSL_CTX *ctx, void *(verify_callback), char *cacert);
|
||||||
/*
|
/*
|
||||||
int SSL_connect(SSL *);
|
int SSL_connect(SSL *);
|
||||||
int SSL_accept(SSL *);
|
int SSL_accept(SSL *);
|
||||||
|
@ -55,7 +55,7 @@ notification_backend_show (const char *title, const char *text)
|
|||||||
g_variant_builder_init (¶ms, G_VARIANT_TYPE ("(susssasa{sv}i)"));
|
g_variant_builder_init (¶ms, G_VARIANT_TYPE ("(susssasa{sv}i)"));
|
||||||
g_variant_builder_add (¶ms, "s", "hexchat"); /* App name */
|
g_variant_builder_add (¶ms, "s", "hexchat"); /* App name */
|
||||||
g_variant_builder_add (¶ms, "u", 0); /* ID, 0 means don't replace */
|
g_variant_builder_add (¶ms, "u", 0); /* ID, 0 means don't replace */
|
||||||
g_variant_builder_add (¶ms, "s", "io.github.Hexchat"); /* App icon */
|
g_variant_builder_add (¶ms, "s", ""); /* App icon (set from hints instead) */
|
||||||
g_variant_builder_add (¶ms, "s", title);
|
g_variant_builder_add (¶ms, "s", title);
|
||||||
g_variant_builder_add (¶ms, "s", text);
|
g_variant_builder_add (¶ms, "s", text);
|
||||||
g_variant_builder_add (¶ms, "as", NULL); /* Actions */
|
g_variant_builder_add (¶ms, "as", NULL); /* Actions */
|
||||||
|
@ -1,52 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
|
||||||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
|
||||||
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
|
|
||||||
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
|
|
||||||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap uap3 uap10 rescap">
|
|
||||||
<Identity Name="39215TingPing.HexChat" Publisher="CN=0330FC06-4EE0-4AAB-8FB9-F9B6C1FA037F" Version="<#= [string]::Join('.', $versionParts) #>.0" ProcessorArchitecture="x86" />
|
|
||||||
<Properties>
|
|
||||||
<DisplayName>HexChat</DisplayName>
|
|
||||||
<PublisherDisplayName>TingPing</PublisherDisplayName>
|
|
||||||
<Description>Chat Client</Description>
|
|
||||||
<Logo>Assets\StoreLogo.png</Logo>
|
|
||||||
<uap10:PackageIntegrity>
|
|
||||||
<uap10:Content Enforcement="on" />
|
|
||||||
</uap10:PackageIntegrity>
|
|
||||||
</Properties>
|
|
||||||
<Resources>
|
|
||||||
<Resource Language="en-us" />
|
|
||||||
<Resource uap:Scale="100" />
|
|
||||||
<Resource uap:Scale="125" />
|
|
||||||
<Resource uap:Scale="150" />
|
|
||||||
<Resource uap:Scale="200" />
|
|
||||||
<Resource uap:Scale="400" />
|
|
||||||
</Resources>
|
|
||||||
<Dependencies>
|
|
||||||
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.1" />
|
|
||||||
<PackageDependency Name="Microsoft.VCLibs.140.00.UWPDesktop" MinVersion="14.0.24217.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
|
|
||||||
</Dependencies>
|
|
||||||
<Capabilities>
|
|
||||||
<rescap:Capability Name="runFullTrust" />
|
|
||||||
</Capabilities>
|
|
||||||
<Applications>
|
|
||||||
<Application Id="HexChat" Executable="hexchat.exe" EntryPoint="Windows.FullTrustApplication">
|
|
||||||
<uap:VisualElements DisplayName="HexChat" Description="HexChat" BackgroundColor="transparent" Square150x150Logo="Assets\AppMedTile.png" Square44x44Logo="Assets\AppList.png">
|
|
||||||
</uap:VisualElements>
|
|
||||||
<Extensions>
|
|
||||||
<uap3:Extension Category="windows.protocol">
|
|
||||||
<uap3:Protocol Name="irc" Parameters="--url="%1"">
|
|
||||||
<uap:DisplayName>IRC</uap:DisplayName>
|
|
||||||
<uap:Logo>Assets\irc.png</uap:Logo>
|
|
||||||
</uap3:Protocol>
|
|
||||||
</uap3:Extension>
|
|
||||||
<uap3:Extension Category="windows.protocol">
|
|
||||||
<uap3:Protocol Name="ircs" Parameters="--url="%1"">
|
|
||||||
<uap:DisplayName>IRCS</uap:DisplayName>
|
|
||||||
<uap:Logo>Assets\irc.png</uap:Logo>
|
|
||||||
</uap3:Protocol>
|
|
||||||
</uap3:Extension>
|
|
||||||
</Extensions>
|
|
||||||
</Application>
|
|
||||||
</Applications>
|
|
||||||
</Package>
|
|
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 906 B |
Before Width: | Height: | Size: 906 B |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 2.3 KiB |
@ -40,8 +40,7 @@
|
|||||||
<None Include="$(DepsRoot)\bin\gthread-2.0-0.dll" />
|
<None Include="$(DepsRoot)\bin\gthread-2.0-0.dll" />
|
||||||
<None Include="$(DepsRoot)\bin\gtk-win32-2.0.dll" />
|
<None Include="$(DepsRoot)\bin\gtk-win32-2.0.dll" />
|
||||||
<None Include="$(DepsRoot)\bin\iconv.dll" />
|
<None Include="$(DepsRoot)\bin\iconv.dll" />
|
||||||
<None Include="$(DepsRoot)\bin\libcrypto*.dll" />
|
<None Include="$(DepsRoot)\bin\libeay32.dll" />
|
||||||
<None Include="$(DepsRoot)\bin\libssl*.dll" />
|
|
||||||
<None Include="$(DepsRoot)\bin\libenchant.dll" />
|
<None Include="$(DepsRoot)\bin\libenchant.dll" />
|
||||||
<None Include="$(DepsRoot)\bin\ffi-7.dll" />
|
<None Include="$(DepsRoot)\bin\ffi-7.dll" />
|
||||||
<None Include="$(DepsRoot)\bin\intl.dll" />
|
<None Include="$(DepsRoot)\bin\intl.dll" />
|
||||||
@ -51,12 +50,12 @@
|
|||||||
<None Include="$(DepsRoot)\bin\pangocairo-1.0-0.dll" />
|
<None Include="$(DepsRoot)\bin\pangocairo-1.0-0.dll" />
|
||||||
<None Include="$(DepsRoot)\bin\pangoft2-1.0-0.dll" />
|
<None Include="$(DepsRoot)\bin\pangoft2-1.0-0.dll" />
|
||||||
<None Include="$(DepsRoot)\bin\pangowin32-1.0-0.dll" />
|
<None Include="$(DepsRoot)\bin\pangowin32-1.0-0.dll" />
|
||||||
|
<None Include="$(DepsRoot)\bin\ssleay32.dll" />
|
||||||
<None Include="$(DepsRoot)\bin\zlib1.dll" />
|
<None Include="$(DepsRoot)\bin\zlib1.dll" />
|
||||||
<None Include="$(WinSparklePath)\WinSparkle.dll" />
|
<None Include="$(WinSparklePath)\WinSparkle.dll" />
|
||||||
<None Include="$(HexChatBin)thememan.exe" />
|
<None Include="$(HexChatBin)thememan.exe" />
|
||||||
<None Include="changelog.url" />
|
<None Include="changelog.url" />
|
||||||
<None Include="readme.url" />
|
<None Include="readme.url" />
|
||||||
<None Include="..\Assets\*" />
|
|
||||||
|
|
||||||
<None Include="$(DepsRoot)\bin\lua51.dll" />
|
<None Include="$(DepsRoot)\bin\lua51.dll" />
|
||||||
<None Include="$(DepsRoot)\bin\girepository-1.0-1.dll" />
|
<None Include="$(DepsRoot)\bin\girepository-1.0-1.dll" />
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<!-- G_DISABLE_DEPRECATED is unfeasible due to g_completion_* -->
|
<!-- G_DISABLE_DEPRECATED is unfeasible due to g_completion_* -->
|
||||||
<!-- must be buildable with GSEAL_ENABLE in the future, xtext, setup, and chanview-tabs stand in the way -->
|
<!-- must be buildable with GSEAL_ENABLE in the future, xtext, setup, and chanview-tabs stand in the way -->
|
||||||
<OwnFlags>GTK_DISABLE_DEPRECATED;GDK_PIXBUF_DISABLE_DEPRECATED;G_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES;HAVE_X509_GET_SIGNATURE_NID;HAVE_SSL_CTX_GET_SSL_METHOD;DEFAULT_CERT_FILE="cert.pem";HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline</OwnFlags>
|
<OwnFlags>GTK_DISABLE_DEPRECATED;GDK_PIXBUF_DISABLE_DEPRECATED;G_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES;HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline</OwnFlags>
|
||||||
<!-- FIXME: Add ability to use debug builds -->
|
<!-- FIXME: Add ability to use debug builds -->
|
||||||
<DepsRoot>$(YourDepsPath)\$(PlatformName)\release</DepsRoot>
|
<DepsRoot>$(YourDepsPath)\$(PlatformName)\release</DepsRoot>
|
||||||
<GendefPath>$(YourGendefPath)</GendefPath>
|
<GendefPath>$(YourGendefPath)</GendefPath>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
<LuaLib>lua51</LuaLib>
|
<LuaLib>lua51</LuaLib>
|
||||||
<Glib>$(DepsRoot)\include\glib-2.0;$(DepsRoot)\lib\glib-2.0\include;$(DepsRoot)\include\libxml2</Glib>
|
<Glib>$(DepsRoot)\include\glib-2.0;$(DepsRoot)\lib\glib-2.0\include;$(DepsRoot)\include\libxml2</Glib>
|
||||||
<Gtk>$(DepsRoot)\include\gtk-2.0;$(DepsRoot)\lib\gtk-2.0\include;$(DepsRoot)\include\atk-1.0;$(DepsRoot)\include\cairo;$(DepsRoot)\include\pango-1.0;$(DepsRoot)\include\gdk-pixbuf-2.0</Gtk>
|
<Gtk>$(DepsRoot)\include\gtk-2.0;$(DepsRoot)\lib\gtk-2.0\include;$(DepsRoot)\include\atk-1.0;$(DepsRoot)\include\cairo;$(DepsRoot)\include\pango-1.0;$(DepsRoot)\include\gdk-pixbuf-2.0</Gtk>
|
||||||
<DepLibs>gtk-win32-2.0.lib;gdk-win32-2.0.lib;atk-1.0.lib;gio-2.0.lib;gdk_pixbuf-2.0.lib;pangowin32-1.0.lib;pangocairo-1.0.lib;pango-1.0.lib;cairo.lib;gobject-2.0.lib;gmodule-2.0.lib;glib-2.0.lib;intl.lib;libxml2.lib;libcrypto.lib;libssl.lib;ssleay32.lib;wininet.lib;winmm.lib;ws2_32.lib</DepLibs>
|
<DepLibs>gtk-win32-2.0.lib;gdk-win32-2.0.lib;atk-1.0.lib;gio-2.0.lib;gdk_pixbuf-2.0.lib;pangowin32-1.0.lib;pangocairo-1.0.lib;pango-1.0.lib;cairo.lib;gobject-2.0.lib;gmodule-2.0.lib;glib-2.0.lib;intl.lib;libxml2.lib;libeay32.lib;ssleay32.lib;wininet.lib;winmm.lib;ws2_32.lib</DepLibs>
|
||||||
<DataDir>$(SolutionDir)..\data\\</DataDir>
|
<DataDir>$(SolutionDir)..\data\\</DataDir>
|
||||||
<HexChatBuild>$(SolutionDir)..\..\hexchat-build</HexChatBuild>
|
<HexChatBuild>$(SolutionDir)..\..\hexchat-build</HexChatBuild>
|
||||||
<HexChatBin>$(HexChatBuild)\$(PlatformName)\bin\</HexChatBin>
|
<HexChatBin>$(HexChatBuild)\$(PlatformName)\bin\</HexChatBin>
|
||||||
|
@ -138,13 +138,7 @@ Source: "gspawn-win32-helper-console.exe"; DestDir: "{app}"; Flags: ignoreversio
|
|||||||
Source: "gthread-2.0-0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "gthread-2.0-0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "gtk-win32-2.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "gtk-win32-2.0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "iconv.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "iconv.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
#if APPARCH == "x64"
|
Source: "libeay32.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "libcrypto-1_1-x64.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
|
||||||
Source: "libssl-1_1-x64.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
|
||||||
#else
|
|
||||||
Source: "libcrypto-1_1.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
|
||||||
Source: "libssl-1_1.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
|
||||||
#endif
|
|
||||||
Source: "libenchant.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "libenchant.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "ffi-7.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "ffi-7.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "intl.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "intl.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
@ -154,6 +148,7 @@ Source: "pango-1.0-0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: l
|
|||||||
Source: "pangocairo-1.0-0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "pangocairo-1.0-0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "pangoft2-1.0-0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "pangoft2-1.0-0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "pangowin32-1.0-0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "pangowin32-1.0-0.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
|
Source: "ssleay32.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
Source: "zlib1.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
Source: "zlib1.dll"; DestDir: "{app}"; Flags: ignoreversion; Components: libs
|
||||||
|
|
||||||
Source: "plugins\hcnotifications-winrt.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: libs
|
Source: "plugins\hcnotifications-winrt.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion; Components: libs
|
||||||
|