Page Menu
Home
Solus
Search
Configure Global Search
Log In
Files
F8711
0001-Initial-commit-of-Back-in-Time.patch
DonHugo (Roland)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
DonHugo
Dec 21 2016, 10:35 PM
2016-12-21 22:35:27 (UTC+0)
Size
7 KB
Referenced Files
None
Subscribers
None
0001-Initial-commit-of-Back-in-Time.patch
View Options
From b4ca5c6090510458d7995740d27a27433098c3b1 Mon Sep 17 00:00:00 2001
From: John Doe <johndoe@example.com>
Date: Wed, 21 Dec 2016 23:35:02 +0100
Subject: [PATCH] Initial commit of Back in Time
---
Makefile | 1 +
files/keyring1.1.12.patch | 24 ++++++++++++++++++++++
files/pkexec1.1.12.patch | 33 ++++++++++++++++++++++++++++++
package.yml | 49 +++++++++++++++++++++++++++++++++++++++++++++
pspec_x86_64.xml | 51 +++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 158 insertions(+)
create mode 100644 Makefile
create mode 100644 files/keyring1.1.12.patch
create mode 100644 files/pkexec1.1.12.patch
create mode 100644 package.yml
create mode 100644 pspec_x86_64.xml
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0a42375
--- /dev/null
+++ b/Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
diff --git a/files/keyring1.1.12.patch b/files/keyring1.1.12.patch
new file mode 100644
index 0000000..4d4ce45
--- /dev/null
+++ b/files/keyring1.1.12.patch
@@ -0,0 +1,24 @@
+diff --git a/common/tools.py b/common/tools.py
+index e1da01b..c13fb06 100644
+--- a/common/tools.py
++++ b/common/tools.py
+@@ -597,6 +597,8 @@ def keyring_supported():
+ except: pass
+ try: backends.append(keyring.backends.kwallet.Keyring)
+ except: pass
++ try: backends.append(keyring.backends.kwallet.DBusKeyring)
++ except: pass
+ try: backends.append(keyring.backend.SecretServiceKeyring)
+ except: pass
+ try: backends.append(keyring.backend.GnomeKeyring)
+@@ -607,9 +609,9 @@ def keyring_supported():
+ displayName = keyring.get_keyring().__module__
+ except:
+ displayName = str(keyring.get_keyring())
+- if backends:
++ if backends and isinstance(keyring.get_keyring(), tuple(backends)):
+ logger.debug("Found appropriate keyring '{}'".format(displayName))
+- return isinstance(keyring.get_keyring(), tuple(backends))
++ return True
+ logger.debug("No appropriate keyring found. '{}' can't be used with BackInTime".format(displayName))
+ return False
diff --git a/files/pkexec1.1.12.patch b/files/pkexec1.1.12.patch
new file mode 100644
index 0000000..db15bc0
--- /dev/null
+++ b/files/pkexec1.1.12.patch
@@ -0,0 +1,33 @@
+diff --git a/qt4/backintime-qt4-root.desktop b/qt4/backintime-qt4-root.desktop
+index fef451b..61794c6 100644
+--- a/qt4/backintime-qt4-root.desktop
++++ b/qt4/backintime-qt4-root.desktop
+@@ -1,7 +1,7 @@
+ [Desktop Entry]
+ Name=Back In Time (root)
+ GenericName=Backup
+-Exec=pkexec backintime-qt4
++Exec=/usr/bin/backintime-qt4_polkit %f
+ Icon=document-save
+ Terminal=false
+ X-MultipleArgs=false
+diff --git a/qt4/backintime-qt4_polkit b/qt4/backintime-qt4_polkit
+new file mode 100644
+index 0000000..4a04190
+--- /dev/null
++++ b/qt4/backintime-qt4_polkit
+@@ -0,0 +1,2 @@
++#!/bin/sh
++pkexec --disable-internal-agent "/usr/bin/backintime-qt4" "$@"
+diff --git a/qt4/configure b/qt4/configure
+index 68803ca..a96e772 100755
+--- a/qt4/configure
++++ b/qt4/configure
+@@ -146,6 +146,7 @@ addNewline
+ addComment "application"
+ addInstallDir "/bin"
+ addInstallFile "backintime-qt4" "/bin" "755"
++addInstallFile "backintime-qt4_polkit" "/bin" "755"
+ addNewline
+
+ addComment "dbus service"
diff --git a/package.yml b/package.yml
new file mode 100644
index 0000000..e03ce2e
--- /dev/null
+++ b/package.yml
@@ -0,0 +1,49 @@
+name : backintime
+version : 1.1.12
+release : 1
+source :
+ - https://github.com/bit-team/backintime/archive/v1.1.12.tar.gz : 76036de6abdf5a2b2fbf66311c369dce7e3755fa778e5f01aa49bc2be68eb9f1
+license : GPL-2.0
+component : PLEASE FILL ME IN
+summary : Simple backup system inspired from the Flyback Project and TimeVault.
+description: |
+ Simple backup system inspired from the Flyback Project and TimeVault.
+
+builddeps:
+ - python3
+
+rundeps :
+ - rsync
+# - dcron # does not work
+ - cronie
+ - openssh
+ - python-keyring
+ - python3-dbus
+ - polkit
+ - libnotify
+ - python3-qt4
+ - libicu
+ - xdpyinfo
+ - encfs # optional
+ - sshfs-fuse # optional
+ - meld # optional
+
+setup : |
+ %patch -p1 < $pkgfiles/keyring1.1.12.patch
+ %patch -p1 < $pkgfiles/pkexec1.1.12.patch
+ cd $workdir/common
+ ./configure --python3 --no-fuse-group
+ cd $workdir/qt4
+ ./configure --python3
+
+build : |
+ cd $workdir/common
+ %make
+ cd $workdir/qt4
+ %make
+
+install : |
+ cd $workdir/common
+ %make_install
+ cd $workdir/qt4
+ %make_install
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
new file mode 100644
index 0000000..db22586
--- /dev/null
+++ b/pspec_x86_64.xml
@@ -0,0 +1,51 @@
+<PISI>
+ <Source>
+ <Name>backintime</Name>
+ <Packager>
+ <Name>Roland Goers</Name>
+ <Email>rolandgoers1985@gmail.com</Email>
+ </Packager>
+ <License>GPL-2.0</License>
+ <PartOf>PLEASE FILL ME IN</PartOf>
+ <Summary xml:lang="en">Simple backup system inspired from the Flyback Project and TimeVault.</Summary>
+ <Description xml:lang="en">Simple backup system inspired from the Flyback Project and TimeVault.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>backintime</Name>
+ <Summary xml:lang="en">Simple backup system inspired from the Flyback Project and TimeVault.</Summary>
+ <Description xml:lang="en">Simple backup system inspired from the Flyback Project and TimeVault.
+</Description>
+ <PartOf>PLEASE FILL ME IN</PartOf>
+ <Files>
+ <Path fileType="config">/etc/dbus-1/system.d/net.launchpad.backintime.serviceHelper.conf</Path>
+ <Path fileType="config">/etc/xdg/autostart/backintime.desktop</Path>
+ <Path fileType="executable">/usr/bin</Path>
+ <Path fileType="data">/usr/share/applications/backintime-qt4-root.desktop</Path>
+ <Path fileType="data">/usr/share/applications/backintime-qt4.desktop</Path>
+ <Path fileType="data">/usr/share/backintime</Path>
+ <Path fileType="data">/usr/share/bash-completion/completions/backintime</Path>
+ <Path fileType="data">/usr/share/dbus-1/system-services/net.launchpad.backintime.serviceHelper.service</Path>
+ <Path fileType="doc">/usr/share/doc</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/16x16/actions/show-hidden.svg</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/22x22/actions/show-hidden.svg</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/24x24/actions/show-hidden.svg</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/32x32/actions/show-hidden.svg</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/48x48/actions/show-hidden.svg</Path>
+ <Path fileType="data">/usr/share/icons/hicolor/scalable/actions/show-hidden.svg</Path>
+ <Path fileType="localedata">/usr/share/locale</Path>
+ <Path fileType="man">/usr/share/man</Path>
+ <Path fileType="data">/usr/share/polkit-1/actions/net.launchpad.backintime.policy</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2016-12-21</Date>
+ <Version>1.1.12</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Roland Goers</Name>
+ <Email>rolandgoers1985@gmail.com</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file
--
2.11.0
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5447
Default Alt Text
0001-Initial-commit-of-Back-in-Time.patch (7 KB)
Attached To
Mode
T729: Back In Time
Attached
Detach File
Event Timeline
Log In to Comment