Open leetnc opened 4 years ago
"Made a template", however only tested build for x86_64 glibc, and we are missing libgringotts so backup is unavailable for now. https://github.com/biopsin/voidpkg/commits/master
I dipped my toe into the xbps-src waters for the first time, and was able to build OSMO from your template !
Suggestion: Add “ical” to the ‘build_options_default’ list.
Reason - The default calendar presentation in OSMO starts the week with Monday. This default can be disabled in the OSMO Preference Menu, Calendar tab. But the “ical” build option is required for the Calendar tab to show up.
Nice Work !
Good to read! xbps-src is such a delight to use. If you get stuck in anyway, either search the templates here for hints or always ask the peeps on the wire. Still need to test against musl and pack libgringotts for the backup to function, but you are welcome to beat me to it :D .. (memo: add ical to defaults)
I have stumbled into the trap of the build trying to re-compile gcc and cups because the version has changed since I first did the "git clone....." exercise for the 'void-linux' directory. Is there a convenient way to update the templates (~/void-packages/srcpkgs) without cloning the whole thing again and editing it for templates I added for osmo, etc. ? I may not have the terminology quite right in my question.
On Tue, Apr 28, 2020 at 10:49 PM biopsin notifications@github.com wrote:
Good to read! xbps-src is such a delight to use. If you get stuck in anyway, either search the templates here for hints or always ask the peeps on the wire. Still need to test against musl and pack libgringotts for the backup to function, but you are welcome to beat me to it :D .. (memo: add ical to defaults)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/void-linux/void-packages/issues/21359#issuecomment-620962363, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK2PA7HE4VS6WOOEL73QHNTRO6ITZANCNFSM4MRNV2LA .
Add an 'upstream' remote.
git remote add upstream git@github.com:void-linux/void-packages
Then you can run something like this:
git pull upstream master --rebase --autostash
The former only needs to be done once; the latter I have as an alias and do it often.
Rereading your question -- wanted to double check, did you clone the void-linux/void-packages
or did you fork and then clone that?
I originally did this: git clone https://github.com/void-linux/void-packages Worked fine. I presume that I cloned the packages. :-) Ran into a snag on the subsequent effort, "..authenticity of host...cannot be established....RSA fingerprint is....." Will have to study the manual some more tomorrow.
On Wed, May 6, 2020 at 10:13 PM Andrew Benson notifications@github.com wrote:
Rereading your question -- wanted to double check, did you clone the void-linux/void-packages or did you fork and then clone that?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/void-linux/void-packages/issues/21359#issuecomment-624988407, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK2PA7DMURUKOTU32JGSQ5DRQIKNJANCNFSM4MRNV2LA .
I have edged my way a little further up the learning curve. Regards cloning the void-packages, this seemed to work: First: git clone https://github.com/void-linux/void-packages Second: git remote add upstream https://github.com/void-linux/void-packages Third: git fetch upstream Per your advice, I repeat the last one frequently.
I did get a successful build of OSMO, including libgringotts. The templates that I ended up with are attached, I hope. Setup for build: Added 2 directories at ~/void-packages/srcpkgs osmo libgringotts Also added link with: ln -s libgringotts libgringotts-devel
Edited ~/void-packages/common/shlibs
Added entry: libgringotts.so.2 libgringotts-1.2.1_1
Miscellaneous observations:
Not overly certain that I got it all right, but osmo does appear to work.
Attached Files: template.libgringotts.txt template.osmo.txt
/cc @blopsin
Follow-up on my system-tray issue. Fixed by: Removed daemon-notify from desktop autostart. Added file: /usr/share/dbus-1/services/org.freedesktop.Notification.service Osmo icon shows up in system tray and works as expected. org.freedesktop.Notification.service.txt
Ran into continuing problem with the system tray while running in virtualbox (5.0.40). Installed void-linux + lumina on a usb hard drive and did the osmo build. System tray works fine.
@biospin For reference, these are the templates that I ended up with for Osmo and libgringotts. Not sure I got everything right, but it was good learning exercise for using xbps-src. I had left an issue comment on void-packages, but suspect that I did not manage to copy an e-mail to you.
On Tue, Apr 28, 2020 at 10:49 PM biopsin notifications@github.com wrote:
Good to read! xbps-src is such a delight to use. If you get stuck in anyway, either search the templates here for hints or always ask the peeps on the wire. Still need to test against musl and pack libgringotts for the backup to function, but you are welcome to beat me to it :D .. (memo: add ical to defaults)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/void-linux/void-packages/issues/21359#issuecomment-620962363, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK2PA7HE4VS6WOOEL73QHNTRO6ITZANCNFSM4MRNV2LA .
pkgname=libgringotts version=1.2.1 revision=1 build_style=gnu-configure configure_args="--prefix=/usr" hostmakedepends="pkg-config"
makedepends="libmcrypt-devel mhash-devel zlib-devel bzip2-devel"
short_desc="libgringotts is a small, easy-to-use, thread-safe C library originally developed for Gringotts"
maintainer="uservoid@linux.eu" license="GPL-2.0-or-later"
homepage="libgringotts.sourceforge.net/index.php?page=home" distfiles="https://sourceforge.net/projects/gringotts.berlios/files/$pkgname-$version.tar.bz2"
checksum=a75e6f757b975d3da662fe7ea2d985f358f31ad2dede1a222bb4aa403d0dbfd1
libgringotts-devel_package() { shortdesc+=" - development files" depends=${sourcepkg}>=${version}${revision} pkg_install() { vmove usr/include vmove "usr/lib/.a" vmove "usr/lib/.so" vmove usr/lib/pkgconfig } }
pkgname=osmo version=0.4.2 revision=1 build_style=gnu-configure configure_args="--prefix=/usr" hostmakedepends="pkg-config" makedepends="gtk+3-devel libxml2-devel libnotify-devel $(vopt_if contacts webkit2gtk-devel) $(vopt_if gspell gspell-devel) $(vopt_if ical libical-devel) $(vopt_if backup 'libarchive-devel libgringotts-devel')" short_desc="Personal organizer, calendar, tasks manager, address book and notes" maintainer="uservoid@linux.eu" license="GPL-2.0-or-later" homepage="http://clayo.org/osmo/" distfiles="${SOURCEFORGE_SITE}/osmo-pim/files/latest/$pkgname-$version.tar.gz" checksum=5b50e5b98daea986e18034ee1ef8f70ee2018be0802f6053c6d74d2613274dbe
build_options="contacts gspell ical backup" build_options_default="contacts gspell ical backup" desc_option_contacts="Enable contacts, depends on webkit2gtk" desc_option_gspell="Enable gspell, depends on gspell-devel" desc_option_ical="Enable ical" desc_option_backup="Enable backup, depends on libarchive-devel libgringotts-devel"
@biopsin Funny how there is always one-more-edit as soon as do an upload. In template.gringotts.txt, first makedepends, Line 8:
Templates as edited: template.libgringotts.txt template.osmo.txt
OSMO - A PIM tool. Personal organizer, which includes calendar, tasks manager, address book and notes modules. Links: https://sourceforge.net/projects/osmo-pim/ http://clayo.org/osmo/