Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 373366 Details for
Bug 209696
Application SweetHome 3d - ebuild request.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sweethome3d-4.3-nomacosx.patch
sweethome3d-4.3-nomacosx.patch (text/plain), 2.76 KB, created by
Fabio Rossi
on 2014-03-23 22:10:06 UTC
(
hide
)
Description:
sweethome3d-4.3-nomacosx.patch
Filename:
MIME Type:
Creator:
Fabio Rossi
Created:
2014-03-23 22:10:06 UTC
Size:
2.76 KB
patch
obsolete
>Description: Removing jarfiles which contain MacOSX-related classes, build >fails looking for missing classes. This patch fixes it. >Author: Gabriele Giacone <1o5g4r8o@gmail.com> > >--- a/src/com/eteks/sweethome3d/tools/OperatingSystem.java >+++ b/src/com/eteks/sweethome3d/tools/OperatingSystem.java >@@ -33,7 +33,7 @@ import java.util.Timer; > import java.util.TimerTask; > import java.util.UUID; > >-import com.apple.eio.FileManager; >+//import com.apple.eio.FileManager; > import com.eteks.sweethome3d.model.Home; > > /** >@@ -410,9 +410,10 @@ public class OperatingSystem { > */ > public static File getDefaultApplicationFolder() throws IOException { > File userApplicationFolder; >- if (isMacOSX()) { >+/* if (isMacOSX()) { > userApplicationFolder = new File(MacOSXFileManager.getApplicationSupportFolder()); >- } else if (isWindows()) { >+ } else if (isWindows()) { */ >+ if (isWindows()) { > userApplicationFolder = new File(System.getProperty("user.home"), "Application Data"); > // If user Application Data directory doesn't exist, use user home > if (!userApplicationFolder.exists()) { >@@ -433,10 +434,10 @@ public class OperatingSystem { > * This class requires some classes of <code>com.apple.eio</code> package > * to compile. > */ >- private static class MacOSXFileManager { >+/* private static class MacOSXFileManager { > public static String getApplicationSupportFolder() throws IOException { > // Find application support folder (0x61737570) for user domain (-32763) > return FileManager.findFolder((short)-32763, 0x61737570); > } >- } >+ } */ > } >--- a/src/com/eteks/sweethome3d/SweetHome3D.java >+++ b/src/com/eteks/sweethome3d/SweetHome3D.java >@@ -466,7 +466,6 @@ public class SweetHome3D extends HomeApp > } > if (OperatingSystem.isMacOSX()) { > // Bind to application menu at last >- MacOSXConfiguration.bindToApplicationMenu(this); > } > > // Run everything else in Event Dispatch Thread >--- a/src/com/eteks/sweethome3d/HomeFramePane.java >+++ b/src/com/eteks/sweethome3d/HomeFramePane.java >@@ -123,7 +123,7 @@ public class HomeFramePane extends JRoot > homeFrame.setIconImage(frameImages.get(0)); > } > if (OperatingSystem.isMacOSXLionOrSuperior()) { >- MacOSXConfiguration.installToolBar(this); >+// MacOSXConfiguration.installToolBar(this); > } > updateFrameTitle(homeFrame, this.home, this.application); > // Change component orientation >--- a/build.xml >+++ b/build.xml >@@ -32,6 +32,8 @@ > <!-- The current version of Sweet Home 3D --> > <property name="version" value="4.3"/> > >+ <delete verbose="true" file="src/com/eteks/sweethome3d/MacOSXConfiguration.java"/> >+ > <target name="build" > description="Builds build/SweetHome3D.jar with all its classes"> > <!-- Compile Sweet Home 3D -->
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 209696
:
160928
|
160940
|
373362
|
373364
|
373366
|
410048
|
431682
|
463176
|
463178
|
463180
|
513724
|
513726
|
516276
|
517200
|
517202
|
517204