aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2018-07-01 15:31:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-07 06:54:13 +0700
commit9e112ca8420281039fc4a1557783d42614357549 (patch)
tree3d7abeb13eb5f1d56b11be535aff351bc5a07a07
parent1495851470bda125cff4ea72de6d161ea51da242 (diff)
system/ddrescue-gui: Updated for version 2.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/ddrescue-gui/ddrescue-gui.170
-rw-r--r--system/ddrescue-gui/ddrescue-gui.SlackBuild18
-rw-r--r--system/ddrescue-gui/ddrescue-gui.desktop11
-rw-r--r--system/ddrescue-gui/ddrescue-gui.info8
4 files changed, 97 insertions, 10 deletions
diff --git a/system/ddrescue-gui/ddrescue-gui.1 b/system/ddrescue-gui/ddrescue-gui.1
new file mode 100644
index 000000000000..cf926b591320
--- /dev/null
+++ b/system/ddrescue-gui/ddrescue-gui.1
@@ -0,0 +1,70 @@
+.\" Man page generated from reStructuredText.
+.
+.TH "DDRESCUE-GUI" "1" "Jun 30, 2018" "2.0.0" "DDRescue-GUI"
+.SH NAME
+ddrescue-gui \- DDRescue-GUI Developer Documentation
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.sp
+\fBNOTE:\fP
+.INDENT 0.0
+.INDENT 3.5
+Most of the docstrings in this project don\(aqt follow any particular format at this time, and don\(aqt always provide helpful information. This will be remedied in due course.
+.UNINDENT
+.UNINDENT
+.sp
+Contents:
+.SH DOCUMENTATION FOR THE MAIN EXECUTABLE FILE (DDRESCUE_GUI.PY)
+.SH DOCUMENTATION FOR THE PY2APP SETUP FILE (SETUP.PY)
+.SH DOCUMENTATION FOR THE UNIT TESTS RUNNER FILE (TESTS.PY)
+.SH DOCUMENTATION FOR THE UNIT TESTS PACKAGE (TESTS)
+.SH DOCUMENTATION FOR THE TOOLS PACKAGE (TOOLS)
+.SH DOCUMENTATION FOR THE BACKEND TOOLS MODULE IN THE TOOLS PACKAGE (TOOLS/TOOLS.PY)
+.SH DOCUMENTATION FOR THE DDRESCUE TOOLS PACKAGE IN THE TOOLS PACKAGE (TOOLS/DDRESCUETOOLS)
+.SH DOCUMENTATION FOR THE SETUP MODULE IN THE DDRESCUE TOOLS PACKAGE IN THE TOOLS PACKAGE (TOOLS/DDRESCUETOOLS/SETUP.PY)
+.SH DOCUMENTATION FOR THE DECORATORS MODULE IN THE DDRESCUE TOOLS PACKAGE IN THE TOOLS PACKAGE (TOOLS/DDRESCUETOOLS/DECORATORS.PY)
+.SH DOCUMENTATION FOR THE ALLVERSIONS MODULE IN THE DDRESCUE TOOLS PACKAGE IN THE TOOLS PACKAGE (TOOLS/DDRESCUETOOLS/ALLVERSIONS.PY)
+.SH DOCUMENTATION FOR THE DDRESCUE TOOLS FOR DDRESCUE VERSION 1.14 IN THE DDRESCUE TOOLS PACKAGE IN THE TOOLS PACKAGE (TOOLS/DDRESCUETOOLS/ONE_POINT_FORTEEN.PY)
+.SH DOCUMENTATION FOR THE DDRESCUE TOOLS FOR DDRESCUE VERSION 1.18 IN THE DDRESCUE TOOLS PACKAGE IN THE TOOLS PACKAGE (TOOLS/DDRESCUETOOLS/ONE_POINT_EIGHTEEN.PY)
+.SH DOCUMENTATION FOR THE DDRESCUE TOOLS FOR DDRESCUE VERSION 1.20 IN THE DDRESCUE TOOLS PACKAGE IN THE TOOLS PACKAGE (TOOLS/DDRESCUETOOLS/ONE_POINT_TWENTY.PY)
+.SH DOCUMENTATION FOR THE DDRESCUE TOOLS FOR DDRESCUE VERSION 1.21 IN THE DDRESCUE TOOLS PACKAGE IN THE TOOLS PACKAGE (TOOLS/DDRESCUETOOLS/ONE_POINT_TWENTY_ONE.PY)
+.SH DOCUMENTATION FOR THE DDRESCUE TOOLS FOR DDRESCUE VERSION 1.22 IN THE DDRESCUE TOOLS PACKAGE IN THE TOOLS PACKAGE (TOOLS/DDRESCUETOOLS/ONE_POINT_TWENTY_TWO.PY)
+.INDENT 0.0
+.IP \(bu 2
+genindex
+.IP \(bu 2
+modindex
+.IP \(bu 2
+search
+.UNINDENT
+.SH AUTHOR
+Hamish McIntyre-Bhatty
+.SH COPYRIGHT
+2013-2018, Hamish McIntyre-Bhatty
+.\" Generated by docutils manpage writer.
+.
diff --git a/system/ddrescue-gui/ddrescue-gui.SlackBuild b/system/ddrescue-gui/ddrescue-gui.SlackBuild
index 67876f102d94..4e144bc7d1c9 100644
--- a/system/ddrescue-gui/ddrescue-gui.SlackBuild
+++ b/system/ddrescue-gui/ddrescue-gui.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ddrescue-gui
-VERSION=${VERSION:-1.7.2}
+VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,7 +56,7 @@ fi
set -e
-SRCVER=${SRCVER:-1.7.2~otherdistro~update1-0ubuntu1~ppa1}
+SRCVER=${SRCVER:-2.0.0~otherdistro-0ubuntu1~ppa1}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -74,18 +74,24 @@ find -L . \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-DATA="GetDevInfo Tests Tools images other AuthenticationDialog.py DDRescue-GUI.py Tests.py"
+DATA="Tests Tools docs images other DDRescue_GUI.py tests.py"
mkdir -p $PKG/usr/share/$PRGNAM
-cp -a $DATA $PKG/usr/share/$PRGNAM
-install -D -m644 ddrescue-gui.desktop $PKG/usr/share/applications/ddrescue-gui.desktop
-install -D -m644 ddrescue-gui.png $PKG/usr/share/pixmaps/ddrescue-gui.png
+cp -r $DATA $PKG/usr/share/$PRGNAM
+
+install -Dm644 org.hamishmb.ddrescue-gui.policy $PKG/usr/share/polkit-1/actions/org.hamishmb.ddrescue-gui.policy
+install -Dm644 $CWD/ddrescue-gui.desktop $PKG/usr/share/applications/ddrescue-gui.desktop
+install -Dm644 ddrescue-gui.png $PKG/usr/share/pixmaps/ddrescue-gui.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp debian/changelog $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog
cp debian/copyright $PKG/usr/doc/$PRGNAM-$VERSION/copyright
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+install -Dm644 $CWD/ddrescue-gui.1 $PKG/usr/man/man1/ddrescue-gui.1
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/system/ddrescue-gui/ddrescue-gui.desktop b/system/ddrescue-gui/ddrescue-gui.desktop
new file mode 100644
index 000000000000..480708e807d9
--- /dev/null
+++ b/system/ddrescue-gui/ddrescue-gui.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=DDRescue-GUI
+GenericName=GUI Frontend for ddrescue
+Comment=Easily recover data graphically with DDRescue-GUI
+Exec=python3 /usr/share/ddrescue-gui/DDRescue_GUI.py
+Icon=ddrescue-gui
+Terminal=false
+Type=Application
+Categories=System;
+StartupNotify=true
diff --git a/system/ddrescue-gui/ddrescue-gui.info b/system/ddrescue-gui/ddrescue-gui.info
index 4ab6e87e7ded..d7f4855731b1 100644
--- a/system/ddrescue-gui/ddrescue-gui.info
+++ b/system/ddrescue-gui/ddrescue-gui.info
@@ -1,10 +1,10 @@
PRGNAM="ddrescue-gui"
-VERSION="1.7.2"
+VERSION="2.0.0"
HOMEPAGE="https://launchpad.net/ddrescue-gui"
-DOWNLOAD="https://launchpad.net/ddrescue-gui/1.x/1.7.2/+download/ddrescue-gui_1.7.2~otherdistro~update1-0ubuntu1~ppa1.tar.gz"
-MD5SUM="b8ee1fb653cd6b4455720e26af1d4c7e"
+DOWNLOAD="https://launchpad.net/ddrescue-gui/2.x/2.0.0/+download/ddrescue-gui_2.0.0~otherdistro-0ubuntu1~ppa1.tar.gz"
+MD5SUM="bf73369066ec729b33f67f0599f78a26"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="wxPython lshw BeautifulSoup4"
+REQUIRES="wxPython4 getdevinfo"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"