Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366405 - x11-misc/slimlock - new ebuild; screen locker inheriting SLiM's design
Summary: x11-misc/slimlock - new ebuild; screen locker inheriting SLiM's design
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Aaron W. Swenson
URL: http://programsthatsmellgood.com/slim...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-07 23:38 UTC by avx
Modified: 2012-06-27 14:24 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
slimlock-9999.ebuild (slimlock-9999.ebuild,590 bytes, text/plain)
2011-05-07 23:39 UTC, avx
Details
improved ebuild (respects {CXX,C,LD}FLAGS, --as-needed friendly, GCC/G++ setting) (slimlock-9999.ebuild,808 bytes, text/plain)
2011-05-09 22:07 UTC, Gef
Details
ebuild for x11-misc/slimlock-0.9 (slimlock-0.9.ebuild,757 bytes, text/plain)
2011-08-23 03:29 UTC, Michael Orlitzky
Details
slimlock-0.9.ebuild (slimlock-0.9.ebuild,1.05 KB, text/plain)
2011-08-23 23:44 UTC, Ian Stakenvicius (RETIRED)
Details
slimlock-9999.ebuild (slimlock-9999.ebuild,1007 bytes, text/plain)
2011-08-23 23:44 UTC, Ian Stakenvicius (RETIRED)
Details
slimlock-0.10.2.ebuild (slimlock-0.10.2.ebuild,856 bytes, text/plain)
2012-01-23 13:54 UTC, Peter Große
Details
slimlock-0.11.ebuild (slimlock-0.11.ebuild,833 bytes, text/plain)
2012-02-29 19:22 UTC, donc_oe
Details
Clean up Portage Tree candidate (slimlock-0.11.ebuild,858 bytes, text/plain)
2012-06-18 20:06 UTC, Aaron W. Swenson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description avx 2011-05-07 23:38:42 UTC
slimlock is a screenlocker inheriting the style used by the SLiM login manager.

Works great for me on both ~amd64/~x86 and would imho be a nice addition to SLiM in portage.

Attached is a working ebuild for the live-version (-9999), please consider adding to portage, thanks.

Reproducible: Always
Comment 1 avx 2011-05-07 23:39:24 UTC
Created attachment 272443 [details]
slimlock-9999.ebuild
Comment 2 Michael Orlitzky gentoo-dev 2011-05-08 02:35:55 UTC
I would use this; you should try to get it committed to Sunrise so that it has a better chance of making it into portage eventually:

  http://overlays.gentoo.org/proj/sunrise
Comment 3 avx 2011-05-08 04:02:57 UTC
(In reply to comment #2)
> I would use this; you should try to get it committed to Sunrise so that it has
> a better chance of making it into portage eventually:
> 
>   http://overlays.gentoo.org/proj/sunrise

Sorry, but I'm against the ever spreading overlays, plus it's imho to complicated getting an account.

As long as that doesn't change, either a dev will pick it up, someone else commits it to sunrise or I'll keep it in my personal overlay. If you want and have an account, feel free to commit it to sunrise.
Comment 4 Gef 2011-05-09 22:07:20 UTC
Created attachment 272681 [details]
improved ebuild (respects {CXX,C,LD}FLAGS, --as-needed friendly, GCC/G++ setting)

Improved ebuild (respects {CXX,C,LD}FLAGS, --as-needed friendly, GCC/G++ settings). I have not tested the binary.

Work still needs to be done wrt to MANDIR and PREFIX in Makefile.
Comment 5 Michael Orlitzky gentoo-dev 2011-05-10 00:21:06 UTC
It's a live ebuild, just send the build system fixes upstream. I'm sure he'll apply them if they don't cause other problems.
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2011-08-22 15:58:20 UTC
I am quite willing to add this if upstream gets a versioned release online. Live ebuilds are a moving target and as such a maintenance nightmare. Something like 0.01 will do fine.
Please negotiate with upstream if possible.
Comment 7 Michael Orlitzky gentoo-dev 2011-08-23 03:29:07 UTC
Created attachment 284293 [details]
ebuild for x11-misc/slimlock-0.9

There are tagged releases on Github, so I made an ebuild out of the latest tagged version.

I also added the missing dep on imlib2, and cleaned up some other little things.

The makefile isn't respecting CFLAGS at the moment, but I reported that upstream.
Comment 8 Ian Stakenvicius (RETIRED) gentoo-dev 2011-08-23 23:04:47 UTC
The ebuild needs more deps, and it's not following proper structure, but this is a definite improvement..  Unfortunately i was doing the same thing but working on 0.8.22 (0.9 was just tagged today it seems), so i'll have to attach my update tomorrow.
Comment 9 Ian Stakenvicius (RETIRED) gentoo-dev 2011-08-23 23:44:19 UTC
Created attachment 284415 [details]
slimlock-0.9.ebuild

..I had time, so here's an update with a couple of tweaks.  

I added sed lines to preserve CFLAGS until upstream patches the source (which shouldn't happen directly in 0.9)
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2011-08-23 23:44:57 UTC
Created attachment 284417 [details]
slimlock-9999.ebuild

here's a mirror update to the -9999 ebuild.
Comment 11 Michael Orlitzky gentoo-dev 2011-08-24 12:55:48 UTC
Just waiting on a tag:

https://github.com/joelburget/slimlock/commit/0f9df6646166d979596be99fe159076d08f45b97
Comment 12 Michael Orlitzky gentoo-dev 2011-08-30 12:34:24 UTC
We've got a tag with those fixes:

  https://github.com/joelburget/slimlock/tree/v0.9.1
Comment 13 Peter Große 2012-01-23 13:54:53 UTC
Created attachment 299619 [details]
slimlock-0.10.2.ebuild

Changes: 
 * version bump
 * CFLAGS changes were applied upstream
 * added x11-libs/libXext to dependencies

Works fine for me. I vote for commit to portage tree.
Comment 14 Francisco J. Vazquez 2012-02-07 11:28:29 UTC
It segfaults after unlocking if I enter the correct password the first time as user (it doesn't segfault if run as root or if I try to enter the password more than once). Also today it left me out of my machine, it was completely unresponsive when I arrived in the morning (I had to ssh and killall -9 slimlock). Doesn't seem to be very tested.

That's with 10.2. 9999 cannot be compiled right now because of:

In file included from /usr/include/X11/Xft/Xft.h:39:0,
                 from panel.h:18,
                 from panel.cpp:13:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
Comment 15 donc_oe 2012-02-29 19:22:48 UTC
Created attachment 303767 [details]
slimlock-0.11.ebuild

created a new ebuild for slimlock-0.11,

changes:
* added dependency use flags [png,jpeg] to imlib2 as slimlock wont work without them (see https://github.com/joelburget/slimlock/issues/7 )
* added ~arm to keywords as i'm running slimlock on an armv7 machine

this is my first ebuild, so please check twice. i tested it on an armel v7 machine. both - the ebuild and the tool - seem to work.
Comment 16 Aaron W. Swenson gentoo-dev 2012-06-18 20:06:03 UTC
Created attachment 315707 [details]
Clean up Portage Tree candidate

Well, if this ebuild does the trick for you guys. I'll put it in the tree.

I like it.
Comment 17 Hypnos 2012-06-27 08:26:36 UTC
(In reply to comment #16)

> Well, if this ebuild does the trick for you guys. I'll put it in the tree.

Works for me on amd64.
Comment 18 Aaron W. Swenson gentoo-dev 2012-06-27 14:24:34 UTC
*slimlock-0.11 (27 Jun 2012)

  27 Jun 2012; Aaron W. Swenson <titanofold@gentoo.org> +slimlock-0.11.ebuild,
  +metadata.xml:
  Initial commit. (Bug 366405)