WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: A Interactive TCE Builder  (Read 4381 times)

Offline red

  • Newbie
  • *
  • Posts: 11
A Interactive TCE Builder
« on: November 24, 2016, 01:32:36 AM »
I am developing a script that allows interactively creating TCE extensions. All you need to do is enter information for the extension (used for variables and .tcz.info), the HTTP link where the source is located (currently supported filetypes are .GZ, .TAR.GZ, .BZ2, .TAR.BZ2, and .TAR), it will detect the archive type, and build the package. If there is ./autoconf.sh in the source, it will execute that too. It is optional to use custom ./configure and make flags. The script also prepares a list of files and the md5sum of the .tcz extension.

I wll post a link to the .tcz when it will be ready. For now here are some screenshots:




Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: A Interactive TCE Builder
« Reply #1 on: November 24, 2016, 01:40:46 AM »
'looks interesting  :)

Most source packages are *tar.xz these days - it would be good to have support for that.

Offline red

  • Newbie
  • *
  • Posts: 11
Re: A Interactive TCE Builder
« Reply #2 on: November 24, 2016, 09:19:28 AM »
'looks interesting  :)

Most source packages are *tar.xz these days - it would be good to have support for that.

Added support for tar.xz!

Offline red

  • Newbie
  • *
  • Posts: 11
Re: A Interactive TCE Builder
« Reply #3 on: November 24, 2016, 03:05:57 PM »
Download link for tcz-studio 1.0-beta:
        http://www.mediafire.com/file/6213maykw3n3yqx/tcz-studio.rar

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: A Interactive TCE Builder
« Reply #4 on: November 25, 2016, 12:28:48 AM »
I gave it a go on corepure64

It works with sed-4.2.2  :)

A couple of comments:

* bash is required as a dep
* the linux api headers are a dep of compiletc, so can be removed from the dep file
* the resulting /usr/local/bin/sed has permissions of tc:staff, but should have root:root
* /usr/local/bin/sed is not stripped
* the doc, info, man and locale files are not placed in *-doc and *-locale extensions

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: A Interactive TCE Builder
« Reply #5 on: November 25, 2016, 03:33:54 AM »
hi
another build system is called tc-ext-tools hosted on github.
dCore user

Offline red

  • Newbie
  • *
  • Posts: 11
Re: A Interactive TCE Builder
« Reply #6 on: November 25, 2016, 07:51:26 AM »
hi
another build system is called tc-ext-tools hosted on github.

Oh, well then.

Offline red

  • Newbie
  • *
  • Posts: 11
Re: A Interactive TCE Builder
« Reply #7 on: November 25, 2016, 08:01:18 AM »
I gave it a go on corepure64

It works with sed-4.2.2  :)

A couple of comments:

* bash is required as a dep
* the linux api headers are a dep of compiletc, so can be removed from the dep file
* the resulting /usr/local/bin/sed has permissions of tc:staff, but should have root:root
* /usr/local/bin/sed is not stripped
* the doc, info, man and locale files are not placed in *-doc and *-locale extensions

Okay, i got it. I also realized, that in some occasions the makefile might be located in another folder, or it has a different name, so i will add an option that if there are similar files beginning with Makefile*, it will ask which file should be used

Or if there is no makefile in the parent folder, it will ask for the directory where the file is located.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 720
Re: A Interactive TCE Builder
« Reply #8 on: November 25, 2016, 01:10:26 PM »

Offline red

  • Newbie
  • *
  • Posts: 11
Re: A Interactive TCE Builder
« Reply #9 on: November 26, 2016, 03:20:55 AM »
Have you seen this:
https://code.google.com/archive/p/tcztools/

No, i haven't but i looked at it, and it appears to be a commandline tool. I created this project to be a automatized, interactive tool for creating TCE extensions.

Offline aw

  • Newbie
  • *
  • Posts: 45
Re: A Interactive TCE Builder
« Reply #10 on: November 26, 2016, 03:50:36 AM »
Can you put your code up on github or something? Thanks
github.com/aw

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: A Interactive TCE Builder
« Reply #11 on: November 26, 2016, 04:04:15 AM »

No, i haven't but i looked at it, and it appears to be a commandline tool. I created this project to be a automatized, interactive tool for creating TCE extensions.

Isn't 'automatized, interactive' a contradiction?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline red

  • Newbie
  • *
  • Posts: 11
Re: A Interactive TCE Builder
« Reply #12 on: November 26, 2016, 10:35:46 AM »

No, i haven't but i looked at it, and it appears to be a commandline tool. I created this project to be a automatized, interactive tool for creating TCE extensions.

Isn't 'automatized, interactive' a contradiction?


I meant, it can have an interactive and an automatic (terminal) mode.