Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615930 - dev-util/gnome-builder: review dependency or information expressing for included project scaffolding templates
Summary: dev-util/gnome-builder: review dependency or information expressing for inclu...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-18 09:55 UTC by Arsen Shnurkov
Modified: 2018-04-05 17:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed version (gnome-builder-3.24.1.ebuild,5.24 KB, text/plain)
2017-04-18 09:55 UTC, Arsen Shnurkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arsen Shnurkov 2017-04-18 09:55:22 UTC
Created attachment 470304 [details]
proposed version

gnome builder 3.24.1 is current
https://wiki.gnome.org/Apps/Builder/Downloads

and version 3.24.1 is available
https://download.gnome.org/sources/gnome-builder/3.24/

I propose an ebuild for 3.24.1.
Comment 1 Mart Raudsepp gentoo-dev 2017-04-18 10:20:54 UTC
eh, I actually just started working on this some 2 hours ago
Comment 2 Mart Raudsepp gentoo-dev 2017-04-18 10:23:18 UTC
In your version, many of the things are unhandled or weirdly handled, but thanks for trying. If you want, I can comment with constructive criticism for future benefits. One thing that caught my interest though is what are those USE=cxx things about?
Comment 3 Arsen Shnurkov 2017-04-18 10:35:32 UTC
There 2 packages, what are conditional under that use - they are required to build user's programs after gnome-develop is already installed.

I took cxx from here - https://www.gentoo.org/support/use-flags/

cxx 	Build support for C++ (bindings, extra libraries, code generation, ...)
Comment 4 Mart Raudsepp gentoo-dev 2017-04-18 10:47:21 UTC
I don't think pulling in gtkmm is the job of the gnome-builder package. If you need gtkmm for your app, just have it and depend on it in your apps build system.
Now autoconf-archive is a bit different matter, as it's even for C commonly used; however nowadays many things are moving to meson build system, which has no use for this either. So without some kind of good idea how to express this dependency in a sane way, the most that would make sense is just an information log like many of the other things are already.

I will get my version pushed out within an hour or so hopefully, then once it reaches your rsync, feel free to compare with your version and see what was done differently to learn for future contributions, which I hope there will be! :)
Comment 5 Arsen Shnurkov 2017-04-18 10:49:38 UTC
it's not my app. It's default template code for c++ project in gnome-builder.
Comment 6 Mart Raudsepp gentoo-dev 2017-04-18 11:39:49 UTC
3.24.1 is pushed with some comments included about autoconf-archive for future review. Repurposing bug for thinking about the templates deps
Comment 7 Arsen Shnurkov 2017-11-16 08:37:37 UTC
gnome-extra/gnome-builder-3.24.2

I am trying to create a C++ project from default template. After hitting
Ctrl-F5 it gives the following log:

autoreconf-2.69: Entering directory `.'
autoreconf-2.69: running: autopoint --force
Copying file ABOUT-NLS
Creating directory build-aux
Copying file build-aux/config.rpath
Copying file m4/codeset.m4
Copying file m4/extern-inline.m4
Copying file m4/fcntl-o.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
autoreconf-2.69: running: aclocal --force
autoreconf-2.69: configure.ac: tracing
autoreconf-2.69: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf-2.69: running: /usr/bin/autoconf-2.69 --force
autoreconf-2.69: running: /usr/bin/autoheader-2.69 --force
autoreconf-2.69: running: automake --add-missing --copy --force-missing
configure.ac:61: installing 'build-aux/compile'
configure.ac:25: installing 'build-aux/config.guess'
configure.ac:25: installing 'build-aux/config.sub'
configure.ac:41: installing 'build-aux/install-sh'
configure.ac:41: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'
autoreconf-2.69: Leaving directory `.'
Skipping configure process.
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-linux-gnu-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1001' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
/home/user/Projects/test1/configure: line 3050: AX_GENERATE_CHANGELOG:
command not found
checking whether to enable maintainer-specific portions of Makefiles... yes
/home/user/Projects/test1/configure: line 3053: syntax error near
unexpected token `no,'
/home/user/Projects/test1/configure: line 3053: `AX_CHECK_ENABLE_DEBUG(no,'
Comment 8 Arsen Shnurkov 2017-11-16 08:38:53 UTC
so, the compilation of default project is not goes to completion, which prevents novices from starting use of this program