ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Marat Khayrullin <xmm@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] Нужна помощь в сборке пакета
Date: Mon, 24 Mar 2008 23:07:34 +0300
Message-ID: <200803242307.35699.xmm@altlinux.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 2784 bytes --]

Ни как не удаётся побороть странную ошибку в пакете pigment
https://core.fluendo.com/pigment/trac/ или
http://elisa.fluendo.com/static/download/pigment/pigment-0.3.5.tar.gz

Валится на этапе инсталляции, в подкаталоге 3 уровня, вот в этом месте

install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(plugindir)    <--------------- error
	@list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    f="`echo $$p | sed -e 's|^.*/||'`"; \
	    echo " $(LIBTOOL) --mode=install $(pluginLTLIBRARIES_INSTALL) 
$(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(plugindir)/$$f"; \
	    $(LIBTOOL) --mode=install $(pluginLTLIBRARIES_INSTALL) 
$(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(plugindir)/$$f; \
	  else :; fi; \
	done

почему-то не подставляется $DESTDIR
Cофт конфигуриться autoreconf и потом configure, т.е Makefile.in появляется в 
процессе. Спек приложен в аттаче (пока не допилен на предмет всех Requires & 
Provides). Не хотелось бы инсталлить этот пакет методом  make install :(

PS: Собирается в 4.0 branch'е .

make[4]: Leaving directory `/work/RPM/libpigment/BUILD/pigment-0.3.5.1/pgm'
make[3]: Leaving directory `/work/RPM/libpigment/BUILD/pigment-0.3.5.1/pgm'
make[2]: Leaving directory `/work/RPM/libpigment/BUILD/pigment-0.3.5.1/pgm'
make[1]: Leaving directory `/work/RPM/libpigment/BUILD/pigment-0.3.5.1/pgm'
Making install in plugins
make[1]: Entering directory 
`/work/RPM/libpigment/BUILD/pigment-0.3.5.1/plugins'
Making install in boilerplate
make[2]: Entering directory 
`/work/RPM/libpigment/BUILD/pigment-0.3.5.1/plugins/boilerplate'
make[3]: Entering directory 
`/work/RPM/libpigment/BUILD/pigment-0.3.5.1/plugins/boilerplate'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../build-aux/mkinstalldirs /usr/lib/pigment-0.3/0.3.5.1
mkdir -p -- /usr/lib/pigment-0.3/0.3.5.1
mkdir: cannot create directory `/usr/lib/pigment-0.3': Permission denied
make[3]: *** [install-pluginLTLIBRARIES] Error 1
make[3]: Leaving directory 
`/work/RPM/libpigment/BUILD/pigment-0.3.5.1/plugins/boilerplate'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory 
`/work/RPM/libpigment/BUILD/pigment-0.3.5.1/plugins/boilerplate'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory 
`/work/RPM/libpigment/BUILD/pigment-0.3.5.1/plugins'
make: *** [install-recursive] Error 1
make: Leaving directory `/work/RPM/libpigment/BUILD/pigment-0.3.5.1'
ошибка: Неверный код возврата из /tmp/rpm-tmp.60408 (%install)

[-- Attachment #2: libpigment.spec --]
[-- Type: text/plain, Size: 5249 bytes --]

%define _major	0.3
%define _name	pigment
%define _minor	5.1
%define _svn	svn20080320

Name: libpigment
Summary: Pigment Media Center Toolkit
License: %lgpl2plus
Group: System/Libraries
Version: %{_major}.%{_minor}
Release: alt1
Url: https://core.fluendo.com/pigment/trac/
Source: http://www.fluendo.com/elisa/downloads/pigment/%{_name}-%{_major}.%{_minor}.tar.bz2
Source2: ChangeLog-rpm.old

Requires: glib2
Requires: gstreamer >= 0.10.0
Requires: gst-plugins-base >= 0.10.0
Requires: libcairo
Requires: python-module-pygtk >= 2.8.4

BuildPreReq: rpm-build-licenses
BuildPreReq: gdk-pixbuf-devel
BuildPreReq: glib2-devel >= 2.8.0
BuildPreReq: gstreamer-devel >= 0.10.0
BuildPreReq: gst-plugins-devel >= 0.10.0
BuildPreReq: libX11-devel
BuildPreReq: libglade-devel
BuildPreReq: libpango-devel >= 1.8
BuildPreReq: python-module-pygtk-devel

# Automatically added by buildreq on Fri Mar 21 2008
BuildRequires: gcc-c++ gtk-doc libgtk+2-devel libmesa-devel valgrind

%description
Pigment is a toolkit for writing Media Center software.

Pigment is a Python library designed to easily build user
interfaces with embedded multimedia. Its design allows to use
it on several platforms, thanks to a plugin system allowing to
choose the underlying graphical API.

Pigment is the rendering engine of Elisa, the Fluendo Media Center
project.

This package contains the shared libraries for Pigment.

%package -n devel
Summary: Libraries/include files for Pigment
Group: Development/C++
Requires: %name = %version
#aRequires: glib2-devel
#aRequires: gstreamer010-devel
#aRequires: gstreamer010-plugins-base-devel
#aRequires: python-devel
#aRequires: python-gobject2-devel
#aRequires: python-gtk-devel >= 2.8.4
#Provides: libpigment-devel = 0.3.2
#aObsoletes: pigment-devel <= 0.3.2

%description -n devel
Pigment is a toolkit for writing Media Center software.

This package contains the libraries and includes files necessary
to develop applications and plugins using Pigment.

%package -n gtk
Summary: Shared libraries for Pigment
Group: System/Libraries
#aProvides: libpigment-gtk3 = 0.3.4.3
#aObsoletes: libpigment-gtk3 <= 0.3.4.3

%description -n gtk
Pigment is a toolkit for writing Media Center software.

Pigment is a Python library designed to easily build user
interfaces with embedded multimedia. Its design allows to use
it on several platforms, thanks to a plugin system allowing to
choose the underlying graphical API.

This package contains the shared libraries for Pigment.

%package -n gtk-devel
Summary: Libraries/include files for Pigment
Group: Development/GNOME and GTK+
Requires: libpigment-gtk = %version
#Requires: gtk2-devel

%description -n gtk-devel
Pigment is a toolkit for writing Media Center software.

This package contains the libraries and includes files necessary
to develop applications and plugins using Pigment.

%package -n doc
Summary: Documentation for Pigment
Group: Development/Documentation

%description -n doc
Documentation for Pigment.

%package -n plugin-opengl
Summary: OpenGL plugin for Pigment
Group: System/Libraries
#aRequires: gstreamer010
#aRequires: gstreamer010-plugins-base
#aRequires: %name = %version

%description -n plugin-opengl
Pigment is a toolkit for writing Media Center software.

Pigment is a Python library designed to easily build user
interfaces with embedded multimedia. Its design allows to use
it on several platforms, thanks to a plugin system allowing to
choose the underlying graphical API.

This package contains the OpenGL plugin for Pigment.

%package -n plugin
Summary: Plugins for Pigment
Group: System/Libraries
#aRequires: gstreamer010
#aRequires: %name = %version

%description -n plugin
Pigment is a toolkit for writing Media Center software.

Pigment is a Python library designed to easily build user
interfaces with embedded multimedia. Its design allows to use
it on several platforms, thanks to a plugin system allowing to
choose the underlying graphical API.

This package contains some plugins for Pigment.

%prep
%setup -q -n %_name-%version

install -p -m644 %SOURCE2 .

%build
gtkdocize
autoreconf -v --install
#__autoreconf
#undefine _configure_target
%configure \
  --enable-gtk-doc \
  --disable-static

%make_build

%{__make} check

%install
#{__make} install DESTDIR=%{buildroot}
%makeinstall \
	docdir="`pwd`/installed-doc"

find %{buildroot} -name '*.la' -exec rm -f {} \;

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%doc AUTHORS ChangeLog ChangeLog-rpm.old COPYING README TODO
%_libdir/%name-%_major.so.*

%files -n devel
%dir %_includedir/%_name-%_major
%_includedir/%_name-%_major/pgm/*.h
%_libdir/%name-%_major.so
%_libdir/pkgconfig/%_name-%_major.pc
%_datadir/gtk-doc/html/%_name

%files -n doc
%doc docs/pgm/html/*

%files -n plugin-opengl
%dir %_libdir/%_name-%_major
%_libdir/%_name-%_major/%version/libpgmopengl.so

%files -n plugin
%dir %_libdir/%_name-%_major
%_libdir/%_name-%_major/%version/libpgmboilerplate.so

%files -n gtk
%_libdir/libpigment-gtk-%_major.so.*

%files -n gtk-devel
%_includedir/%_name-%_major/pgm/gtk/pgmgtk.h
%_libdir/%name-gtk-%_major.so
%_libdir/pkgconfig/pigment-gtk-%_major.pc

#exclude %_libdir/%_name/*/*.la

%changelog
* Fri Mar 21 2008 Marat Khairullin <xmm@altlinux.ru> 0.3.5-alt0.1
- initial build


[-- Attachment #3: ./Makefile.am --]
[-- Type: text/x-makefile, Size: 444 bytes --]

DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc

ACLOCAL_AMFLAGS = -I common/m4

SUBDIRS = \
	pgm \
	plugins \
	tests \
	examples \
	docs \
	pkgconfig \
	misc \
	win32

MAINTAINERCLEANFILES = \
	build-aux/compile \
	build-aux/config.guess \
	build-aux/config.sub \
	build-aux/depcomp \
	build-aux/install-sh \
	build-aux/ltmain.sh \
	build-aux/missing \
	Makefile.in \
	config.h.in \
	configure

EXTRA_DIST = \
	pigment.spec \
	COPYING \
	RELEASE

[-- Attachment #4: ./plugins/Makefile.am --]
[-- Type: text/x-makefile, Size: 181 bytes --]

if USE_OPENGL
OPENGL_DIR=opengl
else
OPENGL_DIR=
endif

if USE_OPENGLES
OPENGLES_DIR=opengles
else
OPENGLES_DIR=
endif

SUBDIRS = \
	boilerplate \
	$(OPENGL_DIR) \
	$(OPENGLES_DIR)

[-- Attachment #5: ./plugins/boilerplate/Makefile.am --]
[-- Type: text/x-makefile, Size: 589 bytes --]

plugindir = @PLUGIN_PATH@
plugin_LTLIBRARIES = libpgmboilerplate.la

libpgmboilerplate_la_DEPENDENCIES = $(top_builddir)/pgm/libpigment-@PGM_MAJORMINOR@.la
libpgmboilerplate_la_SOURCES = \
	pgmbp.c \
	pgmbpviewport.c

libpgmboilerplate_la_CFLAGS = $(PGM_OBJ_CFLAGS)
libpgmboilerplate_la_LIBADD = $(PGM_OBJ_LIBS)
libpgmboilerplate_la_LDFLAGS = $(PGM_PLUGIN_LDFLAGS)

noinst_HEADERS = pgmbpviewport.h

CLEANFILES = \
	*.gcno \
	*.gcda \
	*.gcov \
	*.gcov.out

%.c.gcov: .libs/libpgmboilerplate_la-%.gcda %.c
	LANG=C $(GCOV) -b -f -o $^ > $@.out

gcov: $(libpgmboilerplate_la_SOURCES:=.gcov)

             reply	other threads:[~2008-03-24 20:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24 20:07 Marat Khayrullin [this message]
2008-03-24 20:13 ` Andrey Rahmatullin
2008-03-24 20:14 ` Alexey Tourbin
2008-03-24 20:40   ` Marat Khayrullin
2008-03-24 20:45     ` Marat Khayrullin
2008-03-24 20:51       ` Igor Zubkov
2008-03-24 21:07         ` Marat Khayrullin
2008-03-24 21:18           ` Dmitry V. Levin
2008-03-24 21:23           ` Igor Zubkov
2008-03-25  0:53             ` Marat Khayrullin
2008-03-24 20:53       ` Led
2008-03-24 21:06         ` Marat Khayrullin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200803242307.35699.xmm@altlinux.ru \
    --to=xmm@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git