Cuadros de dialogo Gimp con librerias gtk [Solucionado]

No hay mucho que ver

Descargar
Compilar
Instalar

Ejecutar de 2 posibles formas

A.

call /usr/local/bin/kgtk-wrapper gimp

B.

ln -s /usr/local/bin/kgtk-wrapper /usr/local/bin/gimp

Luego dice que si te funciona puedes hacer algunas cosas mas

Otra forma de ver que dice es traduciendo la paginaPagina traducida

Me tira que no encuentra la orden call.

$ call /usr/local/bin/kgtk-wrapper gimp
bash: call: orden no encontrada

Prueba solo con

kgtk-wrapper gimp

O con el segundo metodo.

Tuxerito escribió:

Prueba solo con

kgtk-wrapper gimp

O con el segundo metodo.

$ kgtk-wrapper gimp
bash: kgtk-wrapper: orden no encontrada
PabliNet escribió:
Tuxerito escribió:

Prueba solo con

kgtk-wrapper gimp

O con el segundo metodo.

$ kgtk-wrapper gimp
bash: kgtk-wrapper: orden no encontrada

Seguro que lo has instalado bien?

Lo que tendrías que hacer es lo siguiente:
En la carpeta donde descomprimiste el archivo kgtk-0.10.1,

mkdir build4
cd build4
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DKGTK_KDE4=true -DKGTK_QT4=true -DKGTK_GTK2=false -DLIB_SUFFIX=64
make
sudo make install

Y luego ejecutas

kgtk-wrapper gimp

Según yo, si tienes las dependencias (Creo que esencialmente QT y KDE4) y todo compiló bien, no tiene porqué darte problemas...
Nota que -DLIB_SUFFIX=64 es necesario en tu caso, porque ví que usas un sistema de 64 bits.

Saludos!

EDITO: Me encanta esta aplicación!

No puedo compilar con cmake.

$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DKGTK_KDE4=true -DKGTK_QT4=true -DKGTK_GTK2=false -DLIB_SUFFIX=64
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for getpeereid 
-- Looking for getpeereid - not found
** INFORMATION: Compiling Qt4/KDE4, Qt3/KDE3 disabled   
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.1 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Phonon Version: 4.3.0
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.2 include dir: /usr/include
-- Found KDE 4.2 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
** INFORMATION: KDialogD for KDE4 will be built.
CMake Error at cmake/FindMsgfmt.cmake:79 (MESSAGE):
  msgfmt not found - po files can't be processed
Call Stack (most recent call first):
  kdialogd4/po/CMakeLists.txt:1 (find_package)

-- Configuring incomplete, errors occurred!

CMakeLists.txt

project(KGtk)
cmake_minimum_required(VERSION 2.4.0)

set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
set(CPACK_GENERATOR "TBZ2")
set(CPACK_SOURCE_GENERATOR "TBZ2")
set(CPACK_PACKAGE_VERSION_MAJOR "0")
set(CPACK_PACKAGE_VERSION_MINOR "10")
set(CPACK_PACKAGE_VERSION_PATCH "1")
set(KGTK_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
set(KGTK_VERSION_FULL "${KGTK_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${KGTK_VERSION_FULL}")
include(CPack)

set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
include(CheckFunctionExists)
check_function_exists(getpeereid HAVE_GETPEEREID)

# Cant compile Qt3/KDE3 at the same time as Qt4/KDE4...
if ("${KGTK_KDE4}" MATCHES "true" OR "${KGTK_QT4}" MATCHES "true")
    if (NOT "${KGTK_KDE3}" MATCHES "false" OR NOT "${KGTK_QT3}" MATCHES "false")
        set(KGTK_KDE3 "false")
        set(KGTK_QT3 "false")
        message("** INFORMATION: Compiling Qt4/KDE4, Qt3/KDE3 disabled")
    endif (NOT "${KGTK_KDE3}" MATCHES "false" OR NOT "${KGTK_QT3}" MATCHES "false")
endif ("${KGTK_KDE4}" MATCHES "true" OR "${KGTK_QT4}" MATCHES "true")

if (NOT "${KGTK_KDE3}" MATCHES "false")
    add_subdirectory(kdialogd3)
endif (NOT "${KGTK_KDE3}" MATCHES "false")

if ("${KGTK_KDE4}" MATCHES "true")
    add_subdirectory(kdialogd4)
    # For some reason kdialogd4 does not install unless you cd into the kdialogd4 folder?
    # ...hacky fix for this...
    install(PROGRAMS ${CMAKE_BINARY_DIR}/kdialogd4/kdialogd4 DESTINATION bin)
endif ("${KGTK_KDE4}" MATCHES "true")

if (NOT "${KGTK_GTK2}" MATCHES "false")
    # Check if we have dlvsym...
    find_library(LIBDLVSYM_LIBRARY
                 NAMES dl
                 PATHS /lib /usr/lib /usr/X11R6/lib /usr/local/lib)

    if(LIBDLVSYM_LIBRARY)
        set(HAVE_DLVSYM 1)
        # Determine version of dlsym...
        find_library(LIBDL_LIBRARY
                     NAMES dl
                     PATHS /lib /usr/lib /usr/X11R6/lib /usr/local/lib)

        if(LIBDL_LIBRARY)
            execute_process(COMMAND objdump --dynamic-syms ${LIBDL_LIBRARY}
                            COMMAND grep dlsym
                            OUTPUT_VARIABLE DLSYM_DATA)
            separate_arguments(DLSYM_DATA)
            if (${CMAKE_MAJOR_VERSION} GREATER 2 OR ${CMAKE_MINOR_VERSION} GREATER 4)
                cmake_policy(SET CMP0007 OLD)
            endif (${CMAKE_MAJOR_VERSION} GREATER 2 OR ${CMAKE_MINOR_VERSION} GREATER 4)
            list(GET DLSYM_DATA 4 KGTK_DLSYM_VERSION)
        endif(LIBDL_LIBRARY)
    else(LIBDLVSYM_LIBRARY)
        message("** INFORMATION: You're libdl does not contain dlvsym - SWT apps will not be supported")
    endif(LIBDLVSYM_LIBRARY)

    add_subdirectory(gtk2)
endif (NOT "${KGTK_GTK2}" MATCHES "false")

if (NOT "${KGTK_QT3}" MATCHES "false")
    add_subdirectory(qt3)
endif (NOT "${KGTK_QT3}" MATCHES "false")

if ("${KGTK_QT4}" MATCHES "true")
    add_subdirectory(qt4)
endif ("${KGTK_QT4}" MATCHES "true")

install(PROGRAMS ${CMAKE_SOURCE_DIR}/kdialogd-wrapper DESTINATION bin)
install(PROGRAMS ${CMAKE_SOURCE_DIR}/kgtk-wrapper DESTINATION bin)

message("** INFORMATION: Using installation prefix: ${CMAKE_INSTALL_PREFIX}")
configure_file (config.h.cmake ${CMAKE_BINARY_DIR}/config.h)

Sí, tengo de 64-bit.

strange1712 escribió:

Según yo, si tienes las dependencias (Creo que esencialmente QT y KDE4) y todo compiló bien, no tiene porqué darte problemas...

¿A qué dependencias te referís? te pregunto esto porque cmake me da error 79.

El comando que ingreso es:

cmake .. -DKGTK_KDE4=true -DKGTK_QT4=true -DLIB_SUFFIX=64

Y me da el error:

** INFORMATION: KDialogD for KDE4 will be built.
CMake Error at cmake/FindMsgfmt.cmake:79 (MESSAGE):
  msgfmt not found - po files can't be processed
Call Stack (most recent call first):
  kdialogd4/po/CMakeLists.txt:1 (find_package)

yo aún no he entendido exáctamente que quieres hacer, y el porqué de ese título.

Si tenés instalo Gimp, abrilo y andá al menú Archivo y luego a la opción Abrir. Ahí, estando en KDE4 te abrirá el cuadro de diálogo de Nautilus y no el de Dolphin.

El título es porque quiero integrar Gimp con Dolphin.

no tengo instalado nautilus....