Skip to content

Commit

Permalink
Merge pull request #3 from tudo75/0.1.0
Browse files Browse the repository at this point in the history
added bedian package support
  • Loading branch information
tudo75 authored Aug 15, 2022
2 parents d7b1258 + 5a0226c commit 592fd86
Show file tree
Hide file tree
Showing 11 changed files with 89 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tests
*.pot
*.mo
*.deb
*.ddeb

build
config.*
Expand All @@ -19,6 +20,13 @@ stamp-h1
*.pc
.tarball-version
.version
debian/build
debian/tmp
debian/xed-sessionsaver-plugin
debian/.debhelper
debian/xed-sessionsaver-plugin.substvars
debian/xed-sessionsaver-plugin.debhelper.log
debian/files

*.gcda
*.gcno
Expand Down
7 changes: 7 additions & 0 deletions create-deb.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#/bin/bash
sudo dh clean
sudo dh binary

# when run in the docker container
# fakeroot dh clean
# fakeroot dh binary
2 changes: 1 addition & 1 deletion data/sessionsaver-plugin.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Module=sessionsaver
IAge=2
Name=SessionSaver
Version=v0.0.3
Version=v0.1.0
Description=Xed porting of the Gedit sessionsaver plugin
Comment=Xed porting of the Gedit sessionsaver plugin
Icon=system-software-install
Expand Down
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
xed-sessionsaver-plugin (0.1.0) una; urgency=medium

* Initial release.

-- tudo75 <tudo75@hotmail.com> Tue, 16 Aug 2022 00:20:41 +0000
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
21 changes: 21 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Source: xed-sessionsaver-plugin
Section: x11
Priority: optional
Maintainer: Nicola tudo75 Tudino <tudo75@hotmail.com>
Build-Depends: debhelper (>= 9),
meson,
dh-python,
gnome-common,
gnome-pkg-tools,
gobject-introspection (>= 0.9.12-4~),
intltool (>= 0.40.0),
libgirepository1.0-dev (>= 0.10.7-1~),
libglib2.0-dev (>= 2.30.0)
Standards-Version: 3.9.5
X-Python3-Version: >= 3.1

Package: xed-sessionsaver-plugin
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: SessionSaver Plugin for Xed written in Vala.

18 changes: 18 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Files: *
Copyright 2022 Nicola Tudino

This file is part of xed-sessionsaver-plugin.

xed-sessionsaver-plugin 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, version 3 of the License.

xed-sessionsaver-plugin 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 xed-sessionsaver-plugin. If not, see <http://www.gnu.org/licenses/>.

SPDX-License-Identifier: GPL-3.0-only
25 changes: 25 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
dh $@ --parallel

override_dh_missing:
dh_missing --list-missing
dh_missing --fail-missing

override_dh_auto_configure:
meson debian/build \
--prefix=/usr \
--buildtype=plain

override_dh_auto_clean:
-dh_auto_clean

override_dh_auto_install:
DESTDIR=${CURDIR}/debian/tmp \
ninja -v -C debian/build install

override_dh_auto_build:
ninja -v -C debian/build
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
1 change: 1 addition & 0 deletions debian/xed-sessionsaver-plugin.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# project name and programming language
project('com.github.tudo75.xed-sessionsaver-plugin', ['vala', 'c'], version: '0.0.3')
project('com.github.tudo75.xed-sessionsaver-plugin', ['vala', 'c'], version: '0.1.0')

assert('com.github.tudo75.xed-sessionsaver-plugin.gschema.xml'==meson.project_name() + '.gschema.xml', 'proj name and gschema file not the same')

Expand Down

0 comments on commit 592fd86

Please sign in to comment.