rpms/griv/F-9 griv-cflags.patch, NONE, 1.1 griv-desktop.patch, NONE, 1.1 griv-warnings.patch, NONE, 1.1 griv.1, NONE, 1.1 griv.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Simon Wesp (cassmodiah) fedora-extras-commits at redhat.com
Sat Aug 2 11:00:16 UTC 2008


Author: cassmodiah

Update of /cvs/pkgs/rpms/griv/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22345/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	griv-cflags.patch griv-desktop.patch griv-warnings.patch 
	griv.1 griv.spec import.log 
Log Message:


griv-cflags.patch:

--- NEW FILE griv-cflags.patch ---
--- griv-0.1.9/src/Makefile.am.cflags	2008-03-13 01:51:19.000000000 +0900
+++ griv-0.1.9/src/Makefile.am	2008-07-19 01:32:40.000000000 +0900
@@ -6,5 +6,5 @@
 bin_PROGRAMS = griv
 griv_SOURCES = commands.c conf.c lista.c net.c riv.c stuff.c ui.c ui_priv.c $(autoaway_src)
 
-CFLAGS = @GTK_CFLAGS@
+CFLAGS = @GTK_CFLAGS@ @CFLAGS@
 LDADD = @GTK_LIBS@ -lgthread-2.0 $(autoaway_ld)
--- griv-0.1.9/src/Makefile.in.cflags	2008-03-13 01:51:44.000000000 +0900
+++ griv-0.1.9/src/Makefile.in	2008-07-19 01:33:35.000000000 +0900
@@ -84,7 +84,7 @@
 CATOBJEXT = @CATOBJEXT@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
-CFLAGS = @GTK_CFLAGS@
+CFLAGS = @GTK_CFLAGS@ @CFLAGS@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CXX = @CXX@


griv-desktop.patch:

--- NEW FILE griv-desktop.patch ---
--- griv-0.1.9/data/griv.desktop.in.old	2008-07-30 19:00:00.000000000 +0200
+++ griv-0.1.9/data/griv.desktop.in	2008-07-30 19:00:19.000000000 +0200
@@ -4,6 +4,6 @@
 Exec=griv
 Terminal=false
 Type=Application
-Icon=griv.png
+Icon=griv
 StartupNotify=true
 Categories=Network;InstantMessaging;

griv-warnings.patch:

--- NEW FILE griv-warnings.patch ---
--- griv-0.1.9/src/lista.h.debug	2008-03-13 01:51:19.000000000 +0900
+++ griv-0.1.9/src/lista.h	2008-07-30 22:41:01.000000000 +0900
@@ -54,6 +54,7 @@ gboolean lista_check_nick_availability(g
 int lista_set_away(gint id, gboolean away, char *away_txt);
 int lista_change_nick(gint id, char *newnick);
 gchar* lista_get_ip_by_id(gint id);
+int lista_get_gid_by_id(gint id);
 
 #endif
 
--- griv-0.1.9/src/net.h.debug	2008-03-13 01:51:19.000000000 +0900
+++ griv-0.1.9/src/net.h	2008-07-30 22:42:47.000000000 +0900
@@ -99,5 +99,6 @@ void change_nick(char *nick);
 void send_ping();
 int net_start();
 int send_reaway();
+int sendpacket(struct PAKIET* pakiet, int typ, int toid, char *datagram);
 
 #endif
--- griv-0.1.9/src/ui.c.debug	2008-03-13 01:51:19.000000000 +0900
+++ griv-0.1.9/src/ui.c	2008-07-30 22:43:46.000000000 +0900
@@ -24,6 +24,7 @@
 #include "riv.h"
 #include "commands.h"
 #include "griv-icon.h"
+#include "stuff.h"
 
 GtkWidget *window;
 GtkTreePath *selected_path;



--- NEW FILE griv.1 ---
.TH "GRIV" "1" "07.07.08" "Simon Wesp" "User Commands"
.SH "NAME"
griv \- Gtk RIVchat 

.SH "SYNOPSIS"
.B griv
[\fIOPTIONS\fR]

.SH "DESCRIPTION"
\fBgriv\fR is a serverless lan chat program, with the protocol based on RivChat by
Arkadiusz Kolacz (Wielebny K.)
.br 
Specification available at:
.br 
http://akolacz.googlepages.com/RivChat\-specyfikacja.PDF

.SH "OPTIONS"
.TP 
\fB\-n\fR,  \fB\-\-nick\fR NICK
set nickname for the chat. Your standard nickname is your linux nickname
.TP 
\fB\-u\fR,  \fB\-\-user\fR USER
set your username. Your standard username is your linux nickname and will shown as username at hostname
.TP 
\fB\-p\fR,  \fB\-\-port\fR PORT
set a port. The standard port for griv and other chats based on rivchat is 16127

.SH "EXAMPLES"
griv \-n simon \-u cassmodiah \-p 16127
.br 
griv \-\-nick simon \-\-user cassmodiah \-\-port 16127

.SH "CONFIGURATION FILE"
Configuration file is located at ~/.config/griv.conf

.SH "SEE ALSO"
HOMEPAGE 
.br 
http://sourceforge.net/projects/griv/

.SH "AUTHOR"
This manual page was written by Simon Wesp <cassmodiah at fedoraproject.org>
for Fedora Linux.


--- NEW FILE griv.spec ---
Name:           griv
Version:        0.1.9
Release:        4%{?dist}
Summary:        A GTK-Chat based on the RIV-Chat-protocol

Group:          Applications/Internet
License:        GPLv3
URL:            http://sourceforge.net/projects/griv
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Patch0:         %{name}-cflags.patch
Patch1:         %{name}-warnings.patch
Patch2:         %{name}-desktop.patch
Source1:        %{name}.1
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gtk2-devel
BuildRequires:  gettext
BuildRequires:  intltool
BuildRequires:  libXScrnSaver-devel
BuildRequires:  xorg-x11-server-devel
BuildRequires:  desktop-file-utils


%description
griv is a GTK-Chat based on the RIV-Chat-protocol for serverless network-chats 
and uses the port 16127 for standard. This version comes with autoaway 
and the configuration file is located at 
~/.config/griv.conf


%prep
%setup -q
%patch0 -p1 -b .cflags
%patch1 -p1 -b .warnings
%patch2 -p1 -b .desktop


%build
%configure 
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

desktop-file-install --vendor="fedora" --delete-original \
        --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
        $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop 

mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
    install -p -m 0644 %{SOURCE1} \
    $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 

%find_lang %{name}


%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc COPYING README AUTHORS Changelog
%{_bindir}/%{name}
%{_datadir}/pixmaps/*
%{_datadir}/applications/fedora-%{name}.desktop
%{_mandir}/man1/%{name}.1.*

%changelog 
* Tue Jul 29 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.1.9-4
- Add warningpatch, patched by Mamoru Tasaka
- Create and add patch2 

* Tue Jul 29 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.1.9-3
- Edit Specfile bug #454166 C7 C8 C11
- Add cflagpatch, patched by Mamoru Tasaka
- Delete perl in BuildRequires
- Add sed command to delete file-extension in .desktop-file
- Clear up specfile

* Tue Jul 08 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.1.9-2
- Remove duplicate BuildRequires: libX11-devel (by gtk2-devel)
- Remove duplicate BuildRequires: xorg-x11-proto-devel (by libX11-devel)
- Add compiler flags
- Add installer for .desktop file
- Add icon-install
- Add script to update gtk-icon-cache
- Create and add manpage

* Sat Jul 05 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.1.9-1
- Initial Release


--- NEW FILE import.log ---
griv-0_1_9-4_fc9:F-9:griv-0.1.9-4.fc9.src.rpm:1217674582


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/griv/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Aug 2008 15:51:10 -0000	1.1
+++ .cvsignore	2 Aug 2008 10:59:46 -0000	1.2
@@ -0,0 +1 @@
+griv-0.1.9.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/griv/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Aug 2008 15:51:10 -0000	1.1
+++ sources	2 Aug 2008 10:59:46 -0000	1.2
@@ -0,0 +1 @@
+9527e6e351779c144c8c8781a5980362  griv-0.1.9.tar.bz2




More information about the fedora-extras-commits mailing list