Import upstream 0.9.0.

parents
moc_*.cxx
qrc_*.cxx
cmake_install.cmake
cmake_uninstall.cmake
Makefile
CMakeFiles
CMakeCache.txt
CPackConfig.cmake
CPackSourceConfig.cmake
lib*.so
lib*.so.*
ui_*.h
*.qm
lxqt-appswitcher/lxqt-appswitcher
lxqt-desktop/lxqt-desktop
lxqt-panel/panel/lxqt-panel
*~
*.autosave
*-swp
CMakeLists.txt.user*
/build
nbproject/
[main]
host = https://www.transifex.com
[lxde-qt.lxqt-about_desktop]
source_file = resources/lxqt-about.desktop.in
source_lang = en
file_filter = translations/lxqt-about_<lang>.desktop
type = DESKTOP
#!/bin/sh
tx pull --all --force
#!/bin/sh
LUPDATE_OPTIONS="-noobsolete"
LUPDATE_OPTIONS="${LUPDATE_OPTIONS} -locations none "
TS_FILE="../translations/source.ts"
LUPDATE=$(which lupdate-qt4 2>/dev/null)
[ -z "${LUPDATE}" ] && LUPDATE=$(which lupdate 2>/dev/null)
if [ -z "${LUPDATE}" ]; then
echo "The lupdate program not found."
exit 1;
fi
${LUPDATE} ${LUPDATE_OPTIONS} .. -ts ${TS_FILE}
grep '<message>' ${TS_FILE} || rm ${TS_FILE}
#!/bin/sh
./updateSrc.sh && tx push --source
Upstream authors:
LXQt team: http://lxqt.org
Razor team: http://razor-qt.org
Copyright:
Copyright (c) 2010-2012 Razor team
Copyright (c) 2012-2014 LXQt team
Petr Vanek <petr@scribus.info>
License: GPL-2 and LGPL-2.1+
The full text of the licenses can be found in the 'COPYING' file.
cmake_minimum_required(VERSION 2.8.11)
project(lxqt-about)
set(CPP_FILES
main.cpp
)
find_package(Qt5Widgets REQUIRED QUIET)
find_package(Qt5DBus REQUIRED QUIET)
find_package(Qt5X11Extras REQUIRED QUIET)
find_package(lxqt REQUIRED QUIET)
include(${LXQT_USE_FILE})
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${LXQT_INCLUDE_DIR}
)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
set(APP_SHARE_DIR share/lxqt/${PROJECT_NAME})
# Translations **********************************
include(LXQtTranslateDesktop)
lxqt_translate_desktop(DESKTOP_FILES
SOURCES
resources/lxqt-about.desktop.in
)
#************************************************
add_executable(${PROJECT_NAME}
${CPP_FILES}
${QM_FILES}
${DESKTOP_FILES}
)
target_link_libraries(${PROJECT_NAME}
Qt5::Widgets
Qt5::DBus
Qt5::X11Extras
${LXQT_LIBRARIES}
)
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin)
install(FILES ${CONFIG_FILES} DESTINATION ${APP_SHARE_DIR})
install(FILES ${DESKTOP_FILES} DESTINATION share/applications)
# building tarball with CPack -------------------------------------------------
include(InstallRequiredSystemLibraries)
set(CPACK_PACKAGE_VERSION_MAJOR ${LXQT_MAJOR_VERSION})
set(CPACK_PACKAGE_VERSION_MINOR ${LXQT_MINOR_VERSION})
set(CPACK_PACKAGE_VERSION_PATCH ${LXQT_PATCH_VERSION})
set(CPACK_GENERATOR TBZ2)
set(CPACK_SOURCE_GENERATOR TBZ2)
set(CPACK_SOURCE_IGNORE_FILES /build/;.gitignore;.*~;.git;.kdev4;temp)
include(CPack)
This diff is collapsed.
/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXDE-Qt - a lightweight, Qt based, desktop toolset
* http://razor-qt.org
*
* Copyright: 2010-2011 Razor team
* Authors:
* Petr Vanek <petr@scribus.info>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* END_COMMON_COPYRIGHT_HEADER */
#include <LXQt/Application>
#include <LXQt/AboutDialog>
#include <LXQt/GridLayout>
int main(int argc, char *argv[])
{
LxQt::Application app(argc, argv);
LxQt::AboutDialog dlg;
return app.exec();
}
[Desktop Entry]
Type=Application
Name=About LXQt
GenericName=About LXQt
Comment=Learn more about LXQt
Exec=lxqt-about
Icon=help-about
Categories=Help;LXQt
OnlyShowIn=LXQt;LXDE;
#TRANSLATIONS_DIR=translations
# Translations
GenericName[fr]=À propos de LXQt
Name[fr]=À propos de LXQt
# Translations
GenericName[ja]=LXQtについて
Name[ja]=LXQtについて
# Translations
Name[pt]=Sobre o LxQt
GenericName[pt]=Sobre o LxQt
Comment[pt]=Saber mais sobre o LxQt
# Translations
GenericName[ru]=Узнать больше о LXQt
Name[ru]=О LXQt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment