Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] xfce4-panel-9999 emerge problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Aarin
n00b
n00b


Joined: 27 Dec 2008
Posts: 21
Location: Portugal

PostPosted: Fri Dec 10, 2010 5:14 pm    Post subject: [SOLVED] xfce4-panel-9999 emerge problem Reply with quote

When I try to emerge xfce4-panel-9999 I'm given the following error:

/var/tmp/portage/xfce-base/xfce4-panel-9999/temp/build.log wrote:

* Package: xfce-base/xfce4-panel-9999
* Repository: xfce-dev
* Maintainer: xfce@gentoo.org
* USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
* GIT update -->
* repository: git://git.xfce.org/xfce/xfce4-panel
* at the commit: 9e61e6c1aae037ae796a694c53cd72ca950fab97
* branch: master
* storage directory: "/usr/portage/distfiles/git-src/xfce4-panel"
Cloning into /var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999...
done.
>>> Unpacked to /var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999
>>> Source unpacked in /var/tmp/portage/xfce-base/xfce4-panel-9999/work
>>> Preparing source in /var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999 ...
* Running eautoreconf in '/var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999' ...
* Running aclocal -I /usr/share/xfce4/dev-tools/m4macros ... [ ok ]
* Running libtoolize --copy --force --install --automake ... [ ok ]
* Running aclocal -I /usr/share/xfce4/dev-tools/m4macros ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ !! ]

* Failed Running automake !
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/xfce-base/xfce4-panel-9999/temp/automake.out

* ERROR: xfce-base/xfce4-panel-9999 failed:
* Failed Running automake !
*
* Call stack:
* ebuild.sh, line 56: Called src_prepare
* environment, line 3323: Called xfce4_src_prepare
* environment, line 3987: Called eautoreconf
* environment, line 954: Called eautomake
* environment, line 923: Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign'
* environment, line 429: Called die
* The specific snippet of code:
* die "Failed Running $1 !";
*
* If you need support, post the output of 'emerge --info =xfce-base/xfce4-panel-9999',
* the complete build log and the output of 'emerge -pqv =xfce-base/xfce4-panel-9999'.
* This ebuild used the following eclasses from overlays:
* /var/lib/layman/xfce-dev/eclass/xfce4.eclass
* This ebuild is from an overlay named 'xfce-dev': '/var/lib/layman/xfce-dev/'
* The complete build log is located at '/var/tmp/portage/xfce-base/xfce4-panel-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/xfce-base/xfce4-panel-9999/temp/environment'.
* S: '/var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999'



Here's my uname -a and portage --version:
emerge --version wrote:
Portage 2.1.9.25 (default/linux/amd64/10.0/desktop, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-zen1 x86_64)

eix automake wrote:
sys-devel/automake
Available versions:
(1.4) 1.4_p6-r1
(1.5) 1.5-r1
(1.6) 1.6.3-r1
(1.7) 1.7.9-r2
(1.8) 1.8.5-r4
(1.9) 1.9.6-r3
(1.10) 1.10.3
(1.11) 1.11.1
(9999) **9999
Installed versions: 1.9.6-r3(1.9)(07:13:53 AM 10/01/2010) 1.10.3(1.10)(07:13:05 AM 10/01/2010) 1.11.1(1.11)(03:21:40 AM 10/01/2010)
Homepage: http://sources.redhat.com/automake/
Description: Used to generate Makefile.in from Makefile.am


any idea about solutions for the problem?


Last edited by Aarin on Mon Dec 13, 2010 10:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Fri Dec 10, 2010 9:09 pm    Post subject: Reply with quote

Aarin

ok this is an educated guess.. Go into the directory /var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999,
run automake yourself.


run # automake --add-missing and automake --copy and automake --foreign.

Hopefully one or two will not complain, and at least one will. My guess is it's --add-missing .
_________________
idella4@aus
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43560
Location: 56N 3W

PostPosted: Fri Dec 10, 2010 9:13 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.

-9999 ebuilds are not officially supported as they pull from the up to the second upstream repositories
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Aarin
n00b
n00b


Joined: 27 Dec 2008
Posts: 21
Location: Portugal

PostPosted: Sat Dec 11, 2010 12:43 pm    Post subject: Reply with quote

Here's the output of the 3 of them

automake --add-missing wrote:
configure.ac:165: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:10871: XDT_SUPPORTED_FLAGS is expanded from...
aclocal.m4:10891: XDT_FEATURE_DEBUG is expanded from...
configure.ac:165: the top level
configure.ac:182: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
configure.ac:182: the top level
configure.ac:209: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:10871: XDT_SUPPORTED_FLAGS is expanded from...
configure.ac:209: the top level
docs/references/Makefile.am:65: `%'-style pattern rules are a GNU make extension
Makefile.am: installing `./INSTALL'
configure.ac:225: required file `docs/manual/Makefile.in' not found
configure.ac:225: required file `docs/manual/figures/Makefile.in' not found
configure.ac:225: required file `docs/manual/po/Makefile.in' not found



automake --copy wrote:
configure.ac:165: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:10871: XDT_SUPPORTED_FLAGS is expanded from...
aclocal.m4:10891: XDT_FEATURE_DEBUG is expanded from...
configure.ac:165: the top level
configure.ac:182: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
configure.ac:182: the top level
configure.ac:209: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:10871: XDT_SUPPORTED_FLAGS is expanded from...
configure.ac:209: the top level
docs/references/Makefile.am:65: `%'-style pattern rules are a GNU make extension
configure.ac:225: required file `docs/manual/Makefile.in' not found
configure.ac:225: required file `docs/manual/figures/Makefile.in' not found
configure.ac:225: required file `docs/manual/po/Makefile.in' not found


automake --foreign wrote:
configure.ac:165: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:10871: XDT_SUPPORTED_FLAGS is expanded from...
aclocal.m4:10891: XDT_FEATURE_DEBUG is expanded from...
configure.ac:165: the top level
configure.ac:182: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
configure.ac:182: the top level
configure.ac:209: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:10871: XDT_SUPPORTED_FLAGS is expanded from...
configure.ac:209: the top level
configure.ac:225: required file `docs/manual/Makefile.in' not found
configure.ac:225: required file `docs/manual/figures/Makefile.in' not found
configure.ac:225: required file `docs/manual/po/Makefile.in' not found


For all I'm seeing I suspect the 3 of them are failling...
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4209
Location: Dallas area

PostPosted: Sat Dec 11, 2010 3:31 pm    Post subject: Reply with quote

If you go look when it fails you will find no files under the docs/manual directory.

It did that for the last month or so that I tried to update the xfce development version.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Aarin
n00b
n00b


Joined: 27 Dec 2008
Posts: 21
Location: Portugal

PostPosted: Sun Dec 12, 2010 9:01 pm    Post subject: Reply with quote

and there's nothing to do about it? it's kind of silly to fail the emerge just because you aren't able to compile the manuals of the xfce-panel...
Back to top
View user's profile Send private message
martindiv
n00b
n00b


Joined: 17 Oct 2009
Posts: 7

PostPosted: Mon Dec 13, 2010 10:28 am    Post subject: Reply with quote

Aarin wrote:
and there's nothing to do about it? it's kind of silly to fail the emerge just because you aren't able to compile the manuals of the xfce-panel...


I did some head-scratching on this and finally managed to get the panel installed. I'll provide the solution here, but it's not pretty.

The problem is that xfce4-panel doesn't have any documentation in the GIT repository. At least, emerge isn't downloading it. Not sure which. In order to "fix" this we need to disable building the documentation in the build.

One important note: The instructions here modify the ebuild installed by layman. You should really copy the ebuild file to your own overlay or the changes will get overwritten the next time you sync with layman.

First we need to create files direcory in the tree.

Code:
cd /var/lib/layman/xfce-dev/xfce-base/xfce4-panel
mkdir files


Stay in this directory as the rest of the work done here is from this directory.

Next. create the file files/documentation.patch with your favorite text editor and add the following to it:

Code:
--- configure.ac.in.orig   2010-12-12 22:24:59.000000000 -0500
+++ configure.ac.in   2010-12-12 22:25:55.000000000 -0500
@@ -227,10 +227,6 @@
 AC_OUTPUT([
 Makefile
 common/Makefile
-docs/Makefile
-docs/manual/Makefile
-docs/manual/figures/Makefile
-docs/manual/po/Makefile
 docs/references/Makefile
 docs/references/version.xml
 icons/Makefile
--- Makefile.am.orig   2010-12-13 02:24:15.000000000 -0500
+++ Makefile.am   2010-12-13 02:25:00.000000000 -0500
@@ -6,7 +6,6 @@
    plugins \
    wrapper \
    migrate \
-   docs \
    icons \
    po


Now, edit the xfce4-panel-9999.ebuild file and add the following to the end:

Code:
src_prepare() {
   epatch "${FILESDIR}"/documentation.patch
   xfce4_src_prepare
}


Rebuild the ebuild manifest with:

Code:
ebuild xfce4-panel-9999.ebuild manifest


Finally, resume your install.
Back to top
View user's profile Send private message
Aarin
n00b
n00b


Joined: 27 Dec 2008
Posts: 21
Location: Portugal

PostPosted: Mon Dec 13, 2010 12:25 pm    Post subject: Reply with quote

tks a lot for the help.

I tried like you said and when trying to emerge the xfce4-panel I an error. Portage says to read this file:

/var/tmp/portage/xfce-base/xfce4-panel-9999/temp/documentation.patch.out wrote:
***** documentation.patch *****

===============================

PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/var/lib/layman/xfce-dev/xfce-base/xfce4-panel/files/documentation.patch'

===============================
patching file configure.ac.in
Hunk #1 FAILED at 227.
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.in.rej
patching file Makefile.am
Hunk #1 FAILED at 6.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej
===============================

PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/var/lib/layman/xfce-dev/xfce-base/xfce4-panel/files/documentation.patch'

===============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.ac.in.orig 2010-12-12 22:24:59.000000000 -0500
|+++ configure.ac.in 2010-12-12 22:25:55.000000000 -0500
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.am.orig 2010-12-13 02:24:15.000000000 -0500
|+++ Makefile.am 2010-12-13 02:25:00.000000000 -0500
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
===============================

PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < '/var/lib/layman/xfce-dev/xfce-base/xfce4-panel/files/documentation.patch'

===============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.ac.in.orig 2010-12-12 22:24:59.000000000 -0500
|+++ configure.ac.in 2010-12-12 22:25:55.000000000 -0500
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.am.orig 2010-12-13 02:24:15.000000000 -0500
|+++ Makefile.am 2010-12-13 02:25:00.000000000 -0500
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
===============================

PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < '/var/lib/layman/xfce-dev/xfce-base/xfce4-panel/files/documentation.patch'

===============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.ac.in.orig 2010-12-12 22:24:59.000000000 -0500
|+++ configure.ac.in 2010-12-12 22:25:55.000000000 -0500
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.am.orig 2010-12-13 02:24:15.000000000 -0500
|+++ Makefile.am 2010-12-13 02:25:00.000000000 -0500
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
===============================

PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < '/var/lib/layman/xfce-dev/xfce-base/xfce4-panel/files/documentation.patch'

===============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.ac.in.orig 2010-12-12 22:24:59.000000000 -0500
|+++ configure.ac.in 2010-12-12 22:25:55.000000000 -0500
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.am.orig 2010-12-13 02:24:15.000000000 -0500
|+++ Makefile.am 2010-12-13 02:25:00.000000000 -0500
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Back to top
View user's profile Send private message
martindiv
n00b
n00b


Joined: 17 Oct 2009
Posts: 7

PostPosted: Mon Dec 13, 2010 1:18 pm    Post subject: Reply with quote

What's the contents of /var/tmp/portage/xfce-base/xfce4-panel-9999/temp/build.log?
Back to top
View user's profile Send private message
Aarin
n00b
n00b


Joined: 27 Dec 2008
Posts: 21
Location: Portugal

PostPosted: Mon Dec 13, 2010 2:19 pm    Post subject: Reply with quote

here it is
build.log wrote:
* Package: xfce-base/xfce4-panel-9999
* Repository: xfce-dev
* Maintainer: xfce@gentoo.org
* USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
* GIT update -->
* repository: git://git.xfce.org/xfce/xfce4-panel
* at the commit: c0a856164936e7a7f8a7dcd3ee35f4eacd9e6338
* branch: master
* storage directory: "/usr/portage/distfiles/git-src/xfce4-panel"
Cloning into /var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999...
done.
>>> Unpacked to /var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999
>>> Source unpacked in /var/tmp/portage/xfce-base/xfce4-panel-9999/work
>>> Preparing source in /var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999 ...
* Applying documentation.patch ...

* Failed Patch: documentation.patch !
* ( /var/lib/layman/xfce-dev/xfce-base/xfce4-panel/files/documentation.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/xfce-base/xfce4-panel-9999/temp/documentation.patch.out

* ERROR: xfce-base/xfce4-panel-9999 failed:
* Failed Patch: documentation.patch!
*
* Call stack:
* ebuild.sh, line 56: Called src_prepare
* environment, line 3324: Called epatch '/var/lib/layman/xfce-dev/xfce-base/xfce4-panel/files/documentation.patch'
* environment, line 1750: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
*
* If you need support, post the output of 'emerge --info =xfce-base/xfce4-panel-9999',
* the complete build log and the output of 'emerge -pqv =xfce-base/xfce4-panel-9999'.
* This ebuild used the following eclasses from overlays:
* /var/lib/layman/xfce-dev/eclass/xfce4.eclass
* This ebuild is from an overlay named 'xfce-dev': '/var/lib/layman/xfce-dev/'
* The complete build log is located at '/var/tmp/portage/xfce-base/xfce4-panel-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/xfce-base/xfce4-panel-9999/temp/environment'.
* S: '/var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999'


PS: if you could also explain how to put the xfce4-panel build in my own overlay I would apreciate ;)
Back to top
View user's profile Send private message
martindiv
n00b
n00b


Joined: 17 Oct 2009
Posts: 7

PostPosted: Mon Dec 13, 2010 2:51 pm    Post subject: Reply with quote

First, I need you to run the following:

Code:
cd /var/lib/layman/xfce-dev/xfce-base/xfce4-panel
ebuild xfce4-panel-9999.ebuild clean
ebuild xfce4-panel-9999.ebuild unpack

Then check the /var/tmp/portage/xfce-base/xfce4-panel/work/xfce4-panel-9999 directory to see if the files configure.ac.in and Makefile.am exist. If they don't then there's something wrong with what you are getting from GIT. I would recommend removing the contents of /usr/portage/distfiles/git-src and trying again. If they do exist you can try removing the lines from the two files manually (4 lines from configure.ac.in and 1 line from Makefile.am), returning to the ebuild directory and continuing to install the package with:

Code:
ebuild xfce4-panel-9999.ebuild qmerge


As for copying the ebuild files to your own overlay: You do have your own overlay, right? If not, the handbook has instructions on creating one. Where you deviate from the instructions is to keep in mind that the order of overlays is important to emerge and portage. This is what I have in my /etc/make.conf for overlays:

Code:
# Layman configuration
source /var/lib/layman/make.conf

# Custom ebuilds (I want my overlays to superseed layman's)
PORTDIR_OVERLAY="/usr/local/portage/g-cpan /usr/local/portage/custom ${PORTDIR_OVERLAY}"


At this point, you just need to copy /var/lib/layman/xfce-dev/xfce-base/xfce4-panel/ to /usr/local/portage/custom/xfce-base/xfce4-panel/ creating any directories as necessary.
Back to top
View user's profile Send private message
Aarin
n00b
n00b


Joined: 27 Dec 2008
Posts: 21
Location: Portugal

PostPosted: Mon Dec 13, 2010 3:08 pm    Post subject: Reply with quote

Regarding configure.ac.in and Makefile.am, they both exist, but i'm not getting what lines to delete.

Here's the content of both files:
Makefile.am wrote:

SUBDIRS = \
libxfce4panel \
common \
panel \
plugins \
wrapper \
migrate \
docs \
icons \
po

distclean-local:
rm -rf *.spec *.cache *~

rpm: dist
rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
@rm -f $(PACKAGE)-$(VERSION).tar.gz

desktopdir = $(datadir)/applications
desktop_in_files = \
panel-desktop-handler.desktop.in \
panel-preferences.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

.PHONY: ChangeLog

ChangeLog: Makefile
(GIT_DIR=$(top_srcdir)/.git git log xfce-4.6-master..HEAD > .changelog.tmp \
&& mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) \
|| (touch ChangeLog; echo 'Git directory not found: installing possibly empty changelog.' >&2)

dist-hook: ChangeLog

EXTRA_DIST = \
$(desktop_in_files) \
intltool-extract.in \
intltool-merge.in \
intltool-update.in

DISTCLEANFILES = \
$(desktop_DATA) \
intltool-extract \
intltool-merge \
intltool-update \
intltool-update-tmp

DISTCHECK_CONFIGURE_FLAGS = \
--enable-gtk-doc \
--enable-gen-doc

# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:

configure.ac.in wrote:
dnl
dnl Copyright (c) 2004 - 2008 The Xfce development team
dnl
dnl 2005-2007 Jasper Huijsmans <jasper@xfce.org>
dnl 2006-2008 Nick Schermer <nick@xfce.org>
dnl

dnl ***************************
dnl *** Version information ***
dnl ***************************
m4_define([libxfce4panel_verinfo], [3:0:0]) dnl current:revision:age
m4_define([libxfce4panel_version_api], [1.0])
m4_define([xfce4_panel_version_major], [4])
m4_define([xfce4_panel_version_minor], [7])
m4_define([xfce4_panel_version_micro], [6])
m4_define([xfce4_panel_version_nano], []) dnl leave this empty to have no nano version
m4_define([xfce4_panel_version_build], [@REVISION@])
m4_define([xfce4_panel_version_tag], [git])
m4_define([xfce4_panel_version], [xfce4_panel_version_major().xfce4_panel_version_minor().xfce4_panel_version_micro()ifelse(xfce4_panel_version_nano(), [], [], [.xfce4_panel_version_nano()])ifelse(xfce4_panel_version_tag(), [git], [xfce4_panel_version_tag()-xfce4_panel_version_build()], [xfce4_panel_version_tag()])])

dnl *******************************************
dnl *** Debugging support for GIT snapshots ***
dnl *******************************************
m4_define([panel_debug_default], [ifelse(xfce4_panel_version_tag(), [git], [yes], [minimum])])

dnl ***************************
dnl *** Initialize autoconf ***
dnl ***************************
AC_COPYRIGHT([Copyright (c) 2002 - 2010
The Xfce development team. All rights reserved.

Written for Xfce by Jasper Huijsmans <jasper@xfce.org>
and Nick Schermer <nick@xfce.org>.])
AC_INIT([xfce4-panel], [xfce4_panel_version], [http://bugzilla.xfce.org/], [xfce4-panel])
AC_PREREQ([2.50])
AC_REVISION([xfce4_panel_version_build])

dnl ***************************
dnl *** Initialize automake ***
dnl ***************************
AM_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE([1.8 no-dist-gzip dist-bzip2 tar-ustar])
AM_MAINTAINER_MODE()
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

dnl *******************************
dnl *** Check for UNIX variants ***
dnl *******************************
AC_AIX()
AC_ISC_POSIX()

dnl ********************************
dnl *** Check for basic programs ***
dnl ********************************
AC_PROG_CC()
AM_PROG_CC_C_O()
AC_PROG_LD()
AC_PROG_INSTALL()
AC_PROG_INTLTOOL()
AC_PROG_LIBTOOL()

dnl **************************
dnl *** Initialize libtool ***
dnl **************************
AC_DISABLE_STATIC()
AC_PROG_LIBTOOL()
AC_CHECK_PROGS([PERL], [perl5 perl])

dnl **************************************
dnl *** Substitute version information ***
dnl **************************************
LIBXFCE4PANEL_VERINFO=libxfce4panel_verinfo()
AC_SUBST([LIBXFCE4PANEL_VERINFO])

dnl **************************
dnl *** Substitute version ***
dnl **************************
LIBXFCE4PANEL_VERSION=xfce4_panel_version()
LIBXFCE4PANEL_VERSION_API=libxfce4panel_version_api()
LIBXFCE4PANEL_VERSION_MAJOR=xfce4_panel_version_major()
LIBXFCE4PANEL_VERSION_MINOR=xfce4_panel_version_minor()
LIBXFCE4PANEL_VERSION_MICRO=xfce4_panel_version_micro()
AC_SUBST([LIBXFCE4PANEL_VERSION])
AC_SUBST([LIBXFCE4PANEL_VERSION_API])
AC_SUBST([LIBXFCE4PANEL_VERSION_MAJOR])
AC_SUBST([LIBXFCE4PANEL_VERSION_MINOR])
AC_SUBST([LIBXFCE4PANEL_VERSION_MICRO])

dnl **********************************
dnl *** Check for standard headers ***
dnl **********************************
AC_HEADER_STDC()
AC_CHECK_HEADERS([stdlib.h unistd.h locale.h stdio.h errno.h time.h string.h \
math.h sys/types.h sys/wait.h memory.h signal.h sys/prctl.h \
libintl.h])
AC_CHECK_FUNCS([bind_textdomain_codeset])

dnl ******************************
dnl *** Check for i18n support ***
dnl ******************************
XDT_I18N([@LINGUAS@])

dnl *******************************
dnl *** Check for X11 installed ***
dnl *******************************
XDT_CHECK_LIBX11_REQUIRE()

dnl ***********************************
dnl *** Check for required packages ***
dnl ***********************************
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.6.0])
XDT_CHECK_PACKAGE([GARCON], [garcon-1], [0.1.4])
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.7.1])
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.7.2])
XDT_CHECK_PACKAGE([EXO], [exo-1], [0.5.1])
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.14.0])
XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.18.0])
XDT_CHECK_PACKAGE([GIO], [gio-2.0], [2.18.0])
XDT_CHECK_PACKAGE([GMODULE], [gmodule-2.0], [2.18.0])
XDT_CHECK_PACKAGE([DBUS], [dbus-glib-1], [0.73])
XDT_CHECK_PACKAGE([CAIRO], [cairo], [1.0.0])
XDT_CHECK_PACKAGE([LIBWNCK], [libwnck-1.0], [2.22])

dnl **********************************
dnl *** Optional GIO UNIX features ***
dnl **********************************
XDT_CHECK_OPTIONAL_PACKAGE([GIO_UNIX], [gio-unix-2.0],
[2.18.0], [gio-unix], [GIO UNIX features])

dnl ***************************************************
dnl *** Check if we need to build the documentation ***
dnl ***************************************************
AC_ARG_ENABLE([gen-doc], [AC_HELP_STRING([--enable-gen-doc],
[Generate HTML documentation (requires gnome-doc-utils) [default=no]])],,
[enable_gen_doc=no])
if test x"$enable_gen_doc" = x"yes"; then
XDT_CHECK_PACKAGE([GNOME_DOC_UTILS], [gnome-doc-utils], [0.19.2],
[
AC_PATH_PROG([XML2PO], [xml2po], [no])
if test x"$XML2PO" = x"no"; then
enable_gen_doc=no
fi

AC_PATH_PROG([GNOME_DOC_TOOL], [gnome-doc-tool], [no])
if test x"$GNOME_DOC_TOOL" = x"no"; then
enable_gen_doc=no
fi
],
[
enable_gen_doc=no
])

if test x"$enable_gen_doc" = x"no"; then
AC_MSG_ERROR([Compiling with --enable-gen-doc but no suitable gnome-doc-utils found.])
fi
fi
AM_CONDITIONAL([GENERATE_DOCUMENTATION], [test x"$enable_gen_doc" = x"yes"])

dnl *************************
dnl *** Check for gtk-doc ***
dnl *************************
GTK_DOC_CHECK([1.9])

dnl ***********************************
dnl *** Check for debugging support ***
dnl ***********************************
XDT_FEATURE_DEBUG([panel_debug_default])

dnl **************************************
dnl *** Check for linker optimizations ***
dnl **************************************
XDT_FEATURE_LINKER_OPTS()

dnl ****************************************
dnl *** Check for ELF visibility support ***
dnl ****************************************
AC_ARG_ENABLE([visibility], AC_HELP_STRING([--disable-visibility], [Do not use ELF visibility attributes]), [], [enable_visibility=yes])
have_gnuc_visibility=no
if test x"$enable_visibility" != x"no"; then
dnl Check whether the compiler supports the visibility attribute
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wall -Werror"
AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
AC_COMPILE_IFELSE(AC_LANG_SOURCE(
[
void test_default (void);
void test_hidden (void);

void __attribute__ ((visibility("default"))) test_default (void) {}
void __attribute__ ((visibility("hidden"))) test_hidden (void) {}

int main (int argc, char **argv) { test_default (); test_hidden (); return 0; }
]),
[
have_gnuc_visibility=yes
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no])
])
CFLAGS="$save_CFLAGS"
fi
if test x"$have_gnuc_visibility" = x"yes"; then
CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
fi
AM_CONDITIONAL([HAVE_GNUC_VISIBILITY], [test x"$have_gnuc_visibility" = x"yes"])

dnl *************************************
dnl *** Compensate for broken gtk-doc ***
dnl *************************************
XDT_SUPPORTED_FLAGS([GTK_DOC_EXTRA_CFLAGS], [-Wno-sign-compare])
AC_SUBST([GTK_DOC_EXTRA_CFLAGS])

dnl *********************************
dnl *** Substitute platform flags ***
dnl *********************************
AC_MSG_CHECKING([PLATFORM_CPPFLAGS])
AC_MSG_RESULT([$PLATFORM_CPPFLAGS])
AC_SUBST([PLATFORM_CPPFLAGS])
AC_MSG_CHECKING([PLATFORM_CFLAGS])
AC_MSG_RESULT([$PLATFORM_CFLAGS])
AC_SUBST([PLATFORM_CFLAGS])
AC_MSG_CHECKING([PLATFORM_LDFLAGS])
AC_MSG_RESULT([$PLATFORM_LDFLAGS])
AC_SUBST([PLATFORM_LDFLAGS])

AC_OUTPUT([
Makefile
common/Makefile
docs/Makefile
docs/manual/Makefile
docs/manual/figures/Makefile
docs/manual/po/Makefile
docs/references/Makefile
docs/references/version.xml
icons/Makefile
icons/16x16/Makefile
icons/22x22/Makefile
icons/24x24/Makefile
icons/32x32/Makefile
icons/48x48/Makefile
icons/scalable/Makefile
libxfce4panel/Makefile
libxfce4panel/libxfce4panel-1.0.pc
libxfce4panel/libxfce4panel-config.h
migrate/Makefile
panel/Makefile
wrapper/Makefile
plugins/Makefile
plugins/actions/Makefile
plugins/applicationsmenu/Makefile
plugins/clock/Makefile
plugins/directorymenu/Makefile
plugins/launcher/Makefile
plugins/pager/Makefile
plugins/separator/Makefile
plugins/showdesktop/Makefile
plugins/systray/Makefile
plugins/tasklist/Makefile
plugins/windowmenu/Makefile
po/Makefile.in
])

dnl ***************************
dnl *** Print configuration ***
dnl ***************************
echo
echo "Build Configuration:"
echo
echo "* Debug Support: $enable_debug"
echo "* GNU Visibility: $have_gnuc_visibility"
if test x"$enable_gen_doc" = x"yes"; then
echo "* Documentation: yes (generate)"
elif test -d "${srcdir}/docs/manual/html"; then
echo "* Documentation: yes (in tarball)"
else
echo "* Documentation: no"
fi
echo


Regarding the overlay, is THIS the handbook entry you refered?
Back to top
View user's profile Send private message
martindiv
n00b
n00b


Joined: 17 Oct 2009
Posts: 7

PostPosted: Mon Dec 13, 2010 3:30 pm    Post subject: Reply with quote

In Makefile.am remove the line:

Code:
docs \


under SUBIRS=\

In configure.ac.in remove the lines:

Code:
docs/Makefile
docs/manual/Makefile
docs/manual/figures/Makefile
docs/manual/po/Makefile


after the AC_OUTPUT([ line

As for creating your own overlay, short answer:

Code:
mkdir -p /usr/local/portage/custom/profiles
echo 'some-string' > /usr/local/portage/custom/profiles/repo_name


Where some-string is the name you want to give the overlay. The name can not have any spaces in it and can be a maximum of 32 characters

Then add the /usr/local/portage/custom directory to the PORTDIR_OVERLAY variable in /etc/make.conf as shown in my previous post. It's important to do it that way since /var/lib/layman/make.conf clobbers PORTDIR_OVERLAY.
Back to top
View user's profile Send private message
Aarin
n00b
n00b


Joined: 27 Dec 2008
Posts: 21
Location: Portugal

PostPosted: Mon Dec 13, 2010 3:52 pm    Post subject: Reply with quote

Tks for all the help ;)

done what you said about the overlay, going to test it later on.

Regarding the xfce4-panel, I've deleted the lines in question, and ran the qmerge line and got this:
ebuild xfce4-panel-9999.ebuild qmerge wrote:
>>> Existing ${T}/environment for 'xfce4-panel-9999' will be sourced. Run
>>> 'clean' to start with a fresh environment.
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
!!! mydo=qmerge, but the install phase has not been run


since it said the install phase was not ran, I've done a "ebuild xfce4-panel-9999.ebuild install"

and got this:
ebuild xfce4-panel-9999.ebuild install wrote:
>>> Existing ${T}/environment for 'xfce4-panel-9999' will be sourced. Run
>>> 'clean' to start with a fresh environment.
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Package: xfce-base/xfce4-panel-9999
* Repository: xfce-dev
* Maintainer: xfce@gentoo.org
* USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> It appears that 'xfce4-panel-9999' is already setup; skipping.
>>> Remove '/var/tmp/portage/xfce-base/xfce4-panel-9999/.setuped' to force setup.
>>> WORKDIR is up-to-date, keeping...
>>> Preparing source in /var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999 ...
* Applying documentation.patch ...

* Failed Patch: documentation.patch !
* ( /var/lib/layman/xfce-dev/xfce-base/xfce4-panel/files/documentation.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/xfce-base/xfce4-panel-9999/temp/documentation.patch.out

* ERROR: xfce-base/xfce4-panel-9999 failed:
* Failed Patch: documentation.patch!
*
* Call stack:
* ebuild.sh, line 56: Called src_prepare
* environment, line 3339: Called epatch '/var/lib/layman/xfce-dev/xfce-base/xfce4-panel/files/documentation.patch'
* environment, line 1765: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
*
* If you need support, post the output of 'emerge --info =xfce-base/xfce4-panel-9999',
* the complete build log and the output of 'emerge -pqv =xfce-base/xfce4-panel-9999'.
* This ebuild used the following eclasses from overlays:
* /var/lib/layman/xfce-dev/eclass/xfce4.eclass
* This ebuild is from an overlay named 'xfce-dev': '/var/lib/layman/xfce-dev/'
* The complete build log is located at '/var/tmp/portage/xfce-base/xfce4-panel-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/xfce-base/xfce4-panel-9999/temp/environment'.
* S: '/var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999'
Back to top
View user's profile Send private message
martindiv
n00b
n00b


Joined: 17 Oct 2009
Posts: 7

PostPosted: Mon Dec 13, 2010 6:43 pm    Post subject: Reply with quote

Since you have done the changes manually you will need to revert your changes to the ebuild file. Just remove the entire src_prepare() section and rebuild the manifest.
Back to top
View user's profile Send private message
martindiv
n00b
n00b


Joined: 17 Oct 2009
Posts: 7

PostPosted: Mon Dec 13, 2010 6:47 pm    Post subject: Reply with quote

Let me explain a little better.

Remove the src_prepare() section from the ebuild file.

Rebuild the ebuild manifest with:

Code:
ebuild xfce4-panel-9999.ebuild manifest


Reset the sources

Code:
ebuild xfce4-panel-9999.ebuild clean
ebuild xfce4-panel-9999.ebuild unpack


Make the changes to the Makefile.am and configure.ac.in files.

Continue building and installing the package.
Back to top
View user's profile Send private message
Aarin
n00b
n00b


Joined: 27 Dec 2008
Posts: 21
Location: Portugal

PostPosted: Mon Dec 13, 2010 10:14 pm    Post subject: Reply with quote

yey! package emerged.

tks for all the help ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum