Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267633 - app-backup/backintime to be included in Portage
Summary: app-backup/backintime to be included in Portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://backintime.le-web.org
Whiteboard: sunrise suggested
Keywords: EBUILD, InVCS
Depends on:
Blocks:
 
Reported: 2009-04-27 09:17 UTC by Matija "hook" Šuklje
Modified: 2010-09-16 19:32 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
backintime-0.9.22.ebuild (backintime-0.9.22.ebuild,671 bytes, text/plain)
2009-04-27 09:22 UTC, Matija "hook" Šuklje
Details
backintime-0.9.26.ebuild (backintime-0.9.26.ebuild,951 bytes, text/plain)
2009-05-21 13:59 UTC, Maurice Gilden
Details
backintime-0.9.26-r1.ebuild (backintime-0.9.26-r1.ebuild,962 bytes, text/plain)
2009-06-20 19:45 UTC, Maurice Gilden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matija "hook" Šuklje 2009-04-27 09:17:15 UTC
It's a small and userfriendly backup tool written in Python using 'rdiff' and with optional KDE4 and GNOME GUI's.

From its website:
Back In Time is a simple backup tool for Linux inspired from “flyback project” and “TimeVault”. The backup is done by taking snapshots of a specified set of directories.

It'd be great if Gentoo users had (even) more choice and this backup app was included in portage.
Comment 1 Matija "hook" Šuklje 2009-04-27 09:22:11 UTC
Created attachment 189594 [details]
backintime-0.9.22.ebuild

After I convienced Back in Time's author to write a Makefile, I finally succeeded in writing a working ebuild!

It works, execpt for the USE="gnome", because there is no python-glade2 ebuild in Portage, which is needed for the GNOME GUI.

The USE="kde" works just fine though :]
Comment 2 Matija "hook" Šuklje 2009-04-27 11:02:18 UTC
OK, I just noticed that my ebuild doesn't force the USE flag(s) onto the configuration script of the source. 

Basically they get ignored (the 'kde' flag as well) and the configuratio script just chooses what it finds (e.g. KDE if it's installed, wheter there's a USE flag set or not). I'll have to improve my ebuilding skills to get it working right, I suppose :P
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-29 15:44:38 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.
Heuristics show that no Gentoo developer has commented on your ebuild.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 4 Maurice Gilden 2009-05-21 13:59:49 UTC
Created attachment 192035 [details]
backintime-0.9.26.ebuild

I rewrote the ebuild of version 0.9.22 a bit for the current newest version 0.9.26. It should now also support the kde and gnome use flags properly. The gnome version works fine on x86 but I don't have kde4 installed so I can't test that.
Comment 5 Maurice Gilden 2009-05-21 15:59:34 UTC
Apparently Back in Time doesn't work with rsync 3.0.5 if that's compiled without the xattr use flag because rsync crashes. I don't know if that's a bug in rsync or if Back in Time wouldn't work even if rsync didn't crash.
Comment 6 Michael Duelli 2009-06-20 12:09:02 UTC
(In reply to comment #4)
> Created an attachment (id=192035) [edit]
> backintime-0.9.26.ebuild

I just tested your ebuild for my ~x86, KDE4 system.

Here are my comments:
- I change ebuild dependency from ">= kde-base/kde-4" to ">=kde-base/kdelibs-4" since "kde-base/kde-4" cannot be found.
- The KDE menu entry for "backintime (root)" does not start up because it wants to use kdesudo which actually must be kdesu (possibly upstream bug)
- Why am I forced to enable the webkit use flag for PyQt4?

Comment 7 Maurice Gilden 2009-06-20 19:41:38 UTC
Thanks for testing it. I have submitted a bugreport regarding kdesudo. A quick fix for it would be to create a symlink from kdesudo to kdesu (they should be compatible).

The webkit useflag comes from pykde. I don't know why it's in there but there's probably a reason for it.
Comment 8 Maurice Gilden 2009-06-20 19:45:58 UTC
Created attachment 195301 [details]
backintime-0.9.26-r1.ebuild

kde -> kdelibs
Comment 9 Christian Strahl 2009-08-12 11:41:37 UTC
If i try to install the backintime-0.9.26-r1.ebuild i get the following error:

# emerge -av backintime

These are the packages that would be merged, in order:

Calculating dependencies \

!!! Invalid or corrupt dependency specification: 

invalid atom: 'net-misc/rsync[xattr]'

('ebuild', '/', 'app-backup/backintime-0.9.26-r1', 'merge')

dev-lang/python net-misc/rsync[xattr] gnome-base/libglade dev-python/notify-python

This package can not be installed. Please notify the 'app-
backup/backintime-0.9.26-r1' package maintainer about this problem.
... done!
Comment 10 Christian Strahl 2009-08-12 11:42:37 UTC
# emerge --info
Portage 2.2_rc38 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.1
Timestamp of tree: Wed, 12 Aug 2009 11:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -fweb -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -fweb -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.intergenia.de ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amazon amd amd64 apache2 apm applet aqua_theme asf async automount avahi berkdb bonobo bzip2 c++ cairo calendar cdda cddb cdio cdr cdrom cgi cli cpudetection cracklib crypt css ctype cups custom-optimization cvs cvsgraph dbus de_tvtoday dhcp directfb divx divx4linux dpms dri dts dvb dvbplayer dvd dvdr emerald emul-linux-x86 encode exif ext-png fat fbcon fbcondecor fbsplash ffmpeg flac flash fortran fpx ftp gaim gdbm gecko gedit gif gimp gimpprint ginac glade glitz gnome gnome-keyring gnome-print gnomecanvas gnomedb gpm gps graphviz grub gs gsl gstreamer gtk gtkhtml gzip h323 hal hddtemp hfs icons iconv icq id3 ieee1394 imap inkjar ipod ipsec ipv6 isdnlog java jfs jpeg jpeg2k lame libnotify libvisual live lm_sensors logitech-mouse mad math matroska ming mmx mmxext mng mod moonlight mouse mozbranding mozilla moznopango mp2 mp3 mp4 mp4live mpd-mad mpe mpeg mpeg2 mpeg4 mplayer mplayer-bin mudflap multilib musepack mysql nautilus ncurses net nls no-seamonkey nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp pam pcap pcapnav pcre pdf perl php plotutils png postscript pppd print ps pulseaudio python rar readline realmedia reflection reiser4 reiserfs samba sblive scanner sensord session sftp simplexml skins slang smp spell spl sql sse sse-filters sse2 ssl stream svg svgz sysfs tcpd themes theora thesaurus threads thunderbird tidy tiff totem transcode truetype tv_check type1 unicode usb userlocales utf8 vcd vdr vfat vim vim-syntax vorbis wav webdav wifi winbind wireshark wma wmf x264 xfs xine xinerama xml xmldoclet xmlreader xmlwriter xorg xpm xprint xscreensaver xsettings xsl xslt xulrunner xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Maurice Gilden 2009-08-14 09:37:48 UTC
(In reply to comment #9)
> ...

I can't reproduce that error on my system. I guess it might have something to do with different portage versions (I'm using 2.1.6.13). I won't upgrade to 2.2 yet so I can't really test it.

Some things you could try:
1) add EAPI="2" to the beginning of the ebuild
2) remove [xattr] from the ebuild and build rsync with the xattr use flag

I would also like to know the output of "emerge -pv rsync".
Comment 12 Christian Strahl 2009-08-14 09:43:26 UTC
(In reply to comment #11)
> 1) add EAPI="2" to the beginning of the ebuild

this solved the problem for me, thanks!
Comment 13 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-14 13:28:38 UTC
app-backup/backintime is now in cvs.
thanks for your contribution.
have fun!
Thilo
Comment 14 Helmut Eberharter 2010-09-16 19:32:52 UTC
1.0 is released. ebuild works by just changing $PF, but i commented out the patches).