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
4 4
 all: release
5 5
 
6 6
 debug release: src/Makefile
7
-	+(cd src;make $(MAKEFLAGS) $@)
7
+	make -C src $@
8 8
 
9 9
 src/Makefile:
10 10
 	(cd src;$(QMAKE) -r CONFIG+=debug_and_release)
11 11
 
12 12
 clean:
13
-	(cd src;make distclean)
13
+	[ ! -f src/Makefile ] || make -C src distclean
14 14
 	rm -rf build
15 15
 
16 16
 exe:

+ 1
- 0
debian View File

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

+ 5
- 0
packaging/debian/changelog View File

@@ -0,0 +1,5 @@
1
+fridgegrid (1.0) unstable; urgency=medium
2
+
3
+  * Initial Release.
4
+
5
+ -- Sven Oliver Moll <svolli@svolli.de>  Tue, 17 Oct 2017 08:57:37 +0200

+ 1
- 0
packaging/debian/compat View File

@@ -0,0 +1 @@
1
+9

+ 13
- 0
packaging/debian/control View File

@@ -0,0 +1,13 @@
1
+Source: fridgegrid
2
+Section: unknown
3
+Priority: optional
4
+Maintainer: Sven Oliver Moll <svolli@svolli.de>
5
+Build-Depends: debhelper (>= 9), qt5-default
6
+Standards-Version: 3.9.8
7
+Homepage: https://xayax.net/tools/fridegrid/
8
+
9
+Package: fridgegrid
10
+Architecture: any
11
+Depends: ${shlibs:Depends}, ${misc:Depends}
12
+Description: tool for planning cycle exact oldschool effects
13
+ Todo: long description

+ 34
- 0
packaging/debian/copyright View File

@@ -0,0 +1,34 @@
1
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2
+Upstream-Name: fridgegrid
3
+Source: <url://example.com>
4
+
5
+Files: *
6
+Copyright: <years> <put author's name and email here>
7
+           <years> <likewise for another author>
8
+License: GPL-3.0+
9
+
10
+Files: debian/*
11
+Copyright: 2017 Sven Oliver Moll <svolli@svolli.de>
12
+License: GPL-3.0+
13
+
14
+License: GPL-3.0+
15
+ This program is free software: you can redistribute it and/or modify
16
+ it under the terms of the GNU General Public License as published by
17
+ the Free Software Foundation, either version 3 of the License, or
18
+ (at your option) any later version.
19
+ .
20
+ This package is distributed in the hope that it will be useful,
21
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
22
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
+ GNU General Public License for more details.
24
+ .
25
+ You should have received a copy of the GNU General Public License
26
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
27
+ .
28
+ On Debian systems, the complete text of the GNU General
29
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
30
+
31
+# Please also look if there are files or directories which have a
32
+# different copyright/license attached and list them here.
33
+# Please avoid picking licenses with terms that are more restrictive than the
34
+# packaged work, as it may make Debian's contributions unacceptable upstream.

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

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

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

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

BIN
packaging/debian/fridgegrid.png View File


+ 2
- 0
packaging/debian/menu View File

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

+ 25
- 0
packaging/debian/rules View File

@@ -0,0 +1,25 @@
1
+#!/usr/bin/make -f
2
+# See debhelper(7) (uncomment to enable)
3
+# output every command that modifies files on the build system.
4
+#export DH_VERBOSE = 1
5
+
6
+
7
+# see FEATURE AREAS in dpkg-buildflags(1)
8
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9
+
10
+# see ENVIRONMENT in dpkg-buildflags(1)
11
+# package maintainers to append CFLAGS
12
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
13
+# package maintainers to append LDFLAGS
14
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
15
+
16
+
17
+%:
18
+	dh $@
19
+
20
+
21
+# dh_make generated override targets
22
+# This is example for Cmake (See https://bugs.debian.org/641051 )
23
+#override_dh_auto_configure:
24
+#	dh_auto_configure -- #	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
25
+

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

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

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

@@ -14,12 +14,14 @@
14 14
 /* Qt headers */
15 15
 #include <QApplication>
16 16
 #include <QDomDocument>
17
+#include <QDrag>
17 18
 #include <QDragEnterEvent>
18 19
 #include <QDragMoveEvent>
19 20
 #include <QDropEvent>
20 21
 #include <QFileDialog>
21 22
 #include <QFileInfo>
22 23
 #include <QMessageBox>
24
+#include <QMimeData>
23 25
 #include <QPainter>
24 26
 #include <QSettings>
25 27
 #include <QTextStream>

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

@@ -12,7 +12,15 @@
12 12
 /* system headers */
13 13
 
14 14
 /* Qt headers */
15
-#include <QtGui>
15
+#include <QAction>
16
+#include <QApplication>
17
+#include <QCommonStyle>
18
+#include <QDockWidget>
19
+#include <QSettings>
20
+#include <QSplitter>
21
+#include <QTextEdit>
22
+#include <QTimer>
23
+#include <QToolBar>
16 24
 
17 25
 /* local library headers */
18 26
 

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

@@ -1,7 +1,7 @@
1 1
 
2 2
 PROJECT = fridgegrid
3 3
 TEMPLATE = app
4
-QT += xml
4
+QT += xml widgets
5 5
 
6 6
 include ( ../buildconfig.pri )
7 7
 

Loading…
Cancel
Save