diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..609ba24 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +vala-panel-extras (0.1.2-1) unstable; urgency=low + + * Initial release + + -- Konstantin Sat, 25 Apr 2015 00:57:09 +0600 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..9c86d20 --- /dev/null +++ b/debian/control @@ -0,0 +1,94 @@ +Source: vala-panel-extras +Section: x11 +Priority: optional +Maintainer: Konstantin P. +Build-Depends: debhelper (>= 9), cmake (>= 2.8.0), libgtk-3-dev (>= 3.12.0), libasound2-dev, libgtop2-dev, libxkbcommon-x11-dev, libx11-xcb-dev, libxcb-xkb-dev, libgweather-3-dev +Standards-Version: 3.9.5 +Homepage: https://github.com/rilian-la-te/vala-panel-extras +#Vcs-Git: https://github.com/rilian-la-te/vala-panel-extras.git +#Vcs-Browser: https://github.com/rilian-la-te/vala-panel-extras + +Package: vala-panel-extras-common +Architecture: all +Depends: ${misc:Depends} +Description: Vala Panel Extras is StatusNotifierItems (AppIndicators). This is common files. + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments + +Package: vala-panel-extras-volume +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, vala-panel-extras-common +Description: Vala Panel Extras is StatusNotifierItems (AppIndicators). This is volume applet + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments + +Package: vala-panel-extras-volume-dbg +Architecture: any +Depends: ${misc:Depends}, vala-panel-extras-volume (= ${binary:Version}) +Description: This is debug information for Vala Panel Extras (volume applet) + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments + +Package: vala-panel-extras-xkb +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, vala-panel-extras-common +Recommends: vala-panel-extras-xkb-flags +Description: Vala Panel Extras is StatusNotifierItems (AppIndicators). This is keyboard layout applet + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments + +Package: vala-panel-extras-xkb-flags +Architecture: all +Depends: ${misc:Depends}, vala-panel-extras-xkb +Description: Vala Panel Extras is StatusNotifierItems (AppIndicators). This is keyboard layout applet flags + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments + +Package: vala-panel-extras-xkb-dbg +Architecture: any +Depends: ${misc:Depends}, vala-panel-extras-xkb (= ${binary:Version}) +Description: This is debug information for Vala Panel Extras (keyboard layout applet) + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments + +Package: vala-panel-extras-gtop +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, vala-panel-extras-common +Description: Vala Panel Extras is StatusNotifierItems (AppIndicators). This is netspeed applet + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments + +Package: vala-panel-extras-gtop-dbg +Architecture: any +Depends: ${misc:Depends}, vala-panel-extras-gtop (= ${binary:Version}) +Description: This is debug information for Vala Panel Extras (netspeed applet) + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments + +Package: vala-panel-extras-weather +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, vala-panel-extras-common +Description: Vala Panel Extras is StatusNotifierItems (AppIndicators). This is weather applet + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments + +Package: vala-panel-extras-weather-dbg +Architecture: any +Depends: ${misc:Depends}, vala-panel-extras-weather (= ${binary:Version}) +Description: This is debug information for Vala Panel Extras (volume applet) + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments + +Package: vala-panel-extras-battery +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, vala-panel-extras-common, upower +Description: Vala Panel Extras is StatusNotifierItems (AppIndicators). This is battery applet + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments + +Package: vala-panel-extras-battery-dbg +Architecture: any +Depends: ${misc:Depends}, vala-panel-extras-battery (= ${binary:Version}) +Description: This is debug information for Vala Panel Extras (volume applet) + Vala Panel Extras is small programs, that can be used with any StatusNotifierWatcher. It may not be useful in Ubuntu, + but very good in other environments \ No newline at end of file diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5a19301 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,34 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: vala-panel +Source: + +Files: * +Copyright: <2014-2015> > + <2006-2014> +License: LGPL-3.0+ + +Files: debian/* +Copyright: 2015 user +License: LGPL-3.0+ + +License: LGPL-3.0+ + This package 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 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 + Lesser 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 . + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid to pick license terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/manpage.xml b/debian/manpage.xml new file mode 100644 index 0000000..b94198c --- /dev/null +++ b/debian/manpage.xml @@ -0,0 +1,211 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as + ... . + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + + + + + + + + + + + + +]> + + + + &dhtitle; + &dhpackage; + + + &dhfirstname; + &dhsurname; + Wrote this manpage for the Debian system. +
+ &dhemail; +
+
+
+ + 2015 + &dhusername; + + + This manual page was written for the Debian system + (and may be used by others). + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 3 or (at your option) any later version published by + the Free Software Foundation. + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + +
+ + &dhucpackage; + &dhsection; + + + &dhpackage; + Vala Panel is GTK+ 3 desktop panel. It is based on Vala and some LXPanel ideas. + + + + &dhpackage; + + + + + + + command name + + + + + + + profile name + + + + &dhpackage; + + + + + + + + + + + + + + + + + + + DESCRIPTION + This manual page documents briefly the + &dhpackage; command. + This manual page was written for the Debian distribution + because the original program does not have a manual page. + &dhpackage; is a program that runs a panel + + + OPTIONS + The program follows the usual GNU command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. For a complete description, see the + + info + 1 + files. + + + + + + + Runs specific command on already opened panel. + Valid commands without arguments are: menu, preferences, run, about, logout, shutdown and quit. + Valid commands with one string argument are launch-id, launch-uri, launch-command and panel-preferences. + + + + + + + Runs panel with specified profile. This option will have an effect only if panel is not runs now. + There are three preinstalled profiles: default, two_panels and appmenu. + + + + + + + Show summary of options. + + + + + + + Show version of program. + + + + + + FILES + + + ${$XDG_CONFIG_HOME}/vala-panel/ + + The per-user configuration folder to control the + behaviour of &dhpackage;. + It contains subfolders only, and it must contain at least one subfolder after a first run of &dhpackage;. + Each subfolder is a profile for panel, and its name used as profile name with profile options. + See default profiles for futher reference. + + + + +
+ diff --git a/debian/patches/install-all-schemas-at-once.patch b/debian/patches/install-all-schemas-at-once.patch new file mode 100644 index 0000000..b8c9cd1 --- /dev/null +++ b/debian/patches/install-all-schemas-at-once.patch @@ -0,0 +1,26 @@ +diff --git a/data/gschemas/CMakeLists.txt b/data/gschemas/CMakeLists.txt +index 185562c..1c15898 100644 +--- a/data/gschemas/CMakeLists.txt ++++ b/data/gschemas/CMakeLists.txt +@@ -1,16 +1,6 @@ + include(GSettings) +-if (ENABLE_ALSA) +- add_schema("org.valapanel.volume.gschema.xml") +-endif() +-if (ENABLE_WEATHER) +- add_schema("org.valapanel.weather.gschema.xml") +-endif() +-if (ENABLE_XKB) +- add_schema("org.valapanel.xkb.gschema.xml") +-endif() +-if (ENABLE_BATTERY) +- add_schema("org.valapanel.battery.gschema.xml") +-endif() +-if (ENABLE_LIBGTOP) +- add_schema("org.valapanel.gtop.gschema.xml") +-endif() ++add_schema("org.valapanel.volume.gschema.xml") ++add_schema("org.valapanel.weather.gschema.xml") ++add_schema("org.valapanel.xkb.gschema.xml") ++add_schema("org.valapanel.battery.gschema.xml") ++add_schema("org.valapanel.gtop.gschema.xml") diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0f093ef --- /dev/null +++ b/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# 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 + + +# main packaging script based on dh7 syntax +%: + dh $@ + +override_dh_auto_clean: + dh_auto_clean --buildsystem=cmake + +override_dh_auto_build: + dh_auto_build --buildsystem=cmake + +# consider using -DUSE_VERSIONED_DIR=ON if backporting +override_dh_auto_configure: + dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=RelWithDebInfo + +override_dh_strip: + dh_strip --package=vala-panel-extras-volume --dbg-package=vala-panel-extras-volume-dbg + dh_strip --package=vala-panel-extras-weather --dbg-package=vala-panel-extras-weather-dbg + dh_strip --package=vala-panel-extras-gtop --dbg-package=vala-panel-extras-gtop-dbg + dh_strip --package=vala-panel-extras-xkb --dbg-package=vala-panel-extras-xkb-dbg + dh_strip --package=vala-panel-extras-battery --dbg-package=vala-panel-extras-battery-dbg + +# debmake generated override targets +# This is example for Cmake (See http://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- \ +# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + + + + 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/vala-panel-extras-battery.install b/debian/vala-panel-extras-battery.install new file mode 100644 index 0000000..591b587 --- /dev/null +++ b/debian/vala-panel-extras-battery.install @@ -0,0 +1,3 @@ +usr/bin/vala-panel-extras-battery +usr/share/applications/org.valapanel.battery.desktop +usr/share/glib-2.0/schemas/org.valapanel.battery.gschema.xml diff --git a/debian/vala-panel-extras-common.install b/debian/vala-panel-extras-common.install new file mode 100644 index 0000000..5c41d9b --- /dev/null +++ b/debian/vala-panel-extras-common.install @@ -0,0 +1 @@ +usr/share/locale/* \ No newline at end of file diff --git a/debian/vala-panel-extras-gtop.install b/debian/vala-panel-extras-gtop.install new file mode 100644 index 0000000..314199e --- /dev/null +++ b/debian/vala-panel-extras-gtop.install @@ -0,0 +1,3 @@ +usr/bin/vala-panel-extras-gtop +usr/share/applications/org.valapanel.gtop.desktop +usr/share/glib-2.0/schemas/org.valapanel.gtop.gschema.xml diff --git a/debian/vala-panel-extras-volume.install b/debian/vala-panel-extras-volume.install new file mode 100644 index 0000000..3d8aca5 --- /dev/null +++ b/debian/vala-panel-extras-volume.install @@ -0,0 +1,3 @@ +usr/bin/vala-panel-extras-volume +usr/share/applications/org.valapanel.volume.desktop +usr/share/glib-2.0/schemas/org.valapanel.volume.gschema.xml diff --git a/debian/vala-panel-extras-weather.install b/debian/vala-panel-extras-weather.install new file mode 100644 index 0000000..c8ec9af --- /dev/null +++ b/debian/vala-panel-extras-weather.install @@ -0,0 +1,3 @@ +usr/bin/vala-panel-extras-weather +usr/share/applications/org.valapanel.weather.desktop +usr/share/glib-2.0/schemas/org.valapanel.weather.gschema.xml diff --git a/debian/vala-panel-extras-xkb-flags.install b/debian/vala-panel-extras-xkb-flags.install new file mode 100644 index 0000000..9370255 --- /dev/null +++ b/debian/vala-panel-extras-xkb-flags.install @@ -0,0 +1 @@ +usr/share/vala-panel-extras/xkb/icons/* \ No newline at end of file diff --git a/debian/vala-panel-extras-xkb.install b/debian/vala-panel-extras-xkb.install new file mode 100644 index 0000000..8257058 --- /dev/null +++ b/debian/vala-panel-extras-xkb.install @@ -0,0 +1,3 @@ +usr/bin/vala-panel-extras-xkb +usr/share/applications/org.valapanel.xkb.desktop +usr/share/glib-2.0/schemas/org.valapanel.xkb.gschema.xml diff --git a/debian/vala-panel.doc-base.EX b/debian/vala-panel.doc-base.EX new file mode 100644 index 0000000..e2cb74c --- /dev/null +++ b/debian/vala-panel.doc-base.EX @@ -0,0 +1,20 @@ +Document: vala-panel +Title: Debian vala-panel Manual +Author: +Abstract: This manual describes what vala-panel is + and how it can be used to + manage online manuals on Debian systems. +Section: unknown + +Format: debiandoc-sgml +Files: /usr/share/doc/vala-panel/vala-panel.sgml.gz + +Format: postscript +Files: /usr/share/doc/vala-panel/vala-panel.ps.gz + +Format: text +Files: /usr/share/doc/vala-panel/vala-panel.text.gz + +Format: HTML +Index: /usr/share/doc/vala-panel/html/index.html +Files: /usr/share/doc/vala-panel/html/*.html