[topmenu-qt] 01/01: initial packaging draft

Mike Gabriel sunweaver at debian.org
Mon Feb 22 06:22:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository topmenu-qt.

commit 86653daadc68f28a1e12997c1bd435eff6c7197e
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Feb 22 07:20:22 2016 +0100

    initial packaging draft
---
 debian/changelog                            |  5 ++
 debian/compat                               |  1 +
 debian/control                              | 41 +++++++++++++
 debian/copyright                            | 91 +++++++++++++++++++++++++++++
 debian/copyright.in                         | 24 ++++++++
 debian/patches/2001_fix-include-patch.patch | 18 ++++++
 debian/patches/2002_qt5.patch               | 52 +++++++++++++++++
 debian/patches/series                       |  2 +
 debian/rules                                |  6 ++
 debian/source/format                        |  1 +
 debian/watch                                |  3 +
 11 files changed, 244 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e3dae3c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+topmenu-qt (0.2.1-1) UNRELEASED; urgency=medium
+ 
+  * Initial release. (Closes: #815532).
+ 
+ -- Mike Gabriel <sunweaver at debian.org>  Mon, 22 Feb 2016 04:42:17 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7fde9f8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: topmenu-qt
+Section: utils
+Priority: extra
+Maintainer: Debian MATE Packaging Team <pkg-mate-team at lists.alioth.debian.org>
+Uploaders: Mike Gabriel <sunweaver at debian.org>,
+           Alin Andrei <webupd8 at gmail.com>,
+Build-Depends: cdbs,
+               debhelper (>= 9),
+               qt5-default,
+               libqt5x11extras5-dev,
+               libgtk2.0-dev,
+               libtopmenu-client-gtk2-dev,
+Standards-Version: 3.9.6
+Homepage: https://git.javispedro.com/cgit/topmenu-qt.git/about/
+Vcs-Browser: https://anonscm.debian.org/git/pkg-mate/topmenu-qt.git¬
+Vcs-Git: https://anonscm.debian.org/git/pkg-mate/topmenu-qt.git¬
+
+Package: topmenu-qt5
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+Description: Topmenu Qt (Qt4 module)
+ Topmenu provides a global menu bar (MacOS style). TopMenu uses
+ XEmbed for exporting menu bars.
+ .
+ This package provides the Topmenu Qt5 implementation.
+
+Package: topmenu-qt5-dbg
+Section: debug
+Architecture: any
+Depends: topmenu-qt5 (= ${binary:Version}),
+         ${misc:Depends},
+Description: Topmenu Qt (Qt5 module, debug symbols)
+ Topmenu provides a global menu bar (MacOS style). TopMenu uses
+ XEmbed for exporting menu bars.
+ .
+ This package contains debugging symbols for topmenu-qt5 module. It is
+ provided to help debugging problems.
+ .
+ The debugging symbols are installed in /usr/lib/debug and will
+ automatically be used by gdb.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..18edba5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,91 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libtopmenu-qt
+Upstream-Contact: Javier S. Pedro <maemo at javispedro.com>
+Source: https://git.javispedro.com/cgit/topmenu-qt.git
+
+Files: module/appmenu.cc
+ module/appmenu.h
+ module/menuproxy.cc
+ module/menuproxy.h
+ module/qtkeysyms.h
+ module/topmenumenubarimpl.cc
+ module/topmenumenubarimpl.h
+ module/topmenumenubarimplfactory.cc
+ module/topmenumenubarimplfactory.h
+Copyright: 2014, Javier S. Pedro <maemo at javispedro.com>
+License: LGPL-3+
+
+Files: module/qtkeysyms.cc
+Copyright: 1992-2006, TROLLTECH ASA.
+License: GPL-3 or LGPL-2.1
+
+Files: module/module.pro
+Copyright: 2014, Javier S. Pedro <maemo at javispedro.com>
+License: LGPL-3+
+Comment:
+ Assuming copyright holder and license as found in most
+ other code file headers.
+
+Files: README
+ libtopmenu-qt.pro
+Copyright: 2014, Javier S. Pedro <maemo at javispedro.com>
+License: LGPL-3+
+Comment:
+ Assuming copyright holder and license as found in most
+ other code file headers.
+
+Files: debian/*
+Copyright: 2016, Mike Gabriel <sunweaver at debian.org>
+License: LGPL-2.1 or GPL-3 or LGPL-3+
+
+License: GPL-3
+ This package 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; exactly version 3 of the License.
+ .
+ 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 Genaral Public License for more details.
+ .
+ You should have received a copy og the GNU General Public License
+ along with this program. If not, see <http://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".
+
+License: LGPL-2.1
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; exactly
+ version 2.1 of the License.
+ .
+ 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
+ Library General Public License for more details.
+ .
+ You should have received a copy of the GNU Library 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
+ .
+ On Debian systems, the complete text of the GNU Library General
+ Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".
+
+License: LGPL-3+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 3 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
+ Library General Public License for more details.
+ .
+ You should have received a copy of the GNU Library 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
+ .
+ On Debian systems, the complete text of the GNU Library General
+ Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3".
diff --git a/debian/copyright.in b/debian/copyright.in
new file mode 100644
index 0000000..2fa77d0
--- /dev/null
+++ b/debian/copyright.in
@@ -0,0 +1,24 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: module/appmenu.cc
+ module/appmenu.h
+ module/menuproxy.cc
+ module/menuproxy.h
+ module/qtkeysyms.h
+ module/topmenumenubarimpl.cc
+ module/topmenumenubarimpl.h
+ module/topmenumenubarimplfactory.cc
+ module/topmenumenubarimplfactory.h
+Copyright: 2014, Javier S. Pedro <maemo at javispedro.com>
+License: LGPL-3+
+ FIXME
+
+Files: module/qtkeysyms.cc
+Copyright: 1992-2006, TROLLTECH ASA.
+License: UNKNOWN
+ FIXME
+
diff --git a/debian/patches/2001_fix-include-patch.patch b/debian/patches/2001_fix-include-patch.patch
new file mode 100644
index 0000000..e093b26
--- /dev/null
+++ b/debian/patches/2001_fix-include-patch.patch
@@ -0,0 +1,18 @@
+Description: Fix include path on Debian
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+
+--- a/module/topmenumenubarimpl.cc
++++ b/module/topmenumenubarimpl.cc
+@@ -18,9 +18,9 @@
+  */
+ 
+ #include <gtk/gtk.h>
+-#include <topmenu-client.h>
+-#include <topmenu-monitor.h>
+-#include <topmenu-appmenubar.h>
++#include <topmenu-gtk2/topmenu-client.h>
++#include <topmenu-gtk2/topmenu-monitor.h>
++#include <topmenu-gtk2/topmenu-appmenubar.h>
+ #include <QtCore/QDebug>
+ #include <QtGui/QActionEvent>
+ #include <QtGui/QMenu>
diff --git a/debian/patches/2002_qt5.patch b/debian/patches/2002_qt5.patch
new file mode 100644
index 0000000..0f895f3
--- /dev/null
+++ b/debian/patches/2002_qt5.patch
@@ -0,0 +1,52 @@
+Description: Make this project build against Qt5 rather than deprecated Qt4
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+
+--- a/module/topmenumenubarimpl.cc
++++ b/module/topmenumenubarimpl.cc
+@@ -23,9 +23,9 @@
+ #include <topmenu-gtk2/topmenu-appmenubar.h>
+ #include <QtCore/QDebug>
+ #include <QtGui/QActionEvent>
+-#include <QtGui/QMenu>
+-#include <QtGui/QMenuBar>
+-#include <QtGui/QX11Info>
++#include <QtWidgets/QMenu>
++#include <QtWidgets/QMenuBar>
++#include <QtX11Extras/QX11Info>
+ 
+ #include "topmenumenubarimpl.h"
+ #include "appmenu.h"
+--- a/module/topmenumenubarimpl.h
++++ b/module/topmenumenubarimpl.h
+@@ -24,11 +24,11 @@
+ #include <QtCore/QDateTime>
+ #include <QtCore/QHash>
+ #include <QtCore/QTimer>
+-#include <QtGui/QAction>
+-#include <QtGui/QShortcut>
+-#include <QtGui/QX11Info>
+-#include <QtGui/private/qabstractplatformmenubar_p.h>
+-#include <QtGui/private/qt_x11_p.h>
++#include <QtWidgets/QAction>
++#include <QtWidgets/QShortcut>
++#include <QtX11Extras/QX11Info>
++//#include <QtGui/private/qabstractplatformmenubar_p.h>
++//#include <QtGui/private/qt_x11_p.h>
+ 
+ #include "menuproxy.h"
+ 
+--- a/module/menuproxy.h
++++ b/module/menuproxy.h
+@@ -20,9 +20,9 @@
+ #ifndef MENUPROXY_H
+ #define MENUPROXY_H
+ 
+-#include <QtGui/QAction>
+-#include <QtGui/QMenu>
+-#include <QtGui/QShortcut>
++#include <QtWidgets/QAction>
++#include <QtWidgets/QMenu>
++#include <QtWidgets/QShortcut>
+ 
+ typedef struct _GtkMenu               GtkMenu;
+ typedef struct _GtkMenuShell          GtkMenuShell;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c3f5581
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+2001_fix-include-patch.patch
+2002_qt5.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..af3bfb6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/qmake.mk
+
+get-orig-source:
+	uscan --noconf --force-download --rename --download-current-version --destdir=..
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2dd36e9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+https://git.javispedro.com/cgit/topmenu-qt.git/ \
+    snapshot/release_(\d\.\d\.\d)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/topmenu-qt.git



More information about the pkg-mate-commits mailing list