Re: Preparing for Gtk+ version 4



Hi Peter:

Am 23.01.17 17:38 schrieb(en) Peter Bloomfield:
Reposting without the attachment--too big.

A common problem with this mailing list...

On 01/23/2017 11:34:03 AM Mon, Peter Bloomfield wrote:
I did try installing the .deb, using alien to convert it to a .rpm, but it looks like "dependency hell"--no 
automatic dependency resolution! Perhaps there's another GUI with a .rpm package...

Hmmm, "uncrustify --help" says:

---8<-----------------------------------------------------
There are currently 412 options and minimal documentation.
Try UniversalIndentGUI and good luck.
---8<-----------------------------------------------------

Here are the UniversalIndentGUI dependencies on my Ubuntu box, if this is helpful for you:

albrecht@deneb:~$ ldd $(which universalindentgui)
        linux-vdso.so.1 =>  (0x00007fff2199f000)
        libqscintilla2.so.12 => /usr/lib/libqscintilla2.so.12 (0x00007fcfe1e89000)
        libQtScript.so.4 => /usr/lib/x86_64-linux-gnu/libQtScript.so.4 (0x00007fcfe19c6000)
        libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007fcfe0cd1000)
        libQtNetwork.so.4 => /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4 (0x00007fcfe097c000)
        libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007fcfe0489000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fcfe0106000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fcfdfef0000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcfdfb27000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcfdf81d000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcfdf600000)
        libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fcfdf3bd000)
        libaudio.so.2 => /usr/lib/x86_64-linux-gnu/libaudio.so.2 (0x00007fcfdf1a3000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fcfdee92000)
        libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fcfdec6d000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fcfdea52000)
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fcfde7a8000)
        libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fcfde555000)
        libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fcfde34c000)
        libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fcfde132000)
        libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007fcfddf22000)
        libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fcfddd17000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fcfddb05000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fcfdd7cb000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fcfdd5c6000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fcfdd3be000)
        /lib64/ld-linux-x86-64.so.2 (0x0000560e1a3a5000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fcfdd194000)
        libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007fcfdcf2b000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fcfdcd27000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fcfdcab6000)
        libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fcfdc8ae000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fcfdc6a9000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fcfdc486000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fcfdc280000)

With some tweaks to your config file, I got uncrustify doing a pretty good job. I believe the "add" options should mostly be "force", 
otherwise we could be left with some nonstandard formatting, like multiple spaces where one is required (e.g. between "if" and "("). And I 
set "align_var_def_star_style=2"; dangling stars, so that the variable names are aligned, similar to Gtk code. And a few other small tweaks.

Yes, that sounds good!

We need to have a discussion about hard tabs! I know it's still a controversial topic; personally, I don't 
like them, especially when tab stops are expected to be set every 4 places. Indentation can look different in 
vim, gedit, pasting into e-mail, and so on; eliminating them makes the indenting unambiguous. But opinions 
vary!

I fully agree with you that avoiding tabs makes everything a lot more portable.  Not sure if there is an 
option to replace tabs by spaces (I guess it is...).

Cheers,
Albrecht.

Attachment: pgpmh9qF6z5_L.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]