WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tc-ext-tools: A package build system for Tiny Core Linux  (Read 10243 times)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1104
  • HandMace informatic works
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #15 on: January 31, 2012, 12:51:22 AM »
I added them and go on, but now it also stops during compilation:
Code: [Select]
tc@box:~/tc-ext-tools/packages/liferea$ buildit
Building the package liferea started at 09:40:08
Cleaning the package liferea files and directories ... successful!
Loading the package liferea build dependencies ... successful!
The package liferea source is already downloaded.
The package liferea source is already converted.
Unpacking the package liferea source ... successful!
Patching the package liferea source ... successful!
Configuring the package liferea ... successful!
Compiling the package liferea ... failed!
For details: buildit --print compile

buildit --print compile

I add libxml2-dev.tcz and libxml++-dev.tcz to common file but error is the same.
compiling by hand returns the same error

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 180
    • AmatCoder Projects
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #16 on: January 31, 2012, 07:01:46 AM »
Here, adding libxml2-dev, it is working...



WARNING: Do not add filename extension '.tcz' in your common file.

Quote
[...]
libunique-dev
json-glib
json-glib-dev
libxml2-dev.tcz
libxml++-dev.tcz
[...]
« Last Edit: January 31, 2012, 07:04:30 AM by AmatCoder »

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1104
  • HandMace informatic works
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #17 on: January 31, 2012, 07:29:53 AM »
Uhm!  :-[

Very thanks Amat Coder, when I have a little time i submit liferea updated.
Arslan I have your permission? and what should I do with the script and the. info file?

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1104
  • HandMace informatic works
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #18 on: January 31, 2012, 03:22:33 PM »
Amat, to me again not work!!  ???-->

I apply mod to common ad you say


I had ORBit2-dev.tcz package ruined and after redownload the script will go forward, but not create same the package:

Code: [Select]
tc@box:~/tc-ext-tools/packages/liferea$ buildit
Building the package liferea started at 01:07:43
Cleaning the package liferea files and directories ... successful!
Loading the package liferea build dependencies ... successful!
Downloading the package liferea source ... successful!
Converting the package liferea source ... successful!
Unpacking the package liferea source ... successful!
Patching the package liferea source ... successful!
Configuring the package liferea ... successful!
Compiling the package liferea ... successful!
You must compile it first!
tc@box:~/tc-ext-tools/packages/liferea$

Instead if I compile it by hand liferea install properly
« Last Edit: January 31, 2012, 04:39:11 PM by vinnie »

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 180
    • AmatCoder Projects
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #19 on: January 31, 2012, 10:25:58 PM »
Yes, it is a know issue. See: http://code.google.com/p/tc-ext-tools/issues/detail?id=1

Read the last comment. There I explain issue and I offer a couple of solutions.

Basically, you can modify buildit -> line 121 where
Code: [Select]
sudo installit || exit 1you must write
Code: [Select]
sudo -E installit || exit 1

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1104
  • HandMace informatic works
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #20 on: February 01, 2012, 03:36:29 PM »
Ok, work fine, I also corrected package dependencies.
I remit myself to arslan, I aspect his ok.

P.s. Thanks truly Amat, without you I would not have ever made

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #21 on: April 19, 2012, 04:42:01 AM »
hi tc people, dawn 26 to freedom wait for me :)

Offline konaexpress

  • Jr. Member
  • **
  • Posts: 50
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #22 on: April 19, 2012, 07:31:14 AM »
hi tc people, dawn 26 to freedom wait for me :)

Come back safe and you can tell me about Pascal+Laz.......

-John
Swing hard in case you hit it!

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 180
    • AmatCoder Projects
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #23 on: April 19, 2012, 12:49:34 PM »
hi tc people, dawn 26 to freedom wait for me :)
Good! Looking forward to your return.

I've been using your tools massively to my extensions , but I made some changes to it in my system. Here I put my patch to your review:
Changes are:
-Add tags support
-Fix http://code.google.com/p/tc-ext-tools/issues/detail?id=1
-Fix tce dir for 4.2 and newer.
Code: [Select]
Index: tools/addit
===================================================================
--- tools/addit (revision 565)
+++ tools/addit (working copy)
@@ -148,6 +148,7 @@
 SITE="http://www.package.com"
 COPYING="GPL-2"
 MAINTAINERS="$PACKAGE_MAINTAINER"
+TAGS=""
 COMMENTS="---"
 CHANGELOG="---"
 CURRENT="First Version"
@@ -168,6 +169,7 @@
 SITE="http://www.package.com"
 COPYING="GPL-2"
 MAINTAINERS="$PACKAGE_MAINTAINER"
+TAGS=""
 COMMENTS="---"
 CHANGELOG="---"
 CURRENT="First Version"
@@ -188,6 +190,7 @@
 SITE="http://www.package.com"
 COPYING="GPL-2"
 MAINTAINERS="$PACKAGE_MAINTAINER"
+TAGS=""
 COMMENTS="---"
 CHANGELOG="---"
 CURRENT="First Version"
Index: tools/generateit
===================================================================
--- tools/generateit (revision 565)
+++ tools/generateit (working copy)
@@ -73,6 +73,7 @@
 Copying-policy: ${COPYING}
 Size: ${SIZE}
 Extension_by: ${MAINTAINERS}
+Tags: ${TAGS}
 Comments: ${COMMENTS}
 Change-log: ${CHANGELOG}
 Current: ${CURRENT}
Index: tools/buildit
===================================================================
--- tools/buildit (revision 565)
+++ tools/buildit (working copy)
@@ -118,7 +118,7 @@
 }
 
 install_it() {
-   sudo installit || exit 1
+   sudo -E installit || exit 1
 }
 
 split_it() {
Index: tools/checkit
===================================================================
--- common/functions (revision 565)
+++ common/functions (working copy)
@@ -288,7 +288,7 @@
    TCMIRROR=http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/
    TCVER=4.x
 
-   TCE_DIR=$(cat /opt/.tce_dir)
+   TCE_DIR=/etc/sysconfig/tcedir
    KERNEL=$(uname -r)
    ARCH=i686
 

Regards.

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 180
    • AmatCoder Projects
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #24 on: April 30, 2012, 05:39:31 PM »
Thanks to Arslan who kindly added me as member, the changes described above have been sent to trunk.
Now, tc-ext-tools is working with latest TC versions. (Well, I hope so... ;))

Soon I will send the packages made by me to svn.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1104
  • HandMace informatic works
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #25 on: May 01, 2012, 08:46:41 AM »

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #26 on: May 06, 2012, 12:29:32 AM »
@amatcoder

no problem, it is good to know someone keeping the project alive while i am away.
9 days remaining to freedom again i hope to work with you together in the future.

Arslan S.

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4187
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #27 on: May 06, 2012, 06:04:02 AM »
Hi Arslan S.
We are all looking forward to hearing from you again after you've returned home and had some time to
spend with family and friends.

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 180
    • AmatCoder Projects
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #28 on: May 10, 2012, 12:58:26 AM »
@amatcoder

no problem, it is good to know someone keeping the project alive while i am away.
9 days remaining to freedom again i hope to work with you together in the future.

Sure!  :)

BTW, I will make a few additional changes:
   1) Generate a zsync file. It is required according to wiki: http://wiki.tinycorelinux.net/wiki:creating_extensions

   2) Do not package a dep file if it is empty. According to this post: http://forum.tinycorelinux.net/index.php/topic,12663.msg69030.html#msg69030 extensions without dependencies should no have dep file.

Regards.

Offline jls_legalize

  • Hero Member
  • *****
  • Posts: 1335
    • Core17
Re: tc-ext-tools: A package build system for Tiny Core Linux
« Reply #29 on: May 10, 2012, 01:21:46 AM »
Hi
AmatCoder, thank u for keeping alive tc-ext-tools.
Before I was using a script by kingdomcome which automatically splits the dev files and the locales.
U can look a the script in the src section of the tinycore site on my packages.
The scripts of my recent packages also automatically adjust the info files.
The package to send to tcesubmit is a tar.bz2, maybe change it to xz.
also this to scripts from jason could be included:
http://forum.tinycorelinux.net/index.php/topic,12002.0.html
  http://forum.tinycorelinux.net/index.php/topic,2475.0.html
« Last Edit: May 10, 2012, 01:24:11 AM by jls_legalize »
legalize them                                     ThisIsNotlYnuCsfrOmscR-Etch