From aacf45eb8d377928a3abbd05c3400f784f9676f8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Aug 08 2019 13:48:01 +0000 Subject: gmrun fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1674986 --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index e12dd1a..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -gmrun-0.9.2.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..4658afc --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +gmrun fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1674986 diff --git a/gmrun-0.9.2-f12.patch b/gmrun-0.9.2-f12.patch deleted file mode 100644 index ab771c5..0000000 --- a/gmrun-0.9.2-f12.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff -ur gmrun-0.9.2/src/gtkcompletionline.cc gmrun-0.9.2.new/src/gtkcompletionline.cc ---- gmrun-0.9.2/src/gtkcompletionline.cc 2010-01-11 12:22:35.097644540 +0200 -+++ gmrun-0.9.2.new/src/gtkcompletionline.cc 2010-01-11 12:22:45.686644030 +0200 -@@ -79,9 +79,9 @@ - on_scroll(GtkCompletionLine *cl, GdkEventScroll *event, gpointer data); - - /* get_type */ --guint gtk_completion_line_get_type(void) -+GtkType gtk_completion_line_get_type(void) - { -- static guint type = 0; -+ static GtkType type = 0; - if (type == 0) - { - GtkTypeInfo type_info = -@@ -381,10 +381,7 @@ - return 0; - } - --int my_alphasort(const void* va, const void* vb) { -- const struct dirent** a = (const struct dirent**)va; -- const struct dirent** b = (const struct dirent**)vb; -- -+int my_alphasort(const struct dirent** a, const struct dirent** b) { - const char* s1 = (*a)->d_name; - const char* s2 = (*b)->d_name; - -diff -ur gmrun-0.9.2/src/gtkcompletionline.h gmrun-0.9.2.new/src/gtkcompletionline.h ---- gmrun-0.9.2/src/gtkcompletionline.h 2003-11-16 12:43:32.000000000 +0200 -+++ gmrun-0.9.2.new/src/gtkcompletionline.h 2010-01-11 12:22:45.686644030 +0200 -@@ -14,6 +14,7 @@ - #define __GTKCOMPLETIONLINE_H__ - - #include -+#include - - #include - -@@ -76,7 +77,7 @@ - void (* cancel)(GtkCompletionLine *cl); - }; - -- guint gtk_completion_line_get_type(void); -+ GtkType gtk_completion_line_get_type(void); - GtkWidget *gtk_completion_line_new(); - - void gtk_completion_line_last_history_item(GtkCompletionLine*); diff --git a/gmrun-0.9.2-gcc43.patch b/gmrun-0.9.2-gcc43.patch deleted file mode 100644 index 5f889d4..0000000 --- a/gmrun-0.9.2-gcc43.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -ur gmrun-0.9.2/src/ci_string.h gmrun-0.9.2.new/src/ci_string.h ---- gmrun-0.9.2/src/ci_string.h 2001-05-16 17:39:31.000000000 +0300 -+++ gmrun-0.9.2.new/src/ci_string.h 2008-01-15 09:10:39.000000000 +0200 -@@ -7,6 +7,7 @@ - #define __CI_STRING_H__ - - #include -+#include - #include - - struct ci_char_traits : public std::char_traits -diff -ur gmrun-0.9.2/src/gtkcompletionline.cc gmrun-0.9.2.new/src/gtkcompletionline.cc ---- gmrun-0.9.2/src/gtkcompletionline.cc 2003-11-16 12:55:07.000000000 +0200 -+++ gmrun-0.9.2.new/src/gtkcompletionline.cc 2008-01-15 09:10:39.000000000 +0200 -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - - #include - #include -diff -ur gmrun-0.9.2/src/main.cc gmrun-0.9.2.new/src/main.cc ---- gmrun-0.9.2/src/main.cc 2003-11-16 12:55:07.000000000 +0200 -+++ gmrun-0.9.2.new/src/main.cc 2008-01-15 09:10:39.000000000 +0200 -@@ -20,6 +20,7 @@ - #include - #include - #include -+#include - - using namespace std; - -diff -ur gmrun-0.9.2/src/prefs.cc gmrun-0.9.2.new/src/prefs.cc ---- gmrun-0.9.2/src/prefs.cc 2002-08-16 13:48:22.000000000 +0300 -+++ gmrun-0.9.2.new/src/prefs.cc 2008-01-16 19:48:39.000000000 +0200 -@@ -13,6 +13,7 @@ - #include - #include - #include -+#include - - #include - diff --git a/gmrun-0.9.2-mousewheel.patch b/gmrun-0.9.2-mousewheel.patch deleted file mode 100644 index ac1f843..0000000 --- a/gmrun-0.9.2-mousewheel.patch +++ /dev/null @@ -1,68 +0,0 @@ -diff -ur gmrun-0.9.2/src/gtkcompletionline.cc gmrun-0.9.2.new/src/gtkcompletionline.cc ---- gmrun-0.9.2/src/gtkcompletionline.cc 2010-01-11 12:20:16.076644635 +0200 -+++ gmrun-0.9.2.new/src/gtkcompletionline.cc 2010-01-11 12:21:11.815581518 +0200 -@@ -75,6 +75,8 @@ - - static gboolean - on_key_press(GtkCompletionLine *cl, GdkEventKey *event, gpointer data); -+static gboolean -+on_scroll(GtkCompletionLine *cl, GdkEventScroll *event, gpointer data); - - /* get_type */ - guint gtk_completion_line_get_type(void) -@@ -204,6 +206,8 @@ - GTK_SIGNAL_FUNC(on_key_press), NULL); - gtk_signal_connect(GTK_OBJECT(object), "key_release_event", - GTK_SIGNAL_FUNC(on_key_press), NULL); -+ gtk_signal_connect(GTK_OBJECT(object), "scroll-event", -+ GTK_SIGNAL_FUNC(on_scroll), NULL); - - object->hist = new HistoryFile(); - -@@ -954,6 +958,45 @@ - } - - static gboolean -+on_scroll(GtkCompletionLine *cl, GdkEventScroll *event, gpointer data) -+{ -+ if (event->direction == GDK_SCROLL_UP) { -+ if (cl->win_compl != NULL) { -+ int &item = cl->list_compl_items_where; -+ item--; -+ if (item < 0) { -+ item = 0; -+ } else { -+ complete_from_list(cl); -+ } -+ } else { -+ up_history(cl); -+ } -+ if (MODE_SRC) { -+ search_off(cl); -+ } -+ return TRUE; -+ } else if (event->direction == GDK_SCROLL_DOWN) { -+ if (cl->win_compl != NULL) { -+ int &item = cl->list_compl_items_where; -+ item++; -+ if (item >= cl->list_compl_nr_rows) { -+ item = cl->list_compl_nr_rows - 1; -+ } else { -+ complete_from_list(cl); -+ } -+ } else { -+ down_history(cl); -+ } -+ if (MODE_SRC) { -+ search_off(cl); -+ } -+ return TRUE; -+ } -+ return FALSE; -+} -+ -+static gboolean - on_key_press(GtkCompletionLine *cl, GdkEventKey *event, gpointer data) - { - static gint tt_id = -1; -Only in gmrun-0.9.2.new/src: gtkcompletionline.cc.orig diff --git a/gmrun-0.9.2-multihead.patch b/gmrun-0.9.2-multihead.patch deleted file mode 100644 index f34dab2..0000000 --- a/gmrun-0.9.2-multihead.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- gmrun-0.9.2/src/main.cc.old 2011-11-16 15:06:39.421653557 +0200 -+++ gmrun-0.9.2/src/main.cc 2011-11-16 15:06:41.709647512 +0200 -@@ -542,7 +542,6 @@ - gtk_widget_set_name(win, "Msh_Run_Window"); - gtk_window_set_title(GTK_WINDOW(win), "Execute program feat. completion"); - gtk_window_set_policy(GTK_WINDOW(win), FALSE, FALSE, TRUE); -- // gtk_window_set_position(GTK_WINDOW(win), GTK_WIN_POS_CENTER); - gtk_container_set_border_width(GTK_CONTAINER(win), 4); - gtk_signal_connect(GTK_OBJECT(win), "destroy", - GTK_SIGNAL_FUNC(gtk_main_quit), NULL); -@@ -654,7 +653,10 @@ - } - else - { -- gtk_widget_set_uposition(win, prefs_left, prefs_top); -+ if ((prefs_top == -1) && (prefs_left == -1)) -+ gtk_window_set_position(GTK_WINDOW(win), GTK_WIN_POS_CENTER); -+ else -+ gtk_widget_set_uposition(win, prefs_left, prefs_top); - } - - gtk_widget_show(win); ---- gmrun-0.9.2/config/gmrunrc.old 2011-11-16 15:06:20.717702968 +0200 -+++ gmrun-0.9.2/config/gmrunrc 2011-11-16 15:06:31.805673674 +0200 -@@ -7,7 +7,8 @@ - TermExec = ${Terminal} -e - AlwaysInTerm = ssh telnet ftp lynx mc vi vim pine centericq perldoc man - --# Set window geometry (except height) -+# Set window geometry (except height). -+# Top / Left = -1: Center dialog box in the current screen. - Width = 400 - Top = 100 - Left = 200 diff --git a/gmrun-gmrunrc.patch b/gmrun-gmrunrc.patch deleted file mode 100644 index 6a53462..0000000 --- a/gmrun-gmrunrc.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- gmrun-0.9.2/config/gmrunrc.old 2003-11-16 12:43:41.000000000 +0200 -+++ gmrun-0.9.2/config/gmrunrc 2007-01-18 16:05:47.000000000 +0200 -@@ -3,7 +3,7 @@ - # GPL v2.0 applies - - # Set terminal --Terminal = gnome-terminal --start-factory-server --use-factory -+Terminal = xterm - TermExec = ${Terminal} -e - AlwaysInTerm = ssh telnet ftp lynx mc vi vim pine centericq perldoc man - -@@ -32,18 +32,14 @@ - # - %u gets replaced with the whole URL ("http://www.google.com") - # - %s gets replaced with "//www.google.com". This is useful for URL-s - # like "man:printf" --> %s will get replaced with "printf" --URL_http = mozilla -remote "openURL(%u, new-window)" --URL_mailto = mozilla -remote "mailto(%s)" -+URL_http = xdg-open %u -+URL_mailto = xdg-email %u -+URL_file = xdg-open %s - URL_man = ${TermExec} 'man %s' - URL_info = ${TermExec} 'info %s' --URL_pd = ${TermExec} 'perldoc %s' --URL_file = nautilus %s --URL_readme = ${TermExec} 'less /usr/doc/%s/README' --URL_info = ${TermExec} 'info %s' --URL_sh = sh -c '%s' -+URL_search = xdg-open 'http://www.google.com/search?q=%s' - - # extension handlers --EXT:doc,rtf = AbiWord %s --EXT:txt,cc,cpp,h,java,html,htm,epl,tex,latex,js,css,xml,xsl,am = emacs %s --EXT:ps = gv %s --EXT:pdf = xpdf %s -+# Customize your own extension handler. -+EXT:doc,rtf,txt,cc,cpp,h,java,html,htm,epl,tex,latex,js,css,xml,xsl,am,ps,pdf = xdg-open %s -+ diff --git a/gmrun.spec b/gmrun.spec deleted file mode 100644 index b68705b..0000000 --- a/gmrun.spec +++ /dev/null @@ -1,207 +0,0 @@ -Name: gmrun -Version: 0.9.2 -Release: 42%{?dist} -Summary: Lightweight "Run program" dialog box with search history and tab completion - -%if 0%{?rhel} != 0 -%if %{?rhel} <= 5 -%define new_version 0 -%else -%define new_version 1 -%endif -%else -%define new_version 1 -%endif - -License: GPL+ -URL: http://sourceforge.net/projects/gmrun -Source0: http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz -Patch0: gmrun-gmrunrc.patch -Patch1: gmrun-0.9.2-gcc43.patch -Patch2: gmrun-0.9.2-mousewheel.patch -%if %{new_version} == 1 -Patch3: gmrun-0.9.2-f12.patch -%endif -Patch4: gmrun-0.9.2-multihead.patch -%if %{new_version} == 1 -BuildRequires: popt-devel -%else -BuildRequires: popt -%endif -BuildRequires: gtk2-devel -Requires: xterm -%if 0%{?fedora} >= 14 -Requires: man-pages-reader -%else -Requires: man -%endif -Requires: info -Requires: xdg-utils - - -%description -A simple GTK program which provides a "run program" window. -It features a bash-like TAB completion, Ctrl-R/Ctrl-S for -searching through the history and URL handlers for any user defined -prefix. - - -%prep -%setup -q -%patch0 -p1 -b .gmrunrc -%patch1 -p1 -b .gcc43 -%patch2 -p1 -b .mousewheel -%if %{new_version} == 1 -%patch3 -p1 -b .f12_support -%endif -%patch4 -p1 -b .multihead - - -%build -%configure -make %{?_smp_mflags} - - -%install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" - - - -%files -%doc ChangeLog AUTHORS COPYING README NEWS -%{_datadir}/gmrun/ -%{_bindir}/gmrun - - -%changelog -* Thu Jul 25 2019 Fedora Release Engineering - 0.9.2-42 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 0.9.2-41 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 0.9.2-40 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 0.9.2-39 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering - 0.9.2-38 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0.9.2-37 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0.9.2-36 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Feb 03 2016 Fedora Release Engineering - 0.9.2-35 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 0.9.2-34 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat May 02 2015 Kalev Lember - 0.9.2-33 -- Rebuilt for GCC 5 C++11 ABI change - -* Sat Aug 16 2014 Fedora Release Engineering - 0.9.2-32 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 0.9.2-31 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Aug 03 2013 Fedora Release Engineering - 0.9.2-30 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Feb 13 2013 Fedora Release Engineering - 0.9.2-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jul 19 2012 Fedora Release Engineering - 0.9.2-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Tue Feb 28 2012 Fedora Release Engineering - 0.9.2-27 -- Rebuilt for c++ ABI breakage - -* Fri Jan 13 2012 Fedora Release Engineering - 0.9.2-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Nov 16 2011 Gilboa Davara - 0.9.2-25 -- Multi-head fix. (#746187, initial patch by Jens Petersen) - -* Mon Jul 25 2011 Gilboa Davara - 0.9.2-24 -- EL6 support. -- Cleaner spec. - -* Tue Feb 08 2011 Fedora Release Engineering - 0.9.2-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Apr 28 2010 Gilboa Davara - 0.9.2-22 -- Replace man with man-pages-reader. (#582930) - -* Fri Jan 22 2010 Gilboa Davara - 0.9.2-21 -- Make the F12 optional on F11 and above. - -* Mon Jan 11 2010 Gilboa Davara - 0.9.2-19 -- Fix #511639. Should build on F12. -- Add mouse wheel support. -- Fix possible crash due total input size. - -* Tue Feb 24 2009 Fedora Release Engineering - 0.9.2-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Thu Mar 04 2008 Gilboa Davara - 0.9.2-15 -- Reapply Ville's xdg-utils patch. - -* Mon Feb 18 2008 Fedora Release Engineering - 0.9.2-13 -- Autorebuild for GCC 4.3 - -* Thu Jan 17 2008 Gilboa Davara - 0.9.2-11 -- Replace htmlview with xdg-utils. (#388441, Patch by Ville Skytta) -- gcc4.3 compile fix. -- EPEL5 regression. - -* Mon Aug 27 2007 Gilboa Davara - 0.9.2-10 -- Re-Fix bad %%{_fedora} if/else. (Bad day) - -* Mon Aug 27 2007 Gilboa Davara - 0.9.2-9 -- Fix bad %%{_fedora} if/else. - -* Sun Aug 26 2007 Gilboa Davara - 0.9.2-8 -- Fixed license tag. -- Fixed F8 BR - popt-devel. - -* Sat Feb 10 2007 Gilboa Davara - 0.9.2-7 -- Preserve the source time-stamp. - -* Sun Feb 04 2007 Gilboa Davara - 0.9.2-6 -- Fixed summery. -- Remove redundant fileattr. - -* Sun Jan 28 2007 Gilboa Davara - 0.9.2-5 -- Missing REQ: man. -- Missing REQ: info. -- Missing REQ: xdg-open. -- Use xdg-open to handle files. - -* Sat Jan 20 2007 Gilboa Davara - 0.9.2-4 -- Add missing NEWS to %%doc. - -* Thu Jan 18 2007 Gilboa Davara - 0.9.2-3 -- Fix wrong group and project URLs. -- Fix summery, description. -- Remove BR: glib2-devel. (REQ by gtk2-devel). -- Add BR: popt -- Remove gmrunrc from %%config section. -- Set gmrunrc to 0644 (by default it's 0600) -- Configure gmrunrc to better handle Fedora URI's. -- Add REQ: htmlview. (gmrunrc) -- Add REQ: xterm. (gmrunrc) - -* Sat Jan 13 2007 Gilboa Davara - 0.9.2-2 -- Fix Source0 URL. -- Remove redundant %%doc files. - -* Sat Jan 13 2007 Gilboa Davara - 0.9.2-1 -- Initial release. - diff --git a/sources b/sources deleted file mode 100644 index 0393247..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -6cef37a968006d9496fc56a7099c603c gmrun-0.9.2.tar.gz