[27114] trunk/dports/gnustep

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 19 15:25:17 PDT 2007


Revision: 27114
          http://trac.macosforge.org/projects/macports/changeset/27114
Author:   yves at macports.org
Date:     2007-07-19 15:25:16 -0700 (Thu, 19 Jul 2007)

Log Message:
-----------
New Etoile-devel port

Added Paths:
-----------
    trunk/dports/gnustep/Etoile-devel/
    trunk/dports/gnustep/Etoile-devel/Portfile
    trunk/dports/gnustep/Etoile-devel/files/
    trunk/dports/gnustep/Etoile-devel/files/patch-PopplerKit-config.sh
    trunk/dports/gnustep/Etoile-devel/files/patch-etoile.make
    trunk/dports/gnustep/Etoile-devel/files/patch-xmpp-GNUmakefile

Added: trunk/dports/gnustep/Etoile-devel/Portfile
===================================================================
--- trunk/dports/gnustep/Etoile-devel/Portfile	                        (rev 0)
+++ trunk/dports/gnustep/Etoile-devel/Portfile	2007-07-19 22:25:16 UTC (rev 27114)
@@ -0,0 +1,87 @@
+# $Id$
+
+PortSystem  1.0
+PortGroup   gnustep 1.0
+
+name            Etoile-devel
+version         0.1.9
+platforms       darwin
+maintainers     nomaintainer at macports.org
+homepage        http://www.etoile-project.org/
+
+description     GNUstep based user environnement
+long_description \
+    Etoile intends to be an innovative GNUstep-based user environment \
+    built from the ground up on highly modular and light components \
+    with project and document orientation in mind.
+    
+fetch.type      svn
+svn.tag         2100
+svn.url         http://svn.gna.org/svn/etoile/trunk/Etoile
+
+####################### DEVELOPMENT FETCH ##############################
+#fetch {
+#    file copy ${portpath}/Etoile ${workpath}
+#}
+########################################################################
+
+depends_build       bin:svn:subversion
+depends_lib         port:SQLClient \
+                    port:dbus \
+                    port:oniguruma5 \
+                    port:poppler
+
+worksrcdir          Etoile
+
+patchfiles          patch-etoile.make \
+                    patch-PopplerKit-config.sh \
+                    patch-xmpp-GNUmakefile
+
+array set gnustep.post_flags {
+    Frameworks/AddressesKit/Frameworks/AddressView  -lAddresses
+    Frameworks/BookmarkKit                          -lCollectionKit
+    Frameworks/SystemConfig                         -lX11
+}
+
+post-patch {
+    reinplace "s|SCSound.m||" \
+        ${worksrcpath}/Frameworks/SystemConfig/Source/GNUmakefile
+    reinplace "s|/usr|${prefix}|g" \
+        ${worksrcpath}/Services/Private/System/GNUmakefile
+}
+
+# We don't build corner because StepTalk is not available yet in MP
+build.args      corner=no debug=yes
+destroot.args   corner=no debug=yes
+
+post-destroot {
+
+    cd ${destroot}${prefix}
+
+    xinstall -d GNUstep/System/Library/Etoile
+    xinstall -m 644 ${worksrcpath}/Services/Private/System/SystemTaskList.plist \
+        GNUstep/System/Library/Etoile
+
+    xinstall -d share/xsessions
+    xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
+        share/xsessions
+
+    set chan [open bin/etoile w]
+	puts $chan ". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; etoile_system"
+	close $chan
+	file attributes bin/etoile -permissions 0755
+
+    xinstall -d GNUstep/Local/Library/Themes
+    copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
+        GNUstep/Local/Library/Themes
+
+    copy ${worksrcpath}/Services/User/Calc/Calc.app \
+        GNUstep/Local/Applications
+    cd GNUstep/Local/Tools
+    ln -s ../Applications/Calc.app/Calc
+
+    cd ../Library/Headers
+    delete AddressBook
+    ln -s Addresses AddressBook
+}
+


Property changes on: trunk/dports/gnustep/Etoile-devel/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/gnustep/Etoile-devel/files/patch-PopplerKit-config.sh
===================================================================
--- trunk/dports/gnustep/Etoile-devel/files/patch-PopplerKit-config.sh	                        (rev 0)
+++ trunk/dports/gnustep/Etoile-devel/files/patch-PopplerKit-config.sh	2007-07-19 22:25:16 UTC (rev 27114)
@@ -0,0 +1,9 @@
+--- Frameworks/PopplerKit/config.sh.orig	2007-04-29 10:13:37.000000000 -0400
++++ Frameworks/PopplerKit/config.sh	2007-04-29 10:16:15.000000000 -0400
+@@ -87,5 +89,6 @@
+ # we add -I/usr/X11R6/include for older FreeBSD version.
+ echo "ADDITIONAL_INCLUDE_DIRS += -I/usr/X11R6/include" >> config.make
+ echo "HAVE_CAIRO=${HAVE_CAIRO}" >>config.make
++echo "CXX=g++-mp-4.2" >> config.make
+ 
+ exit 0

Added: trunk/dports/gnustep/Etoile-devel/files/patch-etoile.make
===================================================================
--- trunk/dports/gnustep/Etoile-devel/files/patch-etoile.make	                        (rev 0)
+++ trunk/dports/gnustep/Etoile-devel/files/patch-etoile.make	2007-07-19 22:25:16 UTC (rev 27114)
@@ -0,0 +1,10 @@
+--- etoile.make.orig	2007-04-30 01:07:49.000000000 -0400
++++ etoile.make	2007-05-07 12:09:15.000000000 -0400
+@@ -240,6 +240,7 @@
+ # developer. For example, it's commonly equals to ./shared_obj
+ 
+ export ADDITIONAL_LIB_DIRS += -L$(BUILD_DIR)
++export SHARED_LD_POSTFLAGS += -lobjc -lgnustep-base -lgnustep-gui
+ 
+ # We disable warnings about #import being deprecated. They occur with old GCC
+ # version (before 4.0 iirc).

Added: trunk/dports/gnustep/Etoile-devel/files/patch-xmpp-GNUmakefile
===================================================================
--- trunk/dports/gnustep/Etoile-devel/files/patch-xmpp-GNUmakefile	                        (rev 0)
+++ trunk/dports/gnustep/Etoile-devel/files/patch-xmpp-GNUmakefile	2007-07-19 22:25:16 UTC (rev 27114)
@@ -0,0 +1,11 @@
+--- Services/User/Jabber/xmpp/GNUmakefile.orig	2007-05-07 12:32:43.000000000 -0400
++++ Services/User/Jabber/xmpp/GNUmakefile	2007-05-07 19:08:25.000000000 -0400
+@@ -7,6 +7,8 @@
+ ADDITIONAL_INCLUDE_DIRS += -I../TRXML/
+ XMPP_AGSDOC_FLAGS += -MakeFrames YES
+ 
++ADDITIONAL_LIB_DIRS += -L../TRXML/obj -lTRXML -lssl -L../../../../Build -lAddresses
++
+ XMPP_OBJC_FILES = \
+ 					ChatLog.m\
+ 					CompareHack.m\

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070719/d5157677/attachment.html


More information about the macports-changes mailing list