Skip to content

Commit

Permalink
Added debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed Apr 25, 2015
1 parent 9e9da7a commit 153db7d
Show file tree
Hide file tree
Showing 11 changed files with 158 additions and 0 deletions.
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
xfce4-sntray-plugin (0.3.8-1) unstable; urgency=low

* Initial release

-- Athor <[email protected]> Sat, 25 Apr 2015 00:57:09 +0600
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
48 changes: 48 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
Source: xfce4-sntray-plugin
Section: x11
Priority: optional
Maintainer: Konstantin P. <[email protected]>
Build-Depends: debhelper (>= 9), cmake (>= 2.8.0), libpeas-dev (>= 1.2.0), libgtk-3-dev (>= 3.12.0), libvalapanel-dev, xfce4-panel-dev (>= 4.11.2)
Standards-Version: 3.9.5
Homepage: https://github.com/rilian-la-te/xfce4-sntray-plugin
#Vcs-Git: https://github.com/rilian-la-te/xfce4-sntray-plugin.git
#Vcs-Browser: https://github.com/rilian-la-te/xfce4-sntray-plugin

Package: xfce4-sntray-plugin
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, vala-panel-sntray-common (= ${binary:Version})
Recommends: sni-qt, libappindicator1, libappindicator3-1
Description: This package provides StatusNotifier plugin for xfce4-panel
StatusNotifier is new D-Bus standard for system tray. It is shared both by Ubuntu Unity and KDE.
There is several plugins for show StatusNotifiers for different DEs, for XFCE it is indicator-application
and xfce4-snw-plugin

Package: xfce4-sntray-plugin-dbg
Architecture: any
Depends: ${misc:Depends}, xfce4-sntray-plugin (= ${binary:Version})
Description: This package provides debug symbols for xfce4-sntray-plugin
StatusNotifier is new D-Bus standard for system tray. It is shared both by Ubuntu Unity and KDE.
There is several plugins for show StatusNotifiers for different DEs, for XFCE it is indicator-application
and xfce4-snw-plugin

Package: vala-panel-sntray
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, vala-panel-sntray-common (= ${binary:Version})
Recommends: sni-qt, libappindicator1, libappindicator3-1
Description: This package provides StatusNotifier plugin for vala-panel
StatusNotifier is new D-Bus standard for system tray. It is shared both by Ubuntu Unity and KDE.
There is several plugins for show StatusNotifiers for different DEs, but for vala-panel only this implementation exists yet.

Package: vala-panel-sntray-dbg
Architecture: any
Depends: ${misc:Depends}, vala-panel-sntray (= ${binary:Version})
Description: This package provides debug symbols for vala-panel-sntray
StatusNotifier is new D-Bus standard for system tray. It is shared both by Ubuntu Unity and KDE.
There is several plugins for show StatusNotifiers for different DEs, but for vala-panel only this implementation exists yet.

Package: vala-panel-sntray-common
Architecture: all
Depends: ${misc:Depends}
Description: Common files for StatusNotifier plugins
StatusNotifier is new D-Bus standard for system tray. It is shared both by Ubuntu Unity and KDE.
There is several plugins for show StatusNotifiers for different DEs, but for vala-panel only this implementation exists yet.
29 changes: 29 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: xfce4-sntray-plugin
Source: <https://github.com/rilian-la-te/xfce4-sntray-plugin>

Files: *
Copyright: <2014-2015> <Konstantin P. <[email protected]> >
License: LGPL-3.0+

Files: debian/*
Copyright: 2015 Konstantin P. <[email protected]>
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 <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in "/usr/share/common-licenses/LGPL-3".

1 change: 1 addition & 0 deletions debian/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README.md
48 changes: 48 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#!/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 --dbg-package=vala-panel-dbg
dh_strip --package=libvalapanel --dbg-package=libvalapanel-dbg
dh_strip --package=vala-panel-plugins-base --dbg-package=vala-panel-plugins-base-dbg
dh_strip --package=vala-panel-plugins-wnck --dbg-package=vala-panel-plugins-wnck-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)




1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
1 change: 1 addition & 0 deletions debian/vala-panel-sntray-common.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/share/locale/*
2 changes: 2 additions & 0 deletions debian/vala-panel-sntray.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/share/glib-2.0/schemas/*
usr/lib/*/vala-panel/*
20 changes: 20 additions & 0 deletions debian/vala-panel.doc-base.EX
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Document: vala-panel
Title: Debian vala-panel Manual
Author: <insert document author here>
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
2 changes: 2 additions & 0 deletions debian/xfce4-sntray-plugin.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/*/xfce4/*
usr/share/xfce4/*

0 comments on commit 153db7d

Please sign in to comment.