Compare commits

..

No commits in common. "b1b86fd74b660949b5e262d98fd54c0f102c3f9f" and "1ff18e0fbf69ddc355a1c400d3e8a8202e6e8e45" have entirely different histories.

8 changed files with 4 additions and 53 deletions

2
Cargo.lock generated
View file

@ -1456,7 +1456,7 @@ dependencies = [
[[package]]
name = "timeurs"
version = "1.0.0"
version = "0.1.0"
dependencies = [
"async-channel",
"gtk4",

View file

@ -1,6 +1,6 @@
[package]
name = "timeurs"
version = "1.0.0"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -1,4 +0,0 @@
Timeurs
=======
minimal GUI for timing.

View file

@ -1 +0,0 @@
/root

View file

@ -1,30 +0,0 @@
# Maintainer: Matthieu Jolimaitre <matthieu@imagevo.fr>
pkgname=timeurs
pkgver=1.0.0
pkgrel=1
pkgdesc=""
arch=('i686' 'x86_64')
url=""
license=('GPL')
depends=('gtk4')
makedepends=()
source=("$pkgname-$pkgver.tar.gz")
md5sums=()
validpgpkeys=()
prepare() {
cd $pkgname-$pkgver
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}

View file

@ -1,6 +0,0 @@
#!/bin/sh
cargo
rm -fr target
mkdir -p target

View file

@ -1,8 +0,0 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Timeurs
Comment=Timer app
Exec=/usr/bin/timeurs
Terminal=false
Categories=Tags;Describing;Application

View file

@ -11,7 +11,7 @@ use state::{Cmd, State};
fn main() -> glib::ExitCode {
// Create a new application
let app = Application::builder()
.application_id("org.gtk_rs.timeurs")
.application_id("org.gtk_rs.HelloWorld2")
.build();
let (send, rec) = mpsc::channel();
@ -99,7 +99,7 @@ fn build_ui(app: &Application, cmd: Sender<Cmd>) {
let window = ApplicationWindow::builder()
.application(app)
.title("Timeu.rs")
.title("My GTK App")
.child(&container)
.build();
window.present();