1 |
loki_val 09/04/05 13:05:38 |
2 |
|
3 |
Added: monsoon-0.20-build.patch |
4 |
Log: |
5 |
Initial commit, ebuild by me. |
6 |
(Portage version: 2.2_rc28/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-p2p/monsoon/files/monsoon-0.20-build.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/monsoon/files/monsoon-0.20-build.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/monsoon/files/monsoon-0.20-build.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: monsoon-0.20-build.patch |
15 |
=================================================================== |
16 |
diff -NrU5 monsoon-0.20.orig/Monsoon/Makefile.am monsoon-0.20/Monsoon/Makefile.am |
17 |
--- monsoon-0.20.orig/Monsoon/Makefile.am 2009-02-05 00:41:06.000000000 +0100 |
18 |
+++ monsoon-0.20/Monsoon/Makefile.am 2009-02-05 00:53:41.000000000 +0100 |
19 |
@@ -1,7 +1,6 @@ |
20 |
- |
21 |
-EXTRA_DIST = $(NLOG_DLL_SOURCE) |
22 |
+EXTRA_DIST = |
23 |
|
24 |
# Warning: This is an automatically generated file, do not edit! |
25 |
|
26 |
if ENABLE_DEBUG |
27 |
ASSEMBLY_COMPILER_COMMAND = gmcs |
28 |
@@ -19,11 +18,10 @@ |
29 |
RSS_PNG_SOURCE=icons/rss.png |
30 |
LOWEST_PNG_SOURCE=icons/lowest.png |
31 |
MONSOON_DESKTOP_SOURCE=monsoon.desktop |
32 |
DONOTDOWNLOAD_PNG_SOURCE=icons/donotdownload.png |
33 |
NORMAL_PNG_SOURCE=icons/normal.png |
34 |
-NLOG_DLL_SOURCE=NLog.dll |
35 |
LOW_PNG_SOURCE=icons/low.png |
36 |
|
37 |
endif |
38 |
|
39 |
if ENABLE_RELEASE |
40 |
@@ -42,25 +40,19 @@ |
41 |
RSS_PNG_SOURCE=icons/rss.png |
42 |
LOWEST_PNG_SOURCE=icons/lowest.png |
43 |
MONSOON_DESKTOP_SOURCE=monsoon.desktop |
44 |
DONOTDOWNLOAD_PNG_SOURCE=icons/donotdownload.png |
45 |
NORMAL_PNG_SOURCE=icons/normal.png |
46 |
-NLOG_DLL_SOURCE=NLog.dll |
47 |
LOW_PNG_SOURCE=icons/low.png |
48 |
|
49 |
endif |
50 |
|
51 |
AL=al2 |
52 |
SATELLITE_ASSEMBLY_NAME=.resources.dll |
53 |
|
54 |
-UNSTABLE_LIBS = ./libs/MonoTorrent.dll \ |
55 |
- ./libs/Mono.Nat.dll |
56 |
- |
57 |
PROGRAMFILES = \ |
58 |
- $(MONSOON_EXE_CONFIG) \ |
59 |
- $(NLOG_DLL) \ |
60 |
- $(UNSTABLE_LIBS) |
61 |
+ $(MONSOON_EXE_CONFIG) |
62 |
|
63 |
LINUX_DESKTOPAPPLICATIONS = \ |
64 |
$(MONSOON_DESKTOP) |
65 |
|
66 |
PROGRAMFILES_ICONS = \ |
67 |
@@ -76,22 +68,11 @@ |
68 |
BINARIES = \ |
69 |
$(MONSOON) |
70 |
|
71 |
|
72 |
|
73 |
-all: update-libs $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_DESKTOPAPPLICATIONS) $(PROGRAMFILES_ICONS) $(BINARIES) |
74 |
- cp ./libs/MonoTorrent.dll ./bin/Release/MonoTorrent.dll |
75 |
- cp ./libs/Mono.Nat.dll ./bin/Release/Mono.Nat.dll |
76 |
- |
77 |
-./libs/Mono.Nat.dll: update-libs |
78 |
-./libs/MonoTorrent.dll: update-libs |
79 |
- |
80 |
-update-libs: |
81 |
- mkdir -p ./libs |
82 |
- cp `pkg-config --variable=Libraries monotorrent` ./libs/MonoTorrent.dll |
83 |
- cp `pkg-config --variable=Libraries mono.nat` ./libs/Mono.Nat.dll |
84 |
- |
85 |
+all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_DESKTOPAPPLICATIONS) $(PROGRAMFILES_ICONS) $(BINARIES) |
86 |
|
87 |
FILES = \ |
88 |
AboutDialog.cs \ |
89 |
AssemblyInfo.cs \ |
90 |
ByteConverter.cs \ |
91 |
@@ -184,16 +165,11 @@ |
92 |
Mono.Posix \ |
93 |
$(GCONF_SHARP_20_LIBS) \ |
94 |
$(GTK_SHARP_20_LIBS) \ |
95 |
$(GLIB_SHARP_20_LIBS) |
96 |
|
97 |
-DLL_REFERENCES = \ |
98 |
- $(NLOG_DLL) \ |
99 |
- ./libs/Mono.Nat.dll \ |
100 |
- ./libs/MonoTorrent.dll |
101 |
- |
102 |
-CLEANFILES = $(PROGRAMFILES) $(LINUX_DESKTOPAPPLICATIONS) $(PROGRAMFILES_ICONS) $(BINARIES) $(UNSTABLE_LIBS) |
103 |
+CLEANFILES = $(PROGRAMFILES) $(LINUX_DESKTOPAPPLICATIONS) $(PROGRAMFILES_ICONS) $(BINARIES) |
104 |
|
105 |
include $(top_srcdir)/Makefile.include |
106 |
|
107 |
MONSOON_EXE_CONFIG = $(BUILD_DIR)/Monsoon.exe.config |
108 |
HIGH_PNG = $(BUILD_DIR)/icons/high.png |
109 |
@@ -203,11 +179,10 @@ |
110 |
LOWEST_PNG = $(BUILD_DIR)/icons/lowest.png |
111 |
MONSOON_DESKTOP = $(BUILD_DIR)/monsoon.desktop |
112 |
DONOTDOWNLOAD_PNG = $(BUILD_DIR)/icons/donotdownload.png |
113 |
MONSOON = $(BUILD_DIR)/monsoon |
114 |
NORMAL_PNG = $(BUILD_DIR)/icons/normal.png |
115 |
-NLOG_DLL = $(BUILD_DIR)/NLog.dll |
116 |
LOW_PNG = $(BUILD_DIR)/icons/low.png |
117 |
|
118 |
$(eval $(call emit-deploy-target,MONSOON_EXE_CONFIG)) |
119 |
$(eval $(call emit-deploy-target,HIGH_PNG)) |
120 |
$(eval $(call emit-deploy-target,HIGHEST_PNG)) |
121 |
@@ -216,18 +191,17 @@ |
122 |
$(eval $(call emit-deploy-target,LOWEST_PNG)) |
123 |
$(eval $(call emit-deploy-target,MONSOON_DESKTOP)) |
124 |
$(eval $(call emit-deploy-target,DONOTDOWNLOAD_PNG)) |
125 |
$(eval $(call emit-deploy-wrapper,MONSOON,monsoon,x)) |
126 |
$(eval $(call emit-deploy-target,NORMAL_PNG)) |
127 |
-$(eval $(call emit-deploy-target,NLOG_DLL)) |
128 |
$(eval $(call emit-deploy-target,LOW_PNG)) |
129 |
|
130 |
|
131 |
$(build_xamlg_list): %.xaml.g.cs: %.xaml |
132 |
xamlg '$<' |
133 |
|
134 |
$(build_resx_resources) : %.resources: %.resx |
135 |
resgen2 '$<' '$@' |
136 |
|
137 |
-$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list) |
138 |
+$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list) |
139 |
mkdir -p $(dir $(ASSEMBLY)) |
140 |
- $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref) |
141 |
+ $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref) -pkg:mono.nat -pkg:monotorrent -pkg:nlog |