Rebranding and add copyright headers

This commit is contained in:
Carl Schwan
2020-11-02 10:10:54 +01:00
parent 5993c1f683
commit 7851cfe5cd
18 changed files with 68 additions and 22 deletions

View File

@@ -1,11 +1,14 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
project(NeoChat VERSION 0.0.90)
set(IDENTIFIER "org.eu.encom.spectral")
set(COPYRIGHT "Copyright © 2018-2019 bhat@encom.eu.org")
set(REQUIRED_KF5_VERSION "5.57.0")
find_package(ECM ${REQUIRED_KF5_VERSION} REQUIRED NO_MODULE)
project(spectral VERSION 0.0.0 LANGUAGES CXX)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${ECM_MODULE_PATH})
set(IDENTIFIER "org.kde.neochat")
set(COPYRIGHT "Copyright © 2018-2019 bhat@encom.eu.org, 2020 KDE Community")
if(UNIX AND NOT APPLE)
set(LINUX 1)
@@ -86,14 +89,16 @@ if (NOT USE_INTREE_LIBQMC)
endif ()
endif ()
find_package(KF5Kirigami2 REQUIRED)
find_package(KF5 ${REQUIRED_KF5_VERSION} REQUIRED
Kirigami2
ItemModels
I18n
)
find_package(Qt5Keychain REQUIRED)
find_package(cmark REQUIRED)
find_package(KF5ItemModels REQUIRED)
message( STATUS )
message( STATUS "=============================================================================" )
message( STATUS " Spectral Build Information" )
@@ -245,7 +250,7 @@ if(LINUX)
install(FILES linux/${IDENTIFIER}.appdata.xml
DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo
)
file(GLOB spectral_icons icons/hicolor/*-apps-org.eu.encom.spectral.png)
file(GLOB spectral_icons icons/hicolor/*-apps-org.kde.neochat.png)
ecm_install_icons(ICONS ${spectral_icons}
DESTINATION ${CMAKE_INSTALL_DATADIR}/icons
)

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -1,3 +1,8 @@
/**
* SPDX-FileCopyrightText: Black Hat <bhat@encom.eu.org>
*
* SPDX-LicenseIdentifier: GPL-3.0-only
*/
#include "accountlistmodel.h"
#include "room.h"

View File

@@ -1,3 +1,8 @@
/**
* SPDX-FileCopyrightText: Black Hat <bhat@encom.eu.org>
*
* SPDX-LicenseIdentifier: GPL-3.0-only
*/
#ifndef ACCOUNTLISTMODEL_H
#define ACCOUNTLISTMODEL_H

View File

@@ -1,3 +1,8 @@
/**
* SPDX-FileCopyrightText: Black Hat <bhat@encom.eu.org>
*
* SPDX-LicenseIdentifier: GPL-3.0-only
*/
#include "controller.h"
#include <qt5keychain/keychain.h>

View File

@@ -1,3 +1,8 @@
/**
* SPDX-FileCopyrightText: Black Hat <bhat@encom.eu.org>
*
* SPDX-LicenseIdentifier: GPL-3.0-only
*/
#ifndef CONTROLLER_H
#define CONTROLLER_H

View File

@@ -1,18 +1,7 @@
/*
* nheko Copyright (C) 2017 Konstantinos Sideris <siderisk@auth.gr>
/**
* SPDX-FileCopyrightText: 2017 Konstantinos Sideris <siderisk@auth.gr>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* SPDX-LicenseIdentifier: GPL-3.0-or-later
*/
#include <QByteArray>

View File

@@ -1,3 +1,8 @@
/**
* SPDX-FileCopyrightText: Black Hat <bhat@encom.eu.org>
*
* SPDX-LicenseIdentifier: GPL-3.0-only
*/
#ifndef EMOJIMODEL_H
#define EMOJIMODEL_H

View File

@@ -1,3 +1,8 @@
/**
* SPDX-FileCopyrightText: Black Hat <bhat@encom.eu.org>
*
* SPDX-LicenseIdentifier: GPL-3.0-only
*/
#include "imageclipboard.h"
#include <QDir>

View File

@@ -1,3 +1,8 @@
/**
* SPDX-FileCopyrightText: Black Hat <bhat@encom.eu.org>
*
* SPDX-LicenseIdentifier: GPL-3.0-only
*/
#ifndef IMAGECLIPBOARD_H
#define IMAGECLIPBOARD_H

View File

@@ -1,3 +1,8 @@
/**
* SPDX-FileCopyrightText: Black Hat <bhat@encom.eu.org>
*
* SPDX-LicenseIdentifier: GPL-3.0-only
*/
#include <QFontDatabase>
#include <QGuiApplication>
#include <QNetworkProxy>

View File

@@ -1,3 +1,9 @@
/**
* SPDX-FileCopyrightText: Black Hat <bhat@encom.eu.org>
* SPDX-FileCopyrightText: 2019 Kitsune Ral <kitsune-ral@users.sf.net>
*
* SPDX-LicenseIdentifier: GPL-3.0-only
*/
#include "matriximageprovider.h"
#include <QDir>

View File

@@ -1,3 +1,9 @@
/**
* SPDX-FileCopyrightText: Black Hat <bhat@encom.eu.org>
* SPDX-FileCopyrightText: 2019 Kitsune Ral <kitsune-ral@users.sf.net>
*
* SPDX-LicenseIdentifier: GPL-3.0-only
*/
#ifndef MatrixImageProvider_H
#define MatrixImageProvider_H
#pragma once