public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-misc/tails-installer/, app-misc/tails-installer/files/
@ 2016-04-08  4:05 Austin English
  0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-04-08  4:05 UTC (permalink / raw
  To: gentoo-commits

commit:     0135da7291c4ad7df83d763db304416ce3d93ad1
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  8 04:03:44 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Apr  8 04:04:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0135da72

app-misc/tails-installer: add tails-installer-4.4.8

Original ebuild by Miguel Angel Marco Buzunariz <mmarco <AT> unizar.es>, with
improvements from Pocho <poncho <AT> spahan.ch>, and some further tweaks and a
version bump by Austin English <wizardedit <AT> gentoo.org>

Package-Manager: portage-2.2.26

 app-misc/tails-installer/Manifest                  |  1 +
 .../tails-installer/files/fix-desktop-file.patch   | 28 +++++++++++++
 app-misc/tails-installer/files/sgdisk.patch        | 29 +++++++++++++
 app-misc/tails-installer/metadata.xml              | 11 +++++
 .../tails-installer/tails-installer-4.4.8.ebuild   | 49 ++++++++++++++++++++++
 5 files changed, 118 insertions(+)

diff --git a/app-misc/tails-installer/Manifest b/app-misc/tails-installer/Manifest
new file mode 100644
index 0000000..7fb24ed
--- /dev/null
+++ b/app-misc/tails-installer/Manifest
@@ -0,0 +1 @@
+DIST tails-installer-4.4.8.tar.gz 332532 SHA256 09ea129474760bae44f46f208af2348cc65c42524ce62e34f0ac209ce52fe8b1 SHA512 3a15d31d54ae17c12c1ba8346782f26678fbabcdd99582a5b43c75f520001ec01e5cc09b1832d0f7d346852f9eb30114135c92caff8690281469f35f23806a12 WHIRLPOOL b1ff3a988c05e3d1520b7274d8034c508d12aac57f0f470a587ad68f61496d96c65b2c80d2b7efd83831e09274f8de7c9b21f258c1eaaf56f33e845dddf00feb

diff --git a/app-misc/tails-installer/files/fix-desktop-file.patch b/app-misc/tails-installer/files/fix-desktop-file.patch
new file mode 100644
index 0000000..ef6b588
--- /dev/null
+++ b/app-misc/tails-installer/files/fix-desktop-file.patch
@@ -0,0 +1,28 @@
+diff --git a/data/tails-installer-launcher.desktop b/data/tails-installer-launcher.desktop
+index b8a3f81..c7c5b2a 100644
+--- a/data/tails-installer-launcher.desktop
++++ b/data/tails-installer-launcher.desktop
+@@ -6,8 +6,8 @@ Name[sv]=Tails installerare
+ Comment=Install, clone, upgrade Tails
+ Comment[fr]=Installer, cloner, mettre à jour Tails
+ Comment[sv]=Installera, klona, uppgradera Tails
+-Icon=tails-installer.svg
++Icon=tails-installer
+ Exec=tails-installer-launcher
+ Terminal=false
+-Categories=System;Tails;
++Categories=System;
+ Keywords=Tails;Install;Upgrade;Update;Copy;Clone;Installer;USB;Installation;Anonymity;Tor;Anonymous;SD;Amnesic;Amnesia;
+diff --git a/data/tails-installer.desktop b/data/tails-installer.desktop
+index 7d7fd2c..a79b57a 100644
+--- a/data/tails-installer.desktop
++++ b/data/tails-installer.desktop
+@@ -2,7 +2,7 @@
+ Type=Application
+ Name=Tails Installer
+ Comment=Write operating system images to a USB device
+-Icon=tails-installer.svg
++Icon=tails-installer
+ Exec=tails-installer
+ Terminal=false
+ Categories=System;

diff --git a/app-misc/tails-installer/files/sgdisk.patch b/app-misc/tails-installer/files/sgdisk.patch
new file mode 100644
index 0000000..21339b2
--- /dev/null
+++ b/app-misc/tails-installer/files/sgdisk.patch
@@ -0,0 +1,29 @@
+--- /tails_installer/creator.py
++++ /tails_installer/creator.py
+@@ -220,7 +220,7 @@
+         raise NotImplementedError
+ 
+     def update_system_partition_properties(self):
+-        cmd = (  [ '/sbin/sgdisk' ]
++        cmd = (  [ '/usr/sbin/sgdisk' ]
+                + [ '--typecode=1:%s' % ESP_GUID ]
+                + [ self.drive['parent'] ])
+         self.popen(cmd, shell=False)
+@@ -235,7 +235,7 @@
+         if not device:
+             device = self.drive['device']
+ 
+-        proc = self.popen(['/sbin/sgdisk', '--print', device], shell=False, passive=True)
++        proc = self.popen(['/usr/sbin/sgdisk', '--print', device], shell=False, passive=True)
+         if proc.returncode:
+             return False
+         return True
+@@ -249,7 +249,7 @@
+         # understand... while we want to make it do this reset
+         # precisely to fix that unreadable partition table issue.
+         # Chicken'n'egg, right.
+-        self.popen(['/sbin/sgdisk', '--zap-all', device],
++        self.popen(['/usr/sbin/sgdisk', '--zap-all', device],
+                    shell=False, passive=True)
+ 
+     def switch_drive_to_system_partition(self):

diff --git a/app-misc/tails-installer/metadata.xml b/app-misc/tails-installer/metadata.xml
new file mode 100644
index 0000000..5d675ba
--- /dev/null
+++ b/app-misc/tails-installer/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>wizardedit@gentoo.org</email>
+    <name>Austin English</name>
+  </maintainer>
+  <longdescription>
+  Tails Installer is a graphical tool to install or upgrade Tails on a USB stick from an ISO image.
+  </longdescription>
+</pkgmetadata>

diff --git a/app-misc/tails-installer/tails-installer-4.4.8.ebuild b/app-misc/tails-installer/tails-installer-4.4.8.ebuild
new file mode 100644
index 0000000..a7844f0
--- /dev/null
+++ b/app-misc/tails-installer/tails-installer-4.4.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 gnome2-utils
+
+DESCRIPTION="A graphical tool to install or upgrade Tails on a USB stick from an ISO image"
+HOMEPAGE="https://tails.boum.org http://git.tails.boum.org/liveusb-creator"
+SRC_URI="http://deb.tails.boum.org/pool/main/t/${PN}/${PN}_${PV}+dfsg.orig.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+PATCHES=( ${FILESDIR}/fix-desktop-file.patch ${FILESDIR}/sgdisk.patch )
+
+DEPEND="${PYTHON_DEPS}
+	dev-python/python-distutils-extra[${PYTHON_USEDEP}]"
+RDEPEND="${PYTHON_DEPS}
+	app-arch/p7zip
+	dev-libs/glib:2
+	dev-python/configobj[${PYTHON_USEDEP}]
+	dev-python/pygobject[${PYTHON_USEDEP}]
+	dev-python/urlgrabber[${PYTHON_USEDEP}]
+	sys-apps/gptfdisk
+	sys-auth/polkit
+	sys-boot/syslinux
+	sys-fs/dosfstools
+	sys-fs/mtools
+	sys-fs/udisks:2[introspection]
+	virtual/cdrtools
+	x11-libs/gtk+:3[introspection]"
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-misc/tails-installer/, app-misc/tails-installer/files/
@ 2020-03-19  8:16 Mikle Kolyada
  0 siblings, 0 replies; 2+ messages in thread
From: Mikle Kolyada @ 2020-03-19  8:16 UTC (permalink / raw
  To: gentoo-commits

commit:     da5688379fa7b1a3f6d9dabe61c6cce2f9fdabe2
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 19 08:15:48 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Mar 19 08:16:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da568837

app-misc/tails-installer: remove last-rited pkg

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 app-misc/tails-installer/Manifest                  |  1 -
 .../tails-installer/files/fix-desktop-file.patch   | 28 ------------
 app-misc/tails-installer/files/sgdisk.patch        | 29 ------------
 app-misc/tails-installer/metadata.xml              |  8 ----
 .../tails-installer-4.4.11-r1.ebuild               | 52 ----------------------
 5 files changed, 118 deletions(-)

diff --git a/app-misc/tails-installer/Manifest b/app-misc/tails-installer/Manifest
deleted file mode 100644
index 4546b6db9f1..00000000000
--- a/app-misc/tails-installer/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST tails-installer-4.4.11.tar.gz 346123 BLAKE2B c6e0888cce180d411ab60a8098581da0df64ea6b2201076e58d6ae4d489feb5e9967fd67a457e8d333fad9934350d5df13044e02e2d428980bee335fd5420dcd SHA512 06d7e21f01841250ada8eca3dcb14078331450b61be4a15923fd0543970b9fb4284aba6cf12729515b2adff9dfa3f8a011e48d97a114356fff1edfd1eb914684

diff --git a/app-misc/tails-installer/files/fix-desktop-file.patch b/app-misc/tails-installer/files/fix-desktop-file.patch
deleted file mode 100644
index ef6b5880d44..00000000000
--- a/app-misc/tails-installer/files/fix-desktop-file.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/data/tails-installer-launcher.desktop b/data/tails-installer-launcher.desktop
-index b8a3f81..c7c5b2a 100644
---- a/data/tails-installer-launcher.desktop
-+++ b/data/tails-installer-launcher.desktop
-@@ -6,8 +6,8 @@ Name[sv]=Tails installerare
- Comment=Install, clone, upgrade Tails
- Comment[fr]=Installer, cloner, mettre à jour Tails
- Comment[sv]=Installera, klona, uppgradera Tails
--Icon=tails-installer.svg
-+Icon=tails-installer
- Exec=tails-installer-launcher
- Terminal=false
--Categories=System;Tails;
-+Categories=System;
- Keywords=Tails;Install;Upgrade;Update;Copy;Clone;Installer;USB;Installation;Anonymity;Tor;Anonymous;SD;Amnesic;Amnesia;
-diff --git a/data/tails-installer.desktop b/data/tails-installer.desktop
-index 7d7fd2c..a79b57a 100644
---- a/data/tails-installer.desktop
-+++ b/data/tails-installer.desktop
-@@ -2,7 +2,7 @@
- Type=Application
- Name=Tails Installer
- Comment=Write operating system images to a USB device
--Icon=tails-installer.svg
-+Icon=tails-installer
- Exec=tails-installer
- Terminal=false
- Categories=System;

diff --git a/app-misc/tails-installer/files/sgdisk.patch b/app-misc/tails-installer/files/sgdisk.patch
deleted file mode 100644
index 21339b23ae6..00000000000
--- a/app-misc/tails-installer/files/sgdisk.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- /tails_installer/creator.py
-+++ /tails_installer/creator.py
-@@ -220,7 +220,7 @@
-         raise NotImplementedError
- 
-     def update_system_partition_properties(self):
--        cmd = (  [ '/sbin/sgdisk' ]
-+        cmd = (  [ '/usr/sbin/sgdisk' ]
-                + [ '--typecode=1:%s' % ESP_GUID ]
-                + [ self.drive['parent'] ])
-         self.popen(cmd, shell=False)
-@@ -235,7 +235,7 @@
-         if not device:
-             device = self.drive['device']
- 
--        proc = self.popen(['/sbin/sgdisk', '--print', device], shell=False, passive=True)
-+        proc = self.popen(['/usr/sbin/sgdisk', '--print', device], shell=False, passive=True)
-         if proc.returncode:
-             return False
-         return True
-@@ -249,7 +249,7 @@
-         # understand... while we want to make it do this reset
-         # precisely to fix that unreadable partition table issue.
-         # Chicken'n'egg, right.
--        self.popen(['/sbin/sgdisk', '--zap-all', device],
-+        self.popen(['/usr/sbin/sgdisk', '--zap-all', device],
-                    shell=False, passive=True)
- 
-     def switch_drive_to_system_partition(self):

diff --git a/app-misc/tails-installer/metadata.xml b/app-misc/tails-installer/metadata.xml
deleted file mode 100644
index 3d969f378b5..00000000000
--- a/app-misc/tails-installer/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <!-- maintainer-needed -->
-  <longdescription>
-  Tails Installer is a graphical tool to install or upgrade Tails on a USB stick from an ISO image.
-  </longdescription>
-</pkgmetadata>

diff --git a/app-misc/tails-installer/tails-installer-4.4.11-r1.ebuild b/app-misc/tails-installer/tails-installer-4.4.11-r1.ebuild
deleted file mode 100644
index 241bab952e7..00000000000
--- a/app-misc/tails-installer/tails-installer-4.4.11-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 gnome2-utils
-
-DESCRIPTION="A graphical tool to install or upgrade Tails on a USB stick from an ISO image"
-HOMEPAGE="https://tails.boum.org https://git.tails.boum.org/liveusb-creator"
-SRC_URI="https://deb.tails.boum.org/pool/main/t/${PN}/${PN}_${PV}+dfsg.orig.tar.gz -> ${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-PATCHES=( ${FILESDIR}/fix-desktop-file.patch ${FILESDIR}/sgdisk.patch )
-
-DEPEND="${PYTHON_DEPS}
-	$(python_gen_cond_dep '
-		dev-python/python-distutils-extra[${PYTHON_MULTI_USEDEP}]
-	')"
-RDEPEND="${PYTHON_DEPS}
-	app-arch/p7zip
-	dev-libs/glib:2
-	$(python_gen_cond_dep '
-		dev-python/configobj[${PYTHON_MULTI_USEDEP}]
-		dev-python/pygobject[${PYTHON_MULTI_USEDEP}]
-		dev-python/urlgrabber[${PYTHON_MULTI_USEDEP}]
-	')
-	sys-apps/gptfdisk
-	sys-auth/polkit
-	sys-boot/syslinux
-	sys-fs/dosfstools
-	sys-fs/mtools
-	sys-fs/udisks:2[introspection]
-	virtual/cdrtools
-	x11-libs/gtk+:3[introspection]"
-
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-	gnome2_icon_cache_update
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-19  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-08  4:05 [gentoo-commits] repo/gentoo:master commit in: app-misc/tails-installer/, app-misc/tails-installer/files/ Austin English
  -- strict thread matches above, loose matches on Subject: below --
2020-03-19  8:16 Mikle Kolyada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox