[arch-commits] Commit in gmrun/repos/community-x86_64 (4 files)
Florian Pritz
bluewind at archlinux.org
Thu Sep 12 11:24:35 UTC 2019
Date: Thursday, September 12, 2019 @ 11:24:35
Author: bluewind
Revision: 509531
archrelease: copy trunk to community-x86_64
Added:
gmrun/repos/community-x86_64/PKGBUILD
(from rev 509530, gmrun/trunk/PKGBUILD)
Deleted:
gmrun/repos/community-x86_64/PKGBUILD
gmrun/repos/community-x86_64/history_string.patch
gmrun/repos/community-x86_64/return-type-gtk_completion_line_get_type.patch
------------------------------------------------+
PKGBUILD | 69 +++++++++--------------
history_string.patch | 26 --------
return-type-gtk_completion_line_get_type.patch | 31 ----------
3 files changed, 29 insertions(+), 97 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-12 11:24:32 UTC (rev 509530)
+++ PKGBUILD 2019-09-12 11:24:35 UTC (rev 509531)
@@ -1,40 +0,0 @@
-# Contributor: Jeff Mickey <j at codemac.net>
-# Contributor: Woody Gilk aka Shadowhand <woody.gilk at gmail.com>
-# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=gmrun
-pkgver=0.9.4w
-pkgrel=2
-pkgdesc="A simple program which provides a run program window"
-arch=('x86_64')
-url="https://github.com/wdlkmpx/gmrun"
-license=('GPL')
-depends=('gtk2' 'popt')
-source=($pkgname-$pkgver.tar.gz::https://github.com/wdlkmpx/gmrun/archive/$pkgver.tar.gz
- return-type-gtk_completion_line_get_type.patch
- history_string.patch)
-md5sums=('e3fa3ebfa6d81675ba59152372fb2f7b'
- '0b467e3cdb14ca9f93176d3193659af7'
- 'f33450f3fae35ed6111aec8417c4d3d6')
-backup=('etc/gmrunrc')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -p1 -i "$srcdir/return-type-gtk_completion_line_get_type.patch"
- patch -p1 -i "$srcdir/history_string.patch"
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./autogen.sh
- ./configure --prefix=/usr --sysconfdir=/etc
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-}
Copied: gmrun/repos/community-x86_64/PKGBUILD (from rev 509530, gmrun/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-09-12 11:24:35 UTC (rev 509531)
@@ -0,0 +1,29 @@
+# Contributor: Jeff Mickey <j at codemac.net>
+# Contributor: Woody Gilk aka Shadowhand <woody.gilk at gmail.com>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=gmrun
+pkgver=0.9.5w
+pkgrel=1
+pkgdesc="A simple program which provides a run program window"
+arch=('x86_64')
+url="https://github.com/wdlkmpx/gmrun"
+license=('GPL')
+depends=('gtk2' 'popt')
+source=($pkgname-$pkgver.tar.gz::https://github.com/wdlkmpx/gmrun/archive/$pkgver.tar.gz)
+md5sums=('8d7fdf893f15306df9bb9daca6cf897d')
+backup=('etc/gmrunrc')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./autogen.sh
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+}
Deleted: history_string.patch
===================================================================
--- history_string.patch 2019-09-12 11:24:32 UTC (rev 509530)
+++ history_string.patch 2019-09-12 11:24:35 UTC (rev 509531)
@@ -1,26 +0,0 @@
-Description: Handle more than 256 characters in the history
-Author: <bdefreese at bddebian3.bddebian.com>
-
---- a/src/history.cc
-+++ b/src/history.cc
-@@ -41,15 +41,14 @@
- ifstream f(filename);
- if (!f) return;
-
-+ string line_text;
-+
- while (!f.eof()) {
-- char line_text[256];
- string line_str;
-
-- f.getline(line_text, sizeof(line_text));
-- if (*line_text) {
-- line_str = line_text;
-- history.push_back(line_str);
-- }
-+ getline(f,line_text);
-+ line_str = line_text;
-+ history.push_back(line_str);
- }
-
- m_file_entries = history.size();
Deleted: return-type-gtk_completion_line_get_type.patch
===================================================================
--- return-type-gtk_completion_line_get_type.patch 2019-09-12 11:24:32 UTC (rev 509530)
+++ return-type-gtk_completion_line_get_type.patch 2019-09-12 11:24:35 UTC (rev 509531)
@@ -1,31 +0,0 @@
-Description: fix return type of gtk_completion_line_get_type
- Patch from fedora was slightly modified (parts dropped, fuzz fixed) to apply on
- top of Debian package by Andreas Henriksson <andreas at fatal.se>
-Origin: https://src.fedoraproject.org/cgit/rpms/gmrun.git/plain/gmrun-0.9.2-f12.patch
-Bug-Debian: https://bugs.debian.org/857065
-
---- a/src/gtkcompletionline.cc
-+++ b/src/gtkcompletionline.cc
-@@ -77,9 +77,9 @@
- on_key_press(GtkCompletionLine *cl, GdkEventKey *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 =
---- a/src/gtkcompletionline.h
-+++ b/src/gtkcompletionline.h
-@@ -76,7 +76,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*);
More information about the arch-commits
mailing list