Jump to content


Photo

IPK Creator 5.0 + IPK Feed Generator 1.0


  • Please log in to reply
35 replies to this topic

#1 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 25 July 2016 - 15:25

IPK Creator 5.0

Version 5.0

- Windows, Linux, macOS binaries added (x86/x64)

- "Recommends" added

- "armv7ahf-neon" and "cortexa9hf-neon" architectures added

- no check for characters so you can create anything

- less required fields in red

- lots of fixes/improvements

- clean and rebuild using JDK 8u102/NetBeans 8.1

IPK Feed Generator 1.0

Version 1.0

You need to install JRE (Java Runtime Environment) !

Download it from http://www.filehippo.com/download_jre/ (Windows)

Recommended JRE version : 8.0 build 102

Place your IPK files here then run IPKFeedGenerator.jar

It will create Packages and Packages.gz for you

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

As you know you can run a jar file in any operating system (Windows, Linux, macOS, ...) because it's Java

I did compile it with Java 8u102/NetBeans 8.1 so you need JRE 1.8.x

Enjoy creating IPK feeds

:)


Open Vision sources: https://github.com/OpenVisionE2


Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #2 fankoosh

  • Senior Member
  • 198 posts

+6
Neutral

Posted 28 July 2016 - 05:14

thanx good work , works well , regards



Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #3 joeideal

  • Member
  • 1 posts

0
Neutral

Posted 19 September 2016 - 12:01

Brilliant Thanks



Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #4 thawtes

  • Senior Member
  • 86 posts

+1
Neutral

Posted 22 September 2016 - 06:49

good post, thanks...



Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #5 atef

  • Senior Member
  • 92 posts

+1
Neutral

Posted 30 September 2016 - 00:51

Thanks


VU PLUS ULTIMO:Dreambox 820 hd:Spark 7111


Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #6 avp3

  • Senior Member
  • 32 posts

0
Neutral

Posted 12 November 2016 - 13:58

Excellent work!

Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #7 atef

  • Senior Member
  • 92 posts

+1
Neutral

Posted 24 September 2017 - 11:57

How to prepare in Deb format


VU PLUS ULTIMO:Dreambox 820 hd:Spark 7111


Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #8 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 24 September 2017 - 14:35

Why should we do that?


Open Vision sources: https://github.com/OpenVisionE2


Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #9 Bobsilvio

  • Member
  • 20 posts

0
Neutral

Posted 28 September 2017 - 10:28

This is a fantastic tools.
However there are some flaws.
- The plugin does not remove .DS_Store and .Thumbs (mac - windows) files
- Does not allow file permissions to be set (644 -755)

- I can not widen the window on the mac
thanks


Edited by Bobsilvio, 28 September 2017 - 10:28.


Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #10 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 30 September 2017 - 12:11

I don't have time for this tool anymore, If we have any volunteers with java knowledge I can share the sources on github.


Edited by Persian Prince, 30 September 2017 - 12:11.

Open Vision sources: https://github.com/OpenVisionE2


Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #11 andrearossidec1

  • Senior Member
  • 28 posts

0
Neutral

Posted 21 January 2018 - 12:00

I don't have time for this tool anymore, If we have any volunteers with java knowledge I can share the sources on github.

It would be interesting to public it on github.



Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #12 HARRY15

  • Member
  • 11 posts

0
Neutral

Posted 23 February 2018 - 20:04

THANK YOU



Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #13 s3n0

  • Senior Member
  • 640 posts

+62
Good

Posted 28 May 2018 - 14:01

Persian Prince good work !

Could you please add another feature ?

Before starting compression into IPK, I would like to delete all .py (including subdirectories) source files and leave only compiled .pyo (essentially Python format). Or, at least, you can backup the source code files to a temporary temporary folder and, after creating the IPK package, return them back to the original directory.

I know it does not matter because even .pyo can be decompiled and get a .py file from it, but we will reduce the resulting IPK file size.

Thanks.



Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #14 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 29 May 2018 - 08:07

I don't have time for this tool anymore, If we have any volunteers with java knowledge I can share the sources on github.

 

@s3n0 Sorry but I don't have time to work on this project anymore.


Open Vision sources: https://github.com/OpenVisionE2


Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #15 momi133

  • Senior Member
  • 73 posts

0
Neutral

Posted 22 May 2019 - 16:46

IPK Creator 5.0

Version 5.0

- Windows, Linux, macOS binaries added (x86/x64)

- "Recommends" added

- "armv7ahf-neon" and "cortexa9hf-neon" architectures added

- no check for characters so you can create anything

- less required fields in red

- lots of fixes/improvements

- clean and rebuild using JDK 8u102/NetBeans 8.1

IPK Feed Generator 1.0

Version 1.0

You need to install JRE (Java Runtime Environment) !

Download it from http://www.filehippo.com/download_jre/ (Windows)

Recommended JRE version : 8.0 build 102

Place your IPK files here then run IPKFeedGenerator.jar

It will create Packages and Packages.gz for you

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

As you know you can run a jar file in any operating system (Windows, Linux, macOS, ...) because it's Java

I did compile it with Java 8u102/NetBeans 8.1 so you need JRE 1.8.x

Enjoy creating IPK feeds

:)

 

Salam shahzade

 

How use ipk creator in Ubuntu 18?



Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #16 audi06_19

  • Senior Member
  • 26 posts

+8
Neutral

Posted 22 May 2019 - 22:17

hi.

 

http://git.yoctoproj...cgi/opkg-utils/

cd /tmp
wget http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/snapshot/opkg-utils-0.4.0.tar.gz
tar -xf opkg-utils-0.4.0.tar.gz
cd opkg-utils-0.4.0
make
sudo make install


Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #17 audi06_19

  • Senior Member
  • 26 posts

+8
Neutral

Posted 22 May 2019 - 22:25

=head1 DESCRIPTION
 
B<opkg-build> creates an opkg package from a filesystem tree stored in I<pkg_directory>. I<pkg_directory> must have a B<CONTROL> directory, which contains the control information files, including the control file itself. This directory will I<not> appear in the binary package's filesystem archive, but instead the files in it will be put in the binary package's control information area.
 
B<opkg-build> will read B<CONTROL/control> file and parse it. It will check it for syntax errors and other problems, and it will stop if it finds any.
 
If no I<destination_directory> is specified, B<opkg-build> will write the package into a file in the current directory. The name of the package file will be I<package>B<_>I<version>B<_>I<arch>B<.ipk>.
 
If the archive to be created already exists, it will be overwritten.
 
=head1 OPTIONS
 
A summary of options is included below.
 
=over
 
=item B<-c>
 
Generate a binary package in an older B<tar> format.
 
=item B<-C>
 
Stop with an error if any files ending with B<~> are found. The default behaviour is to remove such files.
 
=item B<-Z> I<compressor>
 
Specify which compression type to use when building a package. Allowed values are B<gzip>, B<pigz>, B<bzip2>, B<lz4> and B<xz> (default is B<gzip>).
 
=item B<-a> I<compressor-args>
 
Specify the arguments used by the compressor. Overrides the default values.
 
=item B<-O>
 
Use B<.opk> extension. By default, B<.ipk> is used.
 
=item B<-o> I<owner>
 
Force I<owner> as the owner of all files in the package.
 
=item B<-g> I<group>
 
Force I<group> as the group of all files in the package.
 
=back
 
=head1 FILES
 
B<opkg-build> creates a temporary directory named B<IPKG_BUILD.>I<$$> in the destination directory (where I<$$> stands for the PID of the running B<opkg-build>). There currently isn't a way to override this.
 
For compatibility with Debian's B<dpkg-deb>, the directory with control files can also be named B<DEBIAN>. If both B<DEBIAN> and B<CONTROL> directories present, B<CONTROL> takes the precedence.
 
=head1 AUTHORS
 
This manual page was written by Andrew Shadura based on the manual page of B<dpkg-deb>.


Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #18 momi133

  • Senior Member
  • 73 posts

0
Neutral

Posted 23 May 2019 - 09:41

 

=head1 DESCRIPTION
 
B<opkg-build> creates an opkg package from a filesystem tree stored in I<pkg_directory>. I<pkg_directory> must have a B<CONTROL> directory, which contains the control information files, including the control file itself. This directory will I<not> appear in the binary package's filesystem archive, but instead the files in it will be put in the binary package's control information area.
 
B<opkg-build> will read B<CONTROL/control> file and parse it. It will check it for syntax errors and other problems, and it will stop if it finds any.
 
If no I<destination_directory> is specified, B<opkg-build> will write the package into a file in the current directory. The name of the package file will be I<package>B<_>I<version>B<_>I<arch>B<.ipk>.
 
If the archive to be created already exists, it will be overwritten.
 
=head1 OPTIONS
 
A summary of options is included below.
 
=over
 
=item B<-c>
 
Generate a binary package in an older B<tar> format.
 
=item B<-C>
 
Stop with an error if any files ending with B<~> are found. The default behaviour is to remove such files.
 
=item B<-Z> I<compressor>
 
Specify which compression type to use when building a package. Allowed values are B<gzip>, B<pigz>, B<bzip2>, B<lz4> and B<xz> (default is B<gzip>).
 
=item B<-a> I<compressor-args>
 
Specify the arguments used by the compressor. Overrides the default values.
 
=item B<-O>
 
Use B<.opk> extension. By default, B<.ipk> is used.
 
=item B<-o> I<owner>
 
Force I<owner> as the owner of all files in the package.
 
=item B<-g> I<group>
 
Force I<group> as the group of all files in the package.
 
=back
 
=head1 FILES
 
B<opkg-build> creates a temporary directory named B<IPKG_BUILD.>I<$$> in the destination directory (where I<$$> stands for the PID of the running B<opkg-build>). There currently isn't a way to override this.
 
For compatibility with Debian's B<dpkg-deb>, the directory with control files can also be named B<DEBIAN>. If both B<DEBIAN> and B<CONTROL> directories present, B<CONTROL> takes the precedence.
 
=head1 AUTHORS
 
This manual page was written by Andrew Shadura based on the manual page of B<dpkg-deb>.

 

 thanks a lot!

 

please write a sample command(control files in" /deb/DEBIAN" and plugin in "/deb/usr")



Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #19 audi06_19

  • Senior Member
  • 26 posts

+8
Neutral

Posted 23 May 2019 - 10:23

 

Create files.

mkdir -p debian/DEBIAN
mkdir -p debian/usr/lib/enigma2/python/Plugins/Extensions/Test_Plugin

open with notepad

gedit debian/DEBIAN/control

contents of control file

Package: enigma2-plugin-extensions-testplugin
Version: 1.0-r0
Description: enigma2 plugin OE2.0 OE2.5
Section: base
Priority: optional
Maintainer: audi06_19 <audi06_19@hotmail.com>
Architecture: all
Depends: 
Homepage: NO
Source: NO
 
create .ipk
chmod 755 -R debian && opkg-build debian


Re: IPK Creator 5.0 + IPK Feed Generator 1.0 #20 momi133

  • Senior Member
  • 73 posts

0
Neutral

Posted 24 May 2019 - 06:49

 

 

Create files.

mkdir -p debian/DEBIAN
mkdir -p debian/usr/lib/enigma2/python/Plugins/Extensions/Test_Plugin

open with notepad

gedit debian/DEBIAN/control

contents of control file

Package: enigma2-plugin-extensions-testplugin
Version: 1.0-r0
Description: enigma2 plugin OE2.0 OE2.5
Section: base
Priority: optional
Maintainer: audi06_19 <audi06_19@hotmail.com>
Architecture: all
Depends: 
Homepage: NO
Source: NO
 
create .ipk
chmod 755 -R debian && opkg-build debian

 

Great Work!

 

thanks a lot!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users