Re: Required packages for gtk+



On 4/20/07, Sergei Steshenko <sergstesh yahoo com> wrote:

--- Anupama Chandwani <anupama chandwani gmail com> wrote:

> Hello,
>
>  I want to add a package that sould be compiled before gtk+ & is a
> pre-requisite for it. I have added a check for the same in
> configure.in & created the configure file using autoconf.
>
> Now i want to add a "my_package.h" in gtk/gtkentry.c and also call
> functions from the same. Where should i add the dependent CFLAGS? or
> do a -lmy_package.so?
> Please tell me all areas that need to be edited to include my package
> as a pre-requisite.
>
> Regards
> --
> Anupama Chandwani
>
> Celunite Soft Systems
> Middleware Team
> Pune, INDIA - 411 00
> Tel: 020-40179797 (ext# 776)
> Fax: 020- 40046440
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>

This is gtk+ raw dependency tree reported by my AppsFromScratch:

This gives me the packages that gtk+ already depends on.
I have added another dependency to it of "my_package".
I want to know of places where in gtk+ Makefile i add the linking of
"my_package.h"


build.pl :INFO: dumping raw dependency tree

{
"targets" =>
  {
  "gtk+" =>
    {
    "depends_on" =>
      {
      "targets" =>
        {
        "atk" =>
          {
          "depends_on" =>
            {
            "targets" =>
              {
              "glib" =>
                {
                "depends_on" =>
                  {
                  "targets" =>
                    {
                    "gettext" =>
                      {
                      "depends_on" =>
                        {
                        "targets" =>
                          {
                          "libiconv_pre" =>
                            {
                            "install_prefix" =>
"/maxtor5/sergei/AppsFromScratchWD/install/libiconv_pre-1.11"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
        "cairo" =>
          {
          "depends_on" =>
            {
            "targets" =>
              {
              "fontconfig" =>
                {
                "depends_on" =>
                  {
                  "targets" =>
                    {
                    "expat" =>
                      {
                      },
                    "freetype" =>
                      {
                      "depends_on" =>
                        {
                        "targets" =>
                          {
                          "zlib" =>
                            {
                            }
                          }
                        }
                      }
                    }
                  }
                },
              "libpng" =>
                {
                "depends_on" =>
                  {
                  "targets" =>
                    {
                    "zlib" =>
                      {
                      }
                    }
                  }
                }
              }
            }
          },
        "cups" =>
          {
          "depends_on" =>
            {
            "targets" =>
              {
              "libjpeg" =>
                {
                "depends_on" =>
                  {
                  "targets" =>
                    {
                    "libtool" =>
                      {
                      "depends_on" =>
                        {
                        "targets" =>
                          {
                          "autoconf" =>
                            {
                            "depends_on" =>
                              {
                              "targets" =>
                                {
                                "m4" =>
                                  {
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
              "libpng" =>
                {
                "depends_on" =>
                  {
                  "targets" =>
                    {
                    "zlib" =>
                      {
                      }
                    }
                  }
                },
              "libtiff" =>
                {
                "depends_on" =>
                  {
                  "targets" =>
                    {
                    "libjpeg" =>
                      {
                      "depends_on" =>
                        {
                        "targets" =>
                          {
                          "libtool" =>
                            {
                            "depends_on" =>
                              {
                              "targets" =>
                                {
                                "autoconf" =>
                                  {
                                  "depends_on" =>
                                    {
                                    "targets" =>
                                      {
                                      "m4" =>
                                        {
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                    "zlib" =>
                      {
                      }
                    }
                  }
                },
              "openssl" =>
                {
                "depends_on" =>
                  {
                  "targets" =>
                    {
                    "bc" =>
                      {
                      "depends_on" =>
                        {
                        "targets" =>
                          {
                          "flex" =>
                            {
                            "depends_on" =>
                              {
                              "targets" =>
                                {
                                "bison" =>
                                  {
                                  },
                                "m4" =>
                                  {
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                    "zlib" =>
                      {
                      }
                    }
                  }
                }
              }
            }
          },
        "libjpeg" =>
          {
          "depends_on" =>
            {
            "targets" =>
              {
              "libtool" =>
                {
                "depends_on" =>
                  {
                  "targets" =>
                    {
                    "autoconf" =>
                      {
                      "depends_on" =>
                        {
                        "targets" =>
                          {
                          "m4" =>
                            {
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
        "libtiff" =>
          {
          "depends_on" =>
            {
            "targets" =>
              {
              "libjpeg" =>
                {
                "depends_on" =>
                  {
                  "targets" =>
                    {
                    "libtool" =>
                      {
                      "depends_on" =>
                        {
                        "targets" =>
                          {
                          "autoconf" =>
                            {
                            "depends_on" =>
                              {
                              "targets" =>
                                {
                                "m4" =>
                                  {
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
              "zlib" =>
                {
                }
              }
            }
          },
        "pango" =>
          {
          "depends_on" =>
            {
            "targets" =>
              {
              "cairo" =>
                {
                "depends_on" =>
                  {
                  "targets" =>
                    {
                    "fontconfig" =>
                      {
                      "depends_on" =>
                        {
                        "targets" =>
                          {
                          "expat" =>
                            {
                            },
                          "freetype" =>
                            {
                            "depends_on" =>
                              {
                              "targets" =>
                                {
                                "zlib" =>
                                  {
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                    "libpng" =>
                      {
                      "depends_on" =>
                        {
                        "targets" =>
                          {
                          "zlib" =>
                            {
                            }
                          }
                        }
                      }
                    }
                  }
                },
              "glib" =>
                {
                "depends_on" =>
                  {
                  "targets" =>
                    {
                    "gettext" =>
                      {
                      "depends_on" =>
                        {
                        "targets" =>
                          {
                          "libiconv_pre" =>
                            {
                            "install_prefix" =>
"/maxtor5/sergei/AppsFromScratchWD/install/libiconv_pre-1.11"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
};
.

If you are interested, I can send you most up to date version of AppsFromScratch - it builds
everything locally, not requiring root permission, downloading sources from Internet.

Your system is left intact.

If everything is OK, one command line is needed to build gtk+ or any other target supported
by the tool.

Regards,
  Sergei.

Applications From Scratch: http://appsfromscratch.berlios.de/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



--
Anupama Chandwani

Celunite Soft Systems
Middleware Team
Pune, INDIA - 411 00
Tel: 020-40179797 (ext# 776)
Fax: 020- 40046440



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