Em 25-06-2015 18:00, Bruce Dubbs escreveu:
Fernando de Oliveira wrote:
Bruce,

LXQt will need this package using Qt5.

Would need to include the instructions in the page.

I could do a first try.

What do you think?

It's needed as a part of KDE and KF5.  I'm working on it and it will be
a part of KF5.  It's a problem because KDE4 needs it linked against Qt4
and KF5 needs it linked against Qt5.  Right now I'm not sure where to
put it.  Both versions cannot be in /usr.

Sorry. I don't understand why not, because the Qt5 ones have all qt5 somewhere in the file names or directories:

DEST-polkit-qt-1-0.112.0-qt4
└── usr
    ├── include
    │   └── polkit-qt-1
    │       ├── PolkitQt1
    │       │   ├── ActionDescription
    │       │   ├── Agent
    │       │   │   ├── Listener
    │       │   │   └── Session
    │       │   ├── Authority
    │       │   ├── Details
    │       │   ├── Gui
    │       │   │   ├── Action
    │       │   │   ├── ActionButton
    │       │   │   └── ActionButtons
    │       │   ├── Identity
    │       │   ├── Subject
    │       │   └── TemporaryAuthorization
    │       ├── polkitqt1-actiondescription.h
    │       ├── polkitqt1-agent-listener.h
    │       ├── polkitqt1-agent-session.h
    │       ├── polkitqt1-authority.h
    │       ├── polkitqt1-details.h
    │       ├── polkitqt1-export.h
    │       ├── polkitqt1-gui-actionbutton.h
    │       ├── polkitqt1-gui-actionbuttons.h
    │       ├── polkitqt1-gui-action.h
    │       ├── polkitqt1-identity.h
    │       ├── polkitqt1-subject.h
    │       ├── polkitqt1-temporaryauthorization.h
    │       └── polkitqt1-version.h
    └── lib
        ├── cmake
        │   └── PolkitQt-1
        │       ├── PolkitQt-1Config.c> >    -- Bruce> > make
        │       ├── PolkitQt-1ConfigVersion.cmake
        │       ├── PolkitQt-1Targets.cmake
        │       └── PolkitQt-1Targets-release.cmake
        ├── libpolkit-qt-agent-1.so -> libpolkit-qt-agent-1.so.1
        ├── libpolkit-qt-agent-1.so.1 -> libpolkit-qt-agent-1.so.1.112.0
        ├── libpolkit-qt-agent-1.so.1.112.0
        ├── libpolkit-qt-core-1.so -> libpolkit-qt-core-1.so.1
        ├── libpolkit-qt-core-1.so.1 -> libpolkit-qt-core-1.so.1.112.0
        ├── libpolkit-qt-core-1.so.1.112.0
        ├── libpolkit-qt-gui-1.so -> libpolkit-qt-gui-1.so.1
        ├── libpolkit-qt-gui-1.so.1 -> libpolkit-qt-gui-1.so.1.112.0
        ├── libpolkit-qt-gui-1.so.1.112.0
        └── pkgconfig
            ├── polkit-qt-1.pc
            ├── polkit-qt-agent-1.pc
            ├── polkit-qt-core-1.pc
            └── polkit-qt-gui-1.pc
DEST-polkit-qt-1-0.112.0-qt5
└── usr
    ├── include
    │   └── polkit-qt5-1
    │       ├── PolkitQt1
    │       │   ├── ActionDescription
    │       │   ├── Agent
    │       │   │   ├── Listener
    │       │   │   └── Session
    │       │   ├── Authority
    │       │   ├── Details
    │       │   ├── Gui
    │       │   │   ├── Action
    │       │   │   ├── ActionButton
    │       │   │   └── ActionButtons
    │       │   ├── Identity
    │       │   ├── Subject
    │       │   └── TemporaryAuthorization
    │       ├── polkitqt1-actiondescription.h
    │       ├── polkitqt1-agent-listener.h
    │       ├── polkitqt1-agent-session.h
    │       ├── polkitqt1-authority.h
    │       ├── polkitqt1-details.h
    │       ├── polkitqt1-export.h
    │       ├── polkitqt1-gui-actionbutton.h
    │       ├── polkitqt1-gui-actionbuttons.h
    │       ├── polkitqt1-gui-action.h
    │       ├── polkitqt1-identity.h
    │       ├── polkitqt1-subject.h
    │       ├── polkitqt1-temporaryauthorization.h
    │       └── polkitqt1-version.h
    └── lib
        ├── cmake
        │   └── PolkitQt5-1
        │       ├── PolkitQt5-1Config.cmake
        │       ├── PolkitQt5-1ConfigVersion.cmake
        │       ├── PolkitQt5-1Targets.cmake
        │       └── PolkitQt5-1Targets-release.cmake
        ├── libpolkit-qt5-agent-1.so -> libpolkit-qt5-agent-1.so.1
        ├── libpolkit-qt5-agent-1.so.1 -> libpolkit-qt5-agent-1.so.1.112.0
        ├── libpolkit-qt5-agent-1.so.1.112.0
        ├── libpolkit-qt5-core-1.so -> libpolkit-qt5-core-1.so.1
        ├── libpolkit-qt5-core-1.so.1 -> libpolkit-qt5-core-1.so.1.112.0
        ├── libpolkit-qt5-core-1.so.1.112.0
        ├── libpolkit-qt5-gui-1.so -> libpolkit-qt5-gui-1.so.1
        ├── libpolkit-qt5-gui-1.so.1 -> libpolkit-qt5-gui-1.so.1.112.0
        ├── libpolkit-qt5-gui-1.so.1.112.0
        └── pkgconfig
            ├── polkit-qt5-1.pc
            ├── polkit-qt5-agent-1.pc
            ├── polkit-qt5-core-1.pc
            └── polkit-qt5-gui-1.pc

20 directories, 82 files

Used:

      mkdir build{4,5} &&

      cd     build4 &&
      source setqt4 &&
      cmake -DCMAKE_INSTALL_PREFIX=/usr \
            -DCMAKE_BUILD_TYPE=Release  \
            -DCMAKE_INSTALL_LIBDIR=lib  \
            -DUSE_QT4=TRUE              \
            -Wno-dev .. &&

      make &&
      make DESTDIR=$DESTINODIR-qt4 install &&

      cd    ../build5 &&
      source   setqt5 &&
      cmake -DCMAKE_INSTALL_PREFIX=/usr \
            -DCMAKE_BUILD_TYPE=Release  \
            -DCMAKE_INSTALL_LIBDIR=lib  \
            -Wno-dev .. &&

      make &
      make DESTDIR=$DESTINODIR-qt5 install &&


--
[]s,
Fernando
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to