Hi Jasper -ahh yes, you are using precise, not slacko as I thought. I was a bit hasty in reading your post and misinterpreted the "5.6" - I will follow anikins directions and cook my own for Slacko 5.6. cheers!Jasper wrote:Yes, I'm happy with my build of Joe's v. 976, but it may be better to make your own jwm976 pet for Slacko by using the appropriate devx and amigo's src2pkg.
Pet building system
petbuilds and utilities source
Hi,
I'm posting in this topic since the discussion seems a bit out of place with folk discussing actually using woof-ce.
My expectation is that there should be a git repository where the source of utilities like freememapplet_tray could be stored.
After a pull-request against the source has been accepted, an appropriate "petbuilds" script could be run to produce a ".pet" for a puppy (or group of puppies).
This ".pet" would then become available via PPM for the puppy, and picked up by the next generation of the puppy using woof-ce.
gyro
I'm posting in this topic since the discussion seems a bit out of place with folk discussing actually using woof-ce.
My expectation is that there should be a git repository where the source of utilities like freememapplet_tray could be stored.
After a pull-request against the source has been accepted, an appropriate "petbuilds" script could be run to produce a ".pet" for a puppy (or group of puppies).
This ".pet" would then become available via PPM for the puppy, and picked up by the next generation of the puppy using woof-ce.
gyro
Hi 01micko,
I don't get it.
I just forked and cloned the "petbuilds" repository to try the "freememapplet" pet.
I eventually worked out how to build it but the resulting ".pet" was missing a few files, i.e. the icon files and the ".pot".
Is this what it's supposed to do, or am I missing something?
gyro
I don't get it.
I just forked and cloned the "petbuilds" repository to try the "freememapplet" pet.
I eventually worked out how to build it but the resulting ".pet" was missing a few files, i.e. the icon files and the ".pot".
Is this what it's supposed to do, or am I missing something?
gyro
Sorry gyro for missing this.
Cheers.
Basically yes, but it is a bug that the .pot file is missing. The system is designed for woof-CE and I don't want to overwrite icons that already exist.I just forked and cloned the "petbuilds" repository to try the "freememapplet" pet.
I eventually worked out how to build it but the resulting ".pet" was missing a few files, i.e. the icon files and the ".pot".
Is this what it's supposed to do, or am I missing something?
Cheers.
Puppy Linux Blog - contact me for access
What if they don't already exist?01micko wrote:Basically yes, but it is a bug that the .pot file is missing. The system is designed for woof-CE and I don't want to overwrite icons that already exist.
These icons are fairly vital to freememapplet_tray, have you ever run it when they are not present?
gyro
But they do in any woof-CE puppy (almost from the start - 2 years ago).gyro wrote:What if they don't already exist?01micko wrote:Basically yes, but it is a bug that the .pot file is missing. The system is designed for woof-CE and I don't want to overwrite icons that already exist.
01micko wrote:The system is designed for woof-CE and I don't want to overwrite icons that already exist.
Yes I know. If the icons are deleted from woof-CE then I'll change the build script.gyro wrote:These icons are fairly vital to freememapplet_tray, have you ever run it when they are not present?
gyro
Puppy Linux Blog - contact me for access
gnome-mplayer.desktop
puppylinux-woof-CE/petbuilds
slacko_142
gnome-mplayer.desktop
unfortunately since Slacko 6.3.0 Gnome-mplayer is located in the wrong category.
Gnome-mplayer is located in CATEGORY "Multimedia" SUB-CATEGORY "audiovideo"
but belongs actually in CATEGORY "Multimedia" SUB-CATEGORY "mediaplayer"
So the category of the menu where gnome-mplayer actually belongs is empty.
This has been already complained in Slacko 6.3.0
http://murga-linux.com/puppy/viewtopic.php?p=873753#873753
I changed the category in the *.desktop files from "audiovideo" to "X-Multimedia-mediaplayer"
and the icon path from png to the svg icon.
slacko_142
gnome-mplayer.desktop
unfortunately since Slacko 6.3.0 Gnome-mplayer is located in the wrong category.
Gnome-mplayer is located in CATEGORY "Multimedia" SUB-CATEGORY "audiovideo"
but belongs actually in CATEGORY "Multimedia" SUB-CATEGORY "mediaplayer"
So the category of the menu where gnome-mplayer actually belongs is empty.
This has been already complained in Slacko 6.3.0
http://murga-linux.com/puppy/viewtopic.php?p=873753#873753
I changed the category in the *.desktop files from "audiovideo" to "X-Multimedia-mediaplayer"
and the icon path from png to the svg icon.
- Attachments
-
- gnome-mplayer.desktop.tar
- gnome-mplayer.desktop ( remove tar fake extension )
- (2.88 KiB) Downloaded 457 times
transmission
puppylinux-woof-CE/petbuilds
slacko_142
transmission.petbuild is using DESKTOP=transmission.desktop file
but should use instead DESKTOP=transmission-gtk.desktop
The currently used desktop file contains
Categories=Network;FileTransfer;P2P;GTK;
This leads to several places in menu
slacko_142
transmission.petbuild is using DESKTOP=transmission.desktop file
but should use instead DESKTOP=transmission-gtk.desktop
The currently used desktop file contains
Categories=Network;FileTransfer;P2P;GTK;
This leads to several places in menu
@norgo, thanks for reports and fixes
Should now be fixed at petbuilds (slacko_142 branch). Packages also uploaded to repo.
Should now be fixed at petbuilds (slacko_142 branch). Packages also uploaded to repo.
Puppy Linux Blog - contact me for access
Gnome-mplayer : change done in my Slaxen 6.3.2
Gnome-mplayer : change done in my Slaxen 6.3.2 (experimental french version of Slacko 6.3.2). Efficient
petbuild for latest freeciv (2.5.9)
Hi guys, dunno if I am allowed to do pull requests, so I'll post here for now..
This is a bog standard petbuild script, except the 4th option for build_configure(), which adds CLAGS to enable running FreeCiv as root..
(originally copied it from homebank.petbuild.. not sure if I need the 'DESKTOP=freeciv-gtk2.desktop' bit)
Advice/corrections appreciated.
USED:
puppylinux-woof-CE/petbuilds
slacko_142
Works fine on a recent Slacko 32bit build ...
This is a bog standard petbuild script, except the 4th option for build_configure(), which adds CLAGS to enable running FreeCiv as root..
(originally copied it from homebank.petbuild.. not sure if I need the 'DESKTOP=freeciv-gtk2.desktop' bit)
Advice/corrections appreciated.
USED:
puppylinux-woof-CE/petbuilds
slacko_142
Code: Select all
# freeciv
# Builds from https://github.com/puppylinux-woof-CE/petbuilds
. ../func
. ../build.conf
URL=http://files.freeciv.org/stable/
PKG=freeciv
VER=2.5.9
COMP=tar.bz2
DESC="Turn based strategy game"
DEPS=
CAT=Fun
DESKTOP=freeciv-gtk2.desktop
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
# comment these 2 below if you use a custom package() function
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not
ARCH=$(uname -m)
case $ARCH in # set in build.conf
*64) LIBDIR=$LIBCONF64 ;;
arm*) LIBDIR=$LIBCONFarm;;
*) LIBDIR=$LIBCONF32 ;;
esac
#fix
fixup() {
(cd ${PKG}-${VER}; chmod 755 *sh)
}
# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
fixup
build_configure $PKG $VER $LIBDIR "$CFLAGS -DALWAYS_ROOT"
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT
Last edited by sc0ttman on Tue 26 Sep 2017, 22:21, edited 2 times in total.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Torcs 1.3.7
puppylinux-woof-CE/petbuilds
slacko_142
I tried to build Torcs 1.3.7 on the same recent Slacko build, 32-bit ..
The Torcs petbuild script lists no dependencies, but I needed to build plib and freealut before Torcs would compile..
Maybe they should be listed as deps in the Torcs petbuild script?
Also, side note, when Torcs did not compile, petbuild still went ahead and built some (empty and broken) PET files.. I don't know much about how it all works, but maybe it's better to NOT package up a broken build?
But I got Freeciv and Torcs compiled easily enough.. Good stuff.
slacko_142
I tried to build Torcs 1.3.7 on the same recent Slacko build, 32-bit ..
The Torcs petbuild script lists no dependencies, but I needed to build plib and freealut before Torcs would compile..
Maybe they should be listed as deps in the Torcs petbuild script?
Also, side note, when Torcs did not compile, petbuild still went ahead and built some (empty and broken) PET files.. I don't know much about how it all works, but maybe it's better to NOT package up a broken build?
But I got Freeciv and Torcs compiled easily enough.. Good stuff.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Mednafen and deps
Libsndfile
Libz
Still working on getting mednafen to work... :/
TESTED ON a recent Slacko WoofCE 32-bit,
Used this branch to build SDL (also a dep of mednafen):
puppylinux-woof-CE/petbuilds
slacko_142
Code: Select all
# libsndfile
# Builds from https://github.com/puppylinux-woof-CE/petbuilds
. ../func
. ../build.conf
URL=http://www.mega-nerd.com/libsndfile/files/
PKG=libsndfile
VER=1.0.28
COMP=tar.gz
DESC="sound library"
DEPS=
CAT=Fun
DESKTOP=
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
# comment these 2 below if you use a custom package() function
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not
ARCH=$(uname -m)
case $ARCH in # set in build.conf
*64) LIBDIR=$LIBCONF64 ;;
arm*) LIBDIR=$LIBCONFarm;;
*) LIBDIR=$LIBCONF32 ;;
esac
#fix
fixup() {
(cd ${PKG}-${VER}; chmod 755 *sh)
}
# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
fixup
build_configure $PKG $VER $LIBDIR
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT
Code: Select all
# zlib
# Builds from https://github.com/puppylinux-woof-CE/petbuilds
. ../func
. ../build.conf
URL=https://zlib.net/
PKG=zlib
VER=1.2.11
COMP=tar.gz
DESC="compression library"
DEPS=
CAT=Fun
DESKTOP=
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
# comment these 2 below if you use a custom package() function
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not
ARCH=$(uname -m)
case $ARCH in # set in build.conf
*64) LIBDIR=$LIBCONF64 ;;
arm*) LIBDIR=$LIBCONFarm;;
*) LIBDIR=$LIBCONF32 ;;
esac
#fix
fixup() {
(cd ${PKG}-${VER}; chmod 755 *sh)
}
# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
fixup
build_configure $PKG $VER $LIBDIR
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT
Still working on getting mednafen to work... :/
TESTED ON a recent Slacko WoofCE 32-bit,
Used this branch to build SDL (also a dep of mednafen):
puppylinux-woof-CE/petbuilds
slacko_142
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
libcdio-0.94
Libcdio
TESTED ON:
a recent Slacko WoofCE 32-bit,
FOR:
puppylinux-woof-CE/petbuilds
slacko_142
Code: Select all
# libcdio
# Builds from https://github.com/puppylinux-woof-CE/petbuilds
. ../func
. ../build.conf
URL=https://ftp.gnu.org/gnu/libcdio/
PKG=libcdio
VER=0.94
COMP=tar.gz
DESC="CD image library"
DEPS=
CAT=Utility
DESKTOP=
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
# comment these 2 below if you use a custom package() function
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not
ARCH=$(uname -m)
case $ARCH in # set in build.conf
*64) LIBDIR=$LIBCONF64 ;;
arm*) LIBDIR=$LIBCONFarm;;
*) LIBDIR=$LIBCONF32 ;;
esac
#fix
fixup() {
(cd ${PKG}-${VER}; chmod 755 *sh)
}
# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
fixup
build_configure ${PKG} $VER $LIBDIR
package_std ${PKG} $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT
a recent Slacko WoofCE 32-bit,
FOR:
puppylinux-woof-CE/petbuilds
slacko_142
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Aqualung
USED:
puppylinux-woof-CE/petbuilds
slacko_142
Code: Select all
# aqualung
# Builds from https://github.com/puppylinux-woof-CE/petbuilds
. ../func
. ../build.conf
URL=https://github.com/jeremyevans/aqualung/releases/download/1.0/
PKG=aqualung
VER=1.0
COMP=tar.gz
DESC="lightweight gtk music player"
DEPS=+gtk+2
CAT=Multimedia
DESKTOP=aqualung.desktop
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not
ARCH=$(uname -m)
case $ARCH in
*64) LIBDIR=$LIBCONF64 ;;
arm*) LIBDIR=$LIBCONFarm;;
*) LIBDIR=$LIBCONF32 ;;
esac
build() {
cd ${PKG}-${VER}
./configure --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--libdir=/usr/${LIBDIR}
[ "$?" -eq 0 ] || exit 1
make $MKFLG
[ "$?" -eq 0 ] || exit 1
make DESTDIR=$CWD/$PKG-install install
cd -
}
package_fix() {
echo '[Desktop Entry]
Encoding=UTF-8
Name=Aqualung music player
Icon=/usr/share/aqualung/general.png
Comment=aqualung gtk music player
Exec=aqualung
Terminal=false
Type=Application
Categories=Audio
GenericName=Aqualung music player' > $PKG-install/usr/share/applications/aqualung.desktop
}
# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
build
package_fix
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT
puppylinux-woof-CE/petbuilds
slacko_142
Last edited by sc0ttman on Wed 13 Sep 2017, 01:21, edited 2 times in total.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Ranger - console based file manager with Vi-like bindings
(Python based, very powerful)
ranger.desktop:
USED:
puppylinux-woof-CE/petbuilds
slacko_142
(Python based, very powerful)
Code: Select all
# ranger
# Builds from https://github.com/puppylinux-woof-CE/petbuilds
. ../func
. ../build.conf
URL=http://ranger.nongnu.org/
PKG=ranger
VER=1.8.1
COMP=tar.gz
DESC="powerful console-based file manager with vi-like key bindings"
DEPS=
CAT=Filesystem
DESKTOP=ranger.desktop
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not
ARCH=$(uname -m)
case $ARCH in
*64) LIBDIR=$LIBCONF64 ;;
arm*) LIBDIR=$LIBCONFarm;;
*) LIBDIR=$LIBCONF32 ;;
esac
build() {
cd ${PKG}-${VER}
[ "$?" -eq 0 ] || exit
make DESTDIR=$CWD/${PKG}-install install
cd -
}
# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
build
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Ranger console-based file manager
Icon=/usr/share/pixmaps/puppy/open.svg
Comment=Ranger console-based file manager
Exec=/usr/bin/urxvt -e ranger
Terminal=false
Type=Application
Categories=FileManager
GenericName=Ranger console-based file manager
puppylinux-woof-CE/petbuilds
slacko_142
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Midnight Commander
the petbuild:
the .desktop file
Built on slacko 6.9.x 32bit,
in the slacko142 branch of petbuild
the petbuild:
Code: Select all
# mc
# Builds from https://github.com/puppylinux-woof-CE/petbuilds
. ../func
. ../build.conf
URL=http://ftp.midnight-commander.org/
PKG=mc
VER=4.8.19
COMP=tar.xz
DESC="powerful dual pane console-based file manager"
DEPS=
CAT=Filesystem
DESKTOP=mc.desktop
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not
ARCH=$(uname -m)
case $ARCH in
*64) LIBDIR=$LIBCONF64 ;;
arm*) LIBDIR=$LIBCONFarm;;
*) LIBDIR=$LIBCONF32 ;;
esac
build() {
cd ${PKG}-${VER}
./configure --prefix=/usr \
--libdir=/usr/${LIBDIR} \
--localstatedir=/var \
--sysconfdir=/etc \
--with-screen=ncurses
[ "$?" -eq 0 ] || exit
make || exit
make DESTDIR=${CWD}/${PKG}-install install
cd -
}
# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
build
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Midnight commander console file manager
Icon=/usr/share/pixmaps/puppy/open.svg
Comment=Midnight commander console file manager
Exec=/usr/bin/urxvt -e mc
Terminal=false
Type=Application
Categories=FileManager
GenericName=Midnight commander console file manager
in the slacko142 branch of petbuild
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Fossil 2.3
Code: Select all
# fossil
# Builds from https://github.com/puppylinux-woof-CE/petbuilds
. ../func
. ../build.conf
URL=http://www.fossil-scm.org/index.html/uv
PKG=fossil-src
VER=2.3
COMP=tar.gz
DESC="version control, issue tracking and more"
DEPS=
CAT=System
SVER=src-2.3
DESKTOP=
BUILD=
CWD=$(pwd)
[ -z "$MWD" ] && MWD=$(dirname $CWD)
[ -z "$BUILD" ] && BUILD=$DEF_BUILD
[ -f "$DESKTOP" ] || DESKTOP=not
[ -z "$DEPS" ] && DEPS=not
ARCH=$(uname -m)
case $ARCH in
*64) LIBDIR=$LIBCONF64 ;;
arm*) LIBDIR=$LIBCONFarm;;
*) LIBDIR=$LIBCONF32 ;;
esac
build() {
PKG=fossil
cd ${PKG}-${VER}
./configure --prefix=/usr \
--libdir=/usr/${LIBDIR} \
--localstatedir=/var \
--sysconfdir=/etc
[ "$?" -eq 0 ] || exit
make || exit
make DESTDIR=${CWD}/${PKG}-install install
cd -
}
# main
retrieve ${PKG}-${VER}.${COMP}
extract ${PKG}-${VER}.${COMP}
build
package_std $PKG $VER $ARCH $DESKTOP "$DESC" $DEPS $CAT
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]