Browse Source

- migrated to qt5

- added debian package build configuration
tags/1.3
Sven Oliver Moll 1 year ago
parent
commit
968942097a

+ 2
- 2
Makefile View File

@@ -4,13 +4,13 @@ QMAKE ?= qmake
all: release

debug release: src/Makefile
+(cd src;make $(MAKEFLAGS) $@)
make -C src $@

src/Makefile:
(cd src;$(QMAKE) -r CONFIG+=debug_and_release)

clean:
(cd src;make distclean)
[ ! -f src/Makefile ] || make -C src distclean
rm -rf build

exe:

+ 1
- 0
debian View File

@@ -0,0 +1 @@
packaging/debian

+ 5
- 0
packaging/debian/changelog View File

@@ -0,0 +1,5 @@
fridgegrid (1.0) unstable; urgency=medium

* Initial Release.

-- Sven Oliver Moll <svolli@svolli.de> Tue, 17 Oct 2017 08:57:37 +0200

+ 1
- 0
packaging/debian/compat View File

@@ -0,0 +1 @@
9

+ 13
- 0
packaging/debian/control View File

@@ -0,0 +1,13 @@
Source: fridgegrid
Section: unknown
Priority: optional
Maintainer: Sven Oliver Moll <svolli@svolli.de>
Build-Depends: debhelper (>= 9), qt5-default
Standards-Version: 3.9.8
Homepage: https://xayax.net/tools/fridegrid/

Package: fridgegrid
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: tool for planning cycle exact oldschool effects
Todo: long description

+ 34
- 0
packaging/debian/copyright View File

@@ -0,0 +1,34 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: fridgegrid
Source: <url://example.com>

Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: GPL-3.0+

Files: debian/*
Copyright: 2017 Sven Oliver Moll <svolli@svolli.de>
License: GPL-3.0+

License: GPL-3.0+
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 package 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 <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid picking licenses with terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.

+ 10
- 0
packaging/debian/fridgegrid.desktop View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=FridgeGrid
Comment=A tool for the planing cycle exact code on retro systems
GenericName=Harmony Programming Tool
Exec=fridgegrid
Icon=/usr/share/icons/fridgegrid.png
Terminal=false
Type=Application
Categories=Utility;

+ 3
- 0
packaging/debian/fridgegrid.install View File

@@ -0,0 +1,3 @@
build/release/bin/fridgegrid usr/bin
debian/fridgegrid.png usr/share/icons
debian/fridgegrid.desktop usr/share/applications

BIN
packaging/debian/fridgegrid.png View File


+ 2
- 0
packaging/debian/menu View File

@@ -0,0 +1,2 @@
?package(fridgegrid):needs="X11|vc|wm" section="Applications"\
title="fridgegrid" command="/usr/bin/fridgegrid"

+ 25
- 0
packaging/debian/rules View File

@@ -0,0 +1,25 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1


# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed


%:
dh $@


# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)


+ 1
- 0
packaging/debian/source/format View File

@@ -0,0 +1 @@
3.0 (native)

+ 2
- 0
src/fridgegrid/DragWidget.cpp View File

@@ -14,12 +14,14 @@
/* Qt headers */
#include <QApplication>
#include <QDomDocument>
#include <QDrag>
#include <QDragEnterEvent>
#include <QDragMoveEvent>
#include <QDropEvent>
#include <QFileDialog>
#include <QFileInfo>
#include <QMessageBox>
#include <QMimeData>
#include <QPainter>
#include <QSettings>
#include <QTextStream>

+ 9
- 1
src/fridgegrid/MainWindow.cpp View File

@@ -12,7 +12,15 @@
/* system headers */

/* Qt headers */
#include <QtGui>
#include <QAction>
#include <QApplication>
#include <QCommonStyle>
#include <QDockWidget>
#include <QSettings>
#include <QSplitter>
#include <QTextEdit>
#include <QTimer>
#include <QToolBar>

/* local library headers */


+ 1
- 1
src/fridgegrid/fridgegrid.pro View File

@@ -1,7 +1,7 @@

PROJECT = fridgegrid
TEMPLATE = app
QT += xml
QT += xml widgets

include ( ../buildconfig.pri )


Loading…
Cancel
Save