how can I build a universal mdmg of gtk2?

Kevin Layer layer at franz.com
Wed Aug 4 06:56:00 PDT 2010


Joshua Root <jmr at macports.org> wrote:

>> On 2010-8-4 16:57 , Kevin Layer wrote:
>> > I'm on a quest to make a single dmg that will work on i386 and x86_64.
>> > 
>> > Here's the method I used to build, on a 10.5 Intel system:
>> > 
>> > 1. Install MacPorts 1.9.1.
>> > 
>> > 2. Edit /opt/local/etc/macports/macports.conf to update
>> > 
>> >    universal_archs i386 x86_64
>> > 
>> > 3. port install gtk2 +x11 +universal
>> > 
>> > 4. port mdmg gtk2 +x11 +universal
>> 
>> Did you have any of gtk2's dependencies installed before you did these
>> steps? Show the output of 'port -v installed'.

No.  I started from a clean installation, that is I did this before #1
above:

port -f uninstall installed
rm -rf \
    /opt/local \
    /Applications/DarwinPorts \
    /Applications/MacPorts \
    /Library/LaunchDaemons/org.macports.* \
    /Library/Receipts/DarwinPorts*.pkg \
    /Library/Receipts/MacPorts*.pkg \
    /Library/StartupItems/DarwinPortsStartup \
    /Library/Tcl/darwinports1.0 \
    /Library/Tcl/macports1.0 \
    ~/.macports

# port -v installed
The following ports are currently installed:
  atk @1.30.0_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  autoconf @2.65_2 (active) platform='darwin 9' archs='noarch'
  automake @1.11.1_0 (active) platform='darwin 9' archs='noarch'
  bzip2 @1.0.5_3+universal (active) platform='darwin 9' archs='i386 x86_64'
  cairo @1.8.10_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  db46 @4.6.21_6+universal (active) platform='darwin 9' archs='i386 x86_64'
  docbook-xml @5.0_0 (active) platform='darwin 9' archs='noarch'
  docbook-xml-4.1.2 @4.1.2_1 (active) platform='darwin 9' archs='noarch'
  docbook-xml-4.2 @4.2_0 (active) platform='darwin 9' archs='noarch'
  docbook-xml-4.3 @4.3_0 (active) platform='darwin 9' archs='noarch'
  docbook-xml-4.4 @4.4_0 (active) platform='darwin 9' archs='noarch'
  docbook-xml-4.5 @4.5_0 (active) platform='darwin 9' archs='noarch'
  docbook-xml-5.0 @5.0_0 (active) platform='darwin 9' archs='noarch'
  docbook-xsl @1.75.2_0 (active) platform='darwin 9' archs='noarch'
  expat @2.0.1_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  fontconfig @2.8.0_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  freetype @2.4.1_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  gdbm @1.8.3_2+universal (active) platform='darwin 9' archs='i386 x86_64'
  getopt @1.1.4_1+universal (active) platform='darwin 9' archs='i386 x86_64'
  gettext @0.18.1.1_2+universal (active) platform='darwin 9' archs='i386 x86_64'
  glib2 @2.24.1_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  gnome-common @2.26.0_0 (active) platform='darwin 9' archs='noarch'
  gnome-doc-utils @0.18.1_1 (active) platform='darwin 9' archs='noarch'
  gperf @3.0.4_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  gtk-doc @1.15_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  gtk2 @2.20.1_0+universal+x11 (active) platform='darwin 9' archs='i386 x86_64'
  help2man @1.38.2_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  intltool @0.40.6_0 (active) platform='darwin 9' archs='noarch'
  iso-codes @3.19_0 (active) platform='darwin 9' archs='noarch'
  jasper @1.900.1_7+universal (active) platform='darwin 9' archs='i386 x86_64'
  jpeg @8b_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  libiconv @1.13.1_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  libpixman @0.18.2_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  libpng @1.2.44_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  libtool @2.2.10_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  libxml2 @2.7.7_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  libxslt @1.1.26_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  m4 @1.4.14_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  ncurses @5.7_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  ncursesw @5.7_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  openssl @1.0.0a_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  p5-getopt-long @2.38_0 (active) platform='darwin 9' archs='noarch'
  p5-locale-gettext @1.05_2+universal (active) platform='darwin 9' archs='i386 x86_64'
  p5-pathtools @3.31_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  p5-scalar-list-utils @1.23_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  p5-xml-parser @2.36_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  pango @1.24.5_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  perl5 @5.8.9_0 (active) platform='darwin 9' archs='noarch'
  perl5.8 @5.8.9_3+universal (active) platform='darwin 9' archs='i386 x86_64'
  pkgconfig @0.25_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  py26-libxml2 @2.6.21_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  python26 @2.6.5_3+universal (active) platform='darwin 9' archs='i386 x86_64'
  rarian @0.8.1_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  readline @6.1.000_1+universal (active) platform='darwin 9' archs='i386 x86_64'
  shared-mime-info @0.71_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  sqlite3 @3.6.23.1_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  tcl @8.5.8_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  tiff @3.9.4_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  tk @8.5.8_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  Xft2 @2.1.14_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xmlcatmgr @2.2_1+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-bigreqsproto @1.1.0_0 (active) platform='darwin 9' archs='noarch'
  xorg-compositeproto @0.4.1_0 (active) platform='darwin 9' archs='noarch'
  xorg-damageproto @1.2.0_0 (active) platform='darwin 9' archs='noarch'
  xorg-fixesproto @4.1.1_0 (active) platform='darwin 9' archs='noarch'
  xorg-inputproto @2.0_0 (active) platform='darwin 9' archs='noarch'
  xorg-kbproto @1.0.4_0 (active) platform='darwin 9' archs='noarch'
  xorg-libX11 @1.3.4_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-libXau @1.0.6_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-libXcomposite @0.4.2_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-libXcursor @1.1.10_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-libXdamage @1.1.3_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-libXdmcp @1.0.3_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-libXext @1.1.2_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-libXfixes @4.0.5_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-libXi @1.3_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-libXinerama @1.1_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-libXrandr @1.3.0_1+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-libXScrnSaver @1.2.0_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  xorg-randrproto @1.3.1_0 (active) platform='darwin 9' archs='noarch'
  xorg-renderproto @0.11_0 (active) platform='darwin 9' archs='noarch'
  xorg-scrnsaverproto @1.2.0_0 (active) platform='darwin 9' archs='noarch'
  xorg-util-macros @1.10.0_0 (active) platform='darwin 9' archs='noarch'
  xorg-xcmiscproto @1.2.0_0 (active) platform='darwin 9' archs='noarch'
  xorg-xextproto @7.1.1_0 (active) platform='darwin 9' archs='noarch'
  xorg-xf86bigfontproto @1.2.0_0 (active) platform='darwin 9' archs='noarch'
  xorg-xineramaproto @1.2_0 (active) platform='darwin 9' archs='noarch'
  xorg-xproto @7.0.17_0 (active) platform='darwin 9' archs='noarch'
  xorg-xtrans @1.2.5_0 (active) platform='darwin 9' archs='noarch'
  xrender @0.9.6_0+universal (active) platform='darwin 9' archs='i386 x86_64'
  zlib @1.2.5_0+universal (active) platform='darwin 9' archs='i386 x86_64'
# 


More information about the macports-users mailing list