# rhythmbox/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The sources were obtained as follows: ocgitfetch --run https://gitlab.gnome.org/GNOME/rhythmbox #--------------------------------------------------------------------- 2. Upstream release 2.95 of "rhythmbox" removed a signficant feature: the ability to start the program in the system tray. This distro's version restored the feature for a while. This was done as fol- lows: (2a) Add a descendant of Tom Parker's "tray icon" plugin (this was done at "build" time) (2b) Activate the "tray_icon" plugin manually, in Rhythmbox, for each user. (2c) Start "rhythmbox", in the background, at the appropriate point in ".xinitrc". #--------------------------------------------------------------------- 3. The preceding approach stopped working after a few "glib*" and/or "gtk*" upgrades. So, we switched to the following approach: (3a) Same as (1a). (3b) Add a patch to force the "tray_icon" plugin to be activated. (3c) Write a script named "rhythmbox-start-minimized" which start- ed "rhythmbox", waited for it to appear, and minimized it. (3d) Start "rhythmbox" in our desktop, which was based on "fvwm" at the time, as follows: File: .../fvwm/preferences/Startup Code: + I Exec rhythmbox-start-minimized --run #--------------------------------------------------------------------- 4. We disabled putting Rhythmbox in the system tray completely as of 2021. We found that it worked better for this program -- and all but a few other programs -- simply to minimize and un-minimize the program as necessary. #--------------------------------------------------------------------- [buildtimes] 00.08 hours (or 005.03 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.11 hours (or 006.38 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.13 hours (or 008.05 minutes) - HP EliteBook 8560w 32GB RAM 00.21 hours (or 012.58 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM #--------------------------------------------------------------------- [settings] altpkg = yes exepack = yes license = See "license*.txt" in installed tree licfile = COPYING nls = disabled nosyslinks = yes tmpsize = 96M dontfind = \ enchant01 setpaths = \ acl attr avahi brasero \ enchant02 gnome gnomemedia gstreamer \ gtkcore libarchive libgcrypt libgmime \ libicu libproxy libsoup3 llvmgcc \ python3-core rhythmbox webkit2gtk3 #--------------------------------------------------------------------- [depends] actools avahi brasero bzip2 cairo cpan-xml-parser curl dbus:strict enchant02 eudev expat fontconfig freetype2 gawk gconf:strict glib20:strict gnomemedia gnometheme gnutls3 gobject-intro grep gstreamer gtkcore highgnome imagemagick7 # Build time intltool jpeg libarchive libcanberra libgcrypt libgmime libgnomering libgpg-error libgudev libicu libmtp libnotify libpeas libpng librtmp libsasl libsoup libsoup3 libtasn1 libxml2 libxslt llvmgcc meson ninja openldap optipng # Build time openssl orbit pkgconf pygobject-gtk3 pygtk2 python python3-core sed sqlite3 tdb totem-pl-parser util-linux vala webkit2gtk3 xorg xwit xzutils zlib #--------------------------------------------------------------------- [configure] PATH=$PRODTREE/python3/bin:$PATH PP=$PKGDIR_PROD rm -fr build mkdir build meson build \ -D prefix=$PP \ -D bindir=$PP/bin \ -D buildtype=release \ -D includedir=$PP/include \ -D libdir=$PP/lib \ -D mandir=$PP/man \ \ -D gudev=enabled \ -D mtp=enabled \ -D plugins_vala=enabled \ -D sample-plugins=true \ -D tests=disabled cd build if [ \! -f build.ninja ]; then exit 1; fi meson configure #--------------------------------------------------------------------- [build] cd build ninja_simple_build #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin SHADIR=$PKGDIR_PROD/share HICOLORDIR=$SHADIR/icons/hicolor RTCOLORDIR=$SHADIR/rhythmbox/icons/hicolor for SIZE in 16 22 24 32 48 256 do SS=${SIZE}x${SIZE} mkdir -p $SHADIR/icons/hicolor/$SS/apps PNGFILE=$SHADIR/icons/hicolor/$SS/apps/rhythmbox.png convert -scale $SS $PKGDIR_SPECIAL/music.png $PNGFILE optipng $PNGFILE done ln -nsf $BINDIR/rhythmbox* $SYSDIR_BIN/ cd $PKGDIR_PROD/lib/rhythmbox/plugins # Skipped for the time being: # # tar zxf $PKGDIR_SPECIAL/*-radio-browser-*.tar.gz # mv rhythmbox-radio-browser* radio-browser # rm -f radio-browser/install.sh # Skipped for the time being: # # tar zxf $PKGDIR_SPECIAL/tray_icon.tar.gz # pushd tray_icon # convert -scale 225x225 \ # $PKGDIR_SPECIAL/music.png \ # tray_stopped.png # magick composite -gravity center \ # $PKGDIR_SPECIAL/playing225.png \ # tray_stopped.png \ # tray_playing.png # optipng *png # popd # Skipped for the time being: # # X=rhythmbox-start-minimized # cp -p $PKGDIR_SPECIAL/$X $BINDIR/ # chmod 755 $BINDIR/$X # ln -nsf $BINDIR/$X $SYSDIR_BIN/ #--------------------------------------------------------------------- [setup.bash] export XDG_DATA_DIRS=`xdgaddshare $PKGDIR_PROD` #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = Not checked yet url_home = http://projects.gnome.org/rhythmbox/ url_lfs = Unknown url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 170824 Updated from 3.2.1 to 3.4.1 180114 Updated to 3.4.2 190227 Updated to 3.4.3 190227 Replaced default program icon 210405 Updated to 3.4.4 210405 Disable use of the system tray 240331 Updated to 4ed98c200 ("git" hash) 240801 Updated to d859bc697