Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora Package #5

Open
DieALot36T9 opened this issue Aug 13, 2024 · 2 comments
Open

Fedora Package #5

DieALot36T9 opened this issue Aug 13, 2024 · 2 comments

Comments

@DieALot36T9
Copy link

Will there be any .rpm packages? or build guide for fedora?

@ALEX11BR
Copy link
Owner

ALEX11BR commented Aug 14, 2024 via email

@darkshram
Copy link
Contributor

Suggested spec file:

%global appid com.github.alex11br.themechanger

Name:           themechanger
Version:        0.12.0
Release:        1%{?dist}
Summary:        Theme changing utility for Linux destops

License:        GPL-2.0-only
URL:            https://github.com/ALEX11BR/ThemeChanger
Source0:        %{url}/archive/refs/tags/v%{version}.tar.gz#%{name}-%{version}.tar.gz

BuildRequires:  gcc
BuildRequires:  desktop-file-utils
BuildRequires:  gtk3
BuildRequires:  meson >= 0.59.0
BuildRequires:  ninja-build
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(pygobject-3.0)
BuildRequires:  pkgconfig(xcursor)
BuildRequires:  python3
BuildRequires:  python3-gobject-devel
BuildRequires:  /usr/bin/appstream-util
BuildRequires:  /usr/bin/glib-compile-resources
BuildRequires:  /usr/bin/pkg-config

Requires:       gobject-introspection%{?_isa}
Requires:       gtk3%{?_isa}
Requires:       hicolor-icon-theme
Requires:       python3-gobject-base%{?_isa}

%description
This app is a theme changing utility for Linux, BSDs, and whatnots.
It lets the user change GTK 2/3/4, Kvantum, icon and cursor themes,
edit GTK CSS with live preview, and set some related options. It also
lets the user install icon and widget theme archives.

Features:

   * Set the GTK3 theme, sync the GTK2, GTK4, Kvantum themes with it
     or choose another one for each of these toolkits
   * Set the icon theme
   * Set the cursor theme, and tweak the cursor's size
   * Set all these themes with a special searchable selector with
     previews for GTK3, icon and cursor themes
   * Set various options like whether buttons have images or not
   * Instantaneously apply your setting changes to the running
     applications in GNOME, Cinnamon, Mate, XFCE, LXDE using
     lxsession, or using xsettingsd (you must download xsettingsd and
     run it in the background) for those that don't use GTK desktop
     environments
   * Edit GTK CSS with instantaneous feedback of the changes made
   * Install new widget or icon themes from archives available e.g.
     at https://gnome-look.org/

%prep
%autosetup -p1 -n ThemeChanger-%{version}

%build
%meson
%meson_build

%install
%meson_install

%check
desktop-file-validate \
    %{buildroot}%{_datadir}/applications/%{appid}.desktop

appstream-util validate-relax --nonet \
    %{buildroot}%{_metainfodir}/%{appid}.appdata.xml

%files
%license LICENSE
%doc README.md screenshot1.png
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{appid}.desktop
%{_metainfodir}/%{appid}.appdata.xml

%changelog
* Tue Jul 16 2024 Joel Barrios <http://www.alcancelibre.org/> - 0.12.0-1
- Update to 0.12.0

* Mon Sep 05 2022 Joel Barrios <http://www.alcancelibre.org/> - 0.11.1-1
- Initial spec file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants