Revision: 40 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=40&view=rev Author: eht16 Date: 2008-05-20 11:20:13 -0700 (Tue, 20 May 2008)
Log Message: ----------- Add new GeanyFunctions API. Make the code compatible with current Geany API. Add the filetype's default extension to the new filename. Add dist-bzip2 and sign targets. Explicitly depend on Geany >= 0.15. Make Windows Makefile working. Update and reformat into reST text. Remove unnecessary intltool dependency. Initial release: instantsave 0.1.
Modified Paths: -------------- trunk/instantsave/ChangeLog trunk/instantsave/Makefile.am trunk/instantsave/README trunk/instantsave/configure.in trunk/instantsave/makefile.win32
Modified: trunk/instantsave/ChangeLog =================================================================== --- trunk/instantsave/ChangeLog 2008-05-20 18:17:34 UTC (rev 39) +++ trunk/instantsave/ChangeLog 2008-05-20 18:20:13 UTC (rev 40) @@ -1,3 +1,22 @@ +2008-05-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * src/instantsave.c: + Add new GeanyFunctions API. + Make the code compatible with current Geany API. + Add the filetype's default extension to the new filename. + * Makefile.am: + Add dist-bzip2 and sign targets. + * configure.in: + Explicitly depend on Geany >= 0.15. + * makefile.win32: + Make Windows Makefile working. + * README: + Update and reformat into reST text. + * configure.in, Makefile.am: + Remove unnecessary intltool dependency. + * Initial release: instantsave 0.1. + + 2008-04-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* po/*, src/*, *:
Modified: trunk/instantsave/Makefile.am =================================================================== --- trunk/instantsave/Makefile.am 2008-05-20 18:17:34 UTC (rev 39) +++ trunk/instantsave/Makefile.am 2008-05-20 18:20:13 UTC (rev 40) @@ -4,11 +4,17 @@ EXTRA_DIST = \ autogen.sh \ makefile.win32 \ - intltool-extract.in \ - intltool-merge.in \ - intltool-update.in + po/LINGUAS
-DISTCLEANFILES = \ - intltool-extract \ - intltool-merge \ - intltool-update +dist-bzip2: distdir + BZIP2=$(BZIP2_ENV) $(AMTAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir) + -rm -rf $(distdir) + +sign: + if test -f $(PACKAGE)-$(VERSION).tar.gz; then \ + gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi + if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \ + gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi + +html: + rst2html README index.html
Modified: trunk/instantsave/README =================================================================== --- trunk/instantsave/README 2008-05-20 18:17:34 UTC (rev 39) +++ trunk/instantsave/README 2008-05-20 18:20:13 UTC (rev 40) @@ -1,5 +1,5 @@ Instant Save Plugin -------------------- +===================
About @@ -13,6 +13,36 @@ similar.
+Downloads +--------- + +Instant Save 0.1 Sources +^^^^^^^^^^^^^^^^^^^^^^^^ + +http://geany-plugins.sourceforge.net/instantsave/instantsave-0.1.tar.bz2 + +http://geany-plugins.sourceforge.net/instantsave/instantsave-0.1.tar.bz2.sig (GPG-Signature) + +or + +http://geany-plugins.sourceforge.net/instantsave/instantsave-0.1.tar.gz + +http://geany-plugins.sourceforge.net/instantsave/instantsave-0.1.tar.gz.sig (GPG-Signature) + + +Instant Save 0.1 Windows DLL +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +http://geany-plugins.sourceforge.net/instantsave/instantsave-0.1_win32.zip + +Development Code +^^^^^^^^^^^^^^^^ + +Get the code from: + + svn checkout http://geany-plugins.svn.sourceforge.net/svnroot/geany-plugins/trunk/instant... + + Requirements ------------ For compiling the plugin yourself, you will need the GTK (>= 2.6.0) libraries @@ -20,10 +50,12 @@ files, such as Pango, Glib and ATK. All these files are available at http://www.gtk.org.
-And obviously, you will need have Geany installed. If you have Geany installed +And obviously, you will need have Geany (>= 0.15) installed. If you have Geany installed from the sources, you should be ready to go. If you used a preprared package e.g. from your distribution you probably need to install an additional package, this might be called geany-dev or geany-devel. +Please note that in order to compile and use this plugin, you need a current SVN +version of Geany, at least SVN >= r2604.
Furthermore you need, of course, a C compiler and the Make tool. The GNU versions of these tools are recommended. @@ -31,14 +63,16 @@
Installation ------------ -Compiling and installing the code is done by the following three commands: -$ ./configure -$ make -$ make install +Compiling and installing the code is done by the following three commands::
-For more configuration details run -$ ./configure --help + $ ./configure + $ make + $ make install
+For more configuration details run:: + + $ ./configure --help + If there are any errors during compilation, check your build environment and try to find the error, otherwise contact one of the authors.
@@ -63,3 +97,4 @@ Ideas, questions, patches and bug reports ----------------------------------------- Send it to me at enrico(dot)troeger(at)uvena(dot)de +or report them at http://sourceforge.net/tracker/?group_id=222729.
Modified: trunk/instantsave/configure.in =================================================================== --- trunk/instantsave/configure.in 2008-05-20 18:17:34 UTC (rev 39) +++ trunk/instantsave/configure.in 2008-05-20 18:20:13 UTC (rev 40) @@ -13,11 +13,10 @@ LIBTOOL="$LIBTOOL --silent"
AC_PROG_INSTALL -AC_PROG_INTLTOOL
# checking for Geany -PKG_CHECK_MODULES(GEANY, [geany]) +PKG_CHECK_MODULES(GEANY, [geany >= 0.15]) AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS)
@@ -57,6 +56,7 @@
echo "----------------------------------------" echo "Install Instant Save in : ${libdir}" +echo "Install Instant Save files in : ${prefix}" echo "Using Geany version : ${GEANY_VERSION}" echo "Using GTK version : ${GTK_VERSION}" echo ""
Modified: trunk/instantsave/makefile.win32 =================================================================== --- trunk/instantsave/makefile.win32 2008-05-20 18:17:34 UTC (rev 39) +++ trunk/instantsave/makefile.win32 2008-05-20 18:20:13 UTC (rev 40) @@ -1,9 +1,4 @@ -# Running make creates config.h then calls the sub makefiles. # -# Other targets are: -# deps: delete the dependencies so they are regenerated on next make -# clean: clean all generated files -# # localwin32.mk is an optional file to override make variables. # Use localwin32.mk instead of editing variables as it is included in sub # makefiles. @@ -20,6 +15,7 @@ .SUFFIXES: .c .o -include localwin32.mk
+ OBJS = instantsave.o INCLUDEDIRS= -I. \ -I$(GEANY_SRC) \ @@ -35,7 +31,8 @@ -I$(PREFIX)/include/glib-2.0 \ -I$(PREFIX)/lib/glib-2.0/include \ -I$(PREFIX)/include/gettext \ - -I$(PREFIX)/include + -I$(PREFIX)/include + ALL_GTK_LIBS= \ -L"$(PREFIX)/lib" \ -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 \ @@ -46,12 +43,12 @@ all: $(TARGET)
deps.mak: - $(CC) -MM $(CCFLAGS) $(INCLUDEDIRS) *.c >deps.mak + $(CC) -MM $(CCFLAGS) $(INCLUDEDIRS) src/*.c >deps.mak
-.c.o: +instantsave.o: $(CC) $(CCFLAGS) $(INCLUDEDIRS) -c $<
-$(TARGET): $(OBJS) deps.mak +$(TARGET): deps.mak $(OBJS) $(CC) -shared $(OBJS) $(ALL_GTK_LIBS) -o $(TARGET)
clean:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.