This commit is contained in:
commit
82cc2b3cf5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
54
bug-187126_file-roller-batch-extract-all.patch
Normal file
54
bug-187126_file-roller-batch-extract-all.patch
Normal file
@ -0,0 +1,54 @@
|
||||
Novell bug: https://bugzilla.novell.com/show_bug.cgi?id=187126
|
||||
Upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=342043
|
||||
Original bug: https://launchpad.net/distros/ubuntu/+source/file-roller/+bug/40899
|
||||
|
||||
2006-12-11 jacob berkman <jberkman@novell.com>
|
||||
|
||||
* src/window.h (FRWindow): add batch_extracting_all boolean
|
||||
|
||||
* src/window.c (window_fake_load): load if batch extracting
|
||||
all and archive doesn't directly support extracting all
|
||||
|
||||
* src/window.c (window_new): initialise batch_extracting_all
|
||||
|
||||
* src/window.c (window_archive__open_extract): tell
|
||||
window_fake_load that we are batch extracting all
|
||||
|
||||
--- file-roller-2.12.2/src/window.h~ 2005-11-28 15:55:02.000000000 -0500
|
||||
+++ file-roller-2.12.2/src/window.h 2006-12-11 14:28:10.000000000 -0500
|
||||
@@ -192,6 +192,7 @@ typedef struct {
|
||||
gboolean extracting_dragged_files;
|
||||
gboolean extracting_dragged_files_interrupted;
|
||||
gboolean batch_adding_one_file;
|
||||
+ gboolean batch_extracting_all;
|
||||
|
||||
/* progress dialog data */
|
||||
|
||||
--- file-roller-2.12.2/src/window.c~ 2006-12-11 14:48:27.000000000 -0500
|
||||
+++ file-roller-2.12.2/src/window.c 2006-12-11 14:52:09.000000000 -0500
|
||||
@@ -3096,7 +3096,8 @@ window_fake_load (FRArchive *archive,
|
||||
|
||||
return (window->batch_mode
|
||||
&& ! (window->add_after_opening && window->update_dropped_files && ! archive->command->propAddCanUpdate)
|
||||
- && ! (window->add_after_opening && ! window->update_dropped_files && ! archive->command->propAddCanReplace));
|
||||
+ && ! (window->add_after_opening && ! window->update_dropped_files && ! archive->command->propAddCanReplace)
|
||||
+ && ! (window->batch_extracting_all && !archive->command->propCanExtractAll));
|
||||
}
|
||||
|
||||
|
||||
@@ -3446,6 +3447,7 @@ window_new (void)
|
||||
window->stoppable = TRUE;
|
||||
|
||||
window->batch_adding_one_file = FALSE;
|
||||
+ window->batch_extracting_all = FALSE;
|
||||
|
||||
window->path_clicked = NULL;
|
||||
|
||||
@@ -6040,6 +6042,7 @@ window_archive__open_extract (FRWindow
|
||||
{
|
||||
window->non_interactive = TRUE;
|
||||
|
||||
+ window->batch_extracting_all = TRUE;
|
||||
window_batch_mode_add_action (window,
|
||||
FR_BATCH_ACTION_OPEN,
|
||||
g_strdup (filename),
|
446
file-roller-2.12.2-no-cmdline-overflow.patch
Normal file
446
file-roller-2.12.2-no-cmdline-overflow.patch
Normal file
@ -0,0 +1,446 @@
|
||||
--- file-roller-2.15.90/src/fr-archive.c
|
||||
+++ file-roller-2.15.90/src/fr-archive.c
|
||||
@@ -1451,7 +1451,7 @@
|
||||
else
|
||||
sprintf (path, "%s/%s", source_dir, e_filename);
|
||||
|
||||
- fr_process_add_arg (archive->process, path);
|
||||
+ fr_process_add_file_arg (archive->process, path);
|
||||
|
||||
g_free (e_filename);
|
||||
}
|
||||
--- file-roller-2.15.90/src/fr-command-ar.c
|
||||
+++ file-roller-2.15.90/src/fr-command-ar.c
|
||||
@@ -227,7 +227,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, (gchar*) scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, (gchar*) scan->data);
|
||||
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
@@ -245,7 +245,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
|
||||
@@ -270,7 +270,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
--- file-roller-2.15.90/src/fr-command-arj.c
|
||||
+++ file-roller-2.15.90/src/fr-command-arj.c
|
||||
@@ -219,7 +219,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, (gchar*) scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, (gchar*) scan->data);
|
||||
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
@@ -241,7 +241,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
|
||||
@@ -292,7 +292,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
--- file-roller-2.15.90/src/fr-command-lha.c
|
||||
+++ file-roller-2.15.90/src/fr-command-lha.c
|
||||
@@ -231,7 +231,7 @@
|
||||
fr_process_add_arg (comm->process, "a");
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, (gchar*) scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, (gchar*) scan->data);
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
|
||||
@@ -247,7 +247,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
|
||||
@@ -285,7 +285,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
--- file-roller-2.15.90/src/fr-command-rar.c
|
||||
+++ file-roller-2.15.90/src/fr-command-rar.c
|
||||
@@ -258,7 +258,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, (gchar*) scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, (gchar*) scan->data);
|
||||
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
@@ -279,7 +279,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
|
||||
@@ -324,7 +324,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
|
||||
if (dest_dir != NULL) {
|
||||
char *e_dest_dir = fr_command_escape (comm, dest_dir);
|
||||
--- file-roller-2.15.90/src/fr-command-rpm.c
|
||||
+++ file-roller-2.15.90/src/fr-command-rpm.c
|
||||
@@ -157,7 +157,7 @@
|
||||
fr_process_add_arg (comm->process, "| cpio --extract --force-local --unconditional --make-directories");
|
||||
for (scan = file_list; scan; scan = scan->next) {
|
||||
char *filename = (char*) scan->data;
|
||||
- fr_process_add_arg (comm->process, filename);
|
||||
+ fr_process_add_file_arg (comm->process, filename);
|
||||
}
|
||||
fr_process_end_command (comm->process);
|
||||
fr_process_start (comm->process);
|
||||
--- file-roller-2.15.90/src/fr-command-tar.c
|
||||
+++ file-roller-2.15.90/src/fr-command-tar.c
|
||||
@@ -323,7 +323,7 @@
|
||||
|
||||
fr_process_add_arg (comm->process, c_tar->uncomp_filename);
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
|
||||
@@ -365,7 +365,7 @@
|
||||
fr_process_add_arg (comm->process, c_tar->uncomp_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
|
||||
@@ -408,7 +408,7 @@
|
||||
}
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
--- file-roller-2.15.90/src/fr-command-unstuff.c
|
||||
+++ file-roller-2.15.90/src/fr-command-unstuff.c
|
||||
@@ -249,7 +249,7 @@
|
||||
/* FIXME it is not possible to unpack only some files */
|
||||
#if 0
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
#endif
|
||||
|
||||
fr_process_end_command (comm->process);
|
||||
--- file-roller-2.15.90/src/fr-command-zip.c
|
||||
+++ file-roller-2.15.90/src/fr-command-zip.c
|
||||
@@ -318,7 +318,7 @@
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next) {
|
||||
char *temp = prepend_path_separator ((char*) scan->data);
|
||||
- fr_process_add_arg (comm->process, temp);
|
||||
+ fr_process_add_file_arg (comm->process, temp);
|
||||
g_free (temp);
|
||||
}
|
||||
|
||||
@@ -342,7 +342,7 @@
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next) {
|
||||
char *temp = prepend_path_separator_zip_escape ((char*) scan->data);
|
||||
- fr_process_add_arg (comm->process, temp);
|
||||
+ fr_process_add_file_arg (comm->process, temp);
|
||||
g_free (temp);
|
||||
}
|
||||
|
||||
@@ -391,7 +391,7 @@
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next) {
|
||||
char *temp = prepend_path_separator_zip_escape ((char*) scan->data);
|
||||
- fr_process_add_arg (comm->process, temp);
|
||||
+ fr_process_add_file_arg (comm->process, temp);
|
||||
g_free (temp);
|
||||
}
|
||||
|
||||
--- file-roller-2.15.90/src/fr-command-zoo.c
|
||||
+++ file-roller-2.15.90/src/fr-command-zoo.c
|
||||
@@ -259,7 +259,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
|
||||
@@ -277,7 +277,7 @@
|
||||
fr_process_add_arg (comm->process, comm->e_filename);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
|
||||
@@ -306,7 +306,7 @@
|
||||
fr_process_set_working_dir (comm->process, dest_dir);
|
||||
|
||||
for (scan = file_list; scan; scan = scan->next)
|
||||
- fr_process_add_arg (comm->process, scan->data);
|
||||
+ fr_process_add_file_arg (comm->process, scan->data);
|
||||
|
||||
fr_process_end_command (comm->process);
|
||||
}
|
||||
--- file-roller-2.15.90/src/fr-process.c
|
||||
+++ file-roller-2.15.90/src/fr-process.c
|
||||
@@ -43,6 +43,11 @@
|
||||
LAST_SIGNAL
|
||||
};
|
||||
|
||||
+/* Shell limit minus a bit for fixed arguments */
|
||||
+#define FILES_LIST_LENGTH_MAX 30000
|
||||
+
|
||||
+static const gchar file_list_insertion_point [] = "{}";
|
||||
+
|
||||
static GObjectClass *parent_class;
|
||||
static guint fr_process_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
@@ -67,17 +72,37 @@
|
||||
|
||||
|
||||
static void
|
||||
+free_if_not_insertion_point (gpointer p)
|
||||
+{
|
||||
+ if (p != file_list_insertion_point)
|
||||
+ g_free (p);
|
||||
+}
|
||||
+
|
||||
+
|
||||
+static void
|
||||
fr_command_info_free (FRCommandInfo * c_info)
|
||||
{
|
||||
if (c_info == NULL)
|
||||
return;
|
||||
|
||||
if (c_info->args != NULL) {
|
||||
- g_list_foreach (c_info->args, (GFunc) g_free, NULL);
|
||||
+ g_list_foreach (c_info->args, (GFunc) free_if_not_insertion_point, NULL);
|
||||
g_list_free (c_info->args);
|
||||
c_info->args = NULL;
|
||||
}
|
||||
|
||||
+ if (c_info->files != NULL) {
|
||||
+ g_list_foreach (c_info->files, (GFunc) g_free, NULL);
|
||||
+ g_list_free (c_info->files);
|
||||
+ c_info->files = NULL;
|
||||
+ }
|
||||
+
|
||||
+ if (c_info->files_next != NULL) {
|
||||
+ g_list_foreach (c_info->files_next, (GFunc) g_free, NULL);
|
||||
+ g_list_free (c_info->files_next);
|
||||
+ c_info->files_next = NULL;
|
||||
+ }
|
||||
+
|
||||
if (c_info->dir != NULL) {
|
||||
g_free (c_info->dir);
|
||||
c_info->dir = NULL;
|
||||
@@ -337,6 +362,25 @@
|
||||
|
||||
|
||||
void
|
||||
+fr_process_add_file_arg (FRProcess *fr_proc,
|
||||
+ const char *arg)
|
||||
+{
|
||||
+ FRCommandInfo *c_info;
|
||||
+
|
||||
+ g_return_if_fail (fr_proc != NULL);
|
||||
+
|
||||
+ c_info = g_ptr_array_index (fr_proc->comm, fr_proc->current_comm);
|
||||
+ c_info->files_next = g_list_prepend (c_info->files_next, g_strdup (arg));
|
||||
+
|
||||
+ /* Insertion point for file list */
|
||||
+ if (!c_info->args || !c_info->args->data ||
|
||||
+ c_info->args->data != file_list_insertion_point) {
|
||||
+ c_info->args = g_list_prepend (c_info->args, (gpointer) file_list_insertion_point);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+
|
||||
+void
|
||||
fr_process_set_arg_at (FRProcess *fr_proc,
|
||||
int n_comm,
|
||||
int n_arg,
|
||||
@@ -575,10 +619,34 @@
|
||||
}
|
||||
|
||||
|
||||
+static GList *
|
||||
+string_list_split_at_strlen (GList *strings, gint max_len)
|
||||
+{
|
||||
+ gint len = 0;
|
||||
+ GList *l;
|
||||
+
|
||||
+ for (l = strings; l; l = l->next) {
|
||||
+ len += strlen (strings->data) + 1;
|
||||
+
|
||||
+ if (len > max_len && l->prev)
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ if (l && l->prev) {
|
||||
+ l->prev->next = NULL;
|
||||
+ l->prev = NULL;
|
||||
+ return l;
|
||||
+ }
|
||||
+
|
||||
+ return NULL;
|
||||
+}
|
||||
+
|
||||
+
|
||||
static void
|
||||
start_current_command (FRProcess *fr_proc)
|
||||
{
|
||||
FRCommandInfo *c_info;
|
||||
+ gboolean ran_before = FALSE;
|
||||
GList *arg_list, *scan;
|
||||
GString *command;
|
||||
char *dir;
|
||||
@@ -592,6 +660,17 @@
|
||||
arg_list = c_info->args;
|
||||
dir = c_info->dir;
|
||||
|
||||
+ /* If command line would be too long, split up command */
|
||||
+
|
||||
+ if (c_info->files != NULL) {
|
||||
+ g_list_foreach (c_info->files, (GFunc) g_free, NULL);
|
||||
+ g_list_free (c_info->files);
|
||||
+ ran_before = TRUE;
|
||||
+ }
|
||||
+
|
||||
+ c_info->files = c_info->files_next;
|
||||
+ c_info->files_next = string_list_split_at_strlen (c_info->files, FILES_LIST_LENGTH_MAX);
|
||||
+
|
||||
if (dir != NULL)
|
||||
debug (DEBUG_INFO, "cd %s\n", dir);
|
||||
|
||||
@@ -603,7 +682,18 @@
|
||||
|
||||
command = g_string_new ("");
|
||||
for (scan = arg_list; scan; scan = scan->next) {
|
||||
- g_string_append (command, scan->data);
|
||||
+ if (scan->data == file_list_insertion_point) {
|
||||
+ GList *subscan;
|
||||
+
|
||||
+ for (subscan = c_info->files; subscan; subscan = subscan->next) {
|
||||
+ g_string_append (command, subscan->data);
|
||||
+ if (subscan->next != NULL)
|
||||
+ g_string_append_c (command, ' ');
|
||||
+ }
|
||||
+ } else {
|
||||
+ g_string_append (command, scan->data);
|
||||
+ }
|
||||
+
|
||||
if (scan->next != NULL)
|
||||
g_string_append_c (command, ' ');
|
||||
}
|
||||
@@ -622,7 +712,7 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
- if (c_info->begin_func != NULL)
|
||||
+ if (c_info->begin_func != NULL && !ran_before)
|
||||
(*c_info->begin_func) (c_info->begin_data);
|
||||
|
||||
if (! g_spawn_async_with_pipes (dir,
|
||||
@@ -755,6 +845,14 @@
|
||||
fr_proc->output_fd = 0;
|
||||
fr_proc->error_fd = 0;
|
||||
|
||||
+ /* If we have more file names to process, re-run the command with
|
||||
+ * the next batch */
|
||||
+
|
||||
+ if (fr_proc->error.type == FR_PROC_ERROR_NONE && c_info->files_next) {
|
||||
+ start_current_command (fr_proc);
|
||||
+ return FALSE;
|
||||
+ }
|
||||
+
|
||||
/**/
|
||||
|
||||
if (c_info->end_func != NULL)
|
||||
--- file-roller-2.15.90/src/fr-process.h
|
||||
+++ file-roller-2.15.90/src/fr-process.h
|
||||
@@ -47,7 +47,9 @@
|
||||
|
||||
|
||||
typedef struct {
|
||||
- GList *args; /* command to execute */
|
||||
+ GList *args; /* command to execute; same for each invocation */
|
||||
+ GList *files; /* list of filenames to process */
|
||||
+ GList *files_next; /* next batch of filenames to process */
|
||||
char *dir; /* working directory */
|
||||
guint sticky : 1; /* whether the command must be executed even
|
||||
* if a previous command has failed. */
|
||||
@@ -144,6 +146,9 @@
|
||||
int n_comm,
|
||||
int n_arg,
|
||||
const char *arg);
|
||||
+void fr_process_add_file_arg (FRProcess *fr_proc,
|
||||
+ const char *arg);
|
||||
+
|
||||
void fr_process_set_begin_func (FRProcess *fr_proc,
|
||||
ProcFunc func,
|
||||
gpointer func_data);
|
||||
--- file-roller-2.15.90/src/window.c
|
||||
+++ file-roller-2.15.90/src/window.c
|
||||
@@ -5914,7 +5914,7 @@
|
||||
fr_process_begin_command (proc, cdata->command);
|
||||
for (scan = cdata->file_list; scan; scan = scan->next) {
|
||||
char *filename = shell_escape (scan->data);
|
||||
- fr_process_add_arg (proc, filename);
|
||||
+ fr_process_add_file_arg (proc, filename);
|
||||
g_free (filename);
|
||||
}
|
||||
fr_process_end_command (proc);
|
3
file-roller-2.16.1.tar.bz2
Normal file
3
file-roller-2.16.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cfb99599c2aa47a538c11b5b7921368555282b76b459ac7196704beffb1bfc78
|
||||
size 1107890
|
56
file-roller-self-exe.patch
Normal file
56
file-roller-self-exe.patch
Normal file
@ -0,0 +1,56 @@
|
||||
Index: src/fr-archive.c
|
||||
===================================================================
|
||||
--- src/fr-archive.c.orig
|
||||
+++ src/fr-archive.c
|
||||
@@ -280,7 +280,8 @@ create_command_from_mime_type (FRArchive
|
||||
filename,
|
||||
FR_COMPRESS_PROGRAM_BZIP2);
|
||||
} else if (is_mime_type (mime_type, "application/zip") ||
|
||||
- is_mime_type (mime_type, "application/x-zip")) {
|
||||
+ is_mime_type (mime_type, "application/x-zip") ||
|
||||
+ is_mime_type (mime_type, "application/octet-stream")) {
|
||||
archive->command = fr_command_zip_new (archive->process,
|
||||
filename);
|
||||
} else if (is_mime_type (mime_type, "application/x-zoo")) {
|
||||
@@ -444,7 +445,8 @@ create_command_from_filename (FRArchive
|
||||
if (file_extension_is (filename, ".zip")
|
||||
|| file_extension_is (filename, ".ear")
|
||||
|| file_extension_is (filename, ".jar")
|
||||
- || file_extension_is (filename, ".war")) {
|
||||
+ || file_extension_is (filename, ".war")
|
||||
+ || file_extension_is (filename, ".exe")) {
|
||||
archive->command = fr_command_zip_new (archive->process,
|
||||
filename);
|
||||
return (archive->command != NULL);
|
||||
Index: src/main.c
|
||||
===================================================================
|
||||
--- src/main.c.orig
|
||||
+++ src/main.c
|
||||
@@ -74,6 +74,7 @@ FRFileTypeDescription file_type_desc[] =
|
||||
{ FR_FILE_TYPE_COMPRESS, ".Z", "application/x-compress", NULL },
|
||||
{ FR_FILE_TYPE_ISO, ".iso", "application/x-cd-image", NULL },
|
||||
{ FR_FILE_TYPE_EAR, ".ear", "application/x-ear", N_("Ear (.ear)") },
|
||||
+ { FR_FILE_TYPE_EXE, ".exe", "application/octet-stream", N_("Self-extracting zip (.exe)") },
|
||||
{ FR_FILE_TYPE_GZIP, ".gz", "application/x-gzip", NULL},
|
||||
{ FR_FILE_TYPE_JAR, ".jar", "application/x-jar", N_("Jar (.jar)")},
|
||||
{ FR_FILE_TYPE_LHA, ".lzh", "application/x-lha", N_("Lha (.lzh)") },
|
||||
@@ -103,6 +104,7 @@ FRCommandDescription command_desc[] = {
|
||||
{ "tar", TRUE, TRUE, TRUE, FR_FILE_TYPE_TAR },
|
||||
{ "zip", TRUE, TRUE, TRUE, FR_FILE_TYPE_ZIP },
|
||||
{ "unzip", TRUE, FALSE, TRUE, FR_FILE_TYPE_ZIP },
|
||||
+ { "zip", TRUE, TRUE, TRUE, FR_FILE_TYPE_EXE },
|
||||
{ "rar", TRUE, TRUE, TRUE, FR_FILE_TYPE_RAR },
|
||||
{ "gzip", TRUE, TRUE, FALSE, FR_FILE_TYPE_GZIP },
|
||||
{ "bzip2", TRUE, TRUE, FALSE, FR_FILE_TYPE_BZIP2 },
|
||||
Index: src/typedefs.h
|
||||
===================================================================
|
||||
--- src/typedefs.h.orig
|
||||
+++ src/typedefs.h
|
||||
@@ -93,6 +93,7 @@ typedef enum {
|
||||
FR_FILE_TYPE_COMPRESS,
|
||||
FR_FILE_TYPE_ISO,
|
||||
FR_FILE_TYPE_EAR,
|
||||
+ FR_FILE_TYPE_EXE,
|
||||
FR_FILE_TYPE_GZIP,
|
||||
FR_FILE_TYPE_JAR,
|
||||
FR_FILE_TYPE_LHA,
|
12
file-roller-ximian-defaults.patch
Normal file
12
file-roller-ximian-defaults.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Nru -x '*~' -x '*.o' -x '*.orig' -x '*.rej' file-roller-2.0.4.orig/src/file-roller.schemas file-roller-2.0.4/src/file-roller.schemas
|
||||
--- file-roller-2.0.4.orig/data/file-roller.schemas Sun Nov 3 10:50:50 2002
|
||||
+++ file-roller-2.0.4/data/file-roller.schemas Tue Nov 5 16:35:09 2002
|
||||
@@ -50,7 +50,7 @@
|
||||
<applyto>/apps/file-roller/listing/list_mode</applyto>
|
||||
<owner>file-roller</owner>
|
||||
<type>string</type>
|
||||
- <default>as_folder</default>
|
||||
+ <default>all_files</default>
|
||||
<locale name="C">
|
||||
<short>List Mode</short>
|
||||
<long>Whether to view all files in the archive (all_files), or
|
439
file-roller.changes
Normal file
439
file-roller.changes
Normal file
@ -0,0 +1,439 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 19 00:16:29 CET 2006 - btimothy@suse.de
|
||||
|
||||
- Fix for BNC #223562 to allow self-extracting executables made in
|
||||
WinZIP to extract/open in file-roller.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 12 19:24:41 CET 2006 - jhargadon@suse.de
|
||||
|
||||
- applied a patch to fix crashing when an iso image is right-clicked
|
||||
(#187126)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 13 04:48:35 CEST 2006 - danw@suse.de
|
||||
|
||||
- Remove dead patch
|
||||
- Update for gnome-doc-utils-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 3 17:52:45 CEST 2006 - jhargadon@suse.de
|
||||
|
||||
- update to version 2.16.1
|
||||
- translation updates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 14 01:48:29 CEST 2006 - jhargadon@suse.de
|
||||
|
||||
- update to version 2.16.0
|
||||
- translation updates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 30 23:41:51 CEST 2006 - jhargadon@suse.de
|
||||
|
||||
- update to version 2.15.93
|
||||
- Prompt for the password when an archive is encrypted
|
||||
instead of simply displaying a warning on how to spicify a password
|
||||
- Do not use the encrypted emblem for folders
|
||||
- Added X-GNOME-Bugzilla-Version field to the .desktop file
|
||||
- Fixed bug #349095: Filetypes seriously screwed up in .zip files
|
||||
- Fixes bug #153642: Temporary files are created on the current
|
||||
directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 14 21:44:59 CEST 2006 - jhargadon@suse.de
|
||||
|
||||
- update to version 2.15.91
|
||||
* Fixed bug #343739 – Seems to not escape file names correctly.
|
||||
* Fixes bug #340050 – tar permissions are not preserved.
|
||||
* Fixed bug #339913 – "create archive" option does not work on some
|
||||
filenames.
|
||||
* Fixed bug #347624 – fix build with gcc 2.95
|
||||
* Fixed bug #347416 – RecentFilesMenu - OpenRecentMenu converting
|
||||
* Update translations: eu, zh_HK, zh_TW, nb, et, fr.
|
||||
- reapplied file-roller-2.12.2-no-cmdline-overflow.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 8 18:36:13 CEST 2006 - jhargadon@suse.de
|
||||
|
||||
- Update to version 2.15.90
|
||||
- Added translations
|
||||
- Fixed bug #345052 – file roller should remember the size of the
|
||||
window when it closes.
|
||||
- Fixed bug #345278 – File operations on the Edit menu should be
|
||||
moved to the Archive menu.
|
||||
- Fixed bug #342251 – backspace does not go up a directory
|
||||
- Fixed bug #336078 - [PATCH] Convert from popt to GOption
|
||||
- Fixed bug #317782 - file-roller Cygwin build fixes
|
||||
- Fixed bug #152039 - Password Protected Files must be displayed
|
||||
differently.
|
||||
- Fixed bug #338944 - Open Files..., can't delete programs
|
||||
- Fixed filename escaping in tar archives.
|
||||
- Ask for the password when trying to open a password protected rar
|
||||
or arj archive.
|
||||
- Updated the user's guide.
|
||||
- Added help button to all the dialogs.
|
||||
- Install theme-friendly icon.
|
||||
- Fixed bug #335035 - mistake in file-roller's License.
|
||||
- Fixed bug #336908 - backshalshes not supported in paths.
|
||||
- Fixed bug #336632 - Help for Extract Dialog pointing to incorrect
|
||||
location.
|
||||
- Fixed bug #336854 - crash on twice unpacking to the same location.
|
||||
- Fixed bug #335659 - File Roller should move not copy files.
|
||||
- Fixed bug #335368 - Crash when opening large 7z-archive.
|
||||
- Fixed buf #326193 - file-roller creates empty 7zip archives.
|
||||
- Fixed bug #337754 - Drag and Drop extraction only works when
|
||||
source already has focus.
|
||||
- Fixed bug #337331 - Cut/Paste same file results in loss of file.
|
||||
- Added license button to the about dialog.
|
||||
- Fixed bug #331601 – Nautilus doesn't display the "Extract here"
|
||||
menu option for files which have a ".ps.gz"
|
||||
- Fixed bug #330315 - ps.gz files not associated
|
||||
- Fixed bug #328942 - Don't translate empty strings
|
||||
- Fixed bug #328473 – should not distribute pre-gnome-2.8 mime files
|
||||
- Fixed bug #328331 - Crashes on extraction
|
||||
- Fixed bug #328036 - Add GTK category to the .desktop file
|
||||
- Fixed bug #139912 - file roller is not a "system tool".
|
||||
- Fixed bug #168388 - file roller shouldn't create an ARCHIVE_FILES
|
||||
folder if the archive only have one root folder
|
||||
- Fixed bug #326810 - file-roller escaping issue with '#' by example
|
||||
- Removed obsolete .applications file.
|
||||
- Fixed bug #323713: "Save as" should default to current archive
|
||||
filename
|
||||
- Fixed bug #315069: file-roller: drag 'n drop doesn't work for more
|
||||
than 1 file.
|
||||
- Fixed bug #323534: Passwords improperly escaped for zip files
|
||||
- Do not open a progress dialog when dragging files, use a
|
||||
progressbar in the statusbar instead.
|
||||
- Fixed bug #316364: Nautilus dependency should be optional
|
||||
- Fixed bug #311821: ascending and descending indicators are
|
||||
opposite from expected.
|
||||
- Fixed bug #317423: Conflicting mnemonic in "Extract" dialog.
|
||||
- Fixed bug #323068: file-roller fails in chosing extract-to
|
||||
directory
|
||||
- Fixed bug #322197: Improve Naming Filename when create new
|
||||
Archive file
|
||||
- Fixed bug #316564: needs unzip AND zip.
|
||||
- Simplified the add dialog populating the file type combobox
|
||||
with the extensions instead of the descriptions.
|
||||
- Set progress dialog display delay to 1 second.
|
||||
- More HIG compliant progress dialog.
|
||||
- Use a single command execution to add many files and folders
|
||||
to an archive to speed up the operation.
|
||||
- Allow to stop creation of a new archive.
|
||||
- Correctly associate fr to 7zip files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 19 21:41:42 CEST 2006 - federico@novell.com
|
||||
|
||||
- Added file-roller-186104-extract-to-dir.diff to fix
|
||||
https://bugzilla.novell.com/show_bug.cgi?id=186104. This fixes the
|
||||
way file-roller asks GtkFileChooserButton about the selected folder.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 15 20:14:02 CEST 2006 - hpj@suse.de
|
||||
|
||||
- Add patch to process long file lists in multiple batches. Fixes
|
||||
Novell bug #169646.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 28 15:25:33 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 17 22:24:32 CET 2006 - sreeves@suse.de
|
||||
|
||||
- Update .desktop file (Name, GenericName, Comment, DocPath)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 1 17:19:38 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Use translation compendium gnome-patch-translation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:31:27 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 30 20:42:10 CET 2005 - gekker@suse.de
|
||||
|
||||
- Update to version 2.12.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 12 22:56:15 CEST 2005 - gekker@suse.de
|
||||
|
||||
- Update to version 2.12.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 5 21:20:27 CEST 2005 - gekker@suse.de
|
||||
|
||||
- Update to version 2.12.0 (GNOME 2.12)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 22 23:33:03 CEST 2005 - gekker@suse.de
|
||||
|
||||
- Update to version 2.11.92
|
||||
- Add libxml2 and libxml2-python to nfb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 11 23:32:28 CEST 2005 - gekker@suse.de
|
||||
|
||||
- Update to version 2.11.91
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 9 23:35:48 CEST 2005 - gekker@suse.de
|
||||
|
||||
- Fix requirements (98219)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 2 02:25:11 CEST 2005 - gekker@suse.de
|
||||
|
||||
- Update to version 2.11.90
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 22 00:22:53 CEST 2005 - gekker@suse.de
|
||||
|
||||
- Update to version 2.11.2
|
||||
- Remove .la files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 17 23:18:57 CEST 2005 - gekker@suse.de
|
||||
|
||||
- Update to version 2.11.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 9 17:16:23 CET 2005 - gekker@suse.de
|
||||
|
||||
- Updated to version 2.10.0 (GNOME 2.10).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 3 17:36:18 CET 2005 - gekker@suse.de
|
||||
|
||||
- Updated to version 2.9.92
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 10 23:17:44 CET 2005 - gekker@suse.de
|
||||
|
||||
- Updated to version 2.9.91
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 5 18:02:23 CET 2005 - gekker@suse.de
|
||||
|
||||
- Updated to 2.9.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 19 21:23:41 CET 2005 - clahey@suse.de
|
||||
|
||||
- Updated to 2.9.3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 30 00:15:33 CEST 2004 - ro@suse.de
|
||||
|
||||
- locale rename: no -> nb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 08 12:04:35 CEST 2004 - sbrabec@suse.cz
|
||||
|
||||
- Added shared mime info.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 27 15:23:58 CEST 2004 - shprasad@suse.de
|
||||
|
||||
- Fixes bug #63428 (Fix givenby smadduri@novell.com)
|
||||
Avoids crashing if file-roller is closed while viewing files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 25 07:28:20 CEST 2004 - clahey@suse.de
|
||||
|
||||
- Cache file-roller help and show file-roller in khelpcenter.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 17 06:26:02 CEST 2004 - shprasad@suse.de
|
||||
|
||||
- Fixes bug #60958 (Fix given by smadduri@novell.com)
|
||||
Avoids Crashing while DND of Desktop Icons (Home).
|
||||
|
||||
- Fixes bug #62359 (Fix given by smadduri@novell.com)
|
||||
Avoids hanging while Adding a directory to archive.
|
||||
|
||||
- Reworked on bug #60961 (Fix given by smadduri@novell.com)
|
||||
create unpredictible temp-dirs using mkdtemp.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 16 11:00:00 CEST 2004 - shprasad@suse.de
|
||||
|
||||
- Fixes bug #60961. Fix given by (smaddri@novell.com)
|
||||
Avoides creation of predictible file names in /tmp
|
||||
while viewing in file-roller.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 23 14:18:43 CEST 2004 - shprasad@suse.de
|
||||
|
||||
- Fixes bug #59941 (Fix given by smadduri@novell.com)
|
||||
Added a button for Deleting File(s)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 05 14:10:43 CEST 2004 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 2.6.1 (GNOME 2.6).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 17 11:14:28 CET 2004 - sbrabec@suse.cz
|
||||
|
||||
- Fixed scrollkeeper calling conventions (#36215).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 10 10:33:40 CET 2004 - sbrabec@suse.cz
|
||||
|
||||
- Fixed gconf schemas installation (#33114).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 1 12:29:12 CET 2004 - hhetter@suse.de
|
||||
|
||||
- don't install schemas into buildsystem
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 25 10:56:39 CET 2004 - hhetter@suse.de
|
||||
|
||||
- apply ximian patch: file-roller-ximian-defaults.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 12 09:35:52 CET 2004 - hhetter@suse.de
|
||||
|
||||
- gconf schema (de-)installation in %post and %postun
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 5 15:25:52 CET 2004 - hhetter@suse.de
|
||||
|
||||
- updated to version 2.4.4 [GNOME 2.4.2]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 17:04:27 CET 2004 - adrian@suse.de
|
||||
|
||||
- build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 13:59:28 CET 2003 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 2.4.1.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 29 16:15:13 CEST 2003 - hhetter@suse.de
|
||||
|
||||
- updated to version 2.4.0.1 [GNOME2.4]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 14 23:03:28 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add Archiving Category
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 7 22:48:40 CEST 2003 - ro@suse.de
|
||||
|
||||
- fix typo in filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 07 16:16:54 CEST 2003 - sbrabec@suse.cz
|
||||
|
||||
- Not use globbing for schemas in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 29 10:40:32 CEST 2003 - hhetter@suse.de
|
||||
|
||||
- %_lib fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 25 11:43:19 CEST 2003 - meissner@suse.de
|
||||
|
||||
- autoreconf -i -f so we get all new and shiny
|
||||
scripts, especially for ppc64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 14 14:37:55 CEST 2003 - sbrabec@suse.cz
|
||||
|
||||
- GNOME prefix change to /opt/gnome.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 2 09:27:04 CEST 2003 - hhetter@suse.de
|
||||
|
||||
- updated to version 2.2.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 20 18:00:06 CET 2003 - sbrabec@suse.cz
|
||||
|
||||
- Fixed %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 11:00:59 CET 2003 - hhetter@suse.de
|
||||
|
||||
- updated to version 2.2.1
|
||||
- filelist review
|
||||
- added openssl and alsa-devel to neededforbuild
|
||||
- install and register schemas file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 16 00:26:04 CET 2003 - ro@suse.de
|
||||
|
||||
- use gtk2-devel-packages and libjpeg in neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 16:34:43 CET 2003 - ro@suse.de
|
||||
|
||||
- added expat to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 23:49:54 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <xf86 xdevel> to <x-devel-packages>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 6 09:06:14 CET 2002 - hhetter@suse.de
|
||||
|
||||
- updated to version 2.0.4
|
||||
* Faster loading of archives.
|
||||
* Recognize zip archives regardless of the file extension
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 10:17:26 CEST 2002 - sbrabec@suse.cz
|
||||
|
||||
- Added alsa to neededforbuild, because esound can depend on it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 20 10:21:08 CEST 2002 - hhetter@suse.de
|
||||
|
||||
- fix prereq
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 9 09:14:51 CEST 2002 - hhetter@suse.de
|
||||
|
||||
- add openssl to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 31 09:12:05 CEST 2002 - hhetter@suse.de
|
||||
|
||||
- updated to version 2.0.0
|
||||
* fix scrollkeeper usage
|
||||
* fix filelist
|
||||
* initiate scrollkeeper update
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 10 15:14:58 CEST 2002 - hhetter@suse.de
|
||||
|
||||
- updated to version 1.109
|
||||
* additional option to view destination after extraction
|
||||
* documentation updates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:45:33 CEST 2002 - hhetter@suse.de
|
||||
|
||||
- udpated to version 1.108
|
||||
* menus rearranged
|
||||
* correctly remove temp files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 18:44:11 CEST 2002 - jordi@suse.de
|
||||
|
||||
- initial package for GNOME 2.0
|
||||
|
382
file-roller.spec
Normal file
382
file-roller.spec
Normal file
@ -0,0 +1,382 @@
|
||||
#
|
||||
# spec file for package file-roller (Version 2.16.1)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: file-roller
|
||||
BuildRequires: docbook-xsl-stylesheets gnome-doc-utils-devel gnome-patch-translation gnutls-devel intltool kdelibs3-doc libglade2-devel libgnomeprintui-devel libwnck-devel mDNSResponder-devel nautilus-devel perl-XML-Parser scrollkeeper update-desktop-files
|
||||
%define prefix /opt/gnome
|
||||
%define sysconfdir /etc%{prefix}
|
||||
License: GNU General Public License (GPL)
|
||||
Group: System/GUI/GNOME
|
||||
Autoreqprov: on
|
||||
Version: 2.16.1
|
||||
Release: 32
|
||||
Summary: An Archive Manager for GNOME
|
||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/file-roller/2.6/%{name}-%{version}.tar.bz2
|
||||
Source1: file-roller.xml
|
||||
Patch: file-roller-ximian-defaults.patch
|
||||
Patch1: fr_59941.diff
|
||||
Patch2: file-roller-2.12.2-no-cmdline-overflow.patch
|
||||
Patch3: bug-187126_file-roller-batch-extract-all.patch
|
||||
Patch4: file-roller-self-exe.patch
|
||||
URL: http://fileroller.sourceforge.net
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Docdir: %{_defaultdocdir}
|
||||
PreReq: filesystem /usr/bin/touch gconf2 shared-mime-info
|
||||
Requires: unrar unzip gzip bzip2
|
||||
|
||||
%description
|
||||
File Roller is an archive manager for GNOME. With it, you can create
|
||||
and modify archives, view the contents of an archive, view a file
|
||||
contained in the archive, and extract files from the archive. File
|
||||
Roller is a front-end (a graphical interface) for archiving programs
|
||||
like tar and zip. The supported file types are:
|
||||
|
||||
* Tar archives uncompressed (.tar) or compressed with
|
||||
|
||||
- gzip (.tar.gz, .tgz)
|
||||
|
||||
- bzip (.tar.bz, .tbz)
|
||||
|
||||
- bzip2 (.tar.bz2, .tbz2)
|
||||
|
||||
- compress (.tar.Z, .taz)
|
||||
|
||||
- lzop (.tar.lzo, .tzo)
|
||||
|
||||
* Zip archives (.zip)
|
||||
|
||||
* Jar archives (.jar, .ear, .war)
|
||||
|
||||
* Lha archives (.lzh)
|
||||
|
||||
* Rar archives (.rar)
|
||||
|
||||
* Single files compressed with gzip, bzip, bzip2, compress, lzop
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Paolo Bacchilega <paolo.bacch@tin.it>
|
||||
Claudio Bley <bley@cs.uni-magdeburg.de>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
gnome-patch-translation-prepare
|
||||
%patch -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p0
|
||||
gnome-patch-translation-update
|
||||
|
||||
%build
|
||||
autoreconf -i -f
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
./configure \
|
||||
--prefix=%prefix \
|
||||
--sysconfdir=%sysconfdir \
|
||||
--datadir=%prefix/share \
|
||||
--localstatedir=/var/lib \
|
||||
--with-kde-datadir=/opt/kde3/share \
|
||||
--libdir=%prefix/%_lib \
|
||||
--disable-scrollkeeper
|
||||
export LIBRARY_PATH=/opt/gnome/%_lib
|
||||
make
|
||||
|
||||
%install
|
||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
||||
%suse_update_desktop_file -N "File Roller" -G "Archive Manager" %name Archiving
|
||||
for xml in $RPM_BUILD_ROOT%{prefix}/share/gnome/help/file-roller/*/file-roller.xml; do
|
||||
meinproc --check --cache `echo $xml | sed 's/xml$/cache.bz2/'` $xml || :
|
||||
done
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/mime/packages
|
||||
cp %{S:1} $RPM_BUILD_ROOT/usr/share/mime/packages
|
||||
# DESTDIR=$RPM_BUILD_ROOT mime-info-to-mime
|
||||
rm $RPM_BUILD_ROOT%{prefix}/%{_lib}/nautilus/extensions-1.0/*.*a
|
||||
|
||||
%post
|
||||
touch var/adm/SuSEconfig/run-scrollkeeper-update
|
||||
usr/bin/update-mime-database /usr/share/mime >/dev/null
|
||||
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
|
||||
opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/file-roller.schemas >/dev/null
|
||||
|
||||
%postun
|
||||
touch var/adm/SuSEconfig/run-scrollkeeper-update
|
||||
usr/bin/update-mime-database /usr/share/mime >/dev/null
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS NEWS README COPYING
|
||||
%{prefix}/share/applications/*.desktop
|
||||
%{prefix}/share/gnome/help/file-roller
|
||||
# %{prefix}/share/file-roller/glade/*.glade
|
||||
%{prefix}/%_lib/nautilus
|
||||
%{prefix}/share/file-roller
|
||||
#%{prefix}/share/application-registry/*.applications
|
||||
#%{prefix}/share/mime-info/*
|
||||
%{prefix}/share/locale/*/LC_MESSAGES/*.mo
|
||||
#%{prefix}/share/pixmaps/*.png
|
||||
%{prefix}/share/icons/hicolor/48x48/apps/*.png
|
||||
%{prefix}/bin/file-roller
|
||||
%{prefix}/share/omf/file-roller
|
||||
%{sysconfdir}/gconf/schemas/file-roller.schemas
|
||||
/usr/share/mime/packages/*.xml
|
||||
|
||||
%changelog -n file-roller
|
||||
* Tue Dec 19 2006 - btimothy@suse.de
|
||||
- Fix for BNC #223562 to allow self-extracting executables made in
|
||||
WinZIP to extract/open in file-roller.
|
||||
* Tue Dec 12 2006 - jhargadon@suse.de
|
||||
- applied a patch to fix crashing when an iso image is right-clicked
|
||||
(#187126)
|
||||
* Fri Oct 13 2006 - danw@suse.de
|
||||
- Remove dead patch
|
||||
- Update for gnome-doc-utils-devel
|
||||
* Tue Oct 03 2006 - jhargadon@suse.de
|
||||
- update to version 2.16.1
|
||||
- translation updates
|
||||
* Thu Sep 14 2006 - jhargadon@suse.de
|
||||
- update to version 2.16.0
|
||||
- translation updates
|
||||
* Wed Aug 30 2006 - jhargadon@suse.de
|
||||
- update to version 2.15.93
|
||||
- Prompt for the password when an archive is encrypted
|
||||
instead of simply displaying a warning on how to spicify a password
|
||||
- Do not use the encrypted emblem for folders
|
||||
- Added X-GNOME-Bugzilla-Version field to the .desktop file
|
||||
- Fixed bug #349095: Filetypes seriously screwed up in .zip files
|
||||
- Fixes bug #153642: Temporary files are created on the current
|
||||
directory
|
||||
* Mon Aug 14 2006 - jhargadon@suse.de
|
||||
- update to version 2.15.91
|
||||
* Fixed bug #343739 – Seems to not escape file names correctly.
|
||||
* Fixes bug #340050 – tar permissions are not preserved.
|
||||
* Fixed bug #339913 – "create archive" option does not work on some
|
||||
filenames.
|
||||
* Fixed bug #347624 – fix build with gcc 2.95
|
||||
* Fixed bug #347416 – RecentFilesMenu - OpenRecentMenu converting
|
||||
* Update translations: eu, zh_HK, zh_TW, nb, et, fr.
|
||||
- reapplied file-roller-2.12.2-no-cmdline-overflow.patch
|
||||
* Tue Aug 08 2006 - jhargadon@suse.de
|
||||
- Update to version 2.15.90
|
||||
- Added translations
|
||||
- Fixed bug #345052 – file roller should remember the size of the
|
||||
window when it closes.
|
||||
- Fixed bug #345278 – File operations on the Edit menu should be
|
||||
moved to the Archive menu.
|
||||
- Fixed bug #342251 – backspace does not go up a directory
|
||||
- Fixed bug #336078 - [PATCH] Convert from popt to GOption
|
||||
- Fixed bug #317782 - file-roller Cygwin build fixes
|
||||
- Fixed bug #152039 - Password Protected Files must be displayed
|
||||
differently.
|
||||
- Fixed bug #338944 - Open Files..., can't delete programs
|
||||
- Fixed filename escaping in tar archives.
|
||||
- Ask for the password when trying to open a password protected rar
|
||||
or arj archive.
|
||||
- Updated the user's guide.
|
||||
- Added help button to all the dialogs.
|
||||
- Install theme-friendly icon.
|
||||
- Fixed bug #335035 - mistake in file-roller's License.
|
||||
- Fixed bug #336908 - backshalshes not supported in paths.
|
||||
- Fixed bug #336632 - Help for Extract Dialog pointing to incorrect
|
||||
location.
|
||||
- Fixed bug #336854 - crash on twice unpacking to the same location.
|
||||
- Fixed bug #335659 - File Roller should move not copy files.
|
||||
- Fixed bug #335368 - Crash when opening large 7z-archive.
|
||||
- Fixed buf #326193 - file-roller creates empty 7zip archives.
|
||||
- Fixed bug #337754 - Drag and Drop extraction only works when
|
||||
source already has focus.
|
||||
- Fixed bug #337331 - Cut/Paste same file results in loss of file.
|
||||
- Added license button to the about dialog.
|
||||
- Fixed bug #331601 – Nautilus doesn't display the "Extract here"
|
||||
menu option for files which have a ".ps.gz"
|
||||
- Fixed bug #330315 - ps.gz files not associated
|
||||
- Fixed bug #328942 - Don't translate empty strings
|
||||
- Fixed bug #328473 – should not distribute pre-gnome-2.8 mime files
|
||||
- Fixed bug #328331 - Crashes on extraction
|
||||
- Fixed bug #328036 - Add GTK category to the .desktop file
|
||||
- Fixed bug #139912 - file roller is not a "system tool".
|
||||
- Fixed bug #168388 - file roller shouldn't create an ARCHIVE_FILES
|
||||
folder if the archive only have one root folder
|
||||
- Fixed bug #326810 - file-roller escaping issue with '#' by example
|
||||
- Removed obsolete .applications file.
|
||||
- Fixed bug #323713: "Save as" should default to current archive
|
||||
filename
|
||||
- Fixed bug #315069: file-roller: drag 'n drop doesn't work for more
|
||||
than 1 file.
|
||||
- Fixed bug #323534: Passwords improperly escaped for zip files
|
||||
- Do not open a progress dialog when dragging files, use a
|
||||
progressbar in the statusbar instead.
|
||||
- Fixed bug #316364: Nautilus dependency should be optional
|
||||
- Fixed bug #311821: ascending and descending indicators are
|
||||
opposite from expected.
|
||||
- Fixed bug #317423: Conflicting mnemonic in "Extract" dialog.
|
||||
- Fixed bug #323068: file-roller fails in chosing extract-to
|
||||
directory
|
||||
- Fixed bug #322197: Improve Naming Filename when create new
|
||||
Archive file
|
||||
- Fixed bug #316564: needs unzip AND zip.
|
||||
- Simplified the add dialog populating the file type combobox
|
||||
with the extensions instead of the descriptions.
|
||||
- Set progress dialog display delay to 1 second.
|
||||
- More HIG compliant progress dialog.
|
||||
- Use a single command execution to add many files and folders
|
||||
to an archive to speed up the operation.
|
||||
- Allow to stop creation of a new archive.
|
||||
- Correctly associate fr to 7zip files.
|
||||
* Mon Jun 19 2006 - federico@novell.com
|
||||
- Added file-roller-186104-extract-to-dir.diff to fix
|
||||
https://bugzilla.novell.com/show_bug.cgi?id=186104. This fixes the
|
||||
way file-roller asks GtkFileChooserButton about the selected folder.
|
||||
* Thu Jun 15 2006 - hpj@suse.de
|
||||
- Add patch to process long file lists in multiple batches. Fixes
|
||||
Novell bug #169646.
|
||||
* Tue Feb 28 2006 - sbrabec@suse.cz
|
||||
- Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14).
|
||||
* Fri Feb 17 2006 - sreeves@suse.de
|
||||
- Update .desktop file (Name, GenericName, Comment, DocPath)
|
||||
* Wed Feb 01 2006 - sbrabec@suse.cz
|
||||
- Use translation compendium gnome-patch-translation.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Wed Nov 30 2005 - gekker@suse.de
|
||||
- Update to version 2.12.2
|
||||
* Wed Oct 12 2005 - gekker@suse.de
|
||||
- Update to version 2.12.1
|
||||
* Mon Sep 05 2005 - gekker@suse.de
|
||||
- Update to version 2.12.0 (GNOME 2.12)
|
||||
* Mon Aug 22 2005 - gekker@suse.de
|
||||
- Update to version 2.11.92
|
||||
- Add libxml2 and libxml2-python to nfb
|
||||
* Thu Aug 11 2005 - gekker@suse.de
|
||||
- Update to version 2.11.91
|
||||
* Tue Aug 09 2005 - gekker@suse.de
|
||||
- Fix requirements (98219)
|
||||
* Tue Aug 02 2005 - gekker@suse.de
|
||||
- Update to version 2.11.90
|
||||
* Fri Jul 22 2005 - gekker@suse.de
|
||||
- Update to version 2.11.2
|
||||
- Remove .la files
|
||||
* Fri Jun 17 2005 - gekker@suse.de
|
||||
- Update to version 2.11.1
|
||||
* Wed Mar 09 2005 - gekker@suse.de
|
||||
- Updated to version 2.10.0 (GNOME 2.10).
|
||||
* Thu Mar 03 2005 - gekker@suse.de
|
||||
- Updated to version 2.9.92
|
||||
* Thu Feb 10 2005 - gekker@suse.de
|
||||
- Updated to version 2.9.91
|
||||
* Sat Feb 05 2005 - gekker@suse.de
|
||||
- Updated to 2.9.4
|
||||
* Wed Jan 19 2005 - clahey@suse.de
|
||||
- Updated to 2.9.3.
|
||||
* Sat Oct 30 2004 - ro@suse.de
|
||||
- locale rename: no -> nb
|
||||
* Wed Sep 08 2004 - sbrabec@suse.cz
|
||||
- Added shared mime info.
|
||||
* Fri Aug 27 2004 - shprasad@suse.de
|
||||
- Fixes bug #63428 (Fix givenby smadduri@novell.com)
|
||||
Avoids crashing if file-roller is closed while viewing files.
|
||||
* Wed Aug 25 2004 - clahey@suse.de
|
||||
- Cache file-roller help and show file-roller in khelpcenter.
|
||||
* Tue Aug 17 2004 - shprasad@suse.de
|
||||
- Fixes bug #60958 (Fix given by smadduri@novell.com)
|
||||
Avoids Crashing while DND of Desktop Icons (Home).
|
||||
- Fixes bug #62359 (Fix given by smadduri@novell.com)
|
||||
Avoids hanging while Adding a directory to archive.
|
||||
- Reworked on bug #60961 (Fix given by smadduri@novell.com)
|
||||
create unpredictible temp-dirs using mkdtemp.
|
||||
* Fri Jul 16 2004 - shprasad@suse.de
|
||||
- Fixes bug #60961. Fix given by (smaddri@novell.com)
|
||||
Avoides creation of predictible file names in /tmp
|
||||
while viewing in file-roller.
|
||||
* Wed Jun 23 2004 - shprasad@suse.de
|
||||
- Fixes bug #59941 (Fix given by smadduri@novell.com)
|
||||
Added a button for Deleting File(s)
|
||||
* Wed May 05 2004 - sbrabec@suse.cz
|
||||
- Updated to version 2.6.1 (GNOME 2.6).
|
||||
* Wed Mar 17 2004 - sbrabec@suse.cz
|
||||
- Fixed scrollkeeper calling conventions (#36215).
|
||||
* Wed Mar 10 2004 - sbrabec@suse.cz
|
||||
- Fixed gconf schemas installation (#33114).
|
||||
* Mon Mar 01 2004 - hhetter@suse.de
|
||||
- don't install schemas into buildsystem
|
||||
* Wed Feb 25 2004 - hhetter@suse.de
|
||||
- apply ximian patch: file-roller-ximian-defaults.patch
|
||||
* Thu Feb 12 2004 - hhetter@suse.de
|
||||
- gconf schema (de-)installation in %%post and %%postun
|
||||
* Thu Feb 05 2004 - hhetter@suse.de
|
||||
- updated to version 2.4.4 [GNOME 2.4.2]
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- build as user
|
||||
* Mon Oct 27 2003 - sbrabec@suse.cz
|
||||
- Updated to version 2.4.1.1.
|
||||
* Mon Sep 29 2003 - hhetter@suse.de
|
||||
- updated to version 2.4.0.1 [GNOME2.4]
|
||||
* Sun Sep 14 2003 - adrian@suse.de
|
||||
- add Archiving Category
|
||||
* Thu Aug 07 2003 - ro@suse.de
|
||||
- fix typo in filelist
|
||||
* Thu Aug 07 2003 - sbrabec@suse.cz
|
||||
- Not use globbing for schemas in %%files.
|
||||
* Tue Jul 29 2003 - hhetter@suse.de
|
||||
- %%_lib fixes
|
||||
* Fri Jul 25 2003 - meissner@suse.de
|
||||
- autoreconf -i -f so we get all new and shiny
|
||||
scripts, especially for ppc64.
|
||||
* Mon Jul 14 2003 - sbrabec@suse.cz
|
||||
- GNOME prefix change to /opt/gnome.
|
||||
* Wed Jul 02 2003 - hhetter@suse.de
|
||||
- updated to version 2.2.5
|
||||
* Thu Feb 20 2003 - sbrabec@suse.cz
|
||||
- Fixed %%files.
|
||||
* Thu Jan 30 2003 - hhetter@suse.de
|
||||
- updated to version 2.2.1
|
||||
- filelist review
|
||||
- added openssl and alsa-devel to neededforbuild
|
||||
- install and register schemas file
|
||||
* Thu Jan 16 2003 - ro@suse.de
|
||||
- use gtk2-devel-packages and libjpeg in neededforbuild
|
||||
* Tue Jan 14 2003 - ro@suse.de
|
||||
- added expat to neededforbuild
|
||||
* Mon Nov 11 2002 - ro@suse.de
|
||||
- changed neededforbuild <xf86 xdevel> to <x-devel-packages>
|
||||
* Wed Nov 06 2002 - hhetter@suse.de
|
||||
- updated to version 2.0.4
|
||||
* Faster loading of archives.
|
||||
* Recognize zip archives regardless of the file extension
|
||||
* Mon Sep 23 2002 - sbrabec@suse.cz
|
||||
- Added alsa to neededforbuild, because esound can depend on it.
|
||||
* Tue Aug 20 2002 - hhetter@suse.de
|
||||
- fix prereq
|
||||
* Fri Aug 09 2002 - hhetter@suse.de
|
||||
- add openssl to neededforbuild
|
||||
* Wed Jul 31 2002 - hhetter@suse.de
|
||||
- updated to version 2.0.0
|
||||
* fix scrollkeeper usage
|
||||
* fix filelist
|
||||
* initiate scrollkeeper update
|
||||
* Wed Jul 10 2002 - hhetter@suse.de
|
||||
- updated to version 1.109
|
||||
* additional option to view destination after extraction
|
||||
* documentation updates
|
||||
* Mon Jul 01 2002 - hhetter@suse.de
|
||||
- udpated to version 1.108
|
||||
* menus rearranged
|
||||
* correctly remove temp files
|
||||
* Thu Jun 20 2002 - jordi@suse.de
|
||||
- initial package for GNOME 2.0
|
63
file-roller.xml
Normal file
63
file-roller.xml
Normal file
@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<!-- Most MIME types are already present in freedesktop.org.xml, but not all. -->
|
||||
<mime-type type="application/x-stuffit">
|
||||
<glob pattern="*.bin" />
|
||||
<glob pattern="*.sit" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-bzip-compressed-tar">
|
||||
<glob pattern="*.tar.bz" />
|
||||
<glob pattern="*.tar.bz2" />
|
||||
<glob pattern="*.tbz" />
|
||||
<glob pattern="*.tbz2" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-lzop">
|
||||
<glob pattern="*.lzo" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-arj">
|
||||
<glob pattern="*.arj" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-lha">
|
||||
<glob pattern="*.lzh" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-rar">
|
||||
<glob pattern="*.rar" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-gzip">
|
||||
<glob pattern="*.gz" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-lzop-compressed-tar">
|
||||
<glob pattern="*.tar.lzo" />
|
||||
<glob pattern="*.tzo" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-rar-compressed">
|
||||
<glob pattern="*.rar" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-bzip">
|
||||
<glob pattern="*.bz2" />
|
||||
<glob pattern="*.bz" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-zoo">
|
||||
<glob pattern="*.zoo" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-compress">
|
||||
<glob pattern="*.Z" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-tar">
|
||||
<glob pattern="*.tar" />
|
||||
</mime-type>
|
||||
<mime-type type="application/zip">
|
||||
<glob pattern="*.zip" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-java-archive">
|
||||
<glob pattern="*.jar" />
|
||||
<glob pattern="*.ear" />
|
||||
<glob pattern="*.war" />
|
||||
</mime-type>
|
||||
<mime-type type="application/x-compressed-tar">
|
||||
<glob pattern="*.tar.gz" />
|
||||
<glob pattern="*.tar.Z" />
|
||||
<glob pattern="*.tgz" />
|
||||
<glob pattern="*.taz" />
|
||||
</mime-type>
|
||||
</mime-info>
|
33
fr_59941.diff
Normal file
33
fr_59941.diff
Normal file
@ -0,0 +1,33 @@
|
||||
|
||||
--- file-roller_bak/ChangeLog 2004-06-19 22:19:21.000000000 +0530
|
||||
+++ file-roller/ChangeLog 2004-06-22 13:59:01.773155328 +0530
|
||||
@@ -1,0 +1,7 @@
|
||||
+2004-06-16 Subrahmanyam Madduri <smadduri@novell.com>
|
||||
+
|
||||
+ * src/ui.h : (action_entries): Added any entry for the "Delete File"
|
||||
+ in the toolbar. And connected the clckevent of the button to
|
||||
+ activate_action_delete in actions.c
|
||||
+ Fixes bug #144800
|
||||
+
|
||||
--- file-roller_bak/src/ui.h 2004-05-02 23:55:57.000000000 +0530
|
||||
+++ file-roller/src/ui.h 2004-06-22 13:50:54.445240432 +0530
|
||||
@@ -50,6 +50,11 @@
|
||||
N_("Add"), NULL,
|
||||
N_("Add files to the archive"),
|
||||
G_CALLBACK (activate_action_add_files) },
|
||||
+ { "DeleteFile_Toolbar", GTK_STOCK_REMOVE,
|
||||
+ N_("Delete"), NULL,
|
||||
+ N_("Delete file from the archive"),
|
||||
+ G_CALLBACK (activate_action_delete) },
|
||||
+
|
||||
{ "AddFolder", FR_STOCK_ADD,
|
||||
N_("Add a _Folder..."), NULL,
|
||||
N_("Add a folder to the archive"),
|
||||
@@ -299,6 +304,7 @@
|
||||
" <separator name='sep01'/>"
|
||||
" <toolitem action='AddFiles_Toolbar'/>"
|
||||
" <toolitem action='Extract_Toolbar'/>"
|
||||
+" <toolitem action='DeleteFile_Toolbar'/>"
|
||||
" <toolitem action='ViewSelection_Toolbar'/>"
|
||||
" <separator name='sep02'/>"
|
||||
" <toolitem action='Stop'/>"
|
Loading…
Reference in New Issue
Block a user