Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 188929 Details for
Bug 260774
dev-java/qtjambi-4.5.0_rc1 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
updated configuration patch
configuration-4.5.0_rc1.patch (text/plain), 5.06 KB, created by
Kyle Cavin
on 2009-04-20 02:10:51 UTC
(
hide
)
Description:
updated configuration patch
Filename:
MIME Type:
Creator:
Kyle Cavin
Created:
2009-04-20 02:10:51 UTC
Size:
5.06 KB
patch
obsolete
>Index: qtjambi-src-preview-4.5.0_01/com/trolltech/tools/ant/InitializeTask.java >=================================================================== >--- qtjambi-src-preview-4.5.0_01.orig/com/trolltech/tools/ant/InitializeTask.java >+++ qtjambi-src-preview-4.5.0_01/com/trolltech/tools/ant/InitializeTask.java >@@ -101,10 +101,34 @@ public class InitializeTask extends Task > this.configuration = configuration; > } > >+ public void setQtdir(String qtdir) { >+ this.qtdir = qtdir; >+ } >+ > public String getConfiguration() { > return configuration; > } > >+ public void setSqlite(String sqlite) { >+ this.sqlite = sqlite; >+ } >+ >+ public void setPhonon(String phonon) { >+ this.phonon = phonon; >+ } >+ >+ public void setOpengl(String opengl) { >+ this.opengl = opengl; >+ } >+ >+ public void setWebkit(String webkit) { >+ this.webkit = webkit; >+ } >+ >+ public void setXmlpatterns(String xmlpatterns) { >+ this.xmlpatterns = xmlpatterns; >+ } >+ > public void execute() throws BuildException { > props = PropertyHelper.getPropertyHelper(getProject()); > props.setNewProperty(null, OSNAME, decideOSName()); >@@ -307,7 +331,7 @@ public class InitializeTask extends Task > } > > private String decideQtDir() { >- qtdir = System.getenv("QTDIR"); >+ //qtdir = System.getenv("QTDIR"); > if (qtdir == null) > throw new BuildException("QTDIR environment variable missing"); > if (!new File(qtdir).exists()) >@@ -330,8 +354,8 @@ public class InitializeTask extends Task > StringBuilder path = new StringBuilder(); > path.append(props.getProperty(null, QTDIR)); > path.append("/"); >- path.append(props.getProperty(null, LIBSUBDIR)); >- path.append("/"); >+ //path.append(props.getProperty(null, LIBSUBDIR)); >+ //path.append("/"); > path.append(LibraryEntry.formatQtName(name, debug, version)); > return new File(path.toString()).exists(); > } >@@ -347,31 +371,36 @@ public class InitializeTask extends Task > } > > private String decideSqlite() { >- String result = String.valueOf(doesQtPluginExist("qsqlite", "sqldrivers")); >+ //String result = String.valueOf(doesQtPluginExist("qsqlite", "sqldrivers")); >+ String result = sqlite; > if (verbose) System.out.println(SQLITE + ": " + result); > return result; > } > > private String decidePhonon() { >- String result = String.valueOf(doesQtLibExist("phonon", 4)); >+ //String result = String.valueOf(doesQtLibExist("phonon", 4)); >+ String result = phonon; > if (verbose) System.out.println(PHONON + ": " + result); > return result; > } > > private String decideWebkit() { >- String result = String.valueOf(doesQtLibExist("QtWebKit", 4)); >+ //String result = String.valueOf(doesQtLibExist("QtWebKit", 4)); >+ String result = webkit; > if (verbose) System.out.println(WEBKIT + ": " + result); > return result; > } > > private String decideXMLPatterns() { >- String result = String.valueOf(doesQtLibExist("QtXmlPatterns", 4)); >+ //String result = String.valueOf(doesQtLibExist("QtXmlPatterns", 4)); >+ String result = xmlpatterns; > if (verbose) System.out.println(XMLPATTERNS + ": " + result); > return result; > } > > private String decideOpenGL() { >- String result = String.valueOf(doesQtLibExist("QtOpenGL", 4)); >+ //String result = String.valueOf(doesQtLibExist("QtOpenGL", 4)); >+ String result = opengl; > if (verbose) System.out.println(OPENGL + ": " + result); > return result; > } >@@ -382,6 +411,11 @@ public class InitializeTask extends Task > private PropertyHelper props; > private String configuration; > private boolean debug; >+ private String sqlite; >+ private String phonon; >+ private String xmlpatterns; >+ private String webkit; >+ private String opengl; > private String qmakespec; > private String qtdir; > private String libSubDir; >Index: qtjambi-src-preview-4.5.0_01/build.xml >=================================================================== >--- qtjambi-src-preview-4.5.0_01.orig/build.xml >+++ qtjambi-src-preview-4.5.0_01/build.xml >@@ -293,8 +293,7 @@ > </target> > > <target name="library.designer.bundle" >- depends="library.designer.compile" >- unless="qtjambi.library.cppfiles.uptodate"> >+ depends="library.designer.compile"> > <jar destfile="${outputDir}/qtjambi-designer-${qtjambi.version}.jar" > basedir="${outputDir}"> > <include name="com/trolltech/tools/designer/*"/> >@@ -593,7 +592,11 @@ > <target name="init" > depends="init.ant, init.taskdef" > description="Initializes the Qt Jambi build environment." > >- <qtjambi-initialize verbose="true" configuration="${qtjambi.config}" /> >+ <qtjambi-initialize verbose="true" configuration="${qtjambi.config}" >+ qtdir="${gentoo.qtdir}" phonon="${gentoo.phonon}" >+ webkit="${gentoo.webkit}" opengl="${gentoo.opengl}" >+ sqlite="${gentoo.sqlite}" xmlpatterns="${gentoo.xmlpatterns}" /> >+ > </target> > > <target name="generator"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 260774
:
183594
|
183595
|
183596
|
183598
|
188928
|
188929
|
188940
|
188947
|
189574
|
189576
|
189577
|
190031
|
190038
|
190214
|
190215
|
191328
|
191329
|
191330