packages: gnome-inform7/gnome-inform7-as-needed.patch (NEW), gnome-inform7/...

aredridel aredridel at pld-linux.org
Wed Jul 22 15:54:03 CEST 2009


Author: aredridel                    Date: Wed Jul 22 13:54:03 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added

---- Files affected:
packages/gnome-inform7:
   gnome-inform7-as-needed.patch (NONE -> 1.1)  (NEW), gnome-inform7-fix.patch (NONE -> 1.1)  (NEW), gnome-inform7.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gnome-inform7/gnome-inform7-as-needed.patch
diff -u /dev/null packages/gnome-inform7/gnome-inform7-as-needed.patch:1.1
--- /dev/null	Wed Jul 22 15:54:03 2009
+++ packages/gnome-inform7/gnome-inform7-as-needed.patch	Wed Jul 22 15:53:58 2009
@@ -0,0 +1,36 @@
+diff -ur gnome-inform7-5Z71-o/src/gtkterp/frotz/Makefile.am gnome-inform7-5Z71/src/gtkterp/frotz/Makefile.am
+--- gnome-inform7-5Z71-o/src/gtkterp/frotz/Makefile.am	2009-04-05 10:16:38.000000000 -0600
++++ gnome-inform7-5Z71/src/gtkterp/frotz/Makefile.am	2009-07-21 23:51:14.424249128 -0600
+@@ -8,7 +8,7 @@
+ 	glkfrotz.h glkio.h setup.h
+ gtkterp_frotz_CFLAGS = @GTKTERP_CFLAGS@ -I../garglk
+ gtkterp_frotz_LDFLAGS = -L/usr/lib -L/usr/local/lib
+-gtkterp_frotz_LDADD = @GTKTERP_LIBS@ ../garglk/libgarglk.a
++gtkterp_frotz_LDADD = ../garglk/libgarglk.a @GTKTERP_LIBS@
+ 
+ frotzdocdir = $(datadir)/doc/$(PACKAGE)/frotz
+ dist_frotzdoc_DATA = AUTHORS COPYING README TODO
+diff -ur gnome-inform7-5Z71-o/src/gtkterp/git/Makefile.am gnome-inform7-5Z71/src/gtkterp/git/Makefile.am
+--- gnome-inform7-5Z71-o/src/gtkterp/git/Makefile.am	2009-04-06 16:49:48.000000000 -0600
++++ gnome-inform7-5Z71/src/gtkterp/git/Makefile.am	2009-07-21 23:49:50.869855812 -0600
+@@ -7,7 +7,7 @@
+ 	operands.c peephole.c savefile.c saveundo.c search.c terp.c version.h
+ gtkterp_git_CFLAGS = @GTKTERP_CFLAGS@ -I../garglk -DUSE_INLINE -DUSE_DIRECT_THREADING
+ gtkterp_git_LDFLAGS = -L/usr/lib -L/usr/local/lib
+-gtkterp_git_LDADD = @GTKTERP_LIBS@ ../garglk/libgarglk.a
++gtkterp_git_LDADD = ../garglk/libgarglk.a @GTKTERP_LIBS@
+ 
+ gitdocdir = $(datadir)/doc/$(PACKAGE)/git
+ dist_gitdoc_DATA = README.txt
+diff -ur gnome-inform7-5Z71-o/src/gtkterp/glulxe/Makefile.am gnome-inform7-5Z71/src/gtkterp/glulxe/Makefile.am
+--- gnome-inform7-5Z71-o/src/gtkterp/glulxe/Makefile.am	2009-04-05 10:32:59.000000000 -0600
++++ gnome-inform7-5Z71/src/gtkterp/glulxe/Makefile.am	2009-07-21 23:51:21.311283004 -0600
+@@ -7,7 +7,7 @@
+ 	heap.c gestalt.h glulxe.h opcodes.h accel.c profile.c 
+ gtkterp_glulxe_CFLAGS = @GTKTERP_CFLAGS@ -I../garglk -DOS_UNIX
+ gtkterp_glulxe_LDFLAGS = -L/usr/lib -L/usr/local/lib
+-gtkterp_glulxe_LDADD = @GTKTERP_LIBS@ ../garglk/libgarglk.a
++gtkterp_glulxe_LDADD = ../garglk/libgarglk.a @GTKTERP_LIBS@
+ 
+ glulxedocdir = $(datadir)/doc/$(PACKAGE)/glulxe
+ dist_glulxedoc_DATA = README

================================================================
Index: packages/gnome-inform7/gnome-inform7-fix.patch
diff -u /dev/null packages/gnome-inform7/gnome-inform7-fix.patch:1.1
--- /dev/null	Wed Jul 22 15:54:03 2009
+++ packages/gnome-inform7/gnome-inform7-fix.patch	Wed Jul 22 15:53:58 2009
@@ -0,0 +1,12 @@
+diff -ur gnome-inform7-5Z71-o/src/gtkterp/garglk/glk.h gnome-inform7-5Z71/src/gtkterp/garglk/glk.h
+--- gnome-inform7-5Z71-o/src/gtkterp/garglk/glk.h	2008-12-03 10:24:25.000000000 -0700
++++ gnome-inform7-5Z71/src/gtkterp/garglk/glk.h	2009-07-21 23:56:55.522033888 -0600
+@@ -24,7 +24,7 @@
+ #elif (UINT_MAX   == 4294967295)
+ typedef unsigned int glui32;
+ typedef signed   int glsi32;
+-#elif (ULONG_MAX) == 4294967295)
++#elif (ULONG_MAX == 4294967295)
+ typedef unsigned long glui32;
+ typedef signed long glsi32;
+ #else

================================================================
Index: packages/gnome-inform7/gnome-inform7.spec
diff -u /dev/null packages/gnome-inform7/gnome-inform7.spec:1.1
--- /dev/null	Wed Jul 22 15:54:03 2009
+++ packages/gnome-inform7/gnome-inform7.spec	Wed Jul 22 15:53:58 2009
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+Summary:	Inform 7 interactive fiction editor and compiler
+Name:		gnome-inform7
+Version:	5Z71
+Release:	1
+License:	GPL v2 + Closed-source Freely distributable compiler
+Group:		Development
+Source0:	http://dl.sourceforge.net/gnome-inform7/I7_%{version}_GNOME_Source.tar.gz
+# Source0-md5:	cdb48f47b0e18bb7228401b9035b4d13
+Source1:	http://www.inform-fiction.org/I7Downloads/I7_5U92_Linux_i386.tar.gz
+# Source1-md5:	d6faac063eabb0d546baf444cafb0beb
+Patch0:		%{name}-as-needed.patch
+Patch1:		%{name}-fix.patch
+URL:		http://inform7.com/
+BuildRequires:	SDL_sound-devel
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	glib2-devel >= 1:2.16.0
+BuildRequires:	gtk+2-devel >= 2:2.6.0
+BuildRequires:	intltool >= 0.35.5
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%prep
+%setup -q -a1
+tar xzf inform7-5U92/inform7-compilers_5U92_i386.tar.gz
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+mv share/inform7/Compilers/ni src/ni/ni
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name} --all-name --with-gnome
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%{_sysconfdir}/gconf/schemas/gnome-inform7.schemas
+%{_sysconfdir}/gtkterp.ini
+%attr(755,root,root) %{_bindir}/gnome-inform7
+%dir %{_libdir}/gnome-inform7
+%attr(755,root,root) %{_libdir}/gnome-inform7/cBlorb
+%attr(755,root,root) %{_libdir}/gnome-inform7/gtkterp-frotz
+%attr(755,root,root) %{_libdir}/gnome-inform7/gtkterp-git
+%attr(755,root,root) %{_libdir}/gnome-inform7/gtkterp-glulxe
+%attr(755,root,root) %{_libdir}/gnome-inform7/inform-6.31-biplatform
+%attr(755,root,root) %{_libdir}/gnome-inform7/ni
+%{_desktopdir}/gnome-inform7.desktop
+%{_datadir}/gnome-inform7
+%{_pixmapsdir}/*.png
+%{_pixmapsdir}/gnome-inform7
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/07/22 13:53:58  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list