Skip to content

Commit 0ff4590

Browse files
committed
Initial release
0 parents  commit 0ff4590

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+12249
-0
lines changed

AUTHORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
Copyright (C) 2013 Tony George ([email protected])
3+

COPYING

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

INSTALL

Lines changed: 370 additions & 0 deletions
Large diffs are not rendered by default.

README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
TimeShift
2+
============
3+
4+
A system restore utility for Linux.

THANKS

Whitespace-only changes.

TODO

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
* Save only relevant settings to JSON files
3+
* Remove/Simplify official folders
4+
* Change package description
5+
* Implement file monitoring
6+
7+
single timeshift app
8+
9+
Restore
10+
---------
11+
--restore
12+
--restore "path"

build-binary

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
rm -rf ../builds
2+
bzr builddeb --native --build-dir ../builds/temp --result-dir ../builds
3+
ls -l ../builds

build-install

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
./build-binary
2+
sudo gdebi --non-interactive ../builds/timeshift*.deb
3+
echo "Finished"
4+
read dummy

build-installer

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/bash
2+
3+
rm -rfd ./installer/32bit/share
4+
rm -rfd ./installer/64bit/share
5+
6+
mkdir -p ./installer/32bit/share
7+
mkdir -p ./installer/64bit/share
8+
9+
cp -rfd -p --no-preserve=ownership -t ./installer/32bit/share ./src/share/*
10+
cp -rfd -p --no-preserve=ownership -t ./installer/64bit/share ./src/share/*
11+
12+
cp -rfd -p --no-preserve=ownership -t ./installer/32bit ./src/TimeShift.desktop
13+
cp -rfd -p --no-preserve=ownership -t ./installer/64bit ./src/TimeShift.desktop
14+
15+
chmod u+x ./installer/install.sh
16+
cp -rfd -p --no-preserve=ownership -t ./installer/32bit ./installer/install.sh
17+
cp -rfd -p --no-preserve=ownership -t ./installer/64bit ./installer/install.sh
18+
19+
makeself ./installer/32bit ./installer/timeshift-32bit-setup.run "TimeShift (32-bit)" ./install.sh
20+
makeself ./installer/64bit ./installer/timeshift-64bit-setup.run "TimeShift (64-bit)" ./install.sh
21+
22+
rm -rfd ./installer/32bit/share
23+
rm -rfd ./installer/64bit/share
24+
25+
rm -f ./installer/32bit/TimeShift.desktop
26+
rm -f ./installer/64bit/TimeShift.desktop
27+
28+
rm -f ./installer/32bit/makefile
29+
rm -f ./installer/64bit/makefile
30+
31+
rm -f ./installer/32bit/install.sh
32+
rm -f ./installer/64bit/install.sh

build-source

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
rm -rf ../builds
2+
bzr builddeb --source --native --build-dir ../builds/temp --result-dir ../builds
3+
ls -l ../builds

compile-install-translations

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#msgfmt -c po/ca.po -o build/locale/LC_MESSAGES/or/timeshift.mo
2+
3+
sudo locale-gen or_IN
4+
msgfmt -c -v -o timeshift.mo oriya.po
5+
sudo mkdir -p /usr/share/locale/or/LC_MESSAGES
6+
sudo cp timeshift.mo /usr/share/locale/or/LC_MESSAGES
7+
8+
echo "Finished"
9+
read dummy

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
timeshift (1.0.1) quantal; urgency=low
2+
3+
* Rev:1, 2013-10-05
4+
5+
* Initial Release
6+
7+
-- Tony George <[email protected]> Sat, 05 Oct 2013 10:00:00 +0530

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8

debian/control

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Source: timeshift
2+
Section: utils
3+
Priority: extra
4+
Maintainer: Tony George <[email protected]>
5+
Build-Depends: debhelper (>= 8.0.0), autotools-dev, valac, libgtk-3-dev, libgee-dev, libsoup2.4-dev, libjson-glib-dev
6+
Standards-Version: 3.9.3
7+
Homepage: http://teejeetech.blogspot.in/
8+
#Vcs-Git: git://git.debian.org/collab-maint/hello.git
9+
#Vcs-Browser: http://git.debian.org/?p=collab-maint/hello.git;a=summary
10+
11+
Package: timeshift
12+
Architecture: any
13+
Depends: ${shlibs:Depends}, ${misc:Depends}, libgtk-3-0, libgee2, rsync, gksu, libblkid1
14+
#Recommends:
15+
Description: A system restore utility for Linux
16+
TimeShift is a utility which provides features similar to "System Restore"
17+
in Windows and "Time Machine" in Mac OS. Snapshots of the file system are taken
18+
at regular intervals which can be restored at a later date
19+
to undo system changes. Snapshots can be restored from the running system
20+
or by booting from a Live CD.

debian/copyright

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: timeshift
3+
Source: <http://teejeetech.blogspot.com>
4+
5+
Files: *
6+
Copyright: 2013 Tony George <[email protected]>
7+
License: GPL-2+
8+
This package is free software; you can redistribute it and/or modify
9+
it under the terms of the GNU General Public License as published by
10+
the Free Software Foundation; either version 2 of the License, or
11+
(at your option) any later version.
12+
.
13+
This package is distributed in the hope that it will be useful,
14+
but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
GNU General Public License for more details.
17+
.
18+
You should have received a copy of the GNU General Public License
19+
along with this program. If not, see <http://www.gnu.org/licenses/>
20+
.
21+
On Debian systems, the complete text of the GNU General
22+
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
23+

debian/docs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
doc/README
2+
doc/changelog
3+

debian/rules

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/make -f
2+
# -*- makefile -*-
3+
# Sample debian/rules that uses debhelper.
4+
# This file was originally written by Joey Hess and Craig Small.
5+
# As a special exception, when this file is copied by dh-make into a
6+
# dh-make output file, you may use that output file without restriction.
7+
# This special exception was added by Craig Small in version 0.37 of dh-make.
8+
9+
# Uncomment this to turn on verbose mode.
10+
#export DH_VERBOSE=1
11+
12+
override_dh_usrlocal:
13+
14+
%:
15+
dh $@ --with autotools-dev

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)

doc/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/teejee/projects/timeshift/README

doc/changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/teejee/projects/timeshift/debian/changelog

extract-strings

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
xgettext --language=C --keyword=_ --copyright-holder='Tony George ([email protected])' --package-name='timeshift' --package-version='1.0' --msgid-bugs-address='[email protected]' --escape --sort-output -o timeshift.pot src/*.vala
2+
3+
echo "Finished"
4+
read dummy

installer/64bit/timeshift

492 KB
Binary file not shown.

installer/install.sh

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/bin/bash
2+
3+
prefix=/usr
4+
bindir=${prefix}/bin
5+
sharedir=${prefix}/share
6+
localedir=${sharedir}/locale
7+
launcherdir=${sharedir}/applications
8+
9+
echo "Installing files..."
10+
11+
mkdir -p "${bindir}"
12+
mkdir -p "${sharedir}"
13+
mkdir -p "${launcherdir}"
14+
mkdir -p "${sharedir}/timeshift"
15+
mkdir -p "${sharedir}/pixmaps"
16+
mkdir -p "/mnt/timeshift"
17+
18+
#binary
19+
install -m 0755 timeshift "${bindir}"
20+
21+
#shared files
22+
cp -dpr --no-preserve=ownership -t "${sharedir}/timeshift" ./share/timeshift/*
23+
chmod --recursive 0755 ${sharedir}/timeshift/*
24+
25+
#launcher
26+
install -m 0755 TimeShift.desktop "${launcherdir}"
27+
28+
#app icon
29+
install -m 0755 ./share/pixmaps/timeshift.png "${sharedir}/pixmaps/"
30+
31+
32+
if [ $? -eq 0 ]; then
33+
echo "TimeShift was installed successfully"
34+
echo "Use the shortcut in the application menu or run: sudo timeshift"
35+
else
36+
echo "Installation failed!"
37+
exit 1
38+
fi

0 commit comments

Comments
 (0)