gtkdialog.paketlendi

This commit is contained in:
milisarge 2017-06-11 02:22:30 +03:00
parent 2bc42996ae
commit 1ade17b792
2 changed files with 5 additions and 47 deletions

View File

@ -1,42 +0,0 @@
--- gtkdialog-0.7.20/src/glade_support.c 2007-03-16 14:25:49.000000000 +0000
+++ gtkdialog-0.7.20/src/glade_support.c.new 2009-05-17 19:11:59.993997605 +0100
@@ -37,10 +37,10 @@
* *
* *
*************************************************************************/
-typedef struct signal {
+typedef struct _signal {
gchar *name;
GCallback callback;
-} signal;
+} _signal;
/*
** Signal handler callbascks.
@@ -206,7 +206,7 @@
static gboolean
find_and_connect_handler(
GtkWidget *widget,
- signal *signals,
+ _signal *signals,
const gchar *signal_name,
const gchar *handler_name)
{
@@ -288,7 +288,7 @@
gpointer user_data)
{
gint n;
- signal entry_signals[] = {
+ _signal entry_signals[] = {
{ "activate", (GCallback)on_any_entry_almost_any },
{ "backspace", (GCallback)on_any_entry_almost_any },
{ "copy-clipboard", (GCallback)on_any_entry_almost_any },
@@ -319,7 +319,7 @@
gpointer user_data)
{
variable *var;
- signal widget_signals[] = {
+ _signal widget_signals[] = {
{ "accel-closures-changed", (GCallback)on_any_widget_almost_any },
{ "composited-changed", (GCallback)on_any_widget_almost_any },
{ "grab-focus", (GCallback)on_any_widget_almost_any },

View File

@ -1,19 +1,19 @@
# Description: Gtkdialog is a small utility for fast and easy GUI building.
# Description: Gtkdialog hızlı arayüz yapma aracı
# URL: http://linux.pte.hu/~pipas/gtkdialog/
# Packager: milisarge
# Depends on: gtk2
name=gtkdialog
version=0.7.20
version=0.8.3
release=1
source=(ftp://linux.pte.hu/pub/gtkdialog/$name-$version.tar.gz
gtkdialog_0.7.20_glade.patch)
source=(http://gtkdialog.googlecode.com/files/gtkdialog-$pkgver.tar.gz)
build() {
cd $name-$version
patch -p1 < $SRC/gtkdialog_0.7.20_glade.patch
./configure --prefix=/usr
make
make prefix=$PKG/usr install
rm -r $PKG/usr/info
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
cp -a examples "$pkgdir"/usr/share/doc/$pkgname/examples
}