Changeset 26263 for trunk/dports/gnustep


Ignore:
Timestamp:
Jun 17, 2007, 10:01:27 PM (12 years ago)
Author:
yves@…
Message:

This is gnustep-make-2.0 and friends

Location:
trunk/dports/gnustep
Files:
10 added
4 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnustep/gnustep-back/Portfile

    r21977 r26263  
    11# $Id$
    22
    3 PortSystem   1.0
     3PortSystem  1.0
    44PortGroup   gnustep 1.0
    55
    66name        gnustep-back
    7 version     0.11.0
     7version     0.12.0
    88platforms   darwin
    99maintainers yves@macports.org
     
    1818    such as specific calls to the X Window System.
    1919
    20 depends_lib   port:gnustep-gui port:libart_lgpl port:Xft2
     20depends_lib     port:gnustep-gui \
     21                port:libart_lgpl \
     22                port:Xft2
    2123
    22 checksums     md5 fece87a22336e233b70e9ce999e1ea10
     24checksums       md5 1b0252a1b645dd2ca4c78427fb885f1f
    2325
    2426use_configure   yes
    25 configure.args-append   --enable-graphics=art --disable-glitz
     27configure.args  --enable-graphics=art \
     28                --disable-glitz
     29post-install {
     30        ui_msg "
     31                In order to have a working GNUstep environment,
     32                copy these lines at the top of your ~/.xinitrc file :"
     33        if {[file exists ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh]} {
     34            ui_msg ". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh"
     35        }
     36    ui_msg "
     37gdnc
     38gpbs
     39make_services
    2640
    27 post-install {
    28         ui_msg "\n\
    29                 In order to have a working GNUstep environment,\n\
    30                 copy these lines at the top of your ~/.xinitrc file :\n\n\
    31                 . ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh\n\
    32             gdnc \n\
    33             gpbs \n\
    34             make_services \n\n\
    35             For more information on setting the GNUstep environment, see\n\
    36             http://gnustep.made-it.com/BuildGuide/#CONFIG.GNUSTEP \n\n"
     41            For more information on setting the GNUstep environment, see
     42            http://gnustep.made-it.com/BuildGuide/#CONFIG.GNUSTEP"
     43}
     44
     45platform macosx {
     46    patchfiles-append   patch-ftfont.m \
     47                        patch-CairoFaceInfo.h
    3748}
    3849
    3950platform darwin 8 {
    40         configure.args-append  --disable-glx
     51    configure.args-append   --disable-glx
    4152}
    4253
    43 # not tested
     54# works better in quartz-wm
     55variant quartzwm {
     56    patchfiles-append patch-Source-x11-XGServerWindow.m
     57}
     58
     59# experimental backend
    4460variant cairo {
    45     depends_lib-delete  port:libart_lgpl
    46     depends_lib-append  port:cairo port:glitz
    47     configure.args-delete --enable-graphics=art --disable-glitz
    48     configure.args-append --enable-graphics=cairo --enable-glitz
     61    depends_lib-delete      port:libart_lgpl
     62    depends_lib-append      port:cairo
     63    configure.args-delete   --enable-graphics=art
     64    configure.args-append   --enable-graphics=cairo
    4965}
  • trunk/dports/gnustep/gnustep-base/Portfile

    r22988 r26263  
    11# $Id$
    22
    3 PortSystem   1.0
     3PortSystem 1.0
    44PortGroup   gnustep 1.0
    55
    66name        gnustep-base
    7 version     1.13.1
    8 revision        1
     7version     1.14.0
    98platforms   darwin
    109maintainers yves@macports.org
     
    2120    portion of the OpenStep standard (the Foundation library).
    2221
    23 checksums     md5 bdc92ab7048cd1ee8c18957b750686b5
    24 depends_lib   port:ffcall port:gnustep-make port:libxslt port:openssl
     22checksums           md5 10a24a5568c5505c4b7480f170733d4d
     23
     24depends_lib         port:ffcall \
     25                    port:gnustep-make \
     26                    port:libxslt \
     27                    port:openssl
     28
     29use_configure       yes
     30
     31destroot.keepdirs   ${destroot}${prefix}/var/run
    2532
    2633pre-extract {
    27     if {
    28          [catch {set ilist [registry_installed ${name}]} result ] &&
    29             [variant_isset with_docs]
     34    if { [variant_isset with_docs] &&
     35            [catch {set ilist [registry_installed ${name}]} result ]           
    3036    } then {
    31         ui_msg "\n\nWARNING\n\
    32             gnustep-base documentation depends on gnustep-base ... \n\
     37        ui_warn "
     38            gnustep-base documentation depends on gnustep-base ...
    3339            You must install gnustep-base before trying to install\
    34             gnustep-base +with_docs\n\n"
     40            gnustep-base +with_docs
     41        "
    3542        exit 1
    3643    }
    3744}
    3845
    39 patchfiles      base.patch
    4046post-patch {
    4147    reinplace "s|CODING-STANDARDS|GS-CODING-STANDARDS|g" \
    4248        ${worksrcpath}/Documentation/GNUmakefile
    4349}
    44 
    45 use_configure   yes
    46 configure.args-append   LDFLAGS=-L${prefix}/lib
    47 
    48 destroot.keepdirs    ${destroot}${prefix}/var/run
    4950
    5051startupitem.create  yes
     
    6162    "rm -f ${my_pid}"
    6263
    63 platform powerpc {
    64         variant with_ffi {
    65         configure.args-append \
    66                 --enable-libffi \
    67                 --with-ffi-include=${prefix}/include/gcc41 \
    68             --with-ffi-library=${prefix}/lib/gcc41
    69     }
     64variant with_ffi {
     65    configure.args-append \
     66            --enable-libffi \
     67            --with-ffi-include=${prefix}/include/gcc42 \
     68        --with-ffi-library=${prefix}/lib/gcc42
    7069}
    7170
    7271platform darwin {
    73     build.args-append    GUI_LIBS=""
    74    
    7572    post-destroot {
    7673        cd ${destroot}${prefix}/GNUstep/System
     
    8077    }
    8178    post-install {
    82         ui_msg "\n\n\
     79        ui_msg "
    8380            **** GNUstep 'defaults' tool is renamed 'gdefaults' to avoid\
    84             overriding Apple's defaults tool. *****\n\n"
     81            overriding Apple's defaults tool. *****
     82        "
    8583    }
    8684}
  • trunk/dports/gnustep/gnustep-gui/Portfile

    r25977 r26263  
    11# $Id$
    22
    3 PortSystem  1.0
    4 PortGroup   gnustep 1.0
     3PortSystem      1.0
     4PortGroup       gnustep 1.0
    55
    6 name        gnustep-gui
    7 version     0.11.0
    8 platforms   darwin
    9 maintainers yves@macports.org
     6name            gnustep-gui
     7version         0.12.0
     8platforms       darwin
     9maintainers     yves@macports.org
    1010
    11 description  A library of graphical user interface Objective C classes
     11description     A library of graphical user interface Objective C classes
    1212long_description \
    1313    The GNUstep gui library is a library of graphical user interface classes \
     
    1818    classes for handling events, colors, fonts, pasteboards and images.
    1919
    20 checksums     md5 7821a516ce5f683885116d78ac09b79e
    21 depends_lib   port:aspell port:audiofile port:gnustep-base port:gnutls \
    22               port:jpeg port:libpng port:libungif port:tiff
     20checksums       md5 13f1ec9910a99105ed0f1f79f2ff2db0
    2321
    24 # fix for étoilé
    25 patchfiles    patch-GSToolbar.h patch-GSToolbar.m
     22depends_lib     port:aspell \
     23                port:audiofile \
     24                port:gnustep-base \
     25                port:gnutls \
     26                port:libpng \
     27                port:libungif \
     28                port:tiff
    2629
    2730use_configure   yes
    28 configure.args-append \
    29                 --with-jpeg-library=${prefix}/lib \
    30                 --with-jpeg-include=${prefix}/include
     31
     32post-destroot {
     33    system "cp -f ${filespath}/common_*.tiff \
     34        ${destroot}${system_library}/Images"
     35}
    3136
    3237platform darwin {
    33     post-patch {
    34         set chan [open ${worksrcpath}/TextConverters/RTF/GNUmakefile.preamble a]
    35         puts $chan "RTFConverter_BUNDLE_LIBS += -lgnustep-gui"
    36         close $chan
    37     }
     38    # fix for étoilé
     39    patchfiles-append       patch-GSToolbar.h patch-GSToolbar.m
     40    # no audio support
    3841    depends_lib-delete      port:audiofile
    3942    configure.args-append   --disable-gsnd
  • trunk/dports/gnustep/gnustep-make/Portfile

    r22028 r26263  
    11# $Id$
    22
    3 PortSystem                      1.0
    4 name                    gnustep-make
    5 version                 1.13.0
    6 revision                        1
    7 categories          gnustep devel cross
    8 platforms               darwin
    9 maintainers         yves@macports.org
     3PortSystem 1.0
     4name            gnustep-make
     5version         2.0.1
     6categories      gnustep devel cross
     7platforms       darwin
     8maintainers     yves@macports.org
    109
    11 description             GNUstep makefile package
     10description     GNUstep makefile package
    1211long_description \
    1312    The GNUstep makefile package is a simple, powerful and extensible way to \
    14         write makefiles for a GNUstep-based project.  It allows the user to \
    15         write a project without having to deal with the complex issues \
    16         associated with configuration, building, installation, and packaging. \
    17         It also allows the user to easily create cross-compiled binaries.
     13    write makefiles for a GNUstep-based project.  It allows the user to \
     14    write a project without having to deal with the complex issues \
     15    associated with configuration, building, installation, and packaging. \
     16    It also allows the user to easily create cross-compiled binaries.
    1817
    19 master_sites gnustep:core
     18master_sites        gnustep:core
     19checksums           md5 f268733ea23f53e211e3977e27b46098
    2020
    21 checksums   md5 1d7a434e751c58c6390055c14ada302b
     21depends_lib         port:gcc42
    2222
    23 depends_lib     port:gcc41
     23configure.args      CC=gcc-mp-4.2 \
     24                    --with-library-combo=gnu-gnu-gnu
    2425
    25 patchfiles  patch-latex.make \
    26             patch-palette.make \
    27             patch-target.make
     26destroot.args       messages=yes
    2827
    29 configure.pre_args  --prefix=${prefix}/GNUstep
    30 configure.args \
    31     --with-library-combo=gnu-gnu-gnu CC=gcc-dp-4.1 \
    32     --with-config-file=${prefix}/GNUstep/System/Library/GNUstep.conf
     28default_variants    +gnustep_layout
    3329
    34 destroot.destdir    special_prefix=${destroot}
    35 destroot.keepdirs   ${destroot}${prefix}/GNUstep/Local
     30# for the curious only, not really supported by MacPorts
     31variant fhs_layout conflicts gnustep_layout {
     32    configure.args-append   --with-layout=fhs \
     33                            --with-config-file=${prefix}/etc/GNUstep.conf
     34    post-patch {
     35        reinplace "s|=/man|=/share/man|g" \
     36            ${worksrcpath}/FilesystemLayouts/fhs
     37        reinplace "s|=/info|=/share/info|g" \
     38            ${worksrcpath}/FilesystemLayouts/fhs
     39    }
     40}
    3641
    37 post-install {
    38     ui_msg "\n\
    39         ##########################################################\n\n\
    40         To have a fully working GNUstep make system, please add \n\
    41         '. ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh' \n\
    42         to your shell login (in ~/.profile) \n\
    43         You may also want to set up your MANPATH and INFOPATH : \n\
    44         export MANPATH=\$GNUSTEP_LOCAL_ROOT/Library/Documentation/man:\$GNUSTEP_SYSTEM_ROOT/Library/Documentation/man:${prefix}/share/man:/usr/share/man:/usr/X11R6/man \n\
    45         export INFOPATH=\$GNUSTEP_LOCAL_ROOT/Library/Documentation/info:\$GNUSTEP_SYSTEM_ROOT/Library/Documentation/info:${prefix}/share/info:/usr/share/info \n\n\
    46         ##########################################################\n"
     42variant gnustep_layout {
     43    configure.pre_args      --prefix=${prefix}/GNUstep
     44    configure.args-append   \
     45        --with-config-file=${prefix}/GNUstep/System/Library/GNUstep.conf
     46
     47    destroot.keepdirs       ${destroot}${prefix}/GNUstep/Local
     48
     49    post-install {
     50        ui_msg "
     51##########################################################
     52To have a fully working GNUstep make system, please add
     53'. ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh'
     54to your shell login (in ~/.profile)
     55
     56You may also want to set up your MANPATH :
     57export MANPATH=\$GNUSTEP_LOCAL_ROOT/Library/Documentation/man:\$GNUSTEP_SYSTEM_ROOT/Library/Documentation/man:${prefix}/share/man:/usr/share/man:/usr/X11R6/man
     58##########################################################
     59        "
     60    }
     61    if {[file exists ${prefix}/share/darwinports]} {
     62        set res ${prefix}/share/darwinports/resources/port1.0/group
     63    } elseif {[file exists ${prefix}/share/macports]} {
     64        set res ${prefix}/share/macports/resources/port1.0/group
     65    } else {
     66        ui_error "Something is wrong with your MacPorts installation."
     67        exit 1
     68    }
     69    xinstall -m 644 ${filespath}/gnustep-1.0.tcl $res
    4770}
     71
     72platform darwin {
     73    post-patch {
     74        reinplace "s|/home|/Users|g" \
     75            ${worksrcpath}/FilesystemLayouts/gnustep \
     76            ${worksrcpath}/FilesystemLayouts/fhs
     77    }
     78}
  • trunk/dports/gnustep/gnustep/Portfile

    r23363 r26263  
    55
    66name        gnustep
    7 version     1.13.0
    8 revision    6
     7version     0.18.1
     8epoch       200706
    99platforms   darwin
    1010maintainers yves@macports.org
     
    1212description  GNUstep meta port
    1313long_description \
    14     ${description} \
    15     Also provides a user-friendly environment config script
     14    This is the GNUstep Desktop and Applications suite. \
     15    Also provides a user-friendly environment configuration script.
    1616
    17 distfiles   ""
    18 build {}
    19 destroot {
     17distfiles
     18fetch       { }
     19checksum    { }
     20configure   { }
     21build       { }
     22destroot    {
    2023    xinstall -d ${destroot}${prefix}/GNUstep/Local/Tools
    2124    xinstall -m 755 ${filespath}/config-gnustep-user.sh \
     
    3033}
    3134
    32 depends_lib \
     35depends_lib-append \
    3336    port:ArtResources \
    3437    port:GMastermind \
    3538    port:GMines \
    3639    port:GNUMail \
    37     port:GPuzzle2 \
    3840    port:PRICE \
    3941    port:TalkSoup \
    4042    port:Yap.app \
    41     port:etoile \
    4243    port:gworkspace \
    4344    port:windowmaker
     
    4546variant devel {
    4647    depends_lib-append \
    47         port:ProjectCenter \
    4848        port:ProjectManager \
    49         port:Renaissance \
    50         port:gnustep-dl2
     49        port:Renaissance
    5150}
  • trunk/dports/gnustep/gnustep/files/config-gnustep-user.sh

    r19812 r26263  
    3535echo
    3636echo
    37 
    38 echo 'You can enter your language name right now or '
    39 echo -n '"list" for a list of supported languages or "enter" to continue : '
    40 read
    41 gs_lang=${REPLY:-false}
    42 if [ $gs_lang = "list" ]
    43         then
    44         $t_clear
    45         ls "$GNUSTEP_SYSTEM_ROOT/Library/Libraries/Resources/gnustep-base/Languages" | grep -v Locale
    46         echo
    47         echo -n 'you can enter a name right now or "enter" to continue : '
    48         read
    49         gs_lang=${REPLY:-false}
    50 fi
    51 if [ $gs_lang != false ]
    52         then
    53         $t_bold ; echo "GNUstep language = $gs_lang" ; $t_norm
    54         echo
    55         if [ -z $LANG ] && [ -d @PREFIX@/share/locale ]
    56            then
    57            echo
    58            echo 'You should also set your LANG environment before running this script'
    59            echo
    60            echo 'You can enter "list" for a hint and exit or "enter" to continue : '
    61        read
    62        sh_lang=${REPLY:-false}
    63        if [ $sh_lang = "list" ]
    64         then
    65         $t_clear
    66         echo "Language codes available for LANG :"
    67         echo
    68         ls @PREFIX@/share/locale
    69         echo
    70         echo "For example, you can set your LANG environment by adding"
    71         echo "export LANG=fr"
    72         echo "to your ~/.profile"
    73         echo "if you use the French language"
    74         echo
    75         exit 1
    76        fi
    77     fi
    78 fi
    79 
    8037
    8138#
     
    148105fi
    149106
    150 if [ $gs_lang != false ]
    151         then
    152         sleep 2
    153     echo "Language        : $gs_lang"
    154         gdefaults write NSGlobalDomain Language $gs_lang
    155 fi
    156107sleep 2
    157108echo "XShm            : disabled"
     
    161112bundledir="$GNUSTEP_SYSTEM_ROOT/Library/Bundles"
    162113echo "Resetting GSAppKitUserBundles (in NSGlobalDomain)"
    163 gdefaults write NSGlobalDomain GSAppKitUserBundles "($bundledir/Camaelon.themeEngine, $bundledir/EtoileWildMenus)"
     114defaults write NSGlobalDomain GSAppKitUserBundles "($bundledir/Camaelon.themeEngine, $bundledir/EtoileMenus.bundle, $bundledir/EtoileBehavior.bundle)"
    164115sleep 2
    165116echo "Setting User Interface Theme to Nesedah (in Camaelon domain)"
    166117gdefaults write Camaelon Theme Nesedah
     118
     119defaults write GWorkspace NoWarnOnQuit YES
     120defaults write NSGlobalDomain GSWorkspaceApplication "NotExist.app"
    167121
    168122echo
Note: See TracChangeset for help on using the changeset viewer.