Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: emerald rebuilding package from source. compile fails. help needed

  1. #1
    Join Date
    Nov 2005
    Location
    Kerala,India
    Beans
    534
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Post emerald rebuilding package from source. compile fails. help needed

    I am rebuilding emerald theme from debian source(from a ppa). I've edited accordingly the files in debian/ directory particularly, adjusting the dependency "compiz-dev" to match the installed compiz-dev version(compiz-dev (>= 0.8.4) ) . I am totally clueless what I need to do now. I tried going to the debian/patches directory and tried patching the source! never worked!
    the compile errors about some undeclared variables. Can anyone Help Me?

    Now I tried building package after installing build dependencies. but, it errors as below:

    Code:
    make[3]: Leaving directory `/home/meow/emerald/emerald-0.8.8/libengine'
    Making all in src
    make[3]: Entering directory `/home/meow/emerald/emerald-0.8.8/src'
    gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libwnck-1.0 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I../include -DLOCALEDIR="\"/usr/share/locale"\" -DENGINE_DIR=\"/usr/lib/emerald/engines\"    -march=native -O2 -pipe -pthread -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libwnck-1.0 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -c main.c
    main.c: In function 'decor_update_window_property':
    main.c:508:8: warning: passing argument 5 of 'decor_quads_to_property' makes integer from pointer without a cast [enabled by default]
    /usr/include/compiz/decoration.h:176:1: note: expected 'int' but argument is of type 'struct decor_extents_t *'
    main.c:508:8: warning: passing argument 6 of 'decor_quads_to_property' makes integer from pointer without a cast [enabled by default]
    /usr/include/compiz/decoration.h:176:1: note: expected 'int' but argument is of type 'struct decor_extents_t *'
    main.c:508:8: error: too many arguments to function 'decor_quads_to_property'
    /usr/include/compiz/decoration.h:176:1: note: declared here
    main.c: In function 'decor_update_switcher_property':
    main.c:1940:8: warning: passing argument 5 of 'decor_quads_to_property' makes integer from pointer without a cast [enabled by default]
    /usr/include/compiz/decoration.h:176:1: note: expected 'int' but argument is of type 'struct decor_extents_t *'
    main.c:1940:8: warning: passing argument 6 of 'decor_quads_to_property' makes integer from pointer without a cast [enabled by default]
    /usr/include/compiz/decoration.h:176:1: note: expected 'int' but argument is of type 'struct decor_extents_t *'
    main.c:1940:8: error: too many arguments to function 'decor_quads_to_property'
    /usr/include/compiz/decoration.h:176:1: note: declared here
    main.c: In function 'update_default_decorations':
    main.c:2368:5: warning: passing argument 5 of 'decor_quads_to_property' makes integer from pointer without a cast [enabled by default]
    /usr/include/compiz/decoration.h:176:1: note: expected 'int' but argument is of type 'struct decor_extents_t *'
    main.c:2368:5: warning: passing argument 6 of 'decor_quads_to_property' makes integer from pointer without a cast [enabled by default]
    /usr/include/compiz/decoration.h:176:1: note: expected 'int' but argument is of type 'struct decor_extents_t *'
    main.c:2368:5: error: too many arguments to function 'decor_quads_to_property'
    /usr/include/compiz/decoration.h:176:1: note: declared here
    main.c:2427:5: warning: passing argument 5 of 'decor_quads_to_property' makes integer from pointer without a cast [enabled by default]
    /usr/include/compiz/decoration.h:176:1: note: expected 'int' but argument is of type 'struct decor_extents_t *'
    main.c:2427:5: warning: passing argument 6 of 'decor_quads_to_property' makes integer from pointer without a cast [enabled by default]
    /usr/include/compiz/decoration.h:176:1: note: expected 'int' but argument is of type 'struct decor_extents_t *'
    main.c:2427:5: error: too many arguments to function 'decor_quads_to_property'
    /usr/include/compiz/decoration.h:176:1: note: declared here
    main.c:2436:5: warning: passing argument 5 of 'decor_quads_to_property' makes integer from pointer without a cast [enabled by default]
    /usr/include/compiz/decoration.h:176:1: note: expected 'int' but argument is of type 'struct decor_extents_t *'
    main.c:2436:5: warning: passing argument 6 of 'decor_quads_to_property' makes integer from pointer without a cast [enabled by default]
    /usr/include/compiz/decoration.h:176:1: note: expected 'int' but argument is of type 'struct decor_extents_t *'
    main.c:2436:5: error: too many arguments to function 'decor_quads_to_property'
    /usr/include/compiz/decoration.h:176:1: note: declared here
    main.c: In function 'main':
    main.c:5515:47: error: 'DECOR_INPUT_FRAME_ATOM_NAME' undeclared (first use in this function)
    main.c:5515:47: note: each undeclared identifier is reported only once for each function it appears in
    main.c:5621:12: error: 'WINDOW_DECORATION_TYPE_PIXMAP' undeclared (first use in this function)
    main.c:5621:12: error: too many arguments to function 'decor_set_dm_check_hint'
    /usr/include/compiz/decoration.h:379:1: note: declared here
    make[3]: *** [main.o] Error 1
    make[3]: Leaving directory `/home/meow/emerald/emerald-0.8.8/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/meow/emerald/emerald-0.8.8'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/meow/emerald/emerald-0.8.8'
    dh_auto_build: make -j1 returned exit code 2
    make: *** [build] Error 2
    dpkg-buildpackage: error: debian/rules build gave error exit status 2
    I have emerald source debianized and it built successfully using dpkg-buildpackage. it compiles fine. but, only the version from ppa complains of weird errors.
    Last edited by deepclutch; October 31st, 2011 at 04:18 PM.

  2. #2
    Join Date
    Sep 2009
    Beans
    1,293

    Re: emerald rebuilding package from source. compile fails. help needed

    decor_quads_to_property is missing 2 decor_extents_t arguments which need to be added for compilation to succeed with newer version of compiz. You can add them yourself, it'll run, but you might want to check out emeralds git repository or something first.

  3. #3
    Join Date
    Nov 2005
    Location
    Kerala,India
    Beans
    534
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: emerald rebuilding package from source. compile fails. help needed

    Hi,
    How to set those variables? and what are the values.

    TIA+

  4. #4
    Join Date
    Sep 2009
    Beans
    1,293

    Re: emerald rebuilding package from source. compile fails. help needed

    In short, i dont know, without spending time going through the code. As a guess...
    decor_quads_to_property used to require 2 decor_extents_t, input and maxinput, now it also needs frame_input and frame_max_input. Perhaps you can get away with mirroring the input and maxinput values, you'd need to go investigate libdecoration and its use further to know. Now method sig is

    Code:
    void
    decor_quads_to_property (long    *data,
           Pixmap    pixmap,
           decor_extents_t *frame_input,
           decor_extents_t *input,
           decor_extents_t *frame_max_input,
           decor_extents_t *max_input,
           int     min_width,
           int     min_height,
           decor_quad_t    *quad,
           int     nQuad);
    So for instance, in main.cpp:507 we have
    Code:
    decor_quads_to_property(data, GDK_PIXMAP_XID(d->pixmap),
              &extents, &maxextents, 0, 0, quads, nQuad);
    So the following would possible work
    Code:
    decor_quads_to_property(data, GDK_PIXMAP_XID(d->pixmap),
              &extents, &extents, &maxextents, &maxextents, 0, 0, quads, nQuad);

  5. #5
    Join Date
    Nov 2005
    Location
    Kerala,India
    Beans
    534
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Post Re: emerald rebuilding package from source. compile fails. help needed

    Thanks for the tip. but, before that I tried copying a latest version(0.9-2) /usr/include/compiz/decoration.h from libdecoration0-dev(only this file extracted). it compiled fine and built packages albeit throwing up some warning messages.

    Original /usr/include/compiz/decoration.h is ere(the version I've installed) : http://paste.ubuntu.com/728637/
    Here is the diff output comparing (1)original (2) new :
    Code:
    $ diff /home/meow/Desktop/decoration.h decoration.h 
    46a47,55
    > #define DECOR_INPUT_FRAME_ATOM_NAME             "_COMPIZ_WINDOW_DECOR_INPUT_FRAME"
    > #define DECOR_OUTPUT_FRAME_ATOM_NAME            "_COMPIZ_WINDOW_DECOR_OUTPUT_FRAME"
    > 
    > #define DECOR_TYPE_ATOM_NAME                    "_COMPIZ_WINDOW_DECOR_TYPE"
    > #define DECOR_TYPE_PIXMAP_ATOM_NAME             "_COMPIZ_WINDOW_DECOR_TYPE_PIXMAP"
    > #define DECOR_TYPE_WINDOW_ATOM_NAME             "_COMPIZ_WINDOW_DECOR_TYPE_WINDOW"
    > 
    > #define WINDOW_DECORATION_TYPE_PIXMAP (1 << 0)
    > #define WINDOW_DECORATION_TYPE_WINDOW (1 << 1)
    168c177,178
    < #define BASE_PROP_SIZE 12
    ---
    > #define WINDOW_PROP_SIZE 12
    > #define BASE_PROP_SIZE 21
    177a188
    >              decor_extents_t *frame_input,
    178a190
    >              decor_extents_t *frame_max_input,
    184a197,203
    > void
    > decor_gen_window_property (long           *data,
    >                decor_extents_t *input,
    >                decor_extents_t *max_input,
    >                int           min_width,
    >                int           min_height);
    > 
    189,196c208,228
    < decor_property_to_quads (long         *data,
    <              int         size,
    <              Pixmap         *pixmap,
    <              decor_extents_t *input,
    <              decor_extents_t *max_input,
    <              int         *min_width,
    <              int         *min_height,
    <              decor_quad_t    *quad);
    ---
    > decor_property_get_type (long *data);
    > 
    > int
    > decor_pixmap_property_to_quads (long         *data,
    >                 int         size,
    >                 Pixmap         *pixmap,
    >                 decor_extents_t  *frame_input,
    >                 decor_extents_t  *input,
    >                 decor_extents_t  *frame_max_input,
    >                 decor_extents_t  *max_input,
    >                 int         *min_width,
    >                 int         *min_height,
    >                 decor_quad_t    *quad);
    > 
    > int
    > decor_window_property (long           *data,
    >                int           size,
    >                decor_extents_t *input,
    >                decor_extents_t *max_input,
    >                int           *min_width,
    >                int           *min_height);
    380c412,413
    <              int     screen);
    ---
    >              int     screen,
    >
    Here's the build log:
    Code:
     dh_shlibdeps
    dpkg-shlibdeps: warning: dependency on libfontconfig.so.1 could be  avoided if "debian/emerald/usr/bin/emerald-theme-manager  debian/emerald/usr/bin/emerald" were not uselessly linked against it  (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libatk-1.0.so.0 could be avoided  if "debian/emerald/usr/bin/emerald-theme-manager  debian/emerald/usr/bin/emerald" were not uselessly linked against it  (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on librt.so.1 could be avoided if  "debian/emerald/usr/bin/emerald-theme-manager  debian/emerald/usr/bin/emerald" were not uselessly linked against it  (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libgio-2.0.so.0 could be avoided  if "debian/emerald/usr/bin/emerald-theme-manager  debian/emerald/usr/bin/emerald" were not uselessly linked against it  (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libgmodule-2.0.so.0 could be  avoided if "debian/emerald/usr/bin/emerald-theme-manager  debian/emerald/usr/bin/emerald" were not uselessly linked against it  (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libgthread-2.0.so.0 could be  avoided if "debian/emerald/usr/bin/emerald-theme-manager  debian/emerald/usr/bin/emerald" were not uselessly linked against it  (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libfreetype.so.6 could be avoided  if "debian/emerald/usr/bin/emerald-theme-manager  debian/emerald/usr/bin/emerald" were not uselessly linked against it  (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libpangoft2-1.0.so.0 could be  avoided if "debian/emerald/usr/bin/emerald-theme-manager  debian/emerald/usr/bin/emerald" were not uselessly linked against it  (they use none of its symbols).
    dpkg-shlibdeps: warning: symbol dlopen used by  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0 found in none  of the libraries.
    dpkg-shlibdeps: warning: symbol dlclose used by  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0 found in none  of the libraries.
    dpkg-shlibdeps: warning: symbol dlerror used by  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0 found in none  of the libraries.
    dpkg-shlibdeps: warning: symbol dlsym used by  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0 found in none  of the libraries.
    dpkg-shlibdeps: warning: dependency on libdecoration.so.0 could be  avoided if  "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libXrender.so.1 could be avoided  if "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libfontconfig.so.1 could be  avoided if  "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libatk-1.0.so.0 could be avoided  if "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on librt.so.1 could be avoided if  "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided  if "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libgio-2.0.so.0 could be avoided  if "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libgmodule-2.0.so.0 could be  avoided if  "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libwnck-1.so.22 could be avoided  if "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libgthread-2.0.so.0 could be  avoided if  "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libpangocairo-1.0.so.0 could be  avoided if  "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libfreetype.so.6 could be avoided  if "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libpangoft2-1.0.so.0 could be  avoided if  "debian/libemeraldengine0/usr/lib/emerald/engines/liboxygen.so  debian/libemeraldengine0/usr/lib/libemeraldengine.so.0.0.0  debian/libemeraldengine0/usr/lib/emerald/engines/libpixmap.so  debian/libemeraldengine0/usr/lib/emerald/engines/liblegacy.so  debian/libemeraldengine0/usr/lib/emerald/engines/libvrunner.so  debian/libemeraldengine0/usr/lib/emerald/engines/libzootreeves.so  debian/libemeraldengine0/usr/lib/emerald/engines/libline.so  debian/libemeraldengine0/usr/lib/emerald/engines/libtruglass.so" were  not uselessly linked against it (they use none of its symbols).
       dh_installdeb
       dh_gencontrol
    dpkg-gencontrol: warning: Depends field of package libemeraldengine-dev: unknown substitution variable ${shlibs:Depends}
       dh_md5sums
       dh_builddeb
    dpkg-deb: warning: 'debian/emerald/DEBIAN/control' contains user-defined field 'Original-Maintainer'
    dpkg-deb: warning: ignoring 1 warning about the control file(s)
    
    dpkg-deb: building package `emerald' in `../emerald_0.8.8-0+sid1_amd64.deb'.
    dpkg-deb: warning: 'debian/libemeraldengine0/DEBIAN/control' contains user-defined field 'Original-Maintainer'
    dpkg-deb: warning: ignoring 1 warning about the control file(s)
    
    dpkg-deb: building package `libemeraldengine0' in `../libemeraldengine0_0.8.8-0+sid1_amd64.deb'.
    dpkg-deb: warning: 'debian/libemeraldengine-dev/DEBIAN/control' contains user-defined field 'Original-Maintainer'
    dpkg-deb: warning: ignoring 1 warning about the control file(s)
    
    dpkg-deb: building package `libemeraldengine-dev' in `../libemeraldengine-dev_0.8.8-0+sid1_amd64.deb'.
     dpkg-genchanges -b >../emerald_0.8.8-0+sid1_amd64.changes
    dpkg-genchanges: binary-only upload - not including any source code
     dpkg-source --after-build emerald-0.8.8
    dpkg-buildpackage: binary only upload (no source included      int     supports);
    The Warning Messages more due to the failing of symlinking of known libraries. I guess? I haven't installed the packages as I know, dpkg will complain of symlinks not found.
    Last edited by deepclutch; November 4th, 2011 at 11:55 PM.

  6. #6
    Join Date
    Sep 2009
    Beans
    1,293

    Re: emerald rebuilding package from source. compile fails. help needed

    The type of change I mentioned before allows emerald to compile and run on the current oneiric version of libdecoration0, 0.9.6. Copying an older decoration.h header to somewhere to allow something to compile will likely come back to bite you, stick with headers and libraries of the same version, otherwise errors are likely to ensue somewhere along the line.
    The dpkg-shlibdeps warnings are not unusual, sometimes there a sign of something that should be fixed, sometimes a sign of something that dpkg-shlibsdeps just can't an answer to. Theres a section in
    Code:
     $ man dpkg-shlibsdep
    that covers what all the warnings and errors mean.

  7. #7
    Join Date
    Nov 2005
    Location
    Kerala,India
    Beans
    534
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Post Re: emerald rebuilding package from source. compile fails. help needed

    Yes. it was an idiotic try, I did. the Compiz version in this system is: 0.8.4-4 , libdecoration0-dev: 0.8.4-5
    obsolete versions? since the current version reached 0.9.6 for both.
    I checked http://paste.ubuntu.com/728637/ (the version of /usr/include/compiz/decoration.h in the system) and it has "decor_quads_to_property" only once declared:
    Code:
    int
    decor_version (void);
    
    void
    decor_quads_to_property (long            *data,
                             Pixmap          pixmap,
                             decor_extents_t *input,
                             decor_extents_t *max_input,
                             int             min_width,
                             int             min_height,
                             decor_quad_t    *quad,
                             int             nQuad);
    am confused if it'll work. since My understanding of Programming is almost Nil .

    the distro carries this old version. I am trying to compile from git the latest available compiz at 0.9.5 as a better option.
    Last edited by deepclutch; November 5th, 2011 at 03:01 PM.

  8. #8
    Join Date
    Sep 2009
    Beans
    1,293

    Re: emerald rebuilding package from source. compile fails. help needed

    You shouldnt need to change emerald to use the version of emerald on the libdecoration0 version you're using. Judging from your versions are you using lucid? I'll install a virtual machine and see if I get the same problem

  9. #9
    Join Date
    Nov 2005
    Location
    Kerala,India
    Beans
    534
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: emerald rebuilding package from source. compile fails. help needed

    sorry that I haven't posted about the distro- I am trying this in My Debian Testing/unstable distro.

    while Oneric compiz/emerald works fine in Dell Laptop. the rebuilding scene came because of this problem.

  10. #10
    Join Date
    Sep 2009
    Beans
    1,293

    Re: emerald rebuilding package from source. compile fails. help needed

    Building emerald 0.8.8 from
    http://cgit.compiz.org/fusion/decorators/emerald/

    On up to date debian sid gives me no problems. Did you accidently install newer libdecoration0-dev, patches or something? Maybe the ppa is a bit non-standard, see how you go with the 0.8.8 archive or an newer version from the git repository above

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •