[Extractor-gtk-cvslog] SF.net SVN: extractor-gtk:[118] trunk/extractor
Extract files from unusual archive formats
Brought to you by:
someone-guy
From: <som...@us...> - 2009-07-31 13:42:29
|
Revision: 118 http://extractor-gtk.svn.sourceforge.net/extractor-gtk/?rev=118&view=rev Author: someone-guy Date: 2009-07-31 13:42:18 +0000 (Fri, 31 Jul 2009) Log Message: ----------- Try to make MinGW builds feasible. Modified Paths: -------------- trunk/extractor/Makefile Added Paths: ----------- trunk/extractor/README.MinGW trunk/extractor/mingw-build.sh Modified: trunk/extractor/Makefile =================================================================== --- trunk/extractor/Makefile 2009-07-31 11:47:22 UTC (rev 117) +++ trunk/extractor/Makefile 2009-07-31 13:42:18 UTC (rev 118) @@ -8,6 +8,7 @@ #MINGW_GTK_HACK=yes CC=gcc +#CC=i586-mingw32msvc-gcc # should not need to change anything beyond here CFLAGS=-Wall -Wdeclaration-after-statement -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -g -O2 @@ -34,7 +35,10 @@ MAIN+= gtkstuff.c ifeq ($(MINGW_GTK_HACK), yes) CFLAGS+=-mms-bitfields -Iinclude -LDFLAGS=libglib-2.0-0.dll libgobject-2.0-0.dll libgdk-win32-2.0-0.dll libgdk_pixbuf-2.0-0.dll libgtk-win32-2.0-0.dll intl.dll +CFLAGS+=-Iinclude/gtk-2.0 -Iinclude/glib-2.0 +CFLAGS+=-Ilib/gtk-2.0/include -Ilib/glib-2.0/include +CFLAGS+=-Iinclude/cairo -Iinclude/pango-1.0 -Iinclude/atk-1.0 +LDFLAGS=bin/libglib-2.0-0.dll bin/libgobject-2.0-0.dll bin/libgdk-win32-2.0-0.dll bin/libgdk_pixbuf-2.0-0.dll bin/libgtk-win32-2.0-0.dll bin/intl.dll LDFLAGS+=-mwindows else CFLAGS+=$(shell pkg-config --cflags gtk+-2.0) Added: trunk/extractor/README.MinGW =================================================================== --- trunk/extractor/README.MinGW (rev 0) +++ trunk/extractor/README.MinGW 2009-07-31 13:42:18 UTC (rev 118) @@ -0,0 +1,23 @@ +In addition to the comments in the README, here are some build +instructions for MinGW if you want the GTK Gui (commandline builds +should be a non-issue). + +1) Go to www.gtk.org and get the "Binaries" and "dev" packages of + GLib + GTK+ + Pango + ATK + Cairo + gettext-runtime + + And the "Binaries" for + zlib + libpng + +2) unzip those files directly into the extractor source directory + (or install it properly into MinGW if you prefer, but I did not test that). + +3) compile using + sh mingw-build.sh + +The binary is now in bin/extractor.exe Added: trunk/extractor/mingw-build.sh =================================================================== --- trunk/extractor/mingw-build.sh (rev 0) +++ trunk/extractor/mingw-build.sh 2009-07-31 13:42:18 UTC (rev 118) @@ -0,0 +1,3 @@ +make MINGW_GTK_HACK=yes +cp extractor bin/extractor.exe +cp zlib1.dll bin/ Property changes on: trunk/extractor/mingw-build.sh ___________________________________________________________________ Added: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |