RSS/Atom feed Twitter
Site is read-only, email is disabled

Small nightly builds-tool update

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Small nightly builds-tool update Martin Nordholts 31 Jul 10:05
  prerequisites not building on F14 Michael J. Hammel 02 Aug 02:37
   prerequisites not building on F14 Martin Nordholts 02 Aug 06:33
    prerequisites not building on F14 Michael J. Hammel 02 Aug 14:30
Martin Nordholts
2011-07-31 10:05:24 UTC (over 13 years ago)

Small nightly builds-tool update

Hi,

This is a small update on some changes I have made on our continuous integration tool Jenkins that is hosted here: http://gimptest.flamingtext.com:8080/

With the addition of nightly tarball builds of feature branches, in particular for some of our GSoC projects, there is a new naming convention for jobs:
--

Examples:
* The name of the distcheck job for the master branch of babl is 'babl-distcheck-master'
* The name of the distcheck job for the soc-2011-gimpunitentry branch of GIMP is 'gimp-distcheck-soc-2011-gimpunitentry'

Also, I have stopped using the GNOME Project Builder plug-in for all our jobs and started using plain shell commands instead. This makes job configuration more straightforward and adaptable. For reference, I have included the commands used to build and publish the nightly GIMP git master tarball at the bottom of the mail.

/ Martin

# # Constants for this build
#
PREFIX="$HOME/prefix/babl-gegl-gimp" TARBALL_NAME="gimp-git-master.tar.bz2"

# # Clean up distdir from previously failed distchecks to prevent make # check from being confused
#
package="`grep '^PACKAGE = ' Makefile | awk '{print$3}'`" version="`grep '^VERSION = ' Makefile | awk '{print$3}'`" distdir="${package}-${version}"
test ! -d "$distdir" || \
{ find "$distdir" -type d ! -perm -200 -exec chmod u+w {} ';' && \ rm -fr "$distdir"; }

#
# Build
#
./autogen.sh --prefix=${PREFIX} --enable-gtk-doc make
make check
make install
make distcheck

#
# Rename built tarball so it always have the same name #
ls -1t *.tar.* | head -n 1 | xargs -I fff mv fff ${TARBALL_NAME}

# # Publish to ftp
#
cp ${TARBALL_NAME} /var/ftp/pub/nightly-tarballs

Michael J. Hammel
2011-08-02 02:37:38 UTC (over 13 years ago)

prerequisites not building on F14

I'm building the prerequisites on F14 in order to build GIMP from GIT. It appears all prerequisites are now required to be built on F14 so I'm doing these:
babl gegl glib atk pango gdk-pixbuf gtk+ gimp

Everything goes well till I get to the GTK+ install phase. It's giving me the following:

make[3]: Leaving directory `/home/mjhammel/src/graphics/gimp/git/gtk +/gdk/x11'
Making install in .
make[3]: Entering directory `/home/mjhammel/src/graphics/gimp/git/gtk +/gdk'
/usr/bin/g-ir-compiler --includedir=. --includedir=. --includedir=. Gdk-2.0.gir -o Gdk-2.0.typelib
Gdk-2.0.gir: error: Type reference 'GdkPixbuf' not found make[3]: *** [Gdk-2.0.typelib] Error 1

I've built and installed the prerequisites, including gdk-pixbuf, to /usr/local/gimpgit. I've tried building gobject-introspection but that doesn't build either. I didn't think that was required for pre-3.0 anyway (side note: should latest GIMP GIT build with 3.0?). I was under the impression that the "gir" stuff was from the introspection stuff, but maybe not.

My build command looks like this: PATH=/usr/local/gimpgit/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/mjhammel/bin:/usr/local/bin:/sbin:/usr/sbin:/home/mjhammel/bin:/home/mjhammel/bin:/usr/local/bin:/sbin:/usr/sbin \ PKG_CONFIG_PATH=/usr/local/gimpgit/lib/pkgconfig/ \ LD_LIBRARY_PATH=/usr/local/gimpgit/lib:/usr/local/gimpgit/lib::/usr/local/lib:/usr/local/lib \ XDG_DATA_DIRS=/usr/local/gimpgit/share/ \ LDFLAGS=-L/usr/local/gimpgit/lib \
CFLAGS=-I/usr/local/gimpgit/include \ make

Some of this is overkill - I have more cleanup to do in my latest build script.

I'm building gtk+ 2.24.3 since GIMP's INSTALL references this and have tried up to 2.24.5. All give the same error.

Just wanted to check if anyone else had seen this before asking on the GTK+ list.

Thanks.

Martin Nordholts
2011-08-02 06:33:16 UTC (over 13 years ago)

prerequisites not building on F14

2011/8/2 Michael J. Hammel :

Gdk-2.0.gir: error: Type reference 'GdkPixbuf' not found

I've built and installed the prerequisites, including gdk-pixbuf, to /usr/local/gimpgit.  I've tried building gobject-introspection but that doesn't build either.  I didn't think that was required for pre-3.0 anyway (side note: should latest GIMP GIT build with 3.0?).  I was under the impression that the "gir" stuff was from the introspection stuff, but maybe not.

Is the .gir file for GdkPixbuf installed? If not, that's probably why you get the error. If you have problems building the introspection files, try passing --disable-introspection to configure for all dependencies.

And no, GIMP git master doesn't build with GTK+ 3.0, but mitch's gtk3-port branch does.

/ Martin

My GIMP Blog:
http://www.chromecode.com/
"GIMP 2.8 schedule on tasktaste.com"
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Michael J. Hammel
2011-08-02 14:30:50 UTC (over 13 years ago)

prerequisites not building on F14

On Tue, 2011-08-02 at 08:33 +0200, Martin Nordholts wrote:

2011/8/2 Michael J. Hammel :

Gdk-2.0.gir: error: Type reference 'GdkPixbuf' not found

Is the .gir file for GdkPixbuf installed? If not, that's probably why you get the error. If you have problems building the introspection files, try passing --disable-introspection to configure for all dependencies.

It appears to be:
mjhammel(tty8)$ cd /usr/local/gimpgit mjhammel(tty8)$ find . -name "*.gir" ./share/gir-1.0/Gegl-0.1.gir
./share/gir-1.0/GdkPixbuf-2.0.gir
./share/gir-1.0/Atk-1.0.gir
./share/gir-1.0/Babl-0.1.gir

I'll try building everything with the --disable-introspection option tonight. Thanks for the tip.

And no, GIMP git master doesn't build with GTK+ 3.0, but mitch's gtk3-port branch does.

Okay, I was pretty sure that was the case. I'll stick to the 2.x series for my builds then. Thanks again.