1 |
sbriesen 10/08/01 00:55:09 |
2 |
|
3 |
Modified: build-0.90.4.00_p33.xml |
4 |
projectx-0.90.4.00_p33-stdout-corrupt.patch |
5 |
Added: projectx-0.90.4.00_p33-idctfast.patch |
6 |
projectx-0.90.4.00_p33-xdg.patch icon.png |
7 |
Log: |
8 |
ebuild cleanup, added new IDCT patch (includes MMX/SSE also for amd64), added XDG patch, installs icon, renamed projectx_nogui to projectx_cli. |
9 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.2 media-video/projectx/files/build-0.90.4.00_p33.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/files/build-0.90.4.00_p33.xml?rev=1.2&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/files/build-0.90.4.00_p33.xml?rev=1.2&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/files/build-0.90.4.00_p33.xml?r1=1.1&r2=1.2 |
17 |
|
18 |
Index: build-0.90.4.00_p33.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-video/projectx/files/build-0.90.4.00_p33.xml,v |
21 |
retrieving revision 1.1 |
22 |
retrieving revision 1.2 |
23 |
diff -u -r1.1 -r1.2 |
24 |
--- build-0.90.4.00_p33.xml 11 Mar 2010 21:05:55 -0000 1.1 |
25 |
+++ build-0.90.4.00_p33.xml 1 Aug 2010 00:55:09 -0000 1.2 |
26 |
@@ -9,7 +9,7 @@ |
27 |
<property name="lib.dir" value="lib" /> |
28 |
<property name="resources.dir" value="resources" /> |
29 |
<property name="project.jar" value="${dist.dir}/${ant.project.name}.jar" /> |
30 |
- <property name="target.jdk" value="1.4" /> |
31 |
+ <property name="target.jdk" value="1.5" /> |
32 |
|
33 |
<!-- classpath --> |
34 |
<path id="refcp"> |
35 |
@@ -50,7 +50,7 @@ |
36 |
<!-- generate javadocs --> |
37 |
<target name="javadoc" depends="init"> |
38 |
<javadoc sourcepath="${src.dir}" |
39 |
- packagenames="net.*, edu.*" |
40 |
+ packagenames="*" |
41 |
destdir="${docs.dir}" |
42 |
author="true" |
43 |
version="true" |
44 |
|
45 |
|
46 |
|
47 |
1.2 media-video/projectx/files/projectx-0.90.4.00_p33-stdout-corrupt.patch |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/files/projectx-0.90.4.00_p33-stdout-corrupt.patch?rev=1.2&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/files/projectx-0.90.4.00_p33-stdout-corrupt.patch?rev=1.2&content-type=text/plain |
51 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/files/projectx-0.90.4.00_p33-stdout-corrupt.patch?r1=1.1&r2=1.2 |
52 |
|
53 |
Index: projectx-0.90.4.00_p33-stdout-corrupt.patch |
54 |
=================================================================== |
55 |
RCS file: /var/cvsroot/gentoo-x86/media-video/projectx/files/projectx-0.90.4.00_p33-stdout-corrupt.patch,v |
56 |
retrieving revision 1.1 |
57 |
retrieving revision 1.2 |
58 |
diff -u -r1.1 -r1.2 |
59 |
--- projectx-0.90.4.00_p33-stdout-corrupt.patch 11 Mar 2010 21:05:55 -0000 1.1 |
60 |
+++ projectx-0.90.4.00_p33-stdout-corrupt.patch 1 Aug 2010 00:55:09 -0000 1.2 |
61 |
@@ -1,6 +1,5 @@ |
62 |
-diff -Naur ProjectX_Source_0.90.4.orig/src/net/sourceforge/dvb/projectx/common/GuiInterface.java ProjectX_Source_0.90.4/src/net/sourceforge/dvb/projectx/common/GuiInterface.java |
63 |
---- ProjectX_Source_0.90.4.orig/src/net/sourceforge/dvb/projectx/common/GuiInterface.java 2008-12-04 01:47:03.000000000 +0100 |
64 |
-+++ ProjectX_Source_0.90.4/src/net/sourceforge/dvb/projectx/common/GuiInterface.java 2008-12-04 02:21:11.342918380 +0100 |
65 |
+--- src/net/sourceforge/dvb/projectx/common/GuiInterface.java 2008-12-04 01:47:03.000000000 +0100 |
66 |
++++ src/net/sourceforge/dvb/projectx/common/GuiInterface.java 2008-12-04 02:21:11.342918380 +0100 |
67 |
@@ -190,7 +190,7 @@ |
68 |
impl.updateProgressBar(percent); |
69 |
|
70 |
|
71 |
|
72 |
|
73 |
1.1 media-video/projectx/files/projectx-0.90.4.00_p33-idctfast.patch |
74 |
|
75 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/files/projectx-0.90.4.00_p33-idctfast.patch?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/files/projectx-0.90.4.00_p33-idctfast.patch?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: projectx-0.90.4.00_p33-idctfast.patch |
79 |
=================================================================== |
80 |
--- src/net/sourceforge/dvb/projectx/video/MpvDecoder.java 2009-12-31 15:24:13.000000000 +0100 |
81 |
+++ src/net/sourceforge/dvb/projectx/video/MpvDecoder.java 2010-07-31 14:32:19.945223425 +0200 |
82 |
@@ -72,7 +72,7 @@ |
83 |
|
84 |
public class MpvDecoder extends Object { |
85 |
|
86 |
- private IDCTRefNative idct; |
87 |
+ private IDCTFast idct; |
88 |
private IDCTSseNative idctsse; |
89 |
|
90 |
private int preview_horizontal_size = 512; |
91 |
@@ -134,13 +134,13 @@ |
92 |
{ |
93 |
Arrays.fill(pixels2, 0xFF505050); |
94 |
|
95 |
- idct = new IDCTRefNative(); |
96 |
+ idct = new IDCTFast(); |
97 |
idctsse = new IDCTSseNative(); |
98 |
|
99 |
- if (IDCTRefNative.isLibraryLoaded()) |
100 |
+ if (IDCTFast.isLibraryLoaded()) |
101 |
idct.init(); |
102 |
|
103 |
- if (IDCTRefNative.isLibraryLoaded() || IDCTSseNative.isLibraryLoaded()) |
104 |
+ if (IDCTFast.isLibraryLoaded() || IDCTSseNative.isLibraryLoaded()) |
105 |
acceleration = true; |
106 |
} |
107 |
|
108 |
@@ -2399,7 +2399,7 @@ |
109 |
} |
110 |
} |
111 |
|
112 |
- else if (IDCTRefNative.isLibraryLoaded() && isAccelerated()) |
113 |
+ else if (IDCTFast.isLibraryLoaded() && isAccelerated()) |
114 |
{ |
115 |
/* copy or add block data into picture */ |
116 |
for (comp=0; comp<block_count; comp++) |
117 |
|
118 |
|
119 |
|
120 |
1.1 media-video/projectx/files/projectx-0.90.4.00_p33-xdg.patch |
121 |
|
122 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/files/projectx-0.90.4.00_p33-xdg.patch?rev=1.1&view=markup |
123 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/projectx/files/projectx-0.90.4.00_p33-xdg.patch?rev=1.1&content-type=text/plain |
124 |
|
125 |
Index: projectx-0.90.4.00_p33-xdg.patch |
126 |
=================================================================== |
127 |
--- src/net/sourceforge/dvb/projectx/common/Settings.java 2008-02-18 19:34:48.000000000 +0100 |
128 |
+++ src/net/sourceforge/dvb/projectx/common/Settings.java 2010-07-31 19:44:59.151224244 +0200 |
129 |
@@ -46,6 +46,8 @@ |
130 |
import java.util.Set; |
131 |
import java.util.TreeMap; |
132 |
|
133 |
+import xdg.*; |
134 |
+ |
135 |
import net.sourceforge.dvb.projectx.xinput.XInputDirectory; |
136 |
|
137 |
/** |
138 |
@@ -56,7 +58,7 @@ |
139 |
public class Settings extends Object { |
140 |
|
141 |
/** the default ini filename */ |
142 |
- private static final String DEFAULT_INI = "X.ini"; |
143 |
+ private static final String DEFAULT_INI = "Project-X.ini"; |
144 |
|
145 |
/** the current ini filename */ |
146 |
private String inifile = ""; |
147 |
@@ -75,7 +77,7 @@ |
148 |
*/ |
149 |
public Settings() |
150 |
{ |
151 |
- this(Resource.workdir + Resource.filesep + DEFAULT_INI); |
152 |
+ this(xdg.config_home() + Resource.filesep + DEFAULT_INI); |
153 |
} |
154 |
|
155 |
/** |
156 |
@@ -161,6 +163,7 @@ |
157 |
str = inifile; |
158 |
|
159 |
try { |
160 |
+ xdg.mkdirs_file(str); |
161 |
PrintWriter w = new PrintWriter(new FileWriter(str)); |
162 |
|
163 |
String base_key = "# Project-X INI"; |
164 |
@@ -714,4 +717,4 @@ |
165 |
return inifile; |
166 |
} |
167 |
|
168 |
-} |
169 |
\ Kein Zeilenumbruch am Dateiende. |
170 |
+} |
171 |
|
172 |
|
173 |
|
174 |
1.1 media-video/projectx/files/icon.png |
175 |
|
176 |
<<Binary file>> |