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

add: ctwm #1039

Draft
wants to merge 3 commits into
base: frawhide
Choose a base branch
from
Draft

add: ctwm #1039

wants to merge 3 commits into from

Conversation

nothingneko
Copy link
Member

Closes #1030

URL: https://ctwm.org
BuildRequires: libx11-devel libjpg-devel libxt-devel libxext-devel libxmu-devel libxpm-devel cmake
Source0: https://www.ctwm.org/dist/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't exist in the same directory as the spec

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you probably forgot to copy this from RPMSphere

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cannot find it in rpmsphere sources ww

anda/desktops/ctwm/ctwm.spec Outdated Show resolved Hide resolved
anda/desktops/ctwm/ctwm.spec Outdated Show resolved Hide resolved
anda/desktops/ctwm/ctwm.spec Outdated Show resolved Hide resolved
Release: 1
URL: https://ctwm.org
BuildRequires: libx11-devel libjpg-devel libxt-devel libxext-devel libxmu-devel libxpm-devel cmake
Source0: https://www.ctwm.org/dist/%{name}-%{version}.tar.gz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the annoying part is, we probably want to download sources directly from upstream (due to xz incident we should have learnt our lesson)

ctwm sources do not use git, they use bazaar (totally incompatible), commits are called revisions

supposedly we can track the version in update.rhai using this file https://bazaar.launchpad.net/~ctwm/ctwm/trunk/annotate/head:/VERSION
Downside is we need to regex the webpage to get the version
and then we need to grab the revision (710.1.2), save it in the spec using rpm.global(), then finally we have the tarball at https://bazaar.launchpad.net/~ctwm/ctwm/trunk/tarball/710.1.2

I might do this later

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please do i cannot write rhai

as for other changes i'll do my best and let you know if i need help :3

%{__install} -Dm644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop

%files
%doc README.md CHANGES.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
%doc README.md CHANGES.md
%doc README.md CHANGES.md
%license COPYRIGHT

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

Successfully merging this pull request may close these issues.

[Request] CTWM
2 participants