You are not logged in.

#161 2024-09-25 10:11:23

micko01
void main()
From: Queensland, Australia
Registered: 2024-04-07
Posts: 492
Website

Re: Carbon Themes (proposal)

johnraff wrote:

^^Nice!
Installed on the VM with @hhh's bark/sage theming and they look good.
And only 2.3MB for base + bark + sage and I doubt adding the other two would increase it that much. cool

I didn't test the on disk size, thanks! I'm open to suggestions for other colours and obviously could do with more icons, but many can be covered by symlinks.

One thing: if you want to hide the 'base' theme from lxappearance and friends, add

Hidden=true

to the index.theme.

I'll be adding that, thanks smile


#!/bin/sh
echo '#include <stdio.h>\nvoid main() { printf("Hi, bunsenlabs\\n"); return; }' > bunsen.c
gcc bunsen.c -o bunsen
./bunsen

Offline

#162 2024-09-30 08:13:00

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Carbon Themes (proposal)

Note to remember to checkout cbatticon in case we get stuck over the xfce4-power-manager battery icon.
https://packages.debian.org/trixie/cbatticon
https://github.com/valr/cbatticon

Last edited by johnraff (2024-09-30 08:21:20)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#163 2024-10-01 08:01:01

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Carbon Themes (proposal)

I think the wallpapers are safely incorporated in bunsen-images-base 13.1-1, now moving on to the gtk themes.

hhh wrote:

I've reorganized things.
https://github.com/hhhorb/bunsen-themes-yaru
bunsen-themes-yaru and bunsen-yaru-icons contain bunsen-Yaru, bunsen-Yaru-bark and bunsen-Yaru-sage.

The deb file that you provided in bunsen-themes-yaru installed OK in my Carbon VM but I'd like to put it in the regular BL repos. To do that I need a debian source directory with the files and a debian/ subdirectory that handles the debianization.
eg like this: https://github.com/BunsenLabs/bunsen-themes
I thought I'd be able to download bunsen-themes-yaru_24.04.3.orig.tar.gz, extract it into a directory then extract bunsen-themes-yaru_24.04.3-1.1.debian.tar.xz into a debian/subdirectory.

It's not that simple at all.

Both orig.tar.gz and debian.tar.xz have debian/ and themes/ subdirs.
But they're not identical - one has all the themes except sage, the other only has sage. The debian/ contents are different too.

I downloaded the .dsc file too, put it in the same directory with the tarballs and ran

dpkg-source -x bunsen-themes-yaru_24.04.3-1.1.dsc

which gave me a somewhat sorted-out, though still complicated, source directory.
In order for dbuild to succeed, I first was advised to run:

dpkg-source --commit

to add a new patch which added a bunch of files.
Having done that, I was able to run 'debuild' and get a .deb file almost identical (within a few bytes) of the one on your github page.

So it works.

But if you look at bunsen-themes above, it's much more simple, I guess because it's not built on a previously existing Ubuntu package?

It would be easier for me if our bunsen-themes-yaru package could be set up something like that...

One thing that occurs to me is you've renamed the package from yaru-theme to bunsen-themes-yaru so it's a new package. Forked off yaru-theme but no longer the same package. (You dropped a lot of the Yaru themes, and added a couple?) That means that all the stuff about non-maintainer-uploads and 0.1 version bumps no longer applies. You can be the maintainer and the version can be anything we like, eg bunsen-themes-yaru 13.0-1. No patching needs to be done, because the orig tarball belongs to us not to Ubuntu, and can contain whatever we like.

I'm not quite sure where to go from here.

Making a package from scratch I'd just put the themes in a themes/ directory and make a debian/ directory similar to bunsen-themes, with you as the maintainer.

But that would obliterate all the previous Ubuntu devs contributions. It would be polite to keep at least their changelog entries, and even better to keep their git commits, by forking their repo and then committing your changes on top of it. I guess that should be possible, though maybe not simple.

Any thoughts?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#164 2024-10-01 08:12:28

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Carbon Themes (proposal)

micko01 wrote:
johnraff wrote:

^^Nice!
Installed on the VM with @hhh's bark/sage theming and they look good.
And only 2.3MB for base + bark + sage and I doubt adding the other two would increase it that much. cool

I didn't test the on disk size, thanks! I'm open to suggestions for other colours and obviously could do with more icons, but many can be covered by symlinks.

As to colours, I think we're fine just having the 'bark' and 'sage' variants for now. I don't think we need to ship the blue or yellow ones, with all due respect. smile

Shall I have a go at debianizing the labbe-material-icons with just those two colours, or would you rather do it yourself? To go in the BL repos I'll need a debian source tree to put on GitHub (like this) that builds the package, but for an icon theme it's a quite trivial task to make. (The orig and debian tarballs get generated at package build time.)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#165 2024-10-01 10:07:51

micko01
void main()
From: Queensland, Australia
Registered: 2024-04-07
Posts: 492
Website

Re: Carbon Themes (proposal)

johnraff wrote:

Shall I have a go at debianizing the labbe-material-icons with just those two colours, or would you rather do it yourself? To go in the BL repos I'll need a debian source tree to put on GitHub (like this) that builds the package, but for an icon theme it's a quite trivial task to make. (The orig and debian tarballs get generated at package build time.)

Well, I think I can use a config file to separate the colors : eg

colors="bark sage"
#colors="bark sage blue banana" 

and use "$colors" in the loop.

EDIT: ^just committed changes for this

Give me some days, I'll have time later this week. I can probably do it, save you some work re debianizing.

Last edited by micko01 (2024-10-02 02:10:44)


#!/bin/sh
echo '#include <stdio.h>\nvoid main() { printf("Hi, bunsenlabs\\n"); return; }' > bunsen.c
gcc bunsen.c -o bunsen
./bunsen

Offline

#166 2024-10-02 02:26:53

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Carbon Themes (proposal)

^thanks!

(It will be good to have more packages in the repo with different maintainers. That's a long-term goal.)

EDIT: I think if you do all the Debianization, make all the debian/* files, including yourself as Maintainer in d/control and d/changelog, then if I'm listed under Uploaders: in d/control then I should be able to build the package, sign it and upload it to the BL repo. We'll have to actually try it to confirm that of course. smile

Last edited by johnraff (2024-10-02 03:01:03)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#167 2024-10-02 07:29:31

micko01
void main()
From: Queensland, Australia
Registered: 2024-04-07
Posts: 492
Website

Re: Carbon Themes (proposal)

^ debianization is almost done - 2 lintian warns/errors (doesn't affect anything really)

Now running lintian labbe-material-icons_0.1.0-1_amd64.changes ...
E: labbe-material-icons changes: bad-distribution-in-changes-file carbon
W: labbe-material-icons: initial-upload-closes-no-bugs [usr/share/doc/labbe-material-icons/changelog.Debian.gz:1]
Finished running lintian.

I'll commit soon, some minor stuff to sort.


#!/bin/sh
echo '#include <stdio.h>\nvoid main() { printf("Hi, bunsenlabs\\n"); return; }' > bunsen.c
gcc bunsen.c -o bunsen
./bunsen

Offline

#168 2024-10-02 09:21:27

micko01
void main()
From: Queensland, Australia
Registered: 2024-04-07
Posts: 492
Website

Re: Carbon Themes (proposal)

Ok all done including debianization.

You can pretty much download the zip from github, extract, repackage as labbe-material-icons-0.1.0.tar.gz link to labbe-material-icons_0.1.0.orig.tar.gz change into the source dir and run debuild and get a sane package.

I didn't install it but all indications are that it will be fine.


#!/bin/sh
echo '#include <stdio.h>\nvoid main() { printf("Hi, bunsenlabs\\n"); return; }' > bunsen.c
gcc bunsen.c -o bunsen
./bunsen

Offline

#169 2024-10-03 02:26:49

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Carbon Themes (proposal)

micko01 wrote:

2 lintian warns/errors

Now running lintian labbe-material-icons_0.1.0-1_amd64.changes ...
E: labbe-material-icons changes: bad-distribution-in-changes-file carbon
W: labbe-material-icons: initial-upload-closes-no-bugs [usr/share/doc/labbe-material-icons/changelog.Debian.gz:1]
Finished running lintian.

It's OK.

I don't get the "bad dist" error when I build locally because I've set a couple of files in ~/.local/share/lintian:
~/.local/share/lintian/profiles/bunsenlabs/main.profile:

Profile: bunsenlabs/main
Extends: debian/main

~/.local/share/lintian/vendors/bunsenlabs/main/data/changes-file/known-dists:

# Bunsenlabs distributions

hydrogen
helium
lithium
beryllium
boron
carbon
buster-backports
bullseye-backports
bookworm-backports
trixie-backports
carbon-experimental
# recently added:
carbon-trixie

If the lintian errors annoy you, you could do the same, though it's not vitally important.

EDIT: at least one developer has reported that ~/.local/share/lintian didn't work, and they had to use ~/.lintian.
~/.local/share/lintian should work, and worked for me, but it's something to bear in mind.

Reference:
https://wiki.debian.org/Lintian/Vendors
https://lists.debian.org/debian-lint-ma … 00277.html
https://www.chiark.greenend.org.uk/doc/ … d-location
https://linux.debian.bugs.dist.narkive. … upport-xdg

Last edited by johnraff (2024-11-14 06:52:16)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#170 2024-10-03 02:50:20

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Carbon Themes (proposal)

micko01 wrote:

Ok all done including debianization.
You can pretty much download the zip from github...

Great! Had a quick look round and it all looks perfect. cool

What I plan to do is fork this repo into BL on GitHub and run pbuilder in that directory. I might possibly need to add myself to Uploaders in debian/control to get pbuilder and reprepro to accept my signature, but I'll try it without first.

If there are no issues a fork of the source repo can be on our GitHub as-is (except for above possible edit to d/c). As a BL binary package, I think the source ought to be available from the BL project, even if it's unchanged from your "upstream". (Of course that would become unnecessary if it ever entered Debian.)

Does that sound sensible?

Many thanks!


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#171 2024-10-03 07:26:56

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Carbon Themes (proposal)

Forked repo is here:
https://github.com/BunsenLabs/labbe-mat … ree/carbon
I cloned off a "carbon" branch because debian/changelog is specific for carbon.
"main" will always follow your main branch, but we will add new branches for each BL release with appropriate changelog entries.

The package built fine except for two small things:

1) The base icon theme's index.theme has lost its 'Hidden=true' (https://forums.bunsenlabs.org/viewtopic … 46#p138446) The line was dropped from build_theme here: https://github.com/01micko/labbe-materi … 91c60060fc
Slip, or was it causing an issue somewhere else?

2) You probably want to ship README.md with the package docs. Either add something to the makefile or just add a debian/docs file with that entry. (debian/README.debian is already being installed correctly.)

---

johnraff wrote:

I might possibly need to add myself to Uploaders in debian/control to get pbuilder and reprepro to accept my signature...

That turned out not to be necessary, so the "carbon" branch is an exact clone of "main". I did have to add my signing fingerprint to my build script though. It's not needed when building packages where I'm the maintainer in debian/changelog, but adding an Uploaders line didn't help here.

In fact this is all peripheral because it's only to satisfy reprepro that the package was built by an approved uploader, and it's all local on my machine so I could just allow anyone's packages really...


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#172 2024-10-03 10:44:27

micko01
void main()
From: Queensland, Australia
Registered: 2024-04-07
Posts: 492
Website

Re: Carbon Themes (proposal)

^Great smile Thanks.

johnraff wrote:

1) The base icon theme's index.theme has lost its 'Hidden=true' (https://forums.bunsenlabs.org/viewtopic … 46#p138446) The line was dropped from build_theme here: https://github.com/01micko/labbe-materi … 91c60060fc
Slip, or was it causing an issue somewhere else?

It was a pretty major refactor so was a slip yikes . Fixed upstream.

johnraff wrote:

2) You probably want to ship README.md with the package docs. Either add something to the makefile or just add a debian/docs file with that entry. (debian/README.debian is already being installed correctly.)

Ok, I'll do that. EDIT: added README.md to Makefile so installs to /usr/share/doc/labbe-material-icons/README.md

A question, a little OT for our current convo but not in context of the thread. What is the font in the 'bunsenlabs' image on this site? I have an ulterior motive and this might give a clue:

vck7HZXt.jpeg (posted in September screenshots)

Last edited by micko01 (2024-10-03 11:03:55)


#!/bin/sh
echo '#include <stdio.h>\nvoid main() { printf("Hi, bunsenlabs\\n"); return; }' > bunsen.c
gcc bunsen.c -o bunsen
./bunsen

Offline

#173 2024-10-03 17:37:02

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Re: Carbon Themes (proposal)

micko01 wrote:

What is the font in the 'bunsenlabs' image on this site?

Open Sans Bold for bunsen and Open Sans (regular) for labs. I messed up on Boron and only used regular, the forum logo is the way I like the logo best.

@ututo originally had the flame centered over the letter 'e', I eventually moved it to make the 'l' and flame look bunsen burner-ish.

@johnraff, sorry my packaging is a mess. What do you need from me? I'll do my best.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#174 2024-10-03 21:56:26

micko01
void main()
From: Queensland, Australia
Registered: 2024-04-07
Posts: 492
Website

Re: Carbon Themes (proposal)

hhh wrote:
micko01 wrote:

What is the font in the 'bunsenlabs' image on this site?

Open Sans Bold for bunsen and Open Sans (regular) for labs. I messed up on Boron and only used regular, the forum logo is the way I like the logo best.

@hhh you are the one I wanted to hear off anyway because I have developed a tool with you in mind - a fork of mkwallpaper that simply produces transparent text in any color you want at any size, great for branding images. I'll upload it to github with a link soon with full manual in this post.

In the mean time a teaser with the CLI reproducer.

tDJhs2ot.png

./mktranstext -Lbunsen -z'0.313 0.415 0.313' -x640 -y360 -k  -n foooxbtshitunotbbd  -l'Open Sans 100' -Slabs -s'Open Sans 100' -B'300 0' -T -t'labwcmoon 100' -J -p'364 26'
image saved to /home/mick/foooxbtshitunotbbd.png

The in the above command string is the unicode glyph for the flame pasted in from Libreoffice, but you could use geany or whatever.

Requires 'labwcmoon' font from labwc-artwork


-------------------------------

EDIT:

The mktranstext  repository is up! https://github.com/01micko/mktranstext

The manual page even has fancy tables in it that explain the Pango enumerations for font weight and style. Works perfectly. You can install to /usr/local/bin or just put the binary in ~/bin and the man page in ~/.local/share/man/man1 and update the man database. If you use this it is highly recommended to RTFM smile

EDIT: Sorry but the man page needs to go into /usr/local/share/man/man1

Last edited by micko01 (2024-10-04 07:29:44)


#!/bin/sh
echo '#include <stdio.h>\nvoid main() { printf("Hi, bunsenlabs\\n"); return; }' > bunsen.c
gcc bunsen.c -o bunsen
./bunsen

Offline

#175 2024-10-04 02:05:39

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Re: Carbon Themes (proposal)

@micko01, very cool! Will play with this soon!


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#176 2024-10-04 08:07:15

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Carbon Themes (proposal)

micko01 wrote:

lintian warns/errors

W: labbe-material-icons: initial-upload-closes-no-bugs [usr/share/doc/labbe-material-icons/changelog.Debian.gz:1]

Forgot to mention, the full lintian message includes:

lintian wrote:

This warning can be ignored if the package is not intended for Debian or if it is a split of an existing Debian package.

So we can just ignore it. smile


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#177 2024-10-04 08:33:00

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Carbon Themes (proposal)

hhh wrote:
micko01 wrote:

What is the font in the 'bunsenlabs' image on this site?

Open Sans Bold for bunsen and Open Sans (regular) for labs. I messed up on Boron and only used regular, the forum logo is the way I like the logo best.

The forum logo is indeed cool.
How is the difference in brightness/colour done?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#178 2024-10-04 08:57:55

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Carbon Themes (proposal)

labbe-material-icons  0.1.0-1 built, uploaded to BL Carbon repo and sucessfully installed on a Carbon VM. cool
Looks very nice with the PC bark wallpaper, which went up in bunsen-images 13.1-1.

@hhh what do you think of using this icon theme in Carbon by default?
(Please be honest, I'm sure Micko will cope if you say "no".)

@Micko01 one small remaining tweak: Readme.md is oriented towards people reading the GitHub repo, not a file installed on their system. In particular:

README.md wrote:

Bugs
Report them here including feature requests in the issues section. Offer up a pull request if you can fix a bug or add more icons.

Maybe easily fixed by adding a url at the end of that? In fact, a "bug reports" url and the url of the GitHub repo? Alternatively, ship a different README for the package? Alternatively, don't ship README.md at all? Not urgent of course.

Last edited by johnraff (2024-10-04 09:04:36)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#179 2024-10-04 09:10:30

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Carbon Themes (proposal)

hhh wrote:

@johnraff, sorry my packaging is a mess. What do you need from me? I'll do my best.

I'll have to have a think about what questions to ask.
It is all a bit complicated...

OK first one - any idea why the *orig.tar.gz tarball also contains a Debian subfolder, and the *debian.tar.xz has some of the themes included?

The ideal situation will be a git repo with the theme files and a debian directory, where I can run pbuilder to build a package, while still preserving the git history of the previous Ubuntu package if possible. Not quite sure right now how we can get there from the current tarballs though.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#180 2024-10-04 09:38:29

micko01
void main()
From: Queensland, Australia
Registered: 2024-04-07
Posts: 492
Website

Re: Carbon Themes (proposal)

johnraff wrote:

labbe-material-icons  0.1.0-1 built, uploaded to BL Carbon repo and sucessfully installed on a Carbon VM. cool
Looks very nice with the PC bark wallpaper, which went up in bunsen-images 13.1-1.

Bravo!

johnraff wrote:

[@hhh what do you think of using this icon theme in Carbon by default?
(Please be honest, I'm sure Micko will cope if you say "no".)

big_smile

johnraff wrote:

@Micko01 one small remaining tweak: Readme.md is oriented towards people reading the GitHub repo, not a file installed on their system. In particular:

README.md wrote:

Bugs
Report them here including feature requests in the issues section. Offer up a pull request if you can fix a bug or add more icons.

Maybe easily fixed by adding a url at the end of that? In fact, a "bug reports" url and the url of the GitHub repo? Alternatively, ship a different README for the package? Alternatively, don't ship README.md at all? Not urgent of course.

How's this diff appeal?

--- README.md	2024-10-02 18:01:03.564244308 +1000
+++ README	2024-10-04 19:36:16.358238748 +1000
@@ -25,8 +25,9 @@ all colors by editing `build.conf` or on
 
 ## Bugs
 
-Report them here including feature requests in the `issues` section.
-Offer up a pull request if you can fix a bug or add more icons.
+Report bugs to
+
+https://github.com/01micko/labbe-material-icons/issues
 
 ## licence

#!/bin/sh
echo '#include <stdio.h>\nvoid main() { printf("Hi, bunsenlabs\\n"); return; }' > bunsen.c
gcc bunsen.c -o bunsen
./bunsen

Offline

Board footer

Powered by FluxBB