summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-03-25 17:37:59 +0200
committerMichał Górny <mgorny@gentoo.org>2018-03-25 19:26:55 +0200
commit77fe859bda74127121e4b1993b7139f855a61c06 (patch)
tree310f019050cd9d81be6993ddf16c46d3fa280579
parentdev-util/cmdtest: arm stable, bug #611052 (diff)
downloadgentoo-77fe859bda74127121e4b1993b7139f855a61c06.tar.gz
gentoo-77fe859bda74127121e4b1993b7139f855a61c06.tar.bz2
gentoo-77fe859bda74127121e4b1993b7139f855a61c06.zip
app-arch/xarchiver: Drop old
-rw-r--r--app-arch/xarchiver/Manifest2
-rw-r--r--app-arch/xarchiver/files/xarchiver-0.5.3-add-mime-types.patch17
-rw-r--r--app-arch/xarchiver/files/xarchiver-0.5.3-fix-password-protected.patch42
-rw-r--r--app-arch/xarchiver/files/xarchiver-0.5.3-fix-rpm-support.patch86
-rw-r--r--app-arch/xarchiver/xarchiver-0.5.4.11_p20170629.ebuild62
-rw-r--r--app-arch/xarchiver/xarchiver-0.5.4.ebuild55
6 files changed, 0 insertions, 264 deletions
diff --git a/app-arch/xarchiver/Manifest b/app-arch/xarchiver/Manifest
index 99536b60a36a..4eebb421b8cb 100644
--- a/app-arch/xarchiver/Manifest
+++ b/app-arch/xarchiver/Manifest
@@ -1,4 +1,2 @@
-DIST xarchiver-0.5.4.11_p20170629.tar.gz 1052723 BLAKE2B c4f0b0ae634b6c11ea15d9231a2e55e91ecb4f41b571611f42c046f2d70f0598711ac80516a5130a03ae091a9c2477d12e17ba7c22092437a4013b0afdfe1273 SHA512 e63e9ddd98c5ec5708b74e993cb1901835c133e220ba95aa5a07cca01660fab5894533c57b39223db6155e2fc0ea014ce6eede853ebaf067de27f1e77c5e023f
DIST xarchiver-0.5.4.12.tar.gz 1074764 BLAKE2B 65d8968a470f7ea607fcbb1e2ff3b6c54ff8e521df1ca0cd29d3b7fc7b84d2ad5e2b9987bfb482979c7099d62287c463317d524cadc4a03d6b80ae61d28bfcc2 SHA512 18d177efed810576ee4dc4bc379817cbff390bcbfc541652d8288545bbb4a0e29b2136364e8675814a2780d06e2c5537ca4451a1c73a6becd45e1c0de7ba4554
DIST xarchiver-0.5.4.13.tar.gz 1079259 BLAKE2B c824e81182a6105d24fe85d148fb7e71c2ae761948421bacf7af240e4b2a381582ab5db46c29ee3b2daf01f710696ee53a93a0a2923923083c177e9473bee4f1 SHA512 ace6b3bade20f517c63a035022944d092868e4c000976ef388a3ee70ef8a28177ee20cfb089d0984e9274722c4ec13d129fd7a4ef542e7b5cd4423c26ad5b849
-DIST xarchiver-0.5.4.tar.bz2 1003045 BLAKE2B 6f1303c1d1b09a60616977c04c771cac78a25c756fbac538401e22e4fe3a808f990848d83041d5c5ceb667e30b5bb1d694318f0d21953201047fefdfc9afeb2c SHA512 3b767c2601d94104e2fc72aa8d168afa5a154b5747a9b0518d1c348417e56e4c19d872a0029fb78decc897e0f3bc9573e17d0317b85f584e7275b0e519f5f30d
diff --git a/app-arch/xarchiver/files/xarchiver-0.5.3-add-mime-types.patch b/app-arch/xarchiver/files/xarchiver-0.5.3-add-mime-types.patch
deleted file mode 100644
index ec427b99aeee..000000000000
--- a/app-arch/xarchiver/files/xarchiver-0.5.3-add-mime-types.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Naur xarchiver-0.5.3.orig/xarchiver.desktop.in xarchiver-0.5.3/xarchiver.desktop.in
---- xarchiver-0.5.3.orig/xarchiver.desktop.in 2014-05-12 01:08:12.159131913 +0000
-+++ xarchiver-0.5.3/xarchiver.desktop.in 2014-05-12 01:09:02.585526393 +0000
-@@ -4,11 +4,11 @@
- _Name=Xarchiver
- _Comment=A GTK+2 only archive manager
- _GenericName=Archive manager
--Exec=xarchiver
-+Exec=xarchiver %f
- Icon=xarchiver
- Terminal=false
- Type=Application
- X-MultipleArgs=false
- Categories=GTK;Archiving;Utility;
- StartupNotify=true
--MimeType=application/x-arj;application/arj;application/x-bzip;application/x-bzip-compressed-tar;application/x-gzip;application/x-rar;application/x-rar-compressed;application/x-tar;application/x-zip;application/x-zip-compressed;application/zip;multipart/x-zip;application/x-7z-compressed;application/x-compressed-tar;application/x-bzip2;application/x-bzip2-compressed-tar;
-+MimeType=application/x-arj;application/arj;application/x-bzip;application/x-bzip-compressed-tar;application/x-gzip;application/x-rar;application/x-rar-compressed;application/x-tar;application/x-zip;application/x-zip-compressed;application/zip;application/x-7z-compressed;application/x-compressed-tar;application/x-bzip2;application/x-bzip2-compressed-tar;application/x-lzma;application/x-lzma-compressed-tar;application/x-lzop;application/x-lzop-compressed-tar;application/x-xz;application/x-xz-compressed-tar;application/x-deb;application/x-rpm;
diff --git a/app-arch/xarchiver/files/xarchiver-0.5.3-fix-password-protected.patch b/app-arch/xarchiver/files/xarchiver-0.5.3-fix-password-protected.patch
deleted file mode 100644
index 00969349db01..000000000000
--- a/app-arch/xarchiver/files/xarchiver-0.5.3-fix-password-protected.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -Naur xarchiver-0.5.3.orig/src/window.c xarchiver-0.5.2/src/window.c
---- xarchiver-0.5.3.orig/src/window.c 2014-01-24 08:10:09.305990000 +0100
-+++ xarchiver-0.5.3/src/window.c 2014-01-24 08:42:45.110729290 +0100
-@@ -1694,7 +1694,7 @@
- {
- if (archive->passwd == NULL)
- {
-- archive->passwd = xa_create_password_dialog(NULL);
-+ archive->passwd = xa_create_password_dialog(archive);
- if ( archive->passwd == NULL)
- {
- gtk_drag_finish (dc,FALSE,FALSE,t);
-@@ -2702,9 +2702,12 @@
-
- if (entry->is_encrypted)
- {
-- archive[idx]->passwd = xa_create_password_dialog(archive[idx]);
- if (archive[idx]->passwd == NULL)
-- return;
-+ {
-+ archive[idx]->passwd = xa_create_password_dialog(archive[idx]);
-+ if (archive[idx]->passwd == NULL)
-+ return;
-+ }
- }
- filename = g_strconcat(archive[idx]->tmp,"/",entry->filename,NULL);
- if (g_file_test(filename,G_FILE_TEST_EXISTS))
-@@ -2768,8 +2771,12 @@
- {
- if (entry->is_encrypted)
- {
-- if (archive->passwd == NULL)
-- return;
-+ if (archive->passwd == NULL)
-+ {
-+ archive->passwd = xa_create_password_dialog(archive);
-+ if (archive->passwd == NULL)
-+ return;
-+ }
- }
- if (archive->extraction_path)
- {
diff --git a/app-arch/xarchiver/files/xarchiver-0.5.3-fix-rpm-support.patch b/app-arch/xarchiver/files/xarchiver-0.5.3-fix-rpm-support.patch
deleted file mode 100644
index cf17ff7385cb..000000000000
--- a/app-arch/xarchiver/files/xarchiver-0.5.3-fix-rpm-support.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-diff -Naur xarchiver-0.5.3.orig/src/rpm.c xarchiver-0.5.3/src/rpm.c
---- xarchiver-0.5.3.orig/src/rpm.c 2014-02-09 16:26:24.000000000 +0100
-+++ xarchiver-0.5.3/src/rpm.c 2014-02-19 07:54:27.744136749 +0100
-@@ -23,8 +23,11 @@
-
- void xa_open_rpm (XArchive *archive)
- {
-+ unsigned char bytes[8];
- unsigned short int i;
-- int response;
-+ int dl,il,sigsize,offset,response;
-+ gchar *ibs,*executable;
-+ gchar *gzip_tmp = NULL;
- GSList *list = NULL;
- FILE *stream;
- gboolean result;
-@@ -53,14 +56,68 @@
- archive->column_types[i] = types[i];
-
- xa_create_liststore (archive,names);
-+ if (fseek ( stream, 104 , SEEK_CUR ) )
-+ {
-+ fclose (stream);
-+ response = xa_show_message_dialog (GTK_WINDOW (xa_main_window),GTK_DIALOG_MODAL,GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,_("Can't fseek to position 104:"),g_strerror(errno));
-+ return;
-+ }
-+ if ( fread ( bytes, 1, 8, stream ) == 0 )
-+ {
-+ fclose ( stream );
-+ response = xa_show_message_dialog (GTK_WINDOW (xa_main_window),GTK_DIALOG_MODAL,GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,_("Can't read data from file:"),g_strerror(errno));
-+ return;
-+ }
-+ il = 256 * ( 256 * ( 256 * bytes[0] + bytes[1]) + bytes[2] ) + bytes[3];
-+ dl = 256 * ( 256 * ( 256 * bytes[4] + bytes[5]) + bytes[6] ) + bytes[7];
-+ sigsize = 8 + 16 * il + dl;
-+ offset = 104 + sigsize + ( 8 - ( sigsize % 8 ) ) % 8 + 8;
-+ if (fseek ( stream, offset , SEEK_SET ) )
-+ {
-+ fclose (stream);
-+ response = xa_show_message_dialog (GTK_WINDOW (xa_main_window),GTK_DIALOG_MODAL,GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,_("Can't fseek in file:"),g_strerror(errno));
-+ return;
-+ }
-+ if ( fread ( bytes, 1, 8, stream ) == 0 )
-+ {
-+ fclose ( stream );
-+ response = xa_show_message_dialog (GTK_WINDOW (xa_main_window),GTK_DIALOG_MODAL,GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,_("Can't read data from file:"),g_strerror(errno));
-+ return;
-+ }
-+ il = 256 * ( 256 * ( 256 * bytes[0] + bytes[1]) + bytes[2] ) + bytes[3];
-+ dl = 256 * ( 256 * ( 256 * bytes[4] + bytes[5]) + bytes[6] ) + bytes[7];
-+ sigsize = 8 + 16 * il + dl;
-+ offset = offset + sigsize;
-+ fclose (stream);
-
- /* Create a unique temp dir in /tmp */
- result = xa_create_temp_directory (archive);
- if (!result)
- return;
-
-+ gzip_tmp = g_strconcat (archive->tmp,"/file.gz_bz",NULL);
-+ ibs = g_strdup_printf ( "%u" , offset );
-+
- /* Now I run dd to have the bzip2 / gzip compressed cpio archive in /tmp */
-- gchar *command = g_strconcat ( "sh -c \"rpm2cpio ",archive->escaped_path," > ",archive->tmp, "/file.cpio\"",NULL);
-+ gchar *command = g_strconcat ( "dd if=",archive->escaped_path," ibs=",ibs," skip=1 of=",gzip_tmp,NULL);
-+ g_free (ibs);
-+ list = g_slist_append(list,command);
-+ batch_mode = TRUE;
-+ result = xa_run_command (archive,list);
-+ if (result == FALSE)
-+ {
-+ g_free (gzip_tmp);
-+ return;
-+ }
-+ if (xa_detect_archive_type (gzip_tmp) == XARCHIVETYPE_GZIP)
-+ executable = "gzip -dc ";
-+ else if (xa_detect_archive_type (gzip_tmp) == XARCHIVETYPE_BZIP2)
-+ executable = "bzip2 -dc ";
-+ else
-+ executable = "xz -dc ";
-+
-+ command = g_strconcat("sh -c \"",executable,gzip_tmp," > ",archive->tmp,"/file.cpio\"",NULL);
-+ g_free(gzip_tmp);
- list = NULL;
- list = g_slist_append(list,command);
- result = xa_run_command (archive,list);
diff --git a/app-arch/xarchiver/xarchiver-0.5.4.11_p20170629.ebuild b/app-arch/xarchiver/xarchiver-0.5.4.11_p20170629.ebuild
deleted file mode 100644
index 371df75ee5bb..000000000000
--- a/app-arch/xarchiver/xarchiver-0.5.4.11_p20170629.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools gnome2-utils xdg-utils
-
-MY_COMMIT=79a73d46b782cf8bb93d058d00d2cb81a9b3df8a
-DESCRIPTION="A GTK+ archive manager that can be used with Thunar"
-HOMEPAGE="https://github.com/ib/xarchiver"
-SRC_URI="https://github.com/ib/xarchiver/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="doc"
-
-RDEPEND=">=dev-libs/glib-2:=
- x11-libs/gtk+:3="
-DEPEND="${RDEPEND}
- dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig
- doc? (
- app-text/docbook-xml-dtd
- app-text/docbook-xsl-stylesheets
- dev-libs/libxml2
- dev-libs/libxslt
- )"
-
-S="${WORKDIR}"/${PN}-${MY_COMMIT}
-
-src_prepare() {
- sed -e '/COPYING/d' -e '/NEWS/d' -i doc/Makefile.am || die
- default
- eautoreconf
-}
-
-src_configure() {
- local myconf=(
- $(use_enable doc)
- )
- econf "${myconf[@]}"
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-
- elog "You need external programs for some formats, including:"
- elog "7zip - app-arch/p7zip"
- elog "arj - app-arch/unarj app-arch/arj"
- elog "lha - app-arch/lha"
- elog "lzop - app-arch/lzop"
- elog "rar - app-arch/unrar app-arch/rar"
- elog "zip - app-arch/unzip app-arch/zip"
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
diff --git a/app-arch/xarchiver/xarchiver-0.5.4.ebuild b/app-arch/xarchiver/xarchiver-0.5.4.ebuild
deleted file mode 100644
index d318b747671a..000000000000
--- a/app-arch/xarchiver/xarchiver-0.5.4.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit xfconf
-
-DESCRIPTION="a GTK+ based and advanced archive manager that can be used with Thunar"
-HOMEPAGE="http://xarchiver.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="debug"
-
-RDEPEND=">=dev-libs/glib-2
- >=x11-libs/gtk+-2.24:2"
-DEPEND="${RDEPEND}
- dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
-
-pkg_setup() {
- PATCHES=(
- "${FILESDIR}"/${PN}-0.5.3-add-mime-types.patch
- "${FILESDIR}"/${PN}-0.5.3-fix-password-protected.patch
- "${FILESDIR}"/${PN}-0.5.3-fix-rpm-support.patch
- )
-
- XFCONF=(
- $(xfconf_use_debug)
- )
-
- DOCS=( AUTHORS ChangeLog README TODO )
-}
-
-src_prepare() {
- sed -e '/COPYING/d' -e '/NEWS/d' -i doc/Makefile.in || die
- xfconf_src_prepare
-}
-
-src_install() {
- xfconf_src_install DOCDIR="${ED}/usr/share/doc/${PF}"
-}
-
-pkg_postinst() {
- xfconf_pkg_postinst
- elog "You need external programs for some formats, including:"
- elog "7zip - app-arch/p7zip"
- elog "arj - app-arch/unarj app-arch/arj"
- elog "lha - app-arch/lha"
- elog "lzop - app-arch/lzop"
- elog "rar - app-arch/unrar app-arch/rar"
- elog "zip - app-arch/unzip app-arch/zip"
-}