ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Makefile.PL
(Generate patch)

Comparing deliantra/Deliantra-Client/Makefile.PL (file contents):
Revision 1.110 by root, Tue Aug 19 17:38:29 2008 UTC vs.
Revision 1.126 by root, Mon Jan 16 21:11:15 2012 UTC

22 22
23*** HINT: Debian/Ubuntu users might have some luck with: 23*** HINT: Debian/Ubuntu users might have some luck with:
24*** apt-get install perl libpango1.0-dev libglib2.0-dev libsdl1.2-dev 24*** apt-get install perl libpango1.0-dev libglib2.0-dev libsdl1.2-dev
25*** apt-get install libsdl-mixer1.2-dev libsdl-image1.2-dev 25*** apt-get install libsdl-mixer1.2-dev libsdl-image1.2-dev
26*** apt-get install libwww-perl libdb4.4-dev 26*** apt-get install libwww-perl libdb4.4-dev
27*** apt-get install anyevent-perl 27*** apt-get install libanyevent-perl
28 28
29EOF 29EOF
30 30
31if ($^O =~ /win32/i or $^O =~ /mswin/) { 31if ($^O =~ /win32/i or $^O =~ /mswin/) {
32 print <<EOF; 32 print <<EOF;
40 $INC = join " ", qx<sdl-config --cflags>, qx<pkg-config pangoft2 --cflags>; 40 $INC = join " ", qx<sdl-config --cflags>, qx<pkg-config pangoft2 --cflags>;
41 $LIBS = join "", map " $_ ", 41 $LIBS = join "", map " $_ ",
42 qx<sdl-config --libs>, 42 qx<sdl-config --libs>,
43 "-lSDL_image -lSDL_mixer", 43 "-lSDL_image -lSDL_mixer",
44 qx<pkg-config pangoft2 --libs>, 44 qx<pkg-config pangoft2 --libs>,
45 "-L/usr/X11/lib -lGL"; 45 "-L/usr/X11/lib";
46
47 $LIBS .= " -lGL" unless $^O =~ /darwin/i; # sigh... os x is so borked
46 48
47 $_ =~ s/\n/ /g for $INC, $LIBS; 49 $_ =~ s/\n/ /g for $INC, $LIBS;
48 50
49 # for extra horrid macosx joys 51 # for extra horrid macosx joys
50 $lddlflags .= " $1" while $LIBS =~ s/ (-Wl,\S+) / /; 52 $lddlflags .= " $1" while $LIBS =~ s/ (-Wl,\S+) / /;
61 LIBS => [$LIBS], 63 LIBS => [$LIBS],
62 LDDLFLAGS => $lddlflags, 64 LDDLFLAGS => $lddlflags,
63 EXE_FILES => [qw(bin/deliantra)], 65 EXE_FILES => [qw(bin/deliantra)],
64 VERSION_FROM => "DC.pm", 66 VERSION_FROM => "DC.pm",
65 PREREQ_PM => { 67 PREREQ_PM => {
68 common::sense => 3.1,
66 BDB => 1.7, 69 BDB => 1.83,
67 Deliantra => 1.21, 70 Deliantra => 1.31,
68 Time::HiRes => 0, 71 Time::HiRes => 0,
69 EV => 3.42, 72 EV => 3.42,
73 Guard => 1,
70 AnyEvent => 4.22, 74 AnyEvent => 4.331,
71 Compress::LZF => 1.6, 75 Compress::LZF => 3.41,
72 Pod::POM => 0.15, 76 Pod::POM => 0.27,
73 LWP => 0, 77 LWP => 0,
74 JSON::XS => 2.01, 78 JSON::XS => 2.2222,
75 }, 79 },
76 depend => { 80 depend => {
77 "Client.o" => 'glfunc.h pangoopengl.h pango-font.c pango-fontmap.c pango-render.c texcache.c rendercache.c', 81 "Client.o" => 'glfunc.h pangoopengl.h pango-font.c pango-fontmap.c pango-render.c texcache.c rendercache.c',
78 }, 82 },
79 clean => { FILES => 'docwiki.pst' }, 83 clean => { FILES => 'docwiki.pst' },
80 PM => { 84 PM => {
85 'Client.pm' => '$(INST_LIBDIR)/Client.pm',
81 'DC.pm' => '$(INST_LIBDIR)/Client/private/DC.pm', 86 'DC.pm' => '$(INST_LIBDIR)/Client/private/DC.pm',
87 'DC/Main.pm' => '$(INST_LIBDIR)/Client/private/DC/Main.pm',
82 'DC/Protocol.pm' => '$(INST_LIBDIR)/Client/private/DC/Protocol.pm', 88 'DC/Protocol.pm' => '$(INST_LIBDIR)/Client/private/DC/Protocol.pm',
83 'DC/OpenGL.pm' => '$(INST_LIBDIR)/Client/private/DC/OpenGL.pm', 89 'DC/OpenGL.pm' => '$(INST_LIBDIR)/Client/private/DC/OpenGL.pm',
84 'DC/Texture.pm' => '$(INST_LIBDIR)/Client/private/DC/Texture.pm', 90 'DC/Texture.pm' => '$(INST_LIBDIR)/Client/private/DC/Texture.pm',
85 'DC/DB.pm' => '$(INST_LIBDIR)/Client/private/DC/DB.pm', 91 'DC/DB.pm' => '$(INST_LIBDIR)/Client/private/DC/DB.pm',
86 'DC/UI.pm' => '$(INST_LIBDIR)/Client/private/DC/UI.pm', 92 'DC/UI.pm' => '$(INST_LIBDIR)/Client/private/DC/UI.pm',
90 'DC/UI/Dockbar.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Dockbar.pm', 96 'DC/UI/Dockbar.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Dockbar.pm',
91 'DC/UI/Inventory.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Inventory.pm', 97 'DC/UI/Inventory.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Inventory.pm',
92 'DC/UI/SpellList.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/SpellList.pm', 98 'DC/UI/SpellList.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/SpellList.pm',
93 'DC/UI/Canvas.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Canvas.pm', 99 'DC/UI/Canvas.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/Canvas.pm',
94 'DC/UI/ChatView.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/ChatView.pm', 100 'DC/UI/ChatView.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/ChatView.pm',
95 'DC/UI/MessageWindow.pm' => '$(INST_LIBDIR)/Client/private/DC/UI/MessageWindow.pm',
96 'DC/Item.pm' => '$(INST_LIBDIR)/Client/private/DC/Item.pm', 101 'DC/Item.pm' => '$(INST_LIBDIR)/Client/private/DC/Item.pm',
97 'DC/Pod.pm' => '$(INST_LIBDIR)/Client/private/DC/Pod.pm', 102 'DC/Pod.pm' => '$(INST_LIBDIR)/Client/private/DC/Pod.pm',
98 'DC/MapWidget.pm' => '$(INST_LIBDIR)/Client/private/DC/MapWidget.pm', 103 'DC/MapWidget.pm' => '$(INST_LIBDIR)/Client/private/DC/MapWidget.pm',
99 'DC/Macro.pm' => '$(INST_LIBDIR)/Client/private/DC/Macro.pm', 104 'DC/Macro.pm' => '$(INST_LIBDIR)/Client/private/DC/Macro.pm',
100 'docwiki.pst' => '$(INST_LIBDIR)/Client/private/resources/docwiki.pst', 105 'docwiki.pst' => '$(INST_LIBDIR)/Client/private/resources/docwiki.pst',

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines