[MacPorts] #29530: fb code still doesn't work right with XQuartz

MacPorts noreply at macports.org
Mon May 30 01:41:32 PDT 2011


#29530: fb code still doesn't work right with XQuartz
--------------------------------------+-------------------------------------
 Reporter:  Peter_Dyballa@…           |       Owner:  jeremyhu@…           
     Type:  defect                    |      Status:  assigned             
 Priority:  Normal                    |   Milestone:                       
Component:  ports                     |     Version:  1.9.2                
 Keywords:                            |        Port:  xorg-server-devel    
--------------------------------------+-------------------------------------

Comment(by Peter_Dyballa@…):

 Replying to [comment:19 jeremyhu@…]:
 > That's a bit more involved than I'd like... can you please just build me
 a binary that exhibits the problem?
 >
 When the problem reappeared every build showed the effect. From the
 Emacsen I built last week none exists anymore and none was backupped by
 Time Machine. As you saw I produce highly optimised versions for my CPU,
 the PowerPC 7447A. I can produce a less optimised variant.

 Sending you the binary of GNU Emacs (9 MB) is not sufficient. I would need
 to send you as well all its infrastructure in
 /usr/local/share/emacs/24.0.50 – approximately 80 MB.


 To fetch the development sources of GNU Emacs you can start bzr before you
 go to bed. Next morning your disk will have almost 1 GB less free space.
 It's nice when ypu have PNG, JPEG, TIFF, GIF and ImageMagick installed;
 and also FreeType, libotf, libXft XML2, librsvg2. Then you can invoke
 configure. Less than ten minutes later you can check the output and invoke
 make. More than one hour later make should have finished, 'make bootstrap'
 should take the same time, because the first time all ELisp files are
 compiled (.el -> .elc). The final step is 'sudo make install', which might
 take up to 15 min.

 Here is the section from configure's output that reports what is used for
 my GNU Emacs (one in GTK clothes):

 {{{
   What operating system and machine description files should Emacs use?
         `s/darwin.h' and `m/macppc.h'
   What compiler should emacs be built with?               gcc-4 -std=gnu99
 -I/opt/local/include -L/opt/local/lib -g -H -pipe -fPIC -fno-common
 -mcpu=7450 -mtune=7450 -maltivec -faltivec -Os -foptimize-register-move
 -mfused-madd -mmultiple -ftree-vectorize
   Should Emacs use the GNU version of malloc?             no
     (The GNU allocators don't work with this system configuration.)
   Should Emacs use a relocating allocator for buffers?    no
   Should Emacs use mmap(2) for buffer allocation?         no
   What window system should Emacs use?                    x11
   What toolkit should Emacs use?                          GTK
   Where do we find X Windows header files?
 /opt/local/include
   Where do we find X Windows libraries?                   /opt/local/lib
   Does Emacs use -lXaw3d?                                 no
   Does Emacs use -lXpm?                                   yes
   Does Emacs use -ljpeg?                                  yes
   Does Emacs use -ltiff?                                  yes
   Does Emacs use a gif library?                           yes -lgif
   Does Emacs use -lpng?                                   yes
   Does Emacs use -lrsvg-2?                                yes
   Does Emacs use imagemagick?                             yes
   Does Emacs use -lgpm?                                   no
   Does Emacs use -ldbus?                                  no
   Does Emacs use -lgconf?                                 no
   Does Emacs use -lselinux?                               no
   Does Emacs use -lgnutls (2.6.x or higher)?              yes
   Does Emacs use -lxml2?                                  yes
   Does Emacs use -lfreetype?                              yes
   Does Emacs use -lm17n-flt?                              no
   Does Emacs use -lotf?                                   yes
   Does Emacs use -lxft?                                   yes
   Does Emacs use toolkit scroll bars?                     yes
 }}}

 Here is another list, the list of open files (edited and sorted) from
 lsof:

 {{{
 emacs   26749 pete  txt    REG      14,4    622280  10241728
 /Applications/OpenOffice.org.app/Contents/basis-
 link/share/fonts/truetype/DejaVuSans.ttf
 emacs   26749 pete  txt    REG      14,4    321524  10241736
 /Applications/OpenOffice.org.app/Contents/basis-
 link/share/fonts/truetype/DejaVuSansMono.ttf
 emacs   26749 pete  txt    REG      14,4  23278008     30801
 /Library/Fonts/Arial Unicode.ttf
 emacs   26749 pete  txt    REG      14,4    536272   2455777
 /Library/Fonts/Extrafonts/Akshar.ttf
 emacs   26749 pete  txt    REG      14,4    419784   2455987
 /Library/Fonts/Extrafonts/SamyakSans.ttf
 emacs   26749 pete  txt    REG      14,4  22993540   2456008
 /Library/Fonts/Extrafonts/Sun-ExtA.ttf
 emacs   26749 pete  txt    REG      14,4   1355768   2456042
 /Library/Fonts/Extrafonts/TibetanMachineUniAlpha.ttf
 emacs   26749 pete  txt    REG      14,4   2012260   2456049
 /Library/Fonts/Extrafonts/TitusCBZ.ttf
 emacs   26749 pete  txt    REG      14,4  15443432   2455876
 /Library/Fonts/Extrafonts/fireflysung.ttf
 emacs   26749 pete  txt    REG      14,4    214936   2455914
 /Library/Fonts/Extrafonts/gautami.ttf
 emacs   26749 pete  txt    REG      14,4  33791880   2455957
 /Library/Fonts/Extrafonts/mingliub.ttc
 emacs   26749 pete  txt    REG      14,4  15734520    176639
 /Library/Fonts/华文仿宋.ttf
 emacs   26749 pete  txt    REG      14,4     87020  18530387
 /opt/local/lib/libICE.6.dylib
 emacs   26749 pete  txt    REG      14,4   2314748  30629095
 /opt/local/lib/libMagickCore.4.dylib
 emacs   26749 pete  txt    REG      14,4   1119868  30629099
 /opt/local/lib/libMagickWand.4.dylib
 emacs   26749 pete  txt    REG      14,4     33244  18759986
 /opt/local/lib/libSM.6.dylib
 emacs   26749 pete  txt    REG      14,4   1203232  28995509
 /opt/local/lib/libX11.6.dylib
 emacs   26749 pete  txt    REG      14,4     14040  15830167
 /opt/local/lib/libXau.6.dylib
 emacs   26749 pete  txt    REG      14,4    294308  23296780
 /opt/local/lib/libXaw3d.8.0.dylib
 emacs   26749 pete  txt    REG      14,4     23144  18859000
 /opt/local/lib/libXdmcp.6.dylib
 emacs   26749 pete  txt    REG      14,4     78196  30527067
 /opt/local/lib/libXext.6.dylib
 emacs   26749 pete  txt    REG      14,4     73920  18859937
 /opt/local/lib/libXft.2.dylib
 emacs   26749 pete  txt    REG      14,4     91916  18868681
 /opt/local/lib/libXmu.6.dylib
 emacs   26749 pete  txt    REG      14,4     60336  18872226
 /opt/local/lib/libXpm.4.dylib
 emacs   26749 pete  txt    REG      14,4     41156  14577978
 /opt/local/lib/libXrender.1.dylib
 emacs   26749 pete  txt    REG      14,4    366104  28671112
 /opt/local/lib/libXt.6.dylib
 emacs   26749 pete  txt    REG      14,4     69180  17737931
 /opt/local/lib/libbz2.1.0.6.dylib
 emacs   26749 pete  txt    REG      14,4    747632  29380461
 /opt/local/lib/libcairo.2.dylib
 emacs   26749 pete  txt    REG      14,4    237140  17640187
 /opt/local/lib/libcroco-0.6.3.0.1.dylib
 emacs   26749 pete  txt    REG      14,4    150560  17257195
 /opt/local/lib/libexpat.1.5.2.dylib
 emacs   26749 pete  txt    REG      14,4    895800  25953724
 /opt/local/lib/libfftw3.3.dylib
 emacs   26749 pete  txt    REG      14,4    206464   3867733
 /opt/local/lib/libfontconfig.1.dylib
 emacs   26749 pete  txt    REG      14,4    532828  20305727
 /opt/local/lib/libfreetype.6.dylib
 emacs   26749 pete  txt    REG      14,4    565840  24221497
 /opt/local/lib/libgcrypt.11.6.0.dylib
 emacs   26749 pete  txt    REG      14,4    111732  25334449
 /opt/local/lib/libgdk_pixbuf-2.0.0.dylib
 emacs   26749 pete  txt    REG      14,4     37228   6027868
 /opt/local/lib/libgif.4.1.6.dylib
 emacs   26749 pete  txt    REG      14,4   1242408  30553323
 /opt/local/lib/libgio-2.0.0.dylib
 emacs   26749 pete  txt    REG      14,4   1146568  30553327
 /opt/local/lib/libglib-2.0.0.dylib
 emacs   26749 pete  txt    REG      14,4     14936  30553331
 /opt/local/lib/libgmodule-2.0.0.dylib
 emacs   26749 pete  txt    REG      14,4    668220  26722422
 /opt/local/lib/libgnutls.26.dylib
 emacs   26749 pete  txt    REG      14,4    322508  30553335
 /opt/local/lib/libgobject-2.0.0.dylib
 emacs   26749 pete  txt    REG      14,4     17500  24216967
 /opt/local/lib/libgpg-error.0.dylib
 emacs   26749 pete  txt    REG      14,4     20884  30553339
 /opt/local/lib/libgthread-2.0.0.dylib
 emacs   26749 pete  txt    REG      14,4   1065708   7982782
 /opt/local/lib/libiconv.2.dylib
 emacs   26749 pete  txt    REG      14,4     48932  16228351
 /opt/local/lib/libintl.8.dylib
 emacs   26749 pete  txt    REG      14,4    209216  25282548
 /opt/local/lib/libjpeg.8.dylib
 emacs   26749 pete  txt    REG      14,4    273948  25866924
 /opt/local/lib/liblcms2.2.dylib
 emacs   26749 pete  txt    REG      14,4     39772  17747483
 /opt/local/lib/libltdl.7.dylib
 emacs   26749 pete  txt    REG      14,4    143276  29039466
 /opt/local/lib/liblzma.5.dylib
 emacs   26749 pete  txt    REG      14,4    320416  28964313
 /opt/local/lib/libncurses.5.dylib
 emacs   26749 pete  txt    REG      14,4     73176   6025433
 /opt/local/lib/libotf.0.0.0.dylib
 emacs   26749 pete  txt    REG      14,4    288996  29002523
 /opt/local/lib/libpango-1.0.0.dylib
 emacs   26749 pete  txt    REG      14,4     53236  29002527
 /opt/local/lib/libpangocairo-1.0.0.dylib
 emacs   26749 pete  txt    REG      14,4    205632  29002531
 /opt/local/lib/libpangoft2-1.0.0.dylib
 emacs   26749 pete  txt    REG      14,4    398064  29846517
 /opt/local/lib/libpixman-1.0.dylib
 emacs   26749 pete  txt    REG      14,4    148612  29601836
 /opt/local/lib/libpng14.14.dylib
 emacs   26749 pete  txt    REG      14,4    220020  29464240
 /opt/local/lib/librsvg-2.2.dylib
 emacs   26749 pete  txt    REG      14,4     62876  24224592
 /opt/local/lib/libtasn1.3.dylib
 emacs   26749 pete  txt    REG      14,4    379532  15597301
 /opt/local/lib/libtiff.3.dylib
 emacs   26749 pete  txt    REG      14,4    108364  17342513
 /opt/local/lib/libxcb.1.dylib
 emacs   26749 pete  txt    REG      14,4   1305080  19169097
 /opt/local/lib/libxml2.2.dylib
 emacs   26749 pete  txt    REG      14,4     83584  12185701
 /opt/local/lib/libz.1.2.5.dylib
 emacs   26749 pete  txt    REG      14,4     49052  29356673
 /usr/X11/share/fonts/TTF/VeraMoBd.ttf
 emacs   26749 pete  txt    REG      14,4     54508  29356675
 /usr/X11/share/fonts/TTF/VeraMoIt.ttf
 emacs   26749 pete  txt    REG      14,4     49224  29356676
 /usr/X11/share/fonts/TTF/VeraMono.ttf
 emacs   26749 pete  txt    REG      14,4    207552  27747758
 /usr/X11/share/fonts/local/KhmerOS_battambang.ttf
 emacs   26749 pete  txt    REG      14,4     30280  27747745
 /usr/X11/share/fonts/local/UniBurma_Regular.ttf
 emacs   26749 pete  txt    REG      14,4     58911  29356377
 /usr/X11/share/fonts/misc/7x13.pcf.gz
 emacs   26749 pete  txt    REG      14,4    194338  29356595
 /usr/X11/share/fonts/misc/cu12.pcf.gz
 emacs   26749 pete  txt    REG      14,4     50776   9399361
 /usr/local/texlive/2009/texmf-dist/fonts/opentype/arkandis/libris
 /LibrisADFStd-Bold.otf
 }}}

 The many font files come from the fact that invoked C-h H, which opens a
 buffer HELLO with greetings in many languages – and their writing systems!

-- 
Ticket URL: <https://trac.macports.org/ticket/29530#comment:20>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list