diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README.source | 18 | ||||
-rw-r--r-- | debian/changelog | 221 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 32 | ||||
-rw-r--r-- | debian/copyright | 61 | ||||
-rw-r--r-- | debian/manpages | 1 | ||||
-rw-r--r-- | debian/patches/0100-fix-ftbfs_vala_0_42.patch | 66 | ||||
-rw-r--r-- | debian/patches/0105-spelling_errors.patch | 590 | ||||
-rw-r--r-- | debian/patches/0500_bamf3-vapi.patch | 203 | ||||
-rw-r--r-- | debian/patches/0700-ayatana-appindicator.patch | 77 | ||||
-rw-r--r-- | debian/patches/series | 4 | ||||
-rwxr-xr-x | debian/rules | 11 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
14 files changed, 1289 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..e4f2b3d --- /dev/null +++ b/debian/README.source @@ -0,0 +1,18 @@ +Hello, + +now I use the branching model from Vincent Driessen[1]. + +I use the gitflow-avh[2]. with the Documentation[3]. +The Debian package can be found here[4]. + +Please upload unattended uploads use a branch feature/<your title>. + + +Many thanks. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 02 Jun 2017 19:00:40 +0200 + +[1] http://nvie.com/posts/a-successful-git-branching-model/ +[2] https://github.com/petervanderdoes/gitflow-avh +[3] https://github.com/petervanderdoes/gitflow-avh/wiki +[4] https://tracker.debian.org/pkg/git-flow diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ffa8524 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,221 @@ +gnome-pie (0.7.1-2) unstable; urgency=high + + * New debian/patches/0100-fix-ftbfs_vala_0_42.patch to fix FTBFS + with vala 0.42 (Closes: #907943). + * Switch to Ayatana AppIndicator (Closes: #907551): + - New debian/patches/0700-ayatana-appindicator.patch. + - debian/control: + + Switch build depends from libappindicator3-dev to + libayatana-appindicator3-dev. + Thanks to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>. + * Change to my new email address. + * Migrate to debhelper 11: + - Change debian/compat to 11. + - debian/control: + + Bump minimum debhelper version to >= 11. + * Declare compliance with Debian Policy 4.2.1 (No changes needed). + * New debian/patches/0105-spelling_errors.patch to fix spelling errors. + * debian/control: + - Change Vcs-* to point to the new repository. + - Remove trailing whitespace. + * debian/copyright: + - Use secure URI for copyright format. + - Refresh years for debian/*. + + -- Jörg Frings-Fürst <debian@jff.email> Fri, 07 Sep 2018 08:52:14 +0200 + +gnome-pie (0.7.1-1) unstable; urgency=medium + + * New upstream release. + * New README.source to explain the branching model used. + * Declare compliance with Debian Policy 4.0.0. (No changes needed). + * Refresh debian/copyright. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Tue, 25 Jul 2017 06:55:33 +0200 + +gnome-pie (0.7.0-1) unstable; urgency=medium + + * New upstream release. + * Bump compat to 10: + - Change debian/compat to 10. + - Change debhelper version at debian/control to >= 10. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 02 Oct 2016 16:34:20 +0200 + +gnome-pie (0.6.9-1) unstable; urgency=medium + + * New upstream release: + - Remove now useless libbamf3-dev from Build Depends. + - Remove useless debian/patches/0500_bamf3-vapi.patch. + * debian/rules: + - Enable hardening. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 26 Aug 2016 17:29:11 +0200 + +gnome-pie (0.6.8-2) unstable; urgency=medium + + * debian/control: + - Remove useless libunique-3.0-dev from Build-Depends (Closes: #824576). + - Bump Standards-Version to 3.9.8 (no changes required). + - Change Vcs-Browser to secure URI. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 06 Jun 2016 00:36:57 +0200 + +gnome-pie (0.6.8-1) unstable; urgency=medium + + * New upstream release. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 19 Dec 2015 14:51:25 +0100 + +gnome-pie (0.6.6-1) unstable; urgency=medium + + * New upstream release. + * debian/control: + - Add libarchive-dev to Build-Depends. + - Change requested version of vala to >= 0.24. + * debian/rules: + - Add override_dh_auto_build to compile po files at build time. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 27 Sep 2015 15:07:47 +0200 + +gnome-pie (0.6.4-1) unstable; urgency=low + + * New upstream release. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 02 Aug 2015 09:30:21 +0200 + +gnome-pie (0.6.2-1) unstable; urgency=medium + + * New upstream release. + * New debian/patches/0500_bamf3-vapi.patch: + - Add missing vapi/libbamf3.vapi to prevent build error. + * debain/copyright: + - Remove unused Files paragraphs. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 11 May 2015 18:49:32 +0200 + +gnome-pie (0.6.1-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - Add requested libappindicator3-dev to Build-Depends. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 19 Apr 2015 10:28:44 +0200 + +gnome-pie (0.5.7-1) unstable; urgency=low + + * New upstream release. + * debian/patches: + - Remove 001-gee-0.8.patch, applied upstream. + - Remove 002-desktop_file.patch, applied upstream. + * Reformat debian/copyright to prevent lintian warnings. + * debian/control: + - Add Build-Depends libicu-dev for missing unicode/ucnv.h. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 01 Feb 2015 11:50:33 +0100 + +gnome-pie (0.5.6-1) unstable; urgency=medium + + * New upstream release. + * debian/control: + - Bump Standards-Version to 3.9.6 (no changes required). + - Change Vcs-Browser to cgit. + * Add year 2015 to debian/copyright. + * New debian/patches/02-desktop_file.patch: + - Add missing keyword entry. + * Remove useless debian/source/options. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sat, 17 Jan 2015 14:05:06 +0100 + +gnome-pie (0.5.5-1) unstable; urgency=medium + + * New Maintainer (Closes: #755431). + * New upstream release (Closes: #687078). + * Add debian/source/options: + - Set compression to xz & compression-level to 9 to save space. + * debian/control: + - Set myself as maintainer. + - Update Build-Depends: + + replace deprecated libgee-dev with libgee-0.8-dev. + + valac <= 0.16 will be removed. Therefore change + valac release to >= 0.22. + * New patch: + - New debian/patches/001-gee-0.8.patch for new geeAPI 0.8 (Closes: #753863). + * debian/copyright: + - Add myself to the list of authors for debian/*. + + -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 30 Jul 2014 07:25:36 +0200 + +gnome-pie (0.5.4-2) unstable; urgency=medium + + * QA upload + * Bump Standards-Version to 3.9.5 (no changes needed) + * Orphan the package + * Update watch file to point to correct GitHub page + * Fix vcs-field-not-canonical + + -- Alessandro Ghedini <ghedo@debian.org> Sun, 20 Jul 2014 19:52:46 +0200 + +gnome-pie (0.5.4-1) unstable; urgency=low + + * New upstream release + * Bump Standards-Version to 3.9.4 (no changes needed) + * Build depend on unversioned valac (Closes: #675644) + + -- Alessandro Ghedini <ghedo@debian.org> Wed, 07 Nov 2012 18:46:56 +0100 + +gnome-pie (0.5.3-1) unstable; urgency=low + + * New upstream release + * Email change: Alessandro Ghedini -> ghedo@debian.org + * Explicitly build depends on valac-0.14 (Closes: #673591) + + -- Alessandro Ghedini <ghedo@debian.org> Sun, 20 May 2012 20:34:54 +0200 + +gnome-pie (0.5.2-1) unstable; urgency=low + + * New upstream release + - Do not override dh_auto_install anymore + (pt_BR locale has the correct name now) + * Update debian/copyright format as in Debian Policy 3.9.3 + * Bump Standards-Version to 3.9.3 + * Bump debhelper compat level to 9 + * Switch to GTK+ 3.0 + + -- Alessandro Ghedini <al3xbio@gmail.com> Mon, 19 Mar 2012 18:41:54 +0100 + +gnome-pie (0.4.2-1) unstable; urgency=low + + * New upstream release + * Update upstream copyright years + + -- Alessandro Ghedini <al3xbio@gmail.com> Fri, 27 Jan 2012 21:44:10 +0100 + +gnome-pie (0.4.0-1) unstable; urgency=low + + * New upstream release + * Explicitly set the build system + * One Build-Depends per line + + -- Alessandro Ghedini <al3xbio@gmail.com> Sun, 22 Jan 2012 14:11:45 +0100 + +gnome-pie (0.3.1-1) unstable; urgency=low + + [ Andrea Veri ] + * debian/control: + - added B-Ds on libwnck-dev, libgnome-menu-dev and + libbamf-dev, they are required in order to build + gnome-pie-0.3 successfully. + + [ Alessandro Ghedini ] + * New upstream release + * Use tarballs provided by upstream instead of git + * Drop manpage (merged upstream) + + -- Alessandro Ghedini <al3xbio@gmail.com> Sun, 20 Nov 2011 15:54:48 +0100 + +gnome-pie (0.2+gitdfdad95-1) unstable; urgency=low + + * Initial release (Closes: #645878) + + -- Alessandro Ghedini <al3xbio@gmail.com> Wed, 19 Oct 2011 13:38:07 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..db9684f --- /dev/null +++ b/debian/control @@ -0,0 +1,32 @@ +Source: gnome-pie +Section: gnome +Priority: optional +Maintainer: Jörg Frings-Fürst <debian@jff.email> +Build-Depends: + debhelper (>= 11), + cmake, + libayatana-appindicator3-dev, + libarchive-dev, + libcairo2-dev, + libgee-0.8-dev (>= 0.10), + libgnome-menu-3-dev, + libgtk-3-dev, + libicu-dev, + libwnck-3-dev, + libxml2-dev, + libxtst-dev, + valac (>= 0.24) +Standards-Version: 4.2.1 +Homepage: https://gnome-pie.simonschneegans.de/ +Vcs-Git: git://jff.email/opt/git/gnome-pie.git +Vcs-Browser: https://jff.email/cgit/gnome-pie.git + +Package: gnome-pie +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: visual application launcher for GNOME + gnome-pie is a radial visual application launcher for GNOME. It allows the + user to bind groups of frequently used applications to a ring that appears + when a hot key / mouse binding is triggered. + . + It was inspired by the OPie addon written for the game World of Warcraft. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5304208 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,61 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gnome-pie +Source: https://github.com/Simmesimme/Gnome-Pie + +Files: * +Copyright: 2011-2017 Simon Schneegans +License: GPL-3.0+ + +Files: cmake/vala/FindVala.cmake + cmake/vala/ValaPrecompile.cmake + cmake/vala/ValaVersion.cmake +Copyright: 2009-2010 Jakob Westhoff +License: BSD-2-Clause + +Files: debian/* +Copyright: 2011 Alessandro Ghedini <ghedo@debian.org> + 2014-2018 Jörg Frings-Fürst <debian@jff.email> +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 <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: BSD-2-Clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY JAKOB WESTHOFF ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + EVENT SHALL JAKOB WESTHOFF OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + . + The views and conclusions contained in the software and documentation are those + of the authors and should not be interpreted as representing official policies, + either expressed or implied, of Jakob Westhoff diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..78998a6 --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +resources/gnome-pie.1 diff --git a/debian/patches/0100-fix-ftbfs_vala_0_42.patch b/debian/patches/0100-fix-ftbfs_vala_0_42.patch new file mode 100644 index 0000000..f60fbed --- /dev/null +++ b/debian/patches/0100-fix-ftbfs_vala_0_42.patch @@ -0,0 +1,66 @@ +Description: Fix FTBFS with vala 0.42 +Origin: upstream, https://github.com/Simmesimme/Gnome-Pie/commit/86412ee09b7f8bc11f163bc8b6c3a061be279c43 +Bug: https://github.com/Simmesimme/Gnome-Pie/issues/164 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907943 +Forwarded: not-needed +Last-Update: 2018-09-07 +-- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/src/utilities/archiveReader.vala +=================================================================== +--- trunk.orig/src/utilities/archiveReader.vala ++++ trunk/src/utilities/archiveReader.vala +@@ -84,9 +84,13 @@ public class ArchiveReader : GLib.Object + if (entry.size() > 0) { + while (true) { + size_t offset, size; +- void *buff; ++ uint8[] buff; + ++#if VALA_0_42 ++ r = this.archive.read_data_block(out buff, out offset); ++#else + r = this.archive.read_data_block(out buff, out size, out offset); ++#endif + if (r == Archive.Result.EOF) { + break; + } +@@ -96,7 +100,11 @@ public class ArchiveReader : GLib.Object + return false; + } + ++#if VALA_0_42 ++ this.writer.write_data_block(buff, offset); ++#else + this.writer.write_data_block(buff, size, offset); ++#endif + } + } + +Index: trunk/src/utilities/archiveWriter.vala +=================================================================== +--- trunk.orig/src/utilities/archiveWriter.vala ++++ trunk/src/utilities/archiveWriter.vala +@@ -112,13 +112,17 @@ public class ArchiveWriter : GLib.Object + if (this.archive.write_header(entry) == Archive.Result.OK) { + try { + var reader = File.new_for_path(path).read(); +- uint8 buffer[4096]; ++ uint8[] buffer = new uint8[4096]; + +- var len = reader.read(buffer); ++ buffer.length = (int) reader.read(buffer); + +- while(len > 0) { +- this.archive.write_data(buffer, len); +- len = reader.read(buffer); ++ while(buffer.length > 0) { ++#if VALA_0_42 ++ this.archive.write_data(buffer); ++#else ++ this.archive.write_data(buffer, buffer.length); ++#endif ++ buffer.length = (int) reader.read(buffer); + } + + this.archive.finish_entry(); diff --git a/debian/patches/0105-spelling_errors.patch b/debian/patches/0105-spelling_errors.patch new file mode 100644 index 0000000..3fefbb5 --- /dev/null +++ b/debian/patches/0105-spelling_errors.patch @@ -0,0 +1,590 @@ +Description: Fix spelling errors +Author: Jörg Frings-Fürst <debian@jff.email> +Forwarded: https://github.com/Simmesimme/Gnome-Pie/issues/165 +Last-Update: 2018-09-07 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/resources/locale/bg/LC_MESSAGES/bg.po +=================================================================== +--- trunk.orig/resources/locale/bg/LC_MESSAGES/bg.po ++++ trunk/resources/locale/bg/LC_MESSAGES/bg.po +@@ -377,28 +377,28 @@ msgid "" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:401 +-msgid "Sucessfully imported new theme!" ++msgid "Successfully imported new theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:415 +-msgid "An error occured while importing the theme: Failed to extract theme!" ++msgid "An error occurred while importing the theme: Failed to extract theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:419 + msgid "" +-"An error occured while importing the theme: A theme with this name does " ++"An error occurred while importing the theme: A theme with this name does " + "already exist!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:423 + msgid "" +-"An error occured while importing the theme: Theme archive does not contain a " ++"An error occurred while importing the theme: Theme archive does not contain a " + "valid theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:427 + msgid "" +-"An error occured while importing the theme: Failed to open theme archive!" ++"An error occurred while importing the theme: Failed to open theme archive!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:451 +@@ -584,7 +584,7 @@ msgstr "" + + #: ../../src/themes/theme.vala:176 + msgid "" +-"An error occured while exporting the theme \"%s\"! Please check the console " ++"An error occurred while exporting the theme \"%s\"! Please check the console " + "output." + msgstr "" + +Index: trunk/resources/locale/de/LC_MESSAGES/de.po +=================================================================== +--- trunk.orig/resources/locale/de/LC_MESSAGES/de.po ++++ trunk/resources/locale/de/LC_MESSAGES/de.po +@@ -416,18 +416,18 @@ msgstr "" + "oder in dein Dock ziehen, um einen Starter zu erstellen!" + + #: ../../src/gui/preferencesWindow.vala:401 +-msgid "Sucessfully imported new theme!" ++msgid "Successfully imported new theme!" + msgstr "Das neue Design wurde erfolgreich imprtiert!" + + #: ../../src/gui/preferencesWindow.vala:415 +-msgid "An error occured while importing the theme: Failed to extract theme!" ++msgid "An error occurred while importing the theme: Failed to extract theme!" + msgstr "" + "Beim Importieren ist ein Fehler aufgetreten: Das Design konnte nicht " + "entpackt werden!" + + #: ../../src/gui/preferencesWindow.vala:419 + msgid "" +-"An error occured while importing the theme: A theme with this name does " ++"An error occurred while importing the theme: A theme with this name does " + "already exist!" + msgstr "" + "Beim Importieren ist ein Fehler aufgetreten: Es existiert bereits ein Design " +@@ -435,7 +435,7 @@ msgstr "" + + #: ../../src/gui/preferencesWindow.vala:423 + msgid "" +-"An error occured while importing the theme: Theme archive does not contain a " ++"An error occurred while importing the theme: Theme archive does not contain a " + "valid theme!" + msgstr "" + "Beim Importieren ist ein Fehler aufgetreten: Das gwählte Archiv enthält kein " +@@ -443,7 +443,7 @@ msgstr "" + + #: ../../src/gui/preferencesWindow.vala:427 + msgid "" +-"An error occured while importing the theme: Failed to open theme archive!" ++"An error occurred while importing the theme: Failed to open theme archive!" + msgstr "" + "Beim Importieren ist ein Fehler aufgetreten: Das Archive konnte nicht " + "gelesen werden!" +@@ -629,7 +629,7 @@ msgstr "Das Design \"%s\" wurde erfolgre + + #: ../../src/themes/theme.vala:176 + msgid "" +-"An error occured while exporting the theme \"%s\"! Please check the console " ++"An error occurred while exporting the theme \"%s\"! Please check the console " + "output." + msgstr "" + "Beim Exportieren des Designs \"%s\" ist ein Fehler aufgetreten! Weitere " +Index: trunk/resources/locale/es/LC_MESSAGES/es.po +=================================================================== +--- trunk.orig/resources/locale/es/LC_MESSAGES/es.po ++++ trunk/resources/locale/es/LC_MESSAGES/es.po +@@ -410,23 +410,23 @@ msgstr "" + "Pastel." + + #: ../../src/gui/preferencesWindow.vala:401 +-msgid "Sucessfully imported new theme!" ++msgid "Successfully imported new theme!" + msgstr "El nuevo tema fue correctamente importado!" + + #: ../../src/gui/preferencesWindow.vala:415 +-msgid "An error occured while importing the theme: Failed to extract theme!" ++msgid "An error occurred while importing the theme: Failed to extract theme!" + msgstr "Ocurrió un error al importar el tema: Falló la extracción del tema!" + + #: ../../src/gui/preferencesWindow.vala:419 + msgid "" +-"An error occured while importing the theme: A theme with this name does " ++"An error occurred while importing the theme: A theme with this name does " + "already exist!" + msgstr "" + "Ocurrió un error al importar el tema: Ya existe un tema con ese nombre!" + + #: ../../src/gui/preferencesWindow.vala:423 + msgid "" +-"An error occured while importing the theme: Theme archive does not contain a " ++"An error occurred while importing the theme: Theme archive does not contain a " + "valid theme!" + msgstr "" + "Ocurrió un error al importar el tema: El archivo no contiene un tema " +@@ -434,7 +434,7 @@ msgstr "" + + #: ../../src/gui/preferencesWindow.vala:427 + msgid "" +-"An error occured while importing the theme: Failed to open theme archive!" ++"An error occurred while importing the theme: Failed to open theme archive!" + msgstr "" + "Ocurrió un error al importar el tema: El archivo del tema no pudo ser " + "abierto!" +@@ -622,7 +622,7 @@ msgstr "El tema %s fue exportado correct + + #: ../../src/themes/theme.vala:176 + msgid "" +-"An error occured while exporting the theme \"%s\"! Please check the console " ++"An error occurred while exporting the theme \"%s\"! Please check the console " + "output." + msgstr "" + "Ocurrió un error al exportar el tema %s! Por favor verifique la consola." +Index: trunk/resources/locale/fr/LC_MESSAGES/fr.po +=================================================================== +--- trunk.orig/resources/locale/fr/LC_MESSAGES/fr.po ++++ trunk/resources/locale/fr/LC_MESSAGES/fr.po +@@ -416,18 +416,18 @@ msgstr "" + "bureau ou votre dock pour créer un lanceur." + + #: ../../src/gui/preferencesWindow.vala:401 +-msgid "Sucessfully imported new theme!" ++msgid "Successfully imported new theme!" + msgstr "Nouveau thème importé avec succès !" + + #: ../../src/gui/preferencesWindow.vala:415 +-msgid "An error occured while importing the theme: Failed to extract theme!" ++msgid "An error occurred while importing the theme: Failed to extract theme!" + msgstr "" + "Une erreur est survenue pendant l'importation du thème : impossible " + "d'extraire le thème !" + + #: ../../src/gui/preferencesWindow.vala:419 + msgid "" +-"An error occured while importing the theme: A theme with this name does " ++"An error occurred while importing the theme: A theme with this name does " + "already exist!" + msgstr "" + "Une erreur est survenue pendant l'importation du thème : Un thème avec ce " +@@ -435,7 +435,7 @@ msgstr "" + + #: ../../src/gui/preferencesWindow.vala:423 + msgid "" +-"An error occured while importing the theme: Theme archive does not contain a " ++"An error occurred while importing the theme: Theme archive does not contain a " + "valid theme!" + msgstr "" + "Une erreur est survenue pendant l'importation du thème : L'archive ne " +@@ -443,7 +443,7 @@ msgstr "" + + #: ../../src/gui/preferencesWindow.vala:427 + msgid "" +-"An error occured while importing the theme: Failed to open theme archive!" ++"An error occurred while importing the theme: Failed to open theme archive!" + msgstr "" + "Une erreur est survenue pendant l'importation du thème : Impossible d'ouvrir " + "l'archive !" +@@ -632,7 +632,7 @@ msgstr "Thème \"%s\" exporté avec succ + + #: ../../src/themes/theme.vala:176 + msgid "" +-"An error occured while exporting the theme \"%s\"! Please check the console " ++"An error occurred while exporting the theme \"%s\"! Please check the console " + "output." + msgstr "" + "Une erreur est survenue pendant l'importation du thème \"%s\" : Plus " +Index: trunk/resources/locale/it/LC_MESSAGES/it.po +=================================================================== +--- trunk.orig/resources/locale/it/LC_MESSAGES/it.po ++++ trunk/resources/locale/it/LC_MESSAGES/it.po +@@ -378,28 +378,28 @@ msgid "" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:401 +-msgid "Sucessfully imported new theme!" ++msgid "Successfully imported new theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:415 +-msgid "An error occured while importing the theme: Failed to extract theme!" ++msgid "An error occurred while importing the theme: Failed to extract theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:419 + msgid "" +-"An error occured while importing the theme: A theme with this name does " ++"An error occurred while importing the theme: A theme with this name does " + "already exist!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:423 + msgid "" +-"An error occured while importing the theme: Theme archive does not contain a " ++"An error occurred while importing the theme: Theme archive does not contain a " + "valid theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:427 + msgid "" +-"An error occured while importing the theme: Failed to open theme archive!" ++"An error occurred while importing the theme: Failed to open theme archive!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:451 +@@ -589,7 +589,7 @@ msgstr "" + + #: ../../src/themes/theme.vala:176 + msgid "" +-"An error occured while exporting the theme \"%s\"! Please check the console " ++"An error occurred while exporting the theme \"%s\"! Please check the console " + "output." + msgstr "" + +Index: trunk/resources/locale/ko/LC_MESSAGES/ko.po +=================================================================== +--- trunk.orig/resources/locale/ko/LC_MESSAGES/ko.po ++++ trunk/resources/locale/ko/LC_MESSAGES/ko.po +@@ -367,28 +367,28 @@ msgid "" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:401 +-msgid "Sucessfully imported new theme!" ++msgid "Successfully imported new theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:415 +-msgid "An error occured while importing the theme: Failed to extract theme!" ++msgid "An error occurred while importing the theme: Failed to extract theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:419 + msgid "" +-"An error occured while importing the theme: A theme with this name does " ++"An error occurred while importing the theme: A theme with this name does " + "already exist!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:423 + msgid "" +-"An error occured while importing the theme: Theme archive does not contain a " ++"An error occurred while importing the theme: Theme archive does not contain a " + "valid theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:427 + msgid "" +-"An error occured while importing the theme: Failed to open theme archive!" ++"An error occurred while importing the theme: Failed to open theme archive!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:451 +@@ -571,7 +571,7 @@ msgstr "" + + #: ../../src/themes/theme.vala:176 + msgid "" +-"An error occured while exporting the theme \"%s\"! Please check the console " ++"An error occurred while exporting the theme \"%s\"! Please check the console " + "output." + msgstr "" + +Index: trunk/resources/locale/lt/LC_MESSAGES/lt.po +=================================================================== +--- trunk.orig/resources/locale/lt/LC_MESSAGES/lt.po ++++ trunk/resources/locale/lt/LC_MESSAGES/lt.po +@@ -417,29 +417,29 @@ msgstr "" + "sukurtumėte šio pyrago leistuką." + + #: ../../src/gui/preferencesWindow.vala:401 +-msgid "Sucessfully imported new theme!" ++msgid "Successfully imported new theme!" + msgstr "Nauja tema buvo sėkmingai importuota!" + + #: ../../src/gui/preferencesWindow.vala:415 +-msgid "An error occured while importing the theme: Failed to extract theme!" ++msgid "An error occurred while importing the theme: Failed to extract theme!" + msgstr "Importuojant temą, įvyko klaida: Nepavyko išskleisti temos!" + + #: ../../src/gui/preferencesWindow.vala:419 + msgid "" +-"An error occured while importing the theme: A theme with this name does " ++"An error occurred while importing the theme: A theme with this name does " + "already exist!" + msgstr "Importuojant temą, įvyko klaida: Tema tokiu pavadinimu jau yra!" + + #: ../../src/gui/preferencesWindow.vala:423 + msgid "" +-"An error occured while importing the theme: Theme archive does not contain a " ++"An error occurred while importing the theme: Theme archive does not contain a " + "valid theme!" + msgstr "" + "Importuojant temą, įvyko klaida: Temos archyve nėra taisyklingos temos!" + + #: ../../src/gui/preferencesWindow.vala:427 + msgid "" +-"An error occured while importing the theme: Failed to open theme archive!" ++"An error occurred while importing the theme: Failed to open theme archive!" + msgstr "Importuojant temą, įvyko klaida: Nepavyko atverti temos archyvo!" + + #: ../../src/gui/preferencesWindow.vala:451 +@@ -624,7 +624,7 @@ msgstr "\"%s\" tema buvo sėkmingai eksp + + #: ../../src/themes/theme.vala:176 + msgid "" +-"An error occured while exporting the theme \"%s\"! Please check the console " ++"An error occurred while exporting the theme \"%s\"! Please check the console " + "output." + msgstr "Eksportuojant \"%s\" temą, įvyko klaida! Prašome žiūrėti pulto išvestį." + +Index: trunk/resources/locale/pl/LC_MESSAGES/pl.po +=================================================================== +--- trunk.orig/resources/locale/pl/LC_MESSAGES/pl.po ++++ trunk/resources/locale/pl/LC_MESSAGES/pl.po +@@ -386,28 +386,28 @@ msgid "" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:401 +-msgid "Sucessfully imported new theme!" ++msgid "Successfully imported new theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:415 +-msgid "An error occured while importing the theme: Failed to extract theme!" ++msgid "An error occurred while importing the theme: Failed to extract theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:419 + msgid "" +-"An error occured while importing the theme: A theme with this name does " ++"An error occurred while importing the theme: A theme with this name does " + "already exist!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:423 + msgid "" +-"An error occured while importing the theme: Theme archive does not contain a " ++"An error occurred while importing the theme: Theme archive does not contain a " + "valid theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:427 + msgid "" +-"An error occured while importing the theme: Failed to open theme archive!" ++"An error occurred while importing the theme: Failed to open theme archive!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:451 +@@ -588,7 +588,7 @@ msgstr "" + + #: ../../src/themes/theme.vala:176 + msgid "" +-"An error occured while exporting the theme \"%s\"! Please check the console " ++"An error occurred while exporting the theme \"%s\"! Please check the console " + "output." + msgstr "" + +Index: trunk/resources/locale/pt_BR/LC_MESSAGES/pt_BR.po +=================================================================== +--- trunk.orig/resources/locale/pt_BR/LC_MESSAGES/pt_BR.po ++++ trunk/resources/locale/pt_BR/LC_MESSAGES/pt_BR.po +@@ -376,28 +376,28 @@ msgid "" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:401 +-msgid "Sucessfully imported new theme!" ++msgid "Successfully imported new theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:415 +-msgid "An error occured while importing the theme: Failed to extract theme!" ++msgid "An error occurred while importing the theme: Failed to extract theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:419 + msgid "" +-"An error occured while importing the theme: A theme with this name does " ++"An error occurred while importing the theme: A theme with this name does " + "already exist!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:423 + msgid "" +-"An error occured while importing the theme: Theme archive does not contain a " ++"An error occurred while importing the theme: Theme archive does not contain a " + "valid theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:427 + msgid "" +-"An error occured while importing the theme: Failed to open theme archive!" ++"An error occurred while importing the theme: Failed to open theme archive!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:451 +@@ -582,7 +582,7 @@ msgstr "" + + #: ../../src/themes/theme.vala:176 + msgid "" +-"An error occured while exporting the theme \"%s\"! Please check the console " ++"An error occurred while exporting the theme \"%s\"! Please check the console " + "output." + msgstr "" + +Index: trunk/resources/locale/ru/LC_MESSAGES/ru.po +=================================================================== +--- trunk.orig/resources/locale/ru/LC_MESSAGES/ru.po ++++ trunk/resources/locale/ru/LC_MESSAGES/ru.po +@@ -408,29 +408,29 @@ msgstr "" + "чтобы создать ярлык запуска для этого Пая." + + #: ../../src/gui/preferencesWindow.vala:401 +-msgid "Sucessfully imported new theme!" ++msgid "Successfully imported new theme!" + msgstr "Успешно импортирована новая тема!" + + #: ../../src/gui/preferencesWindow.vala:415 +-msgid "An error occured while importing the theme: Failed to extract theme!" ++msgid "An error occurred while importing the theme: Failed to extract theme!" + msgstr "При импорте темы произошла ошибка: Не удалось извлечь тему!" + + #: ../../src/gui/preferencesWindow.vala:419 + msgid "" +-"An error occured while importing the theme: A theme with this name does " ++"An error occurred while importing the theme: A theme with this name does " + "already exist!" + msgstr "При импорте темы произошла ошибка: тема с этим именем уже существует!" + + #: ../../src/gui/preferencesWindow.vala:423 + msgid "" +-"An error occured while importing the theme: Theme archive does not contain a " ++"An error occurred while importing the theme: Theme archive does not contain a " + "valid theme!" + msgstr "" + "При импорте темы произошла ошибка: в архиве темы нет действительной темы!" + + #: ../../src/gui/preferencesWindow.vala:427 + msgid "" +-"An error occured while importing the theme: Failed to open theme archive!" ++"An error occurred while importing the theme: Failed to open theme archive!" + msgstr "При импорте темы произошла ошибка: Не удалось открыть тему!" + + #: ../../src/gui/preferencesWindow.vala:451 +@@ -616,7 +616,7 @@ msgstr "Тема экспортиров + + #: ../../src/themes/theme.vala:176 + msgid "" +-"An error occured while exporting the theme \"%s\"! Please check the console " ++"An error occurred while exporting the theme \"%s\"! Please check the console " + "output." + msgstr "При экспорте темы произошла ошибка \"%s\"! Проверьте вывод консоли." + +Index: trunk/resources/locale/zh_CN/LC_MESSAGES/zh_CN.po +=================================================================== +--- trunk.orig/resources/locale/zh_CN/LC_MESSAGES/zh_CN.po ++++ trunk/resources/locale/zh_CN/LC_MESSAGES/zh_CN.po +@@ -367,28 +367,28 @@ msgid "" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:401 +-msgid "Sucessfully imported new theme!" ++msgid "Successfully imported new theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:415 +-msgid "An error occured while importing the theme: Failed to extract theme!" ++msgid "An error occurred while importing the theme: Failed to extract theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:419 + msgid "" +-"An error occured while importing the theme: A theme with this name does " ++"An error occurred while importing the theme: A theme with this name does " + "already exist!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:423 + msgid "" +-"An error occured while importing the theme: Theme archive does not contain a " ++"An error occurred while importing the theme: Theme archive does not contain a " + "valid theme!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:427 + msgid "" +-"An error occured while importing the theme: Failed to open theme archive!" ++"An error occurred while importing the theme: Failed to open theme archive!" + msgstr "" + + #: ../../src/gui/preferencesWindow.vala:451 +@@ -571,7 +571,7 @@ msgstr "" + + #: ../../src/themes/theme.vala:176 + msgid "" +-"An error occured while exporting the theme \"%s\"! Please check the console " ++"An error occurred while exporting the theme \"%s\"! Please check the console " + "output." + msgstr "" + +Index: trunk/src/gui/preferencesWindow.vala +=================================================================== +--- trunk.orig/src/gui/preferencesWindow.vala ++++ trunk/src/gui/preferencesWindow.vala +@@ -398,7 +398,7 @@ public class PreferencesWindow : GLib.Ob + dialog.filter.add_pattern ("*.tar.gz"); + + var result = Gtk.MessageType.INFO; +- var message = _("Sucessfully imported new theme!"); ++ var message = _("Successfully imported new theme!"); + + dialog.response.connect((d, r) => { + if (r == Gtk.ResponseType.ACCEPT) { +@@ -412,19 +412,19 @@ public class PreferencesWindow : GLib.Ob + Config.global.load_themes(a.theme_name); + this.theme_list.reload(); + } else { +- message = _("An error occured while importing the theme: Failed to extract theme!"); ++ message = _("An error occurred while importing the theme: Failed to extract theme!"); + result = Gtk.MessageType.ERROR; + } + } else { +- message = _("An error occured while importing the theme: A theme with this name does already exist!"); ++ message = _("An error occurred while importing the theme: A theme with this name does already exist!"); + result = Gtk.MessageType.ERROR; + } + } else { +- message = _("An error occured while importing the theme: Theme archive does not contain a valid theme!"); ++ message = _("An error occurred while importing the theme: Theme archive does not contain a valid theme!"); + result = Gtk.MessageType.ERROR; + } + } else { +- message = _("An error occured while importing the theme: Failed to open theme archive!"); ++ message = _("An error occurred while importing the theme: Failed to open theme archive!"); + result = Gtk.MessageType.ERROR; + } + a.close(); +Index: trunk/src/themes/theme.vala +=================================================================== +--- trunk.orig/src/themes/theme.vala ++++ trunk/src/themes/theme.vala +@@ -173,7 +173,7 @@ public class Theme : GLib.Object { + dialog.destroy(); + + } else { +- var message = _("An error occured while exporting the theme \"%s\"! Please check the console output.").printf(this.name); ++ var message = _("An error occurred while exporting the theme \"%s\"! Please check the console output.").printf(this.name); + var dialog = new Gtk.MessageDialog(null, Gtk.DialogFlags.MODAL, + Gtk.MessageType.ERROR, Gtk.ButtonsType.CLOSE, message); + dialog.run(); diff --git a/debian/patches/0500_bamf3-vapi.patch b/debian/patches/0500_bamf3-vapi.patch new file mode 100644 index 0000000..f185cfe --- /dev/null +++ b/debian/patches/0500_bamf3-vapi.patch @@ -0,0 +1,203 @@ +Description: Add libbamf3.vapi to prevent build errors +Author: Jörg Frings-Fürst <debian@jff-webhosting.net> +Last-Update: 2015-05-11> +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/vapi/libbamf3.vapi +=================================================================== +--- /dev/null ++++ trunk/vapi/libbamf3.vapi +@@ -0,0 +1,181 @@ ++/* libbamf3.vapi generated by vapigen, do not modify. */ ++ ++[CCode (cprefix = "Bamf", gir_namespace = "Bamf", gir_version = "3", lower_case_cprefix = "bamf_")] ++namespace Bamf { ++ [CCode (cheader_filename = "libbamf/libbamf.h", type_id = "bamf_application_get_type ()")] ++ public class Application : Bamf.View { ++ [CCode (has_construct_function = false)] ++ protected Application (); ++ public bool get_application_menu (string name, string object_path); ++ public unowned string get_application_type (); ++ public unowned string get_desktop_file (); ++ public unowned Bamf.View get_focusable_child (); ++ public bool get_show_menu_stubs (); ++ [CCode (array_length = false, array_null_terminated = true)] ++ public string[] get_supported_mime_types (); ++ public GLib.List<weak Bamf.Window> get_windows (); ++ public GLib.Array<uint32> get_xids (); ++ public signal void window_added (Bamf.View object); ++ public signal void window_removed (Bamf.View object); ++ } ++ [CCode (cheader_filename = "libbamf/libbamf.h", type_id = "bamf_control_get_type ()")] ++ public class Control : GLib.Object { ++ [CCode (has_construct_function = false)] ++ protected Control (); ++ public static unowned Bamf.Control get_default (); ++ public void insert_desktop_file (string desktop_file); ++ public void register_application_for_pid (string application, int32 pid); ++ public void register_tab_provider (string path); ++ } ++ [CCode (cheader_filename = "libbamf/libbamf.h", type_id = "bamf_matcher_get_type ()")] ++ public class Matcher : GLib.Object { ++ [CCode (has_construct_function = false)] ++ protected Matcher (); ++ public bool application_is_running (string application); ++ public unowned Bamf.Application get_active_application (); ++ public unowned Bamf.Window get_active_window (); ++ public unowned Bamf.Application get_application_for_desktop_file (string desktop_file_path, bool create_if_not_found); ++ public unowned Bamf.Application get_application_for_window (Bamf.Window window); ++ public unowned Bamf.Application get_application_for_xid (uint32 xid); ++ public GLib.List<weak Bamf.Application> get_applications (); ++ public static Bamf.Matcher get_default (); ++ public GLib.List<weak Bamf.Application> get_running_applications (); ++ public GLib.List<weak Bamf.View> get_tabs (); ++ public GLib.List<weak Bamf.View> get_window_stack_for_monitor (int monitor); ++ public GLib.List<weak Bamf.View> get_windows (); ++ public GLib.Array<uint32> get_xids_for_application (string application); ++ public void register_favorites ([CCode (array_length = false)] string[] favorites); ++ public signal void active_application_changed (Bamf.View object, Bamf.View p0); ++ public signal void active_window_changed (Bamf.View object, Bamf.View p0); ++ public signal void stacking_order_changed (); ++ public signal void view_closed (Bamf.View object); ++ public signal void view_opened (Bamf.View object); ++ } ++ [CCode (cheader_filename = "libbamf/libbamf.h", type_id = "bamf_tab_get_type ()")] ++ public class Tab : Bamf.View { ++ [CCode (has_construct_function = false)] ++ public Tab (string path); ++ public bool close (); ++ public virtual unowned string get_desktop_name (); ++ public virtual bool get_is_foreground_tab (); ++ public virtual unowned string get_location (); ++ public virtual uint64 get_xid (); ++ public bool raise (); ++ [NoAccessorMethod] ++ public string desktop_id { owned get; set; } ++ [NoAccessorMethod] ++ public bool is_foreground_tab { get; set; } ++ [NoAccessorMethod] ++ public string location { owned get; set; } ++ [NoAccessorMethod] ++ public uint64 xid { get; set; } ++ } ++ [CCode (cheader_filename = "libbamf/libbamf.h", type_id = "bamf_tab_source_get_type ()")] ++ public class TabSource : GLib.Object { ++ [CCode (has_construct_function = false)] ++ protected TabSource (); ++ [CCode (array_length = false, array_null_terminated = true)] ++ public unowned string[] get_tab_ids (); ++ public string get_tab_uri (string tab_id); ++ public uint32 get_tab_xid (string tab_id); ++ [NoWrapper] ++ public virtual string tab_uri (string tab_id); ++ [NoWrapper] ++ public virtual uint32 tab_xid (string tab_id); ++ [NoAccessorMethod] ++ public string id { owned get; set construct; } ++ public signal void tab_closed (string object); ++ public signal void tab_opened (string object); ++ public signal void tab_uri_changed (string object, string p0, string p1); ++ } ++ [CCode (cheader_filename = "libbamf/libbamf.h", type_id = "bamf_view_get_type ()")] ++ public class View : GLib.InitiallyUnowned { ++ [CCode (has_construct_function = false)] ++ protected View (); ++ [NoWrapper] ++ public virtual Bamf.ClickBehavior click_behavior (); ++ public virtual GLib.List<weak Bamf.View> get_children (); ++ public Bamf.ClickBehavior get_click_suggestion (); ++ public virtual string get_icon (); ++ public virtual string get_name (); ++ [CCode (vfunc_name = "view_type")] ++ public virtual unowned string get_view_type (); ++ public virtual bool is_active (); ++ public bool is_closed (); ++ public virtual bool is_running (); ++ public bool is_sticky (); ++ public virtual bool is_urgent (); ++#if !HAVE_BAMF_0_4 ++ [CCode (cname = "bamf_view_user_visible")] ++#endif ++ public bool is_user_visible (); ++ [NoWrapper] ++ public virtual void set_path (string path); ++ public void set_sticky (bool value); ++ [NoAccessorMethod] ++ public bool active { get; } ++ [NoAccessorMethod] ++ public string path { owned get; } ++ [NoAccessorMethod] ++ public bool running { get; } ++ [NoAccessorMethod] ++ public bool urgent { get; } ++ [NoAccessorMethod] ++ public bool user_visible { get; } ++ public virtual signal void active_changed (bool active); ++ public virtual signal void child_added (Bamf.View child); ++ public virtual signal void child_moved (Bamf.View child); ++ public virtual signal void child_removed (Bamf.View child); ++ public virtual signal void closed (); ++ public virtual signal void name_changed (string old_name, string new_name); ++ public virtual signal void running_changed (bool running); ++ public virtual signal void urgent_changed (bool urgent); ++ public virtual signal void user_visible_changed (bool user_visible); ++ } ++ [CCode (cheader_filename = "libbamf/libbamf.h", type_id = "bamf_window_get_type ()")] ++ public class Window : Bamf.View { ++ [CCode (has_construct_function = false)] ++ protected Window (); ++ public virtual int get_monitor (); ++ public virtual uint32 get_pid (); ++ public virtual unowned Bamf.Window get_transient (); ++ public virtual string get_utf8_prop (string prop); ++ public virtual Bamf.WindowType get_window_type (); ++ public virtual uint32 get_xid (); ++ public virtual long last_active (); ++ public virtual Bamf.WindowMaximizationType maximized (); ++ public virtual signal void maximized_changed (int old_value, int new_value); ++ public virtual signal void monitor_changed (int old_value, int new_value); ++ } ++ [CCode (cheader_filename = "libbamf/libbamf.h", cprefix = "BAMF_CLICK_BEHAVIOR_", has_type_id = false)] ++ public enum ClickBehavior { ++ NONE, ++ OPEN, ++ FOCUS, ++ FOCUS_ALL, ++ MINIMIZE, ++ RESTORE, ++ RESTORE_ALL, ++ PICKER ++ } ++ [CCode (cheader_filename = "libbamf/libbamf.h", cprefix = "BAMF_WINDOW_", has_type_id = false)] ++ public enum WindowMaximizationType { ++ FLOATING, ++ HORIZONTAL_MAXIMIZED, ++ VERTICAL_MAXIMIZED, ++ MAXIMIZED ++ } ++ [CCode (cheader_filename = "libbamf/libbamf.h", cprefix = "BAMF_WINDOW_", has_type_id = false)] ++ public enum WindowType { ++ NORMAL, ++ DESKTOP, ++ DOCK, ++ DIALOG, ++ TOOLBAR, ++ MENU, ++ UTILITY, ++ SPLASHSCREEN ++ } ++ [CCode (cheader_filename = "libbamf/libbamf.h", instance_pos = 2.9)] ++ public delegate void TabPreviewReadyCallback (Bamf.Tab self, string preview_data); ++} +Index: trunk/src/CMakeLists.txt +=================================================================== +--- trunk.orig/src/CMakeLists.txt ++++ trunk/src/CMakeLists.txt +@@ -23,6 +23,7 @@ vala_precompile( + PACKAGES + ${VALA_PKGS} + OPTIONS ++ --vapidir=${CMAKE_SOURCE_DIR}/vapi/ + --thread + ${DEFINES} + ) diff --git a/debian/patches/0700-ayatana-appindicator.patch b/debian/patches/0700-ayatana-appindicator.patch new file mode 100644 index 0000000..d8a9905 --- /dev/null +++ b/debian/patches/0700-ayatana-appindicator.patch @@ -0,0 +1,77 @@ +Description: Switch to Ayatana AppIndicator +Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907551 +Forwarded: not-needed +Last-Update: 2018-09-07 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -26,7 +26,7 @@ + find_package(PkgConfig) + + pkg_check_modules(GTK3 REQUIRED gtk+-3.0) +-pkg_check_modules(INDICATOR3 appindicator3-0.1) ++pkg_check_modules(INDICATOR3 ayatana-appindicator3-0.1) + pkg_check_modules(WNCK REQUIRED libwnck-3.0) + pkg_check_modules(BAMF libbamf3) + pkg_check_modules(GIO REQUIRED gio-unix-2.0) +@@ -75,11 +75,7 @@ + pkg_check_modules(GMENU REQUIRED libgnome-menu) + endif (${GMENU3_FOUND}) + +-# notify application of presence of libappindicator +-if (${INDICATOR_FOUND}) +- LIST(APPEND CFLAGS -DHAVE_APPINDICATOR) +- LIST(APPEND VALA_DEFINES --define HAVE_APPINDICATOR) +-endif (${INDICATOR_FOUND}) ++# notify application of presence of libayatana-appindicator + if (${INDICATOR3_FOUND}) + LIST(APPEND CFLAGS -DHAVE_APPINDICATOR) + LIST(APPEND VALA_DEFINES --define HAVE_APPINDICATOR) +@@ -97,7 +93,6 @@ + ${GTK3_LIBRARIES} + ${CAIRO_LIBRARIES} + ${GEE_LIBRARIES} +- ${INDICATOR_LIBRARIES} + ${INDICATOR3_LIBRARIES} + ${XML_LIBRARIES} + ${XTST_LIBRARIES} +@@ -117,7 +112,6 @@ + ${GTK3_LIBRARY_DIRS} + ${CAIRO_LIBRARY_DIRS} + ${GEE_LIBRARY_DIRS} +- ${INDICATOR_LIBRARY_DIRS} + ${INDICATOR3_LIBRARY_DIRS} + ${XML_LIBRARY_DIRS} + ${XTST_LIBRARY_DIRS} +@@ -134,7 +128,6 @@ + ${GTK3_INCLUDE_DIRS} + ${CAIRO_INCLUDE_DIRS} + ${GEE_INCLUDE_DIRS} +- ${INDICATOR_INCLUDE_DIRS} + ${INDICATOR3_INCLUDE_DIRS} + ${XML_INCLUDE_DIRS} + ${XTST_INCLUDE_DIRS} +@@ -166,12 +159,8 @@ + libarchive + ) + +-if (${INDICATOR_FOUND}) +- LIST(APPEND VALA_PKGS appindicator-0.1) +-endif (${INDICATOR_FOUND}) +- + if (${INDICATOR3_FOUND}) +- LIST(APPEND VALA_PKGS appindicator3-0.1) ++ LIST(APPEND VALA_PKGS ayatana-appindicator3-0.1) + endif (${INDICATOR3_FOUND}) + + if (${GMENU3_FOUND}) +@@ -210,7 +199,6 @@ + message( " GTK3_LIBRARIES = ${GTK3_LIBRARIES}" ) + message( " CAIRO_LIBRARIES = ${CAIRO_LIBRARIES}" ) + message( " GEE_LIBRARIES = ${GEE_LIBRARIES}" ) +-message( " INDICATOR_LIBRARIES = ${INDICATOR_LIBRARIES}" ) + message( " INDICATOR3_LIBRARIES = ${INDICATOR3_LIBRARIES}" ) + message( " XML_LIBRARIES = ${XML_LIBRARIES}" ) + message( " XTST_LIBRARIES = ${XTST_LIBRARIES}" ) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..5d085d7 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,4 @@ +#0500_bamf3-vapi.patch +0700-ayatana-appindicator.patch +0105-spelling_errors.patch +0100-fix-ftbfs_vala_0_42.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..eea2df1 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +# hardening +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ --buildsystem=cmake + +override_dh_auto_build: + $(CURDIR)/resources/locale/compile-po.sh + dh_auto_build 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..dbffcbb --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/mpv-$1.tar.gz/ \ + https://github.com/Simmesimme/Gnome-Pie/tags .*/v?(\d\S*)\.tar\.gz |