Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
teejee2008 committed Oct 5, 2013
0 parents commit 0ff4590
Show file tree
Hide file tree
Showing 56 changed files with 12,249 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

Copyright (C) 2013 Tony George (teejee2008@gmail.com)

674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

370 changes: 370 additions & 0 deletions INSTALL

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TimeShift
============

A system restore utility for Linux.
Empty file added THANKS
Empty file.
12 changes: 12 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

* Save only relevant settings to JSON files
* Remove/Simplify official folders
* Change package description
* Implement file monitoring

single timeshift app

Restore
---------
--restore
--restore "path"
3 changes: 3 additions & 0 deletions build-binary
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
rm -rf ../builds
bzr builddeb --native --build-dir ../builds/temp --result-dir ../builds
ls -l ../builds
4 changes: 4 additions & 0 deletions build-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
./build-binary
sudo gdebi --non-interactive ../builds/timeshift*.deb
echo "Finished"
read dummy
32 changes: 32 additions & 0 deletions build-installer
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/bash

rm -rfd ./installer/32bit/share
rm -rfd ./installer/64bit/share

mkdir -p ./installer/32bit/share
mkdir -p ./installer/64bit/share

cp -rfd -p --no-preserve=ownership -t ./installer/32bit/share ./src/share/*
cp -rfd -p --no-preserve=ownership -t ./installer/64bit/share ./src/share/*

cp -rfd -p --no-preserve=ownership -t ./installer/32bit ./src/TimeShift.desktop
cp -rfd -p --no-preserve=ownership -t ./installer/64bit ./src/TimeShift.desktop

chmod u+x ./installer/install.sh
cp -rfd -p --no-preserve=ownership -t ./installer/32bit ./installer/install.sh
cp -rfd -p --no-preserve=ownership -t ./installer/64bit ./installer/install.sh

makeself ./installer/32bit ./installer/timeshift-32bit-setup.run "TimeShift (32-bit)" ./install.sh
makeself ./installer/64bit ./installer/timeshift-64bit-setup.run "TimeShift (64-bit)" ./install.sh

rm -rfd ./installer/32bit/share
rm -rfd ./installer/64bit/share

rm -f ./installer/32bit/TimeShift.desktop
rm -f ./installer/64bit/TimeShift.desktop

rm -f ./installer/32bit/makefile
rm -f ./installer/64bit/makefile

rm -f ./installer/32bit/install.sh
rm -f ./installer/64bit/install.sh
3 changes: 3 additions & 0 deletions build-source
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
rm -rf ../builds
bzr builddeb --source --native --build-dir ../builds/temp --result-dir ../builds
ls -l ../builds
9 changes: 9 additions & 0 deletions compile-install-translations
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#msgfmt -c po/ca.po -o build/locale/LC_MESSAGES/or/timeshift.mo

sudo locale-gen or_IN
msgfmt -c -v -o timeshift.mo oriya.po
sudo mkdir -p /usr/share/locale/or/LC_MESSAGES
sudo cp timeshift.mo /usr/share/locale/or/LC_MESSAGES

echo "Finished"
read dummy
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
timeshift (1.0.1) quantal; urgency=low

* Rev:1, 2013-10-05

* Initial Release

-- Tony George <tony.george.kol@gmail.com> Sat, 05 Oct 2013 10:00:00 +0530
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8
20 changes: 20 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Source: timeshift
Section: utils
Priority: extra
Maintainer: Tony George <tony.george.kol@gmail.com>
Build-Depends: debhelper (>= 8.0.0), autotools-dev, valac, libgtk-3-dev, libgee-dev, libsoup2.4-dev, libjson-glib-dev
Standards-Version: 3.9.3
Homepage: http://teejeetech.blogspot.in/
#Vcs-Git: git://git.debian.org/collab-maint/hello.git
#Vcs-Browser: http://git.debian.org/?p=collab-maint/hello.git;a=summary

Package: timeshift
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libgtk-3-0, libgee2, rsync, gksu, libblkid1
#Recommends:
Description: A system restore utility for Linux
TimeShift is a utility which provides features similar to "System Restore"
in Windows and "Time Machine" in Mac OS. Snapshots of the file system are taken
at regular intervals which can be restored at a later date
to undo system changes. Snapshots can be restored from the running system
or by booting from a Live CD.
23 changes: 23 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: timeshift
Source: <http://teejeetech.blogspot.com>

Files: *
Copyright: 2013 Tony George <tony.george.kol@gmail.com>
License: GPL-2+
This package 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; either version 2 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 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 General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

3 changes: 3 additions & 0 deletions debian/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
doc/README
doc/changelog

15 changes: 15 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

override_dh_usrlocal:

%:
dh $@ --with autotools-dev
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 doc/README
1 change: 1 addition & 0 deletions doc/changelog
4 changes: 4 additions & 0 deletions extract-strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
xgettext --language=C --keyword=_ --copyright-holder='Tony George (teejee2008@gmail.com)' --package-name='timeshift' --package-version='1.0' --msgid-bugs-address='teejee2008@gmail.com' --escape --sort-output -o timeshift.pot src/*.vala

echo "Finished"
read dummy
Binary file added installer/64bit/timeshift
Binary file not shown.
38 changes: 38 additions & 0 deletions installer/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/bin/bash

prefix=/usr
bindir=${prefix}/bin
sharedir=${prefix}/share
localedir=${sharedir}/locale
launcherdir=${sharedir}/applications

echo "Installing files..."

mkdir -p "${bindir}"
mkdir -p "${sharedir}"
mkdir -p "${launcherdir}"
mkdir -p "${sharedir}/timeshift"
mkdir -p "${sharedir}/pixmaps"
mkdir -p "/mnt/timeshift"

#binary
install -m 0755 timeshift "${bindir}"

#shared files
cp -dpr --no-preserve=ownership -t "${sharedir}/timeshift" ./share/timeshift/*
chmod --recursive 0755 ${sharedir}/timeshift/*

#launcher
install -m 0755 TimeShift.desktop "${launcherdir}"

#app icon
install -m 0755 ./share/pixmaps/timeshift.png "${sharedir}/pixmaps/"


if [ $? -eq 0 ]; then
echo "TimeShift was installed successfully"
echo "Use the shortcut in the application menu or run: sudo timeshift"
else
echo "Installation failed!"
exit 1
fi
Loading

0 comments on commit 0ff4590

Please sign in to comment.