diff --git a/parcellite-1.1.7-fix-case-sensitive-search.patch b/parcellite-1.1.7-fix-case-sensitive-search.patch new file mode 100644 index 0000000..f6cdd28 --- /dev/null +++ b/parcellite-1.1.7-fix-case-sensitive-search.patch @@ -0,0 +1,25 @@ +Index: src/main.c +=================================================================== +--- src/main.c (Revision 496) ++++ src/main.c (Revision 497) +@@ -1400,7 +1400,7 @@ + } /**end alt key pressed */ + if(e->state & (GDK_MODIFIER_MASK_MINE)) /**ignore all modifier keys */ + return FALSE; +- if(e->state &GDK_SHIFT_MASK && get_pref_int32("case_search")) /**ignore shift */ ++ if(e->state &GDK_SHIFT_MASK && !get_pref_int32("case_search")) /**ignore shift */ + return FALSE; + if( GDK_EXPOSE== e->type || GDK_BUTTON_RELEASE==e->type) /**fix bug 3560995, item 1/2, red clipboard. */ + return FALSE; +Index: ChangeLog +=================================================================== +--- ChangeLog (Revision 496) ++++ ChangeLog (Revision 497) +@@ -3,6 +3,7 @@ + +Fixed bug 108, red search-as-you-type with super-K key. + +Fixed bug 109, segfault when action key missing and history key changed. + +Updated Russian translation. ++ +Fix broken case-sensitive search. + + V1.1.7 Tuesday, October 15, 2013 + +Added remote i386 build and upload to sourceforge. diff --git a/parcellite-1.1.7-issue-107.patch b/parcellite-1.1.7-issue-107.patch new file mode 100644 index 0000000..c6e30e6 --- /dev/null +++ b/parcellite-1.1.7-issue-107.patch @@ -0,0 +1,27 @@ +Index: src/preferences.c +=================================================================== +--- src/preferences.c (Revision 490) ++++ src/preferences.c (Revision 491) +@@ -358,7 +358,10 @@ + int i; + for (i=0;NULL != keylist[i].name; ++i){ + if(!g_strcmp0(keylist[i].name,name)){ +- keylist[i].keyval=val; ++ if(NULL == val) ++ keylist[i].keyval=""; ++ else ++ keylist[i].keyval=val; + return; + } + } +Index: ChangeLog +=================================================================== +--- ChangeLog (Revision 490) ++++ ChangeLog (Revision 491) +@@ -1,3 +1,6 @@ ++V1.1.8 Wednsday, October 16, 2013 ++ +Fixed bug 107, segfault when action key missing in parcelliterc. ++ + V1.1.7 Tuesday, October 15, 2013 + +Added remote i386 build and upload to sourceforge. + +Fixed bug 100, pot doesn't contain entries diff --git a/parcellite-1.1.7-issue-108.patch b/parcellite-1.1.7-issue-108.patch new file mode 100644 index 0000000..db29292 --- /dev/null +++ b/parcellite-1.1.7-issue-108.patch @@ -0,0 +1,36 @@ +Index: src/main.c +=================================================================== +--- src/main.c (Revision 492) ++++ src/main.c (Revision 493) +@@ -73,6 +73,11 @@ + #define CMODE_CLI 2 + #define CMODE_ALL 3 /**needs to be or of the above */ + ++#define GDK_MODIFIER_MASK_MINE (GDK_CONTROL_MASK|GDK_META_MASK|GDK_SUPER_MASK) /*\ ++ GDK_MOD1_MASK|GDK_MOD2_MASK |GDK_MOD3_MASK|GDK_MOD4_MASK|GDK_MOD5_MASK| \ ++ GDK_BUTTON1_MASK|GDK_BUTTON2_MASK|GDK_BUTTON3_MASK|GDK_BUTTON4_MASK|\ ++ GDK_BUTTON5_MASK)|GDK_HYPER_MASK) */ ++ + #define FIFCMD_STOP_PRI "stop_pri" + #define FIFCMD_STOP_CLI "stop_cli" + #define FIFCMD_STOP_ALL "stop_all" +@@ -1393,7 +1398,7 @@ + } + return FALSE; + } /**end alt key pressed */ +- if(e->state & GDK_CONTROL_MASK) /**ignore control keys */ ++ if(e->state & (GDK_MODIFIER_MASK_MINE)) /**ignore all modifier keys */ + return FALSE; + if(e->state &GDK_SHIFT_MASK && get_pref_int32("case_search")) /**ignore shift */ + return FALSE; +Index: ChangeLog +=================================================================== +--- ChangeLog (Revision 492) ++++ ChangeLog (Revision 493) +@@ -1,5 +1,6 @@ + V1.1.8 Wednsday, October 16, 2013 + +Fixed bug 107, segfault when action key missing in parcelliterc. ++ +Fixed bug 108, red search-as-you-type with super-K key. + +Fixed bug 109, segfault when action key missing and history key changed. + + V1.1.7 Tuesday, October 15, 2013 diff --git a/parcellite-1.1.7-issue-109.patch b/parcellite-1.1.7-issue-109.patch new file mode 100644 index 0000000..9d963d5 --- /dev/null +++ b/parcellite-1.1.7-issue-109.patch @@ -0,0 +1,58 @@ +Index: src/keybinder.c +=================================================================== +--- src/keybinder.c (Revision 491) ++++ src/keybinder.c (Revision 492) +@@ -275,26 +275,26 @@ + } + } + +-void +-keybinder_unbind (const char *keystring, +- BindkeyHandler handler) ++void keybinder_unbind (const char *keystring, BindkeyHandler handler) + { + GSList *iter; +- ++ /*g_fprintf(stderr,"%s: key='%s'\n",__func__,keystring); */ ++ if(NULL == keystring) return; + for (iter = bindings; iter != NULL; iter = iter->next) { + Binding *binding = (Binding *) iter->data; +- +- if (strcmp (keystring, binding->keystring) != 0 || +- handler != binding->handler) +- continue; +- +- do_ungrab_key (binding); +- +- bindings = g_slist_remove (bindings, binding); +- +- g_free (binding->keystring); +- g_free (binding); +- break; ++ if(NULL !=binding){ ++ if (strcmp (keystring, binding->keystring) != 0 || ++ handler != binding->handler) ++ continue; ++ ++ do_ungrab_key (binding); ++ ++ bindings = g_slist_remove (bindings, binding); ++ ++ g_free (binding->keystring); ++ g_free (binding); ++ break; ++ } + } + } + +Index: ChangeLog +=================================================================== +--- ChangeLog (Revision 491) ++++ ChangeLog (Revision 492) +@@ -1,5 +1,6 @@ + V1.1.8 Wednsday, October 16, 2013 + +Fixed bug 107, segfault when action key missing in parcelliterc. ++ +Fixed bug 109, segfault when action key missing and history key changed. + + V1.1.7 Tuesday, October 15, 2013 + +Added remote i386 build and upload to sourceforge. diff --git a/parcellite-1.1.7-issue-111.patch b/parcellite-1.1.7-issue-111.patch new file mode 100644 index 0000000..ba9ddc8 --- /dev/null +++ b/parcellite-1.1.7-issue-111.patch @@ -0,0 +1,66 @@ +Index: src/main.c +=================================================================== +--- src/main.c (Revision 497) ++++ src/main.c (Revision 498) +@@ -110,7 +110,6 @@ + static GtkWidget *indicator_menu = NULL; + #endif + static GtkStatusIcon *status_icon; +-static GMutex *clip_lock=NULL; + GMutex *hist_lock=NULL; + static gboolean actions_lock = FALSE; + static int show_icon=0; +@@ -500,7 +499,6 @@ + int n=0; + + /*g_printf("check_clipboards\n"); */ +- /*g_mutex_lock(clip_lock); */ + if(fifo->clen){/**we have a command to execute */ + /*fifo->which should be ID_CMD: */ + if(fifo->dbg) g_printf("Running CMD '%s'\n",fifo->cbuf); +@@ -556,7 +554,6 @@ + } + done: + return; +- /*g_mutex_unlock(clip_lock); */ + } + #ifdef HAVE_APPINDICATOR + /***************************************************************************/ +@@ -1501,7 +1498,6 @@ + gchar *action=NULL; + gchar *txt=NULL; + gchar *cmd=NULL; +- /*g_mutex_lock(clip_lock); */ + if(NULL == find_h_item(h->delete_list,NULL,element)){ /**not in our delete list */ + /**make a copy of txt, because it gets freed and re-allocated. */ + txt=p_strdup(((struct history_item *)(element->data))->text); +@@ -1517,7 +1513,6 @@ + if(0 == auto_whatever) + return; + /*g_printf("set_clip_text done\n"); */ +- /*g_mutex_unlock(clip_lock); */ + + if (get_pref_int32("automatic_paste")) { /** mousedown 2 */ + if(get_pref_int32("auto_mouse")) +@@ -2100,9 +2095,7 @@ + if(FALSE ==g_thread_supported()){ + g_fprintf(stderr,"g_thread not init!\n"); + } +- clip_lock= g_mutex_new(); + hist_lock= g_mutex_new(); +- g_mutex_unlock(clip_lock); + + show_icon=!get_pref_int32("no_icon"); + /* Read history */ +Index: ChangeLog +=================================================================== +--- ChangeLog (Revision 497) ++++ ChangeLog (Revision 498) +@@ -4,6 +4,7 @@ + +Fixed bug 109, segfault when action key missing and history key changed. + +Updated Russian translation. + +Fix broken case-sensitive search. ++ +Fixed bug 111, unlock a mutext not locked. + + V1.1.7 Tuesday, October 15, 2013 + +Added remote i386 build and upload to sourceforge. diff --git a/parcellite-1.1.7-update-russian-translation.patch b/parcellite-1.1.7-update-russian-translation.patch new file mode 100644 index 0000000..70534b2 --- /dev/null +++ b/parcellite-1.1.7-update-russian-translation.patch @@ -0,0 +1,547 @@ +Index: po/ru.po +=================================================================== +--- po/ru.po (Revision 494) ++++ po/ru.po (Revision 496) +@@ -8,8 +8,8 @@ + "Project-Id-Version: Parcellite\n" + "Report-Msgid-Bugs-To: \n" + "POT-Creation-Date: 2011-05-02 01:40+0400\n" +-"PO-Revision-Date: 2011-05-02 02:16+0300\n" +-"Last-Translator: Alexander Kazancev \n" ++"PO-Revision-Date: 2013-11-18 23:29+0300\n" ++"Last-Translator: Sergey Rodin \n" + "Language-Team: \n" + "Language: \n" + "MIME-Version: 1.0\n" +@@ -19,190 +19,392 @@ + "X-Poedit-Language: Russian\n" + "X-Poedit-Country: RUSSIAN FEDERATION\n" + +-#: preferences.c:428 +-msgid "Preferences" +-msgstr "Настройки" ++msgid "Action" ++msgstr "Действие" + +-#: preferences.c:447 +-msgid "Behavior" +-msgstr "Поведение" ++msgid "Actions" ++msgstr "Действия" + +-#: preferences.c:455 ++msgid "Actions key combination:" ++msgstr "Вызов меню Действия" ++ ++msgid "Add..." ++msgstr "Добавить..." ++ ++msgid "Alternate Non-printing Display" ++msgstr "Показывать непечатающиеся символы" ++ ++msgid "Auto Paste" ++msgstr "Автовставка" ++ + msgid "Clipboards" + msgstr "Буферы обмена" + +-#: preferences.c:462 +-msgid "Use _Copy (Ctrl-C)" +-msgstr "Использовать буфер _Копировать (Ctrl-C)" ++msgid "Beginning" ++msgstr "Начале" + +-#: preferences.c:465 +-msgid "Use _Primary (Selection)" +-msgstr "_Использовать буфер выделения" ++msgid "Behavior" ++msgstr "Поведение" + +-#: preferences.c:468 +-msgid "S_ynchronize clipboards" +-msgstr "Синхронизировать буферы" +- +-#: preferences.c:476 + msgid "History" + msgstr "История" + +-#: preferences.c:483 +-msgid "_Save history" +-msgstr "_Сохранять историю" ++msgid "Hotkeys" ++msgstr "Горячие клавиши" + +-#: preferences.c:484 +-msgid "Save and restore history between sessions" +-msgstr "Сохранять и восстанавливать историю между сессиями" ++msgid "Items" ++msgstr "Элементы" + +-#: preferences.c:489 +-msgid "_Postion history" +-msgstr "_Позиция истории" ++msgid "Miscellaneous" ++msgstr "Исключения" + +-#: preferences.c:490 +-msgid "Set the location where history appears. If unchecked, appears where the mouse is." +-msgstr "Задает расположение появления истории. Если не отмечено, история появляется в месте расположения курсора." ++msgid "None" ++msgstr "Нет" + +-#: preferences.c:494 ++msgid "Omitting" ++msgstr "Исключения" ++ + msgid "X" + msgstr "X" + +-#: preferences.c:499 + msgid "Y" + msgstr "Y" + +-#: preferences.c:508 +-msgid "Items in history:" +-msgstr "Элементы в истории:" ++msgid "Capture hyperlinks only" ++msgstr "Захватывать только гиперссылки" + +-#: preferences.c:519 +-msgid "Max Data Size (MB)" +-msgstr "Макс. размер данных (Мб)" ++msgid "Case Sensitive Search" ++msgstr "Поиск с учетом регистра" + +-#: preferences.c:524 +-msgid "Set Maximum amount of data to copy for each entry in MBytes. 0 is no limit." +-msgstr "Установить максимальный размер данных для копирования в каждой записи. 0 - без лимита." ++msgid "Character length of items" ++msgstr "Число символов в элементе " + +-#: preferences.c:529 +-msgid "Miscellaneous" +-msgstr "Исключения" ++msgid "_Clear" ++msgstr "_Очистить" + +-#: preferences.c:537 +-msgid "Search As You _Type" +-msgstr "Искать по мере ввода" ++msgid "Clear the history?" ++msgstr "Очистить историю?" + +-#: preferences.c:538 +-msgid "If checked, does a search-as-you-type. Turns red if not found. Goes to top (Alt-E) line when no chars are entered for search" +-msgstr "Если отмечено, поиск будет идти по мере набора. Если нет совпадений, становится красным. Переходит к верхней строке (Alt-E) если не введены буквы для поиска" ++msgid "" ++"Clipboard CLI usage examples:\n" ++"\n" ++" echo \"copied to clipboard\" | parcellite\n" ++" parcellite \"copied to clipboard\"\n" ++" echo \"copied to clipboard\" | parcellite -c" ++msgstr "" ++"Примеры использования:\n" ++"\n" ++" echo \"copied to clipboard\" | parcellite\n" ++" parcellite \"copied to clipboard\"\n" ++" echo \"copied to clipboard\" | parcellite -c" + +-#: preferences.c:542 +-msgid "_Case Sensitive Search" +-msgstr "Пои_ск с учетом регистра" ++msgid "Clipboard Manager" ++msgstr "Менеджер буфера обмена" + +-#: preferences.c:543 +-msgid "If checked, does case sensitive search" +-msgstr "Если отмечено, поиск с учетом регистра" ++msgid "Command" ++msgstr "Команда" + +-#: preferences.c:547 +-msgid "Capture _hyperlinks only" +-msgstr "Захватывать только _гиперссылки" ++msgid "Confirm before clearing history" ++msgstr "Подтверждение перед очисткой истории" + +-#: preferences.c:549 +-msgid "C_onfirm before clearing history" +-msgstr "_Подтверждение перед очисткой истории" ++msgid "Control-click Parcellite's tray icon to use actions," ++msgstr "CTRL+клик по иконке Parcellite в трее для выполнения действий" + +-#: preferences.c:556 ++msgid "" ++"Copyright (C) 2007, 2008 Gilberto \"Xyhthyx\" Miralla\n" ++"Copyright (C) 2010-2013 Doug Springer" ++msgstr "" ++ ++msgid "Couldn't create directory: %s\n" ++msgstr "Не удается создать каталог: %s\n" ++ ++msgid "Current entry on top" ++msgstr "Текущая запись вверху" ++ ++msgid "DebugUpdate" ++msgstr "" ++ + msgid "Display" + msgstr "Отображение" + +-#: preferences.c:564 +-msgid "Items" +-msgstr "Элементы" ++msgid "Display Version info" ++msgstr "Показать версию" + +-#: preferences.c:571 +-msgid "Show in a _single line" +-msgstr "Показывать в одну строку" ++msgid "Do not use status icon (Ctrl-Alt-P for menu)" ++msgstr "Не показывать иконку в трее (Ctrl-Alt-P для меню)" + +-#: preferences.c:573 +-msgid "Show in _reverse order" +-msgstr "Показывать в обратном порядке" ++msgid "Dummy desc" ++msgstr "Ложное описание" + +-#: preferences.c:577 +-msgid "Character length of items:" +-msgstr "Число символов в элементе " ++msgid "Dummy tip" ++msgstr "Ложная подсказка" + +-#: preferences.c:590 +-msgid "Omitting" +-msgstr "Исключения" ++msgid "_Edit actions" ++msgstr "_Изменить действия" + +-#: preferences.c:599 +-msgid "Omit items in the:" +-msgstr "Исключить элементы в:" ++msgid "_Edit Clipboard" ++msgstr "_Изменить буфер обмена" + +-#: preferences.c:603 +-msgid "Beginning" +-msgstr "Начале" ++msgid "Editing Clipboard" ++msgstr "Редактирование буфера обмена" + +-#: preferences.c:604 +-msgid "Middle" +-msgstr "Середине" ++msgid "Empty" ++msgstr "Пусто" + +-#: preferences.c:605 + msgid "End" + msgstr "Конце" + +-#: preferences.c:612 +-msgid "Actions" +-msgstr "Действия" ++msgid "Executing action..." ++msgstr "Выполнить действие..." + +-#: preferences.c:617 +-msgid "Control-click Parcellite's tray icon to use actions" +-msgstr "CTRL+клик по иконке Parcellite в трее для выполнения действий" ++msgid "" ++"Gilberto \"Xyhthyx\" Miralla \n" ++"Doug Springer " ++msgstr "" + +-#: preferences.c:637 +-msgid "Action" +-msgstr "Действие" ++msgid "_History" ++msgstr "_История" + +-#: preferences.c:644 +-msgid "Command" +-msgstr "Команда" ++msgid "History key combination:" ++msgstr "Вызов истории " + +-#: preferences.c:659 +-msgid "Add..." +-msgstr "Добавить..." ++msgid ">>$HOME/ptest" ++msgstr "" + +-#: preferences.c:663 ++msgid "Hotkeys" ++msgstr "Сочетания клавиш" ++ ++msgid "If checked, does a search-as-you-type. Turns red if not found. Goes to top (Alt-E) line when no chars are entered for search" ++msgstr "Если отмечено, поиск будет идти по мере набора. Если нет совпадений, становится красным. Переходит к верхней строке (Alt-E) если не введены буквы для поиска" ++ ++msgid "If checked, does case sensitive search" ++msgstr "Если выбрано, поиск с учетом регистра" ++ ++msgid "If checked, edit the history item clicked on." ++msgstr "Если выбрано, разрешено редактирование истории" ++ ++msgid "If checked, enables checking multiple concurrent user logic. Use if several different users are logged in at the same time." ++msgstr "Если выбрано, включается многопользовательский режим. Используется если одновременно запущены программы от разных пользователей" ++ ++msgid "If checked, enables debug prints on clipboard update logic. This only takes effect when enabled at start up, and may be disabled at compile time." ++msgstr "Если выбрано, включает режим отладки. Отладка будет включена при перезапуске программы, но возможно она отключена при компиляции" ++ ++msgid "If checked, enables the persistent history." ++msgstr "Если выбрано, включается хранение истории" ++ ++msgid "If checked, places current clipboard entry at top of list. If not checked, history does not get sorted." ++msgstr "Если выбрано, текущий буфер обмена показывается вверху списка. Если не выбрано, сортировка списка истории не производится" ++ ++msgid "If checked, puts the persistent history at the top of the history list." ++msgstr "Если выбрано, помещать записи истории вверху списка" ++ ++msgid "If checked, puts the persistent history in a new list." ++msgstr "Если выбрано, помещать записи истории в новый список" ++ ++msgid "If checked, the current entry will be on the bottom instead of the top." ++msgstr "Если выбрано, текущая запись будет внизу а не в верху." ++ ++msgid "If checked, Use the clipboard, which is Ctrl-C, Ctrl-V" ++msgstr "Если выбрано, использовать буфер обмена по Ctrl-C, Ctrl-V" ++ ++msgid "If checked, Use the primary clipboard (mouse highlight-copy, middle mouse button paste)" ++msgstr "Если выбрано, использовать буфер обмена консоли (выделение мышью - копировать, средняя кнопка - вставить)" ++ ++msgid "If checked, use X, Y to position the history list" ++msgstr "Если выбрано, показывать список истории по координатам X и Y" ++ ++msgid "If checked, will display tabs with Right arrow (utf8,\\2192), newlines with pharagrph(\\204b), and spaces with square-u(\\2423)." ++msgstr "Если выбрано, будут отображены вкладки со стрелкой вправо (utf8,\\2192), ввод строки с параграфом(\\204b), и пробелы с square-u(\\2423)." ++ ++msgid "If checked, will emit the history entry via the keyboard entry." ++msgstr "Если выбрано, будет создавать запись в истории посредством ввода с клавиатуры." ++ ++msgid "If checked, will ignore any clipboard additions that contain only whitespace." ++msgstr "Если выбрано, будут игнорироваться любые добавления в буфер обмена, которые содержат только пробелы." ++ ++msgid "If checked, will keep both clipboards with the same content. If primary is pasted, then copy will have the same data." ++msgstr "Если выбрано, будет поддерживать в обоих буферах один контент. Если первый вставлен, тогда копия будет содержать те же данные." ++ ++msgid "If checked, will replace newlines with spaces." ++msgstr "Если выбрано, ввод строки будет заменён пробелом." ++ ++msgid "If checked, will restore clipboard entry on application exit." ++msgstr "Если выбрано, сохраняется состояние буфера обмена при выходе из приложения." ++ ++msgid "If checked, will trim whitespace from beginning and end of entry." ++msgstr "Если выбрано, будут удалены пробелы в начале и в конце строки." ++ ++msgid "Если выбрано, will use Ctrl-V paste." ++msgstr "Если выбрано, используется Ctrl-V для вставки" ++ ++msgid "If checked, will use middle mouse to paste." ++msgstr "Если выбрано, используется средняя кнопка мыши для вставки" ++ ++msgid "If checked, will use xdotool to paste wherever the mouse is." ++msgstr "Если выбрано будет использован xdotool для вставки в место положения мыши." ++ ++msgid "Ignore Whitespace Only" ++msgstr "Игнорировать только пробелы" ++ ++msgid "Items in history:" ++msgstr "Элементы в истории:" ++ ++msgid "Key" ++msgstr "Клавиша" ++ ++msgid "Keyboard Input" ++msgstr "Клавиатурный ввод" ++ ++msgid "Lightweight GTK+ clipboard manager." ++msgstr "Менеджер буфера обмена на основе GTK+" ++ ++msgid "Max Data Size(MB)" ++msgstr "Макс. размер данных(Мб)" ++ ++msgid "Maximum data size of entire history list" ++msgstr "Макс. размер для каждого списка истории" ++ ++msgid "Maximum number of clipboard entries to keep" ++msgstr "Макс. хранимое число записей буфера обмена" ++ ++msgid "Menu key combination" ++msgstr "Вызов основного меню" ++ ++msgid "Middle" ++msgstr "Середине" ++ ++msgid "Mouse" ++msgstr "Мышь" ++ ++msgid "Multiuser" ++msgstr "Многопользовательский режим" ++ ++msgid "Omit items in the:" ++msgstr "Исключить элементы в:" ++ ++msgid "Paste All Entry Delimiter" ++msgstr "Вставить разделитель всех записей" ++ ++msgid "Persistent As Separate List" ++msgstr "Постоянная как отдельный список" ++ ++msgid "Persistent History" ++msgstr "Постоянная история" ++ ++msgid "Persistent history key:" ++msgstr "Вызов постоянной истории" ++ ++msgid "Persistent On Top" ++msgstr "Постоянная вверху" ++ ++msgid "Position history" ++msgstr "Позиция истории" ++ ++msgid "Position in pixels from the top of the screen" ++msgstr "Позиция в пикселах от верха экрана" ++ ++msgid "Preferences" ++msgstr "Настройки" ++ ++msgid "Print clipboard contents" ++msgstr "Печать содержимого буфера обмена" ++ ++msgid "Print primary contents" ++msgstr "Печать содержимого буфера консоли" ++ + msgid "Remove" + msgstr "Удалить" + +-#: preferences.c:680 +-msgid "Hotkeys" +-msgstr "Горячие клавиши" ++msgid "Restore Empty" ++msgstr "Сохранять буфер при закрытии приложения" + +-#: preferences.c:688 +-msgid "Hotkeys" +-msgstr "Горячие клавиши" ++msgid "Right Click Edit" ++msgstr "Правый клик - редактировать" + +-#: preferences.c:697 +-msgid "History key combination:" +-msgstr "Вызов Истории" ++msgid "Run as daemon" ++msgstr "Запускать как службу" + +-#: preferences.c:705 +-msgid "Actions key combination:" +-msgstr "Вызов Действия" ++msgid "Save history" ++msgstr "Сохранять историю" + +-#: preferences.c:713 +-msgid "Menu key combination:" +-msgstr "Вызов меню" ++msgid "Save History as a text file. Prepends xHIST_0000 to each entry. x is either P(persistent) or N (normal)" ++msgstr "Хранить историю как простой текст. Разделитель xHIST_0000 для каждой записи. Где х это типа записи P(постоянная) или N (нормальная)" + +-#: main.c:1154 ++msgid "Save history to a file." ++msgstr "Сохранять историю в файл." ++ ++msgid "Search As You Type" ++msgstr "Искать по мере ввода" ++ ++msgid "Show in a single line" ++msgstr "Показывать в одной строке." ++ ++msgid "Show in reverse order" ++msgstr "Показывать в обратном порядке" ++ ++msgid "> " ++msgstr "> " ++ ++msgid "S_ynchronize clipboards" ++msgstr "Синхронизация буферов обмена" ++ ++msgid "" ++"This is the Action Name. \n" ++"DO NOT put commands here." ++msgstr "" ++"Это поле названия Действия. \n" ++"НЕ ПИШИТЕ здесь текст команды. " ++ ++msgid "" ++"This program is free software; you can redistribute it and/or modify\n" ++"it under the terms of the GNU General Public License as published by\n" ++"the Free Software Foundation; either version 3 of the License, or\n" ++"(at your option) any later version.\n" ++"\n" ++"This program is distributed in the hope that it will be useful,\n" ++"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" ++"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" ++"GNU General Public License for more details.\n" ++"\n" ++"You should have received a copy of the GNU General Public License\n" ++"along with this program. If not, see .;" ++msgstr "" ++"Это программа является свободным программным обеспечением\n" ++"вы можете распространять и/или изменять её согласно условиям\n" ++"Общей Публичной Лицензии GNU, которая опубликована Фондом \n" ++"Свободного ПО; или версией 3 лицензии, или более поздней версией\n" ++"(на ваш выбор).\n" ++"Эта программа распространяется в надежде, что будет полезной,\n" ++"но БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ; даже без подразумеваемой гарантии\n" ++"пригодности для определённой цели. См. подробности в Общей публичной\n" ++"лицензии.\n" ++"\n" ++"Вы должны получить копию Общей публичной лицензии\n" ++"с этой программой. Если нет, см. .;" ++ ++msgid "This string will be inserted between each line of history for paste all." ++msgstr "Эта строка будет вставлена между каждой записью истории" ++ ++msgid "Trim Newlines" ++msgstr "Удалить ввод строки" ++ ++msgid "Trim Whitespace" ++msgstr "Удалить пробелы" ++ + msgid "Use Alt-E to edit, Alt-C to clear" +-msgstr "Alt+E - редактировать, Alt+C - очистить" ++msgstr "Alt-E - редактировать, Alt-C - очистить" + +-#: main.c:313 +-msgid "Editing Clipboard" +-msgstr "Редактирование буфера обмена" ++msgid "Use _Copy (Ctrl-C)" ++msgstr "Использовать _Копировать (Ctrl-C)" + +-#: main.c:229 main.c:244 main.c:1404 +-msgid "Clipboard Manager" +-msgstr "Менеджер буфера обмена" ++msgid "Use %% if you want a literal %. See the man page for gnuC printf (man 2 printf) for more information." ++msgstr "Используйте %% для символа %. См. справку по команде printf (man 2 printf) для подробной информации" ++ ++msgid "Use _Primary (Selection)" ++msgstr "_Использовать буфер выделения" ++ ++msgid "" ++"Written by Gilberto \"Xyhthyx\" Miralla and Doug Springer.\n" ++"Report bugs to ." ++msgstr "" ++ +Index: ChangeLog +=================================================================== +--- ChangeLog (Revision 494) ++++ ChangeLog (Revision 496) +@@ -2,6 +2,7 @@ + +Fixed bug 107, segfault when action key missing in parcelliterc. + +Fixed bug 108, red search-as-you-type with super-K key. + +Fixed bug 109, segfault when action key missing and history key changed. ++ +Updated Russian translation. + + V1.1.7 Tuesday, October 15, 2013 + +Added remote i386 build and upload to sourceforge. diff --git a/parcellite.spec b/parcellite.spec index 14d3a7e..bff1bbc 100644 --- a/parcellite.spec +++ b/parcellite.spec @@ -2,13 +2,37 @@ Name: parcellite Version: 1.1.7 -Release: 1%{?prerelease:.%{?prerelease}}%{?dist} +Release: 2%{?prerelease:.%{?prerelease}}%{?dist} Summary: A lightweight GTK+ clipboard manager Group: User Interface/Desktops License: GPLv3+ URL: http://parcellite.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz + +# from http://sourceforge.net/p/parcellite/code/491/ +# fixes http://sourceforge.net/p/parcellite/bugs/101/ +Patch0: parcellite-1.1.7-issue-107.patch + +# from http://sourceforge.net/p/parcellite/code/492/ +# fixes http://sourceforge.net/p/parcellite/bugs/109/ +Patch1: parcellite-1.1.7-issue-109.patch + +# from http://sourceforge.net/p/parcellite/code/493/ +# fixes http://sourceforge.net/p/parcellite/bugs/108/ +Patch2: parcellite-1.1.7-issue-108.patch + +# from http://sourceforge.net/p/parcellite/code/495/ and +# from http://sourceforge.net/p/parcellite/code/496/ +Patch3: parcellite-1.1.7-update-russian-translation.patch + +# from http://sourceforge.net/p/parcellite/code/497/ +Patch4: parcellite-1.1.7-fix-case-sensitive-search.patch + +# from http://sourceforge.net/p/parcellite/code/498/ +# fixes http://sourceforge.net/p/parcellite/bugs/111/ +Patch5: parcellite-1.1.7-issue-111.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel >= 2.10.0 @@ -27,7 +51,12 @@ system tray or notification area if you want to use this package. %setup -q # remove useless files rm -rf autom4te.cache */*~ || : - +%patch0 -p0 -b .issue107 +%patch1 -p0 -b .issue109 +%patch2 -p0 -b .issue108 +%patch3 -p0 -b .update-russian-translation +%patch4 -p0 -b .fix-case-sensitive-search +%patch5 -p0 -b .issue111 %build %configure @@ -72,6 +101,10 @@ rm -rf %{buildroot} %changelog +* Fri Jan 03 2014 Christoph Wickert - 1.1.7-2 +- Add 6 upstream patches fixing three segfaults, case-sensitive search, + search-as-you-type and updates the russian translations + * Wed Oct 16 2013 Christoph Wickert - 1.1.7-1 - Update to 1.1.7 (#1019649)