Page 3 of 5
Posted: Sun 21 Dec 2014, 08:56
by greengeek
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.
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!
petbuilds and utilities source
Posted: Fri 09 Oct 2015, 14:28
by gyro
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
Posted: Fri 09 Oct 2015, 15:43
by 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
Posted: Wed 28 Oct 2015, 07:58
by 01micko
Sorry gyro for missing this.
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?
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.
Cheers.
Posted: Wed 28 Oct 2015, 14:31
by gyro
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.
What if they don't already exist?
These icons are fairly vital to freememapplet_tray, have you ever run it when they are not present?
gyro
Posted: Fri 30 Oct 2015, 11:18
by 01micko
gyro wrote: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.
What if they don't already exist?
But they do in any woof-CE puppy (almost from the start - 2 years ago).
01micko wrote:The system is designed for woof-CE and I don't want to overwrite icons that already exist.
gyro wrote:These icons are fairly vital to freememapplet_tray, have you ever run it when they are not present?
gyro
Yes I know. If the icons are deleted from woof-CE then I'll change the build script.
gnome-mplayer.desktop
Posted: Sat 20 May 2017, 00:48
by norgo
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.
transmission
Posted: Fri 02 Jun 2017, 07:09
by norgo
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
Posted: Fri 02 Jun 2017, 07:21
by norgo
puppylinux-woof-CE/petbuilds
slacko_142
sylpheed.desktop file contains
Categories=GTK;Network;Email;News;
this leads to several places in menu
Posted: Fri 02 Jun 2017, 07:43
by norgo
puppylinux-woof-CE/petbuilds
slacko_142
leafpad.desktop file contains:
Categories=Viewer;
very strange but this leads to several places in menu
However Leafpad is an editor not a viewer and Category should become corrected by
Categories=X-Document-edit
Posted: Fri 02 Jun 2017, 10:31
by 01micko
@norgo, thanks for reports and fixes
Should now be fixed at
petbuilds (slacko_142 branch). Packages also uploaded to repo.
Gnome-mplayer : change done in my Slaxen 6.3.2
Posted: Mon 05 Jun 2017, 19:16
by Pelo
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)
Posted: Mon 04 Sep 2017, 19:05
by sc0ttman
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
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
Works fine on a recent Slacko 32bit build ...
Torcs 1.3.7
Posted: Mon 04 Sep 2017, 19:14
by sc0ttman
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.
Mednafen and deps
Posted: Mon 04 Sep 2017, 21:20
by sc0ttman
Libsndfile
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
Libz
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
libcdio-0.94
Posted: Mon 04 Sep 2017, 22:08
by sc0ttman
Libcdio
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
TESTED ON:
a recent Slacko WoofCE 32-bit,
FOR:
puppylinux-woof-CE/petbuilds
slacko_142
Posted: Wed 13 Sep 2017, 00:35
by sc0ttman
Aqualung
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
USED:
puppylinux-woof-CE/petbuilds
slacko_142
Posted: Wed 13 Sep 2017, 00:48
by sc0ttman
Ranger - console based file manager with Vi-like bindings
(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
ranger.desktop:
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
USED:
puppylinux-woof-CE/petbuilds
slacko_142
Posted: Wed 13 Sep 2017, 01:25
by sc0ttman
Midnight Commander
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
the .desktop file
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
Built on slacko 6.9.x 32bit,
in the slacko142 branch of petbuild
Posted: Wed 13 Sep 2017, 01:44
by sc0ttman
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